summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-07 07:56:37 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-07 07:56:37 -0800
commit0240b3c9546a659f11cd41990ce330aebb056f86 (patch)
treef9452f74276060fc4d8bffa511c8cfc04e053810
downloadpython-elementary-0240b3c9546a659f11cd41990ce330aebb056f86.tar.gz
python-elementary-0240b3c9546a659f11cd41990ce330aebb056f86.tar.bz2
python-elementary-0240b3c9546a659f11cd41990ce330aebb056f86.zip
Imported Upstream version 1.7.0upstream/1.7.0upstream
-rw-r--r--AUTHORS8
-rw-r--r--COPYING165
-rw-r--r--ChangeLog3
-rw-r--r--INSTALL370
-rw-r--r--Makefile.am299
-rw-r--r--Makefile.in1170
-rw-r--r--NEWSbin0 -> 1024 bytes
-rw-r--r--README41
-rw-r--r--aclocal.m41460
-rwxr-xr-xautogen.sh7
-rwxr-xr-xconfig.guess1552
-rwxr-xr-xconfig.sub1804
-rwxr-xr-xconfigure15405
-rw-r--r--configure.ac168
-rwxr-xr-xdepcomp708
-rw-r--r--elementary/__init__.py385
-rw-r--r--elementary/cursors.py95
-rw-r--r--elementary/elementary.c_elementary.c261740
-rw-r--r--elementary/elementary.c_elementary.h681
-rw-r--r--elementary/elementary.c_elementary.pyx430
-rw-r--r--elementary/elementary.c_elementary_actionslider.pxi196
-rw-r--r--elementary/elementary.c_elementary_background.pxi280
-rw-r--r--elementary/elementary.c_elementary_box.pxi588
-rw-r--r--elementary/elementary.c_elementary_bubble.pxi120
-rw-r--r--elementary/elementary.c_elementary_button.pxi224
-rw-r--r--elementary/elementary.c_elementary_calendar.pxi333
-rw-r--r--elementary/elementary.c_elementary_check.pxi103
-rw-r--r--elementary/elementary.c_elementary_clock.pxi383
-rw-r--r--elementary/elementary.c_elementary_colorselector.pxi247
-rw-r--r--elementary/elementary.c_elementary_configuration.pxi689
-rw-r--r--elementary/elementary.c_elementary_conformant.pxi47
-rw-r--r--elementary/elementary.c_elementary_ctxpopup.pxi262
-rw-r--r--elementary/elementary.c_elementary_datetime.pxi470
-rw-r--r--elementary/elementary.c_elementary_dayselector.pxi157
-rw-r--r--elementary/elementary.c_elementary_diskselector.pxi418
-rw-r--r--elementary/elementary.c_elementary_entry.pxi1797
-rw-r--r--elementary/elementary.c_elementary_fileselector.pxi445
-rw-r--r--elementary/elementary.c_elementary_fileselector_button.pxi425
-rw-r--r--elementary/elementary.c_elementary_fileselector_entry.pxi576
-rw-r--r--elementary/elementary.c_elementary_flip.pxi280
-rw-r--r--elementary/elementary.c_elementary_flipselector.pxi334
-rw-r--r--elementary/elementary.c_elementary_frame.pxi150
-rw-r--r--elementary/elementary.c_elementary_gengrid.pxi1018
-rw-r--r--elementary/elementary.c_elementary_genlist.pxi1159
-rw-r--r--elementary/elementary.c_elementary_gesture_layer.pxi205
-rw-r--r--elementary/elementary.c_elementary_grid.pxi185
-rw-r--r--elementary/elementary.c_elementary_hover.pxi222
-rw-r--r--elementary/elementary.c_elementary_hoversel.pxi336
-rw-r--r--elementary/elementary.c_elementary_icon.pxi259
-rw-r--r--elementary/elementary.c_elementary_image.pxi741
-rw-r--r--elementary/elementary.c_elementary_index.pxi556
-rw-r--r--elementary/elementary.c_elementary_innerwindow.pxi133
-rw-r--r--elementary/elementary.c_elementary_label.pxi261
-rw-r--r--elementary/elementary.c_elementary_layout.pxi239
-rw-r--r--elementary/elementary.c_elementary_layout_class.pxi695
-rw-r--r--elementary/elementary.c_elementary_list.pxi1121
-rw-r--r--elementary/elementary.c_elementary_map.pxi794
-rw-r--r--elementary/elementary.c_elementary_mapbuf.pxi138
-rw-r--r--elementary/elementary.c_elementary_menu.pxi456
-rw-r--r--elementary/elementary.c_elementary_multibuttonentry.pxi318
-rw-r--r--elementary/elementary.c_elementary_naviframe.pxi591
-rw-r--r--elementary/elementary.c_elementary_need.pxi71
-rw-r--r--elementary/elementary.c_elementary_notify.pxi227
-rw-r--r--elementary/elementary.c_elementary_object.pxi1486
-rw-r--r--elementary/elementary.c_elementary_object_item.pxi529
-rw-r--r--elementary/elementary.c_elementary_panel.pxi115
-rw-r--r--elementary/elementary.c_elementary_panes.pxi159
-rw-r--r--elementary/elementary.c_elementary_photo.pxi229
-rw-r--r--elementary/elementary.c_elementary_photocam.pxi364
-rw-r--r--elementary/elementary.c_elementary_plug.pxi74
-rw-r--r--elementary/elementary.c_elementary_popup.pxi255
-rw-r--r--elementary/elementary.c_elementary_progressbar.pxi395
-rw-r--r--elementary/elementary.c_elementary_radio.pxi215
-rw-r--r--elementary/elementary.c_elementary_scroller.pxi703
-rw-r--r--elementary/elementary.c_elementary_segment_control.pxi349
-rw-r--r--elementary/elementary.c_elementary_separator.pxi68
-rw-r--r--elementary/elementary.c_elementary_slider.pxi579
-rw-r--r--elementary/elementary.c_elementary_slideshow.pxi651
-rw-r--r--elementary/elementary.c_elementary_spinner.pxi628
-rw-r--r--elementary/elementary.c_elementary_table.pxi208
-rw-r--r--elementary/elementary.c_elementary_theme.pxi387
-rw-r--r--elementary/elementary.c_elementary_thumb.pxi267
-rw-r--r--elementary/elementary.c_elementary_toolbar.pxi1279
-rw-r--r--elementary/elementary.c_elementary_transit.pxi714
-rw-r--r--elementary/elementary.c_elementary_video.pxi421
-rw-r--r--elementary/elementary.c_elementary_web.pxi214
-rw-r--r--elementary/elementary.c_elementary_window.pxi1740
-rw-r--r--include/elementary/__init__.pybin0 -> 1024 bytes
-rw-r--r--include/elementary/c_elementary.pxd2351
-rwxr-xr-xinstall-sh527
-rwxr-xr-xltmain.sh9636
-rw-r--r--m4/cython.m477
-rw-r--r--m4/filter-var.m410
-rw-r--r--m4/libtool.m47844
-rw-r--r--m4/ltoptions.m4369
-rw-r--r--m4/ltsugar.m4123
-rw-r--r--m4/ltversion.m423
-rw-r--r--m4/lt~obsolete.m498
-rw-r--r--m4/python-efl.m446
-rw-r--r--m4/python.m471
-rw-r--r--m4/pythonpath.m481
-rwxr-xr-xmissing331
-rwxr-xr-xpy-compile161
-rw-r--r--python-elementary.pc.in12
-rw-r--r--tests/cursors.edjbin0 -> 7000 bytes
-rw-r--r--tests/external.edjbin0 -> 105243 bytes
-rw-r--r--tests/images/clo.pngbin0 -> 120231 bytes
-rw-r--r--tests/images/icon_00.pngbin0 -> 9793 bytes
-rw-r--r--tests/images/icon_01.pngbin0 -> 11371 bytes
-rw-r--r--tests/images/icon_02.pngbin0 -> 12432 bytes
-rw-r--r--tests/images/icon_03.pngbin0 -> 15014 bytes
-rw-r--r--tests/images/icon_04.pngbin0 -> 7912 bytes
-rw-r--r--tests/images/icon_05.pngbin0 -> 1483 bytes
-rw-r--r--tests/images/icon_06.pngbin0 -> 4977 bytes
-rw-r--r--tests/images/icon_07.pngbin0 -> 2548 bytes
-rw-r--r--tests/images/icon_08.pngbin0 -> 4861 bytes
-rw-r--r--tests/images/icon_09.pngbin0 -> 7774 bytes
-rw-r--r--tests/images/icon_10.pngbin0 -> 4745 bytes
-rw-r--r--tests/images/icon_11.pngbin0 -> 8684 bytes
-rw-r--r--tests/images/icon_12.pngbin0 -> 3018 bytes
-rw-r--r--tests/images/icon_13.pngbin0 -> 5051 bytes
-rw-r--r--tests/images/icon_14.pngbin0 -> 8448 bytes
-rw-r--r--tests/images/icon_15.pngbin0 -> 8706 bytes
-rw-r--r--tests/images/icon_16.pngbin0 -> 11758 bytes
-rw-r--r--tests/images/icon_17.pngbin0 -> 13769 bytes
-rw-r--r--tests/images/icon_18.pngbin0 -> 6079 bytes
-rw-r--r--tests/images/icon_19.pngbin0 -> 11785 bytes
-rw-r--r--tests/images/icon_20.pngbin0 -> 8278 bytes
-rw-r--r--tests/images/icon_21.pngbin0 -> 14661 bytes
-rw-r--r--tests/images/icon_22.pngbin0 -> 12215 bytes
-rw-r--r--tests/images/icon_23.pngbin0 -> 10078 bytes
-rw-r--r--tests/images/icon_right_arrow.pngbin0 -> 1832 bytes
-rw-r--r--tests/images/insanely_huge_test_image.jpgbin0 -> 1260785 bytes
-rw-r--r--tests/images/logo.pngbin0 -> 81162 bytes
-rw-r--r--tests/images/logo_small.pngbin0 -> 5655 bytes
-rw-r--r--tests/images/mystrale.jpgbin0 -> 74115 bytes
-rw-r--r--tests/images/mystrale_2.jpgbin0 -> 355595 bytes
-rw-r--r--tests/images/panel_01.jpgbin0 -> 63544 bytes
-rw-r--r--tests/images/plant_01.jpgbin0 -> 165867 bytes
-rw-r--r--tests/images/rock_01.jpgbin0 -> 330094 bytes
-rw-r--r--tests/images/rock_02.jpgbin0 -> 285555 bytes
-rw-r--r--tests/images/sky.jpgbin0 -> 69378 bytes
-rw-r--r--tests/images/sky_01.jpgbin0 -> 134813 bytes
-rw-r--r--tests/images/sky_02.jpgbin0 -> 31413 bytes
-rw-r--r--tests/images/sky_03.jpgbin0 -> 73364 bytes
-rw-r--r--tests/images/sky_04.jpgbin0 -> 25078 bytes
-rw-r--r--tests/images/under.pngbin0 -> 36742 bytes
-rw-r--r--tests/images/wood_01.jpgbin0 -> 96136 bytes
-rw-r--r--tests/test.edjbin0 -> 201415 bytes
-rw-r--r--tests/test.py316
-rw-r--r--tests/test_3d.py266
-rw-r--r--tests/test_actionslider.py178
-rw-r--r--tests/test_bg.py98
-rw-r--r--tests/test_box.py340
-rw-r--r--tests/test_button.py74
-rw-r--r--tests/test_calendar.py277
-rw-r--r--tests/test_check.py111
-rw-r--r--tests/test_clock.py78
-rw-r--r--tests/test_colorselector.py138
-rw-r--r--tests/test_config.py18
-rw-r--r--tests/test_ctxpopup.py188
-rw-r--r--tests/test_datetime.py68
-rw-r--r--tests/test_dayselector.py88
-rw-r--r--tests/test_diskselector.py136
-rw-r--r--tests/test_entry.py186
-rw-r--r--tests/test_external.py37
-rw-r--r--tests/test_fileselector.py342
-rw-r--r--tests/test_flip.py308
-rw-r--r--tests/test_flipselector.py137
-rw-r--r--tests/test_frame.py66
-rw-r--r--tests/test_gengrid.py399
-rw-r--r--tests/test_genlist.py454
-rw-r--r--tests/test_grid.py109
-rw-r--r--tests/test_hover.py222
-rw-r--r--tests/test_hoversel.py117
-rw-r--r--tests/test_icon.py142
-rw-r--r--tests/test_index.py125
-rw-r--r--tests/test_inwin.py46
-rw-r--r--tests/test_label.py175
-rw-r--r--tests/test_layout.py61
-rw-r--r--tests/test_list.py388
-rw-r--r--tests/test_map.py179
-rw-r--r--tests/test_map2.py223
-rw-r--r--tests/test_map3.py268
-rw-r--r--tests/test_mapbuf.py196
-rw-r--r--tests/test_menu.py105
-rw-r--r--tests/test_multibuttonentry.py177
-rw-r--r--tests/test_naviframe.py144
-rw-r--r--tests/test_notify.py124
-rw-r--r--tests/test_panel.py56
-rw-r--r--tests/test_panes.py72
-rw-r--r--tests/test_photo.py81
-rw-r--r--tests/test_popup.py245
-rw-r--r--tests/test_progressbar.py186
-rw-r--r--tests/test_radio.py105
-rw-r--r--tests/test_scroller.py140
-rw-r--r--tests/test_segment_control.py118
-rw-r--r--tests/test_separator.py86
-rw-r--r--tests/test_slideshow.py175
-rw-r--r--tests/test_spinner.py69
-rw-r--r--tests/test_table.py81
-rw-r--r--tests/test_thumb.py62
-rw-r--r--tests/test_toolbar.py127
-rw-r--r--tests/test_tooltip.py234
-rw-r--r--tests/test_video.py79
-rw-r--r--tests/test_web.py129
-rw-r--r--tests/test_win.py106
207 files changed, 347784 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..7037157
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,8 @@
+Simon Busch <morphis@gravedo.de>
+Boris 'billiob' Faure <billiob@gmail.com>
+Davide 'DaveMDS' Andreoli <dave@gurumeditation.it>
+Fabiano Fidêncio <fidencio@profusion.mobi>
+Bruno Dilly <bdilly@profusion.mobi>
+Tiago Falcão <tiago@profusion.mobi>
+Joost Albers <joost.albers@nomadrail.com>
+Kai Huuhko <kai.huuhko@gmail.com>
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..fc8a5de
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..9cecd2c
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,3 @@
+13/01/2009
+- Fix hoversel widget callback functionality
+- print tracebacks when exception was raised in a callback function
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..a1e89e1
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,370 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Inc.
+
+ Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without warranty of any kind.
+
+Basic Installation
+==================
+
+ Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package. The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package. Some packages provide this
+`INSTALL' file but do not implement all of the features documented
+below. The lack of an optional feature in a given package is not
+necessarily a bug. More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
+
+ The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system.
+
+ Running `configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package, generally using the just-built uninstalled binaries.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation. When installing into a prefix owned by root, it is
+ recommended that the package be configured and built as a regular
+ user, and only the `make install' phase executed with root
+ privileges.
+
+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
+ this time using the binaries in their final installed location.
+ This target does not install anything. Running this target as a
+ regular user, particularly if the prior `make install' required
+ root privileges, verifies that the installation completed
+ correctly.
+
+ 6. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+ 7. Often, you can also type `make uninstall' to remove the installed
+ files again. In practice, not all packages have tested that
+ uninstallation works correctly, even though it is required by the
+ GNU Coding Standards.
+
+ 8. Some packages, particularly those that use Automake, provide `make
+ distcheck', which can by used by developers to test that all other
+ targets like `make install' and `make uninstall' work correctly.
+ This target is generally not run by end users.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you can use GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'. This
+is known as a "VPATH" build.
+
+ With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
+
+Installation Names
+==================
+
+ By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
+absolute file name.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them. In general, the
+default for these options is expressed in terms of `${prefix}', so that
+specifying just `--prefix' will affect all of the other directory
+specifications that were not explicitly provided.
+
+ The most portable way to affect installation locations is to pass the
+correct locations to `configure'; however, many packages provide one or
+both of the following shortcuts of passing variable assignments to the
+`make install' command line to change installation locations without
+having to reconfigure or recompile.
+
+ The first method involves providing an override variable for each
+affected directory. For example, `make install
+prefix=/alternate/directory' will choose an alternate location for all
+directory configuration variables that were expressed in terms of
+`${prefix}'. Any directories that were specified during `configure',
+but not in terms of `${prefix}', must each be overridden at install
+time for the entire installation to be relocated. The approach of
+makefile variable overrides for each directory variable is required by
+the GNU Coding Standards, and ideally causes no recompilation.
+However, some platforms have known limitations with the semantics of
+shared libraries that end up requiring recompilation when using this
+method, particularly noticeable in packages that use GNU Libtool.
+
+ The second method involves providing the `DESTDIR' variable. For
+example, `make install DESTDIR=/alternate/directory' will prepend
+`/alternate/directory' before all installation names. The approach of
+`DESTDIR' overrides is not required by the GNU Coding Standards, and
+does not work on platforms that have drive letters. On the other hand,
+it does better at avoiding recompilation issues, and works well even
+when some directory options were not specified in terms of `${prefix}'
+at `configure' time.
+
+Optional Features
+=================
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+ Some packages offer the ability to configure how verbose the
+execution of `make' will be. For these packages, running `./configure
+--enable-silent-rules' sets the default to minimal output, which can be
+overridden with `make V=1'; while running `./configure
+--disable-silent-rules' sets the default to verbose, which can be
+overridden with `make V=0'.
+
+Particular systems
+==================
+
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
+CC is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ HP-UX `make' updates targets which have the same time stamps as
+their prerequisites, which makes it generally unusable when shipped
+generated files such as `configure' are involved. Use GNU `make'
+instead.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
+a workaround. If GNU CC is not installed, it is therefore recommended
+to try
+
+ ./configure CC="cc"
+
+and if that doesn't work, try
+
+ ./configure CC="cc -nodtk"
+
+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
+directory contains several dysfunctional programs; working variants of
+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
+in your `PATH', put it _after_ `/usr/bin'.
+
+ On Haiku, software installed for all users goes in `/boot/common',
+not `/usr/local'. It is recommended to use the following options:
+
+ ./configure --prefix=/boot/common
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS
+ KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf bug. Until the bug is fixed you can use this workaround:
+
+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+`configure' Invocation
+======================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+ Print a summary of all of the options to `configure', and exit.
+
+`--help=short'
+`--help=recursive'
+ Print a summary of the options unique to this package's
+ `configure', and exit. The `short' variant lists options used
+ only in the top level, while the `recursive' variant lists options
+ also present in any nested packages.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`--prefix=DIR'
+ Use DIR as the installation prefix. *note Installation Names::
+ for more details, including other options available for fine-tuning
+ the installation locations.
+
+`--no-create'
+`-n'
+ Run the configure checks, but stop before creating any output
+ files.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..beb626d
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,299 @@
+ACLOCAL_AMFLAGS = -I m4
+
+cython_ins = elementary/elementary.c_elementary.pyx
+cython_outs = \
+ elementary/elementary.c_elementary.c \
+ elementary/elementary.c_elementary.h
+CYTHONFLAGS = @CYTHONFLAGS@
+CYTHON_ELEMENTARY_FLAGS = -I@CYTHON_ELEMENTARY_INCLUDEDIR@
+EPYDOC = @EPYDOC@
+
+# python-elementary still does not export any public cpython/cython interfaces
+# pyincelementarydir = $(includedir)/@PACKAGE@/elementary
+# pyincelementary_DATA = ... elementary/elementary.c_elementary.h ...
+c_elementary_includes = \
+ include/elementary/c_elementary.pxd \
+ include/elementary/__init__.py
+
+
+c_elementary_deps = \
+ elementary/elementary.c_elementary_actionslider.pxi \
+ elementary/elementary.c_elementary_background.pxi \
+ elementary/elementary.c_elementary_box.pxi \
+ elementary/elementary.c_elementary_bubble.pxi \
+ elementary/elementary.c_elementary_button.pxi \
+ elementary/elementary.c_elementary_calendar.pxi \
+ elementary/elementary.c_elementary_check.pxi \
+ elementary/elementary.c_elementary_clock.pxi \
+ elementary/elementary.c_elementary_colorselector.pxi \
+ elementary/elementary.c_elementary_configuration.pxi \
+ elementary/elementary.c_elementary_conformant.pxi \
+ elementary/elementary.c_elementary_ctxpopup.pxi \
+ elementary/elementary.c_elementary_dayselector.pxi \
+ elementary/elementary.c_elementary_datetime.pxi \
+ elementary/elementary.c_elementary_diskselector.pxi \
+ elementary/elementary.c_elementary_entry.pxi \
+ elementary/elementary.c_elementary_fileselector.pxi \
+ elementary/elementary.c_elementary_fileselector_entry.pxi \
+ elementary/elementary.c_elementary_fileselector_button.pxi \
+ elementary/elementary.c_elementary_flip.pxi \
+ elementary/elementary.c_elementary_flipselector.pxi \
+ elementary/elementary.c_elementary_frame.pxi \
+ elementary/elementary.c_elementary_genlist.pxi \
+ elementary/elementary.c_elementary_gengrid.pxi \
+ elementary/elementary.c_elementary_gesture_layer.pxi \
+ elementary/elementary.c_elementary_grid.pxi \
+ elementary/elementary.c_elementary_hover.pxi \
+ elementary/elementary.c_elementary_hoversel.pxi \
+ elementary/elementary.c_elementary_icon.pxi \
+ elementary/elementary.c_elementary_image.pxi \
+ elementary/elementary.c_elementary_index.pxi \
+ elementary/elementary.c_elementary_innerwindow.pxi \
+ elementary/elementary.c_elementary_label.pxi \
+ elementary/elementary.c_elementary_layout.pxi \
+ elementary/elementary.c_elementary_layout_class.pxi \
+ elementary/elementary.c_elementary_list.pxi \
+ elementary/elementary.c_elementary_map.pxi \
+ elementary/elementary.c_elementary_mapbuf.pxi \
+ elementary/elementary.c_elementary_menu.pxi \
+ elementary/elementary.c_elementary_multibuttonentry.pxi \
+ elementary/elementary.c_elementary_need.pxi \
+ elementary/elementary.c_elementary_notify.pxi \
+ elementary/elementary.c_elementary_object.pxi \
+ elementary/elementary.c_elementary_object_item.pxi \
+ elementary/elementary.c_elementary_naviframe.pxi \
+ elementary/elementary.c_elementary_panel.pxi \
+ elementary/elementary.c_elementary_panes.pxi \
+ elementary/elementary.c_elementary_photo.pxi \
+ elementary/elementary.c_elementary_photocam.pxi \
+ elementary/elementary.c_elementary_plug.pxi \
+ elementary/elementary.c_elementary_popup.pxi \
+ elementary/elementary.c_elementary_progressbar.pxi \
+ elementary/elementary.c_elementary_radio.pxi \
+ elementary/elementary.c_elementary_scroller.pxi \
+ elementary/elementary.c_elementary_segment_control.pxi \
+ elementary/elementary.c_elementary_separator.pxi \
+ elementary/elementary.c_elementary_slider.pxi \
+ elementary/elementary.c_elementary_slideshow.pxi \
+ elementary/elementary.c_elementary_spinner.pxi \
+ elementary/elementary.c_elementary_table.pxi \
+ elementary/elementary.c_elementary_theme.pxi \
+ elementary/elementary.c_elementary_thumb.pxi \
+ elementary/elementary.c_elementary_toolbar.pxi \
+ elementary/elementary.c_elementary_transit.pxi \
+ elementary/elementary.c_elementary_video.pxi \
+ elementary/elementary.c_elementary_web.pxi \
+ elementary/elementary.c_elementary_window.pxi
+
+# elementary tests are not actual unit tests but a test AND a nice example
+examples_files = \
+ tests/test.py \
+ tests/test.edj \
+ tests/cursors.edj \
+ tests/external.edj \
+ tests/test_3d.py \
+ tests/test_actionslider.py \
+ tests/test_bg.py \
+ tests/test_box.py \
+ tests/test_button.py \
+ tests/test_calendar.py \
+ tests/test_check.py \
+ tests/test_clock.py \
+ tests/test_colorselector.py \
+ tests/test_config.py \
+ tests/test_ctxpopup.py \
+ tests/test_datetime.py \
+ tests/test_dayselector.py \
+ tests/test_diskselector.py \
+ tests/test_entry.py \
+ tests/test_external.py \
+ tests/test_fileselector.py \
+ tests/test_flip.py \
+ tests/test_flipselector.py \
+ tests/test_frame.py \
+ tests/test_genlist.py \
+ tests/test_gengrid.py \
+ tests/test_grid.py \
+ tests/test_hover.py \
+ tests/test_hoversel.py \
+ tests/test_icon.py \
+ tests/test_index.py \
+ tests/test_inwin.py \
+ tests/test_label.py \
+ tests/test_layout.py \
+ tests/test_list.py \
+ tests/test_mapbuf.py \
+ tests/test_map.py \
+ tests/test_map2.py \
+ tests/test_map3.py \
+ tests/test_menu.py \
+ tests/test_multibuttonentry.py \
+ tests/test_naviframe.py \
+ tests/test_notify.py \
+ tests/test_panel.py \
+ tests/test_panes.py \
+ tests/test_photo.py \
+ tests/test_popup.py \
+ tests/test_progressbar.py \
+ tests/test_radio.py \
+ tests/test_scroller.py \
+ tests/test_segment_control.py \
+ tests/test_separator.py \
+ tests/test_slideshow.py \
+ tests/test_spinner.py \
+ tests/test_table.py \
+ tests/test_thumb.py \
+ tests/test_toolbar.py \
+ tests/test_tooltip.py \
+ tests/test_video.py \
+ tests/test_web.py \
+ tests/test_win.py
+
+examples_images_files = \
+ tests/images/icon_00.png \
+ tests/images/icon_01.png \
+ tests/images/icon_02.png \
+ tests/images/icon_03.png \
+ tests/images/icon_04.png \
+ tests/images/icon_05.png \
+ tests/images/icon_06.png \
+ tests/images/icon_07.png \
+ tests/images/icon_08.png \
+ tests/images/icon_09.png \
+ tests/images/icon_10.png \
+ tests/images/icon_11.png \
+ tests/images/icon_12.png \
+ tests/images/icon_13.png \
+ tests/images/icon_14.png \
+ tests/images/icon_15.png \
+ tests/images/icon_16.png \
+ tests/images/icon_17.png \
+ tests/images/icon_18.png \
+ tests/images/icon_19.png \
+ tests/images/icon_20.png \
+ tests/images/icon_21.png \
+ tests/images/icon_22.png \
+ tests/images/icon_23.png \
+ tests/images/insanely_huge_test_image.jpg \
+ tests/images/logo.png \
+ tests/images/logo_small.png \
+ tests/images/panel_01.jpg \
+ tests/images/plant_01.jpg \
+ tests/images/rock_01.jpg \
+ tests/images/rock_02.jpg \
+ tests/images/sky_01.jpg \
+ tests/images/sky_02.jpg \
+ tests/images/sky_03.jpg \
+ tests/images/sky_04.jpg \
+ tests/images/wood_01.jpg \
+ tests/images/icon_right_arrow.png \
+ tests/images/mystrale.jpg \
+ tests/images/mystrale_2.jpg \
+ tests/images/clo.png \
+ tests/images/under.png \
+ tests/images/sky.jpg
+
+tests_files =
+
+
+MAINTAINERCLEANFILES = \
+ m4/libtool.m4 \
+ m4/lt~obsolete.m4 \
+ m4/ltoptions.m4 \
+ m4/ltsugar.m4 \
+ m4/ltversion.m4 \
+ m4/libtool.m4 \
+ ltmain.sh \
+ depcomp \
+ aclocal.m4 \
+ config.guess \
+ config.sub \
+ configure \
+ install-sh \
+ Makefile.in \
+ missing \
+ py-compile \
+ config.h.in \
+ $(cython_outs)
+
+EXTRA_DIST = \
+ AUTHORS \
+ COPYING \
+ README \
+ autogen.sh \
+ python-elementary.pc.in \
+ $(cython_ins) $(cython_outs) \
+ $(c_elementary_includes) \
+ $(c_elementary_deps) \
+ $(examples_files) \
+ $(examples_images_files) \
+ $(tests_files)
+
+# do not distcleancheck for generated elementary.c_elementary.[ch]
+distcleancheck_listfiles = \
+ find . -type f \
+ \( -not -name 'elementary.c_elementary.c' -a \
+ -not -name 'elementary.c_elementary.h' \)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = python-elementary.pc
+
+if HAVE_CYTHON
+BUILT_SOURCES = $(cython_outs)
+$(top_builddir)/elementary/elementary.c_elementary.c $(top_builddir)/elementary/elementary.c_elementary.h: $(top_srcdir)/elementary/elementary.c_elementary.pyx $(c_elementary_deps) $(c_elementary_includes) Makefile
+ @$(MKDIR_P) $(top_builddir)/elementary
+ $(AM_V_GEN)cd $(top_builddir) && $(PYTHON) -m cython $(CYTHON_ELEMENTARY_FLAGS) -I$(top_srcdir)/include $(CYTHONFLAGS) -o $@ $<
+else
+$(top_builddir)/elementary/elementary.c_elementary.c $(top_builddir)/elementary/elementary.c_elementary.h: Makefile
+ @echo "NOTE: No cython, using pre-generated elementary.c_elementary.[ch]"
+ @$(MKDIR_P) $(top_builddir)/elementary
+ $(AM_V_GEN)for f in elementary/elementary.c_elementary.c elementary/elementary.c_elementary.h; do if ! cmp $(top_srcdir)/$$f $(top_srcdir)/$$f > /dev/null; then cp $(top_srcdir)/$$f $(top_builddir)/$$f; fi; done
+endif
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/elementary \
+ -I$(top_srcdir)/include \
+ @PYTHON_INCLUDES@ \
+ @ELEMENTARY_CFLAGS@
+
+pyexecelementarydir = $(pyexecdir)/elementary
+pyexecelementary_LTLIBRARIES = c_elementary.la
+c_elementary_la_LIBADD = @ELEMENTARY_LIBS@
+c_elementary_la_LDFLAGS = -module -avoid-version
+c_elementary_la_LIBTOOLFLAGS = --tag=disable-static
+c_elementary_la_SOURCES = \
+ $(top_builddir)/elementary/elementary.c_elementary.c \
+ $(top_builddir)/elementary/elementary.c_elementary.h
+
+
+pyelementarydir = $(pythondir)/elementary
+pyelementary_PYTHON = elementary/__init__.py elementary/cursors.py
+
+
+if WANT_EXAMPLES
+examplesdir = $(pkgdatadir)/examples
+examples_DATA = $(examples_files)
+
+examplesimagesdir = $(examplesdir)/images
+examplesimages_DATA = $(examples_images_files)
+endif
+
+
+.PHONY: doc doc-clean
+if HAVE_EPYDOC
+clean-local: doc-clean
+doc-clean:
+ rm -fr doc/api/html
+doc: $(pyexecelementary_LTLIBRARIES) $(pyelementarydir_PYTHON)
+ mkdir -p doc/api/html
+ $(AM_V_GEN)PYTHONPATH="$$PWD:$$PWD/.libs:$$PYTHONPATH" \
+ $(EPYDOC) --html -o doc/api/html \
+ -n "@PACKAGE@ @VERSION@ API" \
+ c_elementary
+else
+doc-clean:
+ @echo "Install epydoc then run ./configure again"
+doc:
+ @echo "Install epydoc then run ./configure again"
+endif
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 0000000..869c3fd
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,1170 @@
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+am__make_dryrun = \
+ { \
+ am__dry=no; \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
+ *) \
+ for am__flg in $$MAKEFLAGS; do \
+ case $$am__flg in \
+ *=*|--*) ;; \
+ *n*) am__dry=yes; break;; \
+ esac; \
+ done;; \
+ esac; \
+ test $$am__dry = yes; \
+ }
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = .
+DIST_COMMON = README $(am__configure_deps) $(pyelementary_PYTHON) \
+ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(srcdir)/python-elementary.pc.in $(top_srcdir)/configure \
+ AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \
+ depcomp install-sh ltmain.sh missing py-compile
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/cython.m4 \
+ $(top_srcdir)/m4/filter-var.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/m4/python-efl.m4 $(top_srcdir)/m4/python.m4 \
+ $(top_srcdir)/m4/pythonpath.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES = python-elementary.pc
+CONFIG_CLEAN_VPATH_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(pyexecelementarydir)" \
+ "$(DESTDIR)$(pyelementarydir)" "$(DESTDIR)$(examplesdir)" \
+ "$(DESTDIR)$(examplesimagesdir)" "$(DESTDIR)$(pkgconfigdir)"
+LTLIBRARIES = $(pyexecelementary_LTLIBRARIES)
+c_elementary_la_DEPENDENCIES =
+am_c_elementary_la_OBJECTS = \
+ c_elementary_la-elementary.c_elementary.lo
+c_elementary_la_OBJECTS = $(am_c_elementary_la_OBJECTS)
+AM_V_lt = $(am__v_lt_@AM_V@)
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+c_elementary_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+ $(c_elementary_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
+ $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(c_elementary_la_LDFLAGS) \
+ $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I.@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_@AM_V@)
+am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+SOURCES = $(c_elementary_la_SOURCES)
+DIST_SOURCES = $(c_elementary_la_SOURCES)
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
+py_compile = $(top_srcdir)/py-compile
+DATA = $(examples_DATA) $(examplesimages_DATA) $(pkgconfig_DATA)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+CYTHONFLAGS = @CYTHONFLAGS@
+CYTHON_ELEMENTARY_INCLUDEDIR = @CYTHON_ELEMENTARY_INCLUDEDIR@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ELEMENTARY_CFLAGS = @ELEMENTARY_CFLAGS@
+ELEMENTARY_LIBS = @ELEMENTARY_LIBS@
+EPYDOC = @EPYDOC@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+PYTHON = @PYTHON@
+PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
+PYTHON_INCLUDES = @PYTHON_INCLUDES@
+PYTHON_PLATFORM = @PYTHON_PLATFORM@
+PYTHON_PREFIX = @PYTHON_PREFIX@
+PYTHON_VERSION = @PYTHON_VERSION@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+VMAJ = @VMAJ@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+pkgconfig_elementary_requires_libs = @pkgconfig_elementary_requires_libs@
+pkgconfig_requires_private = @pkgconfig_requires_private@
+pkgpyexecdir = @pkgpyexecdir@
+pkgpythondir = @pkgpythondir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+pyexecdir = @pyexecdir@
+pythondir = @pythondir@
+release_info = @release_info@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+version_info = @version_info@
+ACLOCAL_AMFLAGS = -I m4
+cython_ins = elementary/elementary.c_elementary.pyx
+cython_outs = \
+ elementary/elementary.c_elementary.c \
+ elementary/elementary.c_elementary.h
+
+CYTHON_ELEMENTARY_FLAGS = -I@CYTHON_ELEMENTARY_INCLUDEDIR@
+
+# python-elementary still does not export any public cpython/cython interfaces
+# pyincelementarydir = $(includedir)/@PACKAGE@/elementary
+# pyincelementary_DATA = ... elementary/elementary.c_elementary.h ...
+c_elementary_includes = \
+ include/elementary/c_elementary.pxd \
+ include/elementary/__init__.py
+
+c_elementary_deps = \
+ elementary/elementary.c_elementary_actionslider.pxi \
+ elementary/elementary.c_elementary_background.pxi \
+ elementary/elementary.c_elementary_box.pxi \
+ elementary/elementary.c_elementary_bubble.pxi \
+ elementary/elementary.c_elementary_button.pxi \
+ elementary/elementary.c_elementary_calendar.pxi \
+ elementary/elementary.c_elementary_check.pxi \
+ elementary/elementary.c_elementary_clock.pxi \
+ elementary/elementary.c_elementary_colorselector.pxi \
+ elementary/elementary.c_elementary_configuration.pxi \
+ elementary/elementary.c_elementary_conformant.pxi \
+ elementary/elementary.c_elementary_ctxpopup.pxi \
+ elementary/elementary.c_elementary_dayselector.pxi \
+ elementary/elementary.c_elementary_datetime.pxi \
+ elementary/elementary.c_elementary_diskselector.pxi \
+ elementary/elementary.c_elementary_entry.pxi \
+ elementary/elementary.c_elementary_fileselector.pxi \
+ elementary/elementary.c_elementary_fileselector_entry.pxi \
+ elementary/elementary.c_elementary_fileselector_button.pxi \
+ elementary/elementary.c_elementary_flip.pxi \
+ elementary/elementary.c_elementary_flipselector.pxi \
+ elementary/elementary.c_elementary_frame.pxi \
+ elementary/elementary.c_elementary_genlist.pxi \
+ elementary/elementary.c_elementary_gengrid.pxi \
+ elementary/elementary.c_elementary_gesture_layer.pxi \
+ elementary/elementary.c_elementary_grid.pxi \
+ elementary/elementary.c_elementary_hover.pxi \
+ elementary/elementary.c_elementary_hoversel.pxi \
+ elementary/elementary.c_elementary_icon.pxi \
+ elementary/elementary.c_elementary_image.pxi \
+ elementary/elementary.c_elementary_index.pxi \
+ elementary/elementary.c_elementary_innerwindow.pxi \
+ elementary/elementary.c_elementary_label.pxi \
+ elementary/elementary.c_elementary_layout.pxi \
+ elementary/elementary.c_elementary_layout_class.pxi \
+ elementary/elementary.c_elementary_list.pxi \
+ elementary/elementary.c_elementary_map.pxi \
+ elementary/elementary.c_elementary_mapbuf.pxi \
+ elementary/elementary.c_elementary_menu.pxi \
+ elementary/elementary.c_elementary_multibuttonentry.pxi \
+ elementary/elementary.c_elementary_need.pxi \
+ elementary/elementary.c_elementary_notify.pxi \
+ elementary/elementary.c_elementary_object.pxi \
+ elementary/elementary.c_elementary_object_item.pxi \
+ elementary/elementary.c_elementary_naviframe.pxi \
+ elementary/elementary.c_elementary_panel.pxi \
+ elementary/elementary.c_elementary_panes.pxi \
+ elementary/elementary.c_elementary_photo.pxi \
+ elementary/elementary.c_elementary_photocam.pxi \
+ elementary/elementary.c_elementary_plug.pxi \
+ elementary/elementary.c_elementary_popup.pxi \
+ elementary/elementary.c_elementary_progressbar.pxi \
+ elementary/elementary.c_elementary_radio.pxi \
+ elementary/elementary.c_elementary_scroller.pxi \
+ elementary/elementary.c_elementary_segment_control.pxi \
+ elementary/elementary.c_elementary_separator.pxi \
+ elementary/elementary.c_elementary_slider.pxi \
+ elementary/elementary.c_elementary_slideshow.pxi \
+ elementary/elementary.c_elementary_spinner.pxi \
+ elementary/elementary.c_elementary_table.pxi \
+ elementary/elementary.c_elementary_theme.pxi \
+ elementary/elementary.c_elementary_thumb.pxi \
+ elementary/elementary.c_elementary_toolbar.pxi \
+ elementary/elementary.c_elementary_transit.pxi \
+ elementary/elementary.c_elementary_video.pxi \
+ elementary/elementary.c_elementary_web.pxi \
+ elementary/elementary.c_elementary_window.pxi
+
+
+# elementary tests are not actual unit tests but a test AND a nice example
+examples_files = \
+ tests/test.py \
+ tests/test.edj \
+ tests/cursors.edj \
+ tests/external.edj \
+ tests/test_3d.py \
+ tests/test_actionslider.py \
+ tests/test_bg.py \
+ tests/test_box.py \
+ tests/test_button.py \
+ tests/test_calendar.py \
+ tests/test_check.py \
+ tests/test_clock.py \
+ tests/test_colorselector.py \
+ tests/test_config.py \
+ tests/test_ctxpopup.py \
+ tests/test_datetime.py \
+ tests/test_dayselector.py \
+ tests/test_diskselector.py \
+ tests/test_entry.py \
+ tests/test_external.py \
+ tests/test_fileselector.py \
+ tests/test_flip.py \
+ tests/test_flipselector.py \
+ tests/test_frame.py \
+ tests/test_genlist.py \
+ tests/test_gengrid.py \
+ tests/test_grid.py \
+ tests/test_hover.py \
+ tests/test_hoversel.py \
+ tests/test_icon.py \
+ tests/test_index.py \
+ tests/test_inwin.py \
+ tests/test_label.py \
+ tests/test_layout.py \
+ tests/test_list.py \
+ tests/test_mapbuf.py \
+ tests/test_map.py \
+ tests/test_map2.py \
+ tests/test_map3.py \
+ tests/test_menu.py \
+ tests/test_multibuttonentry.py \
+ tests/test_naviframe.py \
+ tests/test_notify.py \
+ tests/test_panel.py \
+ tests/test_panes.py \
+ tests/test_photo.py \
+ tests/test_popup.py \
+ tests/test_progressbar.py \
+ tests/test_radio.py \
+ tests/test_scroller.py \
+ tests/test_segment_control.py \
+ tests/test_separator.py \
+ tests/test_slideshow.py \
+ tests/test_spinner.py \
+ tests/test_table.py \
+ tests/test_thumb.py \
+ tests/test_toolbar.py \
+ tests/test_tooltip.py \
+ tests/test_video.py \
+ tests/test_web.py \
+ tests/test_win.py
+
+examples_images_files = \
+ tests/images/icon_00.png \
+ tests/images/icon_01.png \
+ tests/images/icon_02.png \
+ tests/images/icon_03.png \
+ tests/images/icon_04.png \
+ tests/images/icon_05.png \
+ tests/images/icon_06.png \
+ tests/images/icon_07.png \
+ tests/images/icon_08.png \
+ tests/images/icon_09.png \
+ tests/images/icon_10.png \
+ tests/images/icon_11.png \
+ tests/images/icon_12.png \
+ tests/images/icon_13.png \
+ tests/images/icon_14.png \
+ tests/images/icon_15.png \
+ tests/images/icon_16.png \
+ tests/images/icon_17.png \
+ tests/images/icon_18.png \
+ tests/images/icon_19.png \
+ tests/images/icon_20.png \
+ tests/images/icon_21.png \
+ tests/images/icon_22.png \
+ tests/images/icon_23.png \
+ tests/images/insanely_huge_test_image.jpg \
+ tests/images/logo.png \
+ tests/images/logo_small.png \
+ tests/images/panel_01.jpg \
+ tests/images/plant_01.jpg \
+ tests/images/rock_01.jpg \
+ tests/images/rock_02.jpg \
+ tests/images/sky_01.jpg \
+ tests/images/sky_02.jpg \
+ tests/images/sky_03.jpg \
+ tests/images/sky_04.jpg \
+ tests/images/wood_01.jpg \
+ tests/images/icon_right_arrow.png \
+ tests/images/mystrale.jpg \
+ tests/images/mystrale_2.jpg \
+ tests/images/clo.png \
+ tests/images/under.png \
+ tests/images/sky.jpg
+
+tests_files =
+MAINTAINERCLEANFILES = \
+ m4/libtool.m4 \
+ m4/lt~obsolete.m4 \
+ m4/ltoptions.m4 \
+ m4/ltsugar.m4 \
+ m4/ltversion.m4 \
+ m4/libtool.m4 \
+ ltmain.sh \
+ depcomp \
+ aclocal.m4 \
+ config.guess \
+ config.sub \
+ configure \
+ install-sh \
+ Makefile.in \
+ missing \
+ py-compile \
+ config.h.in \
+ $(cython_outs)
+
+EXTRA_DIST = \
+ AUTHORS \
+ COPYING \
+ README \
+ autogen.sh \
+ python-elementary.pc.in \
+ $(cython_ins) $(cython_outs) \
+ $(c_elementary_includes) \
+ $(c_elementary_deps) \
+ $(examples_files) \
+ $(examples_images_files) \
+ $(tests_files)
+
+
+# do not distcleancheck for generated elementary.c_elementary.[ch]
+distcleancheck_listfiles = \
+ find . -type f \
+ \( -not -name 'elementary.c_elementary.c' -a \
+ -not -name 'elementary.c_elementary.h' \)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = python-elementary.pc
+@HAVE_CYTHON_TRUE@BUILT_SOURCES = $(cython_outs)
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/elementary \
+ -I$(top_srcdir)/include \
+ @PYTHON_INCLUDES@ \
+ @ELEMENTARY_CFLAGS@
+
+pyexecelementarydir = $(pyexecdir)/elementary
+pyexecelementary_LTLIBRARIES = c_elementary.la
+c_elementary_la_LIBADD = @ELEMENTARY_LIBS@
+c_elementary_la_LDFLAGS = -module -avoid-version
+c_elementary_la_LIBTOOLFLAGS = --tag=disable-static
+c_elementary_la_SOURCES = \
+ $(top_builddir)/elementary/elementary.c_elementary.c \
+ $(top_builddir)/elementary/elementary.c_elementary.h
+
+pyelementarydir = $(pythondir)/elementary
+pyelementary_PYTHON = elementary/__init__.py elementary/cursors.py
+@WANT_EXAMPLES_TRUE@examplesdir = $(pkgdatadir)/examples
+@WANT_EXAMPLES_TRUE@examples_DATA = $(examples_files)
+@WANT_EXAMPLES_TRUE@examplesimagesdir = $(examplesdir)/images
+@WANT_EXAMPLES_TRUE@examplesimages_DATA = $(examples_images_files)
+all: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+python-elementary.pc: $(top_builddir)/config.status $(srcdir)/python-elementary.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+install-pyexecelementaryLTLIBRARIES: $(pyexecelementary_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(pyexecelementary_LTLIBRARIES)'; test -n "$(pyexecelementarydir)" || list=; \
+ list2=; for p in $$list; do \
+ if test -f $$p; then \
+ list2="$$list2 $$p"; \
+ else :; fi; \
+ done; \
+ test -z "$$list2" || { \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pyexecelementarydir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pyexecelementarydir)" || exit 1; \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pyexecelementarydir)'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pyexecelementarydir)"; \
+ }
+
+uninstall-pyexecelementaryLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pyexecelementary_LTLIBRARIES)'; test -n "$(pyexecelementarydir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyexecelementarydir)/$$f'"; \
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyexecelementarydir)/$$f"; \
+ done
+
+clean-pyexecelementaryLTLIBRARIES:
+ -test -z "$(pyexecelementary_LTLIBRARIES)" || rm -f $(pyexecelementary_LTLIBRARIES)
+ @list='$(pyexecelementary_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+c_elementary.la: $(c_elementary_la_OBJECTS) $(c_elementary_la_DEPENDENCIES) $(EXTRA_c_elementary_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(c_elementary_la_LINK) -rpath $(pyexecelementarydir) $(c_elementary_la_OBJECTS) $(c_elementary_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c_elementary_la-elementary.c_elementary.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+c_elementary_la-elementary.c_elementary.lo: $(top_builddir)/elementary/elementary.c_elementary.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(c_elementary_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT c_elementary_la-elementary.c_elementary.lo -MD -MP -MF $(DEPDIR)/c_elementary_la-elementary.c_elementary.Tpo -c -o c_elementary_la-elementary.c_elementary.lo `test -f '$(top_builddir)/elementary/elementary.c_elementary.c' || echo '$(srcdir)/'`$(top_builddir)/elementary/elementary.c_elementary.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/c_elementary_la-elementary.c_elementary.Tpo $(DEPDIR)/c_elementary_la-elementary.c_elementary.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_builddir)/elementary/elementary.c_elementary.c' object='c_elementary_la-elementary.c_elementary.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(c_elementary_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o c_elementary_la-elementary.c_elementary.lo `test -f '$(top_builddir)/elementary/elementary.c_elementary.c' || echo '$(srcdir)/'`$(top_builddir)/elementary/elementary.c_elementary.c
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool config.lt
+install-pyelementaryPYTHON: $(pyelementary_PYTHON)
+ @$(NORMAL_INSTALL)
+ @list='$(pyelementary_PYTHON)'; dlist=; list2=; test -n "$(pyelementarydir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pyelementarydir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pyelementarydir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
+ if test -f $$b$$p; then \
+ $(am__strip_dir) \
+ dlist="$$dlist $$f"; \
+ list2="$$list2 $$b$$p"; \
+ else :; fi; \
+ done; \
+ for file in $$list2; do echo $$file; done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pyelementarydir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pyelementarydir)" || exit $$?; \
+ done || exit $$?; \
+ if test -n "$$dlist"; then \
+ $(am__py_compile) --destdir "$(DESTDIR)" \
+ --basedir "$(pyelementarydir)" $$dlist; \
+ else :; fi
+
+uninstall-pyelementaryPYTHON:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pyelementary_PYTHON)'; test -n "$(pyelementarydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ dir='$(DESTDIR)$(pyelementarydir)'; \
+ filesc=`echo "$$files" | sed 's|$$|c|'`; \
+ fileso=`echo "$$files" | sed 's|$$|o|'`; \
+ st=0; \
+ for files in "$$files" "$$filesc" "$$fileso"; do \
+ $(am__uninstall_files_from_dir) || st=$$?; \
+ done; \
+ exit $$st
+install-examplesDATA: $(examples_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \
+ done
+
+uninstall-examplesDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir)
+install-examplesimagesDATA: $(examplesimages_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(examplesimages_DATA)'; test -n "$(examplesimagesdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(examplesimagesdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(examplesimagesdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesimagesdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesimagesdir)" || exit $$?; \
+ done
+
+uninstall-examplesimagesDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(examplesimages_DATA)'; test -n "$(examplesimagesdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(examplesimagesdir)'; $(am__uninstall_files_from_dir)
+install-pkgconfigDATA: $(pkgconfig_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
+ done
+
+uninstall-pkgconfigDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__remove_distdir)
+
+dist-lzma: distdir
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+ $(am__remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__remove_distdir)
+
+dist-tarZ: distdir
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__remove_distdir)
+
+dist-shar: distdir
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lzma*) \
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir); chmod u+w $(distdir)
+ mkdir $(distdir)/_build
+ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(pyexecelementarydir)" "$(DESTDIR)$(pyelementarydir)" "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(examplesimagesdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+@HAVE_EPYDOC_FALSE@clean-local:
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local \
+ clean-pyexecelementaryLTLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-examplesDATA install-examplesimagesDATA \
+ install-pkgconfigDATA install-pyelementaryPYTHON
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-pyexecelementaryLTLIBRARIES
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-examplesDATA uninstall-examplesimagesDATA \
+ uninstall-pkgconfigDATA uninstall-pyelementaryPYTHON \
+ uninstall-pyexecelementaryLTLIBRARIES
+
+.MAKE: all check install install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
+ clean-generic clean-libtool clean-local \
+ clean-pyexecelementaryLTLIBRARIES ctags dist dist-all \
+ dist-bzip2 dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ \
+ dist-xz dist-zip distcheck distclean distclean-compile \
+ distclean-generic distclean-libtool distclean-tags \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am \
+ install-examplesDATA install-examplesimagesDATA install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-pkgconfigDATA install-ps install-ps-am \
+ install-pyelementaryPYTHON install-pyexecelementaryLTLIBRARIES \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags uninstall uninstall-am \
+ uninstall-examplesDATA uninstall-examplesimagesDATA \
+ uninstall-pkgconfigDATA uninstall-pyelementaryPYTHON \
+ uninstall-pyexecelementaryLTLIBRARIES
+
+@HAVE_CYTHON_TRUE@$(top_builddir)/elementary/elementary.c_elementary.c $(top_builddir)/elementary/elementary.c_elementary.h: $(top_srcdir)/elementary/elementary.c_elementary.pyx $(c_elementary_deps) $(c_elementary_includes) Makefile
+@HAVE_CYTHON_TRUE@ @$(MKDIR_P) $(top_builddir)/elementary
+@HAVE_CYTHON_TRUE@ $(AM_V_GEN)cd $(top_builddir) && $(PYTHON) -m cython $(CYTHON_ELEMENTARY_FLAGS) -I$(top_srcdir)/include $(CYTHONFLAGS) -o $@ $<
+@HAVE_CYTHON_FALSE@$(top_builddir)/elementary/elementary.c_elementary.c $(top_builddir)/elementary/elementary.c_elementary.h: Makefile
+@HAVE_CYTHON_FALSE@ @echo "NOTE: No cython, using pre-generated elementary.c_elementary.[ch]"
+@HAVE_CYTHON_FALSE@ @$(MKDIR_P) $(top_builddir)/elementary
+@HAVE_CYTHON_FALSE@ $(AM_V_GEN)for f in elementary/elementary.c_elementary.c elementary/elementary.c_elementary.h; do if ! cmp $(top_srcdir)/$$f $(top_srcdir)/$$f > /dev/null; then cp $(top_srcdir)/$$f $(top_builddir)/$$f; fi; done
+
+.PHONY: doc doc-clean
+@HAVE_EPYDOC_TRUE@clean-local: doc-clean
+@HAVE_EPYDOC_TRUE@doc-clean:
+@HAVE_EPYDOC_TRUE@ rm -fr doc/api/html
+@HAVE_EPYDOC_TRUE@doc: $(pyexecelementary_LTLIBRARIES) $(pyelementarydir_PYTHON)
+@HAVE_EPYDOC_TRUE@ mkdir -p doc/api/html
+@HAVE_EPYDOC_TRUE@ $(AM_V_GEN)PYTHONPATH="$$PWD:$$PWD/.libs:$$PYTHONPATH" \
+@HAVE_EPYDOC_TRUE@ $(EPYDOC) --html -o doc/api/html \
+@HAVE_EPYDOC_TRUE@ -n "@PACKAGE@ @VERSION@ API" \
+@HAVE_EPYDOC_TRUE@ c_elementary
+@HAVE_EPYDOC_FALSE@doc-clean:
+@HAVE_EPYDOC_FALSE@ @echo "Install epydoc then run ./configure again"
+@HAVE_EPYDOC_FALSE@doc:
+@HAVE_EPYDOC_FALSE@ @echo "Install epydoc then run ./configure again"
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..607949a
--- /dev/null
+++ b/NEWS
Binary files differ
diff --git a/README b/README
new file mode 100644
index 0000000..dd7ab50
--- /dev/null
+++ b/README
@@ -0,0 +1,41 @@
+ PYTHON BINDINGS FOR ELEMENTARY
+
+REQUIREMENTS
+============
+
+ * Elementary >= 1.7.0
+ * Evas >= 1.7.0 (indirect, Elementary dependency)
+ * Ecore >= 1.7.0 (indirect, Elementary dependency)
+ * Python-Evas >= 1.7.0
+ * Cython >= 0.15.1 (not required with release tarballs)
+ * Python >= 2.7 (tested version, may work with older or newer)
+
+
+BUILDING AND INSTALLING
+=======================
+
+This package uses automake, so execute:
+
+Build::
+
+ ./configure --prefix=/usr
+ make all
+
+Install::
+
+ make install
+
+If you wish to install at alternative locations, then make sure to
+configure your PYTHONPATH to be able to access this location!
+
+If you have Cython dependencies that are installed in alternative
+locations and want Cython to find them, please specify CYTHONFLAGS
+variable to ./configure.
+
+The discovery of dependencies is done with pkg-config, thus all your
+packages must be properly accessible with such tool. Ensure your
+PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR (cross-compiles) are configured!
+
+When cross-compiling, if your target's Python headers differ from your
+host's headers, specify PYTHON_INCLUDES variable containing the
+directory of the correct version of Python.h!
diff --git a/aclocal.m4 b/aclocal.m4
new file mode 100644
index 0000000..d166657
--- /dev/null
+++ b/aclocal.m4
@@ -0,0 +1,1460 @@
+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
+
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+# serial 1 (pkg-config-0.24)
+#
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+# only at the first occurence in configure.ac, so if the first place
+# it's called might be skipped (such as if it is within an "if", you
+# have to call PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_default([$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ AC_MSG_RESULT([no])
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ m4_default([$4], [AC_MSG_ERROR(
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT])[]dnl
+ ])
+elif test $pkg_failed = untried; then
+ AC_MSG_RESULT([no])
+ m4_default([$4], [AC_MSG_FAILURE(
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+ ])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ $3
+fi[]dnl
+])# PKG_CHECK_MODULES
+
+
+# PKG_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable pkgconfigdir as the location where a module
+# should install pkg-config .pc files. By default the directory is
+# $libdir/pkgconfig, but the default can be changed by passing
+# DIRECTORY. The user can override through the --with-pkgconfigdir
+# parameter.
+AC_DEFUN([PKG_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([pkgconfigdir],
+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
+ [with_pkgconfigdir=]pkg_default)
+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_INSTALLDIR
+
+
+# PKG_NOARCH_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable noarch_pkgconfigdir as the location where a
+# module should install arch-independent pkg-config .pc files. By
+# default the directory is $datadir/pkgconfig, but the default can be
+# changed by passing DIRECTORY. The user can override through the
+# --with-noarch-pkgconfigdir parameter.
+AC_DEFUN([PKG_NOARCH_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([noarch-pkgconfigdir],
+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
+ [with_noarch_pkgconfigdir=]pkg_default)
+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_NOARCH_INSTALLDIR
+
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
+# Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.11'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.11.6], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.11.6])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 9
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ(2.52)dnl
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
+# 2010, 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 12
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok `-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE(dependency-tracking,
+[ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+#serial 5
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n 's/^U = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 16
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.62])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES(CC)],
+ [define([AC_PROG_CC],
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES(CXX)],
+ [define([AC_PROG_CXX],
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
+# Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST(install_sh)])
+
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 4
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from `make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 6
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
+
+# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
+# Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# AM_PROG_MKDIR_P
+# ---------------
+# Check for `mkdir -p'.
+AC_DEFUN([AM_PROG_MKDIR_P],
+[AC_PREREQ([2.60])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
+dnl while keeping a definition of mkdir_p for backward compatibility.
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
+dnl adjustment using top_builddir (which is defined more often than
+dnl MKDIR_P).
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
+case $mkdir_p in
+ [[\\/$]]* | ?:[[\\/]]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
+# Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 5
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
+# 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# ---------------------------------------------------------------------------
+# Adds support for distributing Python modules and packages. To
+# install modules, copy them to $(pythondir), using the python_PYTHON
+# automake variable. To install a package with the same name as the
+# automake package, install to $(pkgpythondir), or use the
+# pkgpython_PYTHON automake variable.
+#
+# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
+# locations to install python extension modules (shared libraries).
+# Another macro is required to find the appropriate flags to compile
+# extension modules.
+#
+# If your package is configured with a different prefix to python,
+# users will have to add the install directory to the PYTHONPATH
+# environment variable, or create a .pth file (see the python
+# documentation for details).
+#
+# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
+# cause an error if the version of python installed on the system
+# doesn't meet the requirement. MINIMUM-VERSION should consist of
+# numbers and dots only.
+AC_DEFUN([AM_PATH_PYTHON],
+ [
+ dnl Find a Python interpreter. Python versions prior to 2.0 are not
+ dnl supported. (2.0 was released on October 16, 2000).
+ m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
+[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
+ python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
+
+ AC_ARG_VAR([PYTHON], [the Python interpreter])
+
+ m4_if([$1],[],[
+ dnl No version check is needed.
+ # Find any Python interpreter.
+ if test -z "$PYTHON"; then
+ AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
+ fi
+ am_display_PYTHON=python
+ ], [
+ dnl A version check is needed.
+ if test -n "$PYTHON"; then
+ # If the user set $PYTHON, use it and don't search something else.
+ AC_MSG_CHECKING([whether $PYTHON version >= $1])
+ AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
+ [AC_MSG_RESULT(yes)],
+ [AC_MSG_ERROR(too old)])
+ am_display_PYTHON=$PYTHON
+ else
+ # Otherwise, try each interpreter until we find one that satisfies
+ # VERSION.
+ AC_CACHE_CHECK([for a Python interpreter with version >= $1],
+ [am_cv_pathless_PYTHON],[
+ for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
+ test "$am_cv_pathless_PYTHON" = none && break
+ AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
+ done])
+ # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
+ if test "$am_cv_pathless_PYTHON" = none; then
+ PYTHON=:
+ else
+ AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
+ fi
+ am_display_PYTHON=$am_cv_pathless_PYTHON
+ fi
+ ])
+
+ if test "$PYTHON" = :; then
+ dnl Run any user-specified action, or abort.
+ m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
+ else
+
+ dnl Query Python for its version number. Getting [:3] seems to be
+ dnl the best way to do this; it's what "site.py" does in the standard
+ dnl library.
+
+ AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
+ [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
+ AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
+
+ dnl Use the values of $prefix and $exec_prefix for the corresponding
+ dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
+ dnl distinct variables so they can be overridden if need be. However,
+ dnl general consensus is that you shouldn't need this ability.
+
+ AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
+ AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
+
+ dnl At times (like when building shared libraries) you may want
+ dnl to know which OS platform Python thinks this is.
+
+ AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
+ [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
+ AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
+
+
+ dnl Set up 4 directories:
+
+ dnl pythondir -- where to install python scripts. This is the
+ dnl site-packages directory, not the python standard library
+ dnl directory like in previous automake betas. This behavior
+ dnl is more consistent with lispdir.m4 for example.
+ dnl Query distutils for this directory.
+ AC_CACHE_CHECK([for $am_display_PYTHON script directory],
+ [am_cv_python_pythondir],
+ [if test "x$prefix" = xNONE
+ then
+ am_py_prefix=$ac_default_prefix
+ else
+ am_py_prefix=$prefix
+ fi
+ am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
+ case $am_cv_python_pythondir in
+ $am_py_prefix*)
+ am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
+ am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
+ ;;
+ *)
+ case $am_py_prefix in
+ /usr|/System*) ;;
+ *)
+ am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
+ esac
+ ])
+ AC_SUBST([pythondir], [$am_cv_python_pythondir])
+
+ dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
+ dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
+ dnl more consistent with the rest of automake.
+
+ AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
+
+ dnl pyexecdir -- directory for installing python extension modules
+ dnl (shared libraries)
+ dnl Query distutils for this directory.
+ AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
+ [am_cv_python_pyexecdir],
+ [if test "x$exec_prefix" = xNONE
+ then
+ am_py_exec_prefix=$am_py_prefix
+ else
+ am_py_exec_prefix=$exec_prefix
+ fi
+ am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
+ case $am_cv_python_pyexecdir in
+ $am_py_exec_prefix*)
+ am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
+ am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
+ ;;
+ *)
+ case $am_py_exec_prefix in
+ /usr|/System*) ;;
+ *)
+ am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
+ esac
+ ])
+ AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
+
+ dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
+
+ AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
+
+ dnl Run any user-specified action.
+ $2
+ fi
+
+])
+
+
+# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+# ---------------------------------------------------------------------------
+# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
+# Run ACTION-IF-FALSE otherwise.
+# This test uses sys.hexversion instead of the string equivalent (first
+# word of sys.version), in order to cope with versions such as 2.2c1.
+# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
+AC_DEFUN([AM_PYTHON_CHECK_VERSION],
+ [prog="import sys
+# split strings by '.' and convert to numeric. Append some zeros
+# because we need at least 4 digits for the hex conversion.
+# map returns an iterator in Python 3.0 and a list in 2.x
+minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
+minverhex = 0
+# xrange is not present in Python 3.0 and range returns an iterator
+for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
+sys.exit(sys.hexversion < minverhex)"
+ AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
+
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# AM_RUN_LOG(COMMAND)
+# -------------------
+# Run COMMAND, save the exit status in ac_status, and log it.
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
+AC_DEFUN([AM_RUN_LOG],
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 5
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
+esac
+
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+alias in your environment])
+ fi
+
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+
+# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# (`yes' being less verbose, `no' or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules],
+[ --enable-silent-rules less verbose build output (undo: `make V=1')
+ --disable-silent-rules verbose build output (undo: `make V=0')])
+case $enable_silent_rules in
+yes) AM_DEFAULT_VERBOSITY=0;;
+no) AM_DEFAULT_VERBOSITY=1;;
+*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few `make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using `$V' instead of `$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 1
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor `install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in `make install-strip', and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 3
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of `v7', `ustar', or `pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+ [m4_case([$1], [ustar],, [pax],,
+ [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar;
+ do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([m4/cython.m4])
+m4_include([m4/filter-var.m4])
+m4_include([m4/libtool.m4])
+m4_include([m4/ltoptions.m4])
+m4_include([m4/ltsugar.m4])
+m4_include([m4/ltversion.m4])
+m4_include([m4/lt~obsolete.m4])
+m4_include([m4/python-efl.m4])
+m4_include([m4/python.m4])
+m4_include([m4/pythonpath.m4])
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..8610825
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+autoreconf -f -i
+
+if [ -z "$NOCONFIGURE" ]; then
+ ./configure "$@"
+fi
diff --git a/config.guess b/config.guess
new file mode 100755
index 0000000..68194c9
--- /dev/null
+++ b/config.guess
@@ -0,0 +1,1552 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+# 2011, 2012 Free Software Foundation, Inc.
+
+timestamp='2012-08-14'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Originally written by Per Bothner. Please send patches (context
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
+# entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub. If it succeeds, it prints the system name on stdout, and
+# exits with 0. Otherwise, it exits with 1.
+#
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,) echo "int x;" > $dummy.c ;
+ for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$c"; break ;
+ fi ;
+ done ;
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+case "${UNAME_SYSTEM}" in
+Linux|GNU/*)
+ eval $set_cc_for_build
+ cat <<-EOF > $dummy.c
+ #include <features.h>
+ #ifdef __UCLIBC__
+ # ifdef __UCLIBC_CONFIG_VERSION__
+ LIBC=uclibc __UCLIBC_CONFIG_VERSION__
+ # else
+ LIBC=uclibc
+ # endif
+ #else
+ # ifdef __dietlibc__
+ LIBC=dietlibc
+ # else
+ LIBC=gnu
+ # endif
+ #endif
+ EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ ;;
+esac
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ case "${UNAME_MACHINE_ARCH}" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently, or will in the future.
+ case "${UNAME_MACHINE_ARCH}" in
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ eval $set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ELF__
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # The OS release
+ # Debian GNU/NetBSD machines have a different userland, and
+ # thus, need a distinct triplet. However, they do not need
+ # kernel version information, so it can be replaced with a
+ # suitable tag, in the style of linux-gnu.
+ case "${UNAME_VERSION}" in
+ Debian*)
+ release='-gnu'
+ ;;
+ *)
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ ;;
+ esac
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "${machine}-${os}${release}"
+ exit ;;
+ *:Bitrig:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+ exit ;;
+ *:OpenBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+ exit ;;
+ *:SolidBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:MirBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ alpha:OSF1:*:*)
+ case $UNAME_RELEASE in
+ *4.0)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
+ # According to Compaq, /usr/sbin/psrinfo has been available on
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
+ # covers most systems running today. This code pipes the CPU
+ # types through head -n 1, so we only detect the type of CPU 0.
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+ case "$ALPHA_CPU_TYPE" in
+ "EV4 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "EV4.5 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "LCA4 (21066/21068)")
+ UNAME_MACHINE="alpha" ;;
+ "EV5 (21164)")
+ UNAME_MACHINE="alphaev5" ;;
+ "EV5.6 (21164A)")
+ UNAME_MACHINE="alphaev56" ;;
+ "EV5.6 (21164PC)")
+ UNAME_MACHINE="alphapca56" ;;
+ "EV5.7 (21164PC)")
+ UNAME_MACHINE="alphapca57" ;;
+ "EV6 (21264)")
+ UNAME_MACHINE="alphaev6" ;;
+ "EV6.7 (21264A)")
+ UNAME_MACHINE="alphaev67" ;;
+ "EV6.8CB (21264C)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8AL (21264B)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8CX (21264D)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.9A (21264/EV69A)")
+ UNAME_MACHINE="alphaev69" ;;
+ "EV7 (21364)")
+ UNAME_MACHINE="alphaev7" ;;
+ "EV7.9 (21364A)")
+ UNAME_MACHINE="alphaev79" ;;
+ esac
+ # A Pn.n version is a patched version.
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ exitcode=$?
+ trap '' 0
+ exit $exitcode ;;
+ Alpha\ *:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # Should we change UNAME_MACHINE based on the output of uname instead
+ # of the specific Alpha model?
+ echo alpha-pc-interix
+ exit ;;
+ 21064:Windows_NT:50:3)
+ echo alpha-dec-winnt3.5
+ exit ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit ;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-amigaos
+ exit ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-morphos
+ exit ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix${UNAME_RELEASE}
+ exit ;;
+ arm:riscos:*:*|arm:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit ;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit ;;
+ DRS?6000:unix:4.0:6*)
+ echo sparc-icl-nx6
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7; exit ;;
+ esac ;;
+ s390x:SunOS:*:*)
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ eval $set_cc_for_build
+ SUN_ARCH="i386"
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH="x86_64"
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+ exit ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ exit ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ ;;
+ sun4)
+ echo sparc-sun-sunos${UNAME_RELEASE}
+ ;;
+ esac
+ exit ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos${UNAME_RELEASE}
+ exit ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint${UNAME_RELEASE}
+ exit ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint${UNAME_RELEASE}
+ exit ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint${UNAME_RELEASE}
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten${UNAME_RELEASE}
+ exit ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten${UNAME_RELEASE}
+ exit ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix${UNAME_RELEASE}
+ exit ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h> /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`$dummy $dummyarg` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo mips-mips-riscos${UNAME_RELEASE}
+ exit ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ then
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
+ then
+ echo m88k-dg-dgux${UNAME_RELEASE}
+ else
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
+ fi
+ else
+ echo i586-dg-dgux${UNAME_RELEASE}
+ fi
+ exit ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+ exit ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit ;;
+ *:AIX:*:[4567])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit ;;
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ echo romp-ibm-bsd4.4
+ exit ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
+ exit ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "${sc_cpu_version}" in
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "${sc_kernel_bits}" in
+ 32) HP_ARCH="hppa2.0n" ;;
+ 64) HP_ARCH="hppa2.0w" ;;
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "${HP_ARCH}" = "" ]; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+
+ #define _HPUX_SOURCE
+ #include <stdlib.h>
+ #include <unistd.h>
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ test -z "$HP_ARCH" && HP_ARCH=hppa
+ fi ;;
+ esac
+ if [ ${HP_ARCH} = "hppa2.0w" ]
+ then
+ eval $set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep -q __LP64__
+ then
+ HP_ARCH="hppa2.0w"
+ else
+ HP_ARCH="hppa64"
+ fi
+ fi
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ exit ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux${HPUX_REV}
+ exit ;;
+ 3050*:HI-UX:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <unistd.h>
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo unknown-hitachi-hiuxwe2
+ exit ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+ echo hppa1.1-hp-bsd
+ exit ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+ echo hppa1.1-hp-osf
+ exit ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo ${UNAME_MACHINE}-unknown-osf1mk
+ else
+ echo ${UNAME_MACHINE}-unknown-osf1
+ fi
+ exit ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ *:UNICOS/mp:*:*)
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ exit ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:BSD/OS:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:FreeBSD:*:*)
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ case ${UNAME_PROCESSOR} in
+ amd64)
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ *)
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ esac
+ exit ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit ;;
+ *:MINGW64*:*)
+ echo ${UNAME_MACHINE}-pc-mingw64
+ exit ;;
+ *:MINGW*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit ;;
+ i*:MSYS*:*)
+ echo ${UNAME_MACHINE}-pc-msys
+ exit ;;
+ i*:windows32*:*)
+ # uname -m includes "-pc" on this system.
+ echo ${UNAME_MACHINE}-mingw32
+ exit ;;
+ i*:PW*:*)
+ echo ${UNAME_MACHINE}-pc-pw32
+ exit ;;
+ *:Interix*:*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ authenticamd | genuineintel | EM64T)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+ echo i${UNAME_MACHINE}-pc-mks
+ exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # UNAME_MACHINE based on the output of uname instead of i386?
+ echo i586-pc-interix
+ exit ;;
+ i*:UWIN*:*)
+ echo ${UNAME_MACHINE}-pc-uwin
+ exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin
+ exit ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ *:GNU:*:*)
+ # the GNU system
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
+ exit ;;
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit ;;
+ aarch64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ aarch64_be:Linux:*:*)
+ UNAME_MACHINE=aarch64_be
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arm*:Linux:*:*)
+ eval $set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ else
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
+ else
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
+ fi
+ fi
+ exit ;;
+ avr32*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ cris:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ crisv32:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ frv:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ hexagon:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:Linux:*:*)
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
+ exit ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m32r*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ mips:Linux:*:* | mips64:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=${UNAME_MACHINE}el
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=${UNAME_MACHINE}
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+ ;;
+ or32:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-${LIBC}
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-${LIBC}
+ exit ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+ *) echo hppa-unknown-linux-${LIBC} ;;
+ esac
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-${LIBC}
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-${LIBC}
+ exit ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo ${UNAME_MACHINE}-ibm-linux
+ exit ;;
+ sh64*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sh*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ tile*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ vax:Linux:*:*)
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
+ exit ;;
+ x86_64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ xtensa*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ exit ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo ${UNAME_MACHINE}-pc-os2-emx
+ exit ;;
+ i*86:XTS-300:*:STOP)
+ echo ${UNAME_MACHINE}-unknown-stop
+ exit ;;
+ i*86:atheos:*:*)
+ echo ${UNAME_MACHINE}-unknown-atheos
+ exit ;;
+ i*86:syllable:*:*)
+ echo ${UNAME_MACHINE}-pc-syllable
+ exit ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
+ echo i386-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ i*86:*DOS:*:*)
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ exit ;;
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ fi
+ exit ;;
+ i*86:*:5:[678]*)
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ exit ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ else
+ echo ${UNAME_MACHINE}-pc-sysv32
+ fi
+ exit ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configury will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
+ exit ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ fi
+ exit ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit ;;
+ M680?0:D-NIX:5.3:*)
+ echo m68k-diab-dnix
+ exit ;;
+ M68*:*:R3V[5678]*:*)
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4; exit; } ;;
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+ OS_REL='.3'
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv${UNAME_RELEASE}
+ exit ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
+ echo i586-unisys-sysv4
+ exit ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes <hewes@openmarket.com>.
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit ;;
+ *:*:*:FTX*)
+ # From seanf@swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit ;;
+ i*86:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo ${UNAME_MACHINE}-stratus-vos
+ exit ;;
+ *:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo hppa1.1-stratus-vos
+ exit ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux${UNAME_RELEASE}
+ exit ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv${UNAME_RELEASE}
+ else
+ echo mips-unknown-sysv${UNAME_RELEASE}
+ fi
+ exit ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit ;;
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
+ echo i586-pc-haiku
+ exit ;;
+ x86_64:Haiku:*:*)
+ echo x86_64-unknown-haiku
+ exit ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux${UNAME_RELEASE}
+ exit ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Rhapsody:*:*)
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Darwin:*:*)
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+ case $UNAME_PROCESSOR in
+ i386)
+ eval $set_cc_for_build
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ UNAME_PROCESSOR="x86_64"
+ fi
+ fi ;;
+ unknown) UNAME_PROCESSOR=powerpc ;;
+ esac
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+ exit ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = "x86"; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ exit ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit ;;
+ NEO-?:NONSTOP_KERNEL:*:*)
+ echo neo-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSE-*:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSR-?:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit ;;
+ DS/*:UNIX_System_V:*:*)
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+ exit ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ if test "$cputype" = "386"; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo ${UNAME_MACHINE}-unknown-plan9
+ exit ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit ;;
+ SEI:*:*:SEIUX)
+ echo mips-sei-seiux${UNAME_RELEASE}
+ exit ;;
+ *:DragonFly:*:*)
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
+ *:*VMS:*:*)
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ case "${UNAME_MACHINE}" in
+ A*) echo alpha-dec-vms ; exit ;;
+ I*) echo ia64-dec-vms ; exit ;;
+ V*) echo vax-dec-vms ; exit ;;
+ esac ;;
+ *:XENIX:*:SysV)
+ echo i386-pc-xenix
+ exit ;;
+ i*86:skyos:*:*)
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+ exit ;;
+ i*86:rdos:*:*)
+ echo ${UNAME_MACHINE}-pc-rdos
+ exit ;;
+ i*86:AROS:*:*)
+ echo ${UNAME_MACHINE}-pc-aros
+ exit ;;
+ x86_64:VMkernel:*:*)
+ echo ${UNAME_MACHINE}-unknown-esx
+ exit ;;
+esac
+
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
+ I don't know.... */
+ printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+ printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+ "4"
+#else
+ ""
+#endif
+ ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+ printf ("arm-acorn-riscix\n"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+ printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+ int version;
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+ if (version < 4)
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+ else
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+ exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+ printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+ printf ("ns32k-encore-mach\n"); exit (0);
+#else
+ printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+ printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+ printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+ printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+ struct utsname un;
+
+ uname(&un);
+
+ if (strncmp(un.version, "V2", 2) == 0) {
+ printf ("i386-sequent-ptx2\n"); exit (0);
+ }
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+ printf ("i386-sequent-ptx1\n"); exit (0);
+ }
+ printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+# include <sys/param.h>
+# if defined (BSD)
+# if BSD == 43
+ printf ("vax-dec-bsd4.3\n"); exit (0);
+# else
+# if BSD == 199006
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# endif
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# else
+ printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+ printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+ exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+ case `getsysinfo -f cpu_type` in
+ c1*)
+ echo c1-convex-bsd
+ exit ;;
+ c2*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ c34*)
+ echo c34-convex-bsd
+ exit ;;
+ c38*)
+ echo c38-convex-bsd
+ exit ;;
+ c4*)
+ echo c4-convex-bsd
+ exit ;;
+ esac
+fi
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+and
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches@gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/config.sub b/config.sub
new file mode 100755
index 0000000..ae2965a
--- /dev/null
+++ b/config.sub
@@ -0,0 +1,1804 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+# 2011, 2012 Free Software Foundation, Inc.
+
+timestamp='2012-08-18'
+
+# This file is (in principle) common to ALL GNU software.
+# The presence of a machine in this file suggests that SOME GNU software
+# can handle that machine. It does not imply ALL GNU software can.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+
+# Please send patches to <config-patches@gnu.org>. Submit a context
+# diff and a properly formatted GNU ChangeLog entry.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+ $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help"
+ exit 1 ;;
+
+ *local*)
+ # First pass through any local machine types.
+ echo $1
+ exit ;;
+
+ * )
+ break ;;
+ esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+ exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+ exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+ android-linux)
+ os=-linux-android
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+ then os=`echo $1 | sed 's/.*-/-/'`
+ else os=; fi
+ ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+ -apple | -axis | -knuth | -cray | -microblaze)
+ os=
+ basic_machine=$1
+ ;;
+ -bluegene*)
+ os=-cnk
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond)
+ os=
+ basic_machine=$1
+ ;;
+ -scout)
+ ;;
+ -wrs)
+ os=-vxworks
+ basic_machine=$1
+ ;;
+ -chorusos*)
+ os=-chorusos
+ basic_machine=$1
+ ;;
+ -chorusrdb)
+ os=-chorusrdb
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco6)
+ os=-sco5v6
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5)
+ os=-sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5v6*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -udk*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -lynx*178)
+ os=-lynxos178
+ ;;
+ -lynx*5)
+ os=-lynxos5
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+ -mint | -mint[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+ | be32 | be64 \
+ | bfin \
+ | c4x | clipper \
+ | d10v | d30v | dlx | dsp16xx | dvp \
+ | epiphany \
+ | fido | fr30 | frv \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ | hexagon \
+ | i370 | i860 | i960 | ia64 \
+ | ip2k | iq2000 \
+ | le32 | le64 \
+ | lm32 \
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
+ | maxq | mb | microblaze | mcore | mep | metag \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+ | mips64octeon | mips64octeonel \
+ | mips64orion | mips64orionel \
+ | mips64r5900 | mips64r5900el \
+ | mips64vr | mips64vrel \
+ | mips64vr4100 | mips64vr4100el \
+ | mips64vr4300 | mips64vr4300el \
+ | mips64vr5000 | mips64vr5000el \
+ | mips64vr5900 | mips64vr5900el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa32r2 | mipsisa32r2el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64r2 | mipsisa64r2el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | moxie \
+ | mt \
+ | msp430 \
+ | nds32 | nds32le | nds32be \
+ | nios | nios2 \
+ | ns16k | ns32k \
+ | open8 \
+ | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
+ | pyramid \
+ | rl78 | rx \
+ | score \
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+ | spu \
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+ | ubicom32 \
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
+ | we32k \
+ | x86 | xc16x | xstormy16 | xtensa \
+ | z8k | z80)
+ basic_machine=$basic_machine-unknown
+ ;;
+ c54x)
+ basic_machine=tic54x-unknown
+ ;;
+ c55x)
+ basic_machine=tic55x-unknown
+ ;;
+ c6x)
+ basic_machine=tic6x-unknown
+ ;;
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ ;;
+ ms1)
+ basic_machine=mt-unknown
+ ;;
+
+ strongarm | thumb | xscale)
+ basic_machine=arm-unknown
+ ;;
+ xgate)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ xscaleeb)
+ basic_machine=armeb-unknown
+ ;;
+
+ xscaleel)
+ basic_machine=armel-unknown
+ ;;
+
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+ basic_machine=$basic_machine-pc
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* | avr32-* \
+ | be32-* | be64-* \
+ | bfin-* | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
+ | clipper-* | craynv-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+ | elxsi-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ | hexagon-* \
+ | i*86-* | i860-* | i960-* | ia64-* \
+ | ip2k-* | iq2000-* \
+ | le32-* | le64-* \
+ | lm32-* \
+ | m32c-* | m32r-* | m32rle-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+ | mips64octeon-* | mips64octeonel-* \
+ | mips64orion-* | mips64orionel-* \
+ | mips64r5900-* | mips64r5900el-* \
+ | mips64vr-* | mips64vrel-* \
+ | mips64vr4100-* | mips64vr4100el-* \
+ | mips64vr4300-* | mips64vr4300el-* \
+ | mips64vr5000-* | mips64vr5000el-* \
+ | mips64vr5900-* | mips64vr5900el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa32r2-* | mipsisa32r2el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64r2-* | mipsisa64r2el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipstx39-* | mipstx39el-* \
+ | mmix-* \
+ | mt-* \
+ | msp430-* \
+ | nds32-* | nds32le-* | nds32be-* \
+ | nios-* | nios2-* \
+ | none-* | np1-* | ns16k-* | ns32k-* \
+ | open8-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
+ | pyramid-* \
+ | rl78-* | romp-* | rs6000-* | rx-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+ | tahoe-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tile*-* \
+ | tron-* \
+ | ubicom32-* \
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+ | vax-* \
+ | we32k-* \
+ | x86-* | x86_64-* | xc16x-* | xps100-* \
+ | xstormy16-* | xtensa*-* \
+ | ymp-* \
+ | z8k-* | z80-*)
+ ;;
+ # Recognize the basic CPU types without company name, with glob match.
+ xtensa*)
+ basic_machine=$basic_machine-unknown
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd)
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ abacus)
+ basic_machine=abacus-unknown
+ ;;
+ adobe68k)
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos | amigados)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-unknown
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd)
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ aros)
+ basic_machine=i386-pc
+ os=-aros
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ blackfin)
+ basic_machine=bfin-unknown
+ os=-linux
+ ;;
+ blackfin-*)
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ bluegene*)
+ basic_machine=powerpc-ibm
+ os=-cnk
+ ;;
+ c54x-*)
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c55x-*)
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c6x-*)
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c90)
+ basic_machine=c90-cray
+ os=-unicos
+ ;;
+ cegcc)
+ basic_machine=arm-unknown
+ os=-cegcc
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | j90)
+ basic_machine=j90-cray
+ os=-unicos
+ ;;
+ craynv)
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+ cr16 | cr16-*)
+ basic_machine=cr16-unknown
+ os=-elf
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ crisv32 | crisv32-* | etraxfs*)
+ basic_machine=crisv32-axis
+ ;;
+ cris | cris-* | etrax*)
+ basic_machine=cris-axis
+ ;;
+ crx)
+ basic_machine=crx-unknown
+ os=-elf
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ decsystem10* | dec10*)
+ basic_machine=pdp10-dec
+ os=-tops10
+ ;;
+ decsystem20* | dec20*)
+ basic_machine=pdp10-dec
+ os=-tops20
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ dicos)
+ basic_machine=i686-pc
+ os=-dicos
+ ;;
+ djgpp)
+ basic_machine=i586-pc
+ os=-msdosdjgpp
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE)
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ go32)
+ basic_machine=i386-pc
+ os=-go32
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray)
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms)
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k78[0-9] | hp78[0-9])
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][13679] | hp8[0-9][13679])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppa-next)
+ os=-nextstep3
+ ;;
+ hppaosf)
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ hppro)
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+ ;;
+ i*86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv4
+ ;;
+ i*86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv
+ ;;
+ i*86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-solaris2
+ ;;
+ i386mach)
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta)
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ m68knommu)
+ basic_machine=m68k-unknown
+ os=-linux
+ ;;
+ m68knommu-*)
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ microblaze)
+ basic_machine=microblaze-xilinx
+ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+ ;;
+ mingw32)
+ basic_machine=i386-pc
+ os=-mingw32
+ ;;
+ mingw32ce)
+ basic_machine=arm-unknown
+ os=-mingw32ce
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+ mipsEE* | ee | ps2)
+ basic_machine=mips64r5900el-scei
+ case $os in
+ -linux*)
+ ;;
+ *)
+ os=-elf
+ ;;
+ esac
+ ;;
+ iop)
+ basic_machine=mipsel-scei
+ os=-irx
+ ;;
+ dvp)
+ basic_machine=dvp-scei
+ os=-elf
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ monitor)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ morphos)
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+ ;;
+ ms1-*)
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ ;;
+ msys)
+ basic_machine=i386-pc
+ os=-msys
+ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+ nacl)
+ basic_machine=le32-unknown
+ os=-nacl
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown
+ os=-netbsd
+ ;;
+ netwinder)
+ basic_machine=armv4l-rebel
+ os=-linux
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70)
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ nonstopux)
+ basic_machine=mips-compaq
+ os=-nonstopux
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ neo-tandem)
+ basic_machine=neo-tandem
+ ;;
+ nse-tandem)
+ basic_machine=nse-tandem
+ ;;
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ openrisc | openrisc-*)
+ basic_machine=or32-unknown
+ ;;
+ os400)
+ basic_machine=powerpc-ibm
+ os=-os400
+ ;;
+ OSE68000 | ose68000)
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k)
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ parisc)
+ basic_machine=hppa-unknown
+ os=-linux
+ ;;
+ parisc-*)
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pc98)
+ basic_machine=i386-pc
+ ;;
+ pc98-*)
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium | p5 | k5 | k6 | nexgen | viac3)
+ basic_machine=i586-pc
+ ;;
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ basic_machine=i686-pc
+ ;;
+ pentiumii | pentium2 | pentiumiii | pentium3)
+ basic_machine=i686-pc
+ ;;
+ pentium4)
+ basic_machine=i786-pc
+ ;;
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium4-*)
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+ ppc | ppcbe) basic_machine=powerpc-unknown
+ ;;
+ ppc-* | ppcbe-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64) basic_machine=powerpc64-unknown
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ pw32)
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+ rdos)
+ basic_machine=i386-pc
+ os=-rdos
+ ;;
+ rom68k)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ s390 | s390-*)
+ basic_machine=s390-ibm
+ ;;
+ s390x | s390x-*)
+ basic_machine=s390x-ibm
+ ;;
+ sa29200)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sb1)
+ basic_machine=mipsisa64sb1-unknown
+ ;;
+ sb1el)
+ basic_machine=mipsisa64sb1el-unknown
+ ;;
+ sde)
+ basic_machine=mipsisa32-sde
+ os=-elf
+ ;;
+ sei)
+ basic_machine=mips-sei
+ os=-seiux
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sh5el)
+ basic_machine=sh5le-unknown
+ ;;
+ sh64)
+ basic_machine=sh64-unknown
+ ;;
+ sparclite-wrs | simso-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000)
+ basic_machine=m68k-tandem
+ ;;
+ stratus)
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ strongarm-* | thumb-*)
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ sv1)
+ basic_machine=sv1-cray
+ os=-unicos
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ t3e)
+ basic_machine=alphaev5-cray
+ os=-unicos
+ ;;
+ t90)
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+ tile*)
+ basic_machine=$basic_machine-unknown
+ os=-linux-gnu
+ ;;
+ tx39)
+ basic_machine=mipstx39-unknown
+ ;;
+ tx39el)
+ basic_machine=mipstx39el-unknown
+ ;;
+ toad1)
+ basic_machine=pdp10-xkl
+ os=-tops20
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ tpf)
+ basic_machine=s390x-ibm
+ os=-tpf
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810)
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vpp*|vx|vx-*)
+ basic_machine=f301-fujitsu
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ w89k-*)
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ xbox)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ xscale-* | xscalee[bl]-*)
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ z8k-*-coff)
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ z80-*-coff)
+ basic_machine=z80-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k)
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n)
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c)
+ basic_machine=hppa1.1-oki
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ mmix)
+ basic_machine=mmix-knuth
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp10)
+ # there are many clones, so DEC is not a safe bet
+ basic_machine=pdp10-unknown
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
+ basic_machine=sh-unknown
+ ;;
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw)
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw)
+ basic_machine=powerpc-apple
+ ;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # First match some system type aliases
+ # that might get confused with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+ ;;
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -svr4*)
+ os=-sysv4
+ ;;
+ -unixware*)
+ os=-sysv4.2uw
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* | -aros* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+ | -bitrig* | -openbsd* | -solidbsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -irx* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+ case $basic_machine in
+ x86-* | i*86-*)
+ ;;
+ *)
+ os=-nto$os
+ ;;
+ esac
+ ;;
+ -nto-qnx*)
+ ;;
+ -nto*)
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
+ ;;
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ -linux-dietlibc)
+ os=-linux-dietlibc
+ ;;
+ -linux*)
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ ;;
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -opened*)
+ os=-openedition
+ ;;
+ -os400*)
+ os=-os400
+ ;;
+ -wince*)
+ os=-wince
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -atheos*)
+ os=-atheos
+ ;;
+ -syllable*)
+ os=-syllable
+ ;;
+ -386bsd)
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -nova*)
+ os=-rtmk-nova
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ -nsk*)
+ os=-nsk
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -tpf*)
+ os=-tpf
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*)
+ os=-ose
+ ;;
+ -es1800*)
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ os=-mint
+ ;;
+ -aros*)
+ os=-aros
+ ;;
+ -kaos*)
+ os=-kaos
+ ;;
+ -zvmoe)
+ os=-zvmoe
+ ;;
+ -dicos*)
+ os=-dicos
+ ;;
+ -nacl*)
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ score-*)
+ os=-elf
+ ;;
+ spu-*)
+ os=-elf
+ ;;
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-rebel)
+ os=-linux
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
+ hexagon-*)
+ os=-elf
+ ;;
+ tic54x-*)
+ os=-coff
+ ;;
+ tic55x-*)
+ os=-coff
+ ;;
+ tic6x-*)
+ os=-coff
+ ;;
+ # This must come before the *-dec entry.
+ pdp10-*)
+ os=-tops20
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ ;;
+ m68*-cisco)
+ os=-aout
+ ;;
+ mep-*)
+ os=-elf
+ ;;
+ mips*-cisco)
+ os=-elf
+ ;;
+ mips*-*)
+ os=-elf
+ ;;
+ or32-*)
+ os=-coff
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-be)
+ os=-beos
+ ;;
+ *-haiku)
+ os=-haiku
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-knuth)
+ os=-mmixware
+ ;;
+ *-wec)
+ os=-proelf
+ ;;
+ *-winbond)
+ os=-proelf
+ ;;
+ *-oki)
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ f30[01]-fujitsu | f700-fujitsu)
+ os=-uxpv
+ ;;
+ *-rom68k)
+ os=-coff
+ ;;
+ *-*bug)
+ os=-coff
+ ;;
+ *-apple)
+ os=-macos
+ ;;
+ *-atari*)
+ os=-mint
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -cnk*|-aix*)
+ vendor=ibm
+ ;;
+ -beos*)
+ vendor=be
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -mpeix*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs* | -opened*)
+ vendor=ibm
+ ;;
+ -os400*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -tpf*)
+ vendor=ibm
+ ;;
+ -vxsim* | -vxworks* | -windiss*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*)
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*)
+ vendor=apple
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ vendor=atari
+ ;;
+ -vos*)
+ vendor=stratus
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
+exit
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/configure b/configure
new file mode 100755
index 0000000..9900d8c
--- /dev/null
+++ b/configure
@@ -0,0 +1,15405 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.68 for python-elementary 1.7.0.
+#
+# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
+#
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ # We cannot yet assume a decent shell, so we have to provide a
+ # neutralization value for shells without unset; and this also
+ # works around shells that cannot unset nonexistent variables.
+ # Preserve -v and -x to the replacement shell.
+ BASH_ENV=/dev/null
+ ENV=/dev/null
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+ export CONFIG_SHELL
+ case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+ esac
+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: enlightenment-devel@lists.sourceforge.net about your
+$0: system, including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in #(
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='python-elementary'
+PACKAGE_TARNAME='python-elementary'
+PACKAGE_VERSION='1.7.0'
+PACKAGE_STRING='python-elementary 1.7.0'
+PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
+PACKAGE_URL=''
+
+ac_unique_file="configure.ac"
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='CYTHONFLAGS
+am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIBOBJS
+WANT_EXAMPLES_FALSE
+WANT_EXAMPLES_TRUE
+HAVE_EPYDOC_FALSE
+HAVE_EPYDOC_TRUE
+EPYDOC
+HAVE_CYTHON_FALSE
+HAVE_CYTHON_TRUE
+PYTHON_INCLUDES
+pkgpyexecdir
+pyexecdir
+pkgpythondir
+pythondir
+PYTHON_PLATFORM
+PYTHON_EXEC_PREFIX
+PYTHON_PREFIX
+PYTHON_VERSION
+PYTHON
+CYTHON_ELEMENTARY_INCLUDEDIR
+ELEMENTARY_LIBS
+ELEMENTARY_CFLAGS
+pkgconfig_elementary_requires_libs
+pkgconfig_requires_private
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+VMAJ
+release_info
+version_info
+CPP
+OTOOL64
+OTOOL
+LIPO
+NMEDIT
+DSYMUTIL
+MANIFEST_TOOL
+RANLIB
+ac_ct_AR
+AR
+LN_S
+NM
+ac_ct_DUMPBIN
+DUMPBIN
+LD
+FGREP
+EGREP
+GREP
+SED
+LIBTOOL
+OBJDUMP
+DLLTOOL
+AS
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_dependency_tracking
+enable_silent_rules
+enable_shared
+enable_static
+with_pic
+enable_fast_install
+with_gnu_ld
+with_sysroot
+enable_libtool_lock
+enable_examples
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CPP
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+ELEMENTARY_CFLAGS
+ELEMENTARY_LIBS
+PYTHON'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used" >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures python-elementary 1.7.0 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root
+ [DATAROOTDIR/doc/python-elementary]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of python-elementary 1.7.0:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors
+ --enable-silent-rules less verbose build output (undo: `make V=1')
+ --disable-silent-rules verbose build output (undo: `make V=0')
+ --enable-shared[=PKGS] build shared libraries [default=yes]
+ --enable-static[=PKGS] build static libraries [default=yes]
+ --enable-fast-install[=PKGS]
+ optimize for fast installation [default=yes]
+ --disable-libtool-lock avoid locking (might break parallel builds)
+ --disable-examples Do not install examples
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-pic try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+ --with-sysroot=DIR Search for dependent libraries within DIR
+ (or the compiler's sysroot if not specified).
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ ELEMENTARY_CFLAGS
+ C compiler flags for ELEMENTARY, overriding pkg-config
+ ELEMENTARY_LIBS
+ linker flags for ELEMENTARY, overriding pkg-config
+ PYTHON the Python interpreter
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <enlightenment-devel@lists.sourceforge.net>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+python-elementary configure 1.7.0
+generated by GNU Autoconf 2.68
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_compile
+
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_check_func LINENO FUNC VAR
+# ----------------------------------
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_func
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by python-elementary $as_me 1.7.0, which was
+generated by GNU Autoconf 2.68. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
+$as_echo_n "checking for library containing strerror... " >&6; }
+if ${ac_cv_search_strerror+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char strerror ();
+int
+main ()
+{
+return strerror ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' cposix; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_strerror=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_strerror+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_strerror+:} false; then :
+
+else
+ ac_cv_search_strerror=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
+$as_echo "$ac_cv_search_strerror" >&6; }
+ac_res=$ac_cv_search_strerror
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+fi
+
+
+am__api_version='1.11'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
+esac
+
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+alias in your environment" "$LINENO" 5
+ fi
+
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+mkdir_p="$MKDIR_P"
+case $mkdir_p in
+ [\\/$]* | ?:[\\/]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from `make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='python-elementary'
+ VERSION='1.7.0'
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok `-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in
+yes) AM_DEFAULT_VERBOSITY=0;;
+no) AM_DEFAULT_VERBOSITY=1;;
+*) AM_DEFAULT_VERBOSITY=0;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+
+enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
+set dummy ${ac_tool_prefix}as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AS"; then
+ ac_cv_prog_AS="$AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AS="${ac_tool_prefix}as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AS=$ac_cv_prog_AS
+if test -n "$AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
+$as_echo "$AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AS"; then
+ ac_ct_AS=$AS
+ # Extract the first word of "as", so it can be a program name with args.
+set dummy as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AS"; then
+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_AS="as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
+if test -n "$ac_ct_AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
+$as_echo "$ac_ct_AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AS" = x; then
+ AS="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AS=$ac_ct_AS
+ fi
+else
+ AS="$ac_cv_prog_AS"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+ ;;
+esac
+
+test -z "$AS" && AS=as
+
+
+
+
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+
+case `pwd` in
+ *\ * | *\ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4'
+macro_revision='1.3293'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain="$ac_aux_dir/ltmain.sh"
+
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO ""
+}
+
+case "$ECHO" in
+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+$as_echo_n "checking for fgrep... " >&6; }
+if ${ac_cv_path_FGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+ then ac_cv_path_FGREP="$GREP -F"
+ else
+ if test -z "$FGREP"; then
+ ac_path_FGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in fgrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
+# Check for GNU ac_path_FGREP and select it if it is found.
+ # Check for GNU $ac_path_FGREP
+case `"$ac_path_FGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'FGREP' >> "conftest.nl"
+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_FGREP="$ac_path_FGREP"
+ ac_path_FGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_FGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_FGREP"; then
+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_FGREP=$FGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+$as_echo "$ac_cv_path_FGREP" >&6; }
+ FGREP="$ac_cv_path_FGREP"
+
+
+test -z "$GREP" && GREP=grep
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi
+fi
+
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
+if ${lt_cv_path_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_nm_to_check="${ac_tool_prefix}nm"
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/$lt_tmp_nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+ */dev/null* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+ done
+ : ${lt_cv_path_NM=no}
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+$as_echo "$lt_cv_path_NM" >&6; }
+if test "$lt_cv_path_NM" != "no"; then
+ NM="$lt_cv_path_NM"
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in dumpbin "link -dump"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DUMPBIN"; then
+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DUMPBIN=$ac_cv_prog_DUMPBIN
+if test -n "$DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+$as_echo "$DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$DUMPBIN" && break
+ done
+fi
+if test -z "$DUMPBIN"; then
+ ac_ct_DUMPBIN=$DUMPBIN
+ for ac_prog in dumpbin "link -dump"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DUMPBIN"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
+if test -n "$ac_ct_DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
+$as_echo "$ac_ct_DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_DUMPBIN" && break
+done
+
+ if test "x$ac_ct_DUMPBIN" = x; then
+ DUMPBIN=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DUMPBIN=$ac_ct_DUMPBIN
+ fi
+fi
+
+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+
+ if test "$DUMPBIN" != ":"; then
+ NM="$DUMPBIN"
+ fi
+fi
+test -z "$NM" && NM=nm
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
+if ${lt_cv_nm_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
+ cat conftest.out >&5
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+$as_echo "$lt_cv_nm_interface" >&6; }
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+# find the maximum length of command line arguments
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
+if ${lt_cv_sys_max_cmd_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ i=0
+ teststring="ABCD"
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8 ; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+
+fi
+
+if test -n $lt_cv_sys_max_cmd_len ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+$as_echo "none" >&6; }
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+
+
+
+
+
+: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
+# Try some XSI features
+xsi_shell=no
+( _lt_dummy="a/b/c"
+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
+$as_echo "$xsi_shell" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
+lt_shell_append=no
+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
+ >/dev/null 2>&1 \
+ && lt_shell_append=yes
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
+$as_echo "$lt_shell_append" >&6; }
+
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+
+
+
+
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
+if ${lt_cv_ld_reload_flag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test "$GCC" != yes; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
+if ${lt_cv_deplibs_check_method+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given extended regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[4-9]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[45]*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[3-9]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh
+ # decide which to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ar_at_file=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test "$ac_status" -eq 0; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test "$ac_status" -ne 0; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+test -z "$STRIP" && STRIP=:
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+test -z "$RANLIB" && RANLIB=:
+
+
+
+
+
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*)
+ if test "$host_cpu" = ia64; then
+ symcode='[ABCDEGRST]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris*)
+ symcode='[BDRT]'
+ ;;
+sco3.2v5*)
+ symcode='[DT]'
+ ;;
+sysv4.2uw2*)
+ symcode='[DT]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[ABDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGIRSTW]' ;;
+esac
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function
+ # and D for any global variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK '"\
+" {last_section=section; section=\$ 3};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+$as_echo "failed" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+# Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+ withval=$with_sysroot;
+else
+ with_sysroot=no
+fi
+
+
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+ if test "$GCC" = yes; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
+$as_echo "${with_sysroot}" >&6; }
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+# Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then :
+ enableval=$enable_libtool_lock;
+fi
+
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ ppc*-*linux*|powerpc*-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+if ${lt_cv_cc_needs_belf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+else
+ lt_cv_cc_needs_belf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+sparc*-*solaris*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks="$enable_libtool_lock"
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$MANIFEST_TOOL"; then
+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+ # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_MANIFEST_TOOL"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
+ MANIFEST_TOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+else
+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&5
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+ MANIFEST_TOOL=:
+fi
+
+
+
+
+
+
+ case $host_os in
+ rhapsody* | darwin*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DSYMUTIL"; then
+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
+if test -n "$DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+$as_echo "$DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DSYMUTIL"; then
+ ac_ct_DSYMUTIL=$DSYMUTIL
+ # Extract the first word of "dsymutil", so it can be a program name with args.
+set dummy dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DSYMUTIL"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
+if test -n "$ac_ct_DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DSYMUTIL" = x; then
+ DSYMUTIL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DSYMUTIL=$ac_ct_DSYMUTIL
+ fi
+else
+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NMEDIT"; then
+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+NMEDIT=$ac_cv_prog_NMEDIT
+if test -n "$NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+$as_echo "$NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_NMEDIT"; then
+ ac_ct_NMEDIT=$NMEDIT
+ # Extract the first word of "nmedit", so it can be a program name with args.
+set dummy nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_NMEDIT"; then
+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
+if test -n "$ac_ct_NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
+$as_echo "$ac_ct_NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_NMEDIT" = x; then
+ NMEDIT=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ NMEDIT=$ac_ct_NMEDIT
+ fi
+else
+ NMEDIT="$ac_cv_prog_NMEDIT"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LIPO"; then
+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LIPO=$ac_cv_prog_LIPO
+if test -n "$LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+$as_echo "$LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_LIPO"; then
+ ac_ct_LIPO=$LIPO
+ # Extract the first word of "lipo", so it can be a program name with args.
+set dummy lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_LIPO"; then
+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_LIPO="lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
+if test -n "$ac_ct_LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
+$as_echo "$ac_ct_LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_LIPO" = x; then
+ LIPO=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LIPO=$ac_ct_LIPO
+ fi
+else
+ LIPO="$ac_cv_prog_LIPO"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL"; then
+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL=$ac_cv_prog_OTOOL
+if test -n "$OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+$as_echo "$OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL"; then
+ ac_ct_OTOOL=$OTOOL
+ # Extract the first word of "otool", so it can be a program name with args.
+set dummy otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL"; then
+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_OTOOL="otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
+if test -n "$ac_ct_OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
+$as_echo "$ac_ct_OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL" = x; then
+ OTOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL=$ac_ct_OTOOL
+ fi
+else
+ OTOOL="$ac_cv_prog_OTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL64"; then
+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL64=$ac_cv_prog_OTOOL64
+if test -n "$OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+$as_echo "$OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL64"; then
+ ac_ct_OTOOL64=$OTOOL64
+ # Extract the first word of "otool64", so it can be a program name with args.
+set dummy otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL64"; then
+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_OTOOL64="otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
+if test -n "$ac_ct_OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
+$as_echo "$ac_ct_OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL64" = x; then
+ OTOOL64=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL64=$ac_ct_OTOOL64
+ fi
+else
+ OTOOL64="$ac_cv_prog_OTOOL64"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+$as_echo_n "checking for -single_module linker flag... " >&6; }
+if ${lt_cv_apple_cc_single_mod+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_apple_cc_single_mod=no
+ if test -z "${LT_MULTI_MODULE}"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_ld_exported_symbols_list=yes
+else
+ lt_cv_ld_exported_symbols_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS="$save_LDFLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
+ echo "$RANLIB libconftest.a" >&5
+ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+ case $host_os in
+ rhapsody* | darwin1.[012])
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+ 10.[012]*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
+"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+
+# Set options
+
+
+
+ enable_dlopen=no
+
+
+
+ # Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+
+
+
+
+
+
+
+ # Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
+else
+ enable_static=yes
+fi
+
+
+
+
+
+
+
+
+
+
+# Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then :
+ withval=$with_pic; pic_mode="$withval"
+else
+ pic_mode=default
+fi
+
+
+test -z "$pic_mode" && pic_mode=default
+
+
+
+
+
+
+
+ # Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then :
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+
+
+
+
+
+
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ltmain"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test -z "$LN_S" && LN_S="ln -s"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+$as_echo_n "checking for objdir... " >&6; }
+if ${lt_cv_objdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+$as_echo "$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/${ac_tool_prefix}file; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac
+fi
+
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
+$as_echo_n "checking for file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/file; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac
+fi
+
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+
+lt_save_CC="$CC"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+
+lt_prog_compiler_no_builtin_flag=
+
+if test "$GCC" = yes; then
+ case $cc_basename in
+ nvcc*)
+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+ *)
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+
+
+
+
+
+ lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ lt_prog_compiler_wl='-Xlinker '
+ lt_prog_compiler_pic='-Xcompiler -fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ # old Intel for x86_64 which still supported -KPIC.
+ ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-qpic'
+ lt_prog_compiler_static='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ F* | *Sun*Fortran*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl=''
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Wl,'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ rdos*)
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ unicos*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_can_build_shared=no
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
+
+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS="$save_LDFLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
+
+if test x"$lt_cv_prog_compiler_static_works" = xyes; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+hard_links="nottested"
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test "$hard_links" = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ always_export_symbols=no
+ archive_cmds=
+ archive_expsym_cmds=
+ compiler_needs_object=no
+ enable_shared_with_static_runtimes=no
+ export_dynamic_flag_spec=
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ hardcode_automatic=no
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld=
+ hardcode_libdir_separator=
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ inherit_rpath=no
+ link_all_deplibs=unknown
+ module_cmds=
+ module_expsym_cmds=
+ old_archive_from_new_cmds=
+ old_archive_from_expsyms_cmds=
+ thread_safe_flag_spec=
+ whole_archive_flag_spec=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test "$with_gnu_ld" = yes; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+ *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test "$lt_use_gnu_ld_interface" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ export_dynamic_flag_spec='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ export_dynamic_flag_spec='${wl}--export-all-symbols'
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ haiku*)
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ link_all_deplibs=yes
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test "$host_os" = linux-dietlibc; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test "$tmp_diet" = no
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ whole_archive_flag_spec=
+ tmp_sharedflag='--shared' ;;
+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ compiler_needs_object=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ compiler_needs_object=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+
+ if test "x$supports_anon_versioning" = xyes; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test "$ld_shlibs" = no; then
+ runpath_var=
+ hardcode_libdir_flag_spec=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ # Also, AIX nm treats weak defined symbols like other global
+ # defined symbols, whereas GNU nm marks them as "W".
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ file_list_spec='${wl}-f,'
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag="$shared_flag "'${wl}-G'
+ fi
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
+ fi
+ fi
+
+ export_dynamic_flag_spec='${wl}-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ always_export_symbols=yes
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test "${lt_cv_aix_libpath+set}" = set; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_="/usr/lib:/lib"
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test "${lt_cv_aix_libpath+set}" = set; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_="/usr/lib:/lib"
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' ${wl}-bernotok'
+ allow_undefined_flag=' ${wl}-berok'
+ if test "$with_gnu_ld" = yes; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec='$convenience'
+ fi
+ archive_cmds_need_lc=yes
+ # This is similar to how AIX traditionally builds its shared libraries.
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[45]*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ file_list_spec='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+ else
+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ old_postinstall_cmds='chmod 644 $oldlib'
+ postlink_cmds='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile="$lt_outputfile.exe"
+ lt_tool_outputfile="$lt_tool_outputfile.exe"
+ ;;
+ esac~
+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_from_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ enable_shared_with_static_runtimes=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc=no
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ if test "$lt_cv_ld_force_load" = "yes"; then
+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+ else
+ whole_archive_flag_spec=''
+ fi
+ link_all_deplibs=yes
+ allow_undefined_flag="$_lt_dar_allow_undefined"
+ case $cc_basename in
+ ifort*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test "$_lt_dar_can_shared" = "yes"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
+ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
+ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
+
+ else
+ ld_shlibs=no
+ fi
+
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ freebsd1*)
+ ld_shlibs=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='${wl}-E'
+ ;;
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test "$with_gnu_ld" = no; then
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_flag_spec_ld='+b $libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='${wl}-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler__b=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -b"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler__b=yes
+ fi
+ else
+ lt_cv_prog_compiler__b=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS="$save_LDFLAGS"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test x"$lt_cv_prog_compiler__b" = xyes; then
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ *)
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (void) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_irix_exported_symbol=yes
+else
+ lt_cv_irix_exported_symbol=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS="$save_LDFLAGS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+ if test "$lt_cv_irix_exported_symbol" = yes; then
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ inherit_rpath=yes
+ link_all_deplibs=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ else
+ case $host_os in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+ old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_separator=:
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='${wl}'
+ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands `-z linker_flag'. GCC discards it without `$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test "$GCC" = yes; then
+ whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ else
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag='${wl}-z,text'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We can NOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag='${wl}-z,text'
+ allow_undefined_flag='${wl}-z,nodefs'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='${wl}-R,$libdir'
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ export_dynamic_flag_spec='${wl}-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+
+ if test x$host_vendor = xsni; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+$as_echo "$ld_shlibs" >&6; }
+test "$ld_shlibs" = no && can_build_shared=no
+
+with_gnu_ld=$with_gnu_ld
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+if test "$GCC" = yes; then
+ case $host_os in
+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
+ *) lt_awk_arg="/^libraries:/" ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
+ *) lt_sed_strip_eq="s,=/,/,g" ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary.
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
+ else
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS=" "; FS="/|\n";} {
+ lt_foo="";
+ lt_count=0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo="/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[lt_foo]++; }
+ if (lt_freq[lt_foo] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's,/\([A-Za-z]:\),\1,g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ library_names_spec='${libname}.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec="$LIB"
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[123]*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ # Handle Gentoo/FreeBSD as it was Linux
+ case $host_vendor in
+ gentoo)
+ version_type=linux ;;
+ *)
+ version_type=freebsd-$objformat ;;
+ esac
+
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ linux)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ need_lib_prefix=no
+ need_version=no
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+haiku*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec="/usr/lib"
+ need_lib_prefix=no
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
+ case $host_os in
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
+ *) need_version=no ;;
+ esac
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext_cmds=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=freebsd-elf
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test "$with_gnu_ld" = yes; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test "$dynamic_linker" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
+fi
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test "X$hardcode_automatic" = "Xyes" ; then
+
+ # We can hardcode non-existent directories.
+ if test "$hardcode_direct" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
+ test "$hardcode_minus_L" != no; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test "$hardcode_action" = relink ||
+ test "$inherit_rpath" = yes; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen="shl_load"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
+$as_echo "$lt_cv_dlopen_self" >&6; }
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self_static+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report which library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define VMAJ 1
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VMIN 7
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VMIC 0
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VREV 0
+_ACEOF
+
+version_info="0:8:7"
+release_info=""
+
+
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+VMAJ=1
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.9.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
+ pkgconfig_requires_private="Requires.private"
+else
+ pkgconfig_requires_private="Requires"
+fi
+
+
+python_evas_version="1.7.0"
+pkgconfig_elementary_requires_libs="elementary >= 1.7.0 evas >= 1.7.0 eina >= 1.7.0 python-evas >= ${python_evas_version}"
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
+$as_echo_n "checking for ELEMENTARY... " >&6; }
+
+if test -n "$ELEMENTARY_CFLAGS"; then
+ pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkgconfig_elementary_requires_libs\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "$pkgconfig_elementary_requires_libs") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "$pkgconfig_elementary_requires_libs" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$ELEMENTARY_LIBS"; then
+ pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkgconfig_elementary_requires_libs\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "$pkgconfig_elementary_requires_libs") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "$pkgconfig_elementary_requires_libs" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkgconfig_elementary_requires_libs" 2>&1`
+ else
+ ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkgconfig_elementary_requires_libs" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$ELEMENTARY_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements ($pkgconfig_elementary_requires_libs) were not met:
+
+$ELEMENTARY_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
+and ELEMENTARY_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
+and ELEMENTARY_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
+ ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+CYTHON_ELEMENTARY_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "python-evas >= ${python_evas_version}"`
+
+wanted_cython_files="${srcdir}/elementary/elementary.c_elementary.pyx"
+
+
+
+
+
+
+
+ if test -n "$PYTHON"; then
+ # If the user set $PYTHON, use it and don't search something else.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.7" >&5
+$as_echo_n "checking whether $PYTHON version >= 2.7... " >&6; }
+ prog="import sys
+# split strings by '.' and convert to numeric. Append some zeros
+# because we need at least 4 digits for the hex conversion.
+# map returns an iterator in Python 3.0 and a list in 2.x
+minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
+minverhex = 0
+# xrange is not present in Python 3.0 and range returns an iterator
+for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
+sys.exit(sys.hexversion < minverhex)"
+ if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
+ ($PYTHON -c "$prog") >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ as_fn_error $? "too old" "$LINENO" 5
+fi
+ am_display_PYTHON=$PYTHON
+ else
+ # Otherwise, try each interpreter until we find one that satisfies
+ # VERSION.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.7" >&5
+$as_echo_n "checking for a Python interpreter with version >= 2.7... " >&6; }
+if ${am_cv_pathless_PYTHON+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
+ test "$am_cv_pathless_PYTHON" = none && break
+ prog="import sys
+# split strings by '.' and convert to numeric. Append some zeros
+# because we need at least 4 digits for the hex conversion.
+# map returns an iterator in Python 3.0 and a list in 2.x
+minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
+minverhex = 0
+# xrange is not present in Python 3.0 and range returns an iterator
+for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
+sys.exit(sys.hexversion < minverhex)"
+ if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
+ ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then :
+ break
+fi
+ done
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
+$as_echo "$am_cv_pathless_PYTHON" >&6; }
+ # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
+ if test "$am_cv_pathless_PYTHON" = none; then
+ PYTHON=:
+ else
+ # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
+set dummy $am_cv_pathless_PYTHON; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PYTHON+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PYTHON in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PYTHON=$ac_cv_path_PYTHON
+if test -n "$PYTHON"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
+$as_echo "$PYTHON" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+ am_display_PYTHON=$am_cv_pathless_PYTHON
+ fi
+
+
+ if test "$PYTHON" = :; then
+ as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
+ else
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
+$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
+if ${am_cv_python_version+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
+$as_echo "$am_cv_python_version" >&6; }
+ PYTHON_VERSION=$am_cv_python_version
+
+
+
+ PYTHON_PREFIX='${prefix}'
+
+ PYTHON_EXEC_PREFIX='${exec_prefix}'
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
+$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
+if ${am_cv_python_platform+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
+$as_echo "$am_cv_python_platform" >&6; }
+ PYTHON_PLATFORM=$am_cv_python_platform
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
+$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
+if ${am_cv_python_pythondir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$prefix" = xNONE
+ then
+ am_py_prefix=$ac_default_prefix
+ else
+ am_py_prefix=$prefix
+ fi
+ am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
+ case $am_cv_python_pythondir in
+ $am_py_prefix*)
+ am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
+ am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
+ ;;
+ *)
+ case $am_py_prefix in
+ /usr|/System*) ;;
+ *)
+ am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
+ esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
+$as_echo "$am_cv_python_pythondir" >&6; }
+ pythondir=$am_cv_python_pythondir
+
+
+
+ pkgpythondir=\${pythondir}/$PACKAGE
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
+$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
+if ${am_cv_python_pyexecdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$exec_prefix" = xNONE
+ then
+ am_py_exec_prefix=$am_py_prefix
+ else
+ am_py_exec_prefix=$exec_prefix
+ fi
+ am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
+ case $am_cv_python_pyexecdir in
+ $am_py_exec_prefix*)
+ am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
+ am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
+ ;;
+ *)
+ case $am_py_exec_prefix in
+ /usr|/System*) ;;
+ *)
+ am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
+ esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
+$as_echo "$am_cv_python_pyexecdir" >&6; }
+ pyexecdir=$am_cv_python_pyexecdir
+
+
+
+ pkgpyexecdir=\${pyexecdir}/$PACKAGE
+
+
+
+ fi
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
+$as_echo_n "checking for headers required to compile python extensions... " >&6; }
+if test -x "$PYTHON_INCLUDES"; then
+PYTHON_INCLUDES="-I$PYTHON_INCLUDES"
+else
+py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
+py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
+if test -x "$PYTHON-config"; then
+PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
+else
+PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
+if test "$py_prefix" != "$py_exec_prefix"; then
+ PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
+fi
+fi
+fi
+
+save_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <Python.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+$as_echo "found" >&6; }
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
+$as_echo "not found" >&6; }
+as_fn_error $? "could not find Python headers" "$LINENO" 5
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+CPPFLAGS="$save_CPPFLAGS"
+
+
+cython_required_version=0.15.1
+
+
+_msg=" >= $cython_required_version"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cython$_msg" >&5
+$as_echo_n "checking for Cython$_msg... " >&6; }
+if ${py_cv_cython+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+
+prog="import Cython.Compiler.Version; print(Cython.Compiler.Version.version)"
+CYTHON_VERSION=`$PYTHON -c "$prog" 2>&5`
+
+py_cv_cython=no
+if test "x$CYTHON_VERSION" != "x"; then
+ py_cv_cython=yes
+fi
+
+if test "x$py_cv_cython" = "xyes"; then
+ as_awk_strverscmp='
+ # Use only awk features that work with 7th edition Unix awk (1978).
+ # My, what an old awk you have, Mr. Solaris!
+ END {
+ while (length(v1) && length(v2)) {
+ # Set d1 to be the next thing to compare from v1, and likewise for d2.
+ # Normally this is a single character, but if v1 and v2 contain digits,
+ # compare them as integers and fractions as strverscmp does.
+ if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
+ # Split v1 and v2 into their leading digit string components d1 and d2,
+ # and advance v1 and v2 past the leading digit strings.
+ for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
+ for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
+ d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
+ d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
+ if (d1 ~ /^0/) {
+ if (d2 ~ /^0/) {
+ # Compare two fractions.
+ while (d1 ~ /^0/ && d2 ~ /^0/) {
+ d1 = substr(d1, 2); len1--
+ d2 = substr(d2, 2); len2--
+ }
+ if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
+ # The two components differ in length, and the common prefix
+ # contains only leading zeros. Consider the longer to be less.
+ d1 = -len1
+ d2 = -len2
+ } else {
+ # Otherwise, compare as strings.
+ d1 = "x" d1
+ d2 = "x" d2
+ }
+ } else {
+ # A fraction is less than an integer.
+ exit 1
+ }
+ } else {
+ if (d2 ~ /^0/) {
+ # An integer is greater than a fraction.
+ exit 2
+ } else {
+ # Compare two integers.
+ d1 += 0
+ d2 += 0
+ }
+ }
+ } else {
+ # The normal case, without worrying about digits.
+ d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
+ d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
+ }
+ if (d1 < d2) exit 1
+ if (d1 > d2) exit 2
+ }
+ # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
+ # which mishandles some comparisons of empty strings to integers.
+ if (length(v2)) exit 1
+ if (length(v1)) exit 2
+ }
+'
+as_arg_v1=$CYTHON_VERSION
+as_arg_v2=$cython_required_version
+awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
+case $? in #(
+ 1) :
+ py_cv_cython=no ;; #(
+ 0) :
+ ;; #(
+ 2) :
+ ;; #(
+ *) :
+ ;;
+esac
+fi
+
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $py_cv_cython" >&5
+$as_echo "$py_cv_cython" >&6; }
+
+if test "x$py_cv_cython" = "xyes"; then
+ CYTHON_FOUND=yes
+ :
+else
+ CYTHON_FOUND=no
+ :
+fi
+
+
+
+_tmp_CFLAGS=`echo "$CFLAGS" | sed -e 's/-fvisibility=hidden//g'`
+if test "x$_tmp_CFLAGS" != "x$CFLAGS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Removed -fvisibility=hidden from \$CFLAGS" >&5
+$as_echo "$as_me: WARNING: Removed -fvisibility=hidden from \$CFLAGS" >&2;}
+ CFLAGS="$_tmp_CFLAGS"
+fi
+
+
+_tmp_LDFLAGS=`echo "$LDFLAGS" | sed -e 's/-fvisibility=hidden//g'`
+if test "x$_tmp_LDFLAGS" != "x$LDFLAGS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Removed -fvisibility=hidden from \$LDFLAGS" >&5
+$as_echo "$as_me: WARNING: Removed -fvisibility=hidden from \$LDFLAGS" >&2;}
+ LDFLAGS="$_tmp_LDFLAGS"
+fi
+
+
+# Install everything into $pyexecdir
+if test "x$pythondir" != "x$pyexecdir"; then
+ pythondir=$pyexecdir
+
+fi
+
+
+
+_orig_exec_prefix="$exec_prefix"
+if test -z "$exec_prefix" -o "$exec_prefix" = "NONE"; then
+ exec_prefix="$prefix"
+fi
+_pythondir=`eval "echo $pythondir"`
+_pyexecdir=`eval "echo $pyexecdir"`
+exec_prefix="${_orig_exec_prefix}"
+unset _orig_exec_prefix
+
+PYTHONPATH_CORRECT=yes
+
+
+
+
+
+_cachevar=`echo "$_pythondir" | sed -e "s/[^a-zA-Z0-9_]/_0123_/g" `
+
+_cachevar="py_cv_path_${_cachevar}"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $_pythondir in \$PYTHONPATH" >&5
+$as_echo_n "checking for $_pythondir in \$PYTHONPATH... " >&6; }
+if eval \${$_cachevar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ _res=no
+ if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PYTHON -c \"import sys; sys.exit(not ('$_pythondir' in sys.path))\""; } >&5
+ ($PYTHON -c "import sys; sys.exit(not ('$_pythondir' in sys.path))") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ _res=yes
+ fi
+ eval "${_cachevar}=$_res"
+ unset _res
+
+fi
+eval ac_res=\$$_cachevar
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+eval "_res=\${${_cachevar}}"
+if test "$_res" = "yes"; then
+ :
+else
+ PYTHONPATH_CORRECT=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \$PYTHONPATH does not include $_pythondir, this may result in runtime problems with python that uses this module." >&5
+$as_echo "$as_me: WARNING: \$PYTHONPATH does not include $_pythondir, this may result in runtime problems with python that uses this module." >&2;}
+fi
+
+
+if test "$_pythondir" != "$_pyexecdir"; then
+
+
+
+
+_cachevar=`echo "$_pyexecdir" | sed -e "s/[^a-zA-Z0-9_]/_0123_/g" `
+
+_cachevar="py_cv_path_${_cachevar}"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $_pyexecdir in \$PYTHONPATH" >&5
+$as_echo_n "checking for $_pyexecdir in \$PYTHONPATH... " >&6; }
+if eval \${$_cachevar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ _res=no
+ if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PYTHON -c \"import sys; sys.exit(not ('$_pyexecdir' in sys.path))\""; } >&5
+ ($PYTHON -c "import sys; sys.exit(not ('$_pyexecdir' in sys.path))") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ _res=yes
+ fi
+ eval "${_cachevar}=$_res"
+ unset _res
+
+fi
+eval ac_res=\$$_cachevar
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+eval "_res=\${${_cachevar}}"
+if test "$_res" = "yes"; then
+ :
+else
+ PYTHONPATH_CORRECT=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \$PYTHONPATH does not include $_pyexecdir, this may result in runtime problems with python that uses this module." >&5
+$as_echo "$as_me: WARNING: \$PYTHONPATH does not include $_pyexecdir, this may result in runtime problems with python that uses this module." >&2;}
+fi
+
+fi
+
+unset _pythondir
+unset _pyexecdir
+
+
+
+PYTHON_EVAS_PYTHONPATH_CORRECT=no
+
+if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-evas >= \${python_evas_version}\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "python-evas >= ${python_evas_version}") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ PYTHON_EVAS_PYTHONPATH_CORRECT=yes
+else
+ PYTHON_EVAS_PYTHONPATH_CORRECT=no
+fi
+
+if test "x$PYTHON_EVAS_PYTHONPATH_CORRECT" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python-evas >= ${python_evas_version} is not installed. This may result in runtime problems with python that uses this module." >&5
+$as_echo "$as_me: WARNING: python-evas >= ${python_evas_version} is not installed. This may result in runtime problems with python that uses this module." >&2;}
+else
+ _pythondir=`pkg-config --variable=pythondir "python-evas >= ${python_evas_version}"`
+ _pyexecdir=`pkg-config --variable=pyexecdir "python-evas >= ${python_evas_version}"`
+ _missing_paths=""
+
+
+_dir="$_pythondir"
+_dir=`expr "X$_dir" : 'X\(.*^/\)' \| "X$_dir" : 'X\(.*\)'`
+
+
+
+
+
+_cachevar=`echo "$_dir" | sed -e "s/[^a-zA-Z0-9_]/_0123_/g" `
+
+_cachevar="py_cv_path_${_cachevar}"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $_dir in \$PYTHONPATH" >&5
+$as_echo_n "checking for $_dir in \$PYTHONPATH... " >&6; }
+if eval \${$_cachevar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ _res=no
+ if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PYTHON -c \"import sys; sys.exit(not ('$_dir' in sys.path))\""; } >&5
+ ($PYTHON -c "import sys; sys.exit(not ('$_dir' in sys.path))") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ _res=yes
+ fi
+ eval "${_cachevar}=$_res"
+ unset _res
+
+fi
+eval ac_res=\$$_cachevar
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+eval "_res=\${${_cachevar}}"
+if test "$_res" = "yes"; then
+ :
+else
+ PYTHON_EVAS_PYTHONPATH_CORRECT=no
+ _missing_paths="$_missing_paths $_pythondir"
+
+fi
+
+
+unset _dir
+
+
+ if test "$_pythondir" != "$_pyexecdir"; then
+
+
+_dir="$_pyexecdir"
+_dir=`expr "X$_dir" : 'X\(.*^/\)' \| "X$_dir" : 'X\(.*\)'`
+
+
+
+
+
+_cachevar=`echo "$_dir" | sed -e "s/[^a-zA-Z0-9_]/_0123_/g" `
+
+_cachevar="py_cv_path_${_cachevar}"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $_dir in \$PYTHONPATH" >&5
+$as_echo_n "checking for $_dir in \$PYTHONPATH... " >&6; }
+if eval \${$_cachevar+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ _res=no
+ if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PYTHON -c \"import sys; sys.exit(not ('$_dir' in sys.path))\""; } >&5
+ ($PYTHON -c "import sys; sys.exit(not ('$_dir' in sys.path))") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ _res=yes
+ fi
+ eval "${_cachevar}=$_res"
+ unset _res
+
+fi
+eval ac_res=\$$_cachevar
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+eval "_res=\${${_cachevar}}"
+if test "$_res" = "yes"; then
+ :
+else
+ PYTHON_EVAS_PYTHONPATH_CORRECT=no
+ _missing_paths="$_missing_paths $_pythondir"
+
+fi
+
+
+unset _dir
+
+ fi
+
+ if test "$PYTHON_EVAS_PYTHONPATH_CORRECT" = "yes"; then
+ :
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \$PYTHONPATH does not include${_missing_paths} where python-evas >= ${python_evas_version} is installed. This may result in runtime problems with python that uses this module." >&5
+$as_echo "$as_me: WARNING: \$PYTHONPATH does not include${_missing_paths} where python-evas >= ${python_evas_version} is installed. This may result in runtime problems with python that uses this module." >&2;}
+ fi
+fi
+
+unset _missing_paths
+unset _pythondir
+unset _pyexecdir
+
+
+have_cython_precompiled=no
+
+_to_check_list="$wanted_cython_files"
+_failed_list=""
+_exists_list=""
+
+for inf in $_to_check_list; do
+ outf=`echo "$inf" | sed -e 's/^\(.*\).pyx$/\1.c/'`
+ if test "$outf" = "$inf"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: File to check must end in .pyx, but got: $inf -- Skip" >&5
+$as_echo "$as_me: WARNING: File to check must end in .pyx, but got: $inf -- Skip" >&2;}
+ continue
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pre-generated $outf for $inf" >&5
+$as_echo_n "checking for pre-generated $outf for $inf... " >&6; }
+ if ! test -f "$outf"; then
+ _res=no
+ _failed_list="${_failed_list} $outf"
+ elif ! test "$outf" -nt "$inf"; then
+ _res="no (older)"
+ _failed_list="${_failed_list} $outf"
+ else
+ _res=yes
+ _exists_list="${_exists_list} $outf"
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_res" >&5
+$as_echo "$_res" >&6; }
+done
+
+if test -z "$_failed_list" -a -n "$_exists_list"; then
+ have_cython_precompiled=yes
+else
+ have_cython_precompiled=no
+fi
+
+if test "x$CYTHON_FOUND" != "xyes"; then
+ if test 0 -ne 0; then
+ if test "x$have_cython_precompiled" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Cython>=${cython_required_version}, however found a pre-generated file. YOU MAY FIND PROBLEMS, USE A RELEASE TARBALL OR INSTALL CYTHON>=${cython_required_version}" >&5
+$as_echo "$as_me: WARNING: Cannot find Cython>=${cython_required_version}, however found a pre-generated file. YOU MAY FIND PROBLEMS, USE A RELEASE TARBALL OR INSTALL CYTHON>=${cython_required_version}" >&2;}
+ else
+ as_fn_error $? "Cannot find Cython>=${cython_required_version}, and not a release build" "$LINENO" 5
+ fi
+ else
+ if test "x$have_cython_precompiled" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Using pre-generated files from release tarball. Install Cython>=${cython_required_version} if you want to re-generate them." >&5
+$as_echo "$as_me: Using pre-generated files from release tarball. Install Cython>=${cython_required_version} if you want to re-generate them." >&6;}
+ else
+ as_fn_error $? "PACKAGING ERROR RELEASE BUILD WITHOUT PRE-GENERATED FILES" "$LINENO" 5
+ fi
+ fi
+fi
+ if test "x$CYTHON_FOUND" = "xyes"; then
+ HAVE_CYTHON_TRUE=
+ HAVE_CYTHON_FALSE='#'
+else
+ HAVE_CYTHON_TRUE='#'
+ HAVE_CYTHON_FALSE=
+fi
+
+
+# Extract the first word of "epydoc", so it can be a program name with args.
+set dummy epydoc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_EPYDOC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $EPYDOC in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_EPYDOC="$EPYDOC" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_EPYDOC="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_EPYDOC" && ac_cv_path_EPYDOC="no"
+ ;;
+esac
+fi
+EPYDOC=$ac_cv_path_EPYDOC
+if test -n "$EPYDOC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPYDOC" >&5
+$as_echo "$EPYDOC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+ if test "x$EPYDOC" != "xno"; then
+ HAVE_EPYDOC_TRUE=
+ HAVE_EPYDOC_FALSE='#'
+else
+ HAVE_EPYDOC_TRUE='#'
+ HAVE_EPYDOC_FALSE=
+fi
+
+
+# Check whether --enable-examples was given.
+if test "${enable_examples+set}" = set; then :
+ enableval=$enable_examples; if test "x${enableval}" != "xno"; then
+ want_examples=yes
+ else
+ want_examples=no
+ fi
+
+else
+ want_examples=yes
+fi
+
+ if test "x${want_examples}" != "xno"; then
+ WANT_EXAMPLES_TRUE=
+ WANT_EXAMPLES_FALSE='#'
+else
+ WANT_EXAMPLES_TRUE='#'
+ WANT_EXAMPLES_FALSE=
+fi
+
+
+ac_config_files="$ac_config_files Makefile python-elementary.pc"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+ac_script='
+:mline
+/\\$/{
+ N
+ s,\\\n,,
+ b mline
+}
+t clear
+:clear
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+b any
+:quote
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
+s/\[/\\&/g
+s/\]/\\&/g
+s/\$/$$/g
+H
+:any
+${
+ g
+ s/^\n//
+ s/\n/ /g
+ p
+}
+'
+DEFS=`sed -n "$ac_script" confdefs.h`
+
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${HAVE_CYTHON_TRUE}" && test -z "${HAVE_CYTHON_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_CYTHON\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${HAVE_EPYDOC_TRUE}" && test -z "${HAVE_EPYDOC_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_EPYDOC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${WANT_EXAMPLES_TRUE}" && test -z "${WANT_EXAMPLES_FALSE}"; then
+ as_fn_error $? "conditional \"WANT_EXAMPLES\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in #(
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by python-elementary $as_me 1.7.0, which was
+generated by GNU Autoconf 2.68. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+
+Configuration files:
+$config_files
+
+Configuration commands:
+$config_commands
+
+Report bugs to <enlightenment-devel@lists.sourceforge.net>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+python-elementary config.status 1.7.0
+configured by $0, generated by GNU Autoconf 2.68,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h | --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS \
+DLLTOOL \
+OBJDUMP \
+SHELL \
+ECHO \
+SED \
+GREP \
+EGREP \
+FGREP \
+LD \
+NM \
+LN_S \
+lt_SP2NL \
+lt_NL2SP \
+reload_flag \
+deplibs_check_method \
+file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+sharedlib_from_linklib_cmd \
+AR \
+AR_FLAGS \
+archiver_list_spec \
+STRIP \
+RANLIB \
+CC \
+CFLAGS \
+compiler \
+lt_cv_sys_global_symbol_pipe \
+lt_cv_sys_global_symbol_to_cdecl \
+lt_cv_sys_global_symbol_to_c_name_address \
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
+nm_file_list_spec \
+lt_prog_compiler_no_builtin_flag \
+lt_prog_compiler_pic \
+lt_prog_compiler_wl \
+lt_prog_compiler_static \
+lt_cv_prog_compiler_c_o \
+need_locks \
+MANIFEST_TOOL \
+DSYMUTIL \
+NMEDIT \
+LIPO \
+OTOOL \
+OTOOL64 \
+shrext_cmds \
+export_dynamic_flag_spec \
+whole_archive_flag_spec \
+compiler_needs_object \
+with_gnu_ld \
+allow_undefined_flag \
+no_undefined_flag \
+hardcode_libdir_flag_spec \
+hardcode_libdir_flag_spec_ld \
+hardcode_libdir_separator \
+exclude_expsyms \
+include_expsyms \
+file_list_spec \
+variables_saved_for_relink \
+libname_spec \
+library_names_spec \
+soname_spec \
+install_override_mode \
+finish_eval \
+old_striplib \
+striplib; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds \
+old_postinstall_cmds \
+old_postuninstall_cmds \
+old_archive_cmds \
+extract_expsyms_cmds \
+old_archive_from_new_cmds \
+old_archive_from_expsyms_cmds \
+archive_cmds \
+archive_expsym_cmds \
+module_cmds \
+module_expsym_cmds \
+export_symbols_cmds \
+prelink_cmds \
+postlink_cmds \
+postinstall_cmds \
+postuninstall_cmds \
+finish_cmds \
+sys_lib_search_path_spec \
+sys_lib_dlsearch_path_spec; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='$ac_aux_dir'
+xsi_shell='$xsi_shell'
+lt_shell_append='$lt_shell_append'
+
+# See if we are running on zsh, and set the options which allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ TIMESTAMP='$TIMESTAMP'
+ RM='$RM'
+ ofile='$ofile'
+
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "python-elementary.pc") CONFIG_FILES="$CONFIG_FILES python-elementary.pc" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+
+eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n 's/^U = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options which allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile="${ofile}T"
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
+# Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is part of GNU Libtool.
+#
+# GNU Libtool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING. If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
+# obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags=""
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and in which our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# If ld is used when linking, flag to hardcode \$libdir into a binary
+# during linking. This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain="$ac_aux_dir/ltmain.sh"
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ if test x"$xsi_shell" = xyes; then
+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
+func_dirname ()\
+{\
+\ case ${1} in\
+\ */*) func_dirname_result="${1%/*}${2}" ;;\
+\ * ) func_dirname_result="${3}" ;;\
+\ esac\
+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
+func_basename ()\
+{\
+\ func_basename_result="${1##*/}"\
+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
+func_dirname_and_basename ()\
+{\
+\ case ${1} in\
+\ */*) func_dirname_result="${1%/*}${2}" ;;\
+\ * ) func_dirname_result="${3}" ;;\
+\ esac\
+\ func_basename_result="${1##*/}"\
+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
+func_stripname ()\
+{\
+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
+\ # positional parameters, so assign one to ordinary parameter first.\
+\ func_stripname_result=${3}\
+\ func_stripname_result=${func_stripname_result#"${1}"}\
+\ func_stripname_result=${func_stripname_result%"${2}"}\
+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
+func_split_long_opt ()\
+{\
+\ func_split_long_opt_name=${1%%=*}\
+\ func_split_long_opt_arg=${1#*=}\
+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
+func_split_short_opt ()\
+{\
+\ func_split_short_opt_arg=${1#??}\
+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
+func_lo2o ()\
+{\
+\ case ${1} in\
+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
+\ *) func_lo2o_result=${1} ;;\
+\ esac\
+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
+func_xform ()\
+{\
+ func_xform_result=${1%.*}.lo\
+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
+func_arith ()\
+{\
+ func_arith_result=$(( $* ))\
+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_len ()$/,/^} # func_len /c\
+func_len ()\
+{\
+ func_len_result=${#1}\
+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+fi
+
+if test x"$lt_shell_append" = xyes; then
+ sed -e '/^func_append ()$/,/^} # func_append /c\
+func_append ()\
+{\
+ eval "${1}+=\\${2}"\
+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
+func_append_quoted ()\
+{\
+\ func_quote_for_eval "${2}"\
+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+
+
+ # Save a `func_append' function call where possible by direct use of '+='
+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+ test 0 -eq $? || _lt_function_replace_fail=:
+else
+ # Save a `func_append' function call even when '+=' is not available
+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+ test 0 -eq $? || _lt_function_replace_fail=:
+fi
+
+if test x"$_lt_function_replace_fail" = x":"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
+fi
+
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
+if test "x$CYTHON_FOUND" = "xyes"; then
+ cython_info="$CYTHON_VERSION (CYTHONFLAGS=$CYTHONFLAGS)"
+else
+ cython_info="no"
+fi
+
+
+echo
+echo
+echo
+echo "------------------------------------------------------------------------"
+echo "$PACKAGE $VERSION"
+echo "------------------------------------------------------------------------"
+echo
+echo "Configuration Options Summary:"
+echo
+echo " Python...............: $PYTHON ($PYTHON_VERSION)"
+echo " Cython...............: $cython_info"
+echo
+echo "Compilation............: make (or gmake)"
+echo " CPPFLAGS.............: $CPPFLAGS"
+echo " CFLAGS...............: $CFLAGS"
+echo " LDFLAGS..............: $LDFLAGS"
+echo " PYTHONPATH...........: $PYTHONPATH"
+echo
+echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
+echo " prefix...............: $prefix"
+echo " pythondir............: $pythondir"
+echo " pyexecdir............: $pyexecdir"
+echo
+echo
+
+if test "x$PYTHONPATH_CORRECT" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your \$PYTHONPATH does not contains the required directories to support your desired installation. Please check warnings above." >&5
+$as_echo "$as_me: WARNING: your \$PYTHONPATH does not contains the required directories to support your desired installation. Please check warnings above." >&2;}
+fi
+
+if test "x${PYTHON_EVAS_PYTHONPATH_CORRECT}" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your \$PYTHONPATH does not includes python-evas, required by elementary module and this may cause runtime problems. Please check warnings above." >&5
+$as_echo "$as_me: WARNING: your \$PYTHONPATH does not includes python-evas, required by elementary module and this may cause runtime problems. Please check warnings above." >&2;}
+fi
+
+
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..9b6bc50
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,168 @@
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+m4_define([v_maj], [1])
+m4_define([v_min], [7])
+m4_define([v_mic], [0])
+m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
+m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
+##-- When released, remove the dnl on the below line
+m4_undefine([v_rev])
+##-- When doing snapshots - change soname. remove dnl on below line
+dnl m4_define([relname], [ver-pre-svn-07])
+dnl m4_define([v_rel], [-release relname])
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
+m4_define([lt_cur], m4_eval(v_maj + v_min))
+m4_define([lt_rev], v_mic)
+m4_define([lt_age], v_min)
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+
+AC_INIT([python-elementary], [v_ver], [enlightenment-devel@lists.sourceforge.net])
+AC_PREREQ([2.65])
+AC_CONFIG_SRCDIR([configure.ac])
+AC_CONFIG_MACRO_DIR([m4])
+AC_CANONICAL_BUILD
+AC_CANONICAL_HOST
+AC_ISC_POSIX
+
+AM_INIT_AUTOMAKE([1.6 dist-bzip2])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+AC_LIBTOOL_WIN32_DLL
+define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
+define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
+AC_PROG_LIBTOOL
+
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
+m4_ifdef([v_rel], , [m4_define([v_rel], [])])
+AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
+AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
+AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
+AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
+version_info="lt_rev:lt_cur:lt_age"
+release_info="v_rel"
+AC_SUBST(version_info)
+AC_SUBST(release_info)
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+VMAJ=v_maj
+AC_SUBST(VMAJ)
+
+AC_PROG_CC
+
+PKG_PROG_PKG_CONFIG
+if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
+ pkgconfig_requires_private="Requires.private"
+else
+ pkgconfig_requires_private="Requires"
+fi
+AC_SUBST(pkgconfig_requires_private)
+
+python_evas_version="1.7.0"
+pkgconfig_elementary_requires_libs="elementary >= 1.7.0 evas >= 1.7.0 eina >= 1.7.0 python-evas >= ${python_evas_version}"
+AC_SUBST(pkgconfig_elementary_requires_libs)
+PKG_CHECK_MODULES([ELEMENTARY], [$pkgconfig_elementary_requires_libs])
+CYTHON_ELEMENTARY_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "python-evas >= ${python_evas_version}"`
+AC_SUBST(CYTHON_ELEMENTARY_INCLUDEDIR)
+wanted_cython_files="${srcdir}/elementary/elementary.c_elementary.pyx"
+
+AM_PATH_PYTHON(2.7)
+AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
+
+cython_required_version=0.15.1
+AM_CHECK_CYTHON([$cython_required_version], [:], [:])
+
+FILTER_VAR_REGEXP([CFLAGS], [-fvisibility=hidden])
+FILTER_VAR_REGEXP([LDFLAGS], [-fvisibility=hidden])
+
+# Install everything into $pyexecdir
+if test "x$pythondir" != "x$pyexecdir"; then
+ AC_SUBST([pythondir], [$pyexecdir])
+fi
+
+AM_CHECK_PYTHONPATH
+PY_EFL_PYTHONPATH([PYTHON_EVAS], [python-evas >= ${python_evas_version}])
+
+have_cython_precompiled=no
+AM_CHECK_CYTHON_PRECOMPILED([$wanted_cython_files],
+ [have_cython_precompiled=yes], [have_cython_precompiled=no])
+if test "x$CYTHON_FOUND" != "xyes"; then
+ if test v_rev -ne 0; then
+ if test "x$have_cython_precompiled" = "xyes"; then
+ AC_MSG_WARN([Cannot find Cython>=${cython_required_version}, however found a pre-generated file. YOU MAY FIND PROBLEMS, USE A RELEASE TARBALL OR INSTALL CYTHON>=${cython_required_version}])
+ else
+ AC_MSG_ERROR([Cannot find Cython>=${cython_required_version}, and not a release build])
+ fi
+ else
+ if test "x$have_cython_precompiled" = "xyes"; then
+ AC_MSG_NOTICE([Using pre-generated files from release tarball. Install Cython>=${cython_required_version} if you want to re-generate them.])
+ else
+ AC_MSG_ERROR([PACKAGING ERROR RELEASE BUILD WITHOUT PRE-GENERATED FILES])
+ fi
+ fi
+fi
+AM_CONDITIONAL(HAVE_CYTHON, [test "x$CYTHON_FOUND" = "xyes"])
+
+AC_PATH_PROG([EPYDOC], [epydoc], [no])
+AC_SUBST(EPYDOC)
+AM_CONDITIONAL(HAVE_EPYDOC, [test "x$EPYDOC" != "xno"])
+
+AC_ARG_ENABLE([examples],
+ [AC_HELP_STRING([--disable-examples], [Do not install examples])],
+ [if test "x${enableval}" != "xno"; then
+ want_examples=yes
+ else
+ want_examples=no
+ fi
+ ], [want_examples=yes])
+AM_CONDITIONAL([WANT_EXAMPLES], [test "x${want_examples}" != "xno"])
+
+AC_OUTPUT([
+Makefile
+python-elementary.pc
+])
+
+if test "x$CYTHON_FOUND" = "xyes"; then
+ cython_info="$CYTHON_VERSION (CYTHONFLAGS=$CYTHONFLAGS)"
+else
+ cython_info="no"
+fi
+AC_SUBST(CYTHONFLAGS)
+
+echo
+echo
+echo
+echo "------------------------------------------------------------------------"
+echo "$PACKAGE $VERSION"
+echo "------------------------------------------------------------------------"
+echo
+echo "Configuration Options Summary:"
+echo
+echo " Python...............: $PYTHON ($PYTHON_VERSION)"
+echo " Cython...............: $cython_info"
+echo
+echo "Compilation............: make (or gmake)"
+echo " CPPFLAGS.............: $CPPFLAGS"
+echo " CFLAGS...............: $CFLAGS"
+echo " LDFLAGS..............: $LDFLAGS"
+echo " PYTHONPATH...........: $PYTHONPATH"
+echo
+echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
+echo " prefix...............: $prefix"
+echo " pythondir............: $pythondir"
+echo " pyexecdir............: $pyexecdir"
+echo
+echo
+
+if test "x$PYTHONPATH_CORRECT" != "xyes"; then
+ AC_MSG_WARN([your \$PYTHONPATH does not contains the required directories to support your desired installation. Please check warnings above.])
+fi
+
+if test "x${PYTHON_EVAS_PYTHONPATH_CORRECT}" != "xyes"; then
+ AC_MSG_WARN([your \$PYTHONPATH does not includes python-evas, required by elementary module and this may cause runtime problems. Please check warnings above.])
+fi
+
+
diff --git a/depcomp b/depcomp
new file mode 100755
index 0000000..25a39e6
--- /dev/null
+++ b/depcomp
@@ -0,0 +1,708 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2012-03-27.16; # UTC
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
+# 2011, 2012 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputting dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say).
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+## The second -e expression handles DOS-style file names with drive letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the "deleted header file" problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+ tr ' ' "$nl" < "$tmpdepfile" |
+## Some versions of gcc put a space before the ':'. On the theory
+## that the space means something, we add a space to the output as
+## well. hp depmode also adds that space, but also prefixes the VPATH
+## to the object. Take care to not repeat it in the output.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like '#:fec' to the end of the
+ # dependency line.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
+ tr "$nl" ' ' >> "$depfile"
+ echo >> "$depfile"
+
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
+ else
+ # The sourcefile does not contain any dependencies, so just
+ # store a dummy comment line, to avoid errors with the Makefile
+ # "include basename.Plo" scheme.
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts '$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
+ "$@" -Wc,-M
+ else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
+ "$@" -M
+ fi
+ stat=$?
+
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependent.h'.
+ # Do two passes, one to just change these to
+ # '$object: dependent.h' and one to simply 'dependent.h:'.
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+ else
+ # The sourcefile does not contain any dependencies, so just
+ # store a dummy comment line, to avoid errors with the Makefile
+ # "include basename.Plo" scheme.
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+icc)
+ # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
+ # However on
+ # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
+ # ICC 7.0 will fill foo.d with something like
+ # foo.o: sub/foo.c
+ # foo.o: sub/foo.h
+ # which is wrong. We want
+ # sub/foo.o: sub/foo.c
+ # sub/foo.o: sub/foo.h
+ # sub/foo.c:
+ # sub/foo.h:
+ # ICC 7.1 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using '\':
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+ # tcc 0.9.26 (FIXME still under development at the moment of writing)
+ # will emit a similar output, but also prepend the continuation lines
+ # with horizontal tabulation characters.
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form 'foo.o: dependent.h',
+ # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # '$object: dependent.h' and one to simply 'dependent.h:'.
+ sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \
+ < "$tmpdepfile" > "$depfile"
+ sed '
+ s/[ '"$tab"'][ '"$tab"']*/ /g
+ s/^ *//
+ s/ *\\*$//
+ s/^[^:]*: *//
+ /^$/d
+ /:$/d
+ s/$/ :/
+ ' < "$tmpdepfile" >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
+tru64)
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+
+ if test "$libtool" = yes; then
+ # With Tru64 cc, shared objects can also be used to make a
+ # static library. This mechanism is used in libtool 1.4 series to
+ # handle both shared and static libraries in a single compilation.
+ # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
+ #
+ # With libtool 1.5 this exception was removed, and libtool now
+ # generates 2 separate objects for the 2 libraries. These two
+ # compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
+ tmpdepfile2=$dir$base.o.d # libtool 1.5
+ tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
+ tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.o.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ tmpdepfile4=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+ else
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7)
+ if test "$libtool" = yes; then
+ showIncludes=-Wc,-showIncludes
+ else
+ showIncludes=-showIncludes
+ fi
+ "$@" $showIncludes > "$tmpdepfile"
+ stat=$?
+ grep -v '^Note: including file: ' "$tmpdepfile"
+ if test "$stat" = 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The first sed program below extracts the file names and escapes
+ # backslashes for cygpath. The second sed program outputs the file
+ # name when reading, but also accumulates all include files in the
+ # hold buffer in order to output them again at the end. This only
+ # works with sed implementations that can handle large buffers.
+ sed < "$tmpdepfile" -n '
+/^Note: including file: *\(.*\)/ {
+ s//\1/
+ s/\\/\\\\/g
+ p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+ s/.*/'"$tab"'/
+ G
+ p
+}' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7msys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for ':'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
+ "$@" $dashmflag |
+ sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ tr ' ' "$nl" < "$tmpdepfile" | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # X makedepend
+ shift
+ cleared=no eat=no
+ for arg
+ do
+ case $cleared in
+ no)
+ set ""; shift
+ cleared=yes ;;
+ esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ # makedepend may prepend the VPATH from the source file name to the object.
+ # No need to regex-escape $object, excess matching of '.' is harmless.
+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+ sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E |
+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+ sed '$ s: \\$::' > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/elementary/__init__.py b/elementary/__init__.py
new file mode 100644
index 0000000..e1ea6bb
--- /dev/null
+++ b/elementary/__init__.py
@@ -0,0 +1,385 @@
+# Copyright (c) 2008 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+import elementary.c_elementary
+
+from elementary.c_elementary import Object, Window, Background, Icon, Box, \
+ Button, Web, Scroller, Label, Frame, Flip, Table, Clock, Layout, Hover, \
+ Entry, Bubble, Photo, Hoversel, Toolbar, ToolbarItem, List, ListItem, \
+ Slider, Radio, Check, Naviframe, NaviframeItem, InnerWindow, Image, \
+ Spinner, Fileselector, FileselectorEntry, FileselectorButton, Notify, \
+ Separator, Progressbar, Menu, MenuItem, MenuSeparatorItem, Panel, Genlist \
+ , GenlistItem, GenlistItemClass, ObjectItem, Gengrid, GengridItem, \
+ GengridItemClass, Actionslider, Calendar, Colorselector, Index, IndexItem \
+ , Ctxpopup, Grid, Video, Player, Configuration, Conformant, Dayselector, \
+ Panes, Thumb, Diskselector, DiskselectorItem, StandardWindow, Datetime, \
+ Transit, Map, MapOverlay, MapOverlayClass, Mapbuf, MultiButtonEntry, \
+ MultiButtonEntryItem, Slideshow, SlideshowItem, SlideshowItemClass, \
+ SegmentControl, SegmentControlItem, Popup, PopupItem, Plug, Photocam, \
+ Theme, GestureLayer, FlipSelector, FlipSelectorItem, \
+ init, shutdown, run, exit, scale_get, scale_set, need_ethumb, \
+ config_finger_size_get, config_finger_size_set, coords_finger_size_adjust, \
+ theme_overlay_add, theme_extension_add, policy_set, policy_get, \
+ cursor_engine_only_set, \
+ cursor_engine_only_get, focus_highlight_enabled_get, \
+ focus_highlight_enabled_set, focus_highlight_animate_get, \
+ focus_highlight_animate_set, preferred_engine_get, preferred_engine_set, \
+ engine_get, engine_set, need_e_dbus, need_efreet, need_ethumb, need_web
+
+ELM_ACTIONSLIDER_NONE = 0
+ELM_ACTIONSLIDER_LEFT = 1 << 0
+ELM_ACTIONSLIDER_CENTER = 1 << 1
+ELM_ACTIONSLIDER_RIGHT = 1 << 2
+ELM_ACTIONSLIDER_ALL = (1 << 3) - 1
+
+ELM_BG_OPTION_CENTER = 0
+ELM_BG_OPTION_SCALE = 1
+ELM_BG_OPTION_STRETCH = 2
+ELM_BG_OPTION_TILE = 3
+ELM_BG_OPTION_LAST = 4
+
+ELM_BOX_LAYOUT_HORIZONTAL = 0
+ELM_BOX_LAYOUT_VERTICAL = 1
+ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL = 2
+ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL = 3
+ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL = 4
+ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL = 5
+ELM_BOX_LAYOUT_FLOW_HORIZONTAL = 6
+ELM_BOX_LAYOUT_FLOW_VERTICAL = 7
+ELM_BOX_LAYOUT_STACK = 8
+
+ELM_BUBBLE_POS_TOP_LEFT = 0
+ELM_BUBBLE_POS_TOP_RIGHT = 1
+ELM_BUBBLE_POS_BOTTOM_LEFT = 2
+ELM_BUBBLE_POS_BOTTOM_RIGHT = 3
+
+ELM_CALENDAR_UNIQUE = 0
+ELM_CALENDAR_DAILY = 1
+ELM_CALENDAR_WEEKLY = 2
+ELM_CALENDAR_MONTHLY = 3
+ELM_CALENDAR_ANNUALLY = 4
+ELM_CALENDAR_LAST_DAY_OF_MONTH = 5
+
+ELM_CALENDAR_SELECT_MODE_DEFAULT = 0
+ELM_CALENDAR_SELECT_MODE_ALWAYS = 1
+ELM_CALENDAR_SELECT_MODE_NONE = 2
+ELM_CALENDAR_SELECT_MODE_ONDEMAND = 3
+
+ELM_CLOCK_EDIT_DEFAULT = 0
+ELM_CLOCK_EDIT_HOUR_DECIMAL = 1 << 0
+ELM_CLOCK_EDIT_HOUR_UNIT = 1 << 1
+ELM_CLOCK_EDIT_MIN_DECIMAL = 1 << 2
+ELM_CLOCK_EDIT_MIN_UNIT = 1 << 3
+ELM_CLOCK_EDIT_SEC_DECIMAL = 1 << 4
+ELM_CLOCK_EDIT_SEC_UNIT = 1 << 5
+ELM_CLOCK_EDIT_ALL = (1 << 6) - 1
+
+ELM_CNP_MODE_MARKUP = 0
+ELM_CNP_MODE_NO_IMAGE = 1
+ELM_CNP_MODE_PLAINTEXT = 2
+
+ELM_COLORSELECTOR_PALETTE = 0
+ELM_COLORSELECTOR_COMPONENTS = 1
+ELM_COLORSELECTOR_BOTH = 2
+
+ELM_CTXPOPUP_DIRECTION_DOWN = 0
+ELM_CTXPOPUP_DIRECTION_RIGHT = 1
+ELM_CTXPOPUP_DIRECTION_LEFT = 2
+ELM_CTXPOPUP_DIRECTION_UP = 3
+ELM_CTXPOPUP_DIRECTION_UNKNOWN = 4
+
+ELM_DATETIME_YEAR = 0
+ELM_DATETIME_MONTH = 1
+ELM_DATETIME_DATE = 2
+ELM_DATETIME_HOUR = 3
+ELM_DATETIME_MINUTE = 4
+ELM_DATETIME_AMPM = 5
+
+ELM_DAY_SUNDAY = 0
+ELM_DAY_MONDAY = 1
+ELM_DAY_TUESDAY = 2
+ELM_DAY_WEDNESDAY = 3
+ELM_DAY_THURSDAY = 4
+ELM_DAY_FRIDAY = 5
+ELM_DAY_SATURDAY = 6
+ELM_DAY_LAST = 7
+
+ELM_DAYSELECTOR_SUN = 0
+ELM_DAYSELECTOR_MON = 1
+ELM_DAYSELECTOR_TUE = 2
+ELM_DAYSELECTOR_WED = 3
+ELM_DAYSELECTOR_THU = 4
+ELM_DAYSELECTOR_FRI = 5
+ELM_DAYSELECTOR_SAT = 6
+
+ELM_FILESELECTOR_LIST = 0
+ELM_FILESELECTOR_GRID = 1
+
+ELM_FLIP_DIRECTION_UP = 0
+ELM_FLIP_DIRECTION_DOWN = 1
+ELM_FLIP_DIRECTION_LEFT = 2
+ELM_FLIP_DIRECTION_RIGHT = 3
+
+ELM_FLIP_INTERACTION_NONE = 0
+ELM_FLIP_INTERACTION_ROTATE = 1
+ELM_FLIP_INTERACTION_CUBE = 2
+ELM_FLIP_INTERACTION_PAGE = 3
+
+ELM_FLIP_ROTATE_Y_CENTER_AXIS = 0
+ELM_FLIP_ROTATE_X_CENTER_AXIS = 1
+ELM_FLIP_ROTATE_XZ_CENTER_AXIS = 2
+ELM_FLIP_ROTATE_YZ_CENTER_AXIS = 3
+ELM_FLIP_CUBE_LEFT = 4
+ELM_FLIP_CUBE_RIGHT = 5
+ELM_FLIP_CUBE_UP = 6
+ELM_FLIP_CUBE_DOWN = 7
+ELM_FLIP_PAGE_LEFT = 8
+ELM_FLIP_PAGE_RIGHT = 9
+ELM_FLIP_PAGE_UP = 10
+ELM_FLIP_PAGE_DOWN = 11
+
+ELM_FOCUS_PREVIOUS = 0
+ELM_FOCUS_NEXT = 1
+
+ELM_GENLIST_ITEM_NONE = 0
+ELM_GENLIST_ITEM_TREE = 1
+ELM_GENLIST_ITEM_GROUP = 2
+ELM_GENLIST_ITEM_MAX = 3
+
+ELM_GENLIST_ITEM_FIELD_ALL = 0
+ELM_GENLIST_ITEM_FIELD_TEXT = 1
+ELM_GENLIST_ITEM_FIELD_CONTENT = 2
+ELM_GENLIST_ITEM_FIELD_STATE = 3
+
+ELM_GESTURE_STATE_UNDEFINED = -1
+ELM_GESTURE_STATE_START = 0
+ELM_GESTURE_STATE_MOVE = 1
+ELM_GESTURE_STATE_END = 2
+ELM_GESTURE_STATE_ABORT = 3
+
+ELM_GESTURE_FIRST = 0
+ELM_GESTURE_N_TAPS = 1
+ELM_GESTURE_N_LONG_TAPS = 2
+ELM_GESTURE_N_DOUBLE_TAPS = 3
+ELM_GESTURE_N_TRIPLE_TAPS = 4
+ELM_GESTURE_MOMENTUM = 5
+ELM_GESTURE_N_LINES = 6
+ELM_GESTURE_N_FLICKS = 7
+ELM_GESTURE_ZOOM = 8
+ELM_GESTURE_ROTATE = 9
+
+ELM_HOVER_AXIS_NONE = 0
+ELM_HOVER_AXIS_HORIZONTAL = 1
+ELM_HOVER_AXIS_VERTICAL = 2
+ELM_HOVER_AXIS_BOTH = 3
+
+ELM_ICON_NONE = 0
+ELM_ICON_FILE = 1
+ELM_ICON_STANDARD = 2
+
+ELM_ILLUME_COMMAND_FOCUS_BACK = 0
+ELM_ILLUME_COMMAND_FOCUS_FORWARD = 1
+ELM_ILLUME_COMMAND_FOCUS_HOME = 2
+ELM_ILLUME_COMMAND_CLOSE = 3
+
+ELM_IMAGE_ORIENT_NONE = 0
+ELM_IMAGE_ORIENT_0 = 0
+ELM_IMAGE_ROTATE_90 = 1
+ELM_IMAGE_ROTATE_180 = 2
+ELM_IMAGE_ROTATE_270 = 3
+ELM_IMAGE_FLIP_HORIZONTAL = 4
+ELM_IMAGE_FLIP_VERTICAL = 5
+ELM_IMAGE_FLIP_TRANSPOSE = 6
+ELM_IMAGE_FLIP_TRANSVERSE = 7
+
+ELM_INPUT_PANEL_LANG_AUTOMATIC = 0
+ELM_INPUT_PANEL_LANG_ALPHABET = 1
+
+ELM_INPUT_PANEL_LAYOUT_NORMAL = 0
+ELM_INPUT_PANEL_LAYOUT_NUMBER = 1
+ELM_INPUT_PANEL_LAYOUT_EMAIL = 2
+ELM_INPUT_PANEL_LAYOUT_URL = 3
+ELM_INPUT_PANEL_LAYOUT_PHONENUMBER = 4
+ELM_INPUT_PANEL_LAYOUT_IP = 5
+ELM_INPUT_PANEL_LAYOUT_MONTH = 6
+ELM_INPUT_PANEL_LAYOUT_NUMBERONLY = 7
+ELM_INPUT_PANEL_LAYOUT_INVALID = 8
+ELM_INPUT_PANEL_LAYOUT_HEX = 9
+ELM_INPUT_PANEL_LAYOUT_TERMINAL = 10
+ELM_INPUT_PANEL_LAYOUT_PASSWORD = 11
+
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT = 0
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE = 1
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO = 2
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN = 3
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN = 4
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT = 5
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH = 6
+ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND = 7
+
+ELM_LIST_COMPRESS = 0
+ELM_LIST_SCROLL = 1
+ELM_LIST_LIMIT = 2
+
+ELM_MAP_OVERLAY_TYPE_NONE = 0
+ELM_MAP_OVERLAY_TYPE_DEFAULT = 1
+ELM_MAP_OVERLAY_TYPE_CLASS = 2
+ELM_MAP_OVERLAY_TYPE_GROUP = 3
+ELM_MAP_OVERLAY_TYPE_BUBBLE = 4
+ELM_MAP_OVERLAY_TYPE_ROUTE = 5
+ELM_MAP_OVERLAY_TYPE_LINE = 6
+ELM_MAP_OVERLAY_TYPE_POLYGON = 7
+ELM_MAP_OVERLAY_TYPE_CIRCLE = 8
+ELM_MAP_OVERLAY_TYPE_SCALE = 9
+
+ELM_MAP_ROUTE_METHOD_FASTEST = 0
+ELM_MAP_ROUTE_METHOD_SHORTEST = 1
+ELM_MAP_ROUTE_METHOD_LAST = 2
+
+ELM_MAP_ROUTE_TYPE_MOTOCAR = 0
+ELM_MAP_ROUTE_TYPE_BICYCLE = 1
+ELM_MAP_ROUTE_TYPE_FOOT = 2
+ELM_MAP_ROUTE_TYPE_LAST = 3
+
+ELM_MAP_SOURCE_TYPE_TILE = 0
+ELM_MAP_SOURCE_TYPE_ROUTE = 1
+ELM_MAP_SOURCE_TYPE_NAME = 2
+ELM_MAP_SOURCE_TYPE_LAST = 3
+
+ELM_MAP_ZOOM_MODE_MANUAL = 0
+ELM_MAP_ZOOM_MODE_AUTO_FIT = 1
+ELM_MAP_ZOOM_MODE_AUTO_FILL = 2
+ELM_MAP_ZOOM_MODE_LAST = 3
+
+ELM_NOTIFY_ORIENT_TOP = 0
+ELM_NOTIFY_ORIENT_CENTER = 1
+ELM_NOTIFY_ORIENT_BOTTOM = 2
+ELM_NOTIFY_ORIENT_LEFT = 3
+ELM_NOTIFY_ORIENT_RIGHT = 4
+ELM_NOTIFY_ORIENT_TOP_LEFT = 5
+ELM_NOTIFY_ORIENT_TOP_RIGHT = 6
+ELM_NOTIFY_ORIENT_BOTTOM_LEFT = 7
+ELM_NOTIFY_ORIENT_BOTTOM_RIGHT = 8
+
+ELM_OBJECT_SELECT_MODE_DEFAULT = 0
+ELM_OBJECT_SELECT_MODE_ALWAYS = 1
+ELM_OBJECT_SELECT_MODE_NONE = 2
+ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY = 3
+ELM_OBJECT_SELECT_MODE_MAX = 4
+
+ELM_PANEL_ORIENT_TOP = 0
+ELM_PANEL_ORIENT_BOTTOM = 1
+ELM_PANEL_ORIENT_LEFT = 2
+ELM_PANEL_ORIENT_RIGHT = 3
+
+ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0
+ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT = 1
+ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL = 2
+ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN = 3
+
+ELM_POLICY_QUIT = 0
+ELM_POLICY_LAST = 1
+
+ELM_POLICY_QUIT_NONE = 0
+ELM_POLICY_QUIT_LAST_WINDOW_CLOSED = 1
+
+ELM_POPUP_ORIENT_TOP = 0
+ELM_POPUP_ORIENT_CENTER = 1
+ELM_POPUP_ORIENT_BOTTOM = 2
+ELM_POPUP_ORIENT_LEFT = 3
+ELM_POPUP_ORIENT_RIGHT = 4
+ELM_POPUP_ORIENT_TOP_LEFT = 5
+ELM_POPUP_ORIENT_TOP_RIGHT = 6
+ELM_POPUP_ORIENT_BOTTOM_LEFT = 7
+ELM_POPUP_ORIENT_BOTTOM_RIGHT = 8
+
+ELM_SCROLLER_POLICY_AUTO = 0
+ELM_SCROLLER_POLICY_ON = 1
+ELM_SCROLLER_POLICY_OFF = 2
+
+ELM_TEXT_FORMAT_PLAIN_UTF8 = 0
+ELM_TEXT_FORMAT_MARKUP_UTF8 = 1
+
+ELM_TOOLBAR_SHRINK_NONE = 0
+ELM_TOOLBAR_SHRINK_HIDE = 1
+ELM_TOOLBAR_SHRINK_SCROLL = 2
+ELM_TOOLBAR_SHRINK_MENU = 3
+ELM_TOOLBAR_SHRINK_EXPAND = 4
+ELM_TOOLBAR_SHRINK_LAST = 5
+
+ELM_WEB_WINDOW_FEATURE_TOOLBAR = 0
+ELM_WEB_WINDOW_FEATURE_STATUSBAR = 1
+ELM_WEB_WINDOW_FEATURE_SCROLLBARS = 2
+ELM_WEB_WINDOW_FEATURE_MENUBAR = 3
+ELM_WEB_WINDOW_FEATURE_LOCATIONBAR = 4
+ELM_WEB_WINDOW_FEATURE_FULLSCREEN = 5
+
+ELM_WEB_ZOOM_MODE_MANUAL = 0
+ELM_WEB_ZOOM_MODE_AUTO_FIT = 1
+ELM_WEB_ZOOM_MODE_AUTO_FILL = 2
+
+ELM_WIN_BASIC = 0
+ELM_WIN_DIALOG_BASIC = 1
+ELM_WIN_DESKTOP = 2
+ELM_WIN_DOCK = 3
+ELM_WIN_TOOLBAR = 4
+ELM_WIN_MENU = 5
+ELM_WIN_UTILITY = 6
+ELM_WIN_SPLASH = 7
+ELM_WIN_DROPDOWN_MENU = 8
+ELM_WIN_POPUP_MENU = 9
+ELM_WIN_TOOLTIP = 10
+ELM_WIN_NOTIFICATION = 11
+ELM_WIN_COMBO = 12
+ELM_WIN_DND = 13
+ELM_WIN_INLINED_IMAGE = 14
+ELM_WIN_SOCKET_IMAGE = 15
+
+ELM_WIN_INDICATOR_UNKNOWN = 0
+ELM_WIN_INDICATOR_HIDE = 1
+ELM_WIN_INDICATOR_SHOW = 2
+
+ELM_WIN_INDICATOR_OPACITY_UNKNOWN = 0
+ELM_WIN_INDICATOR_OPAQUE = 1
+ELM_WIN_INDICATOR_TRANSLUCENT = 2
+ELM_WIN_INDICATOR_TRANSPARENT = 3
+
+ELM_WIN_KEYBOARD_UNKNOWN = 0
+ELM_WIN_KEYBOARD_OFF = 1
+ELM_WIN_KEYBOARD_ON = 2
+ELM_WIN_KEYBOARD_ALPHA = 3
+ELM_WIN_KEYBOARD_NUMERIC = 4
+ELM_WIN_KEYBOARD_PIN = 5
+ELM_WIN_KEYBOARD_PHONE_NUMBER = 6
+ELM_WIN_KEYBOARD_HEX = 7
+ELM_WIN_KEYBOARD_TERMINAL = 8
+ELM_WIN_KEYBOARD_PASSWORD = 9
+ELM_WIN_KEYBOARD_IP = 10
+ELM_WIN_KEYBOARD_HOST = 11
+ELM_WIN_KEYBOARD_FILE = 12
+ELM_WIN_KEYBOARD_URL = 13
+ELM_WIN_KEYBOARD_KEYPAD = 14
+ELM_WIN_KEYBOARD_J2ME = 15
+
+ELM_WRAP_NONE = 0
+ELM_WRAP_CHAR = 1
+ELM_WRAP_WORD = 2
+ELM_WRAP_MIXED = 3
+
+
+c_elementary.init()
diff --git a/elementary/cursors.py b/elementary/cursors.py
new file mode 100644
index 0000000..ae0e848
--- /dev/null
+++ b/elementary/cursors.py
@@ -0,0 +1,95 @@
+# Copyright (c) 2008 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+ELM_CURSOR_X = "x"
+ELM_CURSOR_ARROW = "arrow"
+ELM_CURSOR_BASED_ARROW_DOWN = "based_arrow_down"
+ELM_CURSOR_BASED_ARROW_UP = "based_arrow_up"
+ELM_CURSOR_BOAT = "boat"
+ELM_CURSOR_BOGOSITY = "bogosity"
+ELM_CURSOR_BOTTOM_LEFT_CORNER = "bottom_left_corner"
+ELM_CURSOR_BOTTOM_RIGHT_CORNER = "bottom_right_corner"
+ELM_CURSOR_BOTTOM_SIDE = "bottom_side"
+ELM_CURSOR_BOTTOM_TEE = "bottom_tee"
+ELM_CURSOR_BOX_SPIRAL = "box_spiral"
+ELM_CURSOR_CENTER_PTR = "center_ptr"
+ELM_CURSOR_CIRCLE = "circle"
+ELM_CURSOR_CLOCK = "clock"
+ELM_CURSOR_COFFEE_MUG = "coffee_mug"
+ELM_CURSOR_CROSS = "cross"
+ELM_CURSOR_CROSS_REVERSE = "cross_reverse"
+ELM_CURSOR_CROSSHAIR = "crosshair"
+ELM_CURSOR_DIAMOND_CROSS = "diamond_cross"
+ELM_CURSOR_DOT = "dot"
+ELM_CURSOR_DOT_BOX_MASK = "dot_box_mask"
+ELM_CURSOR_DOUBLE_ARROW = "double_arrow"
+ELM_CURSOR_DRAFT_LARGE = "draft_large"
+ELM_CURSOR_DRAFT_SMALL = "draft_small"
+ELM_CURSOR_DRAPED_BOX = "draped_box"
+ELM_CURSOR_EXCHANGE = "exchange"
+ELM_CURSOR_FLEUR = "fleur"
+ELM_CURSOR_GOBBLER = "gobbler"
+ELM_CURSOR_GUMBY = "gumby"
+ELM_CURSOR_HAND1 = "hand1"
+ELM_CURSOR_HAND2 = "hand2"
+ELM_CURSOR_HEART = "heart"
+ELM_CURSOR_ICON = "icon"
+ELM_CURSOR_IRON_CROSS = "iron_cross"
+ELM_CURSOR_LEFT_PTR = "left_ptr"
+ELM_CURSOR_LEFT_SIDE = "left_side"
+ELM_CURSOR_LEFT_TEE = "left_tee"
+ELM_CURSOR_LEFTBUTTON = "leftbutton"
+ELM_CURSOR_LL_ANGLE = "ll_angle"
+ELM_CURSOR_LR_ANGLE = "lr_angle"
+ELM_CURSOR_MAN = "man"
+ELM_CURSOR_MIDDLEBUTTON = "middlebutton"
+ELM_CURSOR_MOUSE = "mouse"
+ELM_CURSOR_PENCIL = "pencil"
+ELM_CURSOR_PIRATE = "pirate"
+ELM_CURSOR_PLUS = "plus"
+ELM_CURSOR_QUESTION_ARROW = "question_arrow"
+ELM_CURSOR_RIGHT_PTR = "right_ptr"
+ELM_CURSOR_RIGHT_SIDE = "right_side"
+ELM_CURSOR_RIGHT_TEE = "right_tee"
+ELM_CURSOR_RIGHTBUTTON = "rightbutton"
+ELM_CURSOR_RTL_LOGO = "rtl_logo"
+ELM_CURSOR_SAILBOAT = "sailboat"
+ELM_CURSOR_SB_DOWN_ARROW = "sb_down_arrow"
+ELM_CURSOR_SB_H_DOUBLE_ARROW = "sb_h_double_arrow"
+ELM_CURSOR_SB_LEFT_ARROW = "sb_left_arrow"
+ELM_CURSOR_SB_RIGHT_ARROW = "sb_right_arrow"
+ELM_CURSOR_SB_UP_ARROW = "sb_up_arrow"
+ELM_CURSOR_SB_V_DOUBLE_ARROW = "sb_v_double_arrow"
+ELM_CURSOR_SHUTTLE = "shuttle"
+ELM_CURSOR_SIZING = "sizing"
+ELM_CURSOR_SPIDER = "spider"
+ELM_CURSOR_SPRAYCAN = "spraycan"
+ELM_CURSOR_STAR = "star"
+ELM_CURSOR_TARGET = "target"
+ELM_CURSOR_TCROSS = "tcross"
+ELM_CURSOR_TOP_LEFT_ARROW = "top_left_arrow"
+ELM_CURSOR_TOP_LEFT_CORNER = "top_left_corner"
+ELM_CURSOR_TOP_RIGHT_CORNER = "top_right_corner"
+ELM_CURSOR_TOP_SIDE = "top_side"
+ELM_CURSOR_TOP_TEE = "top_tee"
+ELM_CURSOR_TREK = "trek"
+ELM_CURSOR_UL_ANGLE = "ul_angle"
+ELM_CURSOR_UMBRELLA = "umbrella"
+ELM_CURSOR_UR_ANGLE = "ur_angle"
+ELM_CURSOR_WATCH = "watch"
+ELM_CURSOR_XTERM = "xterm"
diff --git a/elementary/elementary.c_elementary.c b/elementary/elementary.c_elementary.c
new file mode 100644
index 0000000..4e3aa01
--- /dev/null
+++ b/elementary/elementary.c_elementary.c
@@ -0,0 +1,261740 @@
+/* Generated by Cython 0.16 on Tue Sep 4 15:02:27 2012 */
+
+#define PY_SSIZE_T_CLEAN
+#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 < 0x02040000
+ #error Cython requires Python 2.4+.
+#else
+#include <stddef.h> /* For offsetof */
+#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
+ #define __Pyx_PyCFunction_Call PyObject_Call
+#else
+ #define __Pyx_PyCFunction_Call PyCFunction_Call
+#endif
+
+#if PY_VERSION_HEX < 0x02050000
+ typedef int Py_ssize_t;
+ #define PY_SSIZE_T_MAX INT_MAX
+ #define PY_SSIZE_T_MIN INT_MIN
+ #define PY_FORMAT_SIZE_T ""
+ #define PyInt_FromSsize_t(z) PyInt_FromLong(z)
+ #define PyInt_AsSsize_t(o) __Pyx_PyInt_AsInt(o)
+ #define PyNumber_Index(o) PyNumber_Int(o)
+ #define PyIndex_Check(o) PyNumber_Check(o)
+ #define PyErr_WarnEx(category, message, stacklevel) PyErr_Warn(category, message)
+ #define __PYX_BUILD_PY_SSIZE_T "i"
+#else
+ #define __PYX_BUILD_PY_SSIZE_T "n"
+#endif
+
+#if PY_VERSION_HEX < 0x02060000
+ #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
+ #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
+ #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
+ #define PyVarObject_HEAD_INIT(type, size) \
+ PyObject_HEAD_INIT(type) size,
+ #define PyType_Modified(t)
+
+ typedef struct {
+ void *buf;
+ PyObject *obj;
+ Py_ssize_t len;
+ Py_ssize_t itemsize;
+ int readonly;
+ int ndim;
+ char *format;
+ Py_ssize_t *shape;
+ Py_ssize_t *strides;
+ Py_ssize_t *suboffsets;
+ void *internal;
+ } Py_buffer;
+
+ #define PyBUF_SIMPLE 0
+ #define PyBUF_WRITABLE 0x0001
+ #define PyBUF_FORMAT 0x0004
+ #define PyBUF_ND 0x0008
+ #define PyBUF_STRIDES (0x0010 | PyBUF_ND)
+ #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
+ #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
+ #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
+ #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
+ #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_FORMAT | PyBUF_WRITABLE)
+ #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_FORMAT | PyBUF_WRITABLE)
+
+ typedef int (*getbufferproc)(PyObject *, Py_buffer *, int);
+ typedef void (*releasebufferproc)(PyObject *, Py_buffer *);
+#endif
+
+#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, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
+#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)
+#endif
+
+#if PY_MAJOR_VERSION < 3 && PY_MINOR_VERSION < 6
+ #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict")
+#endif
+
+#if PY_MAJOR_VERSION >= 3
+ #define Py_TPFLAGS_CHECKTYPES 0
+ #define Py_TPFLAGS_HAVE_INDEX 0
+#endif
+
+#if (PY_VERSION_HEX < 0x02060000) || (PY_MAJOR_VERSION >= 3)
+ #define Py_TPFLAGS_HAVE_NEWBUFFER 0
+#endif
+
+
+#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_GET_LENGTH)
+ #define CYTHON_PEP393_ENABLED 1
+ #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_LENGTH(u)
+ #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
+#else
+ #define CYTHON_PEP393_ENABLED 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]))
+#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_VERSION_HEX < 0x02060000
+ #define PyBytesObject PyStringObject
+ #define PyBytes_Type PyString_Type
+ #define PyBytes_Check PyString_Check
+ #define PyBytes_CheckExact PyString_CheckExact
+ #define PyBytes_FromString PyString_FromString
+ #define PyBytes_FromStringAndSize PyString_FromStringAndSize
+ #define PyBytes_FromFormat PyString_FromFormat
+ #define PyBytes_DecodeEscape PyString_DecodeEscape
+ #define PyBytes_AsString PyString_AsString
+ #define PyBytes_AsStringAndSize PyString_AsStringAndSize
+ #define PyBytes_Size PyString_Size
+ #define PyBytes_AS_STRING PyString_AS_STRING
+ #define PyBytes_GET_SIZE PyString_GET_SIZE
+ #define PyBytes_Repr PyString_Repr
+ #define PyBytes_Concat PyString_Concat
+ #define PyBytes_ConcatAndDel PyString_ConcatAndDel
+#endif
+
+#if PY_VERSION_HEX < 0x02060000
+ #define PySet_Check(obj) PyObject_TypeCheck(obj, &PySet_Type)
+ #define PyFrozenSet_Check(obj) PyObject_TypeCheck(obj, &PyFrozenSet_Type)
+#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
+#endif
+
+#if PY_MAJOR_VERSION >= 3
+ #define PyBoolObject PyLongObject
+#endif
+
+#if PY_VERSION_HEX < 0x03020000
+ 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) || (PY_VERSION_HEX >= 0x03010300)
+ #define __Pyx_PySequence_GetSlice(obj, a, b) PySequence_GetSlice(obj, a, b)
+ #define __Pyx_PySequence_SetSlice(obj, a, b, value) PySequence_SetSlice(obj, a, b, value)
+ #define __Pyx_PySequence_DelSlice(obj, a, b) PySequence_DelSlice(obj, a, b)
+#else
+ #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \
+ (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), (PyObject*)0) : \
+ (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_GetSlice(obj, a, b)) : \
+ (PyErr_Format(PyExc_TypeError, "'%.200s' object is unsliceable", (obj)->ob_type->tp_name), (PyObject*)0)))
+ #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \
+ (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), -1) : \
+ (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_SetSlice(obj, a, b, value)) : \
+ (PyErr_Format(PyExc_TypeError, "'%.200s' object doesn't support slice assignment", (obj)->ob_type->tp_name), -1)))
+ #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \
+ (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), -1) : \
+ (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_DelSlice(obj, a, b)) : \
+ (PyErr_Format(PyExc_TypeError, "'%.200s' object doesn't support slice deletion", (obj)->ob_type->tp_name), -1)))
+#endif
+
+#if PY_MAJOR_VERSION >= 3
+ #define PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
+#endif
+
+#if PY_VERSION_HEX < 0x02050000
+ #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),((char *)(n)))
+ #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a))
+ #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),((char *)(n)))
+#else
+ #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),(n))
+ #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a))
+ #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),(n))
+#endif
+
+#if PY_VERSION_HEX < 0x02050000
+ #define __Pyx_NAMESTR(n) ((char *)(n))
+ #define __Pyx_DOCSTR(n) ((char *)(n))
+#else
+ #define __Pyx_NAMESTR(n) (n)
+ #define __Pyx_DOCSTR(n) (n)
+#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__elementary__c_elementary
+#define __PYX_HAVE_API__elementary__c_elementary
+#include "Evas.h"
+#include "evas/evas_object_image_python_extras.h"
+#include "stdlib.h"
+#include "string.h"
+#include "time.h"
+#include "Ecore.h"
+#include "Ecore_X.h"
+#include "Edje.h"
+#include "Elementary.h"
+#include "stdio.h"
+#include "pythread.h"
+#ifdef _OPENMP
+#include <omp.h>
+#endif /* _OPENMP */
+
+#ifdef PYREX_WITHOUT_ASSERTIONS
+#define CYTHON_WITHOUT_ASSERTIONS
+#endif
+
+
+/* inline attribute */
+#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
+
+/* unused attribute */
+#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 long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/
+
+
+/* Type Conversion Predeclarations */
+
+#define __Pyx_PyBytes_FromUString(s) PyBytes_FromString((char*)s)
+#define __Pyx_PyBytes_AsUString(s) ((unsigned char*) PyBytes_AsString(s))
+
+#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);
+static CYTHON_INLINE size_t __Pyx_PyInt_AsSize_t(PyObject*);
+
+#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
+#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
+
+#ifdef __GNUC__
+ /* Test for GCC > 2.95 */
+ #if __GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))
+ #define likely(x) __builtin_expect(!!(x), 1)
+ #define unlikely(x) __builtin_expect(!!(x), 0)
+ #else /* __GNUC__ > 2 ... */
+ #define likely(x) (x)
+ #define unlikely(x) (x)
+ #endif /* __GNUC__ > 2 ... */
+#else /* __GNUC__ */
+ #define likely(x) (x)
+ #define unlikely(x) (x)
+#endif /* __GNUC__ */
+
+static PyObject *__pyx_m;
+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[] = {
+ "elementary.c_elementary_entry.pxi",
+ "elementary.c_elementary.pyx",
+ "elementary.c_elementary_object.pxi",
+ "elementary.c_elementary_genlist.pxi",
+ "elementary.c_elementary_menu.pxi",
+ "elementary.c_elementary_configuration.pxi",
+ "elementary.c_elementary_need.pxi",
+ "elementary.c_elementary_theme.pxi",
+ "elementary.c_elementary_object_item.pxi",
+ "elementary.c_elementary_gesture_layer.pxi",
+ "elementary.c_elementary_layout_class.pxi",
+ "elementary.c_elementary_layout.pxi",
+ "elementary.c_elementary_image.pxi",
+ "elementary.c_elementary_button.pxi",
+ "elementary.c_elementary_window.pxi",
+ "elementary.c_elementary_innerwindow.pxi",
+ "elementary.c_elementary_background.pxi",
+ "elementary.c_elementary_icon.pxi",
+ "elementary.c_elementary_box.pxi",
+ "elementary.c_elementary_frame.pxi",
+ "elementary.c_elementary_flip.pxi",
+ "elementary.c_elementary_scroller.pxi",
+ "elementary.c_elementary_label.pxi",
+ "elementary.c_elementary_table.pxi",
+ "elementary.c_elementary_clock.pxi",
+ "elementary.c_elementary_hover.pxi",
+ "elementary.c_elementary_bubble.pxi",
+ "elementary.c_elementary_photo.pxi",
+ "elementary.c_elementary_hoversel.pxi",
+ "elementary.c_elementary_toolbar.pxi",
+ "elementary.c_elementary_list.pxi",
+ "elementary.c_elementary_slider.pxi",
+ "elementary.c_elementary_naviframe.pxi",
+ "elementary.c_elementary_radio.pxi",
+ "elementary.c_elementary_check.pxi",
+ "elementary.c_elementary_gengrid.pxi",
+ "elementary.c_elementary_spinner.pxi",
+ "elementary.c_elementary_notify.pxi",
+ "elementary.c_elementary_fileselector.pxi",
+ "elementary.c_elementary_fileselector_entry.pxi",
+ "elementary.c_elementary_fileselector_button.pxi",
+ "elementary.c_elementary_separator.pxi",
+ "elementary.c_elementary_progressbar.pxi",
+ "elementary.c_elementary_panel.pxi",
+ "elementary.c_elementary_web.pxi",
+ "elementary.c_elementary_actionslider.pxi",
+ "elementary.c_elementary_calendar.pxi",
+ "elementary.c_elementary_colorselector.pxi",
+ "elementary.c_elementary_index.pxi",
+ "elementary.c_elementary_ctxpopup.pxi",
+ "elementary.c_elementary_grid.pxi",
+ "elementary.c_elementary_video.pxi",
+ "elementary.c_elementary_conformant.pxi",
+ "elementary.c_elementary_dayselector.pxi",
+ "elementary.c_elementary_panes.pxi",
+ "elementary.c_elementary_thumb.pxi",
+ "elementary.c_elementary_diskselector.pxi",
+ "elementary.c_elementary_datetime.pxi",
+ "elementary.c_elementary_map.pxi",
+ "elementary.c_elementary_mapbuf.pxi",
+ "elementary.c_elementary_multibuttonentry.pxi",
+ "elementary.c_elementary_transit.pxi",
+ "elementary.c_elementary_slideshow.pxi",
+ "elementary.c_elementary_segment_control.pxi",
+ "elementary.c_elementary_popup.pxi",
+ "elementary.c_elementary_plug.pxi",
+ "elementary.c_elementary_photocam.pxi",
+ "elementary.c_elementary_flipselector.pxi",
+ "c_evas.pxd",
+ "bool.pxd",
+ "complex.pxd",
+};
+
+/*--- Type declarations ---*/
+struct PyEvasObject;
+struct PyElementaryObject;
+struct PyElementaryMultiButtonEntry;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlay;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayScale;
+struct __pyx_obj_10elementary_12c_elementary_GengridItemClass;
+struct PyElementaryPopup;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon;
+struct __pyx_obj_10elementary_12c_elementary_LayoutClass;
+struct PyElementaryHover;
+struct __pyx_obj_10elementary_12c_elementary_ObjectItem;
+struct __pyx_obj_10elementary_12c_elementary_GenlistItem;
+struct __pyx_obj_4evas_6c_evas_EventMouseDown;
+struct PyElementaryScroller;
+struct PyEvasRect;
+struct __pyx_obj_4evas_6c_evas_EventMultiUp;
+struct PyElementaryCtxpopup;
+struct PyElementaryImage;
+struct PyElementaryIcon;
+struct PyElementaryGengrid;
+struct PyElementaryInnerWindow;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble;
+struct PyElementaryPhoto;
+struct PyElementaryGestureLayer;
+struct PyElementaryButton;
+struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem;
+struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem;
+struct PyElementaryMap;
+struct __pyx_obj_4evas_6c_evas_EventCoordPoint;
+struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem;
+struct __pyx_obj_4evas_6c_evas_EventMultiDown;
+struct PyEvasSmartObject;
+struct PyEvasClippedSmartObject;
+struct PyElementaryActionslider;
+struct PyElementaryFileselector;
+struct __pyx_obj_10elementary_12c_elementary_ListItem;
+struct PyElementaryFrame;
+struct __pyx_obj_4evas_6c_evas_EventMouseWheel;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayCircle;
+struct PyElementaryMapbuf;
+struct __pyx_obj_4evas_6c_evas_EventMouseUp;
+struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState;
+struct PyEvasRectangle;
+struct __pyx_obj_10elementary_12c_elementary_NaviframeItem;
+struct PyElementaryDayselector;
+struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem;
+struct PyElementaryBubble;
+struct PyElementarySlideshow;
+struct PyElementaryNotify;
+struct PyElementaryLayout;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayRoute;
+struct __pyx_obj_4evas_6c_evas_EventPosition;
+struct PyElementaryFileselectorButton;
+struct PyElementarySpinner;
+struct __pyx_obj_4evas_6c_evas_EventHold;
+struct PyElementaryPhotocam;
+struct PyElementaryToolbar;
+struct PyElementaryLabel;
+struct __pyx_obj_10elementary_12c_elementary_MapRoute;
+struct PyElementaryDatetime;
+struct PyElementaryThumb;
+struct PyElementaryBox;
+struct __pyx_obj_10elementary_12c_elementary_MenuItem;
+struct __pyx_obj_10elementary_12c_elementary_Configuration;
+struct PyElementarySeparator;
+struct __pyx_obj_4evas_6c_evas_EventMouseOut;
+struct PyElementaryPanel;
+struct PyElementaryColorselector;
+struct __pyx_obj_4evas_6c_evas_EventKeyDown;
+struct PyElementaryPanes;
+struct PyElementaryIndex;
+struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem;
+struct __pyx_obj_10elementary_12c_elementary_IndexItem;
+struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem;
+struct __pyx_obj_10elementary_12c_elementary_Theme;
+struct __pyx_obj_10elementary_12c_elementary_HoverselItem;
+struct __pyx_obj_4evas_6c_evas_EventMouseIn;
+struct __pyx_obj_4evas_6c_evas_EventKeyUp;
+struct PyElementarySegmentControl;
+struct PyElementaryPlug;
+struct PyEvasImage;
+struct PyEvasFilledImage;
+struct __pyx_obj_4evas_6c_evas_EventMultiMove;
+struct PyEvasPolygon;
+struct PyElementaryTable;
+struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint;
+struct PyElementaryConformant;
+struct PyElementaryClock;
+struct __pyx_obj_4evas_6c_evas_EventPoint;
+struct PyElementaryDiskselector;
+struct PyElementaryEntry;
+struct __pyx_obj_10elementary_12c_elementary_PopupItem;
+struct PyElementaryNaviframe;
+struct PyElementaryVideo;
+struct PyElementaryWeb;
+struct PyElementaryFlip;
+struct PyEvasTextblock;
+struct __pyx_obj_10elementary_12c_elementary_GengridItem;
+struct __pyx_obj_10elementary_12c_elementary_Transit;
+struct __pyx_obj_10elementary_12c_elementary_ToolbarItem;
+struct PyElementaryCheck;
+struct PyElementaryGenlist;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayLine;
+struct PyEvasLine;
+struct PyElementaryWindow;
+struct PyElementaryStandardWindow;
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass;
+struct PyElementaryGrid;
+struct PyElementaryCalendar;
+struct __pyx_obj_4evas_6c_evas_EventMouseMove;
+struct __pyx_obj_10elementary_12c_elementary_CalendarMark;
+struct __pyx_obj_10elementary_12c_elementary_SlideshowItem;
+struct PyElementaryFlipSelector;
+struct __pyx_obj_10elementary_12c_elementary_MapName;
+struct PyElementaryRadio;
+struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition;
+struct PyElementaryProgressbar;
+struct PyElementaryMenu;
+struct PyElementaryPlayer;
+struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass;
+struct PyElementaryFileselectorEntry;
+struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass;
+struct PyEvasCanvas;
+struct __pyx_obj_10elementary_12c_elementary_Canvas;
+struct PyElementaryHoversel;
+struct PyElementarySlider;
+struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem;
+struct PyEvasText;
+struct PyElementaryBackground;
+struct PyElementaryList;
+struct __pyx_opt_args_10elementary_12c_elementary__METHOD_DEPRECATED;
+struct __pyx_opt_args_10elementary_12c_elementary_11GenlistItem__set_obj;
+struct __pyx_opt_args_10elementary_12c_elementary_13SlideshowItem__set_obj;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":19
+ * #
+ *
+ * ctypedef enum Elm_Box_CLayout: # <<<<<<<<<<<<<<
+ * ELM_BOX_LAYOUT_HORIZONTAL
+ * ELM_BOX_LAYOUT_VERTICAL
+ */
+enum __pyx_t_10elementary_12c_elementary_Elm_Box_CLayout {
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HORIZONTAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_VERTICAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_FLOW_HORIZONTAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_FLOW_VERTICAL,
+ __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_STACK
+};
+typedef enum __pyx_t_10elementary_12c_elementary_Elm_Box_CLayout __pyx_t_10elementary_12c_elementary_Elm_Box_CLayout;
+enum __pyx_t_10elementary_12c_elementary_Elm_List_Item_Insert_Kind {
+ __pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_APPEND,
+ __pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_PREPEND,
+ __pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_BEFORE,
+ __pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_AFTER,
+ __pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_SORTED
+};
+enum __pyx_t_10elementary_12c_elementary_Elm_Index_Item_Insert_Kind {
+ __pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_APPEND,
+ __pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_PREPEND,
+ __pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_BEFORE,
+ __pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_AFTER,
+ __pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_SORTED
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":35
+ * traceback.print_exc()
+ *
+ * cdef enum Elm_MultiButtonEntry_Item_Insert_Kind: # <<<<<<<<<<<<<<
+ * ELM_MULTIBUTTONENTRY_INSERT_APPEND
+ * ELM_MULTIBUTTONENTRY_INSERT_PREPEND
+ */
+enum __pyx_t_10elementary_12c_elementary_Elm_MultiButtonEntry_Item_Insert_Kind {
+ __pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_APPEND,
+ __pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_PREPEND,
+ __pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_BEFORE,
+ __pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_AFTER
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":209
+ * return obj.ob_refcnt
+ *
+ * cdef _METHOD_DEPRECATED(self, replacement=None, message=None): # <<<<<<<<<<<<<<
+ * stack = traceback.extract_stack()
+ * caller = stack[-1]
+ */
+struct __pyx_opt_args_10elementary_12c_elementary__METHOD_DEPRECATED {
+ int __pyx_n;
+ PyObject *replacement;
+ PyObject *message;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":288
+ * """An item for the L{Genlist} widget."""
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0: # <<<<<<<<<<<<<<
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ */
+struct __pyx_opt_args_10elementary_12c_elementary_11GenlistItem__set_obj {
+ int __pyx_n;
+ PyObject *params;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":174
+ * """An item for Slideshow."""
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0: # <<<<<<<<<<<<<<
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ */
+struct __pyx_opt_args_10elementary_12c_elementary_13SlideshowItem__set_obj {
+ int __pyx_n;
+ PyObject *params;
+};
+
+/* "evas/c_evas.pxd":1110
+ *
+ *
+ * cdef public class Object [object PyEvasObject, type PyEvasObject_Type]: # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj
+ * cdef readonly Canvas evas
+ */
+struct PyEvasObject {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_Object *__pyx_vtab;
+ Evas_Object *obj;
+ struct PyEvasCanvas *evas;
+ PyObject *data;
+ PyObject *_callbacks;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasObject_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":134
+ * pass
+ *
+ * cdef public class Object(evasObject) [object PyElementaryObject, type PyElementaryObject_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An abstract class to manage object and callback handling.
+ */
+struct PyElementaryObject {
+ struct PyEvasObject __pyx_base;
+ PyObject *_elmcallbacks;
+ PyObject *_elm_event_cbs;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryObject_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":113
+ *
+ *
+ * cdef public class MultiButtonEntry(Object) [object PyElementaryMultiButtonEntry, type PyElementaryMultiButtonEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Multibuttonentry is a widget to allow a user enter text and manage
+ */
+struct PyElementaryMultiButtonEntry {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMultiButtonEntry_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":162
+ *
+ *
+ * cdef class MapOverlay(object): # <<<<<<<<<<<<<<
+ * cdef Elm_Map_Overlay *overlay
+ * cdef void* cb_get_data
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlay {
+ PyObject_HEAD
+ Elm_Map_Overlay *overlay;
+ void *cb_get_data;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":402
+ *
+ *
+ * cdef class MapOverlayScale(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map, x, y):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayScale {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":112
+ * traceback.print_exc()
+ *
+ * cdef class GengridItemClass: # <<<<<<<<<<<<<<
+ * """Defines the behavior of each grid item.
+ *
+ */
+struct __pyx_obj_10elementary_12c_elementary_GengridItemClass {
+ PyObject_HEAD
+ Elm_Gengrid_Item_Class obj;
+ PyObject *_item_style;
+ PyObject *_text_get_func;
+ PyObject *_content_get_func;
+ PyObject *_state_get_func;
+ PyObject *_del_func;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":68
+ * self.params[1])
+ *
+ * cdef public class Popup(Object) [object PyElementaryPopup, type PyElementaryPopup_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget is an enhancement of L{Notify}.
+ */
+struct PyElementaryPopup {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPopup_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":381
+ *
+ *
+ * cdef class MapOverlayPolygon(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":19
+ * #
+ *
+ * cdef class LayoutClass(Object): # <<<<<<<<<<<<<<
+ *
+ * """Elementary, besides having the L{Layout} widget, exposes its
+ */
+struct __pyx_obj_10elementary_12c_elementary_LayoutClass {
+ struct PyElementaryObject __pyx_base;
+};
+
+struct PyElementaryHover {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryHover_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":33
+ * Py_DECREF(<object>data)
+ *
+ * cdef class ObjectItem # <<<<<<<<<<<<<<
+ *
+ * def _cb_object_item_conv(long addr):
+ */
+struct __pyx_obj_10elementary_12c_elementary_ObjectItem {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem *__pyx_vtab;
+ Elm_Object_Item *item;
+ PyObject *params;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":284
+ * return False
+ *
+ * cdef class GenlistItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Genlist} widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_GenlistItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "evas/c_evas.pxd":1014
+ *
+ *
+ * cdef class EventMouseDown: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Down *obj
+ * cdef readonly EventPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMouseDown {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMouseDown *__pyx_vtab;
+ Evas_Event_Mouse_Down *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *position;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":19
+ * #
+ *
+ * cdef public class Scroller(Object) [object PyElementaryScroller, type PyElementaryScroller_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A scroller holds a single object and "scrolls it around".
+ */
+struct PyElementaryScroller {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryScroller_Type;
+
+/* "evas/c_evas.pxd":952
+ *
+ *
+ * cdef public class Rect [object PyEvasRect, type PyEvasRect_Type]: # <<<<<<<<<<<<<<
+ * cdef int x0, y0, x1, y1, cx, cy, _w, _h
+ *
+ */
+struct PyEvasRect {
+ PyObject_HEAD
+ int x0;
+ int y0;
+ int x1;
+ int y1;
+ int cx;
+ int cy;
+ int _w;
+ int _h;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasRect_Type;
+
+/* "evas/c_evas.pxd":1051
+ *
+ *
+ * cdef class EventMultiUp: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Multi_Up *obj
+ * cdef readonly EventPrecisionPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMultiUp {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMultiUp *__pyx_vtab;
+ Evas_Event_Multi_Up *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition *position;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":41
+ * Py_DECREF(self)
+ *
+ * cdef public class Ctxpopup(Object) [object PyElementaryCtxpopup, type PyElementaryCtxpopup_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Context popup widget.
+ */
+struct PyElementaryCtxpopup {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryCtxpopup_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":19
+ * #
+ *
+ * cdef public class Image(Object) [object PyElementaryImage, type PyElementaryImage_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An Elementary image object allows one to load and display an image
+ */
+struct PyElementaryImage {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryImage_Type;
+struct PyElementaryIcon {
+ struct PyElementaryImage __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryIcon_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":548
+ * self.select_mode_set(value)
+ *
+ * cdef public class Gengrid(Object) [object PyElementaryGengrid, type PyElementaryGengrid_Type]: # <<<<<<<<<<<<<<
+ * """Creates a generic, scalable and extensible grid widget.
+ *
+ */
+struct PyElementaryGengrid {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGengrid_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":19
+ * #
+ *
+ * cdef public class InnerWindow(LayoutClass) [object PyElementaryInnerWindow, type PyElementaryInnerWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An inwin is a window inside a window that is useful for a quick popup.
+ */
+struct PyElementaryInnerWindow {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryInnerWindow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":354
+ *
+ *
+ * cdef class MapOverlayBubble(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":19
+ * #
+ *
+ * cdef public class Photo(Object) [object PyElementaryPhoto, type PyElementaryPhoto_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An Elementary photo widget is intended for displaying a photo, for
+ */
+struct PyElementaryPhoto {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPhoto_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":32
+ * traceback.print_exc()
+ *
+ * cdef public class GestureLayer(Object) [object PyElementaryGestureLayer, type PyElementaryGestureLayer_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Use Gesture Layer to detect gestures. The advantage is that you don't
+ */
+struct PyElementaryGestureLayer {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGestureLayer_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":19
+ * #
+ *
+ * cdef public class Button(LayoutClass) [object PyElementaryButton, type PyElementaryButton_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a push-button. Press it and run some function. It can contain
+ */
+struct PyElementaryButton {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryButton_Type;
+struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":420
+ *
+ *
+ * cdef public class Map(Object)[object PyElementaryMap, type PyElementaryMap_Type]: # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject parent):
+ */
+struct PyElementaryMap {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMap_Type;
+
+/* "evas/c_evas.pxd":964
+ *
+ *
+ * cdef class EventCoordPoint: # <<<<<<<<<<<<<<
+ * cdef Evas_Coord_Point *obj
+ *
+ */
+struct __pyx_obj_4evas_6c_evas_EventCoordPoint {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventCoordPoint *__pyx_vtab;
+ Evas_Coord_Point *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":19
+ * #
+ *
+ * cdef class ColorselectorPaletteItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Colorselector} widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "evas/c_evas.pxd":1042
+ *
+ *
+ * cdef class EventMultiDown: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Multi_Down *obj
+ * cdef readonly EventPrecisionPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMultiDown {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMultiDown *__pyx_vtab;
+ Evas_Event_Multi_Down *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition *position;
+};
+
+
+/* "evas/c_evas.pxd":1120
+ *
+ *
+ * cdef public class SmartObject(Object) [object PyEvasSmartObject, # <<<<<<<<<<<<<<
+ * type PyEvasSmartObject_Type]:
+ * cdef object _smart_callbacks
+ */
+struct PyEvasSmartObject {
+ struct PyEvasObject __pyx_base;
+ PyObject *_smart_callbacks;
+ PyObject *_m_delete;
+ PyObject *_m_move;
+ PyObject *_m_resize;
+ PyObject *_m_show;
+ PyObject *_m_hide;
+ PyObject *_m_color_set;
+ PyObject *_m_clip_set;
+ PyObject *_m_clip_unset;
+ PyObject *_m_calculate;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasSmartObject_Type;
+
+/* "evas/c_evas.pxd":1164
+ *
+ *
+ * cdef public class ClippedSmartObject(SmartObject) \ # <<<<<<<<<<<<<<
+ * [object PyEvasClippedSmartObject, type PyEvasClippedSmartObject_Type]:
+ * cdef readonly Rectangle clipper
+ */
+struct PyEvasClippedSmartObject {
+ struct PyEvasSmartObject __pyx_base;
+ struct PyEvasRectangle *clipper;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasClippedSmartObject_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":19
+ * #
+ *
+ * cdef public class Actionslider(LayoutClass) [object PyElementaryActionslider, type PyElementaryActionslider_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An actionslider is a switcher for two or three labels with
+ */
+struct PyElementaryActionslider {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryActionslider_Type;
+struct PyElementaryFileselector {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+ PyObject *_cbs;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFileselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":26
+ * ELM_LIST_ITEM_INSERT_SORTED
+ *
+ * cdef class ListItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the list widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_ListItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":19
+ * #
+ *
+ * cdef public class Frame(LayoutClass) [object PyElementaryFrame, type PyElementaryFrame_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Frame is a widget that holds some content and has a title.
+ */
+struct PyElementaryFrame {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFrame_Type;
+
+/* "evas/c_evas.pxd":1069
+ *
+ *
+ * cdef class EventMouseWheel: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Wheel *obj
+ * cdef readonly EventPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMouseWheel {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMouseWheel *__pyx_vtab;
+ Evas_Event_Mouse_Wheel *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *position;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":393
+ *
+ *
+ * cdef class MapOverlayCircle(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map, lon, lat, radius):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayCircle {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":19
+ * #
+ *
+ * cdef public class Mapbuf(Object) [object PyElementaryMapbuf, type PyElementaryMapbuf_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This holds one content object and uses an Evas Map of transformation
+ */
+struct PyElementaryMapbuf {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMapbuf_Type;
+
+/* "evas/c_evas.pxd":1023
+ *
+ *
+ * cdef class EventMouseUp: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Up *obj
+ * cdef readonly EventPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMouseUp {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMouseUp *__pyx_vtab;
+ Evas_Event_Mouse_Up *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *position;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":19
+ * #
+ *
+ * cdef class ToolbarItemState(object): # <<<<<<<<<<<<<<
+ *
+ * """A state for a L{ToolbarItem}."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState {
+ PyObject_HEAD
+ Elm_Toolbar_Item_State *obj;
+ PyObject *params;
+};
+
+
+/* "evas/c_evas.pxd":1134
+ *
+ *
+ * cdef public class Rectangle(Object) [object PyEvasRectangle, # <<<<<<<<<<<<<<
+ * type PyEvasRectangle_Type]:
+ * pass
+ */
+struct PyEvasRectangle {
+ struct PyEvasObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasRectangle_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":20
+ * #
+ *
+ * cdef class NaviframeItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the Naviframe widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_NaviframeItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":19
+ * #
+ *
+ * cdef public class Dayselector(LayoutClass) [object PyElementaryDayselector, type PyElementaryDayselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Dayselector displays all seven days of the week and allows the user to
+ */
+struct PyElementaryDayselector {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryDayselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":41
+ * ELM_MULTIBUTTONENTRY_INSERT_AFTER
+ *
+ * cdef class MultiButtonEntryItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the MultiButtonEntry widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":19
+ * #
+ *
+ * cdef public class Bubble(LayoutClass) [object PyElementaryBubble, type PyElementaryBubble_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The Bubble is a widget to show text similar to how speech is
+ */
+struct PyElementaryBubble {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryBubble_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":237
+ *
+ *
+ * cdef public class Slideshow(LayoutClass) [object PyElementarySlideshow, type PyElementarySlideshow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget, as the name indicates, is a pre-made image
+ */
+struct PyElementarySlideshow {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySlideshow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":18
+ * # along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * cdef public class Notify(Object) [object PyElementaryNotify, type PyElementaryNotify_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Display a container in a particular region of the parent.
+ */
+struct PyElementaryNotify {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryNotify_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":19
+ * #
+ *
+ * cdef public class Layout(LayoutClass) [object PyElementaryLayout, type PyElementaryLayout_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a container widget that takes a standard Edje design file and
+ */
+struct PyElementaryLayout {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryLayout_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":411
+ *
+ *
+ * cdef class MapOverlayRoute(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map, MapRoute route):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayRoute {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "evas/c_evas.pxd":980
+ *
+ *
+ * cdef class EventPosition: # <<<<<<<<<<<<<<
+ * cdef readonly EventPoint output
+ * cdef readonly EventCoordPoint canvas
+ */
+struct __pyx_obj_4evas_6c_evas_EventPosition {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventPosition *__pyx_vtab;
+ struct __pyx_obj_4evas_6c_evas_EventPoint *output;
+ struct __pyx_obj_4evas_6c_evas_EventCoordPoint *canvas;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":19
+ * #
+ *
+ * cdef public class FileselectorButton(Button) [object PyElementaryFileselectorButton, type PyElementaryFileselectorButton_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a button that, when clicked, creates an Elementary window (or
+ */
+struct PyElementaryFileselectorButton {
+ struct PyElementaryButton __pyx_base;
+ PyObject *_cbs;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFileselectorButton_Type;
+struct PyElementarySpinner {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySpinner_Type;
+
+/* "evas/c_evas.pxd":1094
+ *
+ *
+ * cdef class EventHold: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Hold *obj
+ *
+ */
+struct __pyx_obj_4evas_6c_evas_EventHold {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventHold *__pyx_vtab;
+ Evas_Event_Hold *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":21
+ * from evas.c_evas cimport Image as evasImage
+ *
+ * cdef public class Photocam(Object) [object PyElementaryPhotocam, type PyElementaryPhotocam_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a widget specifically for displaying high-resolution digital
+ */
+struct PyElementaryPhotocam {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPhotocam_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":594
+ * #return elm_toolbar_item_state_prev(self.item)
+ *
+ * cdef public class Toolbar(Object) [object PyElementaryToolbar, type PyElementaryToolbar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A toolbar is a widget that displays a list of items inside a box. It
+ */
+struct PyElementaryToolbar {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryToolbar_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":19
+ * #
+ *
+ * cdef public class Label(LayoutClass) [object PyElementaryLabel, type PyElementaryLabel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Widget to display text, with simple html-like markup.
+ */
+struct PyElementaryLabel {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryLabel_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":70
+ *
+ *
+ * cdef class MapRoute(object): # <<<<<<<<<<<<<<
+ * cdef Elm_Map_Route *route
+ *
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapRoute {
+ PyObject_HEAD
+ Elm_Map_Route *route;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":21
+ * from datetime import datetime
+ *
+ * cdef public class Datetime(Object) [object PyElementaryDatetime, type PyElementaryDatetime_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Datetime widget is used to display and input date & time values.
+ */
+struct PyElementaryDatetime {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryDatetime_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":19
+ * #
+ *
+ * cdef public class Thumb(Object) [object PyElementaryThumb, type PyElementaryThumb_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A thumbnail object is used for displaying the thumbnail of an image
+ */
+struct PyElementaryThumb {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryThumb_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":52
+ *
+ *
+ * cdef public class Box(Object) [object PyElementaryBox, type PyElementaryBox_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A box arranges objects in a linear fashion, governed by a layout function
+ */
+struct PyElementaryBox {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryBox_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":19
+ * #
+ *
+ * cdef class MenuItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Menu} widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_MenuItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+struct __pyx_obj_10elementary_12c_elementary_Configuration {
+ PyObject_HEAD
+};
+
+struct PyElementarySeparator {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySeparator_Type;
+
+/* "evas/c_evas.pxd":1005
+ *
+ *
+ * cdef class EventMouseOut: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Out *obj
+ * cdef readonly EventPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMouseOut {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMouseOut *__pyx_vtab;
+ Evas_Event_Mouse_Out *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *position;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":20
+ * #
+ *
+ * cdef public class Panel(Object) [object PyElementaryPanel, type PyElementaryPanel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A panel is a type of animated container that contains subobjects.
+ */
+struct PyElementaryPanel {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPanel_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":53
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+ *
+ * cdef public class Colorselector(LayoutClass) [object PyElementaryColorselector, type PyElementaryColorselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Colorselector is a color selection widget.
+ */
+struct PyElementaryColorselector {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryColorselector_Type;
+
+/* "evas/c_evas.pxd":1078
+ *
+ *
+ * cdef class EventKeyDown: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Key_Down *obj
+ *
+ */
+struct __pyx_obj_4evas_6c_evas_EventKeyDown {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventKeyDown *__pyx_vtab;
+ Evas_Event_Key_Down *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":19
+ * #
+ *
+ * cdef public class Panes(LayoutClass) [object PyElementaryPanes, type PyElementaryPanes_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The panes widget adds a draggable bar between two contents. When
+ */
+struct PyElementaryPanes {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPanes_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":121
+ * return item.item
+ *
+ * cdef public class Index(LayoutClass) [object PyElementaryIndex, type PyElementaryIndex_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An index widget gives you an index for fast access to whichever
+ */
+struct PyElementaryIndex {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryIndex_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":226
+ * return _object_item_to_python(elm_menu_item_prev_get(self.item))
+ *
+ * cdef class MenuSeparatorItem(ObjectItem): # <<<<<<<<<<<<<<
+ * def __init__(self, evasObject menu, MenuItem parent):
+ * cdef Elm_Object_Item *parent_obj = NULL
+ */
+struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":26
+ * ELM_INDEX_ITEM_INSERT_SORTED
+ *
+ * cdef class IndexItem(ObjectItem): # <<<<<<<<<<<<<<
+ * def __init__(self, kind, evasObject index, letter, IndexItem before_after = None,
+ * callback = None, *args, **kargs):
+ */
+struct __pyx_obj_10elementary_12c_elementary_IndexItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":19
+ * #
+ *
+ * cdef class DiskselectorItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the Diskselector widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+struct __pyx_obj_10elementary_12c_elementary_Theme {
+ PyObject_HEAD
+ Elm_Theme *th;
+};
+
+struct __pyx_obj_10elementary_12c_elementary_HoverselItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "evas/c_evas.pxd":996
+ *
+ *
+ * cdef class EventMouseIn: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_In *obj
+ * cdef readonly EventPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMouseIn {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMouseIn *__pyx_vtab;
+ Evas_Event_Mouse_In *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *position;
+};
+
+
+/* "evas/c_evas.pxd":1086
+ *
+ *
+ * cdef class EventKeyUp: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Key_Up *obj
+ *
+ */
+struct __pyx_obj_4evas_6c_evas_EventKeyUp {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventKeyUp *__pyx_vtab;
+ Evas_Event_Key_Up *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":103
+ * elm_segment_control_item_selected_set(self.item, select)
+ *
+ * cdef public class SegmentControl(LayoutClass) [object PyElementarySegmentControl, type PyElementarySegmentControl_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Segment control widget is a horizontal control made of multiple
+ */
+struct PyElementarySegmentControl {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySegmentControl_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":21
+ * from evas.c_evas cimport Image as evasImage
+ *
+ * cdef public class Plug(Object) [object PyElementaryPlug, type PyElementaryPlug_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An object that allows one to show an image which other process created.
+ */
+struct PyElementaryPlug {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPlug_Type;
+
+/* "evas/c_evas.pxd":1143
+ *
+ *
+ * cdef public class Image(Object) [object PyEvasImage, type PyEvasImage_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+struct PyEvasImage {
+ struct PyEvasObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasImage_Type;
+
+/* "evas/c_evas.pxd":1147
+ *
+ *
+ * cdef public class FilledImage(Image) [object PyEvasFilledImage, # <<<<<<<<<<<<<<
+ * type PyEvasFilledImage_Type]:
+ * pass
+ */
+struct PyEvasFilledImage {
+ struct PyEvasImage __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasFilledImage_Type;
+
+/* "evas/c_evas.pxd":1060
+ *
+ *
+ * cdef class EventMultiMove: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Multi_Move *obj
+ * cdef readonly EventPrecisionPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMultiMove {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMultiMove *__pyx_vtab;
+ Evas_Event_Multi_Move *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition *position;
+};
+
+
+/* "evas/c_evas.pxd":1152
+ *
+ *
+ * cdef public class Polygon(Object) [object PyEvasPolygon, # <<<<<<<<<<<<<<
+ * type PyEvasPolygon_Type]:
+ * pass
+ */
+struct PyEvasPolygon {
+ struct PyEvasObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasPolygon_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":19
+ * #
+ *
+ * cdef public class Table(Object) [object PyElementaryTable, type PyElementaryTable_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A container widget to arrange other widgets in a table where items can
+ */
+struct PyElementaryTable {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryTable_Type;
+
+/* "evas/c_evas.pxd":972
+ *
+ *
+ * cdef class EventPrecisionPoint: # <<<<<<<<<<<<<<
+ * cdef Evas_Coord_Precision_Point *obj
+ *
+ */
+struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPoint *__pyx_vtab;
+ Evas_Coord_Precision_Point *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":19
+ * #
+ *
+ * cdef public class Conformant(LayoutClass) [object PyElementaryConformant, type PyElementaryConformant_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The aim is to provide a widget that can be used in elementary apps to
+ */
+struct PyElementaryConformant {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryConformant_Type;
+struct PyElementaryClock {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryClock_Type;
+
+/* "evas/c_evas.pxd":956
+ *
+ *
+ * cdef class EventPoint: # <<<<<<<<<<<<<<
+ * cdef Evas_Point *obj
+ *
+ */
+struct __pyx_obj_4evas_6c_evas_EventPoint {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventPoint *__pyx_vtab;
+ Evas_Point *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":110
+ * return _object_item_to_python(it)
+ *
+ * cdef public class Diskselector(Object) [object PyElementaryDiskselector, type PyElementaryDiskselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A diskselector is a kind of list widget. It scrolls horizontally,
+ */
+struct PyElementaryDiskselector {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryDiskselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":76
+ * return eahi
+ *
+ * cdef public class Entry(Object) [object PyElementaryEntry, type PyElementaryEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An entry is a convenience widget which shows a box that the user can
+ */
+struct PyElementaryEntry {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryEntry_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":19
+ * #
+ *
+ * cdef class PopupItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for L{Popup}.
+ */
+struct __pyx_obj_10elementary_12c_elementary_PopupItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":130
+ * elm_naviframe_item_title_visible_set(self.item, visible)
+ *
+ * cdef public class Naviframe(LayoutClass) [object PyElementaryNaviframe, type PyElementaryNaviframe_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Naviframe stands for navigation frame. It's a views manager
+ */
+struct PyElementaryNaviframe {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryNaviframe_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":19
+ * #
+ *
+ * cdef public class Video(LayoutClass) [object PyElementaryVideo, type PyElementaryVideo_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Display a video by using Emotion.
+ */
+struct PyElementaryVideo {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryVideo_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":92
+ * traceback.print_exc()
+ *
+ * cdef public class Web(Object) [object PyElementaryWeb, type PyElementaryWeb_Type]: # <<<<<<<<<<<<<<
+ * cdef object _console_message_hook
+ *
+ */
+struct PyElementaryWeb {
+ struct PyElementaryObject __pyx_base;
+ PyObject *_console_message_hook;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryWeb_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":19
+ * #
+ *
+ * cdef public class Flip(Object) [object PyElementaryFlip, type PyElementaryFlip_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget holds two content objects L{Object}: one on the front and one
+ */
+struct PyElementaryFlip {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFlip_Type;
+
+/* "evas/c_evas.pxd":1160
+ * pass
+ *
+ * cdef public class Textblock(Object) [object PyEvasTextblock, type PyEvasTextblock_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+struct PyEvasTextblock {
+ struct PyEvasObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasTextblock_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":284
+ *
+ *
+ * cdef class GengridItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Gengrid} widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_GengridItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":19
+ * #
+ *
+ * cdef class Transit(object): # <<<<<<<<<<<<<<
+ *
+ * """Transit is designed to apply various animated transition effects to
+ */
+struct __pyx_obj_10elementary_12c_elementary_Transit {
+ PyObject_HEAD
+ Elm_Transit *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":40
+ * Py_DECREF(self)
+ *
+ * cdef class ToolbarItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Toolbar} widget."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_ToolbarItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":19
+ * #
+ *
+ * cdef public class Check(LayoutClass) [object PyElementaryCheck, type PyElementaryCheck_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The check widget allows for toggling a value between true and false.
+ */
+struct PyElementaryCheck {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryCheck_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":543
+ * return elm_genlist_item_select_mode_get(self.item)
+ *
+ * cdef public class Genlist(Object) [object PyElementaryGenlist, type PyElementaryGenlist_Type]: # <<<<<<<<<<<<<<
+ * """Creates a generic, scalable and extensible list widget.
+ *
+ */
+struct PyElementaryGenlist {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGenlist_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":372
+ *
+ *
+ * cdef class MapOverlayLine(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map, flon, flat, tlot, tlat):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayLine {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "evas/c_evas.pxd":1139
+ *
+ *
+ * cdef public class Line(Object) [object PyEvasLine, type PyEvasLine_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+struct PyEvasLine {
+ struct PyEvasObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasLine_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":23
+ * from evas.c_evas cimport Canvas_from_instance
+ *
+ * cdef public class Window(Object) [object PyElementaryWindow, type PyElementaryWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The window class of Elementary.
+ */
+struct PyElementaryWindow {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryWindow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1717
+ * _install_metaclass(&PyElementaryWindow_Type, ElementaryObjectMeta)
+ *
+ * cdef public class StandardWindow(Window) [object PyElementaryStandardWindow, type PyElementaryStandardWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A L{Window} with standard setup.
+ */
+struct PyElementaryStandardWindow {
+ struct PyElementaryWindow __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryStandardWindow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":308
+ *
+ *
+ * cdef class MapOverlayClass(MapOverlay): # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map):
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass {
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":19
+ * #
+ *
+ * cdef public class Grid(Object) [object PyElementaryGrid, type PyElementaryGrid_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A grid layout widget.
+ */
+struct PyElementaryGrid {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGrid_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":50
+ * elm_calendar_mark_del(self.obj)
+ *
+ * cdef public class Calendar(LayoutClass) [object PyElementaryCalendar, type PyElementaryCalendar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a calendar widget.
+ */
+struct PyElementaryCalendar {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryCalendar_Type;
+
+/* "evas/c_evas.pxd":1032
+ *
+ *
+ * cdef class EventMouseMove: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Move *obj
+ * cdef readonly EventPosition position
+ */
+struct __pyx_obj_4evas_6c_evas_EventMouseMove {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventMouseMove *__pyx_vtab;
+ Evas_Event_Mouse_Move *obj;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *position;
+ struct __pyx_obj_4evas_6c_evas_EventPosition *prev_position;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":21
+ * from datetime import date
+ *
+ * cdef class CalendarMark(object): # <<<<<<<<<<<<<<
+ * cdef Elm_Calendar_Mark *obj
+ *
+ */
+struct __pyx_obj_10elementary_12c_elementary_CalendarMark {
+ PyObject_HEAD
+ Elm_Calendar_Mark *obj;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":170
+ * return None
+ *
+ * cdef class SlideshowItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for Slideshow."""
+ */
+struct __pyx_obj_10elementary_12c_elementary_SlideshowItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":66
+ * return _object_item_to_python(elm_flipselector_item_next_get(self.item))
+ *
+ * cdef public class FlipSelector(Object) [object PyElementaryFlipSelector, type PyElementaryFlipSelector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A flip selector is a widget to show a set of B{text} items, one
+ */
+struct PyElementaryFlipSelector {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFlipSelector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":118
+ *
+ *
+ * cdef class MapName(object): # <<<<<<<<<<<<<<
+ * cdef Elm_Map_Name *name
+ *
+ */
+struct __pyx_obj_10elementary_12c_elementary_MapName {
+ PyObject_HEAD
+ Elm_Map_Name *name;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":19
+ * #
+ *
+ * cdef public class Radio(LayoutClass) [object PyElementaryRadio, type PyElementaryRadio_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Radio is a widget that allows for one or more options to be displayed
+ */
+struct PyElementaryRadio {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryRadio_Type;
+
+/* "evas/c_evas.pxd":988
+ *
+ *
+ * cdef class EventPrecisionPosition: # <<<<<<<<<<<<<<
+ * cdef readonly EventPoint output
+ * cdef readonly EventPrecisionPoint canvas
+ */
+struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPosition *__pyx_vtab;
+ struct __pyx_obj_4evas_6c_evas_EventPoint *output;
+ struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint *canvas;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":19
+ * #
+ *
+ * cdef public class Progressbar(LayoutClass) [object PyElementaryProgressbar, type PyElementaryProgressbar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The progress bar is a widget for visually representing the progress
+ */
+struct PyElementaryProgressbar {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryProgressbar_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":249
+ * return True
+ *
+ * cdef public class Menu(Object) [object PyElementaryMenu, type PyElementaryMenu_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A menu is a list of items displayed above its parent.
+ */
+struct PyElementaryMenu {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMenu_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":332
+ * _install_metaclass(&PyElementaryVideo_Type, ElementaryObjectMeta)
+ *
+ * cdef public class Player(LayoutClass) [object PyElementaryPlayer, type PyElementaryPlayer_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Player is a video player that need to be linked with a L{Video}.
+ */
+struct PyElementaryPlayer {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPlayer_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":83
+ * return 0
+ *
+ * cdef class SlideshowItemClass (object): # <<<<<<<<<<<<<<
+ * """Defines the behavior of each slideshow item.
+ *
+ */
+struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass {
+ PyObject_HEAD
+ Elm_Slideshow_Item_Class obj;
+ PyObject *_get_func;
+ PyObject *_del_func;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":19
+ * #
+ *
+ * cdef public class FileselectorEntry(Object) [object PyElementaryFileselectorEntry, type PyElementaryFileselectorEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is an entry made to be filled with or display a file
+ */
+struct PyElementaryFileselectorEntry {
+ struct PyElementaryObject __pyx_base;
+ PyObject *_cbs;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFileselectorEntry_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":113
+ * traceback.print_exc()
+ *
+ * cdef class GenlistItemClass: # <<<<<<<<<<<<<<
+ * """Defines the behavior of each list item.
+ *
+ */
+struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass {
+ PyObject_HEAD
+ Elm_Genlist_Item_Class obj;
+ PyObject *_item_style;
+ PyObject *_text_get_func;
+ PyObject *_content_get_func;
+ PyObject *_state_get_func;
+ PyObject *_del_func;
+};
+
+
+/* "evas/c_evas.pxd":1102
+ *
+ *
+ * cdef public class Canvas [object PyEvasCanvas, type PyEvasCanvas_Type]: # <<<<<<<<<<<<<<
+ * cdef Evas *obj
+ * cdef object _callbacks
+ */
+struct PyEvasCanvas {
+ PyObject_HEAD
+ struct __pyx_vtabstruct_4evas_6c_evas_Canvas *__pyx_vtab;
+ Evas *obj;
+ PyObject *_callbacks;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasCanvas_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":130
+ * return ret
+ *
+ * cdef class Canvas(evas.c_evas.Canvas): # <<<<<<<<<<<<<<
+ * def __init__(self):
+ * pass
+ */
+struct __pyx_obj_10elementary_12c_elementary_Canvas {
+ struct PyEvasCanvas __pyx_base;
+};
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":99
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+ *
+ * cdef public class Hoversel(Button) [object PyElementaryHoversel, type PyElementaryHoversel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A hoversel is a button that pops up a list of items (automatically
+ */
+struct PyElementaryHoversel {
+ struct PyElementaryButton __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryHoversel_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":19
+ * #
+ *
+ * cdef public class Slider(LayoutClass) [object PyElementarySlider, type PyElementarySlider_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The slider adds a draggable "slider" widget for selecting the value of
+ */
+struct PyElementarySlider {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySlider_Type;
+struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+
+
+/* "evas/c_evas.pxd":1157
+ *
+ *
+ * cdef public class Text(Object) [object PyEvasText, type PyEvasText_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+struct PyEvasText {
+ struct PyEvasObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasText_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":19
+ * #
+ *
+ * cdef public class Background(LayoutClass) [object PyElementaryBackground, type PyElementaryBackground_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Background widget object
+ */
+struct PyElementaryBackground {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryBackground_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":330
+ * return _object_item_to_python(elm_list_item_next(self.item))
+ *
+ * cdef public class List(Object) [object PyElementaryList, type PyElementaryList_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A list widget is a container whose children are displayed vertically or
+ */
+struct PyElementaryList {
+ struct PyElementaryObject __pyx_base;
+};
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryList_Type;
+
+
+/* "evas/c_evas.pxd":1069
+ *
+ *
+ * cdef class EventMouseWheel: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Wheel *obj
+ * cdef readonly EventPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMouseWheel {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseWheel *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseWheel *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMouseWheel *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMouseWheel *__pyx_vtabptr_4evas_6c_evas_EventMouseWheel;
+
+
+/* "evas/c_evas.pxd":1023
+ *
+ *
+ * cdef class EventMouseUp: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Up *obj
+ * cdef readonly EventPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMouseUp {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseUp *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseUp *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMouseUp *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMouseUp *__pyx_vtabptr_4evas_6c_evas_EventMouseUp;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasObject_Type;
+
+/* "evas/c_evas.pxd":1110
+ *
+ *
+ * cdef public class Object [object PyEvasObject, type PyEvasObject_Type]: # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj
+ * cdef readonly Canvas evas
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Object {
+ int (*_unset_obj)(struct PyEvasObject *);
+ int (*_set_obj)(struct PyEvasObject *, Evas_Object *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Object *__pyx_vtabptr_4evas_6c_evas_Object;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryObject_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":134
+ * pass
+ *
+ * cdef public class Object(evasObject) [object PyElementaryObject, type PyElementaryObject_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An abstract class to manage object and callback handling.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Object {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Object *__pyx_vtabptr_10elementary_12c_elementary_Object;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":19
+ * #
+ *
+ * cdef class LayoutClass(Object): # <<<<<<<<<<<<<<
+ *
+ * """Elementary, besides having the L{Layout} widget, exposes its
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryCheck_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Check {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Check *__pyx_vtabptr_10elementary_12c_elementary_Check;
+
+
+/* "evas/c_evas.pxd":1094
+ *
+ *
+ * cdef class EventHold: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Hold *obj
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventHold {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventHold *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventHold *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventHold *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventHold *__pyx_vtabptr_4evas_6c_evas_EventHold;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryButton_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":19
+ * #
+ *
+ * cdef public class Button(LayoutClass) [object PyElementaryButton, type PyElementaryButton_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a push-button. Press it and run some function. It can contain
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Button {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Button *__pyx_vtabptr_10elementary_12c_elementary_Button;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryActionslider_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Actionslider {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Actionslider *__pyx_vtabptr_10elementary_12c_elementary_Actionslider;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":84
+ * traceback.print_exc()
+ *
+ * cdef class ObjectItem(object): # <<<<<<<<<<<<<<
+ *
+ * """A generic item for the widgets.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem {
+ int (*_set_obj)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *);
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":19
+ * #
+ *
+ * cdef class PopupItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for L{Popup}.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_PopupItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_PopupItem *__pyx_vtabptr_10elementary_12c_elementary_PopupItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFileselectorEntry_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorEntry {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorEntry *__pyx_vtabptr_10elementary_12c_elementary_FileselectorEntry;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":26
+ * ELM_INDEX_ITEM_INSERT_SORTED
+ *
+ * cdef class IndexItem(ObjectItem): # <<<<<<<<<<<<<<
+ * def __init__(self, kind, evasObject index, letter, IndexItem before_after = None,
+ * callback = None, *args, **kargs):
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_IndexItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_IndexItem *__pyx_vtabptr_10elementary_12c_elementary_IndexItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryList_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":330
+ * return _object_item_to_python(elm_list_item_next(self.item))
+ *
+ * cdef public class List(Object) [object PyElementaryList, type PyElementaryList_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A list widget is a container whose children are displayed vertically or
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_List {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_List *__pyx_vtabptr_10elementary_12c_elementary_List;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryProgressbar_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":19
+ * #
+ *
+ * cdef public class Progressbar(LayoutClass) [object PyElementaryProgressbar, type PyElementaryProgressbar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The progress bar is a widget for visually representing the progress
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Progressbar {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Progressbar *__pyx_vtabptr_10elementary_12c_elementary_Progressbar;
+
+
+/* "evas/c_evas.pxd":1005
+ *
+ *
+ * cdef class EventMouseOut: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Out *obj
+ * cdef readonly EventPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMouseOut {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseOut *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseOut *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMouseOut *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMouseOut *__pyx_vtabptr_4evas_6c_evas_EventMouseOut;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryConformant_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":19
+ * #
+ *
+ * cdef public class Conformant(LayoutClass) [object PyElementaryConformant, type PyElementaryConformant_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The aim is to provide a widget that can be used in elementary apps to
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Conformant {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Conformant *__pyx_vtabptr_10elementary_12c_elementary_Conformant;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPopup_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":68
+ * self.params[1])
+ *
+ * cdef public class Popup(Object) [object PyElementaryPopup, type PyElementaryPopup_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget is an enhancement of L{Notify}.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Popup {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Popup *__pyx_vtabptr_10elementary_12c_elementary_Popup;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasRectangle_Type;
+
+/* "evas/c_evas.pxd":1134
+ *
+ *
+ * cdef public class Rectangle(Object) [object PyEvasRectangle, # <<<<<<<<<<<<<<
+ * type PyEvasRectangle_Type]:
+ * pass
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Rectangle {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Rectangle *__pyx_vtabptr_4evas_6c_evas_Rectangle;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":19
+ * #
+ *
+ * cdef class FlipSelectorItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{FlipSelector} widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelectorItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelectorItem *__pyx_vtabptr_10elementary_12c_elementary_FlipSelectorItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryEntry_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":76
+ * return eahi
+ *
+ * cdef public class Entry(Object) [object PyElementaryEntry, type PyElementaryEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An entry is a convenience widget which shows a box that the user can
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Entry {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Entry *__pyx_vtabptr_10elementary_12c_elementary_Entry;
+
+
+/* "evas/c_evas.pxd":1051
+ *
+ *
+ * cdef class EventMultiUp: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Multi_Up *obj
+ * cdef readonly EventPrecisionPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMultiUp {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMultiUp *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMultiUp *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMultiUp *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMultiUp *__pyx_vtabptr_4evas_6c_evas_EventMultiUp;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryDiskselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":110
+ * return _object_item_to_python(it)
+ *
+ * cdef public class Diskselector(Object) [object PyElementaryDiskselector, type PyElementaryDiskselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A diskselector is a kind of list widget. It scrolls horizontally,
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Diskselector {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Diskselector *__pyx_vtabptr_10elementary_12c_elementary_Diskselector;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":284
+ * return False
+ *
+ * cdef class GenlistItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Genlist} widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+ int (*_set_obj)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *, struct __pyx_opt_args_10elementary_12c_elementary_11GenlistItem__set_obj *__pyx_optional_args);
+ void (*_unset_obj)(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *);
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem *__pyx_vtabptr_10elementary_12c_elementary_GenlistItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryWindow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":23
+ * from evas.c_evas cimport Canvas_from_instance
+ *
+ * cdef public class Window(Object) [object PyElementaryWindow, type PyElementaryWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The window class of Elementary.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Window {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Window *__pyx_vtabptr_10elementary_12c_elementary_Window;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryStandardWindow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1717
+ * _install_metaclass(&PyElementaryWindow_Type, ElementaryObjectMeta)
+ *
+ * cdef public class StandardWindow(Window) [object PyElementaryStandardWindow, type PyElementaryStandardWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A L{Window} with standard setup.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_StandardWindow {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Window __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_StandardWindow *__pyx_vtabptr_10elementary_12c_elementary_StandardWindow;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPhotocam_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":21
+ * from evas.c_evas cimport Image as evasImage
+ *
+ * cdef public class Photocam(Object) [object PyElementaryPhotocam, type PyElementaryPhotocam_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a widget specifically for displaying high-resolution digital
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Photocam {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Photocam *__pyx_vtabptr_10elementary_12c_elementary_Photocam;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGengrid_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":548
+ * self.select_mode_set(value)
+ *
+ * cdef public class Gengrid(Object) [object PyElementaryGengrid, type PyElementaryGengrid_Type]: # <<<<<<<<<<<<<<
+ * """Creates a generic, scalable and extensible grid widget.
+ *
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Gengrid {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Gengrid *__pyx_vtabptr_10elementary_12c_elementary_Gengrid;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasTextblock_Type;
+
+/* "evas/c_evas.pxd":1160
+ * pass
+ *
+ * cdef public class Textblock(Object) [object PyEvasTextblock, type PyEvasTextblock_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Textblock {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Textblock *__pyx_vtabptr_4evas_6c_evas_Textblock;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryHover_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":19
+ * #
+ *
+ * cdef public class Hover(LayoutClass) [object PyElementaryHover, type PyElementaryHover_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Hover object will hover over its C{parent} object at the C{target}
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Hover {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Hover *__pyx_vtabptr_10elementary_12c_elementary_Hover;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFrame_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Frame {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Frame *__pyx_vtabptr_10elementary_12c_elementary_Frame;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasText_Type;
+
+/* "evas/c_evas.pxd":1157
+ *
+ *
+ * cdef public class Text(Object) [object PyEvasText, type PyEvasText_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Text {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Text *__pyx_vtabptr_4evas_6c_evas_Text;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySlider_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":19
+ * #
+ *
+ * cdef public class Slider(LayoutClass) [object PyElementarySlider, type PyElementarySlider_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The slider adds a draggable "slider" widget for selecting the value of
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Slider {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Slider *__pyx_vtabptr_10elementary_12c_elementary_Slider;
+
+
+/* "evas/c_evas.pxd":1032
+ *
+ *
+ * cdef class EventMouseMove: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Move *obj
+ * cdef readonly EventPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMouseMove {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseMove *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseMove *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMouseMove *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMouseMove *__pyx_vtabptr_4evas_6c_evas_EventMouseMove;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMapbuf_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":19
+ * #
+ *
+ * cdef public class Mapbuf(Object) [object PyElementaryMapbuf, type PyElementaryMapbuf_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This holds one content object and uses an Evas Map of transformation
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Mapbuf {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Mapbuf *__pyx_vtabptr_10elementary_12c_elementary_Mapbuf;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryNotify_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":18
+ * # along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * cdef public class Notify(Object) [object PyElementaryNotify, type PyElementaryNotify_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Display a container in a particular region of the parent.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Notify {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Notify *__pyx_vtabptr_10elementary_12c_elementary_Notify;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPlug_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":21
+ * from evas.c_evas cimport Image as evasImage
+ *
+ * cdef public class Plug(Object) [object PyElementaryPlug, type PyElementaryPlug_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An object that allows one to show an image which other process created.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Plug {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Plug *__pyx_vtabptr_10elementary_12c_elementary_Plug;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryHoversel_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":99
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+ *
+ * cdef public class Hoversel(Button) [object PyElementaryHoversel, type PyElementaryHoversel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A hoversel is a button that pops up a list of items (automatically
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Hoversel {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Button __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Hoversel *__pyx_vtabptr_10elementary_12c_elementary_Hoversel;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasImage_Type;
+
+/* "evas/c_evas.pxd":1143
+ *
+ *
+ * cdef public class Image(Object) [object PyEvasImage, type PyEvasImage_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Image {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Image *__pyx_vtabptr_4evas_6c_evas_Image;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFlipSelector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":66
+ * return _object_item_to_python(elm_flipselector_item_next_get(self.item))
+ *
+ * cdef public class FlipSelector(Object) [object PyElementaryFlipSelector, type PyElementaryFlipSelector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A flip selector is a widget to show a set of B{text} items, one
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelector {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelector *__pyx_vtabptr_10elementary_12c_elementary_FlipSelector;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryDayselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":19
+ * #
+ *
+ * cdef public class Dayselector(LayoutClass) [object PyElementaryDayselector, type PyElementaryDayselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Dayselector displays all seven days of the week and allows the user to
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Dayselector {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Dayselector *__pyx_vtabptr_10elementary_12c_elementary_Dayselector;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasLine_Type;
+
+/* "evas/c_evas.pxd":1139
+ *
+ *
+ * cdef public class Line(Object) [object PyEvasLine, type PyEvasLine_Type]: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Line {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Line *__pyx_vtabptr_4evas_6c_evas_Line;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":19
+ * #
+ *
+ * cdef class MenuItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Menu} widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_MenuItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_MenuItem *__pyx_vtabptr_10elementary_12c_elementary_MenuItem;
+
+
+/* "evas/c_evas.pxd":1060
+ *
+ *
+ * cdef class EventMultiMove: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Multi_Move *obj
+ * cdef readonly EventPrecisionPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMultiMove {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMultiMove *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMultiMove *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMultiMove *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMultiMove *__pyx_vtabptr_4evas_6c_evas_EventMultiMove;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryTable_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":19
+ * #
+ *
+ * cdef public class Table(Object) [object PyElementaryTable, type PyElementaryTable_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A container widget to arrange other widgets in a table where items can
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Table {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Table *__pyx_vtabptr_10elementary_12c_elementary_Table;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryBackground_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Background {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Background *__pyx_vtabptr_10elementary_12c_elementary_Background;
+
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControlItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControlItem *__pyx_vtabptr_10elementary_12c_elementary_SegmentControlItem;
+
+
+/* "evas/c_evas.pxd":988
+ *
+ *
+ * cdef class EventPrecisionPosition: # <<<<<<<<<<<<<<
+ * cdef readonly EventPoint output
+ * cdef readonly EventPrecisionPoint canvas
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPosition {
+ void (*_set_objs)(struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition *, Evas_Point *, Evas_Coord_Precision_Point *);
+ void (*_unset_objs)(struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPosition *__pyx_vtabptr_4evas_6c_evas_EventPrecisionPosition;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasCanvas_Type;
+
+/* "evas/c_evas.pxd":1102
+ *
+ *
+ * cdef public class Canvas [object PyEvasCanvas, type PyEvasCanvas_Type]: # <<<<<<<<<<<<<<
+ * cdef Evas *obj
+ * cdef object _callbacks
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Canvas {
+ int (*_set_obj)(struct PyEvasCanvas *, Evas *);
+ int (*_unset_obj)(struct PyEvasCanvas *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Canvas *__pyx_vtabptr_4evas_6c_evas_Canvas;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":19
+ * #
+ *
+ * cdef class ColorselectorPaletteItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Colorselector} widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_ColorselectorPaletteItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_vtabptr_10elementary_12c_elementary_ColorselectorPaletteItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasPolygon_Type;
+
+/* "evas/c_evas.pxd":1152
+ *
+ *
+ * cdef public class Polygon(Object) [object PyEvasPolygon, # <<<<<<<<<<<<<<
+ * type PyEvasPolygon_Type]:
+ * pass
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_Polygon {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_Polygon *__pyx_vtabptr_4evas_6c_evas_Polygon;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFlip_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":19
+ * #
+ *
+ * cdef public class Flip(Object) [object PyElementaryFlip, type PyElementaryFlip_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget holds two content objects L{Object}: one on the front and one
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Flip {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Flip *__pyx_vtabptr_10elementary_12c_elementary_Flip;
+
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_CtxpopupItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_CtxpopupItem *__pyx_vtabptr_10elementary_12c_elementary_CtxpopupItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryLayout_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Layout {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Layout *__pyx_vtabptr_10elementary_12c_elementary_Layout;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":41
+ * ELM_MULTIBUTTONENTRY_INSERT_AFTER
+ *
+ * cdef class MultiButtonEntryItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the MultiButtonEntry widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntryItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntryItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasSmartObject_Type;
+
+/* "evas/c_evas.pxd":1120
+ *
+ *
+ * cdef public class SmartObject(Object) [object PyEvasSmartObject, # <<<<<<<<<<<<<<
+ * type PyEvasSmartObject_Type]:
+ * cdef object _smart_callbacks
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_SmartObject {
+ struct __pyx_vtabstruct_4evas_6c_evas_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_SmartObject *__pyx_vtabptr_4evas_6c_evas_SmartObject;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasClippedSmartObject_Type;
+
+/* "evas/c_evas.pxd":1164
+ *
+ *
+ * cdef public class ClippedSmartObject(SmartObject) \ # <<<<<<<<<<<<<<
+ * [object PyEvasClippedSmartObject, type PyEvasClippedSmartObject_Type]:
+ * cdef readonly Rectangle clipper
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_ClippedSmartObject {
+ struct __pyx_vtabstruct_4evas_6c_evas_SmartObject __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_ClippedSmartObject *__pyx_vtabptr_4evas_6c_evas_ClippedSmartObject;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySegmentControl_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":103
+ * elm_segment_control_item_selected_set(self.item, select)
+ *
+ * cdef public class SegmentControl(LayoutClass) [object PyElementarySegmentControl, type PyElementarySegmentControl_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Segment control widget is a horizontal control made of multiple
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControl {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControl *__pyx_vtabptr_10elementary_12c_elementary_SegmentControl;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryWeb_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":92
+ * traceback.print_exc()
+ *
+ * cdef public class Web(Object) [object PyElementaryWeb, type PyElementaryWeb_Type]: # <<<<<<<<<<<<<<
+ * cdef object _console_message_hook
+ *
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Web {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Web *__pyx_vtabptr_10elementary_12c_elementary_Web;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGenlist_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":543
+ * return elm_genlist_item_select_mode_get(self.item)
+ *
+ * cdef public class Genlist(Object) [object PyElementaryGenlist, type PyElementaryGenlist_Type]: # <<<<<<<<<<<<<<
+ * """Creates a generic, scalable and extensible list widget.
+ *
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Genlist {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Genlist *__pyx_vtabptr_10elementary_12c_elementary_Genlist;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryCalendar_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":50
+ * elm_calendar_mark_del(self.obj)
+ *
+ * cdef public class Calendar(LayoutClass) [object PyElementaryCalendar, type PyElementaryCalendar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a calendar widget.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Calendar {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Calendar *__pyx_vtabptr_10elementary_12c_elementary_Calendar;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryColorselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":53
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+ *
+ * cdef public class Colorselector(LayoutClass) [object PyElementaryColorselector, type PyElementaryColorselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Colorselector is a color selection widget.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Colorselector {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Colorselector *__pyx_vtabptr_10elementary_12c_elementary_Colorselector;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyEvasFilledImage_Type;
+
+/* "evas/c_evas.pxd":1147
+ *
+ *
+ * cdef public class FilledImage(Image) [object PyEvasFilledImage, # <<<<<<<<<<<<<<
+ * type PyEvasFilledImage_Type]:
+ * pass
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_FilledImage {
+ struct __pyx_vtabstruct_4evas_6c_evas_Image __pyx_base;
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_FilledImage *__pyx_vtabptr_4evas_6c_evas_FilledImage;
+
+
+/* "evas/c_evas.pxd":1078
+ *
+ *
+ * cdef class EventKeyDown: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Key_Down *obj
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventKeyDown {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventKeyDown *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventKeyDown *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventKeyDown *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventKeyDown *__pyx_vtabptr_4evas_6c_evas_EventKeyDown;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryScroller_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":19
+ * #
+ *
+ * cdef public class Scroller(Object) [object PyElementaryScroller, type PyElementaryScroller_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A scroller holds a single object and "scrolls it around".
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Scroller {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Scroller *__pyx_vtabptr_10elementary_12c_elementary_Scroller;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryLabel_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Label {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Label *__pyx_vtabptr_10elementary_12c_elementary_Label;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySlideshow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":237
+ *
+ *
+ * cdef public class Slideshow(LayoutClass) [object PyElementarySlideshow, type PyElementarySlideshow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget, as the name indicates, is a pre-made image
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Slideshow {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Slideshow *__pyx_vtabptr_10elementary_12c_elementary_Slideshow;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryImage_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":19
+ * #
+ *
+ * cdef public class Image(Object) [object PyElementaryImage, type PyElementaryImage_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An Elementary image object allows one to load and display an image
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Image {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Image *__pyx_vtabptr_10elementary_12c_elementary_Image;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryVideo_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Video {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Video *__pyx_vtabptr_10elementary_12c_elementary_Video;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryThumb_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Thumb {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Thumb *__pyx_vtabptr_10elementary_12c_elementary_Thumb;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":226
+ * return _object_item_to_python(elm_menu_item_prev_get(self.item))
+ *
+ * cdef class MenuSeparatorItem(ObjectItem): # <<<<<<<<<<<<<<
+ * def __init__(self, evasObject menu, MenuItem parent):
+ * cdef Elm_Object_Item *parent_obj = NULL
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_MenuSeparatorItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_MenuSeparatorItem *__pyx_vtabptr_10elementary_12c_elementary_MenuSeparatorItem;
+
+
+/* "evas/c_evas.pxd":964
+ *
+ *
+ * cdef class EventCoordPoint: # <<<<<<<<<<<<<<
+ * cdef Evas_Coord_Point *obj
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventCoordPoint {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventCoordPoint *, Evas_Coord_Point *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventCoordPoint *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventCoordPoint *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventCoordPoint *__pyx_vtabptr_4evas_6c_evas_EventCoordPoint;
+
+
+/* "evas/c_evas.pxd":1086
+ *
+ *
+ * cdef class EventKeyUp: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Key_Up *obj
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventKeyUp {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventKeyUp *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventKeyUp *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventKeyUp *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventKeyUp *__pyx_vtabptr_4evas_6c_evas_EventKeyUp;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":26
+ * ELM_LIST_ITEM_INSERT_SORTED
+ *
+ * cdef class ListItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the list widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_ListItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_ListItem *__pyx_vtabptr_10elementary_12c_elementary_ListItem;
+
+
+/* "evas/c_evas.pxd":996
+ *
+ *
+ * cdef class EventMouseIn: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_In *obj
+ * cdef readonly EventPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMouseIn {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseIn *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseIn *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMouseIn *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMouseIn *__pyx_vtabptr_4evas_6c_evas_EventMouseIn;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":130
+ * return ret
+ *
+ * cdef class Canvas(evas.c_evas.Canvas): # <<<<<<<<<<<<<<
+ * def __init__(self):
+ * pass
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Canvas {
+ struct __pyx_vtabstruct_4evas_6c_evas_Canvas __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Canvas *__pyx_vtabptr_10elementary_12c_elementary_Canvas;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryToolbar_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":594
+ * #return elm_toolbar_item_state_prev(self.item)
+ *
+ * cdef public class Toolbar(Object) [object PyElementaryToolbar, type PyElementaryToolbar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A toolbar is a widget that displays a list of items inside a box. It
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Toolbar {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Toolbar *__pyx_vtabptr_10elementary_12c_elementary_Toolbar;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFileselectorButton_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":19
+ * #
+ *
+ * cdef public class FileselectorButton(Button) [object PyElementaryFileselectorButton, type PyElementaryFileselectorButton_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a button that, when clicked, creates an Elementary window (or
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorButton {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Button __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorButton *__pyx_vtabptr_10elementary_12c_elementary_FileselectorButton;
+
+
+/* "evas/c_evas.pxd":972
+ *
+ *
+ * cdef class EventPrecisionPoint: # <<<<<<<<<<<<<<
+ * cdef Evas_Coord_Precision_Point *obj
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPoint {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint *, Evas_Coord_Precision_Point *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPoint *__pyx_vtabptr_4evas_6c_evas_EventPrecisionPoint;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryClock_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":19
+ * #
+ *
+ * cdef public class Clock(LayoutClass) [object PyElementaryClock, type PyElementaryClock_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a digital clock widget.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Clock {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Clock *__pyx_vtabptr_10elementary_12c_elementary_Clock;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryIndex_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":121
+ * return item.item
+ *
+ * cdef public class Index(LayoutClass) [object PyElementaryIndex, type PyElementaryIndex_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An index widget gives you an index for fast access to whichever
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Index {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Index *__pyx_vtabptr_10elementary_12c_elementary_Index;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryFileselector_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":19
+ * #
+ *
+ * cdef public class Fileselector(LayoutClass) [object PyElementaryFileselector, type PyElementaryFileselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Fileselector {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Fileselector *__pyx_vtabptr_10elementary_12c_elementary_Fileselector;
+
+
+/* "evas/c_evas.pxd":1014
+ *
+ *
+ * cdef class EventMouseDown: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Mouse_Down *obj
+ * cdef readonly EventPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMouseDown {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseDown *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMouseDown *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMouseDown *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMouseDown *__pyx_vtabptr_4evas_6c_evas_EventMouseDown;
+
+
+/* "evas/c_evas.pxd":1042
+ *
+ *
+ * cdef class EventMultiDown: # <<<<<<<<<<<<<<
+ * cdef Evas_Event_Multi_Down *obj
+ * cdef readonly EventPrecisionPosition position
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventMultiDown {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventMultiDown *, void *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventMultiDown *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventMultiDown *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventMultiDown *__pyx_vtabptr_4evas_6c_evas_EventMultiDown;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":170
+ * return None
+ *
+ * cdef class SlideshowItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for Slideshow."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_SlideshowItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+ int (*_set_obj)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *, struct __pyx_opt_args_10elementary_12c_elementary_13SlideshowItem__set_obj *__pyx_optional_args);
+ void (*_unset_obj)(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *);
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_SlideshowItem *__pyx_vtabptr_10elementary_12c_elementary_SlideshowItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryIcon_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":19
+ * #
+ *
+ * cdef public class Icon(Image) [object PyElementaryIcon, type PyElementaryIcon_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An icon object is used to display standard icon images ("delete",
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Icon {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Image __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Icon *__pyx_vtabptr_10elementary_12c_elementary_Icon;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryBubble_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Bubble {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Bubble *__pyx_vtabptr_10elementary_12c_elementary_Bubble;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMenu_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":249
+ * return True
+ *
+ * cdef public class Menu(Object) [object PyElementaryMenu, type PyElementaryMenu_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A menu is a list of items displayed above its parent.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Menu {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Menu *__pyx_vtabptr_10elementary_12c_elementary_Menu;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":284
+ *
+ *
+ * cdef class GengridItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Gengrid} widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+ void (*_unset_obj)(struct __pyx_obj_10elementary_12c_elementary_GengridItem *);
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem *__pyx_vtabptr_10elementary_12c_elementary_GengridItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGrid_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":19
+ * #
+ *
+ * cdef public class Grid(Object) [object PyElementaryGrid, type PyElementaryGrid_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A grid layout widget.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Grid {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Grid *__pyx_vtabptr_10elementary_12c_elementary_Grid;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryRadio_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Radio {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Radio *__pyx_vtabptr_10elementary_12c_elementary_Radio;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySeparator_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Separator {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Separator *__pyx_vtabptr_10elementary_12c_elementary_Separator;
+
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_HoverselItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_HoverselItem *__pyx_vtabptr_10elementary_12c_elementary_HoverselItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMap_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":420
+ *
+ *
+ * cdef public class Map(Object)[object PyElementaryMap, type PyElementaryMap_Type]: # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject parent):
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Map {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Map *__pyx_vtabptr_10elementary_12c_elementary_Map;
+
+
+/* "evas/c_evas.pxd":956
+ *
+ *
+ * cdef class EventPoint: # <<<<<<<<<<<<<<
+ * cdef Evas_Point *obj
+ *
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventPoint {
+ void (*_set_obj)(struct __pyx_obj_4evas_6c_evas_EventPoint *, Evas_Point *);
+ void (*_unset_obj)(struct __pyx_obj_4evas_6c_evas_EventPoint *);
+ void (*_check_validity)(struct __pyx_obj_4evas_6c_evas_EventPoint *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventPoint *__pyx_vtabptr_4evas_6c_evas_EventPoint;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryCtxpopup_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":41
+ * Py_DECREF(self)
+ *
+ * cdef public class Ctxpopup(Object) [object PyElementaryCtxpopup, type PyElementaryCtxpopup_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Context popup widget.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Ctxpopup {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Ctxpopup *__pyx_vtabptr_10elementary_12c_elementary_Ctxpopup;
+
+
+/* "evas/c_evas.pxd":980
+ *
+ *
+ * cdef class EventPosition: # <<<<<<<<<<<<<<
+ * cdef readonly EventPoint output
+ * cdef readonly EventCoordPoint canvas
+ */
+
+struct __pyx_vtabstruct_4evas_6c_evas_EventPosition {
+ void (*_set_objs)(struct __pyx_obj_4evas_6c_evas_EventPosition *, Evas_Point *, Evas_Coord_Point *);
+ void (*_unset_objs)(struct __pyx_obj_4evas_6c_evas_EventPosition *);
+};
+static struct __pyx_vtabstruct_4evas_6c_evas_EventPosition *__pyx_vtabptr_4evas_6c_evas_EventPosition;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryGestureLayer_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":32
+ * traceback.print_exc()
+ *
+ * cdef public class GestureLayer(Object) [object PyElementaryGestureLayer, type PyElementaryGestureLayer_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Use Gesture Layer to detect gestures. The advantage is that you don't
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_GestureLayer {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_GestureLayer *__pyx_vtabptr_10elementary_12c_elementary_GestureLayer;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":19
+ * #
+ *
+ * cdef class DiskselectorItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the Diskselector widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_DiskselectorItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_DiskselectorItem *__pyx_vtabptr_10elementary_12c_elementary_DiskselectorItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryDatetime_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":21
+ * from datetime import datetime
+ *
+ * cdef public class Datetime(Object) [object PyElementaryDatetime, type PyElementaryDatetime_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Datetime widget is used to display and input date & time values.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Datetime {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Datetime *__pyx_vtabptr_10elementary_12c_elementary_Datetime;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":20
+ * #
+ *
+ * cdef class NaviframeItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the Naviframe widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem *__pyx_vtabptr_10elementary_12c_elementary_NaviframeItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPanes_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":19
+ * #
+ *
+ * cdef public class Panes(LayoutClass) [object PyElementaryPanes, type PyElementaryPanes_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The panes widget adds a draggable bar between two contents. When
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Panes {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Panes *__pyx_vtabptr_10elementary_12c_elementary_Panes;
+
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":40
+ * Py_DECREF(self)
+ *
+ * cdef class ToolbarItem(ObjectItem): # <<<<<<<<<<<<<<
+ *
+ * """An item for the L{Toolbar} widget."""
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_ToolbarItem {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_ToolbarItem *__pyx_vtabptr_10elementary_12c_elementary_ToolbarItem;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryBox_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":52
+ *
+ *
+ * cdef public class Box(Object) [object PyElementaryBox, type PyElementaryBox_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A box arranges objects in a linear fashion, governed by a layout function
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Box {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Box *__pyx_vtabptr_10elementary_12c_elementary_Box;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPhoto_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":19
+ * #
+ *
+ * cdef public class Photo(Object) [object PyElementaryPhoto, type PyElementaryPhoto_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An Elementary photo widget is intended for displaying a photo, for
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Photo {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Photo *__pyx_vtabptr_10elementary_12c_elementary_Photo;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPanel_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":20
+ * #
+ *
+ * cdef public class Panel(Object) [object PyElementaryPanel, type PyElementaryPanel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A panel is a type of animated container that contains subobjects.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Panel {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Panel *__pyx_vtabptr_10elementary_12c_elementary_Panel;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryMultiButtonEntry_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":113
+ *
+ *
+ * cdef public class MultiButtonEntry(Object) [object PyElementaryMultiButtonEntry, type PyElementaryMultiButtonEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Multibuttonentry is a widget to allow a user enter text and manage
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntry {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntry *__pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntry;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryNaviframe_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":130
+ * elm_naviframe_item_title_visible_set(self.item, visible)
+ *
+ * cdef public class Naviframe(LayoutClass) [object PyElementaryNaviframe, type PyElementaryNaviframe_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Naviframe stands for navigation frame. It's a views manager
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Naviframe {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Naviframe *__pyx_vtabptr_10elementary_12c_elementary_Naviframe;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryPlayer_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":332
+ * _install_metaclass(&PyElementaryVideo_Type, ElementaryObjectMeta)
+ *
+ * cdef public class Player(LayoutClass) [object PyElementaryPlayer, type PyElementaryPlayer_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Player is a video player that need to be linked with a L{Video}.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Player {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Player *__pyx_vtabptr_10elementary_12c_elementary_Player;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementaryInnerWindow_Type;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":19
+ * #
+ *
+ * cdef public class InnerWindow(LayoutClass) [object PyElementaryInnerWindow, type PyElementaryInnerWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An inwin is a window inside a window that is useful for a quick popup.
+ */
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_InnerWindow {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_InnerWindow *__pyx_vtabptr_10elementary_12c_elementary_InnerWindow;
+
+__PYX_EXTERN_C DL_EXPORT(PyTypeObject) PyElementarySpinner_Type;
+
+struct __pyx_vtabstruct_10elementary_12c_elementary_Spinner {
+ struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+static struct __pyx_vtabstruct_10elementary_12c_elementary_Spinner *__pyx_vtabptr_10elementary_12c_elementary_Spinner;
+#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); /*proto*/
+ #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 /* CYTHON_REFNANNY */
+#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)
+
+static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/
+
+static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
+ PyObject *r;
+ if (!j) return NULL;
+ r = PyObject_GetItem(o, j);
+ Py_DECREF(j);
+ return r;
+}
+#define __Pyx_GetItemInt_List(o, i, size, to_py_func) (((size) <= sizeof(Py_ssize_t)) ? \
+ __Pyx_GetItemInt_List_Fast(o, i) : \
+ __Pyx_GetItemInt_Generic(o, to_py_func(i)))
+static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i) {
+ if (likely(o != Py_None)) {
+ if (likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
+ PyObject *r = PyList_GET_ITEM(o, i);
+ Py_INCREF(r);
+ return r;
+ }
+ else if ((-PyList_GET_SIZE(o) <= i) & (i < 0)) {
+ PyObject *r = PyList_GET_ITEM(o, PyList_GET_SIZE(o) + i);
+ Py_INCREF(r);
+ return r;
+ }
+ }
+ return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+}
+#define __Pyx_GetItemInt_Tuple(o, i, size, to_py_func) (((size) <= sizeof(Py_ssize_t)) ? \
+ __Pyx_GetItemInt_Tuple_Fast(o, i) : \
+ __Pyx_GetItemInt_Generic(o, to_py_func(i)))
+static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i) {
+ if (likely(o != Py_None)) {
+ if (likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
+ PyObject *r = PyTuple_GET_ITEM(o, i);
+ Py_INCREF(r);
+ return r;
+ }
+ else if ((-PyTuple_GET_SIZE(o) <= i) & (i < 0)) {
+ PyObject *r = PyTuple_GET_ITEM(o, PyTuple_GET_SIZE(o) + i);
+ Py_INCREF(r);
+ return r;
+ }
+ }
+ return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+}
+#define __Pyx_GetItemInt(o, i, size, to_py_func) (((size) <= sizeof(Py_ssize_t)) ? \
+ __Pyx_GetItemInt_Fast(o, i) : \
+ __Pyx_GetItemInt_Generic(o, to_py_func(i)))
+static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i) {
+ if (PyList_CheckExact(o)) {
+ Py_ssize_t n = (likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
+ if (likely((n >= 0) & (n < PyList_GET_SIZE(o)))) {
+ PyObject *r = PyList_GET_ITEM(o, n);
+ Py_INCREF(r);
+ return r;
+ }
+ }
+ else if (PyTuple_CheckExact(o)) {
+ Py_ssize_t n = (likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
+ if (likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
+ PyObject *r = PyTuple_GET_ITEM(o, n);
+ Py_INCREF(r);
+ return r;
+ }
+ }
+ else if (likely(i >= 0)) {
+ PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
+ if (likely(m && m->sq_item)) {
+ return m->sq_item(o, i);
+ }
+ }
+ return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+}
+
+static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
+
+static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);
+
+static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); /*proto*/
+
+#include <string.h>
+
+static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
+static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
+
+static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); /*proto*/
+
+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); /*proto*/
+
+static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name); /*proto*/
+
+static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[], \
+ PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
+ const char* function_name); /*proto*/
+
+static CYTHON_INLINE int __Pyx_NegateNonNeg(int b) {
+ return unlikely(b < 0) ? b : !b;
+}
+static CYTHON_INLINE PyObject* __Pyx_PyBoolOrNull_FromLong(long b) {
+ return unlikely(b < 0) ? NULL : __Pyx_PyBool_FromLong(b);
+}
+
+static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed); /*proto*/
+
+static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
+ const char *name, int exact); /*proto*/
+
+#ifndef __PYX_FORCE_INIT_THREADS
+ #define __PYX_FORCE_INIT_THREADS 0
+#endif
+
+static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
+
+static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/
+
+static CYTHON_INLINE PyObject* __Pyx_PyObject_Append(PyObject* L, PyObject* x) {
+ if (likely(PyList_CheckExact(L))) {
+ if (PyList_Append(L, x) < 0) return NULL;
+ Py_INCREF(Py_None);
+ return Py_None; /* this is just to have an accurate signature */
+ }
+ else {
+ PyObject *r, *m;
+ m = __Pyx_GetAttrString(L, "append");
+ if (!m) return NULL;
+ r = PyObject_CallFunctionObjArgs(m, x, NULL);
+ Py_DECREF(m);
+ return r;
+ }
+}
+
+static PyObject* __Pyx_Intern(PyObject* s); /* proto */
+
+static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
+static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
+
+static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, long level); /*proto*/
+
+static CYTHON_INLINE void __Pyx_RaiseImportError(PyObject *name);
+
+static PyObject *__Pyx_FindPy2Metaclass(PyObject *bases); /*proto*/
+
+static PyObject *__Pyx_CreateClass(PyObject *bases, PyObject *dict, PyObject *name,
+ PyObject *modname); /*proto*/
+
+#define __Pyx_CyFunction_USED 1
+#include <structmember.h>
+#define __Pyx_CYFUNCTION_STATICMETHOD 0x01
+#define __Pyx_CYFUNCTION_CLASSMETHOD 0x02
+#define __Pyx_CYFUNCTION_CCLASS 0x04
+#define __Pyx_CyFunction_GetClosure(f) \
+ (((__pyx_CyFunctionObject *) (f))->func_closure)
+#define __Pyx_CyFunction_GetClassObj(f) \
+ (((__pyx_CyFunctionObject *) (f))->func_classobj)
+#define __Pyx_CyFunction_Defaults(type, f) \
+ ((type *)(((__pyx_CyFunctionObject *) (f))->defaults))
+#define __Pyx_CyFunction_SetDefaultsGetter(f, g) \
+ ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g)
+typedef struct {
+ PyCFunctionObject func;
+ int flags;
+ PyObject *func_dict;
+ PyObject *func_weakreflist;
+ PyObject *func_name;
+ PyObject *func_doc;
+ PyObject *func_code;
+ PyObject *func_closure;
+ PyObject *func_classobj; /* No-args super() class cell */
+ void *defaults;
+ int defaults_pyobjects;
+ PyObject *defaults_tuple; /* Const defaults tuple */
+ PyObject *(*defaults_getter)(PyObject *);
+} __pyx_CyFunctionObject;
+static PyTypeObject *__pyx_CyFunctionType = 0;
+#define __Pyx_CyFunction_NewEx(ml, flags, self, module, code) \
+ __Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, self, module, code)
+static PyObject *__Pyx_CyFunction_New(PyTypeObject *,
+ PyMethodDef *ml, int flags,
+ PyObject *self, PyObject *module,
+ PyObject* code);
+static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *m,
+ size_t size,
+ int pyobjects);
+static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m,
+ PyObject *tuple);
+static int __Pyx_CyFunction_init(void);
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Eina_Bool(Eina_Bool);
+
+static CYTHON_INLINE Evas_Coord __Pyx_PyInt_from_py_Evas_Coord(PyObject *);
+
+static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *); /*proto*/
+
+static CYTHON_INLINE Eina_Bool __Pyx_PyInt_from_py_Eina_Bool(PyObject *);
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Evas_Font_Size(Evas_Font_Size);
+
+static CYTHON_INLINE Evas_Font_Size __Pyx_PyInt_from_py_Evas_Font_Size(PyObject *);
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Evas_Coord(Evas_Coord);
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Evas_Callback_Type(Evas_Callback_Type);
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Ecore_X_ID(Ecore_X_ID);
+
+static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject *);
+
+static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject *);
+
+static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject *);
+
+static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject *);
+
+static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject *);
+
+static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject *);
+
+static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject *);
+
+static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject *);
+
+static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject *);
+
+static CYTHON_INLINE int __Pyx_PyInt_AsLongDouble(PyObject *);
+
+static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject *);
+
+static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject *);
+
+static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject *);
+
+static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject *);
+
+static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject *);
+
+static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject *);
+
+static void __Pyx_WriteUnraisable(const char *name, int clineno,
+ int lineno, const char *filename); /*proto*/
+
+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 PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict); /*proto*/
+
+static PyObject *__Pyx_ImportModule(const char *name); /*proto*/
+
+static void* __Pyx_GetVtable(PyObject *dict); /*proto*/
+
+static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/
+
+static int __Pyx_ImportFunction(PyObject *module, const char *funcname, void (**f)(void), const char *sig); /*proto*/
+
+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); /*proto*/
+
+static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/
+
+
+/* Module declarations from 'evas.c_evas' */
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Rect = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventPoint = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventCoordPoint = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventPrecisionPoint = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventPosition = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventPrecisionPosition = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMouseIn = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMouseOut = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMouseDown = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMouseUp = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMouseMove = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMultiDown = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMultiUp = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMultiMove = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventMouseWheel = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventKeyDown = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventKeyUp = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_EventHold = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Canvas = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Object = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_SmartObject = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Rectangle = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Line = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Image = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_FilledImage = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Polygon = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Text = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_Textblock = 0;
+static PyTypeObject *__pyx_ptype_4evas_6c_evas_ClippedSmartObject = 0;
+static struct PyEvasCanvas *(*__pyx_f_4evas_6c_evas_Canvas_from_instance)(Evas *); /*proto*/
+static struct PyEvasObject *(*__pyx_f_4evas_6c_evas_Object_from_instance)(Evas_Object *); /*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.stdio' */
+
+/* Module declarations from 'cpython.object' */
+
+/* Module declarations from 'cpython.sequence' */
+
+/* Module declarations from 'cpython.mapping' */
+
+/* Module declarations from 'cpython.iterator' */
+
+/* Module declarations from 'cpython.type' */
+
+/* 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 'elementary.c_elementary' */
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Configuration = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Theme = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Canvas = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Object = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_ObjectItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_GestureLayer = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_LayoutClass = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Layout = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Image = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Button = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Window = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_StandardWindow = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_InnerWindow = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Background = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Icon = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Box = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Frame = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Flip = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Scroller = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Label = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Table = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Clock = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Hover = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Entry = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Bubble = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Photo = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_HoverselItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Hoversel = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_ToolbarItemState = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_ToolbarItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Toolbar = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_ListItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_List = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Slider = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_NaviframeItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Naviframe = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Radio = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Check = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_GenlistItemClass = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_GenlistItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Genlist = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_GengridItemClass = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_GengridItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Gengrid = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Spinner = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Notify = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Fileselector = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_FileselectorEntry = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_FileselectorButton = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Separator = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Progressbar = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MenuItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MenuSeparatorItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Menu = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Panel = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Web = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Actionslider = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_CalendarMark = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Calendar = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_ColorselectorPaletteItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Colorselector = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_IndexItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Index = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_CtxpopupItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Ctxpopup = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Grid = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Video = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Player = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Conformant = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Dayselector = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Panes = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Thumb = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_DiskselectorItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Diskselector = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Datetime = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapRoute = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapName = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlay = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayClass = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayBubble = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayLine = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayPolygon = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayCircle = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayScale = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MapOverlayRoute = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Map = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Mapbuf = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_MultiButtonEntry = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Transit = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_SlideshowItemClass = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_SlideshowItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Slideshow = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_SegmentControlItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_SegmentControl = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_PopupItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Popup = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Plug = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_Photocam = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_FlipSelectorItem = 0;
+static PyTypeObject *__pyx_ptype_10elementary_12c_elementary_FlipSelector = 0;
+static PyObject *__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping = 0;
+static int __pyx_f_10elementary_12c_elementary_PY_REFCOUNT(PyObject *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__METHOD_DEPRECATED(PyObject *, struct __pyx_opt_args_10elementary_12c_elementary__METHOD_DEPRECATED *__pyx_optional_args); /*proto*/
+static CYTHON_INLINE PyObject *__pyx_f_10elementary_12c_elementary__ctouni(const char *); /*proto*/
+static CYTHON_INLINE char *__pyx_f_10elementary_12c_elementary__fruni(PyObject *); /*proto*/
+static CYTHON_INLINE const char * __pyx_f_10elementary_12c_elementary__cfruni(PyObject *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__elm_widget_type_register(PyObject *, PyObject *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__install_metaclass(PyTypeObject *, PyObject *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__object_callback(void *, Evas_Object *, void *); /*proto*/
+static Evas_Object *__pyx_f_10elementary_12c_elementary__tooltip_content_create(void *, Evas_Object *, Evas_Object *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__tooltip_data_del_cb(void *, Evas_Object *, void *); /*proto*/
+static Eina_Bool __pyx_f_10elementary_12c_elementary__event_dispatcher(PyObject *, PyObject *, Evas_Callback_Type, PyObject *); /*proto*/
+static Eina_Bool __pyx_f_10elementary_12c_elementary__event_callback(void *, Evas_Object *, Evas_Object *, Evas_Callback_Type, void *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__strings_to_python(const Eina_List *); /*proto*/
+static Eina_List *__pyx_f_10elementary_12c_elementary__strings_from_python(PyObject *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__object_list_to_python(const Eina_List *); /*proto*/
+static Evas_Object *__pyx_f_10elementary_12c_elementary__tooltip_item_content_create(void *, Evas_Object *, Evas_Object *, void *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__tooltip_item_data_del_cb(void *, Evas_Object *, void *); /*proto*/
+static Elm_Object_Item *__pyx_f_10elementary_12c_elementary__object_item_from_python(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__object_item_to_python(Elm_Object_Item *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__object_item_list_to_python(const Eina_List *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__object_item_del_cb(void *, Evas_Object *, void *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__object_item_callback(void *, Evas_Object *, void *); /*proto*/
+static Evas_Event_Flags __pyx_f_10elementary_12c_elementary__gesture_layer_event_cb(void *, void *); /*proto*/
+static Evas_Object_Box_Layout __pyx_f_10elementary_12c_elementary__py_elm_box_layout_resolv(int); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__py_elm_genlist_item_call(PyObject *, Evas_Object *, PyObject *, PyObject *); /*proto*/
+static char *__pyx_f_10elementary_12c_elementary__py_elm_genlist_item_text_get(void *, Evas_Object *, const char *); /*proto*/
+static Evas_Object *__pyx_f_10elementary_12c_elementary__py_elm_genlist_item_content_get(void *, Evas_Object *, const char *); /*proto*/
+static Eina_Bool __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_state_get(void *, Evas_Object *, const char *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__py_elm_genlist_object_item_del(void *, Evas_Object *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_func(void *, Evas_Object *, void *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_call(PyObject *, Evas_Object *, PyObject *, PyObject *); /*proto*/
+static char *__pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_text_get(void *, Evas_Object *, const char *); /*proto*/
+static Evas_Object *__pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_content_get(void *, Evas_Object *, const char *); /*proto*/
+static Eina_Bool __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_state_get(void *, Evas_Object *, const char *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__py_elm_gengrid_object_item_del(void *, Evas_Object *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_func(void *, Evas_Object *, void *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__web_console_message_hook(void *, Evas_Object *, const char *, unsigned int, const char *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__elm_map_overlay_to_python(Elm_Map_Overlay *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__map_overlay_get_callback(void *, Evas_Object *, Elm_Map_Overlay *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__map_overlay_del_cb(void *, Evas_Object *, Elm_Map_Overlay *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__map_route_callback(void *, Evas_Object *, Elm_Map_Route *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__map_name_callback(void *, Evas_Object *, Elm_Map_Name *); /*proto*/
+static Eina_Bool __pyx_f_10elementary_12c_elementary__multibuttonentry_filter_callback(Evas_Object *, const char *, void *, void *); /*proto*/
+static PyObject *__pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_call(PyObject *, Evas_Object *, PyObject *); /*proto*/
+static Evas_Object *__pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_get(void *, Evas_Object *); /*proto*/
+static void __pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_del(void *, Evas_Object *); /*proto*/
+static int __pyx_f_10elementary_12c_elementary__py_elm_slideshow_compare_func(const void *, const void *); /*proto*/
+#define __Pyx_MODULE_NAME "elementary.c_elementary"
+int __pyx_module_is_main_elementary__c_elementary = 0;
+
+/* Implementation of 'elementary.c_elementary' */
+static PyObject *__pyx_builtin_staticmethod;
+static PyObject *__pyx_builtin_TypeError;
+static PyObject *__pyx_builtin_ValueError;
+static PyObject *__pyx_builtin_callable;
+static PyObject *__pyx_builtin_Exception;
+static PyObject *__pyx_builtin_KeyError;
+static PyObject *__pyx_builtin_enumerate;
+static PyObject *__pyx_builtin_AttributeError;
+static PyObject *__pyx_builtin_RuntimeError;
+static PyObject *__pyx_pf_10elementary_12c_elementary_init(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_2shutdown(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4run(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6exit(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8policy_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_policy, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10policy_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_policy); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12coords_finger_size_adjust(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_times_w, PyObject *__pyx_v_w, PyObject *__pyx_v_times_h, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20ElementaryObjectMeta___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_name, PyObject *__pyx_v_bases, PyObject *__pyx_v_dict_); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20ElementaryObjectMeta_2_fetch_evt_callbacks(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_save(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_2reload(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_4all_flush(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_7profile___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_7profile_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_profile); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_6profile_dir_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_profile, PyObject *__pyx_v_is_user); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_12profile_list___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_threshold); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_threshold); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_17longpress_timeout___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_17longpress_timeout_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_longpress_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_13tooltip_delay___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_13tooltip_delay_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_delay); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_18cursor_engine_only___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_18cursor_engine_only_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_5scale___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_5scale_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_scale); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_18password_show_last___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_18password_show_last_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_password_show_last); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_26password_show_last_timeout___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_password_show_last_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_6engine___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_6engine_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_engine); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_16preferred_engine___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_16preferred_engine_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_engine); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_17text_classes_list___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_17font_overlay_list___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_8font_overlay_set(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_text_class, PyObject *__pyx_v_font, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_10font_overlay_unset(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_text_class); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_12font_overlay_apply(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_11finger_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_11finger_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_20cache_flush_interval___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_20cache_flush_interval_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_19cache_flush_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_21cache_font_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_22cache_image_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_animate___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_animate); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_8mirrored___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_8mirrored_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_mirrored); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14config_finger_size_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16config_finger_size_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18config_tooltip_delay_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20config_tooltip_delay_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_delay); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_22focus_highlight_enabled_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_24focus_highlight_enabled_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_26focus_highlight_animate_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_28focus_highlight_animate_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_animate); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_30preferred_engine_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_32preferred_engine_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_engine); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_34engine_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_36engine_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_engine); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_38scale_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_40scale_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_scale); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_42cursor_engine_only_get(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_44cursor_engine_only_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_46need_efreet(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_48need_e_dbus(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_50need_ethumb(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_52need_web(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Theme___cinit__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Theme_2__init__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_default); /* proto */
+static void __pyx_pf_10elementary_12c_elementary_5Theme_4__dealloc__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_6copy(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_thdst); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Theme_9reference___set__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_thref); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_9reference_2__get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_8overlay_add(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_10overlay_del(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_12overlay_list___get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_12extension_add(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_14extension_del(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_14extension_list___get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Theme_5order___set__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_theme); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_5order_2__get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_8elements___get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_16flush(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_18data_get(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_54theme_list_item_path_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_f, PyObject *__pyx_v_in_search_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_56theme_full_flush(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_58theme_name_available_list(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_60theme_overlay_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_62theme_extension_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_64_cb_string_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Canvas___init__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Canvas *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_part_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_2text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_4part_text_get(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_6text_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_4text___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_4text_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_8part_content_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_10content_set(struct PyElementaryObject *__pyx_v_self, struct PyEvasObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_12part_content_get(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_14content_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_16part_content_unset(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_18content_unset(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_7content___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_7content_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_content); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_7content_4__del__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_20access_info_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_txt); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_22name_find(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_name, int __pyx_v_recurse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_24style_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_26style_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_5style___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_5style_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_28disabled_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_30disabled_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_8disabled___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_8disabled_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_32widget_check(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_34parent_widget_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13parent_widget___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_36top_widget_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_10top_widget___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_38widget_type_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_11widget_type___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_40signal_emit(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_emission, PyObject *__pyx_v_source); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_42elm_event_callback_add(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_44elm_event_callback_del(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_46cursor_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_cursor); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_48cursor_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_50cursor_unset(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_6cursor___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_6cursor_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_6cursor_4__del__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_52cursor_style_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_54cursor_style_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_12cursor_style___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_12cursor_style_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_56cursor_theme_search_enabled_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_58cursor_theme_search_enabled_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_60focus_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_62focus_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_focus); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_64focus_allow_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_allow); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_66focus_allow_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_11focus_allow___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_11focus_allow_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_68focus_custom_chain_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_objs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_70focus_custom_chain_unset(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_72focus_custom_chain_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain_4__del__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_74focus_custom_chain_append(struct PyElementaryObject *__pyx_v_self, struct PyElementaryObject *__pyx_v_child, struct PyElementaryObject *__pyx_v_relative_child); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_76focus_custom_chain_prepend(struct PyElementaryObject *__pyx_v_self, struct PyElementaryObject *__pyx_v_child, struct PyElementaryObject *__pyx_v_relative_child); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_78tree_focus_allow_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_focusable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_80tree_focus_allow_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_16tree_focus_allow___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_16tree_focus_allow_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_82mirrored_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_84mirrored_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_mirrored); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_8mirrored___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_8mirrored_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_86mirrored_automatic_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_88mirrored_automatic_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_automatic); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_18mirrored_automatic___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_18mirrored_automatic_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_90scale_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_scale); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_92scale_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_5scale___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_5scale_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_94scroll_hold_push(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_96scroll_hold_pop(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_98scroll_freeze_push(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_100scroll_freeze_pop(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_102scroll_lock_x_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_lock); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_104scroll_lock_y_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_lock); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_106scroll_lock_x_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_108scroll_lock_y_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_x___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_x_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_y___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_y_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_5theme___set__(struct PyElementaryObject *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_th); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_5theme_2__get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_110tooltip_show(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_112tooltip_hide(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_114tooltip_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_116tooltip_domain_translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_domain, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_118tooltip_translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_120tooltip_content_cb_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_122tooltip_unset(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_124tooltip_style_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_126tooltip_style_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13tooltip_style___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_13tooltip_style_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_128tooltip_window_mode_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_disable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_130tooltip_window_mode_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_19tooltip_window_mode___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_19tooltip_window_mode_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_132domain_translatable_text_part_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_domain, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_134domain_translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_domain, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_136translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_138translatable_text_part_get(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_140translatable_text_get(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_17translatable_text___get__(struct PyElementaryObject *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Object_17translatable_text_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_142_callback_add_full(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_event_conv, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_144_callback_del_full(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_event_conv, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_146_callback_add(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_148_callback_del(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_150_get_obj_addr(struct PyElementaryObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_66__elm_widget_cls_resolver(CYTHON_UNUSED PyObject *__pyx_self, unsigned long __pyx_v_ptr); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_68_cb_object_item_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static void __pyx_pf_10elementary_12c_elementary_10ObjectItem___dealloc__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_2widget_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_4part_content_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part, struct PyElementaryObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_6content_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, struct PyElementaryObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_8part_content_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_10content_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_12part_content_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_14content_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_16part_text_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_18text_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_20part_text_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_22text_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_4text___get__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10ObjectItem_4text_2__set__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_24access_info_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_txt); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_26data_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_28data_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_4data___get__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_30signal_emit(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_emission, PyObject *__pyx_v_source); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_32disabled_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_34disabled_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_8disabled___get__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10ObjectItem_8disabled_2__set__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_36delete(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_38tooltip_text_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, char *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_40tooltip_window_mode_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_disable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_42tooltip_window_mode_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_44tooltip_content_cb_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_46tooltip_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_48tooltip_style_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_50tooltip_style_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_52cursor_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, char *__pyx_v_cursor); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_54cursor_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_56cursor_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_58cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_60cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_62cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_64cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer___init__(struct PyElementaryGestureLayer *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_2cb_set(struct PyElementaryGestureLayer *__pyx_v_self, Elm_Gesture_Type __pyx_v_idx, PyObject *__pyx_v_callback, Elm_Gesture_State __pyx_v_cb_type, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_11hold_events___get__(struct PyElementaryGestureLayer *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer_11hold_events_2__set__(struct PyElementaryGestureLayer *__pyx_v_self, PyObject *__pyx_v_hold_events); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer_9zoom_step___set__(struct PyElementaryGestureLayer *__pyx_v_self, PyObject *__pyx_v_step); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_9zoom_step_2__get__(struct PyElementaryGestureLayer *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer_11rotate_step___set__(struct PyElementaryGestureLayer *__pyx_v_self, PyObject *__pyx_v_step); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_11rotate_step_2__get__(struct PyElementaryGestureLayer *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_4attach(struct PyElementaryGestureLayer *__pyx_v_self, struct PyEvasObject *__pyx_v_target); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_file_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_4file___set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_2theme_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_clas, PyObject *__pyx_v_group, PyObject *__pyx_v_style); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_5theme___set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_theme); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_4signal_emit(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_emission, PyObject *__pyx_v_source); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_6box_append(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_8box_prepend(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_10box_insert_before(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child, struct PyEvasObject *__pyx_v_reference); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_12box_insert_at(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_14box_remove(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_16box_remove_all(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_clear); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_18table_pack(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child_obj, PyObject *__pyx_v_col, PyObject *__pyx_v_row, PyObject *__pyx_v_colspan, PyObject *__pyx_v_rowspan); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_20table_unpack(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_22table_clear(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_clear); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_24edje_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_4edje___get__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_26data_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_28sizing_eval(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_30part_cursor_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name, PyObject *__pyx_v_cursor); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_32part_cursor_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_34part_cursor_unset(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_36part_cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_38part_cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_40part_cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_42part_cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_44icon_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_46icon_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_4icon___get__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_4icon_2__set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_48end_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_end); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_50end_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_3end___get__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_3end_2__set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_end); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_52callback_theme_changed_add(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_54callback_theme_changed_del(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Layout___init__(struct PyElementaryLayout *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_2content_set(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_swallow, struct PyEvasObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_4content_get(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_swallow); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_6content_unset(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_swallow); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_8text_set(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_10text_get(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_part); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image___init__(struct PyElementaryImage *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_2file_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_4file_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_4file___set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_4file_2__get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6smooth_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_smooth); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8smooth_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6smooth___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_6smooth_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_smooth); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_10object_size_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_11object_size___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_12no_scale_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_no_scale); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_14no_scale_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8no_scale___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_8no_scale_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_no_scale); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_16resizable_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_size_up, PyObject *__pyx_v_size_down); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_18resizable_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_9resizable___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_9resizable_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_20fill_outside_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fill_outside); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_22fill_outside_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_12fill_outside___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_12fill_outside_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fill_outside); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_24preload_disabled_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_16preload_disabled___set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_26prescale_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_28prescale_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8prescale___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_8prescale_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_30orient_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_orientation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_32orient_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6orient___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_6orient_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_orientation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_34editable_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_editable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_36editable_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8editable___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_8editable_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_editable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_38object_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6object___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_40aspect_fixed_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fixed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_42aspect_fixed_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_12aspect_fixed___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_12aspect_fixed_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fixed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_44animated_available_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_18animated_available___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_46animated_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_animated); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_48animated_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8animated___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_8animated_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_animated); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_50animated_play_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_play); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_52animated_play_get(struct PyElementaryImage *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_13animated_play___get__(struct PyElementaryImage *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Image_13animated_play_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_play); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_54callback_clicked_add(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_56callback_clicked_del(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_58callback_drop_add(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_60callback_drop_del(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Button___init__(struct PyElementaryButton *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_2autorepeat_set(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_on); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_4autorepeat_get(struct PyElementaryButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_10autorepeat___get__(struct PyElementaryButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Button_10autorepeat_2__set__(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_on); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_6autorepeat_initial_timeout_set(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_8autorepeat_initial_timeout_get(struct PyElementaryButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout___get__(struct PyElementaryButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_2__set__(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_10autorepeat_gap_timeout_set(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_12autorepeat_gap_timeout_get(struct PyElementaryButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout___get__(struct PyElementaryButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_2__set__(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_14callback_clicked_add(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_16callback_clicked_del(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_18callback_repeated_add(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_20callback_repeated_del(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_22callback_pressed_add(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_24callback_pressed_del(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_26callback_unpressed_add(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_28callback_unpressed_del(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window___init__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_2resize_object_add(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_4resize_object_del(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6title_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_title); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_8title_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5title___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_5title_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_title); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10icon_name_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_icon_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_12icon_name_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9icon_name___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_9icon_name_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_icon_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_14role_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_role); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_16role_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_4role___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_4role_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_role); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_18icon_object_set(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_20icon_object_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_11icon_object___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_11icon_object_2__set__(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_22autodel_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_autodel); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_24autodel_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_7autodel___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_7autodel_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_autodel); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_26activate(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_28lower(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_30_raise(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_32center(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_h, PyObject *__pyx_v_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_34borderless_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_borderless); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_36borderless_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10borderless___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_10borderless_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_borderless); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_38shaped_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_shaped); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_40shaped_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6shaped___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_6shaped_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_shaped); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_42alpha_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_alpha); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_44alpha_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5alpha___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_5alpha_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_alpha); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_46override_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_override); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_48override_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_8override___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_8override_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_override); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_50fullscreen_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_fullscreen); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_52fullscreen_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10fullscreen___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_10fullscreen_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_fullscreen); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_54maximized_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_maximized); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_56maximized_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9maximized___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_9maximized_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_maximized); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_58iconified_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_iconified); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_60iconified_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9iconified___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_9iconified_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_iconified); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_62withdrawn_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_withdrawn); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_64withdrawn_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9withdrawn___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_9withdrawn_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_withdrawn); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_66urgent_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_urgent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_68urgent_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6urgent___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_6urgent_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_urgent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_70demand_attention_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_demand_attention); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_72demand_attention_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_16demand_attention___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_16demand_attention_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_demand_attention); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_74modal_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_modal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_76modal_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5modal___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_5modal_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_modal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_78aspect_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_aspect); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_80aspect_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6aspect___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_6aspect_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_aspect); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_9size_base___set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9size_base_2__get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_9size_step___set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9size_step_2__get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_82layer_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_layer); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_84layer_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5layer___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_5layer_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_layer); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_86rotation_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_88rotation_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_8rotation___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_8rotation_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_90rotation_with_resize_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_20rotation_with_resize___set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_92sticky_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_sticky); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_94sticky_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6sticky___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_6sticky_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_sticky); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_96conformant_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_conformant); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_98conformant_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10conformant___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_10conformant_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_conformant); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_100quickpanel_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_quickpanel); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_102quickpanel_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10quickpanel___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_10quickpanel_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_quickpanel); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_104quickpanel_priority_major_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_106quickpanel_priority_major_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_major___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_major_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_108quickpanel_priority_minor_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_110quickpanel_priority_minor_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_minor___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_112quickpanel_zone_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_zone); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_114quickpanel_zone_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_15quickpanel_zone___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_15quickpanel_zone_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_zone); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_116prop_focus_skip_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_skip); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_14focus_skip_set___set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_skip); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_118illume_command_send(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_command, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_120inlined_image_object_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_20inlined_image_object___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_122focus_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5focus___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_124screen_constrain_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_constrain); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_126screen_constrain_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_16screen_constrain___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_16screen_constrain_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_constrain); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_128screen_size_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_11screen_size___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_130focus_highlight_enabled_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_132focus_highlight_enabled_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_23focus_highlight_enabled___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_23focus_highlight_enabled_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_134focus_highlight_style_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_136focus_highlight_style_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_21focus_highlight_style___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_21focus_highlight_style_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_138keyboard_mode_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_140keyboard_mode_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_13keyboard_mode___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_13keyboard_mode_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_142keyboard_win_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_is_keyboard); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_144keyboard_win_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_12keyboard_win___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_12keyboard_win_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_is_keyboard); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_146indicator_mode_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_148indicator_mode_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_14indicator_mode___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_14indicator_mode_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_150indicator_opacity_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_152indicator_opacity_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_17indicator_opacity___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Window_17indicator_opacity_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_154screen_position_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_15screen_position___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_156socket_listen(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_svcname, PyObject *__pyx_v_svcnum, PyObject *__pyx_v_svcsys); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_158xwindow_xid_get(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_11xwindow_xid___get__(struct PyElementaryWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_160callback_delete_request_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_162callback_delete_request_del(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_164callback_focus_in_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_166callback_focus_in_del(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_168callback_focus_out_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_170callback_focus_out_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_172callback_moved_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_174callback_moved_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_176callback_withdrawn_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_178callback_withdrawn_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_180callback_iconified_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_182callback_iconified_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_184callback_normal_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_186callback_normal_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_188callback_stick_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_190callback_stick_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_192callback_unstick_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_194callback_unstick_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_196callback_fullscreen_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_198callback_fullscreen_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_200callback_unfullscreen_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_202callback_unfullscreen_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_204callback_maximized_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_206callback_maximized_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_208callback_unmaximized_add(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_210callback_unmaximized_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_14StandardWindow___init__(struct PyElementaryStandardWindow *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_title); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11InnerWindow___init__(struct PyElementaryInnerWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_2activate(struct PyElementaryInnerWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_4content_set(struct PyElementaryInnerWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_6content_get(struct PyElementaryInnerWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_8content_unset(struct PyElementaryInnerWindow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_7content___get__(struct PyElementaryInnerWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content_2__set__(struct PyElementaryInnerWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_content); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content_4__del__(struct PyElementaryInnerWindow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10Background___init__(struct PyElementaryBackground *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_2file_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_4file_get(struct PyElementaryBackground *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_4file___get__(struct PyElementaryBackground *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10Background_4file_2__set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_6option_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_option); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_8option_get(struct PyElementaryBackground *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_6option___get__(struct PyElementaryBackground *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10Background_6option_2__set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_10color_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_12color_get(struct PyElementaryBackground *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_5color___get__(struct PyElementaryBackground *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10Background_5color_2__set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_14load_size_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10Background_9load_size___set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Icon___init__(struct PyElementaryIcon *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_2thumb_set(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Icon_5thumb___set__(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_4standard_set(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_6standard_get(struct PyElementaryIcon *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_8standard___get__(struct PyElementaryIcon *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Icon_8standard_2__set__(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_8order_lookup_set(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_order); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_10order_lookup_get(struct PyElementaryIcon *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_12order_lookup___get__(struct PyElementaryIcon *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Icon_12order_lookup_2__set__(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_order); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_12callback_thumb_done_add(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_14callback_thumb_done_del(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_16callback_thumb_error_add(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_18callback_thumb_error_del(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box___init__(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_2horizontal_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_4horizontal_get(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_10horizontal___get__(struct PyElementaryBox *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box_10horizontal_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_6homogeneous_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_homogeneous); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_8homogeneous_get(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_11homogeneous___get__(struct PyElementaryBox *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box_11homogeneous_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_10pack_start(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_12pack_end(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_14pack_before(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj, struct PyEvasObject *__pyx_v_before); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_16pack_after(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj, struct PyEvasObject *__pyx_v_after); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_18clear(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_20unpack(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_22unpack_all(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_24children_get(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_8children___get__(struct PyElementaryBox *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box_8children_2__del__(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_26padding_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_horizontal, PyObject *__pyx_v_vertical); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_28padding_get(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_7padding___get__(struct PyElementaryBox *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box_7padding_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_30align_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_horizontal, PyObject *__pyx_v_vertical); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_32align_get(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_5align___get__(struct PyElementaryBox *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box_5align_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_34recalculate(struct PyElementaryBox *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_36layout_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_layout); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Box_6layout___set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_layout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_38layout_transition(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_duration, PyObject *__pyx_v_from_layout, PyObject *__pyx_v_to_layout); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Frame___init__(struct PyElementaryFrame *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_2autocollapse_set(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_4autocollapse_get(struct PyElementaryFrame *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_12autocollapse___get__(struct PyElementaryFrame *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Frame_12autocollapse_2__set__(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_6collapse_set(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_8collapse_get(struct PyElementaryFrame *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_8collapse___get__(struct PyElementaryFrame *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Frame_8collapse_2__set__(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_10collapse_go(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_collapse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_12callback_clicked_add(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_14callback_clicked_del(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Flip___init__(struct PyElementaryFlip *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_2front_visible_get(struct PyElementaryFlip *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_13front_visible___get__(struct PyElementaryFlip *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_4perspective_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_foc, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_6go(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_flip_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_8interaction_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_10interaction_get(struct PyElementaryFlip *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_11interaction___get__(struct PyElementaryFlip *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Flip_11interaction_2__set__(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_12interaction_direction_enabled_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction, PyObject *__pyx_v_enable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_14interaction_direction_enabled_get(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_16interaction_direction_hitsize_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction, PyObject *__pyx_v_hitsize); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_18interaction_direction_hitsize_get(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_20callback_animate_begin_add(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_22callback_animate_begin_del(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_24callback_animate_done_add(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_26callback_animate_done_del(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller___init__(struct PyElementaryScroller *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_2custom_widget_base_theme_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_widget, PyObject *__pyx_v_base); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_4content_min_limit(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6region_show(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_8policy_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_policy_h, PyObject *__pyx_v_policy_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_10policy_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6policy___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_6policy_2__set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_12region_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6region___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_14child_size_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_10child_size___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_16bounce_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h, PyObject *__pyx_v_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_18bounce_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6bounce___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_6bounce_2__set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_20page_relative_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagerel, PyObject *__pyx_v_v_pagerel); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_22page_relative_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_13page_relative___set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_13page_relative_2__get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_24page_size_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagesize, PyObject *__pyx_v_v_pagesize); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_9page_size___set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_26current_page_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_12current_page___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_28last_page_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_9last_page___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_30page_show(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagenumber, PyObject *__pyx_v_v_pagenumber); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_32page_bring_in(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagenumber, PyObject *__pyx_v_v_pagenumber); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_34region_bring_in(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_36propagate_events_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_propagation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_38propagate_events_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_16propagate_events___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_16propagate_events_2__set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_propagation); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_40gravity_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_42gravity_get(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_7gravity___get__(struct PyElementaryScroller *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_7gravity_2__set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_44callback_edge_left_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_46callback_edge_left_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_48callback_edge_right_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_50callback_edge_right_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_52callback_edge_top_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_54callback_edge_top_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_56callback_edge_bottom_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_58callback_edge_bottom_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_60callback_scroll_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_62callback_scroll_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_64callback_scroll_anim_start_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_66callback_scroll_anim_start_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_68callback_scroll_anim_stop_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_70callback_scroll_anim_stop_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_72callback_scroll_drag_start_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_74callback_scroll_drag_start_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_76callback_scroll_drag_stop_add(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_78callback_scroll_drag_stop_del(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Label___init__(struct PyElementaryLabel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_2line_wrap_set(struct PyElementaryLabel *__pyx_v_self, Elm_Wrap_Type __pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_4line_wrap_get(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_9line_wrap___get__(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Label_9line_wrap_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_6wrap_width_set(struct PyElementaryLabel *__pyx_v_self, int __pyx_v_w); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_8wrap_width_get(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_10wrap_width___get__(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Label_10wrap_width_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_w); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_10ellipsis_set(struct PyElementaryLabel *__pyx_v_self, PyBoolObject *__pyx_v_ellipsis); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_12ellipsis_get(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_8ellipsis___get__(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Label_8ellipsis_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_ellipsis); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_14slide_set(struct PyElementaryLabel *__pyx_v_self, PyBoolObject *__pyx_v_slide); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_16slide_get(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_5slide___get__(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Label_5slide_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_slide); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_18slide_duration_set(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_duration); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_20slide_duration_get(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_14slide_duration___get__(struct PyElementaryLabel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Label_14slide_duration_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_duration); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_22callback_language_changed_add(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_24callback_language_changed_del(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Table___init__(struct PyElementaryTable *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_2homogeneous_set(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_homogeneous); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_4homogeneous_get(struct PyElementaryTable *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_11homogeneous___get__(struct PyElementaryTable *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Table_11homogeneous_2__set__(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_homogeneous); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_6padding_set(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_horizontal, PyObject *__pyx_v_vertical); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_8padding_get(struct PyElementaryTable *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_7padding___get__(struct PyElementaryTable *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Table_7padding_2__set__(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_10pack(struct PyElementaryTable *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_12unpack(struct PyElementaryTable *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_14clear(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_clear); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_16pack_set(struct PyElementaryTable *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_18pack_get(struct PyElementaryTable *__pyx_v_subobj); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock___init__(struct PyElementaryClock *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_2time_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_hours, PyObject *__pyx_v_minutes, PyObject *__pyx_v_seconds); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_4time_get(struct PyElementaryClock *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_4time___get__(struct PyElementaryClock *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock_4time_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_6edit_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_edit); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_8edit_get(struct PyElementaryClock *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_edit); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_4edit___get__(struct PyElementaryClock *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock_4edit_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_edit); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_10edit_mode_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_12edit_mode_get(struct PyElementaryClock *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_9edit_mode___get__(struct PyElementaryClock *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock_9edit_mode_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_14show_am_pm_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_am_pm); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_16show_am_pm_get(struct PyElementaryClock *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_10show_am_pm___get__(struct PyElementaryClock *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock_10show_am_pm_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_am_pm); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_18show_seconds_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_seconds); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_20show_seconds_get(struct PyElementaryClock *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_12show_seconds___get__(struct PyElementaryClock *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock_12show_seconds_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_seconds); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_22first_interval_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_interval); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_24first_interval_get(struct PyElementaryClock *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_14first_interval___get__(struct PyElementaryClock *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Clock_14first_interval_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_interval); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_26callback_changed_add(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_28callback_changed_del(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Hover___init__(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_parent, PyObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_2target_set(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_target); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_4target_get(struct PyElementaryHover *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_6target___get__(struct PyElementaryHover *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Hover_6target_2__set__(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_target); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_6parent_set(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_8parent_get(struct PyElementaryHover *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Hover_6parent___set__(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_6parent_2__get__(struct PyElementaryHover *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_10best_content_location_get(struct PyElementaryHover *__pyx_v_self, PyObject *__pyx_v_axis); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_12dismiss(struct PyElementaryHover *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_14callback_clicked_add(struct PyElementaryHover *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_16callback_clicked_del(struct PyElementaryHover *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_18callback_smart_changed_add(struct PyElementaryHover *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_20callback_smart_changed_del(struct PyElementaryHover *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_70Entry_markup_to_utf8(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_str); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_72Entry_utf8_to_markup(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_str); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15EntryAnchorInfo___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20EntryAnchorHoverInfo___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_74_entryanchor_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_76_entryanchorhover_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry___init__(struct PyElementaryEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_2single_line_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_single_line); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_4single_line_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_11single_line___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_11single_line_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_single_line); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_6password_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_password); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8password_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8password___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8password_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_password); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_10entry_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_entry); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_12entry_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_5entry___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_5entry_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_entry); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_14entry_append(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_16is_empty(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_18selection_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_9selection___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_20textblock_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_9textblock___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_22calc_force(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_24entry_insert(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_entry); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_26line_wrap_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_28line_wrap_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_9line_wrap___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_9line_wrap_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_30editable_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_editable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_32editable_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8editable___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8editable_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_editable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_34select_none(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_36select_all(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_38cursor_next(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_40cursor_prev(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_42cursor_up(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_44cursor_down(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_46cursor_begin_set(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_48cursor_end_set(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_50cursor_line_begin_set(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_52cursor_line_end_set(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_54cursor_selection_begin(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_56cursor_selection_end(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_58cursor_is_format_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_60cursor_is_visible_format_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_62cursor_content_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_64cursor_geometry_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_66cursor_pos_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_68cursor_pos_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_10cursor_pos___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_10cursor_pos_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_70selection_cut(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_72selection_copy(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_74selection_paste(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_76context_menu_clear(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_78context_menu_disabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_80context_menu_disabled_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_21context_menu_disabled___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_21context_menu_disabled_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_82file_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_file, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_84file_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_4file___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_4file_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_86file_save(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_88autosave_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_autosave); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_90autosave_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8autosave___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8autosave_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_autosave); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_92scrollable_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_scrollable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_94scrollable_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_10scrollable___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_10scrollable_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_scrollable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_96icon_visible_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_visible); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_12icon_visible___set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_visible); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_98scrollbar_policy_set(struct PyElementaryEntry *__pyx_v_self, Elm_Scroller_Policy __pyx_v_h, Elm_Scroller_Policy __pyx_v_v); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_16scrollbar_policy___set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_100bounce_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_h_bounce, PyObject *__pyx_v_v_bounce); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_102bounce_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_6bounce___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_6bounce_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_104input_panel_layout_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_layout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_106input_panel_layout_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_18input_panel_layout___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_18input_panel_layout_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_layout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_108input_panel_enabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_110input_panel_enabled_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_19input_panel_enabled___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_19input_panel_enabled_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_112input_panel_show(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_114input_panel_hide(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_116input_panel_language_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_lang); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_118input_panel_language_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_20input_panel_language___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_20input_panel_language_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_lang); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_120input_panel_return_key_type_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_return_key_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_122input_panel_return_key_type_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_27input_panel_return_key_type___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_return_key_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_124input_panel_return_key_disabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_126input_panel_return_key_disabled_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_128input_panel_return_key_autoenabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_34input_panel_return_key_autoenabled___set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_130imf_context_reset(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_132prediction_allow_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_allow); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_134prediction_allow_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_16prediction_allow___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_16prediction_allow_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_allow); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_136cnp_mode_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_138cnp_mode_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8cnp_mode___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8cnp_mode_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_140anchor_hover_parent_set(struct PyElementaryEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_anchor_hover_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_142anchor_hover_parent_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_19anchor_hover_parent___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_19anchor_hover_parent_2__set__(struct PyElementaryEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_anchor_hover_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_144anchor_hover_style_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_146anchor_hover_style_get(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_18anchor_hover_style___get__(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Entry_18anchor_hover_style_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_148anchor_hover_end(struct PyElementaryEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_150callback_changed_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_152callback_changed_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_154callback_changed_user_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_156callback_changed_user_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_158callback_activated_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_160callback_activated_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_162callback_press_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_164callback_press_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_166callback_longpressed_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_168callback_longpressed_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_170callback_clicked_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_172callback_clicked_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_174callback_double_clicked_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_176callback_double_clicked_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_178callback_triple_clicked_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_180callback_triple_clicked_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_182callback_focused_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_184callback_focused_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_186callback_unfocused_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_188callback_unfocused_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_190callback_selection_paste_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_192callback_selection_paste_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_194callback_selection_copy_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_196callback_selection_copy_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_198callback_selection_cut_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_200callback_selection_cut_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_202callback_selection_start_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_204callback_selection_start_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_206callback_selection_changed_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_208callback_selection_changed_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_210callback_selection_cleared_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_212callback_selection_cleared_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_214callback_cursor_changed_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_216callback_cursor_changed_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_218callback_anchor_clicked_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_220callback_anchor_clicked_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_222callback_anchor_in_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_224callback_anchor_in_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_226callback_anchor_out_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_228callback_anchor_out_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_230callback_anchor_up_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_232callback_anchor_up_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_234callback_anchor_down_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_236callback_anchor_down_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_238callback_anchor_hover_opened_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_240callback_anchor_hover_opened_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_242callback_preedit_changed_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_244callback_preedit_changed_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_246callback_language_changed_add(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_248callback_language_changed_del(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Bubble___init__(struct PyElementaryBubble *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_2pos_set(struct PyElementaryBubble *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_4pos_get(struct PyElementaryBubble *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_3pos___get__(struct PyElementaryBubble *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Bubble_3pos_2__set__(struct PyElementaryBubble *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_6callback_clicked_add(struct PyElementaryBubble *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_8callback_clicked_del(struct PyElementaryBubble *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo___init__(struct PyElementaryPhoto *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_2file_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_filename); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo_4file___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_filename); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_4thumb_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo_5thumb___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_6size_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo_4size___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_8fill_inside_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo_11fill_inside___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_10editable_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo_8editable___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fixed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_14aspect_fixed_get(struct PyElementaryPhoto *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed___get__(struct PyElementaryPhoto *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed_2__set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fixed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_16callback_clicked_add(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_18callback_clicked_del(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_20callback_drag_start_add(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_22callback_drag_start_del(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_24callback_drag_end_add(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_26callback_drag_end_del(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12HoverselItem___init__(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self, struct PyEvasObject *__pyx_v_hoversel, PyObject *__pyx_v_label, PyObject *__pyx_v_icon_file, PyObject *__pyx_v_icon_type, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12HoverselItem_2icon_set(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self, PyObject *__pyx_v_icon_file, PyObject *__pyx_v_icon_group, PyObject *__pyx_v_icon_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon_get(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon___set__(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon_2__get__(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Hoversel___init__(struct PyElementaryHoversel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_2horizontal_set(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_4horizontal_get(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Hoversel_10horizontal___set__(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_10horizontal_2__get__(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_6hover_parent_set(struct PyElementaryHoversel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_8hover_parent_get(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_parent___set__(struct PyElementaryHoversel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_parent_2__get__(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_10hover_begin(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_end(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_14expanded_get(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_8expanded___get__(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_16clear(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_18items_get(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_5items___get__(struct PyElementaryHoversel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_20item_add(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_icon_file, PyObject *__pyx_v_icon_type, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_22callback_clicked_add(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_24callback_clicked_del(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_26callback_selected_add(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_28callback_selected_del(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_30callback_dismissed_add(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_32callback_dismissed_del(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16ToolbarItemState___init__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_it, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem___init__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, struct PyEvasObject *__pyx_v_toolbar, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_2next_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4prev_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_6priority_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority_2__set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_10selected_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_12selected_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_8selected_2__get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_14icon_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_ic); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_16icon_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4icon___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4icon_2__set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_ic); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_18object_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_20icon_object_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_11icon_object___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_22icon_memfile_set(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_img, CYTHON_UNUSED PyObject *__pyx_v_size, CYTHON_UNUSED PyObject *__pyx_v_format, CYTHON_UNUSED PyObject *__pyx_v_key); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_24icon_file_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_file, PyObject *__pyx_v_key); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9icon_file___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_26separator_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_separator); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_28separator_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9separator___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_separator); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_9separator_2__get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_30menu_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_menu); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_32menu_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4menu___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4menu_2__set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_menu); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_34state_add(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_36state_del(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *__pyx_v_state); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *__pyx_v_state); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state_2__del__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state_4__get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_10state_next___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_10state_prev___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar___init__(struct PyElementaryToolbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_2icon_size_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_icon_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_4icon_size_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_9icon_size___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_icon_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_9icon_size_2__get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_6icon_order_lookup_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_order); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_8icon_order_lookup_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_17icon_order_lookup___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_order); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_2__get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_10item_append(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_12first_item_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_10first_item___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_14last_item_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_9last_item___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_16item_find_by_label(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_label); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_18selected_item_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_13selected_item___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_20more_item_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_9more_item___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_22shrink_mode_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_24shrink_mode_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11shrink_mode___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11shrink_mode_2__set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_26homogeneous_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_homogeneous); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_28homogeneous_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11homogeneous___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_homogeneous); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11homogeneous_2__get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_30menu_parent_set(struct PyElementaryToolbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_32menu_parent_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11menu_parent___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11menu_parent_2__set__(struct PyElementaryToolbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_34align_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_align); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_36align_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_5align___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_align); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_5align_2__get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_38horizontal_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_40horizontal_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_10horizontal___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_10horizontal_2__get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_42items_count(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_17standard_priority___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_17standard_priority_2__get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_44select_mode_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_46select_mode_get(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11select_mode___get__(struct PyElementaryToolbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11select_mode_2__set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_48callback_clicked_add(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_50callback_clicked_del(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_52callback_longpressed_add(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_54callback_longpressed_del(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_56callback_language_changed_add(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_58callback_language_changed_del(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8ListItem___init__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_kind, struct PyEvasObject *__pyx_v_list, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_before_after, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_2__str__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_4__repr__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_6selected_set(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_8selected_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8ListItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_10separator_set(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_separator); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_12separator_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_9separator___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8ListItem_9separator_2__set__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_separator); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_14show(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_16bring_in(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_18object_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_20prev_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_22next_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List___init__(struct PyElementaryList *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_2go(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_4multi_select_set(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_multi); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_6multi_select_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_12multi_select___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List_12multi_select_2__set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_multi); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_8mode_set(struct PyElementaryList *__pyx_v_self, Elm_List_Mode __pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_10mode_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_4mode___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List_4mode_2__set__(struct PyElementaryList *__pyx_v_self, Elm_List_Mode __pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_10horizontal___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List_10horizontal_2__set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_12select_mode_set(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_14select_mode_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List_11select_mode___set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_11select_mode_2__get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_16bounce_set(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_h, PyObject *__pyx_v_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_18bounce_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List_6bounce___set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_20scroller_policy_set(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_policy_h, PyObject *__pyx_v_policy_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_22scroller_policy_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4List_15scroller_policy___set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_15scroller_policy_2__get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_24item_append(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_26item_prepend(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_28item_insert_before(struct PyElementaryList *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_before, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_30item_insert_after(struct PyElementaryList *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_after, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_32clear(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_34items_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_5items___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_36selected_item_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_13selected_item___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_38selected_items_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_14selected_items___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_40first_item_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_10first_item___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_42last_item_get(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_9last_item___get__(struct PyElementaryList *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_44callback_activated_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_46callback_activated_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_48callback_clicked_double_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_50callback_clicked_double_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_52callback_selected_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_54callback_selected_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_56callback_unselected_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_58callback_unselected_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_60callback_longpressed_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_62callback_longpressed_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_64callback_edge_top_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_66callback_edge_top_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_68callback_edge_bottom_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_70callback_edge_bottom_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_72callback_edge_left_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_74callback_edge_left_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_76callback_edge_right_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_78callback_edge_right_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_80callback_language_changed_add(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4List_82callback_language_changed_del(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider___init__(struct PyElementarySlider *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_2span_size_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_4span_size_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_9span_size___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_9span_size_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_6unit_format_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_8unit_format_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_11unit_format___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_11unit_format_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_10indicator_format_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_12indicator_format_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_16indicator_format___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_16indicator_format_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_14horizontal_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_16horizontal_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_10horizontal___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_10horizontal_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_18min_max_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_min, PyObject *__pyx_v_max); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_20min_max_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_7min_max___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_7min_max_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_22value_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_24value_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_5value___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_5value_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_26inverted_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_inverted); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_28inverted_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_8inverted___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_8inverted_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_inverted); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_30indicator_show_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_show); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_32indicator_show_get(struct PyElementarySlider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_14indicator_show___get__(struct PyElementarySlider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Slider_14indicator_show_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_show); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_34callback_changed_add(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_36callback_changed_del(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_38callback_slider_drag_start_add(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_40callback_slider_drag_start_del(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_42callback_slider_drag_stop_add(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_44callback_slider_drag_stop_del(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_46callback_delay_changed_add(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_48callback_delay_changed_del(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_item_pop_to(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_2pop_to(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_4item_promote(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_6promote(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_8style_set(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_10style_get(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_5style___get__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13NaviframeItem_5style_2__set__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_12title_visible_set(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_visible); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_14title_visible_get(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_13title_visible___get__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13NaviframeItem_13title_visible_2__set__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_visible); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Naviframe___init__(struct PyElementaryNaviframe *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_2item_push(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_title_label, struct PyEvasObject *__pyx_v_prev_btn, struct PyEvasObject *__pyx_v_next_btn, struct PyEvasObject *__pyx_v_content, const char * __pyx_v_item_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_4item_insert_before(struct PyElementaryNaviframe *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_before, PyObject *__pyx_v_title_label, struct PyEvasObject *__pyx_v_prev_btn, struct PyEvasObject *__pyx_v_next_btn, struct PyEvasObject *__pyx_v_content, const char * __pyx_v_item_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_6item_insert_after(struct PyElementaryNaviframe *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_after, PyObject *__pyx_v_title_label, struct PyEvasObject *__pyx_v_prev_btn, struct PyEvasObject *__pyx_v_next_btn, struct PyEvasObject *__pyx_v_content, const char * __pyx_v_item_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_8item_pop(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_10content_preserve_on_pop_set(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_preserve); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_12content_preserve_on_pop_get(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop___get__(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_2__set__(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_preserve); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_14top_item_get(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_8top_item___get__(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_16bottom_item_get(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_11bottom_item___get__(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_18prev_btn_auto_pushed_set(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_auto_pushed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_get(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed___get__(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_2__set__(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_auto_pushed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_22items_get(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_5items___get__(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_24event_enabled_set(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_26event_enabled_get(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_13event_enabled___get__(struct PyElementaryNaviframe *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Naviframe_13event_enabled_2__set__(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_28item_simple_push(struct PyElementaryNaviframe *__pyx_v_self, struct PyEvasObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_30item_simple_promote(struct PyElementaryNaviframe *__pyx_v_self, struct PyEvasObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_32callback_transition_finished_add(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_34callback_transition_finished_del(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_36callback_title_clicked_add(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_38callback_title_clicked_del(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Radio___init__(struct PyElementaryRadio *__pyx_v_self, struct PyEvasObject *__pyx_v_parent, PyObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_2group_add(struct PyElementaryRadio *__pyx_v_self, struct PyEvasObject *__pyx_v_group); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_4state_value_set(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_6state_value_get(struct PyElementaryRadio *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_11state_value___get__(struct PyElementaryRadio *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Radio_11state_value_2__set__(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_8value_set(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_10value_get(struct PyElementaryRadio *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_5value___get__(struct PyElementaryRadio *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Radio_5value_2__set__(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_12value_pointer_set(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_14selected_object_get(struct PyElementaryRadio *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_15selected_object___get__(struct PyElementaryRadio *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_16callback_changed_add(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_18callback_changed_del(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Check___init__(struct PyElementaryCheck *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_2state_set(struct PyElementaryCheck *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_4state_get(struct PyElementaryCheck *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_5state___get__(struct PyElementaryCheck *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Check_5state_2__set__(struct PyElementaryCheck *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_6callback_changed_add(struct PyElementaryCheck *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_8callback_changed_del(struct PyElementaryCheck *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16GenlistItemClass___cinit__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_2__init__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__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_10elementary_12c_elementary_16GenlistItemClass_4__str__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_6__repr__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_10item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_8text_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_10content_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_12state_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_11_item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_14_text_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_17_content_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_15_state_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_9_del_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem___str__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_2__repr__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4data_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4data___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_6next_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_8prev_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_10selected_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_12selected_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GenlistItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_14show(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_16bring_in(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_18update(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_20index_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_22tooltip_text_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, char *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_24tooltip_content_cb_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_26tooltip_unset(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_28tooltip_style_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_30tooltip_style_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_32tooltip_window_mode_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_disable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_34tooltip_window_mode_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_36cursor_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_cursor); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_38cursor_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_40cursor_unset(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_42cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_44cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_46cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_48cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_50parent_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_6parent___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_52subitems_clear(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_54expanded_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_expanded); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_56expanded_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_8expanded___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GenlistItem_8expanded_2__set__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_expanded); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_58expanded_depth_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_60all_contents_unset(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_62promote(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_64demote(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_66fields_update(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_parts, PyObject *__pyx_v_itf); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_68decorate_mode_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_decorate_it_type, PyObject *__pyx_v_decorate_it_set); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_70decorate_mode_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_72type_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_74flip_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_flip); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_76flip_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_78select_mode_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_80select_mode_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Genlist___init__(struct PyElementaryGenlist *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_2clear(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_4multi_select_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_multi); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_6multi_select_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_8mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_10mode_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_12bounce_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_h_bounce, PyObject *__pyx_v_v_bounce); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_14bounce_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_16item_append(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_parent_item, int __pyx_v_flags, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_18item_prepend(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_parent_item, int __pyx_v_flags, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_20item_insert_before(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_before_item, int __pyx_v_flags, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_22item_insert_after(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_after_item, int __pyx_v_flags, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_24selected_item_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_13selected_item___get__(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_26selected_items_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_28realized_items_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_30first_item_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_10first_item___get__(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_32last_item_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_9last_item___get__(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_34scroller_policy_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_policy_h, PyObject *__pyx_v_policy_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_36scroller_policy_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_38realized_items_update(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_40items_count(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_42homogeneous_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_homogeneous); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_44homogeneous_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_46block_count_set(struct PyElementaryGenlist *__pyx_v_self, int __pyx_v_n); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_48block_count_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_50longpress_timeout_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_52longpress_timeout_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_54at_xy_item_get(struct PyElementaryGenlist *__pyx_v_self, int __pyx_v_x, int __pyx_v_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_56decorated_item_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_58reorder_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_reorder_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_60reorder_mode_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_62decorate_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_decorated); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_64decorate_mode_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_66tree_effect_enabled_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_68tree_effect_enabled_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_70highlight_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_highlight); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_72highlight_mode_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_74select_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_76select_mode_get(struct PyElementaryGenlist *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_78callback_activated_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_80callback_activated_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_82callback_clicked_double_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_84callback_clicked_double_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_86callback_selected_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_88callback_selected_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_90callback_unselected_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_92callback_unselected_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_94callback_expanded_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_96callback_expanded_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_98callback_contracted_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_100callback_contracted_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_102callback_expand_request_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_104callback_expand_request_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_106callback_contract_request_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_108callback_contract_request_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_110callback_realized_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_112callback_realized_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_114callback_unrealized_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_116callback_unrealized_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_118callback_drag_start_up_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_120callback_drag_start_up_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_122callback_drag_start_down_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_124callback_drag_start_down_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_126callback_drag_start_left_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_128callback_drag_start_left_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_130callback_drag_start_right_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_132callback_drag_start_right_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_134callback_drag_stop_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_136callback_drag_stop_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_138callback_drag_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_140callback_drag_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_142callback_longpressed_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_144callback_longpressed_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_146callback_scroll_anim_start_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_148callback_scroll_anim_start_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_150callback_scroll_anim_stop_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_152callback_scroll_anim_stop_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_154callback_scroll_drag_start_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_156callback_scroll_drag_start_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_158callback_scroll_drag_stop_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_160callback_scroll_drag_stop_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_162callback_edge_top_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_164callback_edge_top_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_166callback_edge_bottom_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_168callback_edge_bottom_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_170callback_edge_left_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_172callback_edge_left_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_174callback_edge_right_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_176callback_edge_right_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_178callback_multi_swipe_left_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_180callback_multi_swipe_left_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_182callback_multi_swipe_right_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_184callback_multi_swipe_right_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_186callback_multi_swipe_up_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_188callback_multi_swipe_up_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_190callback_multi_swipe_down_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_192callback_multi_swipe_down_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_194callback_multi_pinch_out_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_196callback_multi_pinch_out_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_198callback_multi_pinch_in_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_200callback_multi_pinch_in_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_202callback_swipe_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_204callback_swipe_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_206callback_moved_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_208callback_moved_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_210callback_moved_after_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_212callback_moved_after_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_214callback_moved_before_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_216callback_moved_before_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_218callback_language_changed_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_220callback_language_changed_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_222callback_tree_effect_finished_add(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_224callback_tree_effect_finished_del(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16GengridItemClass___cinit__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16GengridItemClass_2__init__(struct __pyx_obj_10elementary_12c_elementary_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_10elementary_12c_elementary_16GengridItemClass_4__str__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_6__repr__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_10item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_8text_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_10content_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_12state_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_11_item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_14_text_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_17_content_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_15_state_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_9_del_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem___str__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_2__repr__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4data_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4data___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_6next_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_8prev_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_10gengrid_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_7gengrid___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_12index_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_5index___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_14delete(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_16update(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_18selected_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_20selected_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_22show(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_24bring_in(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_scrollto_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_26pos_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_28tooltip_text_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_12tooltip_text___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_30tooltip_content_cb_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_32item_tooltip_unset(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_34tooltip_style_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_36tooltip_style_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_13tooltip_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_13tooltip_style_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_38tooltip_window_mode_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_disable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_40tooltip_window_mode_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_42cursor_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, char *__pyx_v_cursor); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_44cursor_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_6cursor___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_6cursor_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_46cursor_unset(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_48cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_style); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_50cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_12cursor_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_12cursor_style_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_52cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_engine_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_54cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_18cursor_engine_only___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_56select_mode_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_58select_mode_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_11select_mode___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11GengridItem_11select_mode_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid___init__(struct PyElementaryGengrid *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_2clear(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_4multi_select_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_multi); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_6multi_select_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12multi_select___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_12multi_select_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_8horizontal_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_setting); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12bounce_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_bounce, PyObject *__pyx_v_v_bounce); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14bounce_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_6bounce___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_6bounce_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_16item_append(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_18item_prepend(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_20item_insert_before(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_before_item, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_22item_insert_after(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_after_item, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_24selected_item_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_13selected_item___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_26selected_items_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14selected_items___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_28realized_items_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14realized_items___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_30realized_items_update(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_32first_item_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_10first_item___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_34last_item_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_9last_item___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_36scroller_policy_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_policy_h, PyObject *__pyx_v_policy_v); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_38scroller_policy_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_15scroller_policy___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_15scroller_policy_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_40item_size_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_42item_size_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_44items_count(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_9item_size___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_9item_size_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_46group_item_size_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_48group_item_size_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_15group_item_size___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_15group_item_size_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_50align_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_align_x, PyObject *__pyx_v_align_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_52align_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_5align___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_5align_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_54reorder_mode_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_56reorder_mode_get(struct PyElementaryGengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12reorder_mode___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_12reorder_mode_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_58page_relative_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagerel, PyObject *__pyx_v_v_pagerel); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_60page_relative_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_13page_relative___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_13page_relative_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_62page_size_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagesize, PyObject *__pyx_v_v_pagesize); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_64current_page_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12current_page___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_66last_page_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_9last_page___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_68page_show(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagenum, PyObject *__pyx_v_v_pagenum); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_70page_bring_in(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagenum, PyObject *__pyx_v_v_pagenum); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_72filled_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_fill); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_74filled_get(struct PyElementaryGengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_6filled___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_6filled_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_76select_mode_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_78select_mode_get(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_11select_mode___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_11select_mode_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_80highlight_mode_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_highlight); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_82highlight_mode_get(struct PyElementaryGengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14highlight_mode___get__(struct PyElementaryGengrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Gengrid_14highlight_mode_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_84callback_clicked_double_add(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_86callback_clicked_double_del(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_88callback_clicked_add(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_90callback_clicked_del(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_92callback_selected_add(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_94callback_selected_del(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_96callback_unselected_add(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_98callback_unselected_del(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner___init__(struct PyElementarySpinner *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_2label_format_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4label_format_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_12label_format___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_12label_format_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_6min_max_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_min, PyObject *__pyx_v_max); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_8min_max_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_7min_max___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_7min_max_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_10step_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_step); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_12step_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4step___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_4step_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_step); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_14value_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_16value_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_5value___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_5value_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_18wrap_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_20wrap_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4wrap___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_4wrap_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_22editable_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_editable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_24editable_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_8editable___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_8editable_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_editable); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_26special_value_add(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value, PyObject *__pyx_v_label); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_28interval_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_interval); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_30interval_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_8interval___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_8interval_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_interval); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_32base_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_base); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_34base_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4base___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_4base_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_base); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_36round_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_rnd); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_38round_get(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_5round___get__(struct PyElementarySpinner *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Spinner_5round_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_rnd); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_40callback_changed_add(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_42callback_changed_del(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_44callback_delay_changed_add(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_46callback_delay_changed_del(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Notify___init__(struct PyElementaryNotify *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_2parent_set(struct PyElementaryNotify *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_4parent_get(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_6parent___get__(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Notify_6parent_2__set__(struct PyElementaryNotify *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_6orient_set(struct PyElementaryNotify *__pyx_v_self, int __pyx_v_orient); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_8orient_get(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_6orient___get__(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Notify_6orient_2__set__(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_orient); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_10timeout_set(struct PyElementaryNotify *__pyx_v_self, double __pyx_v_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_12timeout_get(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_7timeout___get__(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Notify_7timeout_2__set__(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_14allow_events_set(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_repeat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_16allow_events_get(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_12allow_events___get__(struct PyElementaryNotify *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Notify_12allow_events_2__set__(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_allow_events); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_18callback_timeout_add(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_20callback_timeout_del(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_22callback_block_clicked_add(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_24callback_block_clicked_del(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector___init__(struct PyElementaryFileselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_2is_save_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_is_save); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_4is_save_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_7is_save___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_7is_save_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_is_save); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_6folder_only_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_folder_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_8folder_only_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_11folder_only___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_11folder_only_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_folder_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_10buttons_ok_cancel_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_buttons); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_12buttons_ok_cancel_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_buttons); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_14expandable_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_expand); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_16expandable_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_10expandable___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_10expandable_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_expand); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_18path_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_20path_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_4path___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_4path_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_22selected_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_24selected_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_8selected___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_8selected_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_26mode_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_28mode_get(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_4mode___get__(struct PyElementaryFileselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Fileselector_4mode_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_30callback_selected_add(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_32callback_selected_del(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_34callback_directory_open_add(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_36callback_directory_open_del(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_38callback_done_add(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_40callback_done_del(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry___init__(struct PyElementaryFileselectorEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_2window_title_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_title); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4window_title_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12window_title___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12window_title_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_title); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_6window_size_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8window_size_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11window_size___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11window_size_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10path_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12path_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4path___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4path_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_14expandable_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_expand); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_16expandable_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10expandable___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10expandable_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_expand); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_18folder_only_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_folder_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_20folder_only_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11folder_only___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11folder_only_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_folder_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_22is_save_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_is_save); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_24is_save_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_7is_save___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_7is_save_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_is_save); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_26inwin_mode_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_28inwin_mode_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_30selected_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_32selected_get(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8selected___get__(struct PyElementaryFileselectorEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8selected_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_34callback_changed_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_36callback_changed_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_38callback_activated_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_40callback_activated_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_42callback_press_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_44callback_press_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_46callback_longpressed_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_48callback_longpressed_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_50callback_clicked_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_52callback_clicked_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_54callback_clicked_double_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_56callback_clicked_double_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_58callback_focused_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_60callback_focused_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_62callback_unfocused_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_64callback_unfocused_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_66callback_selection_paste_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_68callback_selection_paste_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_70callback_selection_copy_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_72callback_selection_copy_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_74callback_selection_cut_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_76callback_selection_cut_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_78callback_unpressed_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_80callback_unpressed_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_82callback_file_chosen_add(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_84callback_file_chosen_del(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton___init__(struct PyElementaryFileselectorButton *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_2window_title_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_title); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_4window_title_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_12window_title___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_12window_title_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_title); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_6window_size_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_width, PyObject *__pyx_v_height); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_8window_size_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_11window_size___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11window_size_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_10path_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_12path_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_4path___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_4path_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_path); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_14expandable_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_expand); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_16expandable_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_10expandable___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10expandable_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_expand); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_18folder_only_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_folder_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_20folder_only_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_11folder_only___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11folder_only_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_folder_only); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_22is_save_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_is_save); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_24is_save_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_7is_save___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_7is_save_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_is_save); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_26inwin_mode_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_28inwin_mode_get(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_10inwin_mode___get__(struct PyElementaryFileselectorButton *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_30callback_file_chosen_add(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_32callback_file_chosen_del(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Separator___init__(struct PyElementarySeparator *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Separator_2horizontal_set(struct PyElementarySeparator *__pyx_v_self, PyObject *__pyx_v_b); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Separator_4horizontal_get(struct PyElementarySeparator *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Separator_10horizontal___get__(struct PyElementarySeparator *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Separator_10horizontal_2__set__(struct PyElementarySeparator *__pyx_v_self, PyObject *__pyx_v_b); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar___init__(struct PyElementaryProgressbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_2pulse_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_pulse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_4pulse_get(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_6pulse(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_state); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_8value_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_10value_get(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_5value___get__(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar_5value_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_12span_size_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_14span_size_get(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_9span_size___get__(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar_9span_size_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_16unit_format_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_18unit_format_get(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_11unit_format___get__(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar_11unit_format_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_format); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar_20unit_format_function___set__(CYTHON_UNUSED struct PyElementaryProgressbar *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_20horizontal_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_22horizontal_get(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_10horizontal___get__(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar_10horizontal_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_24inverted_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_inverted); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_26inverted_get(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_8inverted___get__(struct PyElementaryProgressbar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Progressbar_8inverted_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_inverted); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_28callback_changed_add(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_30callback_changed_del(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8MenuItem___init__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, struct PyEvasObject *__pyx_v_menu, struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_parent, PyObject *__pyx_v_label, PyObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_2object_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_4icon_name_set(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_6icon_name_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_9icon_name___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8MenuItem_9icon_name_2__set__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_8selected_set(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_10selected_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8MenuItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_12is_separator(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_14subitems_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_8subitems___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_16index_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_5index___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_18next_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_20prev_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17MenuSeparatorItem___init__(struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *__pyx_v_self, struct PyEvasObject *__pyx_v_menu, struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17MenuSeparatorItem_2is_separator(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Menu___init__(struct PyElementaryMenu *__pyx_v_self, struct PyEvasObject *__pyx_v_parent, PyObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_2parent_set(struct PyElementaryMenu *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_4parent_get(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_6parent___get__(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Menu_6parent_2__set__(struct PyElementaryMenu *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_6move(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_8close(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_10items_get(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_5items___get__(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_12item_add(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_parent, PyObject *__pyx_v_label, PyObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_14item_separator_add(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_16selected_item_get(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_13selected_item___get__(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_18last_item_get(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_9last_item___get__(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_20first_item_get(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_10first_item___get__(struct PyElementaryMenu *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_22callback_clicked_add(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_24callback_clicked_del(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panel___init__(struct PyElementaryPanel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_2orient_set(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_orient); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_4orient_get(struct PyElementaryPanel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panel_6orient___set__(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_orient); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_6orient_2__get__(struct PyElementaryPanel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_6hidden_set(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_hidden); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_8hidden_get(struct PyElementaryPanel *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panel_6hidden___set__(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_hidden); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_6hidden_2__get__(struct PyElementaryPanel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_10toggle(struct PyElementaryPanel *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_78_web_double_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_80_web_load_frame_error_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_82_web_link_hover_in_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Web___init__(struct PyElementaryWeb *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_2callback_uri_changed_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_4callback_uri_changed_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_6callback_title_changed_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_8callback_title_changed_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_10callback_link_hover_in_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_12callback_link_hover_in_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_14callback_link_hover_out_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_16callback_link_hover_out_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_18callback_load_error_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_20callback_load_error_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_22callback_load_finished_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_24callback_load_finished_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_26callback_load_progress_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_28callback_load_progress_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_30callback_load_provisional_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_32callback_load_provisional_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_34callback_load_started_add(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_36callback_load_started_del(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_38history_enabled_get(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_40webkit_view_get(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_42uri_set(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_uri); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_44uri_get(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_3uri___get__(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Web_3uri_2__set__(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_46useragent_get(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_48zoom_get(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_50zoom_mode_get(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_52back(struct PyElementaryWeb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_54console_message_hook_set(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Actionslider___init__(struct PyElementaryActionslider *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_2selected_label_get(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_14selected_label___get__(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_4indicator_pos_set(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_6indicator_pos_get(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_13indicator_pos___get__(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Actionslider_13indicator_pos_2__set__(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_8magnet_pos_set(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos_get(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos___get__(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos_2__set__(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_12enabled_pos_set(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_14enabled_pos_get(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_11enabled_pos___get__(struct PyElementaryActionslider *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Actionslider_11enabled_pos_2__set__(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_16callback_selected_add(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_18callback_selected_del(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_20callback_pos_changed_add(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_22callback_pos_changed_del(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12CalendarMark___init__(struct __pyx_obj_10elementary_12c_elementary_CalendarMark *__pyx_v_self, struct PyEvasObject *__pyx_v_cal, PyObject *__pyx_v_mark_type, PyObject *__pyx_v_mark_time, PyObject *__pyx_v_repeat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12CalendarMark_2delete(struct __pyx_obj_10elementary_12c_elementary_CalendarMark *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar___init__(struct PyElementaryCalendar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_14weekdays_names___get__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_14weekdays_names_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_weekdays); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_12min_max_year___get__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_12min_max_year_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_11select_mode___get__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_11select_mode_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_13selected_time___get__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_13selected_time_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_selected_time); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_2format_function_set(CYTHON_UNUSED struct PyElementaryCalendar *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_format_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_4mark_add(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_mark_type, PyObject *__pyx_v_mark_time, PyObject *__pyx_v_repeat); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_5marks___del__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_6marks_draw(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_8interval___get__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_8interval_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_interval); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_17first_day_of_week___get__(struct PyElementaryCalendar *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Calendar_17first_day_of_week_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_day); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_8callback_changed_add(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_10callback_changed_del(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem___init__(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self, struct PyEvasObject *__pyx_v_cs, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_2color_get(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_4color_set(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_5color___get__(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_2__set__(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Colorselector___init__(struct PyElementaryColorselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_2color_set(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_4color_get(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_5color___get__(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Colorselector_5color_2__set__(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_6mode_set(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_8mode_get(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_4mode___get__(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Colorselector_4mode_2__set__(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_10palette_color_add(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_clear(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_14palette_name_set(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_palette_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_16palette_name_get(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_name___get__(struct PyElementaryColorselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_name_2__set__(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_palette_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_18callback_changed_add(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_20callback_changed_del(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_22callback_color_item_selected_add(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_24callback_color_item_selected_del(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_26callback_color_item_longpressed_add(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_28callback_color_item_longpressed_del(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9IndexItem___init__(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self, PyObject *__pyx_v_kind, struct PyEvasObject *__pyx_v_index, PyObject *__pyx_v_letter, struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_before_after, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9IndexItem_2selected_set(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9IndexItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9IndexItem_4letter_get(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9IndexItem_6letter___get__(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Index___init__(struct PyElementaryIndex *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_2autohide_disabled_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_4autohide_disabled_get(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_17autohide_disabled___get__(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Index_17autohide_disabled_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_6item_level_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_8item_level_get(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_10item_level___get__(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Index_10item_level_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_10selected_item_get(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_12item_append(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_14item_prepend(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_16item_insert_after(struct PyElementaryIndex *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_after, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_18item_insert_before(struct PyElementaryIndex *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_before, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_20item_find(CYTHON_UNUSED struct PyElementaryIndex *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_22item_clear(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_24level_go(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_26indicator_disabled_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_28indicator_disabled_get(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_18indicator_disabled___get__(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Index_18indicator_disabled_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_30horizontal_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_32horizontal_get(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_10horizontal___get__(struct PyElementaryIndex *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Index_10horizontal_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_34callback_changed_add(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_36callback_changed_del(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_38callback_delay_changed_add(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_40callback_delay_changed_del(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_42callback_selected_add(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_44callback_selected_del(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_46callback_level_up_add(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_48callback_level_up_del(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_50callback_level_down_add(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_52callback_level_down_del(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12CtxpopupItem___init__(struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem *__pyx_v_self, struct PyEvasObject *__pyx_v_ctxpopup, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup___init__(struct PyElementaryCtxpopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_2hover_parent_set(struct PyElementaryCtxpopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_4hover_parent_get(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_6parent___get__(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup_6parent_2__set__(struct PyElementaryCtxpopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_6clear(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_8horizontal_set(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal_get(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal___get__(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal_2__set__(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_12item_append(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_14direction_priority_set(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_first, PyObject *__pyx_v_second, PyObject *__pyx_v_third, PyObject *__pyx_v_fourth); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_16direction_priority_get(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_priority___get__(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_priority_2__set__(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_priority); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_get(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_9direction___get__(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_20dismiss(struct PyElementaryCtxpopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_22callback_dismissed_add(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_24callback_dismissed_del(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Grid___init__(struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_2size_set(struct PyElementaryGrid *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_4size_get(struct PyElementaryGrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Grid_4size___set__(struct PyElementaryGrid *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_4size_2__get__(struct PyElementaryGrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_6pack(struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_8unpack(struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_10clear(struct PyElementaryGrid *__pyx_v_self, PyObject *__pyx_v_clear); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_12pack_set(CYTHON_UNUSED struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_14pack_get(CYTHON_UNUSED struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_16children_get(struct PyElementaryGrid *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_8children___get__(struct PyElementaryGrid *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Video___init__(struct PyElementaryVideo *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_2file_set(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_filename); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Video_4file___set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_filename); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_4emotion_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_7emotion___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_6play(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_8pause(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_10stop(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_12is_playing_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_10is_playing___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_14is_seekable_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_11is_seekable___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_16audio_mute_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_18audio_mute_set(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_mute); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_10audio_mute___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Video_10audio_mute_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_mute); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_20audio_level_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_22audio_level_set(struct PyElementaryVideo *__pyx_v_self, double __pyx_v_volume); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_11audio_level___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Video_11audio_level_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_volume); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_24play_position_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_26play_position_set(struct PyElementaryVideo *__pyx_v_self, double __pyx_v_position); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_13play_position___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Video_13play_position_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_position); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_28play_length_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_11play_length___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_30remember_position_set(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_remember); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_32remember_position_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_17remember_position___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Video_17remember_position_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_remember); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_34title_get(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_5title___get__(struct PyElementaryVideo *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Player___init__(struct PyElementaryPlayer *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_2callback_forward_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_4callback_forward_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_6callback_info_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_8callback_info_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_10callback_next_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_12callback_next_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_14callback_pause_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_16callback_pause_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_18callback_play_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_20callback_play_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_22callback_prev_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_24callback_prev_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_26callback_rewind_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_28callback_rewind_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_30callback_stop_clicked_add(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_32callback_stop_clicked_del(struct PyElementaryPlayer *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10Conformant___init__(struct PyElementaryConformant *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Dayselector___init__(struct PyElementaryDayselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_2day_selected_set(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_4day_selected_get(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_10week_start___get__(struct PyElementaryDayselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Dayselector_10week_start_2__set__(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_13weekend_start___get__(struct PyElementaryDayselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Dayselector_13weekend_start_2__set__(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_14weekend_length___get__(struct PyElementaryDayselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_11Dayselector_14weekend_length_2__set__(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_length); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_6callback_dayselector_changed_add(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_8callback_dayselector_changed_del(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_10callback_language_changed_add(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_12callback_language_changed_del(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panes___init__(struct PyElementaryPanes *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panes_5fixed___set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_fixed); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_5fixed_2__get__(struct PyElementaryPanes *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_17content_left_size___get__(struct PyElementaryPanes *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panes_17content_left_size_2__set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_18content_right_size___get__(struct PyElementaryPanes *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panes_18content_right_size_2__set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_size); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Panes_10horizontal___set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_horizontal); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_10horizontal_2__get__(struct PyElementaryPanes *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_2callback_press_add(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_4callback_press_del(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_6callback_unpress_add(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_8callback_unpress_del(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_10callback_clicked_add(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_12callback_clicked_del(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_14callback_clicked_double_add(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_16callback_clicked_double_del(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Thumb___init__(struct PyElementaryThumb *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_2reload(struct PyElementaryThumb *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Thumb_4file___set__(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_4file_2__get__(struct PyElementaryThumb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_4path___get__(struct PyElementaryThumb *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Thumb_7animate___set__(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_s); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_7animate_2__get__(struct PyElementaryThumb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_4ethumb_client_get(CYTHON_UNUSED struct PyElementaryThumb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_6ethumb_client_connected_get(CYTHON_UNUSED struct PyElementaryThumb *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Thumb_8editable___set__(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_edit); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_8editable_2__get__(struct PyElementaryThumb *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_8callback_clicked_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_10callback_clicked_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_12callback_clicked_double_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_14callback_clicked_double_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_16callback_press_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_18callback_press_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_20callback_generate_start_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_22callback_generate_start_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_24callback_generate_stop_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_26callback_generate_stop_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_28callback_generate_error_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_30callback_generate_error_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_32callback_load_error_add(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_34callback_load_error_del(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16DiskselectorItem___init__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self, struct PyEvasObject *__pyx_v_diskselector, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16DiskselectorItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16DiskselectorItem_8selected_2__get__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16DiskselectorItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16DiskselectorItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Diskselector___init__(struct PyElementaryDiskselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Diskselector_13round_enabled___set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_13round_enabled_2__get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_20side_text_max_length___get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Diskselector_20side_text_max_length_2__set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_length); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Diskselector_16display_item_num___set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_num); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_16display_item_num_2__get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Diskselector_6bounce___set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_bounce); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_6bounce_2__get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_15scroller_policy___get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12Diskselector_15scroller_policy_2__set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_policy); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_2clear(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_5items___get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_4item_append(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_13selected_item___get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_10first_item___get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_9last_item___get__(struct PyElementaryDiskselector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_6callback_selected_add(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_8callback_selected_del(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_10callback_scroll_anim_start_add(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_12callback_scroll_anim_start_del(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_14callback_scroll_anim_stop_add(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_16callback_scroll_anim_stop_del(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_18callback_scroll_drag_start_add(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_20callback_scroll_drag_start_del(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_22callback_scroll_drag_stop_add(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_24callback_scroll_drag_stop_del(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Datetime___init__(struct PyElementaryDatetime *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_6format___get__(struct PyElementaryDatetime *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Datetime_6format_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_fmt); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_9value_max___get__(struct PyElementaryDatetime *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Datetime_9value_max_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_newtime); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_9value_min___get__(struct PyElementaryDatetime *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Datetime_9value_min_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_newtime); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_11field_limit___get__(struct PyElementaryDatetime *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Datetime_11field_limit_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_5value___get__(struct PyElementaryDatetime *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Datetime_5value_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_newtime); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_2field_visible_get(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_fieldtype); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_4field_visible_set(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_fieldtype, PyObject *__pyx_v_visible); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_6callback_changed_add(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_8callback_changed_del(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_10callback_languge_changed_add(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_12callback_language_changed_del(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8MapRoute___cinit__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8MapRoute_2__init__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self, struct PyEvasObject *__pyx_v_map, Elm_Map_Route_Type __pyx_v_type, Elm_Map_Route_Method __pyx_v_method, double __pyx_v_flon, double __pyx_v_flat, double __pyx_v_tlon, double __pyx_v_tlat, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_4delete(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_6distance_get(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_8distance___get__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_8node_get(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_4node___get__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_10waypoint_get(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_8waypoint___get__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7MapName___cinit__(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7MapName_2__init__(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self, struct PyEvasObject *__pyx_v_map, PyObject *__pyx_v_address, double __pyx_v_lon, double __pyx_v_lat, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_4delete(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_6address_get(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_7address___get__(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_8region_get(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_6region___get__(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay___cinit__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_2__init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, double __pyx_v_lon, double __pyx_v_lat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4__del_cb(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_6delete(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_8type_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4type___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_10hide_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_hide); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_12hide_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4hide___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_4hide_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_14displayed_zoom_min_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_zoom); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_16displayed_zoom_min_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_18paused_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_paused); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_20paused_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_6paused___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_6paused_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_22visible_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_7visible___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_24content_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, struct PyElementaryObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_26content_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_7content___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_7content_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_28icon_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, struct PyElementaryObject *__pyx_v_icon); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_30icon_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4icon___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_4icon_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_32region_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_34region_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_6region___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_6region_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_36color_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_38color_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_5color___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_5color_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_40show(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_42callback_clicked_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_44callback_clicked_unset(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_15MapOverlayClass___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, struct PyEvasObject *__pyx_v_Map); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_2append(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_overlay); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_4remove(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_overlay); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_6zoom_max_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, PyObject *__pyx_v_zoom); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_10members_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_7members___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16MapOverlayBubble___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self, struct PyEvasObject *__pyx_v_Map); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_2follow(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_overlay); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_4content_append(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self, struct PyEvasObject *__pyx_v_content); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_6content_clear(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_14MapOverlayLine___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayLine *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, PyObject *__pyx_v_flon, PyObject *__pyx_v_flat, PyObject *__pyx_v_tlot, PyObject *__pyx_v_tlat); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_17MapOverlayPolygon___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon *__pyx_v_self, struct PyEvasObject *__pyx_v_Map); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_17MapOverlayPolygon_2region_add(struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16MapOverlayCircle___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayCircle *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat, PyObject *__pyx_v_radius); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_15MapOverlayScale___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayScale *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_15MapOverlayRoute___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayRoute *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_route); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map___init__(struct PyElementaryMap *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_2zoom_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_zoom); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_4zoom_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_4zoom___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_4zoom_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6zoom_mode_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8zoom_mode_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_9zoom_mode___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_9zoom_mode_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_10zoom_min_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_zoom); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_12zoom_min_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8zoom_min___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_8zoom_min_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_14zoom_max_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_zoom); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_16zoom_max_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8zoom_max___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_8zoom_max_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_18region_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6region___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_20region_bring_in(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_22region_show(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_24canvas_to_region_convert(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_26region_to_canvas_convert(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_28paused_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_paused); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_30paused_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6paused___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_6paused_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_32rotate_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_degree, PyObject *__pyx_v_cx, PyObject *__pyx_v_cy); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_34rotate_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6rotate___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_6rotate_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_36wheel_disabled_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_disabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_38wheel_disabled_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_14wheel_disabled___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_14wheel_disabled_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_40user_agent_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_user_agent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_42user_agent_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_10user_agent___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_3Map_10user_agent_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_44overlay_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_46overlays_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8overlays___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_48overlays_show(CYTHON_UNUSED struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_overlays); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_50overlay_bubble_add(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_52overlay_line_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_flon, PyObject *__pyx_v_flat, PyObject *__pyx_v_tlon, PyObject *__pyx_v_tlat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_54overlay_polygon_add(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_56overlay_circle_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat, PyObject *__pyx_v_radius); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_58overlay_scale_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_60overlay_class_add(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_62overlay_route_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_route); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_64tile_load_status_get(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_20tile_load_status_get___get__(struct PyElementaryMap *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_66sources_get(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_68source_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_type, PyObject *__pyx_v_source_name); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_70source_get(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_type); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_72route_add(struct PyElementaryMap *__pyx_v_self, Elm_Map_Route_Type __pyx_v_type, Elm_Map_Route_Method __pyx_v_method, double __pyx_v_flon, double __pyx_v_flat, double __pyx_v_tlon, double __pyx_v_tlat, PyObject *__pyx_v_route_cb, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_74name_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_address, double __pyx_v_lon, double __pyx_v_lat, PyObject *__pyx_v_name_cb, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_76callback_clicked_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_78callback_clicked_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_80callback_clicked_double_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_82callback_clicked_double_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_84callback_press_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_86callback_press_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_88callback_longpressed_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_90callback_longpressed_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_92callback_scroll_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_94callback_scroll_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_96callback_scroll_drag_start_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_98callback_scroll_drag_start_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_100callback_scroll_drag_stop_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_102callback_scroll_drag_stop_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_104callback_scroll_anim_start_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_106callback_scroll_anim_start_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_108callback_scroll_anim_stop_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_110callback_scroll_anim_stop_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_112callback_zoom_start_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_114callback_zoom_start_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_116callback_zoom_stop_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_118callback_zoom_stop_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_120callback_zoom_change_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_122callback_zoom_change_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_124callback_tile_load_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_126callback_tile_load_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_128callback_tile_loaded_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_130callback_tile_loaded_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_132callback_tile_loaded_fail_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_134callback_tile_loaded_fail_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_136callback_route_load_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_138callback_route_load_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_140callback_route_loaded_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_142callback_route_loaded_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_144callback_route_loaded_fail_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_146callback_route_loaded_fail_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_148callback_name_load_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_150callback_name_load_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_152callback_name_loaded_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_154callback_name_loaded_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_156callback_name_loaded_fail_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_158callback_name_loaded_fail_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_160callback_overlay_clicked_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_162callback_overlay_clicked_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_164callback_overlay_del_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_166callback_overlay_del_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_168callback_loaded_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_170callback_loaded_del(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Mapbuf___init__(struct PyElementaryMapbuf *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_2enabled_set(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_4enabled_get(struct PyElementaryMapbuf *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_7enabled___get__(struct PyElementaryMapbuf *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Mapbuf_7enabled_2__set__(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth_set(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_smooth); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_8smooth_get(struct PyElementaryMapbuf *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth___get__(struct PyElementaryMapbuf *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth_2__set__(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_smooth); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_10alpha_set(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_alpha); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_12alpha_get(struct PyElementaryMapbuf *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_5alpha___get__(struct PyElementaryMapbuf *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_6Mapbuf_5alpha_2__set__(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_alpha); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem___init__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self, PyObject *__pyx_v_kind, struct PyEvasObject *__pyx_v_mbe, PyObject *__pyx_v_label, struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_before_after, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_2__str__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4__repr__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_6selected_set(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_get(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_10prev_get(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_12next_get(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry___init__(struct PyElementaryMultiButtonEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_2entry_get(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_5entry___get__(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_4expanded_set(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_6expanded_get(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8expanded___get__(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8expanded_2__set__(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8item_prepend(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_10item_append(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_12item_insert_before(struct PyElementaryMultiButtonEntry *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_before, PyObject *__pyx_v_label, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_14item_insert_after(struct PyElementaryMultiButtonEntry *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_after, PyObject *__pyx_v_label, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_16items_get(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_5items___get__(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_18first_item_get(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_10first_item___get__(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_20last_item_get(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_9last_item___get__(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_22selected_item_get(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_13selected_item___get__(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_24clear(struct PyElementaryMultiButtonEntry *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_26filter_append(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_28filter_prepend(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_30filter_remove(CYTHON_UNUSED struct PyElementaryMultiButtonEntry *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_32callback_item_selected_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_34callback_item_selected_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_36callback_item_added_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_38callback_item_added_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_40callback_item_deleted_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_42callback_item_deleted_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_44callback_item_clicked_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_46callback_item_clicked_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_48callback_clicked_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_50callback_clicked_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_52callback_focused_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_54callback_focused_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_56callback_unfocused_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_58callback_unfocused_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_60callback_expanded_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_62callback_expanded_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_64callback_contracted_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_66callback_contracted_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_68callback_expand_state_changed_add(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_70callback_expand_state_changed_del(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit___cinit__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_2__init__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_4delete(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_6object_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct PyEvasObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_8object_remove(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct PyEvasObject *__pyx_v_obj); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_7objects___get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_24objects_final_state_keep___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_state_keep); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_24objects_final_state_keep_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_13event_enabled___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_enabled); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_13event_enabled_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_10del_cb_set(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_cb, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_12auto_reverse___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_reverse); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_12auto_reverse_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_12repeat_times___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_repeat); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_12repeat_times_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_10tween_mode___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_tween_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_10tween_mode_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_8duration___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_duration); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_8duration_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_12go(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_7Transit_6paused___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_paused); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_6paused_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_14progress_value___get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_14chain_transit_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_chain_transit); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_16chain_transit_del(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_chain_transit); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_14chain_transits___get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_18effect_resizing_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Evas_Coord __pyx_v_from_w, Evas_Coord __pyx_v_from_h, Evas_Coord __pyx_v_to_w, Evas_Coord __pyx_v_to_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_20effect_translation_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Evas_Coord __pyx_v_from_dx, Evas_Coord __pyx_v_from_dy, Evas_Coord __pyx_v_to_dx, Evas_Coord __pyx_v_to_dy); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_22effect_zoom_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, float __pyx_v_from_rate, float __pyx_v_to_rate); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_24effect_flip_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Elm_Transit_Effect_Flip_Axis __pyx_v_axis, Eina_Bool __pyx_v_cw); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_26effect_resizable_flip_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Elm_Transit_Effect_Flip_Axis __pyx_v_axis, Eina_Bool __pyx_v_cw); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_28effect_wipe_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Elm_Transit_Effect_Wipe_Type __pyx_v_type, Elm_Transit_Effect_Wipe_Dir __pyx_v_dir); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_30effect_color_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, unsigned int __pyx_v_from_r, unsigned int __pyx_v_from_g, unsigned int __pyx_v_from_b, unsigned int __pyx_v_from_a, unsigned int __pyx_v_to_r, unsigned int __pyx_v_to_g, unsigned int __pyx_v_to_b, unsigned int __pyx_v_to_a); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_32effect_fade_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_34effect_blend_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_36effect_rotation_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, float __pyx_v_from_degree, float __pyx_v_to_degree); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_38effect_image_animation_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_images); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass___cinit__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_2__init__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self, PyObject *__pyx_v_get_func, PyObject *__pyx_v_del_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_4__str__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_6__repr__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_8get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_item_data); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_9_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_9_del_func___get__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem___str__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem_2__repr__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem_4show(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow___init__(struct PyElementarySlideshow *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_2item_add(struct PyElementarySlideshow *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_item_class, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_4item_sorted_insert(struct PyElementarySlideshow *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_item_class, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_6next(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_8previous(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_11transitions___get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow_10transition___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_transition); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_10transition_2__get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow_7timeout___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_7timeout_2__get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow_4loop___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_loop); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_4loop_2__get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_10clear(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_5items___get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_12current_item___get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_12nth_item_get(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_nth); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow_6layout___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_layout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_6layout_2__get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_7layouts___get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow_12cache_before___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_count); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_12cache_before_2__get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9Slideshow_11cache_after___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_count); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_11cache_after_2__get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_5count___get__(struct PyElementarySlideshow *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_14callback_changed_add(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_16callback_changed_del(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_18callback_transition_end_add(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_20callback_transition_end_del(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_index_get(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_5index___get__(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_2object_get(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_4selected_set(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self, PyObject *__pyx_v_select); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self, PyObject *__pyx_v_select); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_14SegmentControl___init__(struct PyElementarySegmentControl *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_2item_add(struct PyElementarySegmentControl *__pyx_v_self, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_label); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_4item_insert_at(struct PyElementarySegmentControl *__pyx_v_self, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_index); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_6item_del_at(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_10item_count___get__(struct PyElementarySegmentControl *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_8item_get(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_10item_label_get(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_12item_icon_get(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_13item_selected___get__(struct PyElementarySegmentControl *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_14callback_changed_add(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_16callback_changed_del(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_9PopupItem___init__(struct __pyx_obj_10elementary_12c_elementary_PopupItem *__pyx_v_self, struct PyEvasObject *__pyx_v_popup, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9PopupItem_2__str__(struct __pyx_obj_10elementary_12c_elementary_PopupItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_9PopupItem_4__repr__(struct __pyx_obj_10elementary_12c_elementary_PopupItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Popup___init__(struct PyElementaryPopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_2item_append(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Popup_22content_text_wrap_type___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_wrap); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_22content_text_wrap_type_2__get__(struct PyElementaryPopup *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Popup_6orient___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_orient); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_6orient_2__get__(struct PyElementaryPopup *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Popup_7timeout___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_timeout); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_7timeout_2__get__(struct PyElementaryPopup *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_5Popup_12allow_events___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_allow); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_12allow_events_2__get__(struct PyElementaryPopup *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_4callback_timeout_add(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_6callback_timeout_del(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_8callback_block_clicked_add(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_10callback_block_clicked_del(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_4Plug___init__(struct PyElementaryPlug *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Plug_2connect(struct PyElementaryPlug *__pyx_v_self, PyObject *__pyx_v_svcname, PyObject *__pyx_v_svcnum, PyObject *__pyx_v_svcsys); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Plug_12image_object___get__(struct PyElementaryPlug *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam___init__(struct PyElementaryPhotocam *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam_4file___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_file); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_4file_2__get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam_4zoom___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_zoom); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_4zoom_2__get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam_9zoom_mode___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_mode); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_9zoom_mode_2__get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_10image_size___get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_12image_region___get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_2image_region_show(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_4image_region_bring_in(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam_6paused___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_paused); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_6paused_2__get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_14internal_image___get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam_6bounce___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_6bounce_2__get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_8Photocam_15gesture_enabled___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_gesture); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_15gesture_enabled_2__get__(struct PyElementaryPhotocam *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_6callback_clicked_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_8callback_clicked_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_10callback_press_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_12callback_press_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_14callback_longpressed_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_16callback_longpressed_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_18callback_clicked_double_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_20callback_clicked_double_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_22callback_load_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_24callback_load_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_26callback_loaded_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_28callback_loaded_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_30callback_load_detail_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_32callback_load_detail_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_34callback_loaded_detail_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_36callback_loaded_detail_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_38callback_zoom_start_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_40callback_zoom_start_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_42callback_zoom_stop_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_44callback_zoom_stop_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_46callback_zoom_change_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_48callback_zoom_change_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_50callback_scroll_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_52callback_scroll_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_54callback_scroll_anim_start_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_56callback_scroll_anim_start_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_58callback_scroll_anim_stop_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_60callback_scroll_anim_stop_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_62callback_scroll_drag_start_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_64callback_scroll_drag_start_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_66callback_scroll_drag_stop_add(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_68callback_scroll_drag_stop_del(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_self, PyObject *__pyx_v_selected); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_8selected_2__get__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12FlipSelector___init__(struct PyElementaryFlipSelector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_2next(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_4prev(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_6item_append(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_8item_prepend(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_5items___get__(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_10first_item___get__(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_9last_item___get__(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_13selected_item___get__(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static int __pyx_pf_10elementary_12c_elementary_12FlipSelector_14first_interval___set__(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_interval); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_14first_interval_2__get__(struct PyElementaryFlipSelector *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_10callback_selected_add(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_12callback_selected_del(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_14callback_overflowed_add(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_16callback_overflowed_del(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_18callback_underflowed_add(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
+static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_20callback_underflowed_del(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_func); /* proto */
+static char __pyx_k_1[] = "%s:%s %s (class %s) is deprecated.";
+static char __pyx_k_2[] = "%s:%s %s.%s() is deprecated.";
+static char __pyx_k_3[] = " Use %s() instead.";
+static char __pyx_k_4[] = " ";
+static char __pyx_k_5[] = "UTF-8";
+static char __pyx_k_7[] = "Expected str or unicode object, got %s";
+static char __pyx_k_9[] = "object type name '%s' already registered.";
+static char __pyx_k_10[] = "_object_mapping_register";
+static char __pyx_k_11[] = "_object_mapping_unregister";
+static char __pyx_k_12[] = "_fetch_evt_callbacks";
+static char __pyx_k_13[] = "__evas_event_callbacks__";
+static char __pyx_k_15[] = "python-evas";
+static char __pyx_k_16[] = "func must be callable";
+static char __pyx_k_18[] = "cursor_theme_search_enabled_get";
+static char __pyx_k_19[] = "cursor_theme_search_enabled_set";
+static char __pyx_k_20[] = "focus_custom_chain_get";
+static char __pyx_k_21[] = "focus_custom_chain_set";
+static char __pyx_k_22[] = "focus_custom_chain_unset";
+static char __pyx_k_23[] = "tree_focus_allow_get";
+static char __pyx_k_24[] = "tree_focus_allow_set";
+static char __pyx_k_25[] = "mirrored_automatic_get";
+static char __pyx_k_26[] = "mirrored_automatic_set";
+static char __pyx_k_28[] = "tooltip_window_mode_get";
+static char __pyx_k_29[] = "tooltip_window_mode_set";
+static char __pyx_k_30[] = "translatable_text_get";
+static char __pyx_k_31[] = "translatable_text_set";
+static char __pyx_k_33[] = "event_conv must be None or callable";
+static char __pyx_k_35[] = "Unknown event %r";
+static char __pyx_k_36[] = "Callback %s was not registered with event %r";
+static char __pyx_k_37[] = "Invalid item!";
+static char __pyx_k_39[] = "Object must be clean";
+static char __pyx_k_40[] = "Object already deleted";
+static char __pyx_k_43[] = "callback is not callable";
+static char __pyx_k_45[] = "theme,changed";
+static char __pyx_k_46[] = "delete,request";
+static char __pyx_k_47[] = "focus,in";
+static char __pyx_k_48[] = "focus,out";
+static char __pyx_k_60[] = "";
+static char __pyx_k_61[] = "thumb,done";
+static char __pyx_k_62[] = "thumb,error";
+static char __pyx_k_63[] = "animate,begin";
+static char __pyx_k_64[] = "animate,done";
+static char __pyx_k_65[] = "edge,left";
+static char __pyx_k_66[] = "edge,right";
+static char __pyx_k_67[] = "edge,top";
+static char __pyx_k_68[] = "edge,bottom";
+static char __pyx_k_69[] = "scroll,anim,start";
+static char __pyx_k_70[] = "scroll,anim,stop";
+static char __pyx_k_71[] = "scroll,drag,start";
+static char __pyx_k_72[] = "scroll,drag,stop";
+static char __pyx_k_73[] = "language,changed";
+static char __pyx_k_74[] = "smart,changed";
+static char __pyx_k_76[] = "EntryAnchorHoverInfo";
+static char __pyx_k_77[] = "changed,user";
+static char __pyx_k_78[] = "clicked,double";
+static char __pyx_k_79[] = "clicked,triple";
+static char __pyx_k_80[] = "selection,paste";
+static char __pyx_k_81[] = "selection,copy";
+static char __pyx_k_82[] = "selection,cut";
+static char __pyx_k_83[] = "selection,start";
+static char __pyx_k_84[] = "selection,changed";
+static char __pyx_k_85[] = "selection,cleared";
+static char __pyx_k_86[] = "cursor,changed";
+static char __pyx_k_87[] = "anchor,clicked";
+static char __pyx_k_88[] = "anchor,in";
+static char __pyx_k_89[] = "anchor,out";
+static char __pyx_k_90[] = "anchor,up";
+static char __pyx_k_91[] = "anchor,down";
+static char __pyx_k_92[] = "anchor,hover,opened";
+static char __pyx_k_93[] = "_entryanchorhover_conv";
+static char __pyx_k_94[] = "preedit,changed";
+static char __pyx_k_95[] = "drag,start";
+static char __pyx_k_96[] = "drag,end";
+static char __pyx_k_99[] = "_cb_object_item_conv";
+static char __pyx_k__a[] = "a";
+static char __pyx_k__b[] = "b";
+static char __pyx_k__f[] = "f";
+static char __pyx_k__g[] = "g";
+static char __pyx_k__h[] = "h";
+static char __pyx_k__i[] = "i";
+static char __pyx_k__r[] = "r";
+static char __pyx_k__s[] = "s";
+static char __pyx_k__t[] = "t";
+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_103[] = "need a valid after object to add an item before/after another item";
+static char __pyx_k_105[] = "%s(label=%r, icon=%s, end=%s, callback=%r, args=%r, kargs=%s)";
+static char __pyx_k_108[] = "%s(%#x, refcount=%d, Elm_Object_Item=%#x, label=%r, icon=%s, end=%s, callback=%r, args=%r, kargs=%s)";
+static char __pyx_k_111[] = "slider,drag,start";
+static char __pyx_k_112[] = "slider,drag,stop";
+static char __pyx_k_113[] = "delay,changed";
+static char __pyx_k_114[] = "transition,finished";
+static char __pyx_k_115[] = "title,clicked";
+static char __pyx_k_116[] = "text_get_func is not callable!";
+static char __pyx_k_118[] = "content_get_func is not callable!";
+static char __pyx_k_120[] = "state_get_func is not callable!";
+static char __pyx_k_122[] = "del_func is not callable!";
+static char __pyx_k_124[] = "%s(item_style=%r, text_get_func=%s, content_get_func=%s, state_get_func=%s, del_func=%s)";
+static char __pyx_k_125[] = "%s(%#x, refcount=%d, Elm_Genlist_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_126[] = "Object must wrap something";
+static char __pyx_k_127[] = "%s(item_class=%s, func=%s, item_data=%s)";
+static char __pyx_k_128[] = "%s(%#x, refcount=%d, Elm_Object_Item=%#x, item_class=%s, func=%s, item_data=%r)";
+static char __pyx_k_134[] = "func is not None or callable";
+static char __pyx_k_142[] = "expand,request";
+static char __pyx_k_143[] = "contract,request";
+static char __pyx_k_144[] = "drag,start,up";
+static char __pyx_k_145[] = "drag,start,down";
+static char __pyx_k_146[] = "drag,start,left";
+static char __pyx_k_147[] = "drag,start,right";
+static char __pyx_k_148[] = "drag,stop";
+static char __pyx_k_149[] = "multi,swipe,left";
+static char __pyx_k_150[] = "multi,swipe,right";
+static char __pyx_k_151[] = "multi,swipe,up";
+static char __pyx_k_152[] = "multi,swipe,down";
+static char __pyx_k_153[] = "multi,pinch,out";
+static char __pyx_k_154[] = "multi,pinch,in";
+static char __pyx_k_155[] = "moved,after";
+static char __pyx_k_156[] = "moved,before";
+static char __pyx_k_157[] = "tree,effect,finished";
+static char __pyx_k_162[] = "%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_166[] = "cursor_engine_only_get";
+static char __pyx_k_167[] = "cursor_engine_only_set";
+static char __pyx_k_172[] = "block,clicked";
+static char __pyx_k_173[] = "directory,open";
+static char __pyx_k_174[] = "file,chosen";
+static char __pyx_k_176[] = "Error creating separator";
+static char __pyx_k_178[] = "uri,changed";
+static char __pyx_k_179[] = "title,changed";
+static char __pyx_k_180[] = "link,hover,in";
+static char __pyx_k_181[] = "_web_link_hover_in_conv";
+static char __pyx_k_182[] = "link,hover,out";
+static char __pyx_k_183[] = "load,error";
+static char __pyx_k_184[] = "_web_load_frame_error_conv";
+static char __pyx_k_185[] = "load,finished";
+static char __pyx_k_186[] = "load,progress";
+static char __pyx_k_187[] = "load,provisional";
+static char __pyx_k_188[] = "load,started";
+static char __pyx_k_189[] = "color,item,selected";
+static char __pyx_k_190[] = "color,item,longpressed";
+static char __pyx_k_193[] = "level,up";
+static char __pyx_k_194[] = "level,down";
+static char __pyx_k_196[] = "remember_position_get";
+static char __pyx_k_197[] = "remember_position_set";
+static char __pyx_k_198[] = "forward,clicked";
+static char __pyx_k_199[] = "info,clicked";
+static char __pyx_k_200[] = "next,clicked";
+static char __pyx_k_201[] = "pause,clicked";
+static char __pyx_k_202[] = "play,clicked";
+static char __pyx_k_203[] = "prev,clicked";
+static char __pyx_k_204[] = "rewind,clicked";
+static char __pyx_k_205[] = "stop,clicked";
+static char __pyx_k_206[] = "dayselector,changed";
+static char __pyx_k_207[] = "generate,start";
+static char __pyx_k_208[] = "generate,stop";
+static char __pyx_k_209[] = "generate,error";
+static char __pyx_k_214[] = "displayed_zoom_min_get";
+static char __pyx_k_215[] = "displayed_zoom_min_set";
+static char __pyx_k_217[] = "tile_load_status_get_get";
+static char __pyx_k_218[] = "zoom,start";
+static char __pyx_k_219[] = "zoom,stop";
+static char __pyx_k_220[] = "zoom,change";
+static char __pyx_k_221[] = "tile,load";
+static char __pyx_k_222[] = "tile,loaded";
+static char __pyx_k_223[] = "tile,loaded,fail";
+static char __pyx_k_224[] = "route,load";
+static char __pyx_k_225[] = "route,loaded";
+static char __pyx_k_226[] = "route,loaded,fail";
+static char __pyx_k_227[] = "name,load";
+static char __pyx_k_228[] = "name,loaded";
+static char __pyx_k_229[] = "name,loaded,fail";
+static char __pyx_k_230[] = "overlay,clicked";
+static char __pyx_k_231[] = "overlay,del";
+static char __pyx_k_233[] = "%s(label=%r, callback=%r, args=%r, kargs=%s)";
+static char __pyx_k_234[] = "%s(%#x, refcount=%d, Elm_Object_Item=%#x, label=%r, callback=%r, args=%r, kargs=%s)";
+static char __pyx_k_235[] = "item,selected";
+static char __pyx_k_236[] = "item,added";
+static char __pyx_k_237[] = "item,deleted";
+static char __pyx_k_238[] = "item,clicked";
+static char __pyx_k_239[] = "expand,state,changed";
+static char __pyx_k_240[] = "get_func is not callable!";
+static char __pyx_k_243[] = "%s(get_func=%s, del_func=%s)";
+static char __pyx_k_244[] = "%s(%#x, refcount=%d, Elm_Slideshow_Item_Class=%#x, get_func=%s, del_func=%s)";
+static char __pyx_k_246[] = "transition,end";
+static char __pyx_k_248[] = "%s(func=%s, item_data=%s)";
+static char __pyx_k_249[] = "load,detail";
+static char __pyx_k_250[] = "loaded,detail";
+static char __pyx_k_253[] = "Elementary's profile in use.\n\n The global profile that is applied to all Elementary applications.\n\n @type: string\n\n ";
+static char __pyx_k_254[] = "Get Elementary's list of available profiles.\n\n @type: tuple of strings\n\n ";
+static char __pyx_k_255[] = "Whether scrollers should bounce when they reach their\n viewport's edge during a scroll.\n\n @type: bool\n\n ";
+static char __pyx_k_256[] = "The amount of inertia a scroller will impose at bounce animations.\n\n @type: float\n\n ";
+static char __pyx_k_257[] = "The amount of inertia a B{paged} scroller will impose at page\n fitting animations.\n\n @type: float\n\n ";
+static char __pyx_k_258[] = "The amount of inertia a scroller will impose at region bring\n animations.\n\n @type: float\n\n ";
+static char __pyx_k_259[] = "The amount of inertia scrollers will impose at animations\n triggered by Elementary widgets' zooming API.\n\n @type: float\n\n ";
+static char __pyx_k_260[] = "Whether scrollers should be draggable from any point in their views.\n\n @note: This is the default behavior for touch screens, in general.\n @note: All other functions namespaced with \"thumbscroll\" will only\n have effect if this mode is enabled.\n\n @type: bool\n\n ";
+static char __pyx_k_261[] = "The number of pixels one should travel while dragging a\n scroller's view to actually trigger scrolling.\n\n One would use higher values for touch screens, in general, because\n of their inherent imprecision.\n\n @type: int\n\n ";
+static char __pyx_k_262[] = "The minimum speed of mouse cursor movement which will trigger list\n self scrolling animation after a mouse up event (pixels/second).\n\n @type: float\n\n ";
+static char __pyx_k_263[] = "The amount of inertia a scroller will impose at self scrolling\n animations.\n\n @type: float\n\n ";
+static char __pyx_k_264[] = "The amount of lag between your actual mouse cursor dragging\n movement and a scroller's view movement itself, while pushing it\n into bounce state manually.\n\n @note: parameter value will get bound to 0.0 - 1.0 interval, always\n\n @type: float\n\n ";
+static char __pyx_k_265[] = "The sensitivity amount which is be multiplied by the length of\n mouse dragging.\n\n C{0}.1 for minimum sensitivity, C{1}.0 for maximum sensitivity. 0.25 is\n proper.\n\n @type: float\n\n ";
+static char __pyx_k_266[] = "The duration for occurring long press event.\n\n @type: float\n\n ";
+static char __pyx_k_267[] = "The duration after which tooltip will be shown.\n\n @type: float\n\n ";
+static char __pyx_k_268[] = "The globally configured exclusive usage of engine cursors.\n\n If True only engine cursors will be enabled, if False will look for\n them on theme before.\n\n @type: bool\n\n ";
+static char __pyx_k_269[] = "The global scaling factor\n\n This gets the globally configured scaling factor that is applied to\n all objects.\n\n @type: float\n\n ";
+static char __pyx_k_270[] = "The \"show last\" setting of password mode.\n\n @type: bool\n\n ";
+static char __pyx_k_271[] = "The timeout value for which the last input entered in password\n mode will be visible.\n\n @type: float\n\n ";
+static char __pyx_k_272[] = "Elementary's rendering engine in use.\n\n This gets the global rendering engine that is applied to all\n Elementary applications.\n\n Note that it will take effect only to Elementary windows created\n after this is set.\n\n @type: string\n\n ";
+static char __pyx_k_273[] = "Get Elementary's preferred engine to use.\n\n This gets the global rendering engine that is applied to all\n Elementary applications and is PREFERRED by the application.\n\n Note that it will take effect only to Elementary windows created\n after this is called. This overrides the engine set by configuration\n at application startup. Note that it is a hint and may not be honored.\n\n @type: string\n\n ";
+static char __pyx_k_274[] = "Get Elementary's list of supported text classes.\n\n @type: Elm_Text_Class\n\n ";
+static char __pyx_k_275[] = "Get Elementary's list of font overlays, set with\n L{font_overlay_set()}.\n\n For each text class, one can set a B{font overlay} for it, overriding\n the default font properties for that class coming from the theme in\n use. There is no need to free this list.\n\n @type: Elm_Font_Overlay\n\n ";
+static char __pyx_k_276[] = "The configured \"finger size\"\n\n This gets the globally configured finger size, B{in pixels}\n\n @type: Evas_Coord (int)\n\n ";
+static char __pyx_k_277[] = "The globally configured cache flush interval time, in ticks\n\n @see: C{cache_all_flush()}\n\n @note: The C{size} must be greater than 0. if not, the cache flush\n will be ignored.\n\n @type: int\n\n ";
+static char __pyx_k_278[] = "The configured cache flush enabled state\n\n This property reflects the globally configured cache flush state -\n if it is enabled or not. When cache flushing is enabled, elementary\n will regularly (see L{cache_flush_interval}) flush\n caches and dump data out of memory and allow usage to re-seed caches\n and data in memory where it can do so. An idle application will thus\n minimize its memory usage as data will be freed from memory and not\n be re-loaded as it is idle and not rendering or doing anything\n graphically right now.\n\n @see: C{cache_all_flush()}\n\n @type: bool\n\n ";
+static char __pyx_k_279[] = "The globally configured font cache size, in bytes.\n\n @type: int\n\n ";
+static char __pyx_k_280[] = "The globally configured image cache size, in bytes\n\n @type: int\n\n ";
+static char __pyx_k_281[] = "The globally configured edje file cache size, in number of files.\n\n @type: int\n\n ";
+static char __pyx_k_282[] = "The globally configured edje collections cache size, in number of\n collections.\n\n @type: int\n\n ";
+static char __pyx_k_283[] = "Whether the highlight on focused objects is enabled or not\n\n Note that it will take effect only to Elementary windows created after\n this is set.\n\n @see: L{focus_highlight_enabled}\n\n @type: bool\n\n ";
+static char __pyx_k_284[] = "Whether the focus highlight, if enabled, will animate its switch\n from one object to the next\n\n Note that it will take effect only to Elementary windows created after\n this is set.\n\n @see: L{Window}\n\n @type: bool\n\n ";
+static char __pyx_k_285[] = "Get the system mirrored mode. This determines the default\n mirrored mode of widgets.\n\n type: bool\n\n ";
+static char __pyx_k_286[] = "Tell the source theme to reference the ref theme\n\n This clears C{th} to be empty and then sets it to refer to C{thref}\n so C{th} acts as an override to C{thref}, but where its overrides\n don't apply, it will fall through to C{thref} for configuration.\n\n @type: L{Theme}\n\n ";
+static char __pyx_k_287[] = "Get the list of registered overlays for the given theme\n\n @see: L{overlay_add()}\n\n @type: tuple of strings\n\n ";
+static char __pyx_k_288[] = "Get the list of registered extensions for the given theme\n\n @see: L{extension_add()}\n\n @type: tuple of strings\n\n ";
+static char __pyx_k_289[] = "Set the theme search order for the given theme\n\n This sets the search string for the theme in path-notation from first\n theme to search, to last, delimited by the : character. Example:\n\n \"shiny:/path/to/file.edj:default\"\n\n See the ELM_THEME environment variable for more information.\n\n @see: L{list_get()}\n\n @type: string\n\n ";
+static char __pyx_k_290[] = "Return a list of theme elements to be used in a theme.\n\n This returns the internal list of theme elements (will only be valid as\n long as the theme is not modified by elm_theme_set() or theme is not\n freed by elm_theme_free(). This is a list of strings which must not be\n altered as they are also internal. If C{th} is NULL, then the default\n theme element list is returned.\n\n A theme element can consist of a full or relative path to a .edj file,\n or a name, without extension, for a theme to be searched in the known\n theme paths for Elementary.\n\n @see: L{order}\n\n @type: tuple of strings\n\n ";
+static char __pyx_k_291[] = "The style to be used by the widget\n\n @type: string\n\n ";
+static char __pyx_k_292[] = "The disabled state of an Elementary object.\n\n Elementary objects can be B{disabled}, in which state they won't\n receive input and, in general, will be themed differently from\n their normal state, usually greyed out. Useful for contexts\n where you don't want your users to interact with some of the\n parts of you interface.\n\n @type: bool\n\n ";
+static char __pyx_k_293[] = "The first parent of the given object that is an Elementary\n widget. This is a readonly property.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_294[] = "The top level parent of an Elementary widget.\n This is a readonly property.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_295[] = "The string that represents this Elementary widget.\n This is a readonly property.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_296[] = "The cursor to be shown when mouse is over the object\n\n @type: string\n\n ";
+static char __pyx_k_297[] = "The style for this object cursor.";
+static char __pyx_k_298[] = "The ability for the Elementary object to be focused.\n\n @type: bool\n\n ";
+static char __pyx_k_299[] = "The custom focus chain.\n\n @type: list of L{Object}s\n\n ";
+static char __pyx_k_300[] = "Whether the Elementary object and its children are focusable\n or not.\n\n @type: bool\n\n ";
+static char __pyx_k_301[] = "The widget's mirrored mode.\n\n @type: bool\n\n ";
+static char __pyx_k_302[] = "The widget's mirrored mode setting.\n\n @type: bool\n\n ";
+static char __pyx_k_303[] = "The scaling factor for the Elementary object.\n\n @type: float\n\n ";
+static char __pyx_k_304[] = "A theme to be used for this object and its children.\n\n This sets a specific theme that will be used for the given object and any\n child objects it has. If @p th is NULL then the theme to be used is\n cleared and the object will inherit its theme from its parent (which\n ultimately will use the default theme if no specific themes are set).\n\n Use special themes with great care as this will annoy users and make\n configuration difficult. Avoid any custom themes at all if it can be\n helped.\n\n @type: L{Theme}\n\n ";
+static char __pyx_k_305[] = "The style for this object tooltip.\n\n @type: string\n\n ";
+static char __pyx_k_306[] = "The main text for this object.\n\n @type: string\n\n ";
+static char __pyx_k_307[] = "The disabled state of an widget item.\n\n Elementary object item can be B{disabled}, in which state they won't\n receive input and, in general, will be themed differently from their\n normal state, usually greyed out. Useful for contexts where you\n don't want your users to interact with some of the parts of you\n interface.\n\n @type: bool\n\n ";
+static char __pyx_k_308[] = "Gesture-layer repeat events. Set to True if you like to get the\n raw events only if gestures were not detected. Set to false if you\n like gesture layer to forward events as testing gestures.\n\n @type: bool\n\n ";
+static char __pyx_k_309[] = "Step-value for zoom action. Set step to any positive value.\n Cancel step setting by setting to 0.0\n\n @type: float\n\n ";
+static char __pyx_k_310[] = "This function sets step-value for rotate action. Set step to any\n positive value. Cancel step setting by setting to 0\n\n @type: float\n\n ";
+static char __pyx_k_311[] = "Set the file path and group of the edje file that will be used as\n layout.\n\n @type: tuple of string\n\n ";
+static char __pyx_k_312[] = "Set the edje group class, group name and style from the elementary\n theme that will be used as layout.\n\n Note that C{style} will be the new style too, as in an\n L{Object.style_set()} call.\n\n @type: tuple of string\n\n ";
+static char __pyx_k_313[] = "Get the edje layout\n\n This returns the edje object. It is not expected to be used to then\n swallow objects via edje_object_part_swallow() for example. Use\n L{part_content_set()} instead so child object handling and sizing is\n done properly.\n\n @note: This function should only be used if you really need to call\n some low level Edje function on this edje object. All the common\n stuff (setting text, emitting signals, hooking callbacks to signals,\n etc.) can be done with proper elementary functions.\n\n @see: L{signal_callback_add()}\n @see: L{signal_emit()}\n @see: L{part_text_set()}\n @see: L{part_content_set()}\n @see: L{box_append()}\n @see: L{table_pack()}\n @see: L{data_get()}\n\n @type: L{edje.Edje}\n\n ";
+static char __pyx_k_314[] = "The icon object in a layout that follows the Elementary naming\n convention for its parts.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_315[] = "The end object in a layout that follows the Elementary naming\n convention for its parts.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_316[] = "The file (and edje group) that will be used as the image's source.\n\n @note: Setting this will trigger the Edje file case based on the\n extension of the C{file} string (expects C{\".edj\"}, for this\n case). If one wants to force this type of file independently of\n the extension, L{file_edje_set()} must be used, instead.\n\n @type: string or tuple of strings\n\n ";
+static char __pyx_k_317[] = "The smooth effect for an image.\n\n The scaling algorithm to be used when scaling the image. Smooth\n scaling provides a better resulting image, but is slower.\n\n The smooth scaling should be disabled when making animations that change\n the image size, since it will be faster. Animations that don't require\n resizing of the image can keep the smooth scaling enabled (even if the\n image is already scaled, since the scaled image will be cached).\n\n @type: bool\n\n ";
+static char __pyx_k_318[] = "The current size of the image.\n\n This is the real size of the image, not the size of the object.\n\n @type: tuple of ints\n\n ";
+static char __pyx_k_319[] = "Whether to disable scaling of this object.\n\n This disables scaling of the elm_image widget through the\n function L{Object.scale_set()}. However, this does not affect the widget\n size/resize in any way. For that effect, take a look at\n L{resizable_set()}.\n\n @see: L{resizable_set()}\n @see: L{Object.scale_set()}\n\n @type: bool\n\n ";
+static char __pyx_k_320[] = "Whether the object is (up/down) resizable.\n\n This limits the image resize ability. If set to C{False}, the\n object can't have its height or width resized to a value higher than\n the original image size. Same is valid for C{size_down}.\n\n @type: (bool size_up, bool size_down)\n\n ";
+static char __pyx_k_321[] = "Whether the image fills the entire object area, when keeping the aspect ratio.\n\n When the image should keep its aspect ratio even if resized to another\n aspect ratio, there are two possibilities to resize it: keep the entire\n image inside the limits of height and width of the object (C{fill_outside}\n is C{False}) or let the extra width or height go outside of the object,\n and the image will fill the entire object (C{fill_outside} is C{True}).\n\n @note: This option will have no effect if\n L{aspect_fixed} is set to C{False}.\n\n @see: L{aspect_fixed}\n\n @type: bool\n\n ";
+static char __pyx_k_322[] = "Enable or disable preloading of the image\n\n @type: bool\n\n ";
+static char __pyx_k_323[] = "The prescale size for the image\n\n This is the size for pixmap representation of the given\n image. It allows the image to be loaded already in the specified size,\n reducing the memory usage and load time when loading a big image with load\n size set to a smaller size.\n\n It's equivalent to the L{Background.load_size} property for bg.\n\n @note: this is just a hint, the real size of the pixmap may differ\n depending on the type of image being loaded, being bigger than requested.\n\n @see: L{Background.load_size}\n\n @type: int\n\n ";
+static char __pyx_k_324[] = "The image orientation.\n\n Setting this allows to rotate or flip the given image.\n\n @type: Elm_Image_Orient\n\n ";
+static char __pyx_k_325[] = "Whether the image is 'editable'.\n\n This means the image is a valid drag target for drag and drop, and can be\n cut or pasted too. Default is C{False}.\n\n @type: bool\n\n ";
+static char __pyx_k_326[] = "Get the inlined image object of the image widget.\n\n This function allows one to get the underlying C{Evas_Object} of type\n Image from this elementary widget. It can be useful to do things like get\n the pixel data, save the image to a file, etc.\n\n @note: Be careful to not manipulate it, as it is under control of\n elementary.\n\n @type: evas.Image\n\n ";
+static char __pyx_k_327[] = "Whether the original aspect ratio of the image should be kept on resize.\n\n The original aspect ratio (width / height) of the image is usually\n distorted to match the object's size. Enabling this option will retain\n this original aspect, and the way that the image is fit into the object's\n area depends on the option set by L{fill_outside}.\n\n @see: L{fill_outside}\n\n @type: bool\n\n ";
+static char __pyx_k_328[] = "Whether an image object supports animation or not.\n\n This returns if this Elementary image object's internal\n image can be animated. Currently Evas only supports GIF\n animation. If the return value is B{False}, other\n C{animated_xxx} API calls won't work.\n\n @see: L{animated}\n\n @type: bool\n\n ";
+static char __pyx_k_329[] = "Whether an image object (which supports animation) is to\n animate itself or not.\n\n An image object, even if it supports animation, will be displayed\n by default without animation. Set this to C{True} to enable its\n animation. To start or stop the\n animation, actually, use L{animated_play}.\n\n @see: L{animated_available}\n @see: L{animated_play}\n\n @type: bool\n\n ";
+static char __pyx_k_330[] = "Start or stop an image object's animation.\n\n To actually start playing any image object's animation, if it\n supports it, one must do something like::\n\n if img.animated_available:\n img.animated = True\n img.animated_play = True\n\n L{animated} will enable animation on the image, B{but not start it yet}.\n This is the property one uses to start and stop animation on\n an image object or get whether it is animating or not.\n\n @see: L{animated_available}\n @see: L{animated}\n\n @type: bool\n\n ";
+static char __pyx_k_331[] = "Turn on/off the autorepeat event generated when the button is\n kept pressed\n\n When off, no autorepeat is performed and buttons emit a normal\n C{clicked} signal when they are clicked.\n\n When on, keeping a button pressed will continuously emit a\n C{repeated} signal until the button is released. The time it takes\n until it starts emitting the signal is given by\n L{autorepeat_initial_timeout_set()}, and the time between each new\n emission by L{autorepeat_gap_timeout_set()}.\n\n @type: bool\n\n ";
+static char __pyx_k_332[] = "The initial timeout before the autorepeat event is generated\n\n Reflects the timeout, in seconds, since the button is pressed until the\n first C{repeated} signal is emitted. If C{t} is 0.0 or less, there\n won't be any delay and the event will be fired the moment the button is\n pressed.\n\n @see: L{autorepeat}\n @see: L{autorepeat_gap_timeout}\n\n @type: float\n\n ";
+static char __pyx_k_333[] = "The interval between each generated autorepeat event\n\n After the first C{repeated} event is fired, all subsequent ones will\n follow after a delay of C{t} seconds for each.\n\n @see: L{autorepeat_initial_timeout}\n\n @type: float\n\n ";
+static char __pyx_k_334[] = "The title of the window.\n\n @type: string\n\n ";
+static char __pyx_k_335[] = "The icon name of the window.\n\n @type: string\n\n ";
+static char __pyx_k_336[] = "The role of the window.\n\n @type: string\n\n ";
+static char __pyx_k_337[] = "The object to represent the window icon\n\n This sets an object that will be used as the icon for the window.\n The exact pixel dimensions of the object (not object size) will be\n used, and the image pixels will be used as-is when this function is\n called. If the image object has been updated, then call this\n function again to source the image pixels and put them on the\n window's icon. This has limitations as only image objects allowed at\n this stage. This may be lifted in future.\n\n @type: L{Image}\n\n ";
+static char __pyx_k_338[] = "The window's autodel state.\n\n When closing the window in any way outside of the program control,\n like pressing the X button in the titlebar or using a command from\n the Window Manager, a \"delete,request\" signal is emitted to indicate\n that this event occurred and the developer can take any action,\n which may include, or not, destroying the window object.\n\n When this property is set, the window will be automatically\n destroyed when this event occurs, after the signal is emitted. If\n C{autodel} is C{False}, then the window will not be destroyed and is\n up to the program to do so when it's required.\n\n @type: bool\n\n ";
+static char __pyx_k_339[] = "The borderless state of a window.\n\n Setting this to True requests the Window Manager to not draw any\n decoration around the window.\n\n @type: bool\n\n ";
+static char __pyx_k_340[] = "The shaped state of a window.\n\n Shaped windows, when supported, will render the parts of the window that\n has no content, transparent.\n\n If C{shaped} is False, then it is strongly advised to have some\n background object or cover the entire window in any other way, or the\n parts of the canvas that have no data will show framebuffer artifacts.\n\n @see: L{alpha}\n\n @type: bool\n\n ";
+static char __pyx_k_341[] = "The alpha channel state of a window.\n\n If C{alpha} is True, the alpha channel of the canvas will be enabled\n possibly making parts of the window completely or partially\n transparent. This is also subject to the underlying system\n supporting it, like for example, running under a compositing\n manager. If no compositing is available, enabling this option will\n instead fallback to using shaped windows, with L{shaped}.\n\n @type: bool\n\n ";
+static char __pyx_k_342[] = "The override state of a window.\n\n A window with C{override} set to True will not be managed by the\n Window Manager. This means that no decorations of any kind will be\n shown for it, moving and resizing must be handled by the\n application, as well as the window visibility.\n\n This should not be used for normal windows, and even for not so\n normal ones, it should only be used when there's a good reason and\n with a lot of care. Mishandling override windows may result\n situations that disrupt the normal workflow of the end user.\n\n @type: bool\n\n ";
+static char __pyx_k_343[] = "The fullscreen state of a window.\n\n @type: bool\n\n ";
+static char __pyx_k_344[] = "The maximized state of a window.\n\n @type: bool\n\n ";
+static char __pyx_k_345[] = "The iconified state of the window.\n\n @type: bool\n\n ";
+static char __pyx_k_346[] = "The withdrawn state of the window.\n\n @type: bool\n\n ";
+static char __pyx_k_347[] = "The urgent state of the window.\n\n @type: bool\n\n ";
+static char __pyx_k_348[] = "The demand attention state of the window.\n\n @type: bool\n\n ";
+static char __pyx_k_349[] = "The Modal state of the window.\n\n @type: bool\n\n ";
+static char __pyx_k_350[] = "Set the aspect ratio of a window.\n\n If 0, the window has no aspect limits, otherwise it is width divided\n by height\n\n @type: float\n\n ";
+static char __pyx_k_351[] = "The base window size used with stepping calculation\n\n Base size + stepping is what is calculated for window sizing restrictions.\n\n @type: tuple(int w, int h)\n\n @see: L{size_step}\n\n ";
+static char __pyx_k_352[] = "Set the window stepping used with sizing calculation\n\n Base size + stepping is what is calculated for window sizing restrictions.\n\n @type: tuple(int w, int h)\n\n @see: L{size_base}\n\n ";
+static char __pyx_k_353[] = "The layer of the window.\n\n What this means exactly will depend on the underlying engine used.\n\n In the case of X11 backed engines, the value in C{layer} has the\n following meanings:\n - < 3: The window will be placed below all others.\n - > 5: The window will be placed above all others.\n - other: The window will be placed in the default layer.\n\n @type: int\n\n ";
+static char __pyx_k_354[] = "The rotation of the window.\n\n Most engines only work with multiples of 90.\n\n This function is used to set the orientation of the window to match\n that of the screen. The window itself will be resized to adjust to\n the new geometry of its contents. If you want to keep the window\n size, see L{rotation_with_resize_set()}.\n\n @type: int\n\n ";
+static char __pyx_k_355[] = "Rotates the window and resizes it.\n\n Like L{rotation}, but it also resizes the window's contents so that\n they fit inside the current window geometry.\n\n @type: int\n\n ";
+static char __pyx_k_356[] = "The Sticky state of the window.\n\n @type: bool\n\n ";
+static char __pyx_k_357[] = "Whether this window is an illume conformant window.\n\n @type: bool\n\n ";
+static char __pyx_k_358[] = "Whether this window is an illume quickpanel window.\n\n @type: bool\n\n ";
+static char __pyx_k_359[] = "The major priority of a quickpanel window.\n\n @type: int\n\n ";
+static char __pyx_k_360[] = "The minor priority of a quickpanel window.\n\n @type: int\n\n ";
+static char __pyx_k_361[] = "Which zone this quickpanel should appear in.\n\n @type: int\n\n ";
+static char __pyx_k_362[] = "Set the window to be skipped by keyboard focus\n\n This sets the window to be skipped by normal keyboard input. This\n means a window manager will be asked to not focus this window as\n well as omit it from things like the taskbar, pager, \"alt-tab\" list\n etc. etc.\n\n Set this and enable it on a window BEFORE you show it for the first\n time, otherwise it may have no effect.\n\n Use this for windows that have only output information or might only\n be interacted with by the mouse or fingers, and never for typing\n input. Be careful that this may have side-effects like making the\n window non-accessible in some cases unless the window is specially\n handled. Use this with care.\n\n @type: bool\n\n ";
+static char __pyx_k_363[] = "Get the inlined image object handle\n\n When you create a window of type ELM_WIN_INLINED_IMAGE, then the\n window is in fact an evas image object inlined in the parent canvas.\n You can get this object (be careful to not manipulate it as it is\n under control of elementary), and use it to do things like get pixel\n data, save the image to a file, etc.\n\n @type: evasObject\n\n ";
+static char __pyx_k_364[] = "Determine whether a window has focus\n\n @type: bool\n\n ";
+static char __pyx_k_365[] = "Constrain the maximum width and height of a window to the width\n and height of its screen\n\n When C{constrain} is true, the window will never resize larger than\n the screen.\n\n @type: bool\n\n ";
+static char __pyx_k_366[] = "Get screen geometry details for the screen that a window is on\n\n @type: tuple of ints\n\n ";
+static char __pyx_k_367[] = "The enabled status of the focus highlight in a window\n\n This will enable or disable the focus highlight only for the given\n window, regardless of the global setting for it\n\n @type: bool\n\n ";
+static char __pyx_k_368[] = "The style for the focus highlight on this window\n\n The style to use for theming the highlight of focused objects on\n the given window. If C{style} is None, the default will be used.\n\n @type: string\n\n ";
+static char __pyx_k_369[] = "The keyboard mode of the window.\n\n @type: Elm_Win_Keyboard_Mode\n\n ";
+static char __pyx_k_370[] = "Whether the window is a keyboard.\n\n @type: bool\n\n ";
+static char __pyx_k_371[] = "The indicator mode of the window.\n\n @type: Elm_Win_Indicator_Mode\n\n ";
+static char __pyx_k_372[] = "The indicator opacity mode of the window.\n\n @type: Elm_Win_Indicator_Opacity_Mode\n\n ";
+static char __pyx_k_373[] = "Get the screen position of a window.\n\n @type: tuple of ints\n\n ";
+static char __pyx_k_374[] = "Returns the X Window id.\n\n X Window id is a value of type long int which can be used in\n combination with some functions/objects in the ecore.x module.\n\n For example you can hide the mouse cursor with:\n import ecore.x\n xid = your_elm_win.xwindow_xid_get()\n xwin = ecore.x.Window_from_xid(xid)\n xwin.cursor_hide()\n\n @note: This is not portable at all. Works only under the X window\n system.\n\n @type: long\n\n ";
+static char __pyx_k_375[] = "The content of an inwin object.\n\n Once the content object is set, a previously set one will be deleted.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_376[] = "The file (image or edje collection) giving life for the background.\n\n This property contains the image file name (and edje group) used in\n the background object. If the image comes from an Edje group, it\n will be stretched to completely fill the background object. If it\n comes from a traditional image file, it will by default be centered\n in this widget's are (thus retaining its aspect), what could lead to\n some parts being not visible. You may change the mode of exhibition\n for a real image file with L{option}.\n\n @note: Once the image is set, a previously set one will be deleted,\n even if B{file} is C{None}.\n\n @note: This will only affect the contents of one of the background's\n swallow spots, namely C{\"elm.swallow.background\"}. If you want to\n achieve the L{Layout}'s file setting behavior, you'll have to call\n that method on this object.\n\n @type: string file, optional string group\n\n ";
+static char __pyx_k_377[] = "The mode of display for a given background widget's image.\n\n This property reflects how the background widget will display its\n image. This will only work if L{file} was previously called with an\n image file. The image can be displayed tiled, scaled, centered or\n stretched.\n\n @type: Elm_Bg_Option\n\n ";
+static char __pyx_k_378[] = "The color on a given background widget.\n\n This property reflects the color used for the background rectangle,\n in RGB format. Each color component's range is from 0 to 255.\n\n @note: You probably only want to use this property if you haven't\n previously set L{file}, so that you just want a solid color\n background.\n\n @type: (int r, int g, int b)\n\n ";
+static char __pyx_k_379[] = "The size of the pixmap representation of the image set on a given\n background widget.\n\n This property sets a new size for pixmap representation of the\n given bg image. It allows for the image to be loaded already in the\n specified size, reducing the memory usage and load time (for\n example, when loading a big image file with its load size set to a\n smaller size)\n\n @note: This is just a hint for the underlying system. The real size\n of the pixmap may differ depending on the type of image being\n loaded, being bigger than requested.\n\n @warning: This function just makes sense if an image file was set with\n L{file}.\n\n @type: (Evas_Coord w, Evas_Coord h)\n\n ";
+static char __pyx_k_380[] = "Set the file (and edje group) that will be used, but use a\n generated thumbnail.\n\n This functions like L{Image.file_set()} but requires the Ethumb\n library support to be enabled successfully with elm_need_ethumb().\n When set the file indicated has a thumbnail generated and cached on\n disk for future use or will directly use an existing cached\n thumbnail if it is valid.\n\n @see: L{Image.file}\n\n @type: string C{file} or tuple(string C{file}, string C{group})\n\n ";
+static char __pyx_k_381[] = "The icon standards name.\n\n For example, freedesktop.org defines standard icon names such as \"home\",\n \"network\", etc. There can be different icon sets to match those icon\n keys. The C{name} given as parameter is one of these \"keys\", and will be\n used to look in the freedesktop.org paths and elementary theme. One can\n change the lookup order with L{order_lookup_set()}.\n\n If name is not found in any of the expected locations and it is the\n absolute path of an image file, this image will be used.\n\n @note: The icon image set can be changed by L{Image.file}.\n\n @see: L{Image.file}\n\n @type: string\n\n ";
+static char __pyx_k_382[] = "The icon lookup order used by L{standard_set()}.\n\n @type: Elm_Icon_Lookup_Order\n\n ";
+static char __pyx_k_383[] = "The horizontal orientation.\n\n By default, box object arranges their contents vertically from top to\n bottom. By setting this property as C{True}, the box will become\n horizontal, arranging contents from left to right.\n\n @note: This flag is ignored if a custom layout function is set.\n\n @type: bool\n\n ";
+static char __pyx_k_384[] = "Whether the box is using homogeneous mode or not\n\n If enabled, homogeneous layout makes all items the same size, according\n to the size of the largest of its children.\n\n @note: This flag is ignored if a custom layout function is set.\n\n @type: bool\n\n ";
+static char __pyx_k_385[] = "Retrieve a list of the objects packed into the box\n\n Returns a C{tuple} with the child L{Object}s.\n The order of the list corresponds to the packing order the box uses.\n\n @type: tuple of L{Object}s\n\n ";
+static char __pyx_k_386[] = "The space (padding) between the box's elements.\n\n Extra space in pixels that will be added between a box child and its\n neighbors after its containing cell has been calculated. This padding\n is set for all elements in the box, besides any possible padding that\n individual elements may have through their size hints.\n\n @type: tuple of Evas_Coords (int)\n\n ";
+static char __pyx_k_387[] = "Set the alignment of the whole bounding box of contents.\n\n Sets how the bounding box containing all the elements of the box, after\n their sizes and position has been calculated, will be aligned within\n the space given for the whole box widget.\n\n @rtype: tuple of floats\n\n ";
+static char __pyx_k_388[] = "Set the layout function for the box.\n\n A box layout function affects how a box object displays child\n elements within its area. The list of pre-defined box layouts\n available in Evas is:\n - elementary.ELM_BOX_LAYOUT_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_VERTICAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL\n - elementary.ELM_BOX_LAYOUT_FLOW_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_FLOW_VERTICAL\n - elementary.ELM_BOX_LAYOUT_STACK\n\n Note that you cannot set a custom layout function.\n\n @type: Evas_Object_Box_Layout\n\n ";
+static char __pyx_k_389[] = "Autocollapsing of a frame\n\n When this is True, clicking a frame's label will collapse the frame\n vertically, shrinking it to the height of the label. By default,\n this is DISABLED.\n\n @type: bool\n\n ";
+static char __pyx_k_390[] = "The collapse state of a frame, bypassing animations\n\n @type: bool\n\n ";
+static char __pyx_k_391[] = "Front visibility state\n\n @type: bool\n\n ";
+static char __pyx_k_392[] = "The interactive flip mode\n\n Whether the flip should be interactive (allow user to click and\n drag a side of the flip to reveal the back page and cause it to flip).\n By default a flip is not interactive. You may also need to set which\n sides of the flip are \"active\" for flipping and how much space they use\n (a minimum of a finger size) with L{interaction_direction_enabled}\n and L{interaction_direction_hitsize}\n\n The four available mode of interaction are:\n - ELM_FLIP_INTERACTION_NONE - No interaction is allowed\n - ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation\n - ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation\n - ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation\n\n @note: ELM_FLIP_INTERACTION_ROTATE won't cause\n ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to\n happen, those can only be achieved with L{go()}\n\n @type: Elm_Flip_Interaction\n\n ";
+static char __pyx_k_393[] = "The scrollbar visibility policy\n\n This property reflects the scrollbar visibility policy for the given\n scroller. ELM_SCROLLER_POLICY_AUTO means the scrollbar is made\n visible if it is needed, and otherwise kept hidden.\n ELM_SCROLLER_POLICY_ON turns it on all the time, and\n ELM_SCROLLER_POLICY_OFF always keeps it off. This applies\n respectively for the horizontal and vertical scrollbars.\n\n @type: tuple of Elm_Scroller_Policy\n\n ";
+static char __pyx_k_394[] = "Get the currently visible content region\n\n This gets the current region in the content object that is visible\n through the scroller. The region co-ordinates are returned in the\n C{x}, C{y}, C{w}, C{h} values pointed to.\n\n @note: All coordinates are relative to the content.\n\n @see: L{region_show()}\n\n @type: tuple of Evas_Coord (int)\n\n ";
+static char __pyx_k_395[] = "Get the size of the content object\n\n This gets the size of the content object of the scroller.\n\n @type: tuple of Evas_Coord (int)\n\n ";
+static char __pyx_k_396[] = "The bouncing behavior\n\n When scrolling, the scroller may \"bounce\" when reaching an edge of\n the content object. This is a visual way to indicate the end has\n been reached. This is enabled by default for both axis. This API\n will set if it is enabled for the given axis with the boolean\n parameters for each axis.\n\n @type: (bool, bool)\n\n ";
+static char __pyx_k_397[] = "Set scroll page size relative to viewport size.\n\n The scroller is capable of limiting scrolling by the user to\n \"pages\". That is to jump by and only show a \"whole page\" at a time\n as if the continuous area of the scroller content is split into page\n sized pieces. This sets the size of a page relative to the viewport\n of the scroller. 1.0 is \"1 viewport\" is size (horizontally or\n vertically). 0.0 turns it off in that axis. This is mutually\n exclusive with page size (see L{page_size_set()} for more\n information). Likewise 0.5 is \"half a viewport\". Sane usable values\n are normally between 0.0 and 1.0 including 1.0. If you only want a\n single axis to be page \"limited\", use 0.0 for the other axis.\n\n @type: tuple of floats\n\n ";
+static char __pyx_k_398[] = "Set scroll page size.\n\n This sets the page size to an absolute fixed value, with 0 turning it off\n for that axis.\n\n @see: L{page_relative_set()}\n\n @type: tuple of Evas_Coords (int)\n\n ";
+static char __pyx_k_399[] = "Get scroll current page number.\n\n The page number starts from 0. 0 is the first page.\n Current page means the page which meets the top-left of the viewport.\n If there are two or more pages in the viewport, it returns the number of the page\n which meets the top-left of the viewport.\n\n @see: L{last_page_get()}\n @see: L{page_show()}\n @see: L{page_bring_in()}\n\n @type: tuple of ints\n\n ";
+static char __pyx_k_400[] = "Get scroll last page number.\n\n The page number starts from 0. 0 is the first page.\n This returns the last page number among the pages.\n\n @see: L{current_page_get()}\n @see: L{page_show()}\n @see: L{page_bring_in()}\n\n @type: tuple of ints\n\n ";
+static char __pyx_k_401[] = "Event propagation for a scroller\n\n This enables or disables event propagation from the scroller content to\n the scroller and its parent. By default event propagation is disabled.\n\n @type: bool\n\n ";
+static char __pyx_k_402[] = "Scrolling gravity on a scroller\n\n The gravity, defines how the scroller will adjust its view\n when the size of the scroller contents increase.\n\n The scroller will adjust the view to glue itself as follows.\n\n x=0.0, for showing the left most region of the content.\n x=1.0, for showing the right most region of the content.\n y=0.0, for showing the bottom most region of the content.\n y=1.0, for showing the top most region of the content.\n\n Default values for x and y are 0.0\n\n @type: tuple of floats\n\n ";
+static char __pyx_k_403[] = "The wrapping behavior of the label\n\n By default no wrapping is done. Possible values for C{wrap} are:\n - ELM_WRAP_NONE - No wrapping\n - ELM_WRAP_CHAR - wrap between characters\n - ELM_WRAP_WORD - wrap between words\n - ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap\n\n @type: Elm_Wrap_Type\n\n ";
+static char __pyx_k_404[] = "Wrap width of the label\n\n This is the maximum width size hint of the label.\n\n @warning: This is only relevant if the label is inside a container.\n\n @type: int\n\n ";
+static char __pyx_k_405[] = "The ellipsis behavior of the label\n\n If set to True and the text doesn't fit in the label an ellipsis(\"...\")\n will be shown at the end of the widget.\n\n @warning: This doesn't work with slide(L{slide}) or if the\n chosen wrap method was ELM_WRAP_WORD.\n\n @type: bool\n\n ";
+static char __pyx_k_406[] = "The sliding effect of the label widget.\n\n If set to True, the text of the label will slide/scroll through the length of\n label.\n\n @warning: This only works with the themes \"slide_short\", \"slide_long\" and\n \"slide_bounce\".\n\n @type: bool\n\n ";
+static char __pyx_k_407[] = "The duration time in moving text from slide begin position to slide end position\n\n @type: float\n\n ";
+static char __pyx_k_408[] = "The homogeneous layout in the table\n\n @type: bool\n\n ";
+static char __pyx_k_409[] = "Padding between cells.\n\n Default value is 0.\n\n @type: (int, int)\n\n ";
+static char __pyx_k_410[] = "The clock widget's time\n\n This property reflects the time that is showed by the clock widget.\n\n Values B{must} be set within the following ranges:\n - 0 - 23, for hours\n - 0 - 59, for minutes\n - 0 - 59, for seconds,\n even if the clock is not in \"military\" mode.\n\n @warning: The behavior for values set out of those ranges is\n B{undefined}.\n\n @type: (int h, int m, int s)\n\n ";
+static char __pyx_k_411[] = "Whether a given clock widget is under B{edition mode} or under\n (default) displaying-only mode.\n\n This property reflects whether the clock editable or not B{by user\n interaction}. When in edition mode, clocks B{stop} ticking, until\n one brings them back to canonical mode. The L{edit_mode}\n property will influence which digits of the clock will be editable.\n\n @note: am/pm sheets, if being shown, will B{always} be editable\n under edition mode.\n\n @type: bool\n\n ";
+static char __pyx_k_412[] = "Which digits of the given clock widget should be editable when in\n edition mode.\n\n @type: Elm_Clock_Edit_Mode\n\n ";
+static char __pyx_k_413[] = "Whether the given clock widget must show hours in military or\n am/pm mode\n\n This property reflects if the clock must show hours in military or\n am/pm mode. In some countries like Brazil the military mode\n (00-24h-format) is used, in opposition to the USA, where the\n am/pm mode is more commonly used.\n\n C{True}, if in am/pm mode, C{False} if in military\n\n @type: bool\n\n ";
+static char __pyx_k_414[] = "Whether the given clock widget must show time with seconds or not\n\n By default, they are B{not} shown.\n\n @type: bool\n\n ";
+static char __pyx_k_415[] = "The first interval on time updates for a user mouse button hold\n on clock widgets' time edition.\n\n This interval value is B{decreased} while the user holds the\n mouse pointer either incrementing or decrementing a given the\n clock digit's value.\n\n This helps the user to get to a given time distant from the\n current one easier/faster, as it will start to flip quicker and\n quicker on mouse button holds.\n\n The calculation for the next flip interval value, starting from\n the one set with this call, is the previous interval divided by\n 1.05, so it decreases a little bit.\n\n The default starting interval value for automatic flips is\n B{0.85} seconds.\n\n @type: float\n\n ";
+static char __pyx_k_416[] = "The target object for the hover.\n\n Setting this will cause the hover to be centered on the target object.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_417[] = "The parent object for the hover.\n\n This will cause the hover to take up the entire space that the\n parent object fills.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_418[] = "Single line mode.\n\n In single line mode, entries don't ever wrap when the text reaches the\n edge, and instead they keep growing horizontally. Pressing the C{Enter}\n key will generate an C{\"activate\"} event instead of adding a new line.\n\n When C{single_line} is C{False}, line wrapping takes effect again\n and pressing enter will break the text into a different line\n without generating any events.\n\n @type: bool\n\n ";
+static char __pyx_k_419[] = "Sets the entry to password mode.\n\n In password mode, entries are implicitly single line and the display of\n any text in them is replaced with asterisks (*).\n\n @type: bool\n\n ";
+static char __pyx_k_420[] = "The text displayed within the entry to C{entry}.\n\n @note: Setting this bypasses text filters\n\n @type: string\n\n ";
+static char __pyx_k_421[] = "Gets any selected text within the entry.\n\n If there's any selected text in the entry, this function returns it as\n a string in markup format. None is returned if no selection exists or\n if an error occurred.\n\n The returned value points to an internal string and should not be freed\n or modified in any way. If the C{entry} object is deleted or its\n contents are changed, the returned pointer should be considered invalid.\n\n @type: string\n\n ";
+static char __pyx_k_422[] = "Returns the actual textblock object of the entry.\n\n This function exposes the internal textblock object that actually\n contains and draws the text. This should be used for low-level\n manipulations that are otherwise not possible.\n\n Changing the textblock directly from here will not notify edje/elm to\n recalculate the textblock size automatically, so any modifications\n done to the textblock returned by this function should be followed by\n a call to L{calc_force()}.\n\n The return value is marked as const as an additional warning.\n One should not use the returned object with any of the generic evas\n functions (geometry_get/resize/move and etc), but only with the textblock\n functions; The former will either not work at all, or break the correct\n functionality.\n\n IMPORTANT: Many functions may change (i.e delete and create a new one)\n the internal textblock object. Do NOT cache the returned object, and try\n not to mix calls on this object with regular elm_entry calls (which may\n change the internal textblock object). This applies to all cursors\n returned from textblock calls, and all the other derivative values.\n\n @type: Evas_Object\n\n ";
+static char __pyx_k_423[] = "The line wrap type to use on multi-line entries.\n\n This tells how the text will be implicitly cut into a new\n line (without inserting a line break or paragraph separator) when it\n reaches the far edge of the widget.\n\n Note that this only makes sense for multi-line entries. A widget set\n to be single line will never wrap.\n\n @type: Elm_Wrap_Type\n\n ";
+static char __pyx_k_424[] = "If the entry is to be editable or not.\n\n By default, entries are editable and when focused, any text input by the\n user will be inserted at the current cursor position. Setting this as\n False will prevent the user from inputting text into the entry.\n\n The only way to change the text of a non-editable entry is to use\n L{Object.text_set()}, L{entry_insert()} and other related\n functions and properties.\n\n @type: bool\n\n ";
+static char __pyx_k_425[] = "The cursor position in the entry\n\n The value is the index of the character position within the\n contents of the string.\n\n @type: int\n\n ";
+static char __pyx_k_426[] = "This disables the entry's contextual (longpress) menu.\n\n @type: bool\n\n ";
+static char __pyx_k_427[] = "The file for the text to display and then edit.\n\n All changes are written back to the file after a short delay if\n the entry object is set to autosave (which is the default).\n\n If the entry had any other file set previously, any changes made to it\n will be saved if the autosave feature is enabled, otherwise, the file\n will be silently discarded and any non-saved changes will be lost.\n\n @type: tuple of strings (file, format)\n\n ";
+static char __pyx_k_428[] = "Whether the entry object 'autosaves' the loaded text file or not.\n\n @type: bool\n\n ";
+static char __pyx_k_429[] = "Enable or disable scrolling in entry\n\n Normally the entry is not scrollable.\n\n @type: bool\n\n ";
+static char __pyx_k_430[] = "Sets the visibility of the end widget of the entry, set by\n C{Object.part_content_set(\"end\", content)}.\n\n @type: bool\n\n ";
+static char __pyx_k_431[] = "This sets the entry's scrollbar policy (i.e. enabling/disabling\n them).\n\n Setting an entry to single-line mode with L{single_line_set()}\n will automatically disable the display of scrollbars when the entry\n moves inside its scroller.\n\n @type: tuple of Elm_Scroller_Policy (h, v)\n\n ";
+static char __pyx_k_432[] = "Whether the entry will bounce when scrolling reaches\n the end of the contained entry.\n\n @type: tuple of bools (h_bounce, v_bounce)\n\n ";
+static char __pyx_k_433[] = "The input panel layout of the entry\n\n @type: Elm_Input_Panel_Layout\n\n ";
+static char __pyx_k_434[] = "Whether to show the input panel automatically or not.\n\n @type: bool\n\n ";
+static char __pyx_k_435[] = "The language mode of the input panel.\n\n This API can be used if you want to show the alphabet keyboard mode.\n\n @type: Elm_Input_Panel_Lang\n\n ";
+static char __pyx_k_436[] = "The \"return\" key type. This type is used to set string or icon on\n the \"return\" key of the input panel.\n\n An input panel displays the string or icon associated with this type\n\n @type: Elm_Input_Panel_Return_Key_Type\n\n ";
+static char __pyx_k_437[] = "Whether the return key on the input panel is disabled or not.\n\n @type: bool\n\n ";
+static char __pyx_k_438[] = "Set whether the return key on the input panel is disabled automatically when entry has no text.\n\n If C{enabled} is True, The return key on input panel is disabled when the entry has no text.\n The return key on the input panel is automatically enabled when the entry has text.\n The default value is False.\n\n @type: bool\n\n ";
+static char __pyx_k_439[] = "Whether the entry should allow to use the text prediction.\n\n @type: bool\n\n ";
+static char __pyx_k_440[] = "Control pasting of text and images for the widget.\n\n Normally the entry allows both text and images to be pasted.\n By setting cnp_mode to be C{ELM_CNP_MODE_NO_IMAGE}, this prevents images from being copy or past.\n By setting cnp_mode to be C{ELM_CNP_MODE_PLAINTEXT}, this remove all tags in text .\n\n @note: this only changes the behaviour of text.\n\n @type: Elm_Cnp_Mode\n\n ";
+static char __pyx_k_441[] = "Parent of the hover popup\n\n The parent object to use by the hover created by the entry\n when an anchor is clicked. See L{Hover} for more details on this.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_442[] = "The style that the hover should use\n\n When creating the popup hover, entry will request that it's\n themed according to C{style}.\n\n Setting style to C{None} means disabling automatic hover.\n\n @see: L{Object.style_set()}\n\n @type: string\n\n ";
+static char __pyx_k_443[] = "The corner of the bubble\n\n This property reflects the corner of the bubble. The corner will be\n used to determine where the arrow in the frame points to and where\n label, icon and info are shown.\n\n @type: Elm_Bubble_Pos\n\n ";
+static char __pyx_k_444[] = "Set the file that will be used as photo\n\n @type: string\n\n ";
+static char __pyx_k_445[] = "Set the file that will be used as thumbnail in the photo.\n\n @type: string or tuple of strings\n\n ";
+static char __pyx_k_446[] = "Set the size that will be used on the photo.\n\n @type: int\n\n ";
+static char __pyx_k_447[] = "Set if the photo should be completely visible or not.\n\n @type: bool\n\n ";
+static char __pyx_k_448[] = "Set editability of the photo.\n\n An editable photo can be dragged to or from, and can be cut or\n pasted too. Note that pasting an image or dropping an item on\n the image will delete the existing content.\n\n @type: bool\n\n ";
+static char __pyx_k_449[] = "Whether the original aspect ratio of the photo should be kept on resize.\n\n The original aspect ratio (width / height) of the photo is usually\n distorted to match the object's size. Enabling this option will fix\n this original aspect, and the way that the photo is fit into\n the object's area\n\n @type: bool\n\n ";
+static char __pyx_k_450[] = "This sets the icon for the given hoversel item.\n\n The icon can be loaded from the standard set, from an image file, or\n from an edje file.\n\n @see: L{Hoversel.item_add()}\n\n @type: tuple(string file, string group, Elm_Icon_Type type)\n\n ";
+static char __pyx_k_451[] = "Whether the hoversel is set to expand horizontally.\n\n @note: The initial button will display horizontally regardless of this\n setting.\n\n @type: bool\n\n ";
+static char __pyx_k_452[] = "The Hover parent.\n\n The hover parent object, the area that will be darkened when the\n hoversel is clicked. Should probably be the window that the hoversel\n is in. See L{Hover} objects for more information.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_453[] = "Returns whether the hoversel is expanded.\n\n @type: bool\n\n ";
+static char __pyx_k_454[] = "Get the list of items within the given hoversel.\n\n @see: L{item_add()}\n\n @type: tuple of Elm_Object_Items\n\n ";
+static char __pyx_k_455[] = "Get the item after C{item} in toolbar.\n\n @note: If it is the last item, C{None} will be returned.\n\n @see: L{Toolbar.item_append()}\n\n @type: L{ToolbarItem}\n\n ";
+static char __pyx_k_456[] = "Get the item before C{item} in toolbar.\n\n @note: If it is the first item, C{None} will be returned.\n\n @see: L{Toolbar.item_prepend()}\n\n @type: L{ToolbarItem}\n\n ";
+static char __pyx_k_457[] = "The priority of a toolbar item.\n\n This is used only when the toolbar shrink mode is set to\n ELM_TOOLBAR_SHRINK_MENU or ELM_TOOLBAR_SHRINK_HIDE. When space is\n less than required, items with low priority will be removed from the\n toolbar and added to a dynamically-created menu, while items with\n higher priority will remain on the toolbar, with the same order they\n were added.\n\n @type: int\n\n ";
+static char __pyx_k_458[] = "The selected state of an item.\n\n This reflects the selected state of the given item. C{True} for\n selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n Previously selected item can be get with function\n L{Toolbar.selected_item_get()}.\n\n Selected items will be highlighted.\n\n @see: L{Toolbar.selected_item_get()}\n\n @type: bool\n\n ";
+static char __pyx_k_459[] = "The icon associated with the item.\n\n Toolbar will load icon image from fdo or current theme.\n This behavior can be set by L{Toolbar.icon_order_lookup_set()} function.\n If an absolute path is provided it will load it direct from a file.\n\n @see: L{Toolbar.icon_order_lookup}\n\n @type: string\n\n ";
+static char __pyx_k_460[] = "Get the object of item.\n\n @type: L{Object}\n\n ";
+static char __pyx_k_461[] = "Get the icon object of item.\n\n @see: L{icon}, L{icon_file}, or L{icon_memfile} for details.\n\n @type: L{Icon}\n\n ";
+static char __pyx_k_462[] = "Set the icon associated with item to an image in a binary buffer.\n\n @note: The icon image set by this function can be changed by\n L{icon_set()}.\n\n @type: string or tuple of strings\n\n ";
+static char __pyx_k_463[] = "Whether item is a separator or not.\n\n Items aren't set as separator by default.\n\n If set as separator it will display separator theme, so won't display\n icons or label.\n\n @type: bool\n\n ";
+static char __pyx_k_464[] = "This property has two diffent functionalities. The object you get\n from it is the L{Menu} object used by this toolbar item, and setting\n it to True or False controls whether this item is a menu or not.\n\n If item wasn't set as menu item, getting the value of this property\n sets it to be that.\n\n Once it is set to be a menu, it can be manipulated through\n L{Toolbar.menu_parent} and the L{Menu} functions and properties.\n\n So, items to be displayed in this item's menu should be added with\n L{Menu.item_add()}.\n\n The following code exemplifies the most basic usage::\n tb = Toolbar(win)\n item = tb.item_append(\"refresh\", \"Menu\")\n item.menu = True\n tb.menu_parent = win\n menu = item.menu\n menu.item_add(None, \"edit-cut\", \"Cut\")\n menu_item = menu.item_add(None, \"edit-copy\", \"Copy\")\n\n @type: bool\n\n ";
+static char __pyx_k_465[] = "The current state of the item.\n\n If C{state} is C{None}, it won't select any state and the default\n item's icon and label will be used. It's the same behaviour than\n elm_toolbar_item_state_unset().\n\n @type: L{ToolbarItemState}\n\n ";
+static char __pyx_k_466[] = "Get the state after selected state in toolbar's C{item}.\n\n If last state is selected, this function will return first state.\n\n @see: L{state)\n @see: L{state_add(})\n\n @type: L{ToolbarItemState}\n\n ";
+ static char __pyx_k_467[] = "Get the state before selected state in toolbar's C{item}.\n\n If first state is selected, this function will return last state.\n\n @see: L{state)\n @see: L{state_add(})\n\n @type: L{ToolbarItemState}\n\n ";
+ static char __pyx_k_468[] = "The icon size, in pixels, to be used by toolbar items.\n\n @note: Default value is C{32}. It reads value from elm config.\n\n @type: int\n\n ";
+ static char __pyx_k_469[] = "Icon lookup order, for toolbar items' icons.\n\n Icons added before calling this function will not be affected.\n The default lookup order is ELM_ICON_LOOKUP_THEME_FDO.\n\n @type: Elm_Icon_Lookup_Order\n\n ";
+ static char __pyx_k_470[] = "Get the first item in the given toolbar widget's list of items.\n\n @see: L{item_append()}\n @see: L{last_item_get()}\n\n @type: L{ToolbarItem}\n\n ";
+ static char __pyx_k_471[] = "Get the last item in the given toolbar widget's list of items.\n\n @see: L{item_prepend()}\n @see: L{first_item_get()}\n\n @type: L{ToolbarItem}\n\n ";
+ static char __pyx_k_472[] = "The selected item.\n\n The selected item can be unselected with L{ToolbarItem.selected}.\n\n The selected item always will be highlighted on toolbar.\n\n @see: L{selected_items}\n\n @type: L{ToolbarItem}\n\n ";
+ static char __pyx_k_473[] = "Get the more item.\n\n The more item can be changed with function\n L{ObjectItem.text_set()} and L{ObjectItem.content_set()}.\n\n @type: L{ToolbarItem}\n\n ";
+ static char __pyx_k_474[] = "The shrink state of toolbar.\n\n The toolbar won't scroll if ELM_TOOLBAR_SHRINK_NONE, but will\n enforce a minimum size so all the items will fit, won't scroll and\n won't show the items that don't fit if ELM_TOOLBAR_SHRINK_HIDE, will\n scroll if ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to pop\n up excess elements with ELM_TOOLBAR_SHRINK_MENU.\n\n @type: Elm_Toolbar_Shrink_Mode\n\n ";
+ static char __pyx_k_475[] = "Homogeneous mode.\n\n This will enable the homogeneous mode where items are of the same size.\n\n @type: bool\n\n ";
+ static char __pyx_k_476[] = "The parent object of the toolbar items' menus.\n\n Each item can be set as item menu, with L{ToolbarItem.menu_set()}.\n\n For more details about setting the parent for toolbar menus, see\n L{Menu.parent_set()}.\n\n @see: L{Menu.parent} for details.\n @see: L{ToolbarItem.menu} for details.\n\n @type: L{Object}\n\n ";
+ static char __pyx_k_477[] = "The alignment of the items.\n\n Alignment of toolbar items, from C{0.0} to indicates to align\n left, to C{1.0}, to align to right. C{0.5} centralize\n items.\n\n Centered items by default.\n\n @type: float\n\n ";
+ static char __pyx_k_478[] = "A toolbar's orientation\n\n By default, a toolbar will be horizontal. Change this property to\n create a vertical toolbar.\n\n @type: bool\n\n ";
+ static char __pyx_k_479[] = "The standard priority of visible items in a toolbar\n\n If the priority of the item is up to standard priority, it is shown\n in basic panel. The other items are located in more menu or panel.\n The more menu or panel can be shown when the more item is clicked.\n\n @type: int\n\n ";
+ static char __pyx_k_480[] = "The toolbar select mode.\n\n The possible modes are:\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\n mode.\n - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if\n selected, every click will make the selected callbacks be called.\n - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability\n to select items entirely and they will neither appear selected\n nor call selected callback functions.\n\n @type: Elm_Object_Select_Mode\n\n ";
+ static char __pyx_k_481[] = "The selected state of an item.\n\n This property is the selected state of the given item.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected,\n unless multiple selection is enabled with L{List.multi_select}.\n Previously selected item can be get with\n L{List.selected_item}.\n\n Selected items will be highlighted.\n\n @see: L{List.selected_item}\n @see: L{List.multi_select}\n\n @type: bool\n\n ";
+ static char __pyx_k_482[] = "Set or unset item as a separator.\n\n Items aren't set as separator by default.\n\n If set as separator it will display separator theme, so won't display\n icons or label.\n\n @type: bool\n\n ";
+ static char __pyx_k_483[] = "Returns the base object set for this list item.\n\n Base object is the one that visually represents the list item\n row. It must not be changed in a way that breaks the list\n behavior (like deleting the base!), but it might be used to\n feed Edje signals to add more features to row representation.\n\n @type: edje.Edje\n\n ";
+ static char __pyx_k_484[] = "The item before this item in the list.\n\n @note: If the item is the first item, C{None} will be returned.\n\n @see: L{List.item_append()}\n @see: L{List.items_get()}\n\n @type: L{ListItem}\n\n ";
+ static char __pyx_k_485[] = "The item after this item in the list.\n\n @note: If the item is the last item, C{None} will be returned.\n\n @see: L{List.item_append()}\n @see: L{List.items_get()}\n\n @type: L{ListItem}\n\n ";
+ static char __pyx_k_486[] = "Enable or disable multiple items selection on the list object.\n\n Disabled by default. If disabled, the user can select a single item of\n the list each time. Selected items are highlighted on list.\n If enabled, many items can be selected.\n\n If a selected item is selected again, it will be unselected.\n\n @type: bool\n\n ";
+ static char __pyx_k_487[] = "Which mode to use for the list object.\n\n The list's resize behavior, transverse axis scroll and\n items cropping. See each mode's description for more details.\n\n Only one can be set, if a previous one was set, it will be changed\n by the new mode set. Bitmask won't work as well.\n\n @note: Default value is ELM_LIST_SCROLL.\n\n @type: Elm_List_Mode\n\n ";
+ static char __pyx_k_488[] = "Enable or disable horizontal mode on the list object.\n\n @note: Vertical mode is set by default.\n\n On horizontal mode items are displayed on list from left to right,\n instead of from top to bottom. Also, the list will scroll horizontally.\n Each item will presents left icon on top and right icon, or end, at\n the bottom.\n\n @type: bool\n\n ";
+ static char __pyx_k_489[] = "The list select mode.\n\n Possible modes are:\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\n select mode.\n - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if\n selected, every click will make the selected callbacks be\n called.\n - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability\n to select items entirely and they will neither appear\n selected nor call selected callback functions.\n\n @type: Elm_Object_Select_Mode\n\n ";
+ static char __pyx_k_490[] = "The bouncing behaviour when the scrolled content reaches an edge.\n\n Whether the internal scroller object should bounce or not when it\n reaches the respective edges for each axis.\n\n @type: tuple of bools\n\n ";
+ static char __pyx_k_491[] = "The scrollbar policy.\n\n This sets the scrollbar visibility policy for the given scroller.\n ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it\n is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns\n it on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.\n This applies respectively for the horizontal and vertical scrollbars.\n\n The both are disabled by default, i.e., are set to\n ELM_SCROLLER_POLICY_OFF.\n\n @type: Elm_Scroller_Policy\n\n ";
+ static char __pyx_k_492[] = "Get a list of all the list items.\n\n @see: L{item_append()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n\n @type: tuple of L{ListItem}s\n\n ";
+ static char __pyx_k_493[] = "Get the selected item.\n\n The selected item can be unselected with function\n L{ListItem.selected_set()}.\n\n The selected item always will be highlighted on list.\n\n @see: L{selected_items}\n\n @type: L{ListItem}\n\n ";
+ static char __pyx_k_494[] = "Return a list of the currently selected list items.\n\n Multiple items can be selected if multi select is enabled. It can be\n done with L{multi_select_set()}.\n\n @see: L{selected_item}\n @see: L{multi_select}\n\n @type: tuple of L{ListItem}s\n\n ";
+ static char __pyx_k_495[] = "The first item in the list\n\n @type: L{ListItem}\n\n ";
+ static char __pyx_k_496[] = "The last item in the list\n\n @type: L{ListItem}\n\n ";
+ static char __pyx_k_497[] = "The (exact) length of the bar region of a given slider widget.\n\n This property reflects the minimum width (when in horizontal mode)\n or height (when in vertical mode) of the actual bar area of the\n slider. This in turn affects the object's minimum size. Use this\n when you're not setting other size hints expanding on the given\n direction (like weight and alignment hints) and you would like it to\n have a specific size.\n\n @note: Icon, end, label, indicator and unit text around the object\n will require their own space, which will make the object to\n require more the C{size}, actually.\n\n @type: Evas_Coord (int)\n\n ";
+ static char __pyx_k_498[] = "The format string for the unit label.\n\n Unit label is displayed all the time, if set, after slider's bar.\n In horizontal mode, at right and in vertical mode, at bottom.\n\n If C{None}, unit label won't be visible. If not it sets the format\n string for the label text. To the label text is provided a floating point\n value, so the label text can display up to 1 floating point value.\n Note that this is optional.\n\n Use a format string such as \"%1.2f meters\" for example, and it will\n display values like: \"3.14 meters\" for a value equal to 3.14159.\n\n Default is unit label disabled.\n\n @type: string\n\n ";
+ static char __pyx_k_499[] = "The format string for the indicator label.\n\n The slider may display its value somewhere else then unit label, for\n example, above the slider knob that is dragged around. This function\n sets the format string used for this.\n\n If C{None}, indicator label won't be visible. If not it sets the\n format string for the label text. To the label text is provided a\n floating point value, so the label text can display up to 1 floating\n point value. Note that this is optional.\n\n Use a format string such as \"%1.2f meters\" for example, and it will\n display values like: \"3.14 meters\" for a value equal to 3.14159.\n\n Default is indicator label disabled.\n\n @type: string\n\n ";
+ static char __pyx_k_500[] = "The orientation of a given slider widget.\n\n This property reflects how your slider is to be disposed: vertically\n or horizontally.\n\n By default it's displayed horizontally.\n\n @type: bool\n\n ";
+ static char __pyx_k_501[] = "The minimum and maximum values for the slider.\n\n If actual value is less than C{min}, it will be updated to C{min}. If it\n is bigger then C{max}, will be updated to C{max}. Actual value can be\n get with L{value_get()}.\n\n By default, min is equal to 0.0, and max is equal to 1.0.\n\n @warning: Maximum must be greater than minimum, otherwise behavior\n is undefined.\n\n @type: (float, float)\n\n ";
+ static char __pyx_k_502[] = "The value displayed in the slider.\n\n Value will be presented on the unit label following format specified\n with L{unit_format_set()} and on indicator with\n L{indicator_format_set()}.\n\n @warning: The value must to be between min and max values. These\n values are set by L{min_max}.\n\n @see: L{unit_format}\n @see: L{indicator_format}\n @see: L{min_max}\n\n @type: float\n\n ";
+ static char __pyx_k_503[] = "Invert a given slider widget's displaying values order\n\n A slider may be B{inverted}, in which state it gets its\n values inverted, with high vales being on the left or top and\n low values on the right or bottom, as opposed to normally have\n the low values on the former and high values on the latter,\n respectively, for horizontal and vertical modes.\n\n @type: bool\n\n ";
+ static char __pyx_k_504[] = "Whether to enlarge slider indicator (augmented knob) or not.\n\n By default, indicator will be bigger while dragged by the user.\n\n @warning: It won't display values set with\n L{indicator_format} if you disable indicator.\n\n @type: bool\n\n ";
+ static char __pyx_k_505[] = "The item style.\n\n The following styles are available for this item:\n - C{\"default\"}\n\n @type: string\n\n ";
+ static char __pyx_k_506[] = "Show/Hide the title area\n\n When the title area is invisible, then the controls would be hidden\n so as to expand the content area to full-size.\n\n @type: bool\n\n ";
+ static char __pyx_k_507[] = "Preserve the content objects when items are popped.\n\n @type: bool\n\n ";
+ static char __pyx_k_508[] = "Get a top item on the naviframe stack\n\n @type: L{NaviframeItem}\n\n ";
+ static char __pyx_k_509[] = "Get a bottom item on the naviframe stack\n\n @type: L{NaviframeItem}\n\n ";
+ static char __pyx_k_510[] = "Whether prev button(back button) will be created automatically or\n not.\n\n @see: L{item_push()}\n\n @type: bool\n\n ";
+ static char __pyx_k_511[] = "Get a list of all the naviframe items.\n\n @type: tuple of L{NaviframeItem}s\n\n ";
+ static char __pyx_k_512[] = "Whether the event when pushing/popping items is enabled\n\n If is True, the contents of the naviframe item will receives events\n from mouse and keyboard during view changing such as item push/pop.\n\n @warning: Events will be blocked by calling\n L{freeze_events_set()} internally. So don't call the API\n while pushing/popping items.\n\n @see: L{evasObject.freeze_events_set()}\n\n @type: bool\n\n ";
+ static char __pyx_k_513[] = "The integer value that this radio object represents\n\n @type: int\n\n ";
+ static char __pyx_k_514[] = "The value of the radio group.\n\n This reflects the value of the radio group and will also set the\n value if pointed to, to the value supplied, but will not call any\n callbacks.\n\n @type: int\n\n ";
+ static char __pyx_k_515[] = "Get the selected radio object.\n\n @type: L{Radio}\n\n ";
+ static char __pyx_k_516[] = "The of/off state of the check object\n\n This property reflects the state of the check. Setting it B{doesn't}\n cause the \"changed\" signal to be emitted.\n\n @type: bool\n\n ";
+ static char __pyx_k_517[] = "The format string of the displayed label.\n\n If set to C{None}, the format is set to \"%.0f\". If not it sets the\n format string for the label text. The label text is provided a\n floating point value, so the label text can display up to 1 floating\n point value. Note that this is optional.\n\n Use a format string such as \"%1.2f meters\" for example, and it will\n display values like: \"3.14 meters\" for a value equal to 3.14159.\n\n Default is \"%0.f\".\n\n @type: string\n\n ";
+ static char __pyx_k_518[] = "The minimum and maximum values for the spinner.\n\n If actual value is less than C{min}, it will be updated to C{min}.\n If it is bigger then C{max}, will be updated to C{max}. Actual value\n can be get with L{value}.\n\n By default, min is equal to 0, and max is equal to 100.\n\n @warning: Maximum must be greater than minimum.\n\n @type: (float, float)\n\n ";
+ static char __pyx_k_519[] = "The step used to increment or decrement the spinner value.\n\n This value will be incremented or decremented to the displayed value.\n It will be incremented while the user keep right or top arrow\n pressed, and will be decremented while the user keep left or bottom\n arrow pressed.\n\n The interval to increment / decrement can be set with\n L{interval}.\n\n By default step value is equal to 1.\n\n @type: float\n\n ";
+ static char __pyx_k_520[] = "The value the spinner displays.\n\n Value will be presented on the label following format specified with\n L{format}.\n\n @warning: The value must to be between min and max values. This values\n are set by L{min_max}.\n\n @see: L{format}\n @see: L{min_max}\n\n @type: float\n\n ";
+ static char __pyx_k_521[] = "Whether the spinner should wrap when it reaches its minimum or\n maximum value.\n\n Disabled by default. If disabled, when the user tries to increment\n the value, but displayed value plus step value is bigger than\n maximum value, the spinner won't allow it. The same happens when the\n user tries to decrement it, but the value less step is less than\n minimum value.\n\n When wrap is enabled, in such situations it will allow these changes,\n but will get the value that would be less than minimum and subtracts\n from maximum. Or add the value that would be more than maximum to\n the minimum.\n\n E.g.:\n - min value = 10\n - max value = 50\n - step value = 20\n - displayed value = 20\n\n When the user decrement value (using left or bottom arrow), it will\n display C{40}, because max - (min - (displayed - step)) is\n C{50} - (C{10} - (C{20} - C{20})) = C{40}.\n\n @type: bool\n\n ";
+ static char __pyx_k_522[] = "Whether the spinner can be directly edited by the user or not.\n\n Spinner objects can have edition B{disabled}, in which state they\n will be changed only by arrows. Useful for contexts where you don't\n want your users to interact with it writing the value. Specially\n when using special values, the user can see real value instead of\n special label on edition.\n\n It's enabled by default.\n\n @type: bool\n\n ";
+ static char __pyx_k_523[] = "The interval on time updates for an user mouse button hold\n on spinner widgets' arrows.\n\n This interval value is B{decreased} while the user holds the\n mouse pointer either incrementing or decrementing spinner's value.\n\n This helps the user to get to a given value distant from the\n current one easier/faster, as it will start to change quicker and\n quicker on mouse button holds.\n\n The calculation for the next change interval value, starting from\n the one set with this call, is the previous interval divided by\n C{1.05}, so it decreases a little bit.\n\n The default starting interval value for automatic changes is\n C{0.85} seconds.\n\n @type: float\n\n ";
+ static char __pyx_k_524[] = "The base for rounding\n\n Rounding works as follows:\n\n C{rounded_val = base + (double)(((value - base) / round) round)}\n\n Where rounded_val, value and base are doubles, and round is an integer.\n\n This means that things will be rounded to increments (or decrements)\n of \"round\" starting from the value of this property. The default\n base for rounding is 0.\n\n Example: round = 3, base = 2\n Values: 3, 6, 9, 12, 15, ...\n\n Example: round = 2, base = 5.5\n Values: 5.5, 7.5, 9.5, 11.5, ...\n\n @see: L{round}\n\n @type: float\n\n ";
+ static char __pyx_k_525[] = "The rounding value used for value rounding in the spinner.\n\n @see: L{base}\n\n @type: float\n\n ";
+ static char __pyx_k_526[] = "The notify parent.\n\n Once the parent object is set, a previously set one will be disconnected\n and replaced.\n\n @type: L{Object}\n\n ";
+ static char __pyx_k_527[] = "The position in which the notify will appear in its parent.\n\n @type: Elm_Notify_Orient\n\n ";
+ static char __pyx_k_528[] = "The time interval after which the notify window is going to be\n hidden.\n\n Setting this starts the timer controlling when the\n notify is hidden. Since calling L{show()} on a notify restarts\n the timer controlling when the notify is hidden, setting this before the\n notify is shown will in effect mean starting the timer when the notify is\n shown.\n\n @note: Set a value <= 0.0 to disable a running timer.\n\n @note: If the value > 0.0 and the notify is previously visible, the\n timer will be started with this value, canceling any running timer.\n\n @type: float\n\n ";
+ static char __pyx_k_529[] = "Whether events should be passed to by a click outside its area.\n\n When True if the user clicks outside the window the events will be caught\n by the others widgets, else the events are blocked.\n\n @note: The default value is True.\n\n @type: bool\n\n ";
+ static char __pyx_k_530[] = "Enable/disable the file name entry box where the user can type\n in a name for a file, in a given file selector widget\n\n Having the entry editable is useful on file saving dialogs on\n applications, where one gives a file name to save contents to,\n in a given directory in the system. This custom file name will\n be reported on the C{\"done\"} smart callback.\n\n @type: bool\n\n ";
+ static char __pyx_k_531[] = "Enable/disable folder-only view for a given file selector widget\n\n If enabled, the widget's view will only display folder items,\n naturally.\n\n @type: bool\n\n ";
+ static char __pyx_k_532[] = "Enable/disable the \"ok\" and \"cancel\" buttons on a given file\n selector widget\n\n @note: A file selector without those buttons will never emit the\n C{\"done\"} smart event, and is only usable if one is just hooking\n to the other two events.\n\n @type: bool\n\n ";
+ static char __pyx_k_533[] = "Enable/disable a tree view in the given file selector widget,\n B{if it's in C{ELM_FILESELECTOR_LIST} mode}\n\n In a tree view, arrows are created on the sides of directories,\n allowing them to expand in place.\n\n @note: If it's in other mode, the changes made by this function\n will only be visible when one switches back to \"list\" mode.\n\n @type: bool\n\n ";
+ static char __pyx_k_534[] = "The B{directory} that a given file selector widget will display\n contents from\n\n Setting this will change the B{directory} displayed. It\n will also clear the text entry area on the object, which\n displays select files' names.\n\n @type: string\n\n ";
+ static char __pyx_k_535[] = "The currently selected file/directory in the given file selector\n widget\n\n @type: string\n\n ";
+ static char __pyx_k_536[] = "The mode in which a given file selector widget will display\n (layout) file system entries in its view\n\n @note: By using L{expandable_set()}, the user may\n trigger a tree view for that list.\n\n @note: If Elementary is built with support of the Ethumb\n thumbnailing library, the second form of view will display\n preview thumbnails of files which it supports. You must have\n elm_need_ethumb() called in your Elementary for thumbnailing to\n work, though.\n\n @see: L{expandable}\n\n @type: Elm_Fileselector_Mode\n\n ";
+ static char __pyx_k_537[] = "The title for a given file selector entry widget's window\n\n This is the window's title, when the file selector pops\n out after a click on the entry's button. Those windows have the\n default (unlocalized) value of C{\"Select a file\"} as titles.\n\n @note: It will only take any effect if the file selector\n entry widget is B{not} under \"inwin mode\".\n\n @type: string\n\n ";
+ static char __pyx_k_538[] = "The size of a given file selector entry widget's window,\n holding the file selector itself.\n\n @note: it will only take any effect if the file selector entry\n widget is B{not} under \"inwin mode\". The default size for the\n window (when applicable) is 400x400 pixels.\n\n @type: tuple of Evas_Coords (int)\n\n ";
+ static char __pyx_k_539[] = "The initial file system path and the entry's path string for\n a given file selector entry widget\n\n It must be a B{directory} path, which will have the contents\n displayed initially in the file selector's view. The default initial\n path is the C{\"HOME\"} environment variable's value.\n\n @type: string\n\n ";
+ static char __pyx_k_540[] = "Enable/disable a tree view in the given file selector entry\n widget's internal file selector\n\n This has the same effect as L{Fileselector.expandable},\n but now applied to a file selector entry's internal file\n selector.\n\n @note: There's no way to put a file selector entry's internal\n file selector in \"grid mode\", as one may do with \"pure\" file\n selectors.\n\n @type: bool\n\n ";
+ static char __pyx_k_541[] = "Whether a given file selector entry widget's internal file\n selector is to display folders only or the directory contents,\n as well.\n\n This has the same effect as L{Fileselector.folder_only},\n but now applied to a file selector entry's internal file\n selector.\n\n @type: bool\n\n ";
+ static char __pyx_k_542[] = "Enable/disable the file name entry box where the user can type\n in a name for a file, in a given file selector entry widget's\n internal file selector.\n\n This has the same effect as L{Fileselector.is_save},\n but now applied to a file selector entry's internal file\n selector.\n\n @type: bool\n\n ";
+ static char __pyx_k_543[] = "Whether a given file selector entry widget's internal file\n selector will raise an Elementary \"inner window\", instead of a\n dedicated Elementary window. By default, it won't.\n\n @see: L{Inwin} for more information on inner windows\n\n @type: bool\n\n ";
+ static char __pyx_k_544[] = "The initial file system path for a given file selector entry\n widget\n\n It must be a B{directory} path, which will have the contents\n displayed initially in the file selector's view. The default initial\n path is the C{\"HOME\"} environment variable's value.\n\n @type: string\n\n ";
+ static char __pyx_k_545[] = "The title for a given file selector button widget's window\n\n This is the popup window's title, when the file selector pops\n out after a click on the button. Those windows have the default\n (unlocalized) value of C{\"Select a file\"} as titles.\n\n @note: Setting this will only take effect if the file selector\n button widget is B{not} under \"inwin mode\".\n\n @type: string\n\n ";
+ static char __pyx_k_546[] = "The size of a given file selector button widget's window,\n holding the file selector itself.\n\n @note: Setting this will only take any effect if the file selector button\n widget is B{not} under \"inwin mode\". The default size for the\n window (when applicable) is 400x400 pixels.\n\n @type: tuple of Evas_Coords (int)\n\n ";
+ static char __pyx_k_547[] = "The initial file system path for a given file selector\n button widget\n\n It must be a B{directory} path, which will have the contents\n displayed initially in the file selector's view. The default initial\n path is the C{\"HOME\"} environment variable's value.\n\n @type: string\n\n ";
+ static char __pyx_k_548[] = "Enable/disable a tree view in the given file selector button\n widget's internal file selector\n\n This has the same effect as L{Fileselector.expandable},\n but now applied to a file selector button's internal file\n selector.\n\n @note: There's no way to put a file selector button's internal\n file selector in \"grid mode\", as one may do with \"pure\" file\n selectors.\n\n @type: bool\n\n ";
+ static char __pyx_k_549[] = "Whether a given file selector button widget's internal file\n selector is to display folders only or the directory contents,\n as well.\n\n This has the same effect as L{Fileselector.folder_only_set()},\n but now applied to a file selector button's internal file\n selector.\n\n @type: bool\n\n ";
+ static char __pyx_k_550[] = "Enable/disable the file name entry box where the user can type\n in a name for a file, in a given file selector button widget's\n internal file selector.\n\n This has the same effect as L{Fileselector.is_save},\n but now applied to a file selector button's internal file\n selector.\n\n @type: bool\n\n ";
+ static char __pyx_k_551[] = "Whether a given file selector button widget's internal file\n selector will raise an Elementary \"inner window\", instead of a\n dedicated Elementary window. By default, it won't.\n\n @see: L{InnerWindow} for more information on inner windows\n\n @type: bool\n\n ";
+ static char __pyx_k_552[] = "The horizontal mode of a separator object\n\n @type: bool\n\n ";
+ static char __pyx_k_553[] = "The progress value (in percentage) on a given progress bar widget.\n\n The progress value (B{must} be between C{0.0} and C{1.0})\n\n @note: If you set a value out of the specified range for C{val},\n it will be interpreted as the B{closest} of the B{boundary}\n values in the range.\n\n @type: float\n\n ";
+ static char __pyx_k_554[] = "The (exact) length of the bar region of a given progress bar widget.\n\n This property is the minimum width (when in horizontal mode) or height\n (when in vertical mode) of the actual bar area of the progress bar.\n This in turn affects the object's minimum size. Use this when you're\n not setting other size hints expanding on the given direction (like\n weight and alignment hints) and you would like it to have a specific\n size.\n\n @note: Icon, label and unit text around the object will require their\n own space, which will make the object to actually require more size.\n\n @type: Evas_Coord (int)\n\n ";
+ static char __pyx_k_555[] = "The format string for a given progress bar widget's units label.\n\n If this is set to C{None}, it will make the objects units area to be\n hidden completely. If not, it'll set the B{format string} for the\n units label's B{text}. The units label is provided a floating point\n value, so the units text is up display at most one floating point\n value. Note that the units label is optional. Use a format string\n such as \"%1.2f meters\" for example.\n\n @note: The default format string for a progress bar is an integer\n percentage, as in C{\"%.0f %%\"}.\n\n @type: string\n\n ";
+ static char __pyx_k_556[] = "Set the callback function to format the unit string.\n\n @see: L{unit_format} for more info on how this works.\n\n @type: function\n\n ";
+ static char __pyx_k_557[] = "The orientation of a given progress bar widget.\n\n This property reflects how your progress bar is to be disposed:\n vertically or horizontally.\n\n @type: bool\n\n ";
+ static char __pyx_k_558[] = "Whether a given progress bar widget's displaying values are\n inverted or not.\n\n A progress bar may be B{inverted}, in which state it gets its values\n inverted, with high values being on the left or top and low values\n on the right or bottom, as opposed to normally have the low values\n on the former and high values on the latter, respectively, for\n horizontal and vertical modes.\n\n @type: bool\n\n ";
+ static char __pyx_k_559[] = "The standard icon name of a menu item\n\n Once this icon is set, any previously set icon will be deleted.\n\n @type: string\n\n ";
+ static char __pyx_k_560[] = "The selected state of the item.\n\n @type: bool\n\n ";
+ static char __pyx_k_561[] = "A list of item's subitems.\n\n @type: tuple of L{MenuItem}s\n\n ";
+ static char __pyx_k_562[] = "Get the position of a menu item\n\n This function returns the index position of a menu item in a menu.\n For a sub-menu, this number is relative to the first item in the\n sub-menu.\n\n @note: Index values begin with 0\n\n @type: int\n\n ";
+ static char __pyx_k_563[] = "Get the next item in the menu.\n\n @type: L{MenuItem}\n\n ";
+ static char __pyx_k_564[] = "Get the previous item in the menu.\n\n @type: L{MenuItem}\n\n ";
+ static char __pyx_k_565[] = "The parent for the given menu widget.\n\n @type: L{Object}\n\n ";
+ static char __pyx_k_566[] = "Returns a list of C{item}'s items.\n\n @type: tuple of L{Object}s\n\n ";
+ static char __pyx_k_567[] = "The selected item in the menu\n\n @see: L{MenuItem.selected}\n\n @type: L{MenuItem}\n\n ";
+ static char __pyx_k_568[] = "The last item in the menu\n\n @type: L{MenuItem}\n\n ";
+ static char __pyx_k_569[] = "The first item in the menu\n\n @type: MenuItem\n\n ";
+ static char __pyx_k_570[] = "The orientation of the panel.\n\n Tells from where the panel will (dis)appear.\n\n This has value ELM_PANEL_ORIENT_LEFT on failure\n\n @type: Elm_Panel_Orient\n\n ";
+ static char __pyx_k_571[] = "The hidden state of the panel.\n\n @type: bool\n\n ";
+ static char __pyx_k_572[] = "Selected label.\n\n @type: string\n\n ";
+ static char __pyx_k_573[] = "Indicator position.\n\n @type: Elm_Actionslider_Pos\n\n ";
+ static char __pyx_k_574[] = "The actionslider magnet position. To make multiple positions\n magnets C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |\n ELM_ACTIONSLIDER_RIGHT})\n\n @type: Elm_Actionslider_Pos\n\n ";
+ static char __pyx_k_575[] = "The actionslider enabled position. To set multiple positions as\n enabled C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |\n ELM_ACTIONSLIDER_RIGHT}).\n\n @note: All the positions are enabled by default.\n\n @type: Elm_Actionslider_Pos\n\n ";
+ static char __pyx_k_576[] = "The weekdays' names to be displayed by the calendar.\n\n By default, weekdays abbreviations get from system are displayed:\n E.g. for an en_US locale: \"Sun, Mon, Tue, Wed, Thu, Fri, Sat\"\n\n The first string should be related to Sunday, the second to Monday...\n\n The usage should be like this::\n weekdays =\n (\n \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\",\n \"Thursday\", \"Friday\", \"Saturday\"\n )\n calendar.weekdays_names = weekdays\n\n @type: tuple of strings\n @warning: It must have 7 elements, or it will access invalid memory.\n\n ";
+ static char __pyx_k_577[] = "The minimum and maximum values for the year\n\n Maximum must be greater than minimum, except if you don't want to set\n maximum year.\n Default values are 1902 and -1.\n\n If the maximum year is a negative value, it will be limited depending\n on the platform architecture (year 2037 for 32 bits)\n\n @see: L{min_max_year_get()}\n\n @type: tuple of ints\n\n ";
+ static char __pyx_k_578[] = "The day selection mode used.\n\n @type: Elm_Calendar_Select_Mode\n\n ";
+ static char __pyx_k_579[] = "Selected date on the calendar.\n\n Setting this changes the displayed month if needed.\n Selected date changes when the user goes to next/previous month or\n select a day pressing over it on calendar.\n\n @type: datetime.date\n\n ";
+ static char __pyx_k_580[] = "Calendar marks.\n\n @type: tuple of L{CalendarMark}s\n\n ";
+ static char __pyx_k_581[] = "Set the interval on time updates for an user mouse button hold\n on calendar widgets' month selection.\n\n This interval value is B{decreased} while the user holds the\n mouse pointer either selecting next or previous month.\n\n This helps the user to get to a given month distant from the\n current one easier/faster, as it will start to change quicker and\n quicker on mouse button holds.\n\n The calculation for the next change interval value, starting from\n the one set with this call, is the previous interval divided by\n 1.05, so it decreases a little bit.\n\n The default starting interval value for automatic changes is\n B{0.85} seconds.\n\n @type: float\n\n ";
+ static char __pyx_k_582[] = "The first day of week to use on the calendar widget.\n\n @type: int\n\n ";
+ static char __pyx_k_583[] = "The palette item's color.\n\n @type: tuple of ints\n\n ";
+ static char __pyx_k_584[] = "The current color (r, g, b, a).\n\n @type: tuple of ints\n\n ";
+ static char __pyx_k_585[] = "Colorselector's mode.\n\n Colorselector supports three modes palette only, selector only and both.\n\n @type: Elm_Colorselector_Mode\n\n ";
+ static char __pyx_k_586[] = "The current palette's name\n\n When colorpalette name is set, colors will be loaded from and saved\n to config using the set name. If no name is set then colors will be\n loaded from or saved to \"default\" config.\n\n @type: string\n\n ";
+ static char __pyx_k_587[] = "Set the selected state of an item.\n\n This sets the selected state of the given item.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n Previously selected item can be get with function\n L{Index.selected_item_get()}.\n\n Selected items will be highlighted.\n\n @see: L{Index.selected_item_get()}\n\n @type: bool\n\n ";
+ static char __pyx_k_588[] = "Get the letter (string) set on a given index widget item.\n\n @type: string\n\n ";
+ static char __pyx_k_589[] = "Enable or disable auto hiding feature for a given index widget.\n\n @type: bool\n\n ";
+ static char __pyx_k_590[] = "The items level for a given index widget.\n\n C{0} or C{1}, the currently implemented levels.\n\n @type: int\n\n ";
+ static char __pyx_k_591[] = "Whether the indicator is disabled or not.\n\n In Index widget, Indicator notes popup text, which shows a letter has been selecting.\n\n @type: bool\n\n ";
+ static char __pyx_k_592[] = "Enable or disable horizontal mode on the index object\n\n In horizontal mode items are displayed on index from left to right,\n instead of from top to bottom. Also, the index will scroll\n horizontally. It's an area one C{finger} wide on the bottom side of\n the index widget's container.\n\n @note: Vertical mode is set by default.\n\n @type: bool\n\n ";
+ static char __pyx_k_593[] = "Ctxpopup's parent\n\n @type: L{Object}\n\n ";
+ static char __pyx_k_594[] = "Ctxpopup objects orientation.\n\n @type: bool\n\n ";
+ static char __pyx_k_595[] = "The direction priority order of a ctxpopup.\n\n This functions gives a chance to user to set the priority of ctxpopup\n showing direction. This doesn't guarantee the ctxpopup will appear\n in the requested direction.\n\n @type: tuple of Elm_Ctxpopup_Direction\n\n ";
+ static char __pyx_k_596[] = "Get the current direction of a ctxpopup.\n\n @warning: Only once the ctxpopup is shown can the direction be\n determined\n\n @type: Elm_Ctxpopup_Direction\n\n ";
+ static char __pyx_k_597[] = "The virtual size (width and height) of the grid.\n\n @type: tuple of Evas_Coords (int)\n\n ";
+ static char __pyx_k_598[] = "Get the list of the children for the grid.\n\n @type: tuple of L{Object}s\n\n ";
+ static char __pyx_k_599[] = "Define the file or URI that will be the video source.\n\n Setting this property will explicitly define a file or URI as a source\n for the video of the Elm_Video object.\n\n Local files can be specified using file:// or by using full file\n paths. URI could be remote source of video, like http:// or\n local source like WebCam (v4l2://). (You can use Emotion API to\n request and list the available Webcam on your system).\n\n @type: string\n\n ";
+ static char __pyx_k_600[] = "The underlying Emotion object.\n\n @type: emotion.Object\n\n ";
+ static char __pyx_k_601[] = "Is the video actually playing.\n\n You should consider watching event on the object instead of polling\n the object state.\n\n @type: bool\n\n ";
+ static char __pyx_k_602[] = "Is it possible to seek inside the video.\n\n @type: bool\n\n ";
+ static char __pyx_k_603[] = "Is the audio muted.\n\n @type: bool\n\n ";
+ static char __pyx_k_604[] = "The audio level of the current video.\n\n @type: float\n\n ";
+ static char __pyx_k_605[] = "Get the current position (in seconds) being played in the Video\n object.\n\n @type: float\n\n ";
+ static char __pyx_k_606[] = "The total playing time (in seconds) of the Video object.\n\n @type: float\n\n ";
+ static char __pyx_k_607[] = "Whether the object can remember the last played position.\n\n @note: This API only serves as indication. System support is required.\n\n @type: bool\n\n ";
+ static char __pyx_k_608[] = "The title (for instance DVD title) from this emotion object.\n\n This property is only useful when playing a DVD.\n\n @note: Don't change or free the string returned by this function.\n\n @type: string\n\n ";
+ static char __pyx_k_609[] = "The starting day of Dayselector.\n\n @type: Elm_Dayselector_Day\n\n @see: Elm_Dayselector_Day\n @see: L{week_start_get()}\n\n ";
+ static char __pyx_k_610[] = "The weekend starting day of Dayselector.\n\n @type: Elm_Dayselector_Day\n\n @see: Elm_Dayselector_Day\n @see: L{weekend_start_get()}\n\n ";
+ static char __pyx_k_611[] = "The weekend length of Dayselector.\n\n @type: int\n\n @see: L{weekend_length_get()}\n\n ";
+ static char __pyx_k_612[] = "Whether the left and right panes resize homogeneously or not.\n\n By default panes are resized homogeneously.\n\n @see: L{content_left_size}\n @see: L{content_right_size}\n\n @type: bool\n\n ";
+ static char __pyx_k_613[] = "The size proportion of panes widget's left side.\n\n By default it's homogeneous, i.e., both sides have the same size.\n\n If something different is required, it can be set with this property.\n For example, if the left content should be displayed over\n 75% of the panes size, C{size} should be passed as C{0.75}.\n This way, right content will be resized to 25% of panes size.\n\n If displayed vertically, left content is displayed at top, and\n right content at bottom.\n\n @note: This proportion will change when user drags the panes bar.\n\n @type: float\n\n ";
+ static char __pyx_k_614[] = "The size proportion of panes widget's right side.\n\n By default it's homogeneous, i.e., both sides have the same size.\n\n If something different is required, it can be set with this property.\n For example, if the right content should be displayed over\n 75% of the panes size, C{size} should be passed as C{0.75.}\n This way, left content will be resized to 25% of panes size.\n\n If displayed vertically, left content is displayed at top, and\n right content at bottom.\n\n @note: This proportion will change when user drags the panes bar.\n\n @type: float\n\n ";
+ static char __pyx_k_615[] = "The orientation of a given panes widget.\n\n Use this property to change how your panes is to be disposed:\n vertically or horizontally.\n\n By default it's displayed horizontally.\n\n @type: bool\n\n ";
+ static char __pyx_k_616[] = "The file that will be used as thumbnail B{source}.\n\n The file can be an image or a video (in that case, acceptable\n extensions are: avi, mp4, ogv, mov, mpg and wmv). To start the\n video animation, use the function L{animate()}.\n\n @see: L{reload()}\n @see: L{animate()}\n\n @type: string or tuple(string file, optional string eet_key)\n\n ";
+ static char __pyx_k_617[] = "Get the path and key to the image or video thumbnail generated by\n ethumb.\n\n One just needs to make sure that the thumbnail was generated before\n getting its path; otherwise, the path will be None. One way to do\n that is by asking for the path when/after the \"generate,stop\" smart\n callback is called.\n\n @see: L{file}\n\n @type: (string path, string eet_key)\n\n ";
+ static char __pyx_k_618[] = "Set the animation state for the thumb object. If its content is\n an animated video, you may start/stop the animation or tell it to\n play continuously and looping.\n\n @see: L{file}\n\n @type: Elm_Thumb_Animation_Setting\n\n ";
+ static char __pyx_k_619[] = "Make the thumbnail 'editable'.\n\n This means the thumbnail is a valid drag target for drag and drop,\n and can be cut or pasted too.\n\n @type: bool\n\n ";
+ static char __pyx_k_620[] = "The selected state of an item.\n\n This sets the selected state of the given item.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n Previously selected item can be fetched from the property\n L{Diskselector.selected_item}.\n\n If the item is unselected, the first item of diskselector will\n be selected.\n\n Selected items will be visible on center position of diskselector.\n So if it was on another position before selected, or was invisible,\n diskselector will animate items until the selected item reaches center\n position.\n\n @see: L{Diskselector.selected_item}\n\n @type: bool\n\n ";
+ static char __pyx_k_621[] = "Get the item before C{item} in diskselector.\n\n The list of items follows append order. So it will return item appended\n just before C{item} and that wasn't deleted.\n\n If it is the first item, C{None} will be returned.\n First item can be get by L{Diskselector.first_item}.\n\n @see: L{Diskselector.item_append()}\n @see: L{Diskselector.items}\n\n @type: DiskselectorItem\n\n ";
+ static char __pyx_k_622[] = "Get the item after C{item} in diskselector.\n\n The list of items follows append order. So it will return item appended\n just after C{item} and that wasn't deleted.\n\n If it is the last item, C{None} will be returned.\n Last item can be get by elm_diskselector_last_item_get().\n\n @see: L{Diskselector.item_append()}\n @see: L{Diskselector.items}\n\n @type: DiskselectorItem\n\n ";
+ static char __pyx_k_623[] = "Enable or disable round mode.\n\n Disabled by default. If round mode is enabled the items list will\n work like a circular list, so when the user reaches the last item,\n the first one will popup.\n\n @type: bool\n\n ";
+ static char __pyx_k_624[] = "The side labels max length.\n\n Length is the number of characters of items' label that will be\n visible when it's set on side positions. It will just crop\n the string after defined size. E.g.:\n\n An item with label \"January\" would be displayed on side position as\n \"Jan\" if max length is set to 3, or \"Janu\", if this property\n is set to 4.\n\n When it's selected, the entire label will be displayed, except for\n width restrictions. In this case label will be cropped and \"...\"\n will be concatenated.\n\n Default side label max length is 3.\n\n This property will be applied over all items, included before or\n later this function call.\n\n @type: int\n\n ";
+ static char __pyx_k_625[] = "The number of items to be displayed.\n\n Default value is 3, and also it's the minimum. If C{num} is less\n than 3, it will be set to 3.\n\n Also, it can be set on theme, using data item C{display_item_num}\n on group \"elm/diskselector/item/X\", where X is style set.\n E.g.::\n group { name: \"elm/diskselector/item/X\";\n data {\n item: \"display_item_num\" \"5\";\n }\n\n @type: int\n\n ";
+ static char __pyx_k_626[] = "Bouncing behaviour when the scrolled content reaches an edge.\n\n Tell the internal scroller object whether it should bounce or not\n when it reaches the respective edges for each axis.\n\n @see: L{Scroller.bounce}\n\n @type: (bool h_bounce, bool v_bounce)\n\n ";
+ static char __pyx_k_627[] = "The scrollbar policy.\n\n This sets the scrollbar visibility policy for the given scroller.\n ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it\n is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns\n it on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.\n This applies respectively for the horizontal and vertical scrollbars.\n\n Both are disabled by default, i.e., are set to ELM_SCROLLER_POLICY_OFF.\n\n @type: tuple of Elm_Scroller_Policy\n\n ";
+ static char __pyx_k_628[] = "Get a list of all the diskselector items.\n\n @see: L{item_append()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n\n @type: list of L{DiskselectorItem}s\n\n ";
+ static char __pyx_k_629[] = "Get the selected item.\n\n The selected item can be unselected with function\n L{DiskselectorItem.selected}, and the first item of diskselector\n will be selected.\n\n The selected item always will be centered on diskselector, with full\n label displayed, i.e., max length set to side labels won't apply on\n the selected item. More details on\n L{side_text_max_length}.\n\n @type: L{DiskselectorItem}\n\n ";
+ static char __pyx_k_630[] = "Get the first item of the diskselector.\n\n The list of items follows append order. So it will return the first\n item appended to the widget that wasn't deleted.\n\n @see: L{item_append()}\n @see: L{items}\n\n @type: L{DiskselectorItem}\n\n ";
+ static char __pyx_k_631[] = "Get the last item of the diskselector.\n\n The list of items follows append order. So it will return last first\n item appended to the widget that wasn't deleted.\n\n @see: L{item_append()}\n @see: L{items}\n\n @type: L{DiskselectorItem}\n\n ";
+ static char __pyx_k_632[] = "The datetime format. Format is a combination of allowed Libc date format\n specifiers like: \"%b %d, %Y %I : %M %p\".\n\n Maximum allowed format length is 64 chars.\n\n Format can include separators for each individual datetime field except\n for AM/PM field.\n\n Each separator can be a maximum of 6 UTF-8 bytes.\n Space is also taken as a separator.\n\n Following are the allowed set of format specifiers for each datetime field.\n\n B{%%Y} : The year as a decimal number including the century.\n\n B{%%y} : The year as a decimal number without a century (range 00 to 99).\n\n B{%%m} : The month as a decimal number (range 01 to 12).\n\n B{%%b} : The abbreviated month name according to the current locale.\n\n B{%%B} : The full month name according to the current locale.\n\n B{%%h} : The abbreviated month name according to the current locale(same as %%b).\n\n B{%%d} : The day of the month as a decimal number (range 01 to 31).\n\n B{%%e} : The day of the month as a decimal number (range 1 to 31). single\n digits are preceded by a blank.\n\n B{%%I} : The hour as a decimal number using a 12-hour clock (range 01 to 12).\n\n B{%%H} : The hour as a decimal number using a 24-hour clock (range 00 to 23).\n\n B{%%k} : The hour (24-hour clock) as a decimal number (range 0 to 23). single\n digits are preceded by a blank.\n\n B{%%l} : The hour (12-hour clock) as a decimal number (range 1 to 12); single\n digits are preceded by a blank.\n\n B{%%M} : The minute as a decimal number (range 00 to 59).\n\n B{%%p} : Either 'AM' or 'PM' according to the given time value, or the\n corresponding strings for the current locale. Noon is treated as 'PM'\n and midnight as 'AM'.\n\n B{%%P} : Like %p but in lower case: 'am' or 'pm' or a corresponding string for\n the current loc""ale.\n\n B{%%c} : The preferred date and time representation for the current locale.\n\n B{%%x} : The preferred date representation for the current locale without the time.\n\n B{%%X} : The preferred time representation for the current locale without the date.\n\n B{%%r} : The complete calendar time using the AM/PM format of the current locale.\n\n B{%%R} : The hour and minute in decimal numbers using the format %H:%M.\n\n B{%%T} : The time of day in decimal numbers using the format %H:%M:%S.\n\n B{%%D} : The date using the format %%m/%%d/%%y.\n\n B{%%F} : The date using the format %%Y-%%m-%%d.\n\n These specifiers can be arranged in any order and the widget will display the\n fields accordingly.\n\n Default format is taken as per the system locale settings.\n\n @type: string\n\n ";
+ static char __pyx_k_633[] = "The upper boundary of a field.\n\n Year: years since 1900. Negative value represents year below 1900 (year\n value -30 represents 1870). Year default range is from 70 to 137.\n\n Month: default value range is from 0 to 11.\n\n Date: default value range is from 1 to 31 according to the month value.\n\n Hour: default value will be in terms of 24 hr format (0~23)\n\n Minute: default value range is from 0 to 59.\n\n @type: datetime.datetime\n\n ";
+ static char __pyx_k_634[] = "The lower boundary of a field.\n\n Year: years since 1900. Negative value represents year below 1900 (year\n value -30 represents 1870). Year default range is from 70 to 137.\n\n Month: default value range is from 0 to 11.\n\n Date: default value range is from 1 to 31 according to the month value.\n\n Hour: default value will be in terms of 24 hr format (0~23)\n\n Minute: default value range is from 0 to 59.\n\n @type: datetime.datetime\n\n ";
+ static char __pyx_k_635[] = "The field limits of a field.\n\n Limits can be set to individual fields, independently, except for AM/PM field.\n Any field can display the values only in between these Minimum and Maximum limits unless\n the corresponding time value is restricted from MinTime to MaxTime.\n That is, Min/ Max field limits always works under the limitations of MinTime/ MaxTime.\n\n There is no provision to set the limits of AM/PM field.\n\n Type of the field. ELM_DATETIME_YEAR etc.\n Reference to field's minimum value\n Reference to field's maximum value\n\n type: (Elm_Datetime_Field_Type, int, int)\n\n ";
+ static char __pyx_k_636[] = "The current value of a field.\n\n Year: years since 1900. Negative value represents year below 1900 (year\n value -30 represents 1870). Year default range is from 70 to 137.\n\n Month: default value range is from 0 to 11.\n\n Date: default value range is from 1 to 31 according to the month value.\n\n Hour: default value will be in terms of 24 hr format (0~23)\n\n Minute: default value range is from 0 to 59.\n\n @type: tm\n\n ";
+ static char __pyx_k_637[] = "The enabled state of the map.\n\n @type: bool\n\n ";
+ static char __pyx_k_638[] = "Smooth map rendering.\n\n This sets smoothing for map rendering. If the object is a type that has\n its own smoothing settings, then both the smooth settings for this object\n and the map must be turned off.\n\n By default smooth maps are enabled.\n\n @type: bool\n\n ";
+ static char __pyx_k_639[] = "The alpha state of the map.\n\n @type: bool\n\n ";
+ static char __pyx_k_640[] = "The Entry object child of the multibuttonentry.\n\n @type: Entry\n\n ";
+ static char __pyx_k_641[] = "The expanded state of the multibuttonentry.\n\n @type: bool\n\n ";
+ static char __pyx_k_642[] = "The objects of the transit.\n\n type: list\n\n ";
+ static char __pyx_k_643[] = "Enable/disable keeping up the objects states.\n\n If it is not kept, the objects states will be reset when transition\n ends.\n\n @note: One state includes geometry, color, map data.\n\n @type: bool\n\n ";
+ static char __pyx_k_644[] = "Set the event enabled when transit is operating.\n\n If C{enabled} is True, the objects of the transit will receive\n events from mouse and keyboard during the animation.\n\n @note: When you add an object with L{object_add()}, its\n state from evas_object_freeze_events_get(obj) is saved, and it is\n applied when the transit ends. If you change this state with\n evas_object_freeze_events_set() after adding the object, this state\n will change again when C{transit} stops to run.\n\n @type: bool\n\n ";
+ static char __pyx_k_645[] = "If auto reverse is set, after running the effects with the\n progress parameter from 0 to 1, it will call the effects again with\n the progress from 1 to 0.\n\n The transit will last for a time equal to (2 * duration * repeat),\n where the duration was set with the function elm_transit_add and\n the repeat with the function L{repeat_times_set()}.\n\n @type: bool\n\n ";
+ static char __pyx_k_646[] = "The transit repeat count. Effect will be repeated by repeat count.\n\n This property reflects the number of repetition the transit will run\n after the first one, i.e., if C{repeat} is 1, the transit will run 2\n times. If the C{repeat} is a negative number, it will repeat\n infinite times.\n\n @note: If this function is called during the transit execution, the\n transit will run C{repeat} times, ignoring the times it already\n performed.\n\n @type: int\n\n ";
+ static char __pyx_k_647[] = "The transit animation acceleration type.\n\n This property reflects the tween mode of the transit that can be:\n - ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.\n - ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode\n and ends decelerating.\n - ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be\n slowed over time.\n - ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will\n accelerate over time.\n\n @type: Elm_Transit_Tween_Mode\n\n ";
+ static char __pyx_k_648[] = "Set the transit animation time\n\n @type: float\n\n ";
+ static char __pyx_k_649[] = "Pause/Resume the transition.\n\n If you call elm_transit_go again, the transit will be started from the\n beginning, and will be played.\n\n @type: bool\n\n ";
+ static char __pyx_k_650[] = "Get the time progression of the animation (a double value between\n 0.0 and 1.0).\n\n The value returned is a fraction (current time / total time). It\n represents the progression position relative to the total.\n\n @type: float\n\n ";
+ static char __pyx_k_651[] = "Get the current chain transit list.\n\n @type: list\n\n ";
+ static char __pyx_k_652[] = "Get the real Evas object created to implement the view of a given\n slideshow item.\n\n This returns the actual Evas object used to implement the specified\n slideshow item's view. This may be C{None}, as it may not have been\n created or may have been deleted, at any time, by the slideshow.\n B{Do not modify this object} (move, resize, show, hide, etc.), as\n the slideshow is controlling it. This function is for querying,\n emitting custom signals or hooking lower level callbacks for events\n on that object. Do not delete this object under any circumstances.\n\n @see: L{ObjectItem.data}\n\n @type: L{Slideshow}\n\n ";
+ static char __pyx_k_653[] = "Returns the list of sliding transition/effect names available,\n for a given slideshow widget.\n\n The transitions, which come from the objects theme, must be an EDC\n data item named C{\"transitions\"} on the theme file, with (prefix)\n names of EDC programs actually implementing them.\n\n The available transitions for slideshows on the default theme are:\n - C{\"fade\"} - the current item fades out, while the new one\n fades in to the slideshow's viewport.\n - C{\"black_fade\"} - the current item fades to black, and just\n then, the new item will fade in.\n - C{\"horizontal\"} - the current item slides horizontally, until\n it gets out of the slideshow's viewport, while the new item\n comes from the left to take its place.\n - C{\"vertical\"} - the current item slides vertically, until it\n gets out of the slideshow's viewport, while the new item comes\n from the bottom to take its place.\n - C{\"square\"} - the new item starts to appear from the middle of\n the current one, but with a tiny size, growing until its\n target (full) size and covering the old one.\n\n @see: L{transition}\n\n @type: tuple of strings\n\n ";
+ static char __pyx_k_654[] = "The slide transition/effect in use for a given slideshow widget\n\n If C{transition} is implemented in C{obj's} theme (i.e., is\n contained in the list returned by L{transitions}), this new sliding\n effect will be used on the widget.\n\n @type: string\n\n ";
+ static char __pyx_k_655[] = "The interval between each image transition on a given\n slideshow widget, B{and start the slideshow, itself}\n\n After setting this, the slideshow widget will start cycling its\n view, sequentially and automatically, with the images of the\n items it has. The time between each new image displayed is going\n to be C{timeout} in B{seconds}. If a different timeout was set\n previously and an slideshow was in progress, it will continue\n with the new time between transitions, after this call.\n\n @note: A value less than or equal to 0 on C{timeout} will disable\n the widget's internal timer, thus halting any slideshow which\n could be happening on C{obj}.\n\n @type: float\n\n ";
+ static char __pyx_k_656[] = "If, after a slideshow is started, for a given slideshow\n widget, its items should be displayed cyclically or not.\n\n @note: L{next()} and L{previous()} will\n B{ignore} what is set by this property, i.e., they'll B{always}\n cycle through items. This affects only the \"automatic\"\n slideshow, as set by L{timeout}.\n\n @type: bool\n\n ";
+ static char __pyx_k_657[] = "Get the internal list of items in a given slideshow widget.\n\n This list is B{not} to be modified in any way and must not be\n freed. Use the list members with functions like\n L{ObjectItem.delete()}, L{ObjectItem.data}.\n\n @warning: This list is only valid until C{obj} object's internal\n items list is changed. It should be fetched again with another\n call to this function when changes happen.\n\n @type: tuple of L{SlideshowItem}s\n\n ";
+ static char __pyx_k_658[] = "The currently displayed item, in a given slideshow widget\n\n @type: L{SlideshowItem}\n\n ";
+ static char __pyx_k_659[] = "The current slide layout in use for a given slideshow widget\n\n If C{layout} is implemented in C{obj's} theme (i.e., is contained\n in the list returned by elm_slideshow_layouts_get()), this new\n images layout will be used on the widget.\n\n @type: string\n\n ";
+ static char __pyx_k_660[] = "Returns the list of B{layout} names available, for a given\n slideshow widget.\n\n Slideshow layouts will change how the widget is to dispose each\n image item in its viewport, with regard to cropping, scaling,\n etc.\n\n The layouts, which come from the object theme, must be an EDC\n data item name C{\"layouts\"} on the theme file, with (prefix)\n names of EDC programs actually implementing them.\n\n The available layouts for slideshows on the default theme are:\n - C{\"fullscreen\"} - item images with original aspect, scaled to\n touch top and down slideshow borders or, if the image's height\n is not enough, left and right slideshow borders.\n - C{\"not_fullscreen\"} - the same behavior as the C{\"fullscreen\"}\n one, but always leaving 10% of the slideshow's dimensions of\n distance between the item image's borders and the slideshow\n borders, for each axis.\n\n @see: L{layout}\n\n @type: tuple of strings\n\n ";
+ static char __pyx_k_661[] = "The number of items to cache, on a given slideshow widget,\n B{before the current item}\n\n The default value for this property is C{2}. See\n L{Slideshow_Caching} \"slideshow caching\" for more details.\n\n @type: int\n\n ";
+ static char __pyx_k_662[] = "The number of items to cache, on a given slideshow widget,\n B{after the current item}\n\n The default value for this property is C{2.} See\n L{Slideshow_Caching} \"slideshow caching\" for more details.\n\n @see: L{cache_after_get()}\n\n @type: int\n\n ";
+ static char __pyx_k_663[] = "Get the number of items stored in a given slideshow widget\n\n @type: int\n\n ";
+ static char __pyx_k_664[] = "Get the index of an item.\n\n Index is the position of an item in segment control widget. Its\n range is from C{0} to <tt> count - 1 </tt>.\n Count is the number of items, that can be get with\n elm_segment_control_item_count_get().\n\n @type: int\n\n ";
+ static char __pyx_k_665[] = "Get the base object of the item.\n\n @type: L{SegmentControl}\n\n ";
+ static char __pyx_k_666[] = "Set the selected state of an item.\n\n This sets the selected state of the given item C{it}.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n\n The selected item always will be highlighted on segment control.\n\n @see: L{SegmentControl.item_selected}\n\n @type: bool\n\n ";
+ static char __pyx_k_667[] = "Get the Segment items count from segment control.\n\n It will just return the number of items added to the segment control.\n\n @type: int\n\n ";
+ static char __pyx_k_668[] = "Get the selected item.\n\n The selected item can be unselected with function\n elm_segment_control_item_selected_set().\n\n The selected item always will be highlighted on segment control.\n\n @type: L{SegmentControlItem}\n\n ";
+ static char __pyx_k_669[] = "Sets the wrapping type of content text packed in content\n area of popup object.\n\n @type: Elm_Wrap_Type\n\n ";
+ static char __pyx_k_670[] = "Sets the orientation of the popup in the parent region\n\n Sets the position in which popup will appear in its parent\n\n @type: Elm_Popup_Orient\n\n ";
+ static char __pyx_k_671[] = "A timeout to hide popup automatically\n\n Setting this starts the timer controlling when the popup is hidden.\n Since calling evas_object_show() on a popup restarts the timer\n controlling when it is hidden, setting this before the popup is\n shown will in effect mean starting the timer when the popup is\n shown. Smart signal \"timeout\" is called afterwards which can be\n handled if needed.\n\n @note: Set a value <= 0.0 to disable a running timer.\n\n @note: If the value > 0.0 and the popup is previously visible, the\n timer will be started with this value, canceling any running timer.\n\n @type: float\n\n ";
+ static char __pyx_k_672[] = "Whether events should be passed to by a click outside.\n\n Enabling allow event will remove the Blocked event area and events will\n pass to the lower layer objects otherwise they are blocked.\n\n @note: The default value is False.\n\n @type: bool\n\n ";
+ static char __pyx_k_673[] = "Get the basic Evas_Image object from this object (widget).\n\n This function allows one to get the underlying C{Object} of type\n Image from this elementary widget. It can be useful to do things\n like get the pixel data, save the image to a file, etc.\n\n @note: Be careful to not manipulate it, as it is under control of\n elementary.\n\n @type: L{Object}\n\n ";
+ static char __pyx_k_674[] = "The photo file to be shown\n\n This sets (and shows) the specified file (with a relative or absolute\n path) and will return a load error (same error that\n evas_object_image_load_error_get() will return). The image will\n change and adjust its size at this point and begin a background load\n process for this photo that at some time in the future will be\n displayed at the full quality needed.\n\n @type: string\n\n ";
+ static char __pyx_k_675[] = "The zoom level of the photo\n\n This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be\n 2:1 (that is 2x2 photo pixels will display as 1 on-screen pixel).\n 4:1 will be 4x4 photo pixels as 1 screen pixel, and so on. The\n parameter must be greater than 0. It is suggested to stick to powers\n of 2. (1, 2, 4, 8, 16, 32, etc.).\n\n @type: float\n\n ";
+ static char __pyx_k_676[] = "Set the zoom mode\n\n This sets the zoom mode to manual or one of several automatic levels.\n Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set\n manually by L{zoom} and will stay at that level until changed by\n code or until zoom mode is changed. This is the default mode. The\n Automatic modes will allow the photocam object to automatically\n adjust zoom mode based on properties.\n ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so the photo fits\n EXACTLY inside the scroll frame with no pixels outside this region.\n ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no\n pixels within the frame are left unfilled.\n\n @type: Elm_Photocam_Zoom_Mode\n\n ";
+ static char __pyx_k_677[] = "Get the current image pixel width and height\n\n This gets the current photo pixel width and height (for the\n original). The size will be returned in the integers @C{w} and @C{h}\n that are pointed to.\n\n @type: tuple of ints\n\n ";
+ static char __pyx_k_678[] = "Get the region of the image that is currently shown\n\n @see: L{image_region_show()}\n @see: L{image_region_bring_in()}\n\n @type: tuple of ints\n\n ";
+ static char __pyx_k_679[] = "Set the paused state for photocam\n\n This sets the paused state to on (True) or off (False) for photocam.\n The default is off. This will stop zooming using animation on zoom\n level changes and change instantly. This will stop any existing\n animations that are running.\n\n @type: bool\n\n ";
+ static char __pyx_k_680[] = "Get the internal low-res image used for photocam\n\n This gets the internal image object inside photocam. Do not modify\n it. It is for inspection only, and hooking callbacks to. Nothing\n else. It may be deleted at any time as well.\n\n @type: evasImage\n\n ";
+ static char __pyx_k_681[] = "Photocam scrolling bouncing.\n\n @type: tuple of bools\n\n ";
+ static char __pyx_k_682[] = "Set the gesture state for photocam.\n\n This sets the gesture state to on (True) or off (False) for\n photocam. The default is off. This will start multi touch zooming.\n\n @type: bool\n\n ";
+ static char __pyx_k_683[] = "Set whether a given flip selector widget's item should be the\n currently selected one.\n\n This sets whether C{item} is or not the selected (thus, under\n display) one. If C{item} is different than the one under display,\n the latter will be unselected. If the C{item} is set to be\n unselected, on the other hand, the B{first} item in the widget's\n internal members list will be the new selected one.\n\n @type: bool\n\n ";
+ static char __pyx_k_684[] = "Gets the item before C{item} in a flip selector widget's internal list of\n items.\n\n @type: L{FlipSelectorItem}\n\n @see: L{item_next_get}()\n\n ";
+ static char __pyx_k_685[] = "Gets the item after C{item} in a flip selector widget's\n internal list of items.\n\n @type: L{FlipSelectorItem}\n\n @see: L{item_prev_get}()\n\n ";
+ static char __pyx_k_686[] = "Get the internal list of items in a given flip selector widget.\n\n This list is B{not} to be modified in any way and must not be\n freed. Use the list members with functions like\n elm_object_item_text_set(),\n elm_object_item_text_get(),\n elm_object_item_del(),\n elm_flipselector_item_selected_get(),\n elm_flipselector_item_selected_set().\n\n @warning: This list is only valid until C{obj} object's internal\n items list is changed. It should be fetched again with another\n call to this function when changes happen.\n\n @type: tuple of L{FlipSelectorItem}s\n\n ";
+ static char __pyx_k_687[] = "Get the first item in the given flip selector widget's list of\n items.\n\n @see: L{item_append}()\n @see: L{last_item}\n\n @type: L{FlipSelectorItem}\n\n ";
+ static char __pyx_k_688[] = "Get the last item in the given flip selector widget's list of\n items.\n\n @see: L{item_prepend()}\n @see: L{first_item}\n\n @type: L{FlipSelectorItem}\n\n ";
+ static char __pyx_k_689[] = "Get the currently selected item in a flip selector widget.\n\n @type: L{FlipSelectorItem}\n\n ";
+ static char __pyx_k_690[] = "The interval on time updates for a user mouse button hold on a\n flip selector widget.\n\n This interval value is B{decreased} while the user holds the\n mouse pointer either flipping up or flipping down a given flip\n selector.\n\n This helps the user to get to a given item distant from the\n current one easier/faster, as it will start to flip quicker and\n quicker on mouse button holds.\n\n The calculation for the next flip interval value, starting from\n the one set with this call, is the previous interval divided by\n 1.05, so it decreases a little bit.\n\n The default starting interval value for automatic flips is\n B{0}.85 seconds.\n\n @type: float\n\n ";
+ static char __pyx_k_691[] = "\nWhat is Elementary?\n===================\n\nThis is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop\napplications (yet). Small simple ones with simple needs.\n\nIt is meant to make the programmers work almost brainless but give them lots\nof flexibility.\n\nTo write an Elementary app, you can get started with the following::\n\n from elementary import *\n\n # create window(s) here and do any application init\n run() # run main loop\n shutdown() # after mainloop finishes running, shutdown\n\n\nThere is a more advanced way of making use of the quicklaunch infrastructure\nin Elementary (which will not be covered here due to its more advanced\nnature).\n\nNow let's actually create an interactive \"Hello World\" gui that you can\nclick the ok button to exit. It's more code because this now does something\nmuch more significant, but it's still very simple::\n\n from elementary import *\n\n def on_done(obj):\n # quit the mainloop\n exit()\n\n class Spam:\n def __init__(self):\n # new window - do the usual and give it a name (hello) and title (Hello)\n win = StandardWindow(\"hello\", \"Hello\")\n # when the user clicks \"close\" on a window there is a request to delete\n win.callback_delete_request_add(on_done)\n\n # add a box object - default is vertical. a box holds children in a row,\n # either horizontally or vertically. nothing more.\n box = Box(win)\n # make the box horizontal\n box.horizontal = True\n # add object as a resize object for the window (controls window minimum\n # size as well as gets resized if window is resized)\n win.resize_object_add(box)\n box.show()\n\n # add a label widget, set the text and put it in the pad frame\n lab = Label(win)\n # set default text of the label\n lab.text_set(\"Hello out there wo""rld!\")\n # pack the label at the end of the box\n box.pack_end(lab)\n lab.show()\n\n # add an ok button\n btn = Button(win)\n # set default text of button to \"OK\"\n btn.text_set(\"OK\")\n # pack the button at the end of the box\n box.pack_end(btn)\n btn.show()\n # call on_done when button is clicked\n btn.callback_clicked_add(on_done)\n\n # now we are done, show the window\n win.show()\n\n if __name__ == \"__main__\":\n food = Spam()\n # run the mainloop and process events and callbacks\n run()\n shutdown()\n\n\nAcknowledgements\n================\n\nThere is a lot that goes into making a widget set, and they don't happen out\nof nothing. It's like trying to make everyone everywhere happy, regardless\nof age, gender, race or nationality - and that is really tough. So thanks to\npeople and organizations behind this, as listed below:\n\n@copyright: Elementary is Copyright (C) 2008-2012 Carsten Haitzler and various contributors (see AUTHORS)\n\n@license: Elementary is licensed LGPL-2.1 (see its COPYING file), the python bindings LGPL-3\n\n@author: U{Carsten Haitzler<mailto:raster@rasterman.com>}\n@author: U{Gustavo Sverzut Barbieri<mailto:barbieri@profusion.mobi>}\n@author: U{Cedric Bail<mailto:cedric.bail@free.fr>}\n@author: U{Vincent Torri<mailto:vtorri@univ-evry.fr>}\n@author: U{Daniel Kolesa<mailto:quaker66@gmail.com>}\n@author: U{Jaime Thomas<mailto:avi.thomas@gmail.com>}\n@author: U{Swisscom<http://www.swisscom.ch/>}\n@author: U{Christopher Michael<mailto:devilhorns@comcast.net>}\n@author: U{Marco Trevisan (Trevi\303\261o)<mailto:mail@3v1n0.net>}\n@author: U{Michael Bouchaud<mailto:michael.bouchaud@gmail.com>}\n@author: U{Jonathan Atton (Watchwolf)<mailto:jonathan.atton@gmail.com>}\n@author: U{Brian Wang<mailto:brian.wang.0721@gmail.com>}\n@author: U{Mike Blumenkrantz (discomfito""r/zmike)<mailto:michael.blumenkrantz@gmail.com>}\n@author: Samsung Electronics tbd\n@author: Samsung SAIT tbd\n@author: U{Brett Nash<mailto:nash@nash.id.au>}\n@author: U{Bruno Dilly<mailto:bdilly@profusion.mobi>}\n@author: U{Rafael Fonseca<mailto:rfonseca@profusion.mobi>}\n@author: U{Chuneon Park<mailto:hermet@hermet.pe.kr>}\n@author: U{Woohyun Jung<mailto:wh0705.jung@samsung.com>}\n@author: U{Jaehwan Kim<mailto:jae.hwan.kim@samsung.com>}\n@author: U{Wonguk Jeong<mailto:wonguk.jeong@samsung.com>}\n@author: U{Leandro A. F. Pereira<mailto:leandro@profusion.mobi>}\n@author: U{Helen Fornazier<mailto:helen.fornazier@profusion.mobi>}\n@author: U{Gustavo Lima Chaves<mailto:glima@profusion.mobi>}\n@author: U{Fabiano Fid\303\252ncio<mailto:fidencio@profusion.mobi>}\n@author: U{Tiago Falc\303\243o<mailto:tiago@profusion.mobi>}\n@author: U{Otavio Pontes<mailto:otavio@profusion.mobi>}\n@author: U{Viktor Kojouharov<mailto:vkojouharov@gmail.com>}\n@author: U{Daniel Juyung Seo (SeoZ)<mailto:juyung.seo@samsung.com>} (U{alt<mailto:seojuyung2@gmail.com>})\n@author: U{Sangho Park <mailto:sangho.g.park@samsung.com>} (U{alt<mailto:gouache95@gmail.com>})\n@author: U{Rajeev Ranjan (Rajeev) <mailto:rajeev.r@samsung.com>} (U{alt<mailto:rajeev.jnnce@gmail.com>})\n@author: U{Seunggyun Kim <mailto:sgyun.kim@samsung.com>} (U{alt<mailto:tmdrbs@gmail.com>})\n@author: U{Sohyun Kim <mailto:anna1014.kim@samsung.com>} (U{alt<mailto:sohyun.anna@gmail.com>})\n@author: U{Jihoon Kim<mailto:jihoon48.kim@samsung.com>}\n@author: U{Jeonghyun Yun (arosis)<mailto:jh0506.yun@samsung.com>}\n@author: U{Tom Hacohen<mailto:tom@stosb.com>}\n@author: U{Aharon Hillel<mailto:a.hillel@samsung.com>}\n@author: U{Jonathan Atton (Watchwolf)<mailto:jonathan.atton@gmail.com>}\n@author: U{Shinwoo Kim<mailto:kimcinoo@gmail.com>}\n@author: U{Govindaraju SM <mailto:govi.sm@samsung.com>} (U{alt<mailto:govism@gmail.com>})\n@author: U{Prince Kumar Dubey <mailto:prince.dubey@samsung.com>} (U{alt<mailto:prince.dubey@gmail.com>})\n@aut""hor: U{Sung W. Park<mailto:sungwoo@gmail.com>}\n@author: U{Thierry el Borgi<mailto:thierry@substantiel.fr>}\n@author: U{Shilpa Singh <mailto:shilpa.singh@samsung.com>} (U{alt<mailto:shilpasingh.o@gmail.com>})\n@author: U{Chanwook Jung<mailto:joey.jung@samsung.com>}\n@author: U{Hyoyoung Chang<mailto:hyoyoung.chang@samsung.com>}\n@author: U{Guillaume \"Kuri\" Friloux<mailto:guillaume.friloux@asp64.com>}\n@author: U{Kim Yunhan<mailto:spbear@gmail.com>}\n@author: U{Bluezery<mailto:ohpowel@gmail.com>}\n@author: U{Nicolas Aguirre<mailto:aguirre.nicolas@gmail.com>}\n@author: U{Sanjeev BA<mailto:iamsanjeev@gmail.com>}\n@author: U{Hyunsil Park<mailto:hyunsil.park@samsung.com>}\n@author: U{Goun Lee<mailto:gouni.lee@samsung.com>}\n@author: U{Mikael Sans<mailto:sans.mikael@gmail.com>}\n@author: U{Doyoun Kang<mailto:doyoun.kang@samsung.com>}\n@author: U{M.V.K. Sumanth <mailto:sumanth.m@samsung.com>} (U{alt<mailto:mvksumanth@gmail.com>})\n@author: U{J\303\251r\303\264me Pinot<mailto:ngc891@gmail.com>}\n@author: U{Davide Andreoli (davemds)<mailto:dave@gurumeditation.it>}\n@author: U{Michal Pakula vel Rutka<mailto:m.pakula@samsung.com>}\n\n@contact: U{Enlightenment developer mailing list<mailto:enlightenment-devel@lists.sourceforge.net>}\n\n@group Infrastructure: Canvas, Configuration, ElementaryObjectMeta,\n EntryAnchor*, Object, Theme\n\n@group Widgets: Actionslider, Background, Box, Bubble, Button, Calendar,\n Check, Clock, Colorselector, Conformant, Ctxpopup, Dayselector,\n Diskselector, Entry, Fileselector*, Flip, Frame, Gengrid, Genlist, Grid,\n Hover, Hoversel, Icon, Image, Index, InnerWindow, Label, Layout, List,\n Map, Mapbuf, Menu, MultiButtonEntry, Naviframe, Notify, Panel, Panes,\n Photo, Photocam, Player, Plug, Popup, Progressbar, Radio, Scroller,\n SegmentControl, Separator, Slider, Slideshow, Spinner, StandardWindow,\n Table, Thumb, Toolbar, Transit, Video, Web, Window\n\n@group Widgets' items: *Item, *ItemClass, CalendarMark, MapName,\n Ma""pOverlay*, MapRoute\n\n";
+ static char __pyx_k_692[] = "evas.c_evas";
+ static char __pyx_k_696[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx";
+ static char __pyx_k_697[] = "elementary.c_elementary";
+ static char __pyx_k_707[] = "coords_finger_size_adjust";
+ static char __pyx_k_712[] = "ElementaryObjectMeta";
+ static char __pyx_k_714[] = "config_finger_size_get";
+ static char __pyx_k_715[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi";
+ static char __pyx_k_718[] = "config_finger_size_set";
+ static char __pyx_k_720[] = "config_tooltip_delay_get";
+ static char __pyx_k_723[] = "config_tooltip_delay_set";
+ static char __pyx_k_725[] = "focus_highlight_enabled_get";
+ static char __pyx_k_728[] = "focus_highlight_enabled_set";
+ static char __pyx_k_730[] = "focus_highlight_animate_get";
+ static char __pyx_k_733[] = "focus_highlight_animate_set";
+ static char __pyx_k_735[] = "preferred_engine_get";
+ static char __pyx_k_738[] = "preferred_engine_set";
+ static char __pyx_k_749[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi";
+ static char __pyx_k_755[] = "theme_list_item_path_get";
+ static char __pyx_k_756[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi";
+ static char __pyx_k_760[] = "theme_name_available_list";
+ static char __pyx_k_765[] = "_extended_object_mapping_register";
+ static char __pyx_k_768[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi";
+ static char __pyx_k_771[] = "__elm_widget_cls_resolver";
+ static char __pyx_k_774[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi";
+ static char __pyx_k_777[] = "Entry_markup_to_utf8";
+ static char __pyx_k_778[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi";
+ static char __pyx_k_781[] = "Entry_utf8_to_markup";
+ static char __pyx_k_792[] = "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi";
+ static char __pyx_k__bg[] = "bg";
+ static char __pyx_k__cb[] = "cb";
+ static char __pyx_k__cs[] = "cs";
+ static char __pyx_k__cw[] = "cw";
+ static char __pyx_k__cx[] = "cx";
+ static char __pyx_k__cy[] = "cy";
+ static char __pyx_k__ei[] = "ei";
+ static char __pyx_k__it[] = "it";
+ static char __pyx_k__Map[] = "Map";
+ static char __pyx_k__arg[] = "arg";
+ static char __pyx_k__box[] = "box";
+ static char __pyx_k__cal[] = "cal";
+ static char __pyx_k__cls[] = "cls";
+ static char __pyx_k__col[] = "col";
+ static char __pyx_k__day[] = "day";
+ static char __pyx_k__dir[] = "dir";
+ static char __pyx_k__eai[] = "eai";
+ static char __pyx_k__ehi[] = "ehi";
+ static char __pyx_k__end[] = "end";
+ static char __pyx_k__err[] = "err";
+ static char __pyx_k__evt[] = "evt";
+ static char __pyx_k__foc[] = "foc";
+ static char __pyx_k__get[] = "get";
+ static char __pyx_k__idx[] = "idx";
+ static char __pyx_k__img[] = "img";
+ static char __pyx_k__itf[] = "itf";
+ static char __pyx_k__key[] = "key";
+ static char __pyx_k__lat[] = "lat";
+ static char __pyx_k__log[] = "log";
+ static char __pyx_k__lon[] = "lon";
+ static char __pyx_k__lst[] = "lst";
+ static char __pyx_k__map[] = "map";
+ static char __pyx_k__max[] = "max";
+ static char __pyx_k__mbe[] = "mbe";
+ static char __pyx_k__min[] = "min";
+ static char __pyx_k__obj[] = "obj";
+ static char __pyx_k__pop[] = "pop";
+ static char __pyx_k__pos[] = "pos";
+ static char __pyx_k__ptr[] = "ptr";
+ static char __pyx_k__ret[] = "ret";
+ static char __pyx_k__row[] = "row";
+ static char __pyx_k__run[] = "run";
+ static char __pyx_k__str[] = "str";
+ static char __pyx_k__sys[] = "sys";
+ static char __pyx_k__url[] = "url";
+ static char __pyx_k__val[] = "val";
+ static char __pyx_k__web[] = "web";
+ static char __pyx_k__win[] = "win";
+ static char __pyx_k__None[] = "None";
+ static char __pyx_k__addr[] = "addr";
+ static char __pyx_k__argc[] = "argc";
+ static char __pyx_k__argv[] = "argv";
+ static char __pyx_k__axis[] = "axis";
+ static char __pyx_k__base[] = "base";
+ static char __pyx_k__clas[] = "clas";
+ static char __pyx_k__code[] = "code";
+ static char __pyx_k__date[] = "date";
+ static char __pyx_k__done[] = "done";
+ static char __pyx_k__drag[] = "drag";
+ static char __pyx_k__drop[] = "drop";
+ static char __pyx_k__eahi[] = "eahi";
+ static char __pyx_k__elm_[] = "elm_";
+ static char __pyx_k__exit[] = "exit";
+ static char __pyx_k__file[] = "file";
+ static char __pyx_k__flat[] = "flat";
+ static char __pyx_k__flip[] = "flip";
+ static char __pyx_k__flon[] = "flon";
+ static char __pyx_k__font[] = "font";
+ static char __pyx_k__func[] = "func";
+ static char __pyx_k__grid[] = "grid";
+ static char __pyx_k__icon[] = "icon";
+ static char __pyx_k__info[] = "info";
+ static char __pyx_k__init[] = "init";
+ static char __pyx_k__item[] = "item";
+ static char __pyx_k__kind[] = "kind";
+ static char __pyx_k__list[] = "list";
+ static char __pyx_k__load[] = "load";
+ static char __pyx_k__menu[] = "menu";
+ static char __pyx_k__mode[] = "mode";
+ static char __pyx_k__name[] = "name";
+ static char __pyx_k__part[] = "part";
+ static char __pyx_k__path[] = "path";
+ static char __pyx_k__plug[] = "plug";
+ static char __pyx_k__self[] = "self";
+ static char __pyx_k__size[] = "size";
+ static char __pyx_k__text[] = "text";
+ static char __pyx_k__tlat[] = "tlat";
+ static char __pyx_k__tlon[] = "tlon";
+ static char __pyx_k__tlot[] = "tlot";
+ static char __pyx_k__to_a[] = "to_a";
+ static char __pyx_k__to_b[] = "to_b";
+ static char __pyx_k__to_g[] = "to_g";
+ static char __pyx_k__to_h[] = "to_h";
+ static char __pyx_k__to_r[] = "to_r";
+ static char __pyx_k__to_w[] = "to_w";
+ static char __pyx_k__type[] = "type";
+ static char __pyx_k__warn[] = "warn";
+ static char __pyx_k__DEBUG[] = "DEBUG";
+ static char __pyx_k__after[] = "after";
+ static char __pyx_k__bases[] = "bases";
+ static char __pyx_k__check[] = "check";
+ static char __pyx_k__child[] = "child";
+ static char __pyx_k__clear[] = "clear";
+ static char __pyx_k__clock[] = "clock";
+ static char __pyx_k__delay[] = "delay";
+ static char __pyx_k__dict_[] = "dict_";
+ static char __pyx_k__entry[] = "entry";
+ static char __pyx_k__event[] = "event";
+ static char __pyx_k__first[] = "first";
+ static char __pyx_k__flags[] = "flags";
+ static char __pyx_k__frame[] = "frame";
+ static char __pyx_k__group[] = "group";
+ static char __pyx_k__hours[] = "hours";
+ static char __pyx_k__hover[] = "hover";
+ static char __pyx_k__image[] = "image";
+ static char __pyx_k__index[] = "index";
+ static char __pyx_k__inwin[] = "inwin";
+ static char __pyx_k__label[] = "label";
+ static char __pyx_k__level[] = "level";
+ static char __pyx_k__moved[] = "moved";
+ static char __pyx_k__panel[] = "panel";
+ static char __pyx_k__panes[] = "panes";
+ static char __pyx_k__parts[] = "parts";
+ static char __pyx_k__photo[] = "photo";
+ static char __pyx_k__popup[] = "popup";
+ static char __pyx_k__press[] = "press";
+ static char __pyx_k__radio[] = "radio";
+ static char __pyx_k__route[] = "route";
+ static char __pyx_k__scale[] = "scale";
+ static char __pyx_k__stick[] = "stick";
+ static char __pyx_k__style[] = "style";
+ static char __pyx_k__swipe[] = "swipe";
+ static char __pyx_k__table[] = "table";
+ static char __pyx_k__third[] = "third";
+ static char __pyx_k__thumb[] = "thumb";
+ static char __pyx_k__title[] = "title";
+ static char __pyx_k__to_dx[] = "to_dx";
+ static char __pyx_k__to_dy[] = "to_dy";
+ static char __pyx_k__value[] = "value";
+ static char __pyx_k__video[] = "video";
+ static char __pyx_k__width[] = "width";
+ static char __pyx_k__append[] = "append";
+ static char __pyx_k__before[] = "before";
+ static char __pyx_k__bubble[] = "bubble";
+ static char __pyx_k__button[] = "button";
+ static char __pyx_k__cursor[] = "cursor";
+ static char __pyx_k__degree[] = "degree";
+ static char __pyx_k__delete[] = "delete";
+ static char __pyx_k__domain[] = "domain";
+ static char __pyx_k__enable[] = "enable";
+ static char __pyx_k__encode[] = "encode";
+ static char __pyx_k__engine[] = "engine";
+ static char __pyx_k__format[] = "format";
+ static char __pyx_k__fourth[] = "fourth";
+ static char __pyx_k__from_a[] = "from_a";
+ static char __pyx_k__from_b[] = "from_b";
+ static char __pyx_k__from_g[] = "from_g";
+ static char __pyx_k__from_h[] = "from_h";
+ static char __pyx_k__from_r[] = "from_r";
+ static char __pyx_k__from_w[] = "from_w";
+ static char __pyx_k__height[] = "height";
+ static char __pyx_k__layout[] = "layout";
+ static char __pyx_k__letter[] = "letter";
+ static char __pyx_k__loaded[] = "loaded";
+ static char __pyx_k__mapbuf[] = "mapbuf";
+ static char __pyx_k__method[] = "method";
+ static char __pyx_k__normal[] = "normal";
+ static char __pyx_k__notify[] = "notify";
+ static char __pyx_k__parent[] = "parent";
+ static char __pyx_k__player[] = "player";
+ static char __pyx_k__policy[] = "policy";
+ static char __pyx_k__pop_to[] = "pop_to";
+ static char __pyx_k__radius[] = "radius";
+ static char __pyx_k__remove[] = "remove";
+ static char __pyx_k__repeat[] = "repeat";
+ static char __pyx_k__scroll[] = "scroll";
+ static char __pyx_k__second[] = "second";
+ static char __pyx_k__slider[] = "slider";
+ static char __pyx_k__source[] = "source";
+ static char __pyx_k__string[] = "string";
+ static char __pyx_k__subobj[] = "subobj";
+ static char __pyx_k__svcnum[] = "svcnum";
+ static char __pyx_k__svcsys[] = "svcsys";
+ static char __pyx_k__tm_min[] = "tm_min";
+ static char __pyx_k__tm_mon[] = "tm_mon";
+ static char __pyx_k__tm_sec[] = "tm_sec";
+ static char __pyx_k__widget[] = "widget";
+ static char __pyx_k__address[] = "address";
+ static char __pyx_k__align_x[] = "align_x";
+ static char __pyx_k__align_y[] = "align_y";
+ static char __pyx_k__animate[] = "animate";
+ static char __pyx_k__arg_len[] = "arg_len";
+ static char __pyx_k__cb_type[] = "cb_type";
+ static char __pyx_k__changed[] = "changed";
+ static char __pyx_k__clicked[] = "clicked";
+ static char __pyx_k__colspan[] = "colspan";
+ static char __pyx_k__command[] = "command";
+ static char __pyx_k__content[] = "content";
+ static char __pyx_k__default[] = "default";
+ static char __pyx_k__enabled[] = "enabled";
+ static char __pyx_k__focused[] = "focused";
+ static char __pyx_k__from_dx[] = "from_dx";
+ static char __pyx_k__from_dy[] = "from_dy";
+ static char __pyx_k__gengrid[] = "gengrid";
+ static char __pyx_k__genlist[] = "genlist";
+ static char __pyx_k__hitsize[] = "hitsize";
+ static char __pyx_k__is_user[] = "is_user";
+ static char __pyx_k__logging[] = "logging";
+ static char __pyx_k__minutes[] = "minutes";
+ static char __pyx_k__name_cb[] = "name_cb";
+ static char __pyx_k__pressed[] = "pressed";
+ static char __pyx_k__profile[] = "profile";
+ static char __pyx_k__promote[] = "promote";
+ static char __pyx_k__recurse[] = "recurse";
+ static char __pyx_k__rowspan[] = "rowspan";
+ static char __pyx_k__seconds[] = "seconds";
+ static char __pyx_k__size_up[] = "size_up";
+ static char __pyx_k__spinner[] = "spinner";
+ static char __pyx_k__svcname[] = "svcname";
+ static char __pyx_k__swallow[] = "swallow";
+ static char __pyx_k__timeout[] = "timeout";
+ static char __pyx_k__times_h[] = "times_h";
+ static char __pyx_k__times_w[] = "times_w";
+ static char __pyx_k__tm_hour[] = "tm_hour";
+ static char __pyx_k__tm_mday[] = "tm_mday";
+ static char __pyx_k__tm_wday[] = "tm_wday";
+ static char __pyx_k__tm_yday[] = "tm_yday";
+ static char __pyx_k__tm_year[] = "tm_year";
+ static char __pyx_k__to_rate[] = "to_rate";
+ static char __pyx_k__toolbar[] = "toolbar";
+ static char __pyx_k__unpress[] = "unpress";
+ static char __pyx_k__unstick[] = "unstick";
+ static char __pyx_k__uri_get[] = "uri_get";
+ static char __pyx_k__uri_set[] = "uri_set";
+ static char __pyx_k__visible[] = "visible";
+ static char __pyx_k__KeyError[] = "KeyError";
+ static char __pyx_k____del_cb[] = "__del_cb";
+ static char __pyx_k____dict__[] = "__dict__";
+ static char __pyx_k____init__[] = "__init__";
+ static char __pyx_k____main__[] = "__main__";
+ static char __pyx_k____name__[] = "__name__";
+ static char __pyx_k____test__[] = "__test__";
+ static char __pyx_k__calendar[] = "calendar";
+ static char __pyx_k__callable[] = "callable";
+ static char __pyx_k__callback[] = "callback";
+ static char __pyx_k__ctxpopup[] = "ctxpopup";
+ static char __pyx_k__data_get[] = "data_get";
+ static char __pyx_k__datetime[] = "datetime";
+ static char __pyx_k__del_func[] = "del_func";
+ static char __pyx_k__duration[] = "duration";
+ static char __pyx_k__elements[] = "elements";
+ static char __pyx_k__emission[] = "emission";
+ static char __pyx_k__expanded[] = "expanded";
+ static char __pyx_k__filename[] = "filename";
+ static char __pyx_k__get_func[] = "get_func";
+ static char __pyx_k__h_bounce[] = "h_bounce";
+ static char __pyx_k__hide_get[] = "hide_get";
+ static char __pyx_k__hide_set[] = "hide_set";
+ static char __pyx_k__hoversel[] = "hoversel";
+ static char __pyx_k__icon_get[] = "icon_get";
+ static char __pyx_k__icon_set[] = "icon_set";
+ static char __pyx_k__need_web[] = "need_web";
+ static char __pyx_k__next_btn[] = "next_btn";
+ static char __pyx_k__next_get[] = "next_get";
+ static char __pyx_k__node_get[] = "node_get";
+ static char __pyx_k__photocam[] = "photocam";
+ static char __pyx_k__policy_h[] = "policy_h";
+ static char __pyx_k__policy_v[] = "policy_v";
+ static char __pyx_k__prev_btn[] = "prev_btn";
+ static char __pyx_k__prev_get[] = "prev_get";
+ static char __pyx_k__realized[] = "realized";
+ static char __pyx_k__repeated[] = "repeated";
+ static char __pyx_k__route_cb[] = "route_cb";
+ static char __pyx_k__scroller[] = "scroller";
+ static char __pyx_k__selected[] = "selected";
+ static char __pyx_k__shutdown[] = "shutdown";
+ static char __pyx_k__text_get[] = "text_get";
+ static char __pyx_k__text_set[] = "text_set";
+ static char __pyx_k__tm_isdst[] = "tm_isdst";
+ static char __pyx_k__type_get[] = "type_get";
+ static char __pyx_k__v_bounce[] = "v_bounce";
+ static char __pyx_k__vertical[] = "vertical";
+ static char __pyx_k__zoom_get[] = "zoom_get";
+ static char __pyx_k__zoom_set[] = "zoom_set";
+ static char __pyx_k__Exception[] = "Exception";
+ static char __pyx_k__TypeError[] = "TypeError";
+ static char __pyx_k____class__[] = "__class__";
+ static char __pyx_k__activated[] = "activated";
+ static char __pyx_k__align_get[] = "align_get";
+ static char __pyx_k__align_set[] = "align_set";
+ static char __pyx_k__bouce_get[] = "bouce_get";
+ static char __pyx_k__bouce_set[] = "bouce_set";
+ static char __pyx_k__child_obj[] = "child_obj";
+ static char __pyx_k__color_get[] = "color_get";
+ static char __pyx_k__color_set[] = "color_set";
+ static char __pyx_k__direction[] = "direction";
+ static char __pyx_k__dismissed[] = "dismissed";
+ static char __pyx_k__entry_get[] = "entry_get";
+ static char __pyx_k__enumerate[] = "enumerate";
+ static char __pyx_k__fieldtype[] = "fieldtype";
+ static char __pyx_k__from_rate[] = "from_rate";
+ static char __pyx_k__getLogger[] = "getLogger";
+ static char __pyx_k__h_pagenum[] = "h_pagenum";
+ static char __pyx_k__h_pagerel[] = "h_pagerel";
+ static char __pyx_k__hover_top[] = "hover_top";
+ static char __pyx_k__icon_file[] = "icon_file";
+ static char __pyx_k__icon_type[] = "icon_type";
+ static char __pyx_k__iconified[] = "iconified";
+ static char __pyx_k__index_get[] = "index_get";
+ static char __pyx_k__item_data[] = "item_data";
+ static char __pyx_k__items_get[] = "items_get";
+ static char __pyx_k__mark_time[] = "mark_time";
+ static char __pyx_k__mark_type[] = "mark_type";
+ static char __pyx_k__maximized[] = "maximized";
+ static char __pyx_k__naviframe[] = "naviframe";
+ static char __pyx_k__part_name[] = "part_name";
+ static char __pyx_k__print_exc[] = "print_exc";
+ static char __pyx_k__reference[] = "reference";
+ static char __pyx_k__scale_get[] = "scale_get";
+ static char __pyx_k__scale_set[] = "scale_set";
+ static char __pyx_k__separator[] = "separator";
+ static char __pyx_k__size_down[] = "size_down";
+ static char __pyx_k__slideshow[] = "slideshow";
+ static char __pyx_k__state_get[] = "state_get";
+ static char __pyx_k__style_get[] = "style_get";
+ static char __pyx_k__style_set[] = "style_set";
+ static char __pyx_k__timetuple[] = "timetuple";
+ static char __pyx_k__title_get[] = "title_get";
+ static char __pyx_k__to_degree[] = "to_degree";
+ static char __pyx_k__to_layout[] = "to_layout";
+ static char __pyx_k__traceback[] = "traceback";
+ static char __pyx_k__unfocused[] = "unfocused";
+ static char __pyx_k__unpressed[] = "unpressed";
+ static char __pyx_k__v_pagenum[] = "v_pagenum";
+ static char __pyx_k__v_pagerel[] = "v_pagerel";
+ static char __pyx_k__withdrawn[] = "withdrawn";
+ static char __pyx_k__ValueError[] = "ValueError";
+ static char __pyx_k__after_item[] = "after_item";
+ static char __pyx_k__conformant[] = "conformant";
+ static char __pyx_k__contracted[] = "contracted";
+ static char __pyx_k__cursor_get[] = "cursor_get";
+ static char __pyx_k__cursor_set[] = "cursor_set";
+ static char __pyx_k__elementary[] = "elementary";
+ static char __pyx_k__elm_widget[] = "elm_widget";
+ static char __pyx_k__engine_get[] = "engine_get";
+ static char __pyx_k__engine_set[] = "engine_set";
+ static char __pyx_k__event_conv[] = "event_conv";
+ static char __pyx_k__filled_get[] = "filled_get";
+ static char __pyx_k__filled_set[] = "filled_set";
+ static char __pyx_k__fullscreen[] = "fullscreen";
+ static char __pyx_k__h_pagesize[] = "h_pagesize";
+ static char __pyx_k__horizontal[] = "horizontal";
+ static char __pyx_k__hover_left[] = "hover_left";
+ static char __pyx_k__icon_group[] = "icon_group";
+ static char __pyx_k__item_class[] = "item_class";
+ static char __pyx_k__item_style[] = "item_style";
+ static char __pyx_k__overflowed[] = "overflowed";
+ static char __pyx_k__parent_get[] = "parent_get";
+ static char __pyx_k__paused_get[] = "paused_get";
+ static char __pyx_k__paused_set[] = "paused_set";
+ static char __pyx_k__policy_get[] = "policy_get";
+ static char __pyx_k__policy_set[] = "policy_set";
+ static char __pyx_k__region_get[] = "region_get";
+ static char __pyx_k__region_set[] = "region_set";
+ static char __pyx_k__rotate_get[] = "rotate_get";
+ static char __pyx_k__rotate_set[] = "rotate_set";
+ static char __pyx_k__setdefault[] = "setdefault";
+ static char __pyx_k__text_class[] = "text_class";
+ static char __pyx_k__unrealized[] = "unrealized";
+ static char __pyx_k__unselected[] = "unselected";
+ static char __pyx_k__v_pagesize[] = "v_pagesize";
+ static char __pyx_k__address_get[] = "address_get";
+ static char __pyx_k__anchor_info[] = "anchor_info";
+ static char __pyx_k__basicConfig[] = "basicConfig";
+ static char __pyx_k__before_item[] = "before_item";
+ static char __pyx_k__content_get[] = "content_get";
+ static char __pyx_k__content_set[] = "content_set";
+ static char __pyx_k__dayselector[] = "dayselector";
+ static char __pyx_k__description[] = "description";
+ static char __pyx_k__engine_only[] = "engine_only";
+ static char __pyx_k__failing_url[] = "failing_url";
+ static char __pyx_k__from_degree[] = "from_degree";
+ static char __pyx_k__from_layout[] = "from_layout";
+ static char __pyx_k__gengrid_get[] = "gengrid_get";
+ static char __pyx_k__hover_right[] = "hover_right";
+ static char __pyx_k__longpressed[] = "longpressed";
+ static char __pyx_k__members_get[] = "members_get";
+ static char __pyx_k__need_e_dbus[] = "need_e_dbus";
+ static char __pyx_k__need_efreet[] = "need_efreet";
+ static char __pyx_k__need_ethumb[] = "need_ethumb";
+ static char __pyx_k__object_item[] = "object_item";
+ static char __pyx_k__parent_item[] = "parent_item";
+ static char __pyx_k__pos_changed[] = "pos_changed";
+ static char __pyx_k__progressbar[] = "progressbar";
+ static char __pyx_k__source_name[] = "source_name";
+ static char __pyx_k__standardwin[] = "standardwin";
+ static char __pyx_k__title_label[] = "title_label";
+ static char __pyx_k__underflowed[] = "underflowed";
+ static char __pyx_k__unmaximized[] = "unmaximized";
+ static char __pyx_k__visible_get[] = "visible_get";
+ static char __pyx_k__RuntimeError[] = "RuntimeError";
+ static char __pyx_k__actionslider[] = "actionslider";
+ static char __pyx_k__before_after[] = "before_after";
+ static char __pyx_k__cursor_unset[] = "cursor_unset";
+ static char __pyx_k__disabled_get[] = "disabled_get";
+ static char __pyx_k__disabled_set[] = "disabled_set";
+ static char __pyx_k__diskselector[] = "diskselector";
+ static char __pyx_k__distance_get[] = "distance_get";
+ static char __pyx_k__expanded_get[] = "expanded_get";
+ static char __pyx_k__expanded_set[] = "expanded_set";
+ static char __pyx_k__fileselector[] = "fileselector";
+ static char __pyx_k__flipselector[] = "flipselector";
+ static char __pyx_k__h_pagenumber[] = "h_pagenumber";
+ static char __pyx_k__hover_bottom[] = "hover_bottom";
+ static char __pyx_k__hover_parent[] = "hover_parent";
+ static char __pyx_k__mirrored_get[] = "mirrored_get";
+ static char __pyx_k__mirrored_set[] = "mirrored_set";
+ static char __pyx_k__overlays_get[] = "overlays_get";
+ static char __pyx_k__selected_get[] = "selected_get";
+ static char __pyx_k__selected_set[] = "selected_set";
+ static char __pyx_k__staticmethod[] = "staticmethod";
+ static char __pyx_k__unfullscreen[] = "unfullscreen";
+ static char __pyx_k__v_pagenumber[] = "v_pagenumber";
+ static char __pyx_k__waypoint_get[] = "waypoint_get";
+ static char __pyx_k__zoom_max_get[] = "zoom_max_get";
+ static char __pyx_k__zoom_max_set[] = "zoom_max_set";
+ static char __pyx_k__zoom_min_get[] = "zoom_min_get";
+ static char __pyx_k__zoom_min_set[] = "zoom_min_set";
+ static char __pyx_k___callback_add[] = "_callback_add";
+ static char __pyx_k___callback_del[] = "_callback_del";
+ static char __pyx_k__colorselector[] = "colorselector";
+ static char __pyx_k__content_unset[] = "content_unset";
+ static char __pyx_k__extract_stack[] = "extract_stack";
+ static char __pyx_k__gesture_layer[] = "gesture_layer";
+ static char __pyx_k__item_size_get[] = "item_size_get";
+ static char __pyx_k__item_size_set[] = "item_size_set";
+ static char __pyx_k__last_item_get[] = "last_item_get";
+ static char __pyx_k__last_page_get[] = "last_page_get";
+ static char __pyx_k__scrollto_type[] = "scrollto_type";
+ static char __pyx_k__text_get_func[] = "text_get_func";
+ static char __pyx_k__zoom_mode_get[] = "zoom_mode_get";
+ static char __pyx_k__zoom_mode_set[] = "zoom_mode_set";
+ static char __pyx_k__AttributeError[] = "AttributeError";
+ static char __pyx_k__audio_mute_get[] = "audio_mute_get";
+ static char __pyx_k__audio_mute_set[] = "audio_mute_set";
+ static char __pyx_k__borderless_get[] = "borderless_get";
+ static char __pyx_k__borderless_set[] = "borderless_set";
+ static char __pyx_k__first_item_get[] = "first_item_get";
+ static char __pyx_k__horizontal_get[] = "horizontal_get";
+ static char __pyx_k__horizontal_set[] = "horizontal_set";
+ static char __pyx_k__in_search_path[] = "in_search_path";
+ static char __pyx_k__is_playing_get[] = "is_playing_get";
+ static char __pyx_k__magnet_pos_get[] = "magnet_pos_get";
+ static char __pyx_k__magnet_pos_set[] = "magnet_pos_set";
+ static char __pyx_k__markup_to_utf8[] = "markup_to_utf8";
+ static char __pyx_k__relative_child[] = "relative_child";
+ static char __pyx_k__state_get_func[] = "state_get_func";
+ static char __pyx_k__top_widget_get[] = "top_widget_get";
+ static char __pyx_k__user_agent_get[] = "user_agent_get";
+ static char __pyx_k__user_agent_set[] = "user_agent_set";
+ static char __pyx_k__utf8_to_markup[] = "utf8_to_markup";
+ static char __pyx_k__EntryAnchorInfo[] = "EntryAnchorInfo";
+ static char __pyx_k___cb_string_conv[] = "_cb_string_conv";
+ static char __pyx_k__audio_level_get[] = "audio_level_get";
+ static char __pyx_k__audio_level_set[] = "audio_level_set";
+ static char __pyx_k__decorate_it_set[] = "decorate_it_set";
+ static char __pyx_k__focus_allow_get[] = "focus_allow_get";
+ static char __pyx_k__focus_allow_set[] = "focus_allow_set";
+ static char __pyx_k__is_cancellation[] = "is_cancellation";
+ static char __pyx_k__is_seekable_get[] = "is_seekable_get";
+ static char __pyx_k__play_length_get[] = "play_length_get";
+ static char __pyx_k__segment_control[] = "segment_control";
+ static char __pyx_k__select_mode_get[] = "select_mode_get";
+ static char __pyx_k__select_mode_set[] = "select_mode_set";
+ static char __pyx_k___web_double_conv[] = "_web_double_conv";
+ static char __pyx_k__content_get_func[] = "content_get_func";
+ static char __pyx_k__current_page_get[] = "current_page_get";
+ static char __pyx_k__cursor_style_get[] = "cursor_style_get";
+ static char __pyx_k__cursor_style_set[] = "cursor_style_set";
+ static char __pyx_k__decorate_it_type[] = "decorate_it_type";
+ static char __pyx_k__multi_select_get[] = "multi_select_get";
+ static char __pyx_k__multi_select_set[] = "multi_select_set";
+ static char __pyx_k__multibuttonentry[] = "multibuttonentry";
+ static char __pyx_k__part_content_get[] = "part_content_get";
+ static char __pyx_k__reorder_mode_get[] = "reorder_mode_get";
+ static char __pyx_k__reorder_mode_set[] = "reorder_mode_set";
+ static char __pyx_k__theme_full_flush[] = "theme_full_flush";
+ static char __pyx_k__tooltip_text_get[] = "tooltip_text_get";
+ static char __pyx_k___entryanchor_conv[] = "_entryanchor_conv";
+ static char __pyx_k__elm_widget_compat[] = "elm_widget_compat";
+ static char __pyx_k__page_relative_get[] = "page_relative_get";
+ static char __pyx_k__page_relative_set[] = "page_relative_set";
+ static char __pyx_k__parent_widget_get[] = "parent_widget_get";
+ static char __pyx_k__play_position_get[] = "play_position_get";
+ static char __pyx_k__play_position_set[] = "play_position_set";
+ static char __pyx_k__scroll_lock_x_get[] = "scroll_lock_x_get";
+ static char __pyx_k__scroll_lock_x_set[] = "scroll_lock_x_set";
+ static char __pyx_k__scroll_lock_y_get[] = "scroll_lock_y_get";
+ static char __pyx_k__scroll_lock_y_set[] = "scroll_lock_y_set";
+ static char __pyx_k__selected_item_get[] = "selected_item_get";
+ static char __pyx_k__theme_overlay_add[] = "theme_overlay_add";
+ static char __pyx_k__tooltip_style_get[] = "tooltip_style_get";
+ static char __pyx_k__tooltip_style_set[] = "tooltip_style_set";
+ static char __pyx_k___callback_add_full[] = "_callback_add_full";
+ static char __pyx_k___callback_del_full[] = "_callback_del_full";
+ static char __pyx_k__fileselector_entry[] = "fileselector_entry";
+ static char __pyx_k__highlight_mode_get[] = "highlight_mode_get";
+ static char __pyx_k__highlight_mode_set[] = "highlight_mode_set";
+ static char __pyx_k__realized_items_get[] = "realized_items_get";
+ static char __pyx_k__selected_items_get[] = "selected_items_get";
+ static char __pyx_k__wheel_disabled_get[] = "wheel_disabled_get";
+ static char __pyx_k__wheel_disabled_set[] = "wheel_disabled_set";
+ static char __pyx_k__evas_event_callback[] = "evas_event_callback";
+ static char __pyx_k__fileselector_button[] = "fileselector_button";
+ static char __pyx_k__group_item_size_get[] = "group_item_size_get";
+ static char __pyx_k__group_item_size_set[] = "group_item_size_set";
+ static char __pyx_k__scroller_policy_get[] = "scroller_policy_get";
+ static char __pyx_k__scroller_policy_set[] = "scroller_policy_set";
+ static char __pyx_k__theme_extension_add[] = "theme_extension_add";
+ static PyObject *__pyx_kp_s_1;
+ static PyObject *__pyx_n_s_10;
+ static PyObject *__pyx_kp_s_103;
+ static PyObject *__pyx_kp_s_105;
+ static PyObject *__pyx_kp_s_108;
+ static PyObject *__pyx_n_s_11;
+ static PyObject *__pyx_kp_s_111;
+ static PyObject *__pyx_kp_s_112;
+ static PyObject *__pyx_kp_s_113;
+ static PyObject *__pyx_kp_s_114;
+ static PyObject *__pyx_kp_s_115;
+ static PyObject *__pyx_kp_s_116;
+ static PyObject *__pyx_kp_s_118;
+ static PyObject *__pyx_n_s_12;
+ static PyObject *__pyx_kp_s_120;
+ static PyObject *__pyx_kp_s_122;
+ static PyObject *__pyx_kp_s_124;
+ static PyObject *__pyx_kp_s_125;
+ static PyObject *__pyx_kp_s_126;
+ static PyObject *__pyx_kp_s_127;
+ static PyObject *__pyx_kp_s_128;
+ static PyObject *__pyx_n_s_13;
+ static PyObject *__pyx_kp_s_134;
+ static PyObject *__pyx_kp_s_142;
+ static PyObject *__pyx_kp_s_143;
+ static PyObject *__pyx_kp_s_144;
+ static PyObject *__pyx_kp_s_145;
+ static PyObject *__pyx_kp_s_146;
+ static PyObject *__pyx_kp_s_147;
+ static PyObject *__pyx_kp_s_148;
+ static PyObject *__pyx_kp_s_149;
+ static PyObject *__pyx_kp_s_150;
+ static PyObject *__pyx_kp_s_151;
+ static PyObject *__pyx_kp_s_152;
+ static PyObject *__pyx_kp_s_153;
+ static PyObject *__pyx_kp_s_154;
+ static PyObject *__pyx_kp_s_155;
+ static PyObject *__pyx_kp_s_156;
+ static PyObject *__pyx_kp_s_157;
+ static PyObject *__pyx_kp_s_16;
+ static PyObject *__pyx_kp_s_162;
+ static PyObject *__pyx_n_s_166;
+ static PyObject *__pyx_n_s_167;
+ static PyObject *__pyx_kp_s_172;
+ static PyObject *__pyx_kp_s_173;
+ static PyObject *__pyx_kp_s_174;
+ static PyObject *__pyx_kp_s_176;
+ static PyObject *__pyx_kp_s_178;
+ static PyObject *__pyx_kp_s_179;
+ static PyObject *__pyx_n_s_18;
+ static PyObject *__pyx_kp_s_180;
+ static PyObject *__pyx_n_s_181;
+ static PyObject *__pyx_kp_s_182;
+ static PyObject *__pyx_kp_s_183;
+ static PyObject *__pyx_n_s_184;
+ static PyObject *__pyx_kp_s_185;
+ static PyObject *__pyx_kp_s_186;
+ static PyObject *__pyx_kp_s_187;
+ static PyObject *__pyx_kp_s_188;
+ static PyObject *__pyx_kp_s_189;
+ static PyObject *__pyx_n_s_19;
+ static PyObject *__pyx_kp_s_190;
+ static PyObject *__pyx_kp_s_193;
+ static PyObject *__pyx_kp_s_194;
+ static PyObject *__pyx_n_s_196;
+ static PyObject *__pyx_n_s_197;
+ static PyObject *__pyx_kp_s_198;
+ static PyObject *__pyx_kp_s_199;
+ static PyObject *__pyx_kp_s_2;
+ static PyObject *__pyx_n_s_20;
+ static PyObject *__pyx_kp_s_200;
+ static PyObject *__pyx_kp_s_201;
+ static PyObject *__pyx_kp_s_202;
+ static PyObject *__pyx_kp_s_203;
+ static PyObject *__pyx_kp_s_204;
+ static PyObject *__pyx_kp_s_205;
+ static PyObject *__pyx_kp_s_206;
+ static PyObject *__pyx_kp_s_207;
+ static PyObject *__pyx_kp_s_208;
+ static PyObject *__pyx_kp_s_209;
+ static PyObject *__pyx_n_s_21;
+ static PyObject *__pyx_n_s_214;
+ static PyObject *__pyx_n_s_215;
+ static PyObject *__pyx_n_s_217;
+ static PyObject *__pyx_kp_s_218;
+ static PyObject *__pyx_kp_s_219;
+ static PyObject *__pyx_n_s_22;
+ static PyObject *__pyx_kp_s_220;
+ static PyObject *__pyx_kp_s_221;
+ static PyObject *__pyx_kp_s_222;
+ static PyObject *__pyx_kp_s_223;
+ static PyObject *__pyx_kp_s_224;
+ static PyObject *__pyx_kp_s_225;
+ static PyObject *__pyx_kp_s_226;
+ static PyObject *__pyx_kp_s_227;
+ static PyObject *__pyx_kp_s_228;
+ static PyObject *__pyx_kp_s_229;
+ static PyObject *__pyx_n_s_23;
+ static PyObject *__pyx_kp_s_230;
+ static PyObject *__pyx_kp_s_231;
+ static PyObject *__pyx_kp_s_233;
+ static PyObject *__pyx_kp_s_234;
+ static PyObject *__pyx_kp_s_235;
+ static PyObject *__pyx_kp_s_236;
+ static PyObject *__pyx_kp_s_237;
+ static PyObject *__pyx_kp_s_238;
+ static PyObject *__pyx_kp_s_239;
+ static PyObject *__pyx_n_s_24;
+ static PyObject *__pyx_kp_s_240;
+ static PyObject *__pyx_kp_s_243;
+ static PyObject *__pyx_kp_s_244;
+ static PyObject *__pyx_kp_s_246;
+ static PyObject *__pyx_kp_s_248;
+ static PyObject *__pyx_kp_s_249;
+ static PyObject *__pyx_n_s_25;
+ static PyObject *__pyx_kp_s_250;
+ static PyObject *__pyx_n_s_26;
+ static PyObject *__pyx_n_s_28;
+ static PyObject *__pyx_n_s_29;
+ static PyObject *__pyx_kp_s_3;
+ static PyObject *__pyx_n_s_30;
+ static PyObject *__pyx_n_s_31;
+ static PyObject *__pyx_kp_s_33;
+ static PyObject *__pyx_kp_s_35;
+ static PyObject *__pyx_kp_s_36;
+ static PyObject *__pyx_kp_s_37;
+ static PyObject *__pyx_kp_s_39;
+ static PyObject *__pyx_kp_s_4;
+ static PyObject *__pyx_kp_s_40;
+ static PyObject *__pyx_kp_s_43;
+ static PyObject *__pyx_kp_s_45;
+ static PyObject *__pyx_kp_s_46;
+ static PyObject *__pyx_kp_s_47;
+ static PyObject *__pyx_kp_s_48;
+ static PyObject *__pyx_kp_s_5;
+ static PyObject *__pyx_kp_s_60;
+ static PyObject *__pyx_kp_s_61;
+ static PyObject *__pyx_kp_s_62;
+ static PyObject *__pyx_kp_s_63;
+ static PyObject *__pyx_kp_s_64;
+ static PyObject *__pyx_kp_s_65;
+ static PyObject *__pyx_kp_s_66;
+ static PyObject *__pyx_kp_s_67;
+ static PyObject *__pyx_kp_s_68;
+ static PyObject *__pyx_kp_s_69;
+ static PyObject *__pyx_n_s_692;
+ static PyObject *__pyx_kp_s_696;
+ static PyObject *__pyx_n_s_697;
+ static PyObject *__pyx_kp_s_7;
+ static PyObject *__pyx_kp_s_70;
+ static PyObject *__pyx_n_s_707;
+ static PyObject *__pyx_kp_s_71;
+ static PyObject *__pyx_n_s_712;
+ static PyObject *__pyx_n_s_714;
+ static PyObject *__pyx_kp_s_715;
+ static PyObject *__pyx_n_s_718;
+ static PyObject *__pyx_kp_s_72;
+ static PyObject *__pyx_n_s_720;
+ static PyObject *__pyx_n_s_723;
+ static PyObject *__pyx_n_s_725;
+ static PyObject *__pyx_n_s_728;
+ static PyObject *__pyx_kp_s_73;
+ static PyObject *__pyx_n_s_730;
+ static PyObject *__pyx_n_s_733;
+ static PyObject *__pyx_n_s_735;
+ static PyObject *__pyx_n_s_738;
+ static PyObject *__pyx_kp_s_74;
+ static PyObject *__pyx_kp_s_749;
+ static PyObject *__pyx_n_s_755;
+ static PyObject *__pyx_kp_s_756;
+ static PyObject *__pyx_n_s_76;
+ static PyObject *__pyx_n_s_760;
+ static PyObject *__pyx_n_s_765;
+ static PyObject *__pyx_kp_s_768;
+ static PyObject *__pyx_kp_s_77;
+ static PyObject *__pyx_n_s_771;
+ static PyObject *__pyx_kp_s_774;
+ static PyObject *__pyx_n_s_777;
+ static PyObject *__pyx_kp_s_778;
+ static PyObject *__pyx_kp_s_78;
+ static PyObject *__pyx_n_s_781;
+ static PyObject *__pyx_kp_s_79;
+ static PyObject *__pyx_kp_s_792;
+ static PyObject *__pyx_kp_s_80;
+ static PyObject *__pyx_kp_s_81;
+ static PyObject *__pyx_kp_s_82;
+ static PyObject *__pyx_kp_s_83;
+ static PyObject *__pyx_kp_s_84;
+ static PyObject *__pyx_kp_s_85;
+ static PyObject *__pyx_kp_s_86;
+ static PyObject *__pyx_kp_s_87;
+ static PyObject *__pyx_kp_s_88;
+ static PyObject *__pyx_kp_s_89;
+ static PyObject *__pyx_kp_s_9;
+ static PyObject *__pyx_kp_s_90;
+ static PyObject *__pyx_kp_s_91;
+ static PyObject *__pyx_kp_s_92;
+ static PyObject *__pyx_n_s_93;
+ static PyObject *__pyx_kp_s_94;
+ static PyObject *__pyx_kp_s_95;
+ static PyObject *__pyx_kp_s_96;
+ static PyObject *__pyx_n_s_99;
+ static PyObject *__pyx_n_s__AttributeError;
+ static PyObject *__pyx_n_s__DEBUG;
+ static PyObject *__pyx_n_s__EntryAnchorInfo;
+ static PyObject *__pyx_n_s__Exception;
+ static PyObject *__pyx_n_s__KeyError;
+ static PyObject *__pyx_n_s__Map;
+ static PyObject *__pyx_n_s__None;
+ static PyObject *__pyx_n_s__RuntimeError;
+ static PyObject *__pyx_n_s__TypeError;
+ static PyObject *__pyx_n_s__ValueError;
+ static PyObject *__pyx_n_s____class__;
+ static PyObject *__pyx_n_s____del_cb;
+ static PyObject *__pyx_n_s____dict__;
+ static PyObject *__pyx_n_s____init__;
+ static PyObject *__pyx_n_s____main__;
+ static PyObject *__pyx_n_s____name__;
+ static PyObject *__pyx_n_s____test__;
+ static PyObject *__pyx_n_s___callback_add;
+ 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_string_conv;
+ static PyObject *__pyx_n_s___entryanchor_conv;
+ static PyObject *__pyx_n_s___web_double_conv;
+ static PyObject *__pyx_n_s__a;
+ static PyObject *__pyx_n_s__actionslider;
+ static PyObject *__pyx_n_s__activated;
+ static PyObject *__pyx_n_s__addr;
+ static PyObject *__pyx_n_s__address;
+ static PyObject *__pyx_n_s__address_get;
+ static PyObject *__pyx_n_s__after;
+ static PyObject *__pyx_n_s__after_item;
+ static PyObject *__pyx_n_s__align_get;
+ static PyObject *__pyx_n_s__align_set;
+ static PyObject *__pyx_n_s__align_x;
+ static PyObject *__pyx_n_s__align_y;
+ static PyObject *__pyx_n_s__anchor_info;
+ static PyObject *__pyx_n_s__animate;
+ static PyObject *__pyx_n_s__append;
+ static PyObject *__pyx_n_s__arg;
+ static PyObject *__pyx_n_s__arg_len;
+ static PyObject *__pyx_n_s__argc;
+ static PyObject *__pyx_n_s__argv;
+ static PyObject *__pyx_n_s__audio_level_get;
+ static PyObject *__pyx_n_s__audio_level_set;
+ static PyObject *__pyx_n_s__audio_mute_get;
+ static PyObject *__pyx_n_s__audio_mute_set;
+ static PyObject *__pyx_n_s__axis;
+ static PyObject *__pyx_n_s__b;
+ static PyObject *__pyx_n_s__base;
+ static PyObject *__pyx_n_s__bases;
+ static PyObject *__pyx_n_s__basicConfig;
+ static PyObject *__pyx_n_s__before;
+ static PyObject *__pyx_n_s__before_after;
+ static PyObject *__pyx_n_s__before_item;
+ static PyObject *__pyx_n_s__bg;
+ static PyObject *__pyx_n_s__borderless_get;
+ static PyObject *__pyx_n_s__borderless_set;
+ static PyObject *__pyx_n_s__bouce_get;
+ static PyObject *__pyx_n_s__bouce_set;
+ static PyObject *__pyx_n_s__box;
+ static PyObject *__pyx_n_s__bubble;
+ static PyObject *__pyx_n_s__button;
+ static PyObject *__pyx_n_s__cal;
+ static PyObject *__pyx_n_s__calendar;
+ static PyObject *__pyx_n_s__callable;
+ static PyObject *__pyx_n_s__callback;
+ static PyObject *__pyx_n_s__cb;
+ static PyObject *__pyx_n_s__cb_type;
+ static PyObject *__pyx_n_s__changed;
+ static PyObject *__pyx_n_s__check;
+ static PyObject *__pyx_n_s__child;
+ static PyObject *__pyx_n_s__child_obj;
+ static PyObject *__pyx_n_s__clas;
+ static PyObject *__pyx_n_s__clear;
+ static PyObject *__pyx_n_s__clicked;
+ static PyObject *__pyx_n_s__clock;
+ static PyObject *__pyx_n_s__cls;
+ static PyObject *__pyx_n_s__code;
+ static PyObject *__pyx_n_s__col;
+ static PyObject *__pyx_n_s__color_get;
+ static PyObject *__pyx_n_s__color_set;
+ static PyObject *__pyx_n_s__colorselector;
+ static PyObject *__pyx_n_s__colspan;
+ static PyObject *__pyx_n_s__command;
+ static PyObject *__pyx_n_s__conformant;
+ static PyObject *__pyx_n_s__content;
+ static PyObject *__pyx_n_s__content_get;
+ static PyObject *__pyx_n_s__content_get_func;
+ static PyObject *__pyx_n_s__content_set;
+ static PyObject *__pyx_n_s__content_unset;
+ static PyObject *__pyx_n_s__contracted;
+ static PyObject *__pyx_n_s__cs;
+ static PyObject *__pyx_n_s__ctxpopup;
+ static PyObject *__pyx_n_s__current_page_get;
+ static PyObject *__pyx_n_s__cursor;
+ static PyObject *__pyx_n_s__cursor_get;
+ static PyObject *__pyx_n_s__cursor_set;
+ static PyObject *__pyx_n_s__cursor_style_get;
+ static PyObject *__pyx_n_s__cursor_style_set;
+ static PyObject *__pyx_n_s__cursor_unset;
+ static PyObject *__pyx_n_s__cw;
+ static PyObject *__pyx_n_s__cx;
+ static PyObject *__pyx_n_s__cy;
+ static PyObject *__pyx_n_s__data_get;
+ static PyObject *__pyx_n_s__date;
+ static PyObject *__pyx_n_s__datetime;
+ static PyObject *__pyx_n_s__day;
+ static PyObject *__pyx_n_s__dayselector;
+ static PyObject *__pyx_n_s__decorate_it_set;
+ static PyObject *__pyx_n_s__decorate_it_type;
+ static PyObject *__pyx_n_s__default;
+ static PyObject *__pyx_n_s__degree;
+ static PyObject *__pyx_n_s__del_func;
+ static PyObject *__pyx_n_s__delay;
+ static PyObject *__pyx_n_s__delete;
+ static PyObject *__pyx_n_s__description;
+ static PyObject *__pyx_n_s__dict_;
+ static PyObject *__pyx_n_s__dir;
+ static PyObject *__pyx_n_s__direction;
+ static PyObject *__pyx_n_s__disabled_get;
+ static PyObject *__pyx_n_s__disabled_set;
+ static PyObject *__pyx_n_s__diskselector;
+ static PyObject *__pyx_n_s__dismissed;
+ static PyObject *__pyx_n_s__distance_get;
+ static PyObject *__pyx_n_s__domain;
+ static PyObject *__pyx_n_s__done;
+ static PyObject *__pyx_n_s__drag;
+ static PyObject *__pyx_n_s__drop;
+ static PyObject *__pyx_n_s__duration;
+ static PyObject *__pyx_n_s__eahi;
+ static PyObject *__pyx_n_s__eai;
+ static PyObject *__pyx_n_s__ehi;
+ static PyObject *__pyx_n_s__ei;
+ static PyObject *__pyx_n_s__elementary;
+ static PyObject *__pyx_n_s__elements;
+ static PyObject *__pyx_n_s__elm_;
+ static PyObject *__pyx_n_s__elm_widget;
+ static PyObject *__pyx_n_s__elm_widget_compat;
+ static PyObject *__pyx_n_s__emission;
+ static PyObject *__pyx_n_s__enable;
+ static PyObject *__pyx_n_s__enabled;
+ static PyObject *__pyx_n_s__encode;
+ static PyObject *__pyx_n_s__end;
+ static PyObject *__pyx_n_s__engine;
+ static PyObject *__pyx_n_s__engine_get;
+ static PyObject *__pyx_n_s__engine_only;
+ static PyObject *__pyx_n_s__engine_set;
+ static PyObject *__pyx_n_s__entry;
+ static PyObject *__pyx_n_s__entry_get;
+ static PyObject *__pyx_n_s__enumerate;
+ static PyObject *__pyx_n_s__err;
+ static PyObject *__pyx_n_s__evas_event_callback;
+ static PyObject *__pyx_n_s__event;
+ static PyObject *__pyx_n_s__event_conv;
+ static PyObject *__pyx_n_s__evt;
+ static PyObject *__pyx_n_s__exit;
+ static PyObject *__pyx_n_s__expanded;
+ static PyObject *__pyx_n_s__expanded_get;
+ static PyObject *__pyx_n_s__expanded_set;
+ static PyObject *__pyx_n_s__extract_stack;
+ static PyObject *__pyx_n_s__f;
+ static PyObject *__pyx_n_s__failing_url;
+ static PyObject *__pyx_n_s__fieldtype;
+ static PyObject *__pyx_n_s__file;
+ static PyObject *__pyx_n_s__filename;
+ static PyObject *__pyx_n_s__fileselector;
+ static PyObject *__pyx_n_s__fileselector_button;
+ static PyObject *__pyx_n_s__fileselector_entry;
+ static PyObject *__pyx_n_s__filled_get;
+ static PyObject *__pyx_n_s__filled_set;
+ static PyObject *__pyx_n_s__first;
+ static PyObject *__pyx_n_s__first_item_get;
+ static PyObject *__pyx_n_s__flags;
+ static PyObject *__pyx_n_s__flat;
+ static PyObject *__pyx_n_s__flip;
+ static PyObject *__pyx_n_s__flipselector;
+ static PyObject *__pyx_n_s__flon;
+ static PyObject *__pyx_n_s__foc;
+ static PyObject *__pyx_n_s__focus_allow_get;
+ static PyObject *__pyx_n_s__focus_allow_set;
+ static PyObject *__pyx_n_s__focused;
+ static PyObject *__pyx_n_s__font;
+ static PyObject *__pyx_n_s__format;
+ static PyObject *__pyx_n_s__fourth;
+ static PyObject *__pyx_n_s__frame;
+ static PyObject *__pyx_n_s__from_a;
+ static PyObject *__pyx_n_s__from_b;
+ static PyObject *__pyx_n_s__from_degree;
+ static PyObject *__pyx_n_s__from_dx;
+ static PyObject *__pyx_n_s__from_dy;
+ static PyObject *__pyx_n_s__from_g;
+ static PyObject *__pyx_n_s__from_h;
+ static PyObject *__pyx_n_s__from_layout;
+ static PyObject *__pyx_n_s__from_r;
+ static PyObject *__pyx_n_s__from_rate;
+ static PyObject *__pyx_n_s__from_w;
+ static PyObject *__pyx_n_s__fullscreen;
+ static PyObject *__pyx_n_s__func;
+ static PyObject *__pyx_n_s__g;
+ static PyObject *__pyx_n_s__gengrid;
+ static PyObject *__pyx_n_s__gengrid_get;
+ static PyObject *__pyx_n_s__genlist;
+ static PyObject *__pyx_n_s__gesture_layer;
+ static PyObject *__pyx_n_s__get;
+ static PyObject *__pyx_n_s__getLogger;
+ static PyObject *__pyx_n_s__get_func;
+ static PyObject *__pyx_n_s__grid;
+ static PyObject *__pyx_n_s__group;
+ static PyObject *__pyx_n_s__group_item_size_get;
+ static PyObject *__pyx_n_s__group_item_size_set;
+ static PyObject *__pyx_n_s__h;
+ static PyObject *__pyx_n_s__h_bounce;
+ static PyObject *__pyx_n_s__h_pagenum;
+ static PyObject *__pyx_n_s__h_pagenumber;
+ static PyObject *__pyx_n_s__h_pagerel;
+ static PyObject *__pyx_n_s__h_pagesize;
+ static PyObject *__pyx_n_s__height;
+ static PyObject *__pyx_n_s__hide_get;
+ static PyObject *__pyx_n_s__hide_set;
+ static PyObject *__pyx_n_s__highlight_mode_get;
+ static PyObject *__pyx_n_s__highlight_mode_set;
+ static PyObject *__pyx_n_s__hitsize;
+ static PyObject *__pyx_n_s__horizontal;
+ static PyObject *__pyx_n_s__horizontal_get;
+ static PyObject *__pyx_n_s__horizontal_set;
+ static PyObject *__pyx_n_s__hours;
+ static PyObject *__pyx_n_s__hover;
+ static PyObject *__pyx_n_s__hover_bottom;
+ static PyObject *__pyx_n_s__hover_left;
+ static PyObject *__pyx_n_s__hover_parent;
+ static PyObject *__pyx_n_s__hover_right;
+ static PyObject *__pyx_n_s__hover_top;
+ static PyObject *__pyx_n_s__hoversel;
+ static PyObject *__pyx_n_s__i;
+ static PyObject *__pyx_n_s__icon;
+ static PyObject *__pyx_n_s__icon_file;
+ static PyObject *__pyx_n_s__icon_get;
+ static PyObject *__pyx_n_s__icon_group;
+ static PyObject *__pyx_n_s__icon_set;
+ static PyObject *__pyx_n_s__icon_type;
+ static PyObject *__pyx_n_s__iconified;
+ static PyObject *__pyx_n_s__idx;
+ static PyObject *__pyx_n_s__image;
+ static PyObject *__pyx_n_s__img;
+ static PyObject *__pyx_n_s__in_search_path;
+ static PyObject *__pyx_n_s__index;
+ static PyObject *__pyx_n_s__index_get;
+ static PyObject *__pyx_n_s__info;
+ static PyObject *__pyx_n_s__init;
+ static PyObject *__pyx_n_s__inwin;
+ static PyObject *__pyx_n_s__is_cancellation;
+ static PyObject *__pyx_n_s__is_playing_get;
+ static PyObject *__pyx_n_s__is_seekable_get;
+ static PyObject *__pyx_n_s__is_user;
+ static PyObject *__pyx_n_s__it;
+ static PyObject *__pyx_n_s__item;
+ static PyObject *__pyx_n_s__item_class;
+ static PyObject *__pyx_n_s__item_data;
+ static PyObject *__pyx_n_s__item_size_get;
+ static PyObject *__pyx_n_s__item_size_set;
+ static PyObject *__pyx_n_s__item_style;
+ static PyObject *__pyx_n_s__items_get;
+ static PyObject *__pyx_n_s__itf;
+ static PyObject *__pyx_n_s__key;
+ static PyObject *__pyx_n_s__kind;
+ static PyObject *__pyx_n_s__label;
+ static PyObject *__pyx_n_s__last_item_get;
+ static PyObject *__pyx_n_s__last_page_get;
+ static PyObject *__pyx_n_s__lat;
+ static PyObject *__pyx_n_s__layout;
+ static PyObject *__pyx_n_s__letter;
+ static PyObject *__pyx_n_s__level;
+ static PyObject *__pyx_n_s__list;
+ static PyObject *__pyx_n_s__load;
+ static PyObject *__pyx_n_s__loaded;
+ static PyObject *__pyx_n_s__log;
+ static PyObject *__pyx_n_s__logging;
+ static PyObject *__pyx_n_s__lon;
+ static PyObject *__pyx_n_s__longpressed;
+ static PyObject *__pyx_n_s__lst;
+ static PyObject *__pyx_n_s__magnet_pos_get;
+ static PyObject *__pyx_n_s__magnet_pos_set;
+ static PyObject *__pyx_n_s__map;
+ static PyObject *__pyx_n_s__mapbuf;
+ static PyObject *__pyx_n_s__mark_time;
+ static PyObject *__pyx_n_s__mark_type;
+ static PyObject *__pyx_n_s__markup_to_utf8;
+ static PyObject *__pyx_n_s__max;
+ static PyObject *__pyx_n_s__maximized;
+ static PyObject *__pyx_n_s__mbe;
+ static PyObject *__pyx_n_s__members_get;
+ static PyObject *__pyx_n_s__menu;
+ static PyObject *__pyx_n_s__method;
+ static PyObject *__pyx_n_s__min;
+ static PyObject *__pyx_n_s__minutes;
+ static PyObject *__pyx_n_s__mirrored_get;
+ static PyObject *__pyx_n_s__mirrored_set;
+ static PyObject *__pyx_n_s__mode;
+ static PyObject *__pyx_n_s__moved;
+ static PyObject *__pyx_n_s__multi_select_get;
+ static PyObject *__pyx_n_s__multi_select_set;
+ static PyObject *__pyx_n_s__multibuttonentry;
+ static PyObject *__pyx_n_s__name;
+ static PyObject *__pyx_n_s__name_cb;
+ static PyObject *__pyx_n_s__naviframe;
+ static PyObject *__pyx_n_s__need_e_dbus;
+ static PyObject *__pyx_n_s__need_efreet;
+ static PyObject *__pyx_n_s__need_ethumb;
+ static PyObject *__pyx_n_s__need_web;
+ static PyObject *__pyx_n_s__next_btn;
+ static PyObject *__pyx_n_s__next_get;
+ static PyObject *__pyx_n_s__node_get;
+ static PyObject *__pyx_n_s__normal;
+ static PyObject *__pyx_n_s__notify;
+ static PyObject *__pyx_n_s__obj;
+ static PyObject *__pyx_n_s__object_item;
+ static PyObject *__pyx_n_s__overflowed;
+ static PyObject *__pyx_n_s__overlays_get;
+ static PyObject *__pyx_n_s__page_relative_get;
+ static PyObject *__pyx_n_s__page_relative_set;
+ static PyObject *__pyx_n_s__panel;
+ static PyObject *__pyx_n_s__panes;
+ static PyObject *__pyx_n_s__parent;
+ static PyObject *__pyx_n_s__parent_get;
+ static PyObject *__pyx_n_s__parent_item;
+ static PyObject *__pyx_n_s__parent_widget_get;
+ static PyObject *__pyx_n_s__part;
+ static PyObject *__pyx_n_s__part_content_get;
+ static PyObject *__pyx_n_s__part_name;
+ static PyObject *__pyx_n_s__parts;
+ static PyObject *__pyx_n_s__path;
+ static PyObject *__pyx_n_s__paused_get;
+ static PyObject *__pyx_n_s__paused_set;
+ static PyObject *__pyx_n_s__photo;
+ static PyObject *__pyx_n_s__photocam;
+ static PyObject *__pyx_n_s__play_length_get;
+ static PyObject *__pyx_n_s__play_position_get;
+ static PyObject *__pyx_n_s__play_position_set;
+ static PyObject *__pyx_n_s__player;
+ static PyObject *__pyx_n_s__plug;
+ static PyObject *__pyx_n_s__policy;
+ static PyObject *__pyx_n_s__policy_get;
+ static PyObject *__pyx_n_s__policy_h;
+ static PyObject *__pyx_n_s__policy_set;
+ static PyObject *__pyx_n_s__policy_v;
+ static PyObject *__pyx_n_s__pop;
+ static PyObject *__pyx_n_s__pop_to;
+ static PyObject *__pyx_n_s__popup;
+ static PyObject *__pyx_n_s__pos;
+ static PyObject *__pyx_n_s__pos_changed;
+ static PyObject *__pyx_n_s__press;
+ static PyObject *__pyx_n_s__pressed;
+ static PyObject *__pyx_n_s__prev_btn;
+ static PyObject *__pyx_n_s__prev_get;
+ static PyObject *__pyx_n_s__print_exc;
+ static PyObject *__pyx_n_s__profile;
+ static PyObject *__pyx_n_s__progressbar;
+ static PyObject *__pyx_n_s__promote;
+ static PyObject *__pyx_n_s__ptr;
+ static PyObject *__pyx_n_s__r;
+ static PyObject *__pyx_n_s__radio;
+ static PyObject *__pyx_n_s__radius;
+ static PyObject *__pyx_n_s__realized;
+ static PyObject *__pyx_n_s__realized_items_get;
+ static PyObject *__pyx_n_s__recurse;
+ static PyObject *__pyx_n_s__reference;
+ static PyObject *__pyx_n_s__region_get;
+ static PyObject *__pyx_n_s__region_set;
+ static PyObject *__pyx_n_s__relative_child;
+ static PyObject *__pyx_n_s__remove;
+ static PyObject *__pyx_n_s__reorder_mode_get;
+ static PyObject *__pyx_n_s__reorder_mode_set;
+ static PyObject *__pyx_n_s__repeat;
+ static PyObject *__pyx_n_s__repeated;
+ static PyObject *__pyx_n_s__ret;
+ static PyObject *__pyx_n_s__rotate_get;
+ static PyObject *__pyx_n_s__rotate_set;
+ static PyObject *__pyx_n_s__route;
+ static PyObject *__pyx_n_s__route_cb;
+ static PyObject *__pyx_n_s__row;
+ static PyObject *__pyx_n_s__rowspan;
+ static PyObject *__pyx_n_s__run;
+ static PyObject *__pyx_n_s__s;
+ static PyObject *__pyx_n_s__scale;
+ static PyObject *__pyx_n_s__scale_get;
+ static PyObject *__pyx_n_s__scale_set;
+ static PyObject *__pyx_n_s__scroll;
+ static PyObject *__pyx_n_s__scroll_lock_x_get;
+ static PyObject *__pyx_n_s__scroll_lock_x_set;
+ static PyObject *__pyx_n_s__scroll_lock_y_get;
+ static PyObject *__pyx_n_s__scroll_lock_y_set;
+ static PyObject *__pyx_n_s__scroller;
+ 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__second;
+ static PyObject *__pyx_n_s__seconds;
+ static PyObject *__pyx_n_s__segment_control;
+ static PyObject *__pyx_n_s__select_mode_get;
+ static PyObject *__pyx_n_s__select_mode_set;
+ static PyObject *__pyx_n_s__selected;
+ static PyObject *__pyx_n_s__selected_get;
+ static PyObject *__pyx_n_s__selected_item_get;
+ static PyObject *__pyx_n_s__selected_items_get;
+ static PyObject *__pyx_n_s__selected_set;
+ static PyObject *__pyx_n_s__self;
+ static PyObject *__pyx_n_s__separator;
+ static PyObject *__pyx_n_s__setdefault;
+ static PyObject *__pyx_n_s__shutdown;
+ static PyObject *__pyx_n_s__size;
+ static PyObject *__pyx_n_s__size_down;
+ static PyObject *__pyx_n_s__size_up;
+ static PyObject *__pyx_n_s__slider;
+ static PyObject *__pyx_n_s__slideshow;
+ static PyObject *__pyx_n_s__source;
+ static PyObject *__pyx_n_s__source_name;
+ static PyObject *__pyx_n_s__spinner;
+ static PyObject *__pyx_n_s__standardwin;
+ static PyObject *__pyx_n_s__state_get;
+ static PyObject *__pyx_n_s__state_get_func;
+ static PyObject *__pyx_n_s__staticmethod;
+ static PyObject *__pyx_n_s__stick;
+ static PyObject *__pyx_n_s__str;
+ static PyObject *__pyx_n_s__string;
+ static PyObject *__pyx_n_s__style;
+ static PyObject *__pyx_n_s__style_get;
+ static PyObject *__pyx_n_s__style_set;
+ static PyObject *__pyx_n_s__subobj;
+ static PyObject *__pyx_n_s__svcname;
+ static PyObject *__pyx_n_s__svcnum;
+ static PyObject *__pyx_n_s__svcsys;
+ static PyObject *__pyx_n_s__swallow;
+ static PyObject *__pyx_n_s__swipe;
+ static PyObject *__pyx_n_s__sys;
+ static PyObject *__pyx_n_s__t;
+ static PyObject *__pyx_n_s__table;
+ static PyObject *__pyx_n_s__text;
+ static PyObject *__pyx_n_s__text_class;
+ static PyObject *__pyx_n_s__text_get;
+ static PyObject *__pyx_n_s__text_get_func;
+ static PyObject *__pyx_n_s__text_set;
+ static PyObject *__pyx_n_s__theme_extension_add;
+ static PyObject *__pyx_n_s__theme_full_flush;
+ static PyObject *__pyx_n_s__theme_overlay_add;
+ static PyObject *__pyx_n_s__third;
+ static PyObject *__pyx_n_s__thumb;
+ static PyObject *__pyx_n_s__timeout;
+ static PyObject *__pyx_n_s__times_h;
+ static PyObject *__pyx_n_s__times_w;
+ static PyObject *__pyx_n_s__timetuple;
+ static PyObject *__pyx_n_s__title;
+ static PyObject *__pyx_n_s__title_get;
+ static PyObject *__pyx_n_s__title_label;
+ static PyObject *__pyx_n_s__tlat;
+ static PyObject *__pyx_n_s__tlon;
+ static PyObject *__pyx_n_s__tlot;
+ static PyObject *__pyx_n_s__tm_hour;
+ static PyObject *__pyx_n_s__tm_isdst;
+ static PyObject *__pyx_n_s__tm_mday;
+ static PyObject *__pyx_n_s__tm_min;
+ static PyObject *__pyx_n_s__tm_mon;
+ static PyObject *__pyx_n_s__tm_sec;
+ static PyObject *__pyx_n_s__tm_wday;
+ static PyObject *__pyx_n_s__tm_yday;
+ static PyObject *__pyx_n_s__tm_year;
+ static PyObject *__pyx_n_s__to_a;
+ static PyObject *__pyx_n_s__to_b;
+ static PyObject *__pyx_n_s__to_degree;
+ static PyObject *__pyx_n_s__to_dx;
+ static PyObject *__pyx_n_s__to_dy;
+ static PyObject *__pyx_n_s__to_g;
+ static PyObject *__pyx_n_s__to_h;
+ static PyObject *__pyx_n_s__to_layout;
+ static PyObject *__pyx_n_s__to_r;
+ static PyObject *__pyx_n_s__to_rate;
+ static PyObject *__pyx_n_s__to_w;
+ static PyObject *__pyx_n_s__toolbar;
+ static PyObject *__pyx_n_s__tooltip_style_get;
+ static PyObject *__pyx_n_s__tooltip_style_set;
+ static PyObject *__pyx_n_s__tooltip_text_get;
+ static PyObject *__pyx_n_s__top_widget_get;
+ static PyObject *__pyx_n_s__traceback;
+ static PyObject *__pyx_n_s__type;
+ static PyObject *__pyx_n_s__type_get;
+ static PyObject *__pyx_n_s__underflowed;
+ static PyObject *__pyx_n_s__unfocused;
+ static PyObject *__pyx_n_s__unfullscreen;
+ static PyObject *__pyx_n_s__unmaximized;
+ static PyObject *__pyx_n_s__unpress;
+ static PyObject *__pyx_n_s__unpressed;
+ static PyObject *__pyx_n_s__unrealized;
+ static PyObject *__pyx_n_s__unselected;
+ static PyObject *__pyx_n_s__unstick;
+ static PyObject *__pyx_n_s__uri_get;
+ static PyObject *__pyx_n_s__uri_set;
+ static PyObject *__pyx_n_s__url;
+ static PyObject *__pyx_n_s__user_agent_get;
+ static PyObject *__pyx_n_s__user_agent_set;
+ static PyObject *__pyx_n_s__utf8_to_markup;
+ static PyObject *__pyx_n_s__v;
+ static PyObject *__pyx_n_s__v_bounce;
+ static PyObject *__pyx_n_s__v_pagenum;
+ static PyObject *__pyx_n_s__v_pagenumber;
+ static PyObject *__pyx_n_s__v_pagerel;
+ static PyObject *__pyx_n_s__v_pagesize;
+ static PyObject *__pyx_n_s__val;
+ static PyObject *__pyx_n_s__value;
+ static PyObject *__pyx_n_s__vertical;
+ static PyObject *__pyx_n_s__video;
+ static PyObject *__pyx_n_s__visible;
+ static PyObject *__pyx_n_s__visible_get;
+ static PyObject *__pyx_n_s__w;
+ static PyObject *__pyx_n_s__warn;
+ static PyObject *__pyx_n_s__waypoint_get;
+ static PyObject *__pyx_n_s__web;
+ static PyObject *__pyx_n_s__wheel_disabled_get;
+ static PyObject *__pyx_n_s__wheel_disabled_set;
+ static PyObject *__pyx_n_s__widget;
+ static PyObject *__pyx_n_s__width;
+ static PyObject *__pyx_n_s__win;
+ static PyObject *__pyx_n_s__withdrawn;
+ static PyObject *__pyx_n_s__x;
+ static PyObject *__pyx_n_s__y;
+ static PyObject *__pyx_n_s__zoom_get;
+ static PyObject *__pyx_n_s__zoom_max_get;
+ static PyObject *__pyx_n_s__zoom_max_set;
+ static PyObject *__pyx_n_s__zoom_min_get;
+ static PyObject *__pyx_n_s__zoom_min_set;
+ static PyObject *__pyx_n_s__zoom_mode_get;
+ static PyObject *__pyx_n_s__zoom_mode_set;
+ static PyObject *__pyx_n_s__zoom_set;
+ static PyObject *__pyx_int_0;
+ static PyObject *__pyx_int_1;
+ static PyObject *__pyx_int_neg_1;
+ static PyObject *__pyx_int_1900;
+ static PyObject *__pyx_k_14;
+ static PyObject *__pyx_k_98;
+ static PyObject *__pyx_k_129;
+ static PyObject *__pyx_k_130;
+ static PyObject *__pyx_k_132;
+ static int __pyx_k_133;
+ static int __pyx_k_136;
+ static int __pyx_k_138;
+ static int __pyx_k_140;
+ static PyObject *__pyx_k_163;
+ static PyObject *__pyx_k_164;
+ static PyObject *__pyx_k_tuple_6;
+ static PyObject *__pyx_k_tuple_8;
+ static PyObject *__pyx_k_tuple_17;
+ static PyObject *__pyx_k_tuple_27;
+ static PyObject *__pyx_k_tuple_32;
+ static PyObject *__pyx_k_tuple_34;
+ static PyObject *__pyx_k_tuple_38;
+ static PyObject *__pyx_k_tuple_41;
+ static PyObject *__pyx_k_tuple_42;
+ static PyObject *__pyx_k_tuple_44;
+ static PyObject *__pyx_k_tuple_49;
+ static PyObject *__pyx_k_tuple_50;
+ static PyObject *__pyx_k_tuple_51;
+ static PyObject *__pyx_k_tuple_52;
+ static PyObject *__pyx_k_tuple_53;
+ static PyObject *__pyx_k_tuple_54;
+ static PyObject *__pyx_k_tuple_55;
+ static PyObject *__pyx_k_tuple_56;
+ static PyObject *__pyx_k_tuple_57;
+ static PyObject *__pyx_k_tuple_58;
+ static PyObject *__pyx_k_tuple_59;
+ static PyObject *__pyx_k_tuple_75;
+ static PyObject *__pyx_k_tuple_97;
+ static PyObject *__pyx_k_tuple_100;
+ static PyObject *__pyx_k_tuple_101;
+ static PyObject *__pyx_k_tuple_102;
+ static PyObject *__pyx_k_tuple_104;
+ static PyObject *__pyx_k_tuple_106;
+ static PyObject *__pyx_k_tuple_107;
+ static PyObject *__pyx_k_tuple_109;
+ static PyObject *__pyx_k_tuple_110;
+ static PyObject *__pyx_k_tuple_117;
+ static PyObject *__pyx_k_tuple_119;
+ static PyObject *__pyx_k_tuple_121;
+ static PyObject *__pyx_k_tuple_123;
+ static PyObject *__pyx_k_tuple_131;
+ static PyObject *__pyx_k_tuple_135;
+ static PyObject *__pyx_k_tuple_137;
+ static PyObject *__pyx_k_tuple_139;
+ static PyObject *__pyx_k_tuple_141;
+ static PyObject *__pyx_k_tuple_158;
+ static PyObject *__pyx_k_tuple_159;
+ static PyObject *__pyx_k_tuple_160;
+ static PyObject *__pyx_k_tuple_161;
+ static PyObject *__pyx_k_tuple_165;
+ static PyObject *__pyx_k_tuple_168;
+ static PyObject *__pyx_k_tuple_169;
+ static PyObject *__pyx_k_tuple_170;
+ static PyObject *__pyx_k_tuple_171;
+ static PyObject *__pyx_k_tuple_175;
+ static PyObject *__pyx_k_tuple_177;
+ static PyObject *__pyx_k_tuple_191;
+ static PyObject *__pyx_k_tuple_192;
+ static PyObject *__pyx_k_tuple_195;
+ static PyObject *__pyx_k_tuple_210;
+ static PyObject *__pyx_k_tuple_211;
+ static PyObject *__pyx_k_tuple_212;
+ static PyObject *__pyx_k_tuple_213;
+ static PyObject *__pyx_k_tuple_216;
+ static PyObject *__pyx_k_tuple_232;
+ static PyObject *__pyx_k_tuple_241;
+ static PyObject *__pyx_k_tuple_242;
+ static PyObject *__pyx_k_tuple_245;
+ static PyObject *__pyx_k_tuple_247;
+ static PyObject *__pyx_k_tuple_251;
+ static PyObject *__pyx_k_tuple_252;
+ static PyObject *__pyx_k_tuple_693;
+ static PyObject *__pyx_k_tuple_694;
+ static PyObject *__pyx_k_tuple_701;
+ static PyObject *__pyx_k_tuple_703;
+ static PyObject *__pyx_k_tuple_705;
+ static PyObject *__pyx_k_tuple_708;
+ static PyObject *__pyx_k_tuple_710;
+ static PyObject *__pyx_k_tuple_716;
+ static PyObject *__pyx_k_tuple_721;
+ static PyObject *__pyx_k_tuple_726;
+ static PyObject *__pyx_k_tuple_731;
+ static PyObject *__pyx_k_tuple_736;
+ static PyObject *__pyx_k_tuple_740;
+ static PyObject *__pyx_k_tuple_743;
+ static PyObject *__pyx_k_tuple_746;
+ static PyObject *__pyx_k_tuple_753;
+ static PyObject *__pyx_k_tuple_758;
+ static PyObject *__pyx_k_tuple_761;
+ static PyObject *__pyx_k_tuple_763;
+ static PyObject *__pyx_k_tuple_766;
+ static PyObject *__pyx_k_tuple_769;
+ static PyObject *__pyx_k_tuple_772;
+ static PyObject *__pyx_k_tuple_775;
+ static PyObject *__pyx_k_tuple_779;
+ static PyObject *__pyx_k_tuple_782;
+ static PyObject *__pyx_k_tuple_784;
+ static PyObject *__pyx_k_tuple_786;
+ static PyObject *__pyx_k_tuple_788;
+ static PyObject *__pyx_k_tuple_790;
+ static PyObject *__pyx_k_tuple_793;
+ static PyObject *__pyx_k_tuple_795;
+ static PyObject *__pyx_k_codeobj_695;
+ static PyObject *__pyx_k_codeobj_698;
+ static PyObject *__pyx_k_codeobj_699;
+ static PyObject *__pyx_k_codeobj_700;
+ static PyObject *__pyx_k_codeobj_702;
+ static PyObject *__pyx_k_codeobj_704;
+ static PyObject *__pyx_k_codeobj_706;
+ static PyObject *__pyx_k_codeobj_709;
+ static PyObject *__pyx_k_codeobj_711;
+ static PyObject *__pyx_k_codeobj_713;
+ static PyObject *__pyx_k_codeobj_717;
+ static PyObject *__pyx_k_codeobj_719;
+ static PyObject *__pyx_k_codeobj_722;
+ static PyObject *__pyx_k_codeobj_724;
+ static PyObject *__pyx_k_codeobj_727;
+ static PyObject *__pyx_k_codeobj_729;
+ static PyObject *__pyx_k_codeobj_732;
+ static PyObject *__pyx_k_codeobj_734;
+ static PyObject *__pyx_k_codeobj_737;
+ static PyObject *__pyx_k_codeobj_739;
+ static PyObject *__pyx_k_codeobj_741;
+ static PyObject *__pyx_k_codeobj_742;
+ static PyObject *__pyx_k_codeobj_744;
+ static PyObject *__pyx_k_codeobj_745;
+ static PyObject *__pyx_k_codeobj_747;
+ static PyObject *__pyx_k_codeobj_748;
+ static PyObject *__pyx_k_codeobj_750;
+ static PyObject *__pyx_k_codeobj_751;
+ static PyObject *__pyx_k_codeobj_752;
+ static PyObject *__pyx_k_codeobj_754;
+ static PyObject *__pyx_k_codeobj_757;
+ static PyObject *__pyx_k_codeobj_759;
+ static PyObject *__pyx_k_codeobj_762;
+ static PyObject *__pyx_k_codeobj_764;
+ static PyObject *__pyx_k_codeobj_767;
+ static PyObject *__pyx_k_codeobj_770;
+ static PyObject *__pyx_k_codeobj_773;
+ static PyObject *__pyx_k_codeobj_776;
+ static PyObject *__pyx_k_codeobj_780;
+ static PyObject *__pyx_k_codeobj_783;
+ static PyObject *__pyx_k_codeobj_785;
+ static PyObject *__pyx_k_codeobj_787;
+ static PyObject *__pyx_k_codeobj_789;
+ static PyObject *__pyx_k_codeobj_791;
+ static PyObject *__pyx_k_codeobj_794;
+ static PyObject *__pyx_k_codeobj_796;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":205
+ * log = logging.getLogger("elementary")
+ *
+ * cdef int PY_REFCOUNT(object o): # <<<<<<<<<<<<<<
+ * cdef PyObject *obj = <PyObject *>o
+ * return obj.ob_refcnt
+ */
+
+static int __pyx_f_10elementary_12c_elementary_PY_REFCOUNT(PyObject *__pyx_v_o) {
+ PyObject *__pyx_v_obj;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("PY_REFCOUNT", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":206
+ *
+ * cdef int PY_REFCOUNT(object o):
+ * cdef PyObject *obj = <PyObject *>o # <<<<<<<<<<<<<<
+ * return obj.ob_refcnt
+ *
+ */
+ __pyx_v_obj = ((PyObject *)__pyx_v_o);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":207
+ * cdef int PY_REFCOUNT(object o):
+ * cdef PyObject *obj = <PyObject *>o
+ * return obj.ob_refcnt # <<<<<<<<<<<<<<
+ *
+ * cdef _METHOD_DEPRECATED(self, replacement=None, message=None):
+ */
+ __pyx_r = __pyx_v_obj->ob_refcnt;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":209
+ * return obj.ob_refcnt
+ *
+ * cdef _METHOD_DEPRECATED(self, replacement=None, message=None): # <<<<<<<<<<<<<<
+ * stack = traceback.extract_stack()
+ * caller = stack[-1]
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__METHOD_DEPRECATED(PyObject *__pyx_v_self, struct __pyx_opt_args_10elementary_12c_elementary__METHOD_DEPRECATED *__pyx_optional_args) {
+ PyObject *__pyx_v_replacement = ((PyObject *)Py_None);
+ PyObject *__pyx_v_message = ((PyObject *)Py_None);
+ PyObject *__pyx_v_stack = NULL;
+ PyObject *__pyx_v_caller = NULL;
+ PyObject *__pyx_v_caller_module = NULL;
+ PyObject *__pyx_v_caller_line = NULL;
+ PyObject *__pyx_v_caller_name = NULL;
+ PyObject *__pyx_v_caller_code = NULL;
+ PyObject *__pyx_v_msg = NULL;
+ 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)(PyObject *);
+ int __pyx_t_7;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_METHOD_DEPRECATED", 0);
+ if (__pyx_optional_args) {
+ if (__pyx_optional_args->__pyx_n > 0) {
+ __pyx_v_replacement = __pyx_optional_args->replacement;
+ if (__pyx_optional_args->__pyx_n > 1) {
+ __pyx_v_message = __pyx_optional_args->message;
+ }
+ }
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":210
+ *
+ * cdef _METHOD_DEPRECATED(self, replacement=None, message=None):
+ * stack = traceback.extract_stack() # <<<<<<<<<<<<<<
+ * caller = stack[-1]
+ * caller_module, caller_line, caller_name, caller_code = caller
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s__extract_stack); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_stack = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":211
+ * cdef _METHOD_DEPRECATED(self, replacement=None, message=None):
+ * stack = traceback.extract_stack()
+ * caller = stack[-1] # <<<<<<<<<<<<<<
+ * caller_module, caller_line, caller_name, caller_code = caller
+ * if caller_code:
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_stack, -1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_caller = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":212
+ * stack = traceback.extract_stack()
+ * caller = stack[-1]
+ * caller_module, caller_line, caller_name, caller_code = caller # <<<<<<<<<<<<<<
+ * if caller_code:
+ * msg = "%s:%s %s (class %s) is deprecated." % \
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_caller))) || (PyList_CheckExact(__pyx_v_caller))) {
+ PyObject* sequence = __pyx_v_caller;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_5 = PyObject_GetIter(__pyx_v_caller); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = Py_TYPE(__pyx_t_5)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 3; __pyx_t_4 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_5), 4) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_caller_module = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_caller_line = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_caller_name = __pyx_t_3;
+ __pyx_t_3 = 0;
+ __pyx_v_caller_code = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":213
+ * caller = stack[-1]
+ * caller_module, caller_line, caller_name, caller_code = caller
+ * if caller_code: # <<<<<<<<<<<<<<
+ * msg = "%s:%s %s (class %s) is deprecated." % \
+ * (caller_module, caller_line, caller_code,
+ */
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_caller_code); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_7) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":216
+ * msg = "%s:%s %s (class %s) is deprecated." % \
+ * (caller_module, caller_line, caller_code,
+ * self.__class__.__name__ if self else 'None') # <<<<<<<<<<<<<<
+ * else:
+ * msg = "%s:%s %s.%s() is deprecated." % \
+ */
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_self); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_7) {
+ __pyx_t_3 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s____class__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __pyx_t_2;
+ __pyx_t_2 = 0;
+ } else {
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__None));
+ __pyx_t_4 = ((PyObject *)__pyx_n_s__None);
+ }
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_caller_module);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_caller_module);
+ __Pyx_GIVEREF(__pyx_v_caller_module);
+ __Pyx_INCREF(__pyx_v_caller_line);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_caller_line);
+ __Pyx_GIVEREF(__pyx_v_caller_line);
+ __Pyx_INCREF(__pyx_v_caller_code);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_caller_code);
+ __Pyx_GIVEREF(__pyx_v_caller_code);
+ PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_v_msg = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":220
+ * msg = "%s:%s %s.%s() is deprecated." % \
+ * (caller_module, caller_line,
+ * self.__class__.__name__ if self else 'None', caller_name) # <<<<<<<<<<<<<<
+ * if replacement:
+ * msg += " Use %s() instead." % (replacement,)
+ */
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_self); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_7) {
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_self, __pyx_n_s____class__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s____name__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = __pyx_t_3;
+ __pyx_t_3 = 0;
+ } else {
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__None));
+ __pyx_t_4 = ((PyObject *)__pyx_n_s__None);
+ }
+ __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_caller_module);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_caller_module);
+ __Pyx_GIVEREF(__pyx_v_caller_module);
+ __Pyx_INCREF(__pyx_v_caller_line);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_caller_line);
+ __Pyx_GIVEREF(__pyx_v_caller_line);
+ PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_caller_name);
+ PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_v_caller_name);
+ __Pyx_GIVEREF(__pyx_v_caller_name);
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_v_msg = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":221
+ * (caller_module, caller_line,
+ * self.__class__.__name__ if self else 'None', caller_name)
+ * if replacement: # <<<<<<<<<<<<<<
+ * msg += " Use %s() instead." % (replacement,)
+ * if message:
+ */
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_replacement); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_7) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":222
+ * self.__class__.__name__ if self else 'None', caller_name)
+ * if replacement:
+ * msg += " Use %s() instead." % (replacement,) # <<<<<<<<<<<<<<
+ * if message:
+ * msg += " " + message
+ */
+ __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_replacement);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_replacement);
+ __Pyx_GIVEREF(__pyx_v_replacement);
+ __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_3), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_msg, ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_v_msg);
+ __pyx_v_msg = __pyx_t_4;
+ __pyx_t_4 = 0;
+ goto __pyx_L6;
+ }
+ __pyx_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":223
+ * if replacement:
+ * msg += " Use %s() instead." % (replacement,)
+ * if message: # <<<<<<<<<<<<<<
+ * msg += " " + message
+ * log.warn(msg)
+ */
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_message); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_7) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":224
+ * msg += " Use %s() instead." % (replacement,)
+ * if message:
+ * msg += " " + message # <<<<<<<<<<<<<<
+ * log.warn(msg)
+ *
+ */
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_kp_s_4), __pyx_v_message); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_3 = PyNumber_InPlaceAdd(__pyx_v_msg, __pyx_t_4); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_v_msg);
+ __pyx_v_msg = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L7;
+ }
+ __pyx_L7:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":225
+ * if message:
+ * msg += " " + message
+ * log.warn(msg) # <<<<<<<<<<<<<<
+ *
+ * cdef inline unicode _touni(char* s):
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s__log); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s__warn); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_msg);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_msg);
+ __Pyx_GIVEREF(__pyx_v_msg);
+ __pyx_t_2 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary._METHOD_DEPRECATED", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_stack);
+ __Pyx_XDECREF(__pyx_v_caller);
+ __Pyx_XDECREF(__pyx_v_caller_module);
+ __Pyx_XDECREF(__pyx_v_caller_line);
+ __Pyx_XDECREF(__pyx_v_caller_name);
+ __Pyx_XDECREF(__pyx_v_caller_code);
+ __Pyx_XDECREF(__pyx_v_msg);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":227
+ * log.warn(msg)
+ *
+ * cdef inline unicode _touni(char* s): # <<<<<<<<<<<<<<
+ * return s.decode('UTF-8', 'strict')
+ *
+ */
+
+static CYTHON_INLINE PyObject *__pyx_f_10elementary_12c_elementary__touni(char *__pyx_v_s) {
+ 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("_touni", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":228
+ *
+ * cdef inline unicode _touni(char* s):
+ * return s.decode('UTF-8', 'strict') # <<<<<<<<<<<<<<
+ *
+ * cdef inline unicode _ctouni(const_char_ptr s):
+ */
+ __Pyx_XDECREF(((PyObject *)__pyx_r));
+ __pyx_t_1 = ((PyObject *)PyUnicode_DecodeUTF8(__pyx_v_s, strlen(__pyx_v_s), NULL)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ if (!(likely(PyUnicode_CheckExact(((PyObject *)__pyx_t_1)))||(PyErr_Format(PyExc_TypeError, "Expected unicode, got %.200s", Py_TYPE(((PyObject *)__pyx_t_1))->tp_name), 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = ((PyObject*)Py_None); __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary._touni", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":230
+ * return s.decode('UTF-8', 'strict')
+ *
+ * cdef inline unicode _ctouni(const_char_ptr s): # <<<<<<<<<<<<<<
+ * return s.decode('UTF-8', 'strict')
+ *
+ */
+
+static CYTHON_INLINE PyObject *__pyx_f_10elementary_12c_elementary__ctouni(const char * __pyx_v_s) {
+ 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("_ctouni", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":231
+ *
+ * cdef inline unicode _ctouni(const_char_ptr s):
+ * return s.decode('UTF-8', 'strict') # <<<<<<<<<<<<<<
+ *
+ * cdef inline char* _fruni(s):
+ */
+ __Pyx_XDECREF(((PyObject *)__pyx_r));
+ __pyx_t_1 = ((PyObject *)PyUnicode_DecodeUTF8(__pyx_v_s, strlen(__pyx_v_s), NULL)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ if (!(likely(PyUnicode_CheckExact(((PyObject *)__pyx_t_1)))||(PyErr_Format(PyExc_TypeError, "Expected unicode, got %.200s", Py_TYPE(((PyObject *)__pyx_t_1))->tp_name), 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = ((PyObject*)Py_None); __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary._ctouni", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":233
+ * return s.decode('UTF-8', 'strict')
+ *
+ * cdef inline char* _fruni(s): # <<<<<<<<<<<<<<
+ * cdef char* c_string
+ * if isinstance(s, unicode):
+ */
+
+static CYTHON_INLINE char *__pyx_f_10elementary_12c_elementary__fruni(PyObject *__pyx_v_s) {
+ char *__pyx_v_c_string;
+ PyObject *__pyx_v_string = NULL;
+ char *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ char *__pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_fruni", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":235
+ * cdef inline char* _fruni(s):
+ * cdef char* c_string
+ * if isinstance(s, unicode): # <<<<<<<<<<<<<<
+ * string = s.encode('UTF-8')
+ * c_string = string
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyUnicode_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_s, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":236
+ * cdef char* c_string
+ * if isinstance(s, unicode):
+ * string = s.encode('UTF-8') # <<<<<<<<<<<<<<
+ * c_string = string
+ * elif isinstance(s, str):
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_s, __pyx_n_s__encode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_6), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_string = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":237
+ * if isinstance(s, unicode):
+ * string = s.encode('UTF-8')
+ * c_string = string # <<<<<<<<<<<<<<
+ * elif isinstance(s, str):
+ * c_string = s
+ */
+ __pyx_t_4 = PyBytes_AsString(__pyx_v_string); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_c_string = __pyx_t_4;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":238
+ * string = s.encode('UTF-8')
+ * c_string = string
+ * elif isinstance(s, str): # <<<<<<<<<<<<<<
+ * c_string = s
+ * elif s is None:
+ */
+ __pyx_t_3 = ((PyObject *)((PyObject*)(&PyString_Type)));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_s, __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":239
+ * c_string = string
+ * elif isinstance(s, str):
+ * c_string = s # <<<<<<<<<<<<<<
+ * elif s is None:
+ * return NULL
+ */
+ __pyx_t_4 = PyBytes_AsString(__pyx_v_s); if (unlikely((!__pyx_t_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_c_string = __pyx_t_4;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":240
+ * elif isinstance(s, str):
+ * c_string = s
+ * elif s is None: # <<<<<<<<<<<<<<
+ * return NULL
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_s == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":241
+ * c_string = s
+ * elif s is None:
+ * return NULL # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__))
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":243
+ * return NULL
+ * else:
+ * raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__)) # <<<<<<<<<<<<<<
+ * return c_string
+ *
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)Py_TYPE(__pyx_v_s)), __pyx_n_s____name__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_1));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_Raise(__pyx_t_1, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ {__pyx_filename = __pyx_f[1]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":244
+ * else:
+ * raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__))
+ * return c_string # <<<<<<<<<<<<<<
+ *
+ * cdef inline const_char_ptr _cfruni(s):
+ */
+ __pyx_r = __pyx_v_c_string;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_WriteUnraisable("elementary.c_elementary._fruni", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_string);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":246
+ * return c_string
+ *
+ * cdef inline const_char_ptr _cfruni(s): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr c_string
+ * if isinstance(s, unicode):
+ */
+
+static CYTHON_INLINE const char * __pyx_f_10elementary_12c_elementary__cfruni(PyObject *__pyx_v_s) {
+ const char * __pyx_v_c_string;
+ PyObject *__pyx_v_string = NULL;
+ const char * __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ const char * __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_cfruni", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":248
+ * cdef inline const_char_ptr _cfruni(s):
+ * cdef const_char_ptr c_string
+ * if isinstance(s, unicode): # <<<<<<<<<<<<<<
+ * string = s.encode('UTF-8')
+ * c_string = string
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyUnicode_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_s, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":249
+ * cdef const_char_ptr c_string
+ * if isinstance(s, unicode):
+ * string = s.encode('UTF-8') # <<<<<<<<<<<<<<
+ * c_string = string
+ * elif isinstance(s, str):
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_s, __pyx_n_s__encode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_8), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_string = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":250
+ * if isinstance(s, unicode):
+ * string = s.encode('UTF-8')
+ * c_string = string # <<<<<<<<<<<<<<
+ * elif isinstance(s, str):
+ * c_string = s
+ */
+ __pyx_t_4 = PyBytes_AsString(__pyx_v_string); if (unlikely((__pyx_t_4 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_c_string = __pyx_t_4;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":251
+ * string = s.encode('UTF-8')
+ * c_string = string
+ * elif isinstance(s, str): # <<<<<<<<<<<<<<
+ * c_string = s
+ * elif s is None:
+ */
+ __pyx_t_3 = ((PyObject *)((PyObject*)(&PyString_Type)));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_s, __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":252
+ * c_string = string
+ * elif isinstance(s, str):
+ * c_string = s # <<<<<<<<<<<<<<
+ * elif s is None:
+ * return NULL
+ */
+ __pyx_t_4 = PyBytes_AsString(__pyx_v_s); if (unlikely((__pyx_t_4 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_c_string = __pyx_t_4;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":253
+ * elif isinstance(s, str):
+ * c_string = s
+ * elif s is None: # <<<<<<<<<<<<<<
+ * return NULL
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_s == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":254
+ * c_string = s
+ * elif s is None:
+ * return NULL # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__))
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":256
+ * return NULL
+ * else:
+ * raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__)) # <<<<<<<<<<<<<<
+ * return c_string
+ *
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)Py_TYPE(__pyx_v_s)), __pyx_n_s____name__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_1 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_7), __pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_1));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_Raise(__pyx_t_1, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ {__pyx_filename = __pyx_f[1]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":257
+ * else:
+ * raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__))
+ * return c_string # <<<<<<<<<<<<<<
+ *
+ * def init():
+ */
+ __pyx_r = __pyx_v_c_string;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_WriteUnraisable("elementary.c_elementary._cfruni", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_string);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_1init(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_1init = {__Pyx_NAMESTR("init"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_1init, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_1init(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("init (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_init(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":259
+ * return c_string
+ *
+ * def init(): # <<<<<<<<<<<<<<
+ * cdef int argc, i, arg_len
+ * cdef char **argv, *arg
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_init(CYTHON_UNUSED PyObject *__pyx_self) {
+ int __pyx_v_argc;
+ int __pyx_v_i;
+ int __pyx_v_arg_len;
+ char **__pyx_v_argv;
+ char *__pyx_v_arg;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Py_ssize_t __pyx_t_3;
+ int __pyx_t_4;
+ size_t __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("init", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":262
+ * cdef int argc, i, arg_len
+ * cdef char **argv, *arg
+ * argc = len(sys.argv) # <<<<<<<<<<<<<<
+ * argv = <char **>PyMem_Malloc(argc * sizeof(char *))
+ * for i from 0 <= i < argc:
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__sys); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s__argv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_3 = PyObject_Length(__pyx_t_2); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_argc = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":263
+ * cdef char **argv, *arg
+ * argc = len(sys.argv)
+ * argv = <char **>PyMem_Malloc(argc * sizeof(char *)) # <<<<<<<<<<<<<<
+ * for i from 0 <= i < argc:
+ * arg = _fruni(sys.argv[i])
+ */
+ __pyx_v_argv = ((char **)PyMem_Malloc((__pyx_v_argc * (sizeof(char *)))));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":264
+ * argc = len(sys.argv)
+ * argv = <char **>PyMem_Malloc(argc * sizeof(char *))
+ * for i from 0 <= i < argc: # <<<<<<<<<<<<<<
+ * arg = _fruni(sys.argv[i])
+ * arg_len = len(arg)
+ */
+ __pyx_t_4 = __pyx_v_argc;
+ for (__pyx_v_i = 0; __pyx_v_i < __pyx_t_4; __pyx_v_i++) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":265
+ * argv = <char **>PyMem_Malloc(argc * sizeof(char *))
+ * for i from 0 <= i < argc:
+ * arg = _fruni(sys.argv[i]) # <<<<<<<<<<<<<<
+ * arg_len = len(arg)
+ * argv[i] = <char *>PyMem_Malloc(arg_len + 1)
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__sys); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__argv); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_1, __pyx_v_i, sizeof(int), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_arg = __pyx_f_10elementary_12c_elementary__fruni(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":266
+ * for i from 0 <= i < argc:
+ * arg = _fruni(sys.argv[i])
+ * arg_len = len(arg) # <<<<<<<<<<<<<<
+ * argv[i] = <char *>PyMem_Malloc(arg_len + 1)
+ * memcpy(argv[i], arg, arg_len + 1)
+ */
+ __pyx_t_5 = strlen(__pyx_v_arg);
+ __pyx_v_arg_len = __pyx_t_5;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":267
+ * arg = _fruni(sys.argv[i])
+ * arg_len = len(arg)
+ * argv[i] = <char *>PyMem_Malloc(arg_len + 1) # <<<<<<<<<<<<<<
+ * memcpy(argv[i], arg, arg_len + 1)
+ *
+ */
+ (__pyx_v_argv[__pyx_v_i]) = ((char *)PyMem_Malloc((__pyx_v_arg_len + 1)));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":268
+ * arg_len = len(arg)
+ * argv[i] = <char *>PyMem_Malloc(arg_len + 1)
+ * memcpy(argv[i], arg, arg_len + 1) # <<<<<<<<<<<<<<
+ *
+ * elm_init(argc, argv)
+ */
+ memcpy((__pyx_v_argv[__pyx_v_i]), __pyx_v_arg, (__pyx_v_arg_len + 1));
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":270
+ * memcpy(argv[i], arg, arg_len + 1)
+ *
+ * elm_init(argc, argv) # <<<<<<<<<<<<<<
+ *
+ * def shutdown():
+ */
+ elm_init(__pyx_v_argc, __pyx_v_argv);
+
+ __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_AddTraceback("elementary.c_elementary.init", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3shutdown(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_3shutdown = {__Pyx_NAMESTR("shutdown"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3shutdown, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_3shutdown(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("shutdown (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_2shutdown(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":272
+ * elm_init(argc, argv)
+ *
+ * def shutdown(): # <<<<<<<<<<<<<<
+ * elm_shutdown()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_2shutdown(CYTHON_UNUSED PyObject *__pyx_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("shutdown", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":273
+ *
+ * def shutdown():
+ * elm_shutdown() # <<<<<<<<<<<<<<
+ *
+ * def run():
+ */
+ elm_shutdown();
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5run(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_5run = {__Pyx_NAMESTR("run"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5run, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_5run(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("run (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4run(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":275
+ * elm_shutdown()
+ *
+ * def run(): # <<<<<<<<<<<<<<
+ * with nogil:
+ * elm_run()
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4run(CYTHON_UNUSED PyObject *__pyx_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("run", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":276
+ *
+ * def run():
+ * with nogil: # <<<<<<<<<<<<<<
+ * elm_run()
+ *
+ */
+ {
+ #ifdef WITH_THREAD
+ PyThreadState *_save = NULL;
+ #endif
+ Py_UNBLOCK_THREADS
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":277
+ * def run():
+ * with nogil:
+ * elm_run() # <<<<<<<<<<<<<<
+ *
+ * def exit():
+ */
+ elm_run();
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":276
+ *
+ * def run():
+ * with nogil: # <<<<<<<<<<<<<<
+ * elm_run()
+ *
+ */
+ /*finally:*/ {
+ Py_BLOCK_THREADS
+ }
+ }
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_7exit(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_7exit = {__Pyx_NAMESTR("exit"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7exit, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_7exit(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("exit (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6exit(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":279
+ * elm_run()
+ *
+ * def exit(): # <<<<<<<<<<<<<<
+ * elm_exit()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6exit(CYTHON_UNUSED PyObject *__pyx_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("exit", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":280
+ *
+ * def exit():
+ * elm_exit() # <<<<<<<<<<<<<<
+ *
+ * def policy_set(policy, value):
+ */
+ elm_exit();
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_9policy_set(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8policy_set[] = "Set new policy value.\n\n This will emit the ecore event ELM_EVENT_POLICY_CHANGED in the main\n loop giving the event information Elm_Event_Policy_Changed with\n policy identifier, new and old values.\n\n @param policy: policy identifier as in Elm_Policy.\n @param value: policy value, depends on identifiers, usually there is\n an enumeration with the same prefix as the policy name, for\n example: ELM_POLICY_QUIT and Elm_Policy_Quit\n (ELM_POLICY_QUIT_NONE, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED).\n\n @return: True on success or False on error (right\n now just invalid policy identifier, but in future policy\n value might be enforced).\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_9policy_set = {__Pyx_NAMESTR("policy_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9policy_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8policy_set)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_9policy_set(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_policy = 0;
+ PyObject *__pyx_v_value = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__policy,&__pyx_n_s__value,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("policy_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__value);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "policy_set") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __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 = values[0];
+ __pyx_v_value = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("policy_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8policy_set(__pyx_self, __pyx_v_policy, __pyx_v_value);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":282
+ * elm_exit()
+ *
+ * def policy_set(policy, value): # <<<<<<<<<<<<<<
+ * """Set new policy value.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8policy_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_policy, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ unsigned 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("policy_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":300
+ *
+ * """
+ * return elm_policy_set(policy, value) # <<<<<<<<<<<<<<
+ *
+ * def policy_get(policy):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_policy); if (unlikely((__pyx_t_1 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_to_py_Eina_Bool(elm_policy_set(__pyx_t_1, __pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11policy_get(PyObject *__pyx_self, PyObject *__pyx_v_policy); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10policy_get[] = "Gets the policy value set for given identifier.\n\n @param policy: policy identifier as in Elm_Policy.\n\n @return: policy value. Will be 0 if policy identifier is invalid.\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_11policy_get = {__Pyx_NAMESTR("policy_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11policy_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10policy_get)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_11policy_get(PyObject *__pyx_self, PyObject *__pyx_v_policy) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("policy_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10policy_get(__pyx_self, ((PyObject *)__pyx_v_policy));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":302
+ * return elm_policy_set(policy, value)
+ *
+ * def policy_get(policy): # <<<<<<<<<<<<<<
+ * """Gets the policy value set for given identifier.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10policy_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_policy) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ unsigned int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("policy_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":310
+ *
+ * """
+ * return elm_policy_get(policy) # <<<<<<<<<<<<<<
+ *
+ * def coords_finger_size_adjust(times_w, w, times_h, h):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_policy); if (unlikely((__pyx_t_1 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = PyInt_FromLong(elm_policy_get(__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.policy_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13coords_finger_size_adjust(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_13coords_finger_size_adjust = {__Pyx_NAMESTR("coords_finger_size_adjust"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13coords_finger_size_adjust, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_13coords_finger_size_adjust(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_times_w = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_times_h = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__times_w,&__pyx_n_s__w,&__pyx_n_s__times_h,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("coords_finger_size_adjust (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__times_w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("coords_finger_size_adjust", 1, 4, 4, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__times_h);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("coords_finger_size_adjust", 1, 4, 4, 2); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("coords_finger_size_adjust", 1, 4, 4, 3); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "coords_finger_size_adjust") < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __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_times_w = values[0];
+ __pyx_v_w = values[1];
+ __pyx_v_times_h = values[2];
+ __pyx_v_h = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("coords_finger_size_adjust", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.coords_finger_size_adjust", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12coords_finger_size_adjust(__pyx_self, __pyx_v_times_w, __pyx_v_w, __pyx_v_times_h, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":312
+ * return elm_policy_get(policy)
+ *
+ * def coords_finger_size_adjust(times_w, w, times_h, h): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord width
+ * cdef Evas_Coord height
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12coords_finger_size_adjust(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_times_w, PyObject *__pyx_v_w, PyObject *__pyx_v_times_h, PyObject *__pyx_v_h) {
+ Evas_Coord __pyx_v_width;
+ Evas_Coord __pyx_v_height;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("coords_finger_size_adjust", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":315
+ * cdef Evas_Coord width
+ * cdef Evas_Coord height
+ * width = w # <<<<<<<<<<<<<<
+ * height = h
+ * elm_coords_finger_size_adjust(times_w, &width, times_h, &height)
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_width = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":316
+ * cdef Evas_Coord height
+ * width = w
+ * height = h # <<<<<<<<<<<<<<
+ * elm_coords_finger_size_adjust(times_w, &width, times_h, &height)
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_height = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":317
+ * width = w
+ * height = h
+ * elm_coords_finger_size_adjust(times_w, &width, times_h, &height) # <<<<<<<<<<<<<<
+ *
+ * cdef object _elm_widget_type_mapping
+ */
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_times_w); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_times_h); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_coords_finger_size_adjust(__pyx_t_2, (&__pyx_v_width), __pyx_t_3, (&__pyx_v_height));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.coords_finger_size_adjust", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":323
+ * _elm_widget_type_mapping = {}
+ *
+ * cdef _elm_widget_type_register(name, cls): # <<<<<<<<<<<<<<
+ * if name in _elm_widget_type_mapping:
+ * raise ValueError("object type name '%s' already registered." % name)
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__elm_widget_type_register(PyObject *__pyx_v_name, PyObject *__pyx_v_cls) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("_elm_widget_type_register", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":324
+ *
+ * cdef _elm_widget_type_register(name, cls):
+ * if name in _elm_widget_type_mapping: # <<<<<<<<<<<<<<
+ * raise ValueError("object type name '%s' already registered." % name)
+ * _elm_widget_type_mapping[name] = cls
+ */
+ __pyx_t_1 = ((PySequence_Contains(__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping, __pyx_v_name))); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":325
+ * cdef _elm_widget_type_register(name, cls):
+ * if name in _elm_widget_type_mapping:
+ * raise ValueError("object type name '%s' already registered." % name) # <<<<<<<<<<<<<<
+ * _elm_widget_type_mapping[name] = cls
+ * # TODO: Widget types become evas object types as they are being ported
+ */
+ __pyx_t_2 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_9), __pyx_v_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_2));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[1]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":326
+ * if name in _elm_widget_type_mapping:
+ * raise ValueError("object type name '%s' already registered." % name)
+ * _elm_widget_type_mapping[name] = cls # <<<<<<<<<<<<<<
+ * # TODO: Widget types become evas object types as they are being ported
+ * # to the new model. The class resolver can be removed when it's done.
+ */
+ if (PyObject_SetItem(__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping, __pyx_v_name, __pyx_v_cls) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":329
+ * # TODO: Widget types become evas object types as they are being ported
+ * # to the new model. The class resolver can be removed when it's done.
+ * _object_mapping_register("elm_"+name, cls) # <<<<<<<<<<<<<<
+ *
+ * cdef _elm_widget_type_unregister(name):
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_10); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_n_s__elm_), __pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 329; __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_INCREF(__pyx_v_cls);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_cls);
+ __Pyx_GIVEREF(__pyx_v_cls);
+ __pyx_t_3 = 0;
+ __pyx_t_3 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary._elm_widget_type_register", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":331
+ * _object_mapping_register("elm_"+name, cls)
+ *
+ * cdef _elm_widget_type_unregister(name): # <<<<<<<<<<<<<<
+ * _elm_widget_type_mapping.pop(name)
+ * # TODO: Widget types become evas object types as they are being ported
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__elm_widget_type_unregister(PyObject *__pyx_v_name) {
+ 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("_elm_widget_type_unregister", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":332
+ *
+ * cdef _elm_widget_type_unregister(name):
+ * _elm_widget_type_mapping.pop(name) # <<<<<<<<<<<<<<
+ * # TODO: Widget types become evas object types as they are being ported
+ * # to the new model. The class resolver can be removed when it's done.
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping, __pyx_n_s__pop); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_name);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_name);
+ __Pyx_GIVEREF(__pyx_v_name);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":335
+ * # TODO: Widget types become evas object types as they are being ported
+ * # to the new model. The class resolver can be removed when it's done.
+ * _object_mapping_unregister("elm_"+name) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Python.h":
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_11); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyNumber_Add(((PyObject *)__pyx_n_s__elm_), __pyx_v_name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary._elm_widget_type_unregister", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":341
+ * PyTypeObject *ob_type
+ *
+ * cdef void _install_metaclass(PyTypeObject *ctype, object metaclass): # <<<<<<<<<<<<<<
+ * Py_INCREF(metaclass)
+ * ctype.ob_type = <PyTypeObject*>metaclass
+ */
+
+static void __pyx_f_10elementary_12c_elementary__install_metaclass(PyTypeObject *__pyx_v_ctype, PyObject *__pyx_v_metaclass) {
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_install_metaclass", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":342
+ *
+ * cdef void _install_metaclass(PyTypeObject *ctype, object metaclass):
+ * Py_INCREF(metaclass) # <<<<<<<<<<<<<<
+ * ctype.ob_type = <PyTypeObject*>metaclass
+ *
+ */
+ Py_INCREF(__pyx_v_metaclass);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":343
+ * cdef void _install_metaclass(PyTypeObject *ctype, object metaclass):
+ * Py_INCREF(metaclass)
+ * ctype.ob_type = <PyTypeObject*>metaclass # <<<<<<<<<<<<<<
+ *
+ * class ElementaryObjectMeta(type):
+ */
+ __pyx_v_ctype->ob_type = ((PyTypeObject *)__pyx_v_metaclass);
+
+ __Pyx_RefNannyFinishContext();
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_20ElementaryObjectMeta_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_20ElementaryObjectMeta_1__init__ = {__Pyx_NAMESTR("__init__"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20ElementaryObjectMeta_1__init__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_20ElementaryObjectMeta_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_cls = 0;
+ PyObject *__pyx_v_name = 0;
+ PyObject *__pyx_v_bases = 0;
+ PyObject *__pyx_v_dict_ = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__cls,&__pyx_n_s__name,&__pyx_n_s__bases,&__pyx_n_s__dict_,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cls);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__bases);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dict_);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ 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 = 346; __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_cls = values[0];
+ __pyx_v_name = values[1];
+ __pyx_v_bases = values[2];
+ __pyx_v_dict_ = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ElementaryObjectMeta.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20ElementaryObjectMeta___init__(__pyx_self, __pyx_v_cls, __pyx_v_name, __pyx_v_bases, __pyx_v_dict_);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":346
+ *
+ * class ElementaryObjectMeta(type):
+ * def __init__(cls, name, bases, dict_): # <<<<<<<<<<<<<<
+ * type.__init__(cls, name, bases, dict_)
+ * cls._fetch_evt_callbacks()
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_20ElementaryObjectMeta___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_name, PyObject *__pyx_v_bases, PyObject *__pyx_v_dict_) {
+ 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("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":347
+ * class ElementaryObjectMeta(type):
+ * def __init__(cls, name, bases, dict_):
+ * type.__init__(cls, name, bases, dict_) # <<<<<<<<<<<<<<
+ * cls._fetch_evt_callbacks()
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)(&PyType_Type))), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_cls);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_cls);
+ __Pyx_GIVEREF(__pyx_v_cls);
+ __Pyx_INCREF(__pyx_v_name);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_name);
+ __Pyx_GIVEREF(__pyx_v_name);
+ __Pyx_INCREF(__pyx_v_bases);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_bases);
+ __Pyx_GIVEREF(__pyx_v_bases);
+ __Pyx_INCREF(__pyx_v_dict_);
+ PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_dict_);
+ __Pyx_GIVEREF(__pyx_v_dict_);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":348
+ * def __init__(cls, name, bases, dict_):
+ * type.__init__(cls, name, bases, dict_)
+ * cls._fetch_evt_callbacks() # <<<<<<<<<<<<<<
+ *
+ * def _fetch_evt_callbacks(cls):
+ */
+ __pyx_t_3 = PyObject_GetAttr(__pyx_v_cls, __pyx_n_s_12); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.ElementaryObjectMeta.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_20ElementaryObjectMeta_3_fetch_evt_callbacks(PyObject *__pyx_self, PyObject *__pyx_v_cls); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_20ElementaryObjectMeta_3_fetch_evt_callbacks = {__Pyx_NAMESTR("_fetch_evt_callbacks"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20ElementaryObjectMeta_3_fetch_evt_callbacks, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_20ElementaryObjectMeta_3_fetch_evt_callbacks(PyObject *__pyx_self, PyObject *__pyx_v_cls) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_fetch_evt_callbacks (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20ElementaryObjectMeta_2_fetch_evt_callbacks(__pyx_self, ((PyObject *)__pyx_v_cls));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":350
+ * cls._fetch_evt_callbacks()
+ *
+ * def _fetch_evt_callbacks(cls): # <<<<<<<<<<<<<<
+ * if "__evas_event_callbacks__" in cls.__dict__:
+ * return
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_20ElementaryObjectMeta_2_fetch_evt_callbacks(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls) {
+ PyObject *__pyx_v_append = NULL;
+ PyObject *__pyx_v_name = NULL;
+ PyObject *__pyx_v_val = NULL;
+ PyObject *__pyx_v_evt = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ Py_ssize_t __pyx_t_4;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ PyObject *__pyx_t_6 = NULL;
+ int __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_fetch_evt_callbacks", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":351
+ *
+ * def _fetch_evt_callbacks(cls):
+ * if "__evas_event_callbacks__" in cls.__dict__: # <<<<<<<<<<<<<<
+ * return
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_cls, __pyx_n_s____dict__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PySequence_Contains(__pyx_t_1, ((PyObject *)__pyx_n_s_13)))); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":352
+ * def _fetch_evt_callbacks(cls):
+ * if "__evas_event_callbacks__" in cls.__dict__:
+ * return # <<<<<<<<<<<<<<
+ *
+ * cls.__evas_event_callbacks__ = []
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":354
+ * return
+ *
+ * cls.__evas_event_callbacks__ = [] # <<<<<<<<<<<<<<
+ * append = cls.__evas_event_callbacks__.append
+ *
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ if (PyObject_SetAttr(__pyx_v_cls, __pyx_n_s_13, ((PyObject *)__pyx_t_1)) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":355
+ *
+ * cls.__evas_event_callbacks__ = []
+ * append = cls.__evas_event_callbacks__.append # <<<<<<<<<<<<<<
+ *
+ * for name in dir(cls):
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_cls, __pyx_n_s_13); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s__append); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_append = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":357
+ * append = cls.__evas_event_callbacks__.append
+ *
+ * for name in dir(cls): # <<<<<<<<<<<<<<
+ * val = getattr(cls, name)
+ * if not callable(val) or not hasattr(val, "evas_event_callback"):
+ */
+ __pyx_t_3 = PyObject_Dir(__pyx_v_cls); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyList_CheckExact(__pyx_t_3) || PyTuple_CheckExact(__pyx_t_3)) {
+ __pyx_t_1 = __pyx_t_3; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = 0;
+ __pyx_t_5 = NULL;
+ } else {
+ __pyx_t_4 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_5 = Py_TYPE(__pyx_t_1)->tp_iternext;
+ }
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ for (;;) {
+ if (!__pyx_t_5 && PyList_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_3 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++;
+ } else if (!__pyx_t_5 && PyTuple_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++;
+ } else {
+ __pyx_t_3 = __pyx_t_5(__pyx_t_1);
+ if (unlikely(!__pyx_t_3)) {
+ if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
+ else {__pyx_filename = __pyx_f[1]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ break;
+ }
+ __Pyx_GOTREF(__pyx_t_3);
+ }
+ __Pyx_XDECREF(__pyx_v_name);
+ __pyx_v_name = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":358
+ *
+ * for name in dir(cls):
+ * val = getattr(cls, name) # <<<<<<<<<<<<<<
+ * if not callable(val) or not hasattr(val, "evas_event_callback"):
+ * continue
+ */
+ __pyx_t_3 = PyObject_GetAttr(__pyx_v_cls, __pyx_v_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_v_val);
+ __pyx_v_val = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":359
+ * for name in dir(cls):
+ * val = getattr(cls, name)
+ * if not callable(val) or not hasattr(val, "evas_event_callback"): # <<<<<<<<<<<<<<
+ * continue
+ * evt = getattr(val, "evas_event_callback")
+ */
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_val);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_val);
+ __Pyx_GIVEREF(__pyx_v_val);
+ __pyx_t_6 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __pyx_t_7 = (!__pyx_t_2);
+ if (!__pyx_t_7) {
+ __pyx_t_6 = ((PyObject *)__pyx_n_s__evas_event_callback);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_t_2 = PyObject_HasAttr(__pyx_v_val, __pyx_t_6); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __pyx_t_8 = (!__pyx_t_2);
+ __pyx_t_2 = __pyx_t_8;
+ } else {
+ __pyx_t_2 = __pyx_t_7;
+ }
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":360
+ * val = getattr(cls, name)
+ * if not callable(val) or not hasattr(val, "evas_event_callback"):
+ * continue # <<<<<<<<<<<<<<
+ * evt = getattr(val, "evas_event_callback")
+ * append((name, evt))
+ */
+ goto __pyx_L4_continue;
+ goto __pyx_L6;
+ }
+ __pyx_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":361
+ * if not callable(val) or not hasattr(val, "evas_event_callback"):
+ * continue
+ * evt = getattr(val, "evas_event_callback") # <<<<<<<<<<<<<<
+ * append((name, evt))
+ *
+ */
+ __pyx_t_6 = ((PyObject *)__pyx_n_s__evas_event_callback);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_v_val, __pyx_t_6); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_v_evt);
+ __pyx_v_evt = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":362
+ * continue
+ * evt = getattr(val, "evas_event_callback")
+ * append((name, evt)) # <<<<<<<<<<<<<<
+ *
+ * include "elementary.c_elementary_configuration.pxi"
+ */
+ __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_name);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_name);
+ __Pyx_GIVEREF(__pyx_v_name);
+ __Pyx_INCREF(__pyx_v_evt);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_evt);
+ __Pyx_GIVEREF(__pyx_v_evt);
+ __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_t_3));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __pyx_t_3 = 0;
+ __pyx_t_3 = PyObject_Call(__pyx_v_append, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_L4_continue:;
+ }
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_AddTraceback("elementary.c_elementary.ElementaryObjectMeta._fetch_evt_callbacks", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_append);
+ __Pyx_XDECREF(__pyx_v_name);
+ __Pyx_XDECREF(__pyx_v_val);
+ __Pyx_XDECREF(__pyx_v_evt);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_1save(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_save[] = "Save back Elementary's configuration, so that it will persist on\n future sessions.\n\n This function will take effect -- thus, do I/O -- immediately. Use\n it when you want to save all configuration changes at once. The\n current configuration set will get saved onto the current profile\n configuration file.\n\n @return: C{True}, when successful. C{False}, otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_1save(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("save (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_save(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":32
+ *
+ * #{ Elementary Configuration
+ * def save(self): # <<<<<<<<<<<<<<
+ * """Save back Elementary's configuration, so that it will persist on
+ * future sessions.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_save(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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("save", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":45
+ *
+ * """
+ * return bool(elm_config_save()) # <<<<<<<<<<<<<<
+ *
+ * def reload(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_save()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.save", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_3reload(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_2reload[] = "Reload Elementary's configuration, bounded to current selected\n profile.\n\n Useful when you want to force reloading of configuration values for\n a profile. If one removes user custom configuration directories,\n for example, it will force a reload with system values instead.\n\n @return: C{True}, when successful. C{False}, otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_3reload(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("reload (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_2reload(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":47
+ * return bool(elm_config_save())
+ *
+ * def reload(self): # <<<<<<<<<<<<<<
+ * """Reload Elementary's configuration, bounded to current selected
+ * profile.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_2reload(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("reload", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":59
+ *
+ * """
+ * elm_config_reload() # <<<<<<<<<<<<<<
+ *
+ * def all_flush(self):
+ */
+ elm_config_reload();
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_5all_flush(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_4all_flush[] = "Flush all config settings then apply those settings to all\n applications using elementary on the current display.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_5all_flush(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("all_flush (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_4all_flush(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":61
+ * elm_config_reload()
+ *
+ * def all_flush(self): # <<<<<<<<<<<<<<
+ * """Flush all config settings then apply those settings to all
+ * applications using elementary on the current display."""
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_4all_flush(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("all_flush", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":64
+ * """Flush all config settings then apply those settings to all
+ * applications using elementary on the current display."""
+ * elm_config_all_flush() # <<<<<<<<<<<<<<
+ *
+ * #}
+ */
+ elm_config_all_flush();
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_7profile_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_7profile_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_7profile___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":86
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_profile_get())
+ * def __set__(self, profile):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_7profile___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":87
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_config_profile_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, profile):
+ * elm_config_profile_set(_cfruni(profile))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_config_profile_get())); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.profile.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_7profile_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_profile); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_7profile_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_profile) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_7profile_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_profile));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":88
+ * def __get__(self):
+ * return _ctouni(elm_config_profile_get())
+ * def __set__(self, profile): # <<<<<<<<<<<<<<
+ * elm_config_profile_set(_cfruni(profile))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_7profile_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_profile) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":89
+ * return _ctouni(elm_config_profile_get())
+ * def __set__(self, profile):
+ * elm_config_profile_set(_cfruni(profile)) # <<<<<<<<<<<<<<
+ *
+ * def profile_dir_get(self, profile, is_user):
+ */
+ elm_config_profile_set(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_profile));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_7profile_dir_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_6profile_dir_get[] = "Get an Elementary's profile directory path in the filesystem. One\n may want to fetch a system profile's dir or a user one (fetched\n inside $HOME).\n\n @param profile: The profile's name\n @type profile: string\n @param is_user: Whether to lookup for a user profile (C{True})\n or a system one (C{False})\n @type is_user: bool\n @return: The profile's directory path.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_7profile_dir_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_profile = 0;
+ PyObject *__pyx_v_is_user = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__profile,&__pyx_n_s__is_user,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("profile_dir_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__profile);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__is_user);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("profile_dir_get", 1, 2, 2, 1); {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "profile_dir_get") < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __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_profile = values[0];
+ __pyx_v_is_user = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("profile_dir_get", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.profile_dir_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_6profile_dir_get(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), __pyx_v_profile, __pyx_v_is_user);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":91
+ * elm_config_profile_set(_cfruni(profile))
+ *
+ * def profile_dir_get(self, profile, is_user): # <<<<<<<<<<<<<<
+ * """Get an Elementary's profile directory path in the filesystem. One
+ * may want to fetch a system profile's dir or a user one (fetched
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_6profile_dir_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_profile, PyObject *__pyx_v_is_user) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("profile_dir_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":105
+ *
+ * """
+ * return _ctouni(elm_config_profile_dir_get(_cfruni(profile), is_user)) # <<<<<<<<<<<<<<
+ *
+ * property profile_list:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_user); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_config_profile_dir_get(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_profile), __pyx_t_1))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.profile_dir_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_12profile_list_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_12profile_list_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_12profile_list___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":113
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst = elm_config_profile_list_get()
+ * return tuple(_strings_to_python(lst))
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_12profile_list___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":114
+ * """
+ * def __get__(self):
+ * cdef Eina_List *lst = elm_config_profile_list_get() # <<<<<<<<<<<<<<
+ * return tuple(_strings_to_python(lst))
+ *
+ */
+ __pyx_v_lst = elm_config_profile_list_get();
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":115
+ * def __get__(self):
+ * cdef Eina_List *lst = elm_config_profile_list_get()
+ * return tuple(_strings_to_python(lst)) # <<<<<<<<<<<<<<
+ *
+ * #}
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(__pyx_v_lst); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.profile_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":130
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_config_scroll_bounce_enabled_get())
+ * def __set__(self, enabled):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":131
+ * """
+ * def __get__(self):
+ * return bool(elm_config_scroll_bounce_enabled_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, enabled):
+ * elm_config_scroll_bounce_enabled_set(enabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_scroll_bounce_enabled_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.scroll_bounce_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":132
+ * def __get__(self):
+ * return bool(elm_config_scroll_bounce_enabled_get())
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_config_scroll_bounce_enabled_set(enabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":133
+ * return bool(elm_config_scroll_bounce_enabled_get())
+ * def __set__(self, enabled):
+ * elm_config_scroll_bounce_enabled_set(enabled) # <<<<<<<<<<<<<<
+ *
+ * property scroll_bounce_friction:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_bounce_enabled_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_bounce_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":141
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_bounce_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":142
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_bounce_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_bounce_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_bounce_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_bounce_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":143
+ * def __get__(self):
+ * return elm_config_scroll_bounce_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_bounce_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":144
+ * return elm_config_scroll_bounce_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_bounce_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * property scroll_page_scroll_friction:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_bounce_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_bounce_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":153
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_page_scroll_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":154
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_page_scroll_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_page_scroll_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_page_scroll_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_page_scroll_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":155
+ * def __get__(self):
+ * return elm_config_scroll_page_scroll_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_page_scroll_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":156
+ * return elm_config_scroll_page_scroll_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_page_scroll_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * property scroll_bring_in_scroll_friction:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_page_scroll_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_page_scroll_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":165
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_bring_in_scroll_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":166
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_bring_in_scroll_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_bring_in_scroll_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_bring_in_scroll_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_bring_in_scroll_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":167
+ * def __get__(self):
+ * return elm_config_scroll_bring_in_scroll_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_bring_in_scroll_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":168
+ * return elm_config_scroll_bring_in_scroll_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_bring_in_scroll_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * property scroll_zoom_friction:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_bring_in_scroll_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_bring_in_scroll_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":177
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_zoom_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":178
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_zoom_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_zoom_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_zoom_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_zoom_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":179
+ * def __get__(self):
+ * return elm_config_scroll_zoom_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_zoom_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":180
+ * return elm_config_scroll_zoom_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_zoom_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * property scroll_thumbscroll_enabled:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_zoom_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_zoom_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":192
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_config_scroll_thumbscroll_enabled_get())
+ * def __set__(self, enabled):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":193
+ * """
+ * def __get__(self):
+ * return bool(elm_config_scroll_thumbscroll_enabled_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, enabled):
+ * elm_config_scroll_thumbscroll_enabled_set(enabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_scroll_thumbscroll_enabled_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":194
+ * def __get__(self):
+ * return bool(elm_config_scroll_thumbscroll_enabled_get())
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_config_scroll_thumbscroll_enabled_set(enabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":195
+ * return bool(elm_config_scroll_thumbscroll_enabled_get())
+ * def __set__(self, enabled):
+ * elm_config_scroll_thumbscroll_enabled_set(enabled) # <<<<<<<<<<<<<<
+ *
+ * property scroll_thumbscroll_threshold:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_thumbscroll_enabled_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":207
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_thumbscroll_threshold_get()
+ * def __set__(self, threshold):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":208
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_threshold_get() # <<<<<<<<<<<<<<
+ * def __set__(self, threshold):
+ * elm_config_scroll_thumbscroll_threshold_set(threshold)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyLong_FromUnsignedLong(elm_config_scroll_thumbscroll_threshold_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_threshold.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_threshold); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_threshold) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_threshold));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":209
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_threshold_get()
+ * def __set__(self, threshold): # <<<<<<<<<<<<<<
+ * elm_config_scroll_thumbscroll_threshold_set(threshold)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_threshold) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ unsigned int __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":210
+ * return elm_config_scroll_thumbscroll_threshold_get()
+ * def __set__(self, threshold):
+ * elm_config_scroll_thumbscroll_threshold_set(threshold) # <<<<<<<<<<<<<<
+ *
+ * property scroll_thumbscroll_momentum_threshold:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_threshold); if (unlikely((__pyx_t_1 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_thumbscroll_threshold_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_threshold.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":219
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_thumbscroll_momentum_threshold_get()
+ * def __set__(self, threshold):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":220
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_momentum_threshold_get() # <<<<<<<<<<<<<<
+ * def __set__(self, threshold):
+ * elm_config_scroll_thumbscroll_momentum_threshold_set(threshold)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_thumbscroll_momentum_threshold_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_momentum_threshold.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_threshold); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_threshold) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_threshold));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":221
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_momentum_threshold_get()
+ * def __set__(self, threshold): # <<<<<<<<<<<<<<
+ * elm_config_scroll_thumbscroll_momentum_threshold_set(threshold)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_threshold) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":222
+ * return elm_config_scroll_thumbscroll_momentum_threshold_get()
+ * def __set__(self, threshold):
+ * elm_config_scroll_thumbscroll_momentum_threshold_set(threshold) # <<<<<<<<<<<<<<
+ *
+ * property scroll_thumbscroll_friction:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_threshold); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_thumbscroll_momentum_threshold_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_momentum_threshold.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":231
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_thumbscroll_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":232
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_thumbscroll_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_thumbscroll_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":233
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_thumbscroll_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":234
+ * return elm_config_scroll_thumbscroll_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_thumbscroll_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * property scroll_thumbscroll_border_friction:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_thumbscroll_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":246
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_thumbscroll_border_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":247
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_border_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_thumbscroll_border_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_thumbscroll_border_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_border_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":248
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_border_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_thumbscroll_border_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":249
+ * return elm_config_scroll_thumbscroll_border_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_thumbscroll_border_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * property scroll_thumbscroll_sensitivity_friction:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_thumbscroll_border_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_border_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":261
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scroll_thumbscroll_sensitivity_friction_get()
+ * def __set__(self, friction):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":262
+ * """
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_sensitivity_friction_get() # <<<<<<<<<<<<<<
+ * def __set__(self, friction):
+ * elm_config_scroll_thumbscroll_sensitivity_friction_set(friction)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scroll_thumbscroll_sensitivity_friction_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_sensitivity_friction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_friction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":263
+ * def __get__(self):
+ * return elm_config_scroll_thumbscroll_sensitivity_friction_get()
+ * def __set__(self, friction): # <<<<<<<<<<<<<<
+ * elm_config_scroll_thumbscroll_sensitivity_friction_set(friction)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_friction) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":264
+ * return elm_config_scroll_thumbscroll_sensitivity_friction_get()
+ * def __set__(self, friction):
+ * elm_config_scroll_thumbscroll_sensitivity_friction_set(friction) # <<<<<<<<<<<<<<
+ *
+ * #}
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_friction); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scroll_thumbscroll_sensitivity_friction_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scroll_thumbscroll_sensitivity_friction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_17longpress_timeout_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_17longpress_timeout_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_17longpress_timeout___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":274
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_longpress_timeout_get()
+ * def __set__(self, longpress_timeout):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_17longpress_timeout___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":275
+ * """
+ * def __get__(self):
+ * return elm_config_longpress_timeout_get() # <<<<<<<<<<<<<<
+ * def __set__(self, longpress_timeout):
+ * elm_config_longpress_timeout_set(longpress_timeout)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_longpress_timeout_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.longpress_timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_17longpress_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_longpress_timeout); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_17longpress_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_longpress_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_17longpress_timeout_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_longpress_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":276
+ * def __get__(self):
+ * return elm_config_longpress_timeout_get()
+ * def __set__(self, longpress_timeout): # <<<<<<<<<<<<<<
+ * elm_config_longpress_timeout_set(longpress_timeout)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_17longpress_timeout_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_longpress_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":277
+ * return elm_config_longpress_timeout_get()
+ * def __set__(self, longpress_timeout):
+ * elm_config_longpress_timeout_set(longpress_timeout) # <<<<<<<<<<<<<<
+ *
+ * property tooltip_delay:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_longpress_timeout); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_longpress_timeout_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.longpress_timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_13tooltip_delay_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_13tooltip_delay_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_13tooltip_delay___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":285
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_tooltip_delay_get()
+ * def __set__(self, delay):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_13tooltip_delay___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":286
+ * """
+ * def __get__(self):
+ * return elm_config_tooltip_delay_get() # <<<<<<<<<<<<<<
+ * def __set__(self, delay):
+ * elm_config_tooltip_delay_set(delay)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_tooltip_delay_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.tooltip_delay.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_13tooltip_delay_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_delay); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_13tooltip_delay_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_delay) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_13tooltip_delay_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_delay));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":287
+ * def __get__(self):
+ * return elm_config_tooltip_delay_get()
+ * def __set__(self, delay): # <<<<<<<<<<<<<<
+ * elm_config_tooltip_delay_set(delay)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_13tooltip_delay_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_delay) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":288
+ * return elm_config_tooltip_delay_get()
+ * def __set__(self, delay):
+ * elm_config_tooltip_delay_set(delay) # <<<<<<<<<<<<<<
+ *
+ * property cursor_engine_only:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_delay); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_tooltip_delay_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.tooltip_delay.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_18cursor_engine_only_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_18cursor_engine_only_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_18cursor_engine_only___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":299
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_cursor_engine_only_get()
+ * def __set__(self, engine_only):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_18cursor_engine_only___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":300
+ * """
+ * def __get__(self):
+ * return elm_config_cursor_engine_only_get() # <<<<<<<<<<<<<<
+ * def __set__(self, engine_only):
+ * elm_config_cursor_engine_only_set(engine_only)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cursor_engine_only_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cursor_engine_only.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_18cursor_engine_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_18cursor_engine_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_18cursor_engine_only_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_engine_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":301
+ * def __get__(self):
+ * return elm_config_cursor_engine_only_get()
+ * def __set__(self, engine_only): # <<<<<<<<<<<<<<
+ * elm_config_cursor_engine_only_set(engine_only)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_18cursor_engine_only_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":302
+ * return elm_config_cursor_engine_only_get()
+ * def __set__(self, engine_only):
+ * elm_config_cursor_engine_only_set(engine_only) # <<<<<<<<<<<<<<
+ *
+ * property scale:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_engine_only); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cursor_engine_only_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cursor_engine_only.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_5scale_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_5scale_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_5scale___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":313
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_scale_get()
+ * def __set__(self, scale):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_5scale___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":314
+ * """
+ * def __get__(self):
+ * return elm_config_scale_get() # <<<<<<<<<<<<<<
+ * def __set__(self, scale):
+ * elm_config_scale_set(scale)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scale_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scale.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_5scale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_scale); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_5scale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_scale) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_5scale_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_scale));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":315
+ * def __get__(self):
+ * return elm_config_scale_get()
+ * def __set__(self, scale): # <<<<<<<<<<<<<<
+ * elm_config_scale_set(scale)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_5scale_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_scale) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":316
+ * return elm_config_scale_get()
+ * def __set__(self, scale):
+ * elm_config_scale_set(scale) # <<<<<<<<<<<<<<
+ *
+ * #{ Password show last
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_scale); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scale_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.scale.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_18password_show_last_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_18password_show_last_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_18password_show_last___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":330
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_password_show_last_get()
+ * def __set__(self, password_show_last):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_18password_show_last___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":331
+ * """
+ * def __get__(self):
+ * return elm_config_password_show_last_get() # <<<<<<<<<<<<<<
+ * def __set__(self, password_show_last):
+ * elm_config_password_show_last_set(password_show_last)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_password_show_last_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.password_show_last.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_18password_show_last_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_password_show_last); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_18password_show_last_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_password_show_last) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_18password_show_last_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_password_show_last));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":332
+ * def __get__(self):
+ * return elm_config_password_show_last_get()
+ * def __set__(self, password_show_last): # <<<<<<<<<<<<<<
+ * elm_config_password_show_last_set(password_show_last)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_18password_show_last_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_password_show_last) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":333
+ * return elm_config_password_show_last_get()
+ * def __set__(self, password_show_last):
+ * elm_config_password_show_last_set(password_show_last) # <<<<<<<<<<<<<<
+ *
+ * property password_show_last_timeout:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_password_show_last); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_password_show_last_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.password_show_last.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_26password_show_last_timeout___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":342
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_password_show_last_timeout_get()
+ * def __set__(self, password_show_last_timeout):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_26password_show_last_timeout___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":343
+ * """
+ * def __get__(self):
+ * return elm_config_password_show_last_timeout_get() # <<<<<<<<<<<<<<
+ * def __set__(self, password_show_last_timeout):
+ * elm_config_password_show_last_timeout_set(password_show_last_timeout)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_password_show_last_timeout_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.password_show_last_timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_password_show_last_timeout); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_password_show_last_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_password_show_last_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":344
+ * def __get__(self):
+ * return elm_config_password_show_last_timeout_get()
+ * def __set__(self, password_show_last_timeout): # <<<<<<<<<<<<<<
+ * elm_config_password_show_last_timeout_set(password_show_last_timeout)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_password_show_last_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":345
+ * return elm_config_password_show_last_timeout_get()
+ * def __set__(self, password_show_last_timeout):
+ * elm_config_password_show_last_timeout_set(password_show_last_timeout) # <<<<<<<<<<<<<<
+ *
+ * #}
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_password_show_last_timeout); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_password_show_last_timeout_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.password_show_last_timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_6engine_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_6engine_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_6engine___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":385
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_engine_get())
+ * def __set__(self, engine):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_6engine___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":386
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_config_engine_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, engine):
+ * elm_config_engine_set(_cfruni(engine))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_config_engine_get())); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.engine.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_6engine_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_engine); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_6engine_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_engine) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_6engine_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_engine));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":387
+ * def __get__(self):
+ * return _ctouni(elm_config_engine_get())
+ * def __set__(self, engine): # <<<<<<<<<<<<<<
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_6engine_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_engine) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":388
+ * return _ctouni(elm_config_engine_get())
+ * def __set__(self, engine):
+ * elm_config_engine_set(_cfruni(engine)) # <<<<<<<<<<<<<<
+ *
+ * property preferred_engine:
+ */
+ elm_config_engine_set(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_engine));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_16preferred_engine_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_16preferred_engine_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_16preferred_engine___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":403
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_preferred_engine_get())
+ * def __set__(self, engine):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_16preferred_engine___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":404
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_config_preferred_engine_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, engine):
+ * elm_config_preferred_engine_set(_cfruni(engine))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_config_preferred_engine_get())); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.preferred_engine.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_16preferred_engine_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_engine); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_16preferred_engine_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_engine) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_16preferred_engine_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_engine));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":405
+ * def __get__(self):
+ * return _ctouni(elm_config_preferred_engine_get())
+ * def __set__(self, engine): # <<<<<<<<<<<<<<
+ * elm_config_preferred_engine_set(_cfruni(engine))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_16preferred_engine_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_engine) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":406
+ * return _ctouni(elm_config_preferred_engine_get())
+ * def __set__(self, engine):
+ * elm_config_preferred_engine_set(_cfruni(engine)) # <<<<<<<<<<<<<<
+ *
+ * property text_classes_list:
+ */
+ elm_config_preferred_engine_set(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_engine));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_17text_classes_list_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_17text_classes_list_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_17text_classes_list___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":414
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ * cdef Elm_Text_Class *data
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_17text_classes_list___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ Elm_Text_Class *__pyx_v_data;
+ const char * __pyx_v_name;
+ const char * __pyx_v_desc;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":418
+ * cdef Elm_Text_Class *data
+ * cdef const_char_ptr name, desc
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_config_text_classes_list_get()
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":419
+ * cdef const_char_ptr name, desc
+ * ret = []
+ * lst = elm_config_text_classes_list_get() # <<<<<<<<<<<<<<
+ * while lst:
+ * data = <Elm_Text_Class *>lst.data
+ */
+ __pyx_v_lst = elm_config_text_classes_list_get();
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":420
+ * ret = []
+ * lst = elm_config_text_classes_list_get()
+ * while lst: # <<<<<<<<<<<<<<
+ * data = <Elm_Text_Class *>lst.data
+ * if data != NULL:
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":421
+ * lst = elm_config_text_classes_list_get()
+ * while lst:
+ * data = <Elm_Text_Class *>lst.data # <<<<<<<<<<<<<<
+ * if data != NULL:
+ * name = data.name
+ */
+ __pyx_v_data = ((Elm_Text_Class *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":422
+ * while lst:
+ * data = <Elm_Text_Class *>lst.data
+ * if data != NULL: # <<<<<<<<<<<<<<
+ * name = data.name
+ * desc = data.desc
+ */
+ __pyx_t_2 = (__pyx_v_data != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":423
+ * data = <Elm_Text_Class *>lst.data
+ * if data != NULL:
+ * name = data.name # <<<<<<<<<<<<<<
+ * desc = data.desc
+ * ret.append((_ctouni(name), _ctouni(desc)))
+ */
+ __pyx_v_name = __pyx_v_data->name;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":424
+ * if data != NULL:
+ * name = data.name
+ * desc = data.desc # <<<<<<<<<<<<<<
+ * ret.append((_ctouni(name), _ctouni(desc)))
+ * lst = lst.next
+ */
+ __pyx_v_desc = __pyx_v_data->desc;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":425
+ * name = data.name
+ * desc = data.desc
+ * ret.append((_ctouni(name), _ctouni(desc))) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_name)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_desc)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 425; __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_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_5 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_t_4)); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":426
+ * desc = data.desc
+ * ret.append((_ctouni(name), _ctouni(desc)))
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":427
+ * ret.append((_ctouni(name), _ctouni(desc)))
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * property font_overlay_list:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.text_classes_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_17font_overlay_list_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_17font_overlay_list_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_17font_overlay_list___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":440
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_Eina_List *lst
+ * cdef Elm_Font_Overlay *data
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_17font_overlay_list___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self) {
+ const Eina_List *__pyx_v_lst;
+ Elm_Font_Overlay *__pyx_v_data;
+ const char * __pyx_v_text_class;
+ const char * __pyx_v_font;
+ Evas_Font_Size __pyx_v_size;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":445
+ * cdef const_char_ptr text_class, font
+ * cdef Evas_Font_Size size
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_config_font_overlay_list_get()
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":446
+ * cdef Evas_Font_Size size
+ * ret = []
+ * lst = elm_config_font_overlay_list_get() # <<<<<<<<<<<<<<
+ * while lst:
+ * data = <Elm_Font_Overlay *>lst.data
+ */
+ __pyx_v_lst = elm_config_font_overlay_list_get();
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":447
+ * ret = []
+ * lst = elm_config_font_overlay_list_get()
+ * while lst: # <<<<<<<<<<<<<<
+ * data = <Elm_Font_Overlay *>lst.data
+ * if data != NULL:
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":448
+ * lst = elm_config_font_overlay_list_get()
+ * while lst:
+ * data = <Elm_Font_Overlay *>lst.data # <<<<<<<<<<<<<<
+ * if data != NULL:
+ * text_class = data.text_class
+ */
+ __pyx_v_data = ((Elm_Font_Overlay *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":449
+ * while lst:
+ * data = <Elm_Font_Overlay *>lst.data
+ * if data != NULL: # <<<<<<<<<<<<<<
+ * text_class = data.text_class
+ * font = data.font
+ */
+ __pyx_t_2 = (__pyx_v_data != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":450
+ * data = <Elm_Font_Overlay *>lst.data
+ * if data != NULL:
+ * text_class = data.text_class # <<<<<<<<<<<<<<
+ * font = data.font
+ * size = data.size
+ */
+ __pyx_v_text_class = __pyx_v_data->text_class;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":451
+ * if data != NULL:
+ * text_class = data.text_class
+ * font = data.font # <<<<<<<<<<<<<<
+ * size = data.size
+ * ret.append((_ctouni(text_class), _ctouni(font), size))
+ */
+ __pyx_v_font = __pyx_v_data->font;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":452
+ * text_class = data.text_class
+ * font = data.font
+ * size = data.size # <<<<<<<<<<<<<<
+ * ret.append((_ctouni(text_class), _ctouni(font), size))
+ * lst = lst.next
+ */
+ __pyx_v_size = __pyx_v_data->size;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":453
+ * font = data.font
+ * size = data.size
+ * ret.append((_ctouni(text_class), _ctouni(font), size)) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_text_class)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_font)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Font_Size(__pyx_v_size); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_6 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_t_5)); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":454
+ * size = data.size
+ * ret.append((_ctouni(text_class), _ctouni(font), size))
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":455
+ * ret.append((_ctouni(text_class), _ctouni(font), size))
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def font_overlay_set(self, text_class, font, size):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.font_overlay_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_9font_overlay_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_8font_overlay_set[] = "Set a font overlay for a given Elementary text class.\n\n C{font} has to be in the format returned by font_fontconfig_name_get().\n\n @see: L{font_overlay_list}\n @see: L{font_overlay_unset()}\n @see: C{edje_object_text_class_set()}\n\n @param text_class: Text class name\n @type text_class: string\n @param font: Font name and style string\n @type font: string\n @param size: Font size\n @type size: Evas_Font_Size\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_9font_overlay_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_text_class = 0;
+ PyObject *__pyx_v_font = 0;
+ PyObject *__pyx_v_size = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__text_class,&__pyx_n_s__font,&__pyx_n_s__size,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("font_overlay_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__font);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("font_overlay_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[5]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__size);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("font_overlay_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[5]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "font_overlay_set") < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 457; __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_text_class = values[0];
+ __pyx_v_font = values[1];
+ __pyx_v_size = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("font_overlay_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[5]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.font_overlay_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_8font_overlay_set(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), __pyx_v_text_class, __pyx_v_font, __pyx_v_size);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":457
+ * return ret
+ *
+ * def font_overlay_set(self, text_class, font, size): # <<<<<<<<<<<<<<
+ * """Set a font overlay for a given Elementary text class.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_8font_overlay_set(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_text_class, PyObject *__pyx_v_font, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Font_Size __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("font_overlay_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":474
+ *
+ * """
+ * elm_config_font_overlay_set(_cfruni(text_class), _cfruni(font), size) # <<<<<<<<<<<<<<
+ *
+ * def font_overlay_unset(self, text_class):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Font_Size(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Font_Size)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_font_overlay_set(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text_class), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_font), __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.font_overlay_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_11font_overlay_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_text_class); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_10font_overlay_unset[] = "Unset a font overlay for a given Elementary text class.\n\n This will bring back text elements belonging to text class\n C{text_class} back to their default font settings.\n\n @param text_class: Text class name\n @type text_class: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_11font_overlay_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_text_class) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("font_overlay_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_10font_overlay_unset(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_text_class));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":476
+ * elm_config_font_overlay_set(_cfruni(text_class), _cfruni(font), size)
+ *
+ * def font_overlay_unset(self, text_class): # <<<<<<<<<<<<<<
+ * """Unset a font overlay for a given Elementary text class.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_10font_overlay_unset(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_text_class) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("font_overlay_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":486
+ *
+ * """
+ * elm_config_font_overlay_unset(_cfruni(text_class)) # <<<<<<<<<<<<<<
+ *
+ * def font_overlay_apply(self):
+ */
+ elm_config_font_overlay_unset(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text_class));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_13font_overlay_apply(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_13Configuration_12font_overlay_apply[] = "Apply the changes made with L{font_overlay_set()} and\n L{font_overlay_unset()} on the current Elementary window.\n\n This applies all font overlays set to all objects in the UI.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_13font_overlay_apply(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("font_overlay_apply (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_12font_overlay_apply(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":488
+ * elm_config_font_overlay_unset(_cfruni(text_class))
+ *
+ * def font_overlay_apply(self): # <<<<<<<<<<<<<<
+ * """Apply the changes made with L{font_overlay_set()} and
+ * L{font_overlay_unset()} on the current Elementary window.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_12font_overlay_apply(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("font_overlay_apply", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":495
+ *
+ * """
+ * elm_config_font_overlay_apply() # <<<<<<<<<<<<<<
+ *
+ * property finger_size:
+ */
+ elm_config_font_overlay_apply();
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_11finger_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_11finger_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_11finger_size___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":505
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_finger_size_get()
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_11finger_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":506
+ * """
+ * def __get__(self):
+ * return elm_config_finger_size_get() # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_config_finger_size_set(size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_config_finger_size_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.finger_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_11finger_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_11finger_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_11finger_size_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":507
+ * def __get__(self):
+ * return elm_config_finger_size_get()
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_config_finger_size_set(size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_11finger_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":508
+ * return elm_config_finger_size_get()
+ * def __set__(self, size):
+ * elm_config_finger_size_set(size) # <<<<<<<<<<<<<<
+ *
+ * property cache_flush_interval:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_finger_size_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.finger_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_20cache_flush_interval_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_20cache_flush_interval_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_20cache_flush_interval___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":521
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_cache_flush_interval_get()
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_20cache_flush_interval___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":522
+ * """
+ * def __get__(self):
+ * return elm_config_cache_flush_interval_get() # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_config_cache_flush_interval_set(size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cache_flush_interval_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_flush_interval.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_20cache_flush_interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_20cache_flush_interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_20cache_flush_interval_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":523
+ * def __get__(self):
+ * return elm_config_cache_flush_interval_get()
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_config_cache_flush_interval_set(size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_20cache_flush_interval_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":524
+ * return elm_config_cache_flush_interval_get()
+ * def __set__(self, size):
+ * elm_config_cache_flush_interval_set(size) # <<<<<<<<<<<<<<
+ *
+ * property cache_flush_enabled:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cache_flush_interval_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_flush_interval.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_19cache_flush_enabled___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":543
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_config_cache_flush_enabled_get())
+ * def __set__(self, enabled):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_19cache_flush_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":544
+ * """
+ * def __get__(self):
+ * return bool(elm_config_cache_flush_enabled_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, enabled):
+ * elm_config_cache_flush_enabled_set(enabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_cache_flush_enabled_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.cache_flush_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":545
+ * def __get__(self):
+ * return bool(elm_config_cache_flush_enabled_get())
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_config_cache_flush_enabled_set(enabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":546
+ * return bool(elm_config_cache_flush_enabled_get())
+ * def __set__(self, enabled):
+ * elm_config_cache_flush_enabled_set(enabled) # <<<<<<<<<<<<<<
+ *
+ * property cache_font_cache_size:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cache_flush_enabled_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_flush_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_21cache_font_cache_size___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":554
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_cache_font_cache_size_get()
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_21cache_font_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":555
+ * """
+ * def __get__(self):
+ * return elm_config_cache_font_cache_size_get() # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_config_cache_font_cache_size_set(size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cache_font_cache_size_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_font_cache_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":556
+ * def __get__(self):
+ * return elm_config_cache_font_cache_size_get()
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_config_cache_font_cache_size_set(size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":557
+ * return elm_config_cache_font_cache_size_get()
+ * def __set__(self, size):
+ * elm_config_cache_font_cache_size_set(size) # <<<<<<<<<<<<<<
+ *
+ * property cache_image_cache_size:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cache_font_cache_size_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_font_cache_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_22cache_image_cache_size___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":565
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_cache_image_cache_size_get()
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_22cache_image_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":566
+ * """
+ * def __get__(self):
+ * return elm_config_cache_image_cache_size_get() # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_config_cache_image_cache_size_set(size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cache_image_cache_size_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_image_cache_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":567
+ * def __get__(self):
+ * return elm_config_cache_image_cache_size_get()
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_config_cache_image_cache_size_set(size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":568
+ * return elm_config_cache_image_cache_size_get()
+ * def __set__(self, size):
+ * elm_config_cache_image_cache_size_set(size) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cache_image_cache_size_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_image_cache_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":577
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_cache_edje_file_cache_size_get()
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":578
+ * """
+ * def __get__(self):
+ * return elm_config_cache_edje_file_cache_size_get() # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_config_cache_edje_file_cache_size_set(size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cache_edje_file_cache_size_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_edje_file_cache_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":579
+ * def __get__(self):
+ * return elm_config_cache_edje_file_cache_size_get()
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_config_cache_edje_file_cache_size_set(size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":580
+ * return elm_config_cache_edje_file_cache_size_get()
+ * def __set__(self, size):
+ * elm_config_cache_edje_file_cache_size_set(size) # <<<<<<<<<<<<<<
+ *
+ * property cache_edje_collection_cache_size:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cache_edje_file_cache_size_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_edje_file_cache_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":589
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_config_cache_edje_collection_cache_size_get()
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":590
+ * """
+ * def __get__(self):
+ * return elm_config_cache_edje_collection_cache_size_get() # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_config_cache_edje_collection_cache_size_set(size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cache_edje_collection_cache_size_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_edje_collection_cache_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":591
+ * def __get__(self):
+ * return elm_config_cache_edje_collection_cache_size_get()
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_config_cache_edje_collection_cache_size_set(size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":592
+ * return elm_config_cache_edje_collection_cache_size_get()
+ * def __set__(self, size):
+ * elm_config_cache_edje_collection_cache_size_set(size) # <<<<<<<<<<<<<<
+ *
+ * property focus_highlight_enabled:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cache_edje_collection_cache_size_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.cache_edje_collection_cache_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":605
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_config_focus_highlight_enabled_get())
+ * def __set__(self, enable):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":606
+ * """
+ * def __get__(self):
+ * return bool(elm_config_focus_highlight_enabled_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, enable):
+ * elm_config_focus_highlight_enabled_set(enable)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_focus_highlight_enabled_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 606; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 606; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 606; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.focus_highlight_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enable); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_enable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":607
+ * def __get__(self):
+ * return bool(elm_config_focus_highlight_enabled_get())
+ * def __set__(self, enable): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_enabled_set(enable)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_enable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":608
+ * return bool(elm_config_focus_highlight_enabled_get())
+ * def __set__(self, enable):
+ * elm_config_focus_highlight_enabled_set(enable) # <<<<<<<<<<<<<<
+ *
+ * property focus_highlight_animate:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_focus_highlight_enabled_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.focus_highlight_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_animate___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":622
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_config_focus_highlight_animate_get())
+ * def __set__(self, animate):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_animate___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":623
+ * """
+ * def __get__(self):
+ * return bool(elm_config_focus_highlight_animate_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, animate):
+ * elm_config_focus_highlight_animate_set(animate)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_focus_highlight_animate_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.focus_highlight_animate.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_animate); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_animate) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_animate));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":624
+ * def __get__(self):
+ * return bool(elm_config_focus_highlight_animate_get())
+ * def __set__(self, animate): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_animate) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":625
+ * return bool(elm_config_focus_highlight_animate_get())
+ * def __set__(self, animate):
+ * elm_config_focus_highlight_animate_set(animate) # <<<<<<<<<<<<<<
+ *
+ * property mirrored:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_animate); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_focus_highlight_animate_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.focus_highlight_animate.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_8mirrored_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_13Configuration_8mirrored_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_8mirrored___get__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":634
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_config_mirrored_get())
+ * def __set__(self, mirrored):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_13Configuration_8mirrored___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":635
+ * """
+ * def __get__(self):
+ * return bool(elm_config_mirrored_get()) # <<<<<<<<<<<<<<
+ * def __set__(self, mirrored):
+ * elm_config_mirrored_set(mirrored)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_mirrored_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Configuration.mirrored.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_8mirrored_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mirrored); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_13Configuration_8mirrored_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mirrored) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Configuration_8mirrored_2__set__(((struct __pyx_obj_10elementary_12c_elementary_Configuration *)__pyx_v_self), ((PyObject *)__pyx_v_mirrored));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":636
+ * def __get__(self):
+ * return bool(elm_config_mirrored_get())
+ * def __set__(self, mirrored): # <<<<<<<<<<<<<<
+ * elm_config_mirrored_set(mirrored)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_13Configuration_8mirrored_2__set__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Configuration *__pyx_v_self, PyObject *__pyx_v_mirrored) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":637
+ * return bool(elm_config_mirrored_get())
+ * def __set__(self, mirrored):
+ * elm_config_mirrored_set(mirrored) # <<<<<<<<<<<<<<
+ *
+ * #}
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_mirrored); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_mirrored_set(__pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Configuration.mirrored.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_15config_finger_size_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_15config_finger_size_get = {__Pyx_NAMESTR("config_finger_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15config_finger_size_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_15config_finger_size_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("config_finger_size_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14config_finger_size_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":642
+ *
+ * #For compatibility
+ * def config_finger_size_get(): # <<<<<<<<<<<<<<
+ * return elm_config_finger_size_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_14config_finger_size_get(CYTHON_UNUSED PyObject *__pyx_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("config_finger_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":643
+ * #For compatibility
+ * def config_finger_size_get():
+ * return elm_config_finger_size_get() # <<<<<<<<<<<<<<
+ *
+ * def config_finger_size_set(size):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_config_finger_size_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.config_finger_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_17config_finger_size_set(PyObject *__pyx_self, PyObject *__pyx_v_size); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_17config_finger_size_set = {__Pyx_NAMESTR("config_finger_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17config_finger_size_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_17config_finger_size_set(PyObject *__pyx_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("config_finger_size_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16config_finger_size_set(__pyx_self, ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":645
+ * return elm_config_finger_size_get()
+ *
+ * def config_finger_size_set(size): # <<<<<<<<<<<<<<
+ * elm_config_finger_size_set(size)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_16config_finger_size_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("config_finger_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":646
+ *
+ * def config_finger_size_set(size):
+ * elm_config_finger_size_set(size) # <<<<<<<<<<<<<<
+ *
+ * def config_tooltip_delay_get():
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_finger_size_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.config_finger_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_19config_tooltip_delay_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_19config_tooltip_delay_get = {__Pyx_NAMESTR("config_tooltip_delay_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_19config_tooltip_delay_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_19config_tooltip_delay_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("config_tooltip_delay_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18config_tooltip_delay_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":648
+ * elm_config_finger_size_set(size)
+ *
+ * def config_tooltip_delay_get(): # <<<<<<<<<<<<<<
+ * return elm_config_tooltip_delay_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_18config_tooltip_delay_get(CYTHON_UNUSED PyObject *__pyx_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("config_tooltip_delay_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":649
+ *
+ * def config_tooltip_delay_get():
+ * return elm_config_tooltip_delay_get() # <<<<<<<<<<<<<<
+ *
+ * def config_tooltip_delay_set(delay):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_tooltip_delay_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 649; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.config_tooltip_delay_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_21config_tooltip_delay_set(PyObject *__pyx_self, PyObject *__pyx_v_delay); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_21config_tooltip_delay_set = {__Pyx_NAMESTR("config_tooltip_delay_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_21config_tooltip_delay_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_21config_tooltip_delay_set(PyObject *__pyx_self, PyObject *__pyx_v_delay) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("config_tooltip_delay_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20config_tooltip_delay_set(__pyx_self, ((PyObject *)__pyx_v_delay));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":651
+ * return elm_config_tooltip_delay_get()
+ *
+ * def config_tooltip_delay_set(delay): # <<<<<<<<<<<<<<
+ * elm_config_tooltip_delay_set(delay)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_20config_tooltip_delay_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_delay) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("config_tooltip_delay_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":652
+ *
+ * def config_tooltip_delay_set(delay):
+ * elm_config_tooltip_delay_set(delay) # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_enabled_get():
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_delay); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_tooltip_delay_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.config_tooltip_delay_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_23focus_highlight_enabled_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_23focus_highlight_enabled_get = {__Pyx_NAMESTR("focus_highlight_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_23focus_highlight_enabled_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_23focus_highlight_enabled_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_enabled_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_22focus_highlight_enabled_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":654
+ * elm_config_tooltip_delay_set(delay)
+ *
+ * def focus_highlight_enabled_get(): # <<<<<<<<<<<<<<
+ * return elm_config_focus_highlight_enabled_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_22focus_highlight_enabled_get(CYTHON_UNUSED PyObject *__pyx_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("focus_highlight_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":655
+ *
+ * def focus_highlight_enabled_get():
+ * return elm_config_focus_highlight_enabled_get() # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_enabled_set(enabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_focus_highlight_enabled_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.focus_highlight_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_25focus_highlight_enabled_set(PyObject *__pyx_self, PyObject *__pyx_v_enabled); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_25focus_highlight_enabled_set = {__Pyx_NAMESTR("focus_highlight_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_25focus_highlight_enabled_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_25focus_highlight_enabled_set(PyObject *__pyx_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_enabled_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_24focus_highlight_enabled_set(__pyx_self, ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":657
+ * return elm_config_focus_highlight_enabled_get()
+ *
+ * def focus_highlight_enabled_set(enabled): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_enabled_set(enabled)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_24focus_highlight_enabled_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("focus_highlight_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":658
+ *
+ * def focus_highlight_enabled_set(enabled):
+ * elm_config_focus_highlight_enabled_set(enabled) # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_animate_get():
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_focus_highlight_enabled_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.focus_highlight_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_27focus_highlight_animate_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_27focus_highlight_animate_get = {__Pyx_NAMESTR("focus_highlight_animate_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_27focus_highlight_animate_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_27focus_highlight_animate_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_animate_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_26focus_highlight_animate_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":660
+ * elm_config_focus_highlight_enabled_set(enabled)
+ *
+ * def focus_highlight_animate_get(): # <<<<<<<<<<<<<<
+ * return elm_config_focus_highlight_animate_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_26focus_highlight_animate_get(CYTHON_UNUSED PyObject *__pyx_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("focus_highlight_animate_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":661
+ *
+ * def focus_highlight_animate_get():
+ * return elm_config_focus_highlight_animate_get() # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_animate_set(animate):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_config_focus_highlight_animate_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 661; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.focus_highlight_animate_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_29focus_highlight_animate_set(PyObject *__pyx_self, PyObject *__pyx_v_animate); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_29focus_highlight_animate_set = {__Pyx_NAMESTR("focus_highlight_animate_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_29focus_highlight_animate_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_29focus_highlight_animate_set(PyObject *__pyx_self, PyObject *__pyx_v_animate) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_animate_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_28focus_highlight_animate_set(__pyx_self, ((PyObject *)__pyx_v_animate));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":663
+ * return elm_config_focus_highlight_animate_get()
+ *
+ * def focus_highlight_animate_set(animate): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_28focus_highlight_animate_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_animate) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("focus_highlight_animate_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":664
+ *
+ * def focus_highlight_animate_set(animate):
+ * elm_config_focus_highlight_animate_set(animate) # <<<<<<<<<<<<<<
+ *
+ * def preferred_engine_get():
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_animate); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_focus_highlight_animate_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.focus_highlight_animate_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_31preferred_engine_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_31preferred_engine_get = {__Pyx_NAMESTR("preferred_engine_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_31preferred_engine_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_31preferred_engine_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("preferred_engine_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_30preferred_engine_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":666
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ * def preferred_engine_get(): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_preferred_engine_get())
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_30preferred_engine_get(CYTHON_UNUSED PyObject *__pyx_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("preferred_engine_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":667
+ *
+ * def preferred_engine_get():
+ * return _ctouni(elm_config_preferred_engine_get()) # <<<<<<<<<<<<<<
+ *
+ * def preferred_engine_set(engine):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_config_preferred_engine_get())); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.preferred_engine_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_33preferred_engine_set(PyObject *__pyx_self, PyObject *__pyx_v_engine); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_33preferred_engine_set = {__Pyx_NAMESTR("preferred_engine_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_33preferred_engine_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_33preferred_engine_set(PyObject *__pyx_self, PyObject *__pyx_v_engine) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("preferred_engine_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_32preferred_engine_set(__pyx_self, ((PyObject *)__pyx_v_engine));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":669
+ * return _ctouni(elm_config_preferred_engine_get())
+ *
+ * def preferred_engine_set(engine): # <<<<<<<<<<<<<<
+ * elm_config_preferred_engine_set(engine)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_32preferred_engine_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_engine) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("preferred_engine_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":670
+ *
+ * def preferred_engine_set(engine):
+ * elm_config_preferred_engine_set(engine) # <<<<<<<<<<<<<<
+ *
+ * def engine_get():
+ */
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_engine); if (unlikely((__pyx_t_1 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 670; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_preferred_engine_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.preferred_engine_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_35engine_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_35engine_get = {__Pyx_NAMESTR("engine_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_35engine_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_35engine_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("engine_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_34engine_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":672
+ * elm_config_preferred_engine_set(engine)
+ *
+ * def engine_get(): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_engine_get())
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_34engine_get(CYTHON_UNUSED PyObject *__pyx_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("engine_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":673
+ *
+ * def engine_get():
+ * return _ctouni(elm_config_engine_get()) # <<<<<<<<<<<<<<
+ *
+ * def engine_set(engine):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_config_engine_get())); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.engine_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_37engine_set(PyObject *__pyx_self, PyObject *__pyx_v_engine); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_37engine_set = {__Pyx_NAMESTR("engine_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_37engine_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_37engine_set(PyObject *__pyx_self, PyObject *__pyx_v_engine) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("engine_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_36engine_set(__pyx_self, ((PyObject *)__pyx_v_engine));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":675
+ * return _ctouni(elm_config_engine_get())
+ *
+ * def engine_set(engine): # <<<<<<<<<<<<<<
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_36engine_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_engine) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("engine_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":676
+ *
+ * def engine_set(engine):
+ * elm_config_engine_set(_cfruni(engine)) # <<<<<<<<<<<<<<
+ *
+ * def scale_get():
+ */
+ elm_config_engine_set(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_engine));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_39scale_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_39scale_get = {__Pyx_NAMESTR("scale_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_39scale_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_39scale_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scale_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_38scale_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":678
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ * def scale_get(): # <<<<<<<<<<<<<<
+ * return elm_config_scale_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_38scale_get(CYTHON_UNUSED PyObject *__pyx_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("scale_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":679
+ *
+ * def scale_get():
+ * return elm_config_scale_get() # <<<<<<<<<<<<<<
+ *
+ * def scale_set(scale):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_config_scale_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.scale_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_41scale_set(PyObject *__pyx_self, PyObject *__pyx_v_scale); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_41scale_set = {__Pyx_NAMESTR("scale_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_41scale_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_41scale_set(PyObject *__pyx_self, PyObject *__pyx_v_scale) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scale_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_40scale_set(__pyx_self, ((PyObject *)__pyx_v_scale));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":681
+ * return elm_config_scale_get()
+ *
+ * def scale_set(scale): # <<<<<<<<<<<<<<
+ * elm_config_scale_set(scale)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_40scale_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_scale) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("scale_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":682
+ *
+ * def scale_set(scale):
+ * elm_config_scale_set(scale) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_get():
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_scale); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_scale_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.scale_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_43cursor_engine_only_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_43cursor_engine_only_get = {__Pyx_NAMESTR("cursor_engine_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_43cursor_engine_only_get, METH_NOARGS, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_43cursor_engine_only_get(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_42cursor_engine_only_get(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":684
+ * elm_config_scale_set(scale)
+ *
+ * def cursor_engine_only_get(): # <<<<<<<<<<<<<<
+ * return elm_config_cursor_engine_only_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_42cursor_engine_only_get(CYTHON_UNUSED PyObject *__pyx_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("cursor_engine_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":685
+ *
+ * def cursor_engine_only_get():
+ * return elm_config_cursor_engine_only_get() # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_set(engine_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_config_cursor_engine_only_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.cursor_engine_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_45cursor_engine_only_set(PyObject *__pyx_self, PyObject *__pyx_v_engine_only); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_45cursor_engine_only_set = {__Pyx_NAMESTR("cursor_engine_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_45cursor_engine_only_set, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_45cursor_engine_only_set(PyObject *__pyx_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_set (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_44cursor_engine_only_set(__pyx_self, ((PyObject *)__pyx_v_engine_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":687
+ * return elm_config_cursor_engine_only_get()
+ *
+ * def cursor_engine_only_set(engine_only): # <<<<<<<<<<<<<<
+ * elm_config_cursor_engine_only_set(engine_only)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_44cursor_engine_only_set(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_engine_only) {
+ 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("cursor_engine_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":688
+ *
+ * def cursor_engine_only_set(engine_only):
+ * elm_config_cursor_engine_only_set(engine_only) # <<<<<<<<<<<<<<
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_engine_only); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_config_cursor_engine_only_set(__pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.cursor_engine_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_47need_efreet(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_46need_efreet[] = "Request that your elementary application needs Efreet\n\n This initializes the Efreet library when called and if support exists\n it returns True, otherwise returns False. This must be called\n before any efreet calls.\n\n @return: True if support exists and initialization succeeded.\n @rtype: bool\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_47need_efreet = {__Pyx_NAMESTR("need_efreet"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_47need_efreet, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_46need_efreet)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_47need_efreet(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("need_efreet (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_46need_efreet(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":19
+ * #
+ *
+ * def need_efreet(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs Efreet
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_46need_efreet(CYTHON_UNUSED PyObject *__pyx_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("need_efreet", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":30
+ *
+ * """
+ * return bool(elm_need_efreet()) # <<<<<<<<<<<<<<
+ *
+ * def need_e_dbus():
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_need_efreet()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.need_efreet", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_49need_e_dbus(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_48need_e_dbus[] = "Request that your elementary application needs e_dbus\n\n This initializes the E_dbus library when called and if support exists\n it returns True, otherwise returns False. This must be called\n before any e_dbus calls.\n\n @return: True if support exists and initialization succeeded.\n @rtype: bool\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_49need_e_dbus = {__Pyx_NAMESTR("need_e_dbus"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_49need_e_dbus, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_48need_e_dbus)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_49need_e_dbus(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("need_e_dbus (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_48need_e_dbus(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":32
+ * return bool(elm_need_efreet())
+ *
+ * def need_e_dbus(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs e_dbus
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_48need_e_dbus(CYTHON_UNUSED PyObject *__pyx_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("need_e_dbus", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":43
+ *
+ * """
+ * return bool(elm_need_e_dbus()) # <<<<<<<<<<<<<<
+ *
+ * def need_ethumb():
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_need_e_dbus()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.need_e_dbus", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_51need_ethumb(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_50need_ethumb[] = "Request that your elementary application needs ethumb\n\n This initializes the Ethumb library when called and if support exists\n it returns True, otherwise returns False.\n This must be called before any other function that deals with\n elm_thumb objects or ethumb_client instances.\n\n @return: True if support exists and initialization succeeded.\n @rtype: bool\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_51need_ethumb = {__Pyx_NAMESTR("need_ethumb"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_51need_ethumb, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_50need_ethumb)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_51need_ethumb(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("need_ethumb (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_50need_ethumb(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":45
+ * return bool(elm_need_e_dbus())
+ *
+ * def need_ethumb(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs ethumb
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_50need_ethumb(CYTHON_UNUSED PyObject *__pyx_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("need_ethumb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":57
+ *
+ * """
+ * return bool(elm_need_ethumb()) # <<<<<<<<<<<<<<
+ *
+ * def need_web():
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_need_ethumb()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.need_ethumb", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_53need_web(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_52need_web[] = "Request that your elementary application needs web support\n\n This initializes the Ewebkit library when called and if support exists\n it returns True, otherwise returns False.\n This must be called before any other function that deals with\n elm_web objects or ewk_view instances.\n\n @return: True if support exists and initialization succeeded.\n @rtype: bool\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_53need_web = {__Pyx_NAMESTR("need_web"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_53need_web, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_52need_web)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_53need_web(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("need_web (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_52need_web(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":59
+ * return bool(elm_need_ethumb())
+ *
+ * def need_web(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs web support
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_52need_web(CYTHON_UNUSED PyObject *__pyx_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("need_web", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":71
+ *
+ * """
+ * return bool(elm_need_web()) # <<<<<<<<<<<<<<
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_need_web()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.need_web", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Theme_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Theme_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_10elementary_12c_elementary_5Theme___cinit__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":83
+ * cdef Elm_Theme *th
+ *
+ * def __cinit__(self): # <<<<<<<<<<<<<<
+ * self.th = NULL
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Theme___cinit__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":84
+ *
+ * def __cinit__(self):
+ * self.th = NULL # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, default=False):
+ */
+ __pyx_v_self->th = NULL;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Theme_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_2__init__[] = "Create a new specific theme\n\n This creates an empty specific theme that only uses the default\n theme. A specific theme has its own private set of extensions and\n overlays too (which are empty by default). Specific themes do not\n fall back to themes of parent objects. They are not intended for\n this use. Use styles, overlays and extensions when needed, but avoid\n specific themes unless there is no other way (example: you want to\n have a preview of a new theme you are selecting in a \"theme\n selector\" window. The preview is inside a scroller and should\n display what the theme you selected will look like, but not actually\n apply it yet. The child of the scroller will have a specific theme\n set to show this preview before the user decides to apply it to all\n applications).\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_5Theme_2__init__;
+static int __pyx_pw_10elementary_12c_elementary_5Theme_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_default = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__default,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+ values[0] = __pyx_k_14;
+ if (unlikely(__pyx_kwds)) {
+ Py_ssize_t kw_args;
+ const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+ switch (pos_args) {
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ case 0: break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__default);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ case 0: break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_default = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[7]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Theme.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_2__init__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), __pyx_v_default);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":86
+ * self.th = NULL
+ *
+ * def __init__(self, default=False): # <<<<<<<<<<<<<<
+ * """Create a new specific theme
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Theme_2__init__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_default) {
+ Elm_Theme *__pyx_v_th;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":104
+ * """
+ * cdef Elm_Theme *th
+ * if default: # <<<<<<<<<<<<<<
+ * th = elm_theme_default_get()
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_default); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":105
+ * cdef Elm_Theme *th
+ * if default:
+ * th = elm_theme_default_get() # <<<<<<<<<<<<<<
+ * else:
+ * th = elm_theme_new()
+ */
+ __pyx_v_th = elm_theme_default_get();
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":107
+ * th = elm_theme_default_get()
+ * else:
+ * th = elm_theme_new() # <<<<<<<<<<<<<<
+ *
+ * if th != NULL:
+ */
+ __pyx_v_th = elm_theme_new();
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":109
+ * th = elm_theme_new()
+ *
+ * if th != NULL: # <<<<<<<<<<<<<<
+ * self.th = th
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_th != NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":110
+ *
+ * if th != NULL:
+ * self.th = th # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_v_self->th = __pyx_v_th;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":112
+ * self.th = th
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def __dealloc__(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Theme.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static void __pyx_pw_10elementary_12c_elementary_5Theme_5__dealloc__(PyObject *__pyx_v_self); /*proto*/
+static void __pyx_pw_10elementary_12c_elementary_5Theme_5__dealloc__(PyObject *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0);
+ __pyx_pf_10elementary_12c_elementary_5Theme_4__dealloc__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":114
+ * Py_DECREF(self)
+ *
+ * def __dealloc__(self): # <<<<<<<<<<<<<<
+ * """Free a specific theme
+ *
+ */
+
+static void __pyx_pf_10elementary_12c_elementary_5Theme_4__dealloc__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("__dealloc__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":120
+ *
+ * """
+ * if self.th != NULL: # <<<<<<<<<<<<<<
+ * elm_theme_free(self.th)
+ * self.th = NULL
+ */
+ __pyx_t_1 = (__pyx_v_self->th != NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":121
+ * """
+ * if self.th != NULL:
+ * elm_theme_free(self.th) # <<<<<<<<<<<<<<
+ * self.th = NULL
+ *
+ */
+ elm_theme_free(__pyx_v_self->th);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":122
+ * if self.th != NULL:
+ * elm_theme_free(self.th)
+ * self.th = NULL # <<<<<<<<<<<<<<
+ *
+ * def copy(self, Theme thdst):
+ */
+ __pyx_v_self->th = NULL;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ __Pyx_RefNannyFinishContext();
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_7copy(PyObject *__pyx_v_self, PyObject *__pyx_v_thdst); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_6copy[] = "copy(thdst)\n\n Copy the theme from the source to the destination theme\n\n This makes a one-time static copy of all the theme config, extensions\n and overlays from C{th} to C{thdst}. If C{th} references a theme, then\n C{thdst} is also set to reference it, with all the theme settings,\n overlays and extensions that C{th} had.\n\n @param thdst: The destination theme to copy data to\n @type thdst: L{Theme}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_7copy(PyObject *__pyx_v_self, PyObject *__pyx_v_thdst) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("copy (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thdst), __pyx_ptype_10elementary_12c_elementary_Theme, 1, "thdst", 0))) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_6copy(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_thdst));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":124
+ * self.th = NULL
+ *
+ * def copy(self, Theme thdst): # <<<<<<<<<<<<<<
+ * """copy(thdst)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_6copy(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_thdst) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("copy", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":138
+ *
+ * """
+ * elm_theme_copy(self.th, thdst.th) # <<<<<<<<<<<<<<
+ *
+ * property reference:
+ */
+ elm_theme_copy(__pyx_v_self->th, __pyx_v_thdst->th);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Theme_9reference_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_thref); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Theme_9reference_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_thref) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thref), __pyx_ptype_10elementary_12c_elementary_Theme, 1, "thref", 0))) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_9reference___set__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_thref));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":150
+ *
+ * """
+ * def __set__(self, Theme thref): # <<<<<<<<<<<<<<
+ * elm_theme_ref_set(self.th, thref.th)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Theme_9reference___set__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_thref) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":151
+ * """
+ * def __set__(self, Theme thref):
+ * elm_theme_ref_set(self.th, thref.th) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ elm_theme_ref_set(__pyx_v_self->th, __pyx_v_thref->th);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_9reference_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_9reference_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_9reference_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":153
+ * elm_theme_ref_set(self.th, thref.th)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Theme thref = Theme()
+ * thref.th = elm_theme_ref_get(self.th)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_9reference_2__get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_thref = 0;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":154
+ *
+ * def __get__(self):
+ * cdef Theme thref = Theme() # <<<<<<<<<<<<<<
+ * thref.th = elm_theme_ref_get(self.th)
+ * return thref
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Theme)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_thref = ((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":155
+ * def __get__(self):
+ * cdef Theme thref = Theme()
+ * thref.th = elm_theme_ref_get(self.th) # <<<<<<<<<<<<<<
+ * return thref
+ *
+ */
+ __pyx_v_thref->th = elm_theme_ref_get(__pyx_v_self->th);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":156
+ * cdef Theme thref = Theme()
+ * thref.th = elm_theme_ref_get(self.th)
+ * return thref # <<<<<<<<<<<<<<
+ *
+ * def overlay_add(self, item):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_thref));
+ __pyx_r = ((PyObject *)__pyx_v_thref);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Theme.reference.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_thref);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_9overlay_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_8overlay_add[] = "overlay_add(item)\n\n Prepends a theme overlay to the list of overlays\n\n Use this if your application needs to provide some custom overlay\n theme (An Edje file that replaces some default styles of widgets)\n where adding new styles, or changing system theme configuration is\n not possible. Do NOT use this instead of a proper system theme\n configuration. Use proper configuration files, profiles, environment\n variables etc. to set a theme so that the theme can be altered by\n simple configuration by a user. Using this call to achieve that\n effect is abusing the API and will create lots of trouble.\n\n @see: L{extension_add()}\n\n @param item: The Edje file path to be used\n @type item: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_9overlay_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_8overlay_add(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":158
+ * return thref
+ *
+ * def overlay_add(self, item): # <<<<<<<<<<<<<<
+ * """overlay_add(item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_8overlay_add(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":178
+ *
+ * """
+ * elm_theme_overlay_add(self.th, _cfruni(item)) # <<<<<<<<<<<<<<
+ *
+ * def overlay_del(self, item):
+ */
+ elm_theme_overlay_add(__pyx_v_self->th, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_item));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_11overlay_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_10overlay_del[] = "overlay_del(item)\n\n Delete a theme overlay from the list of overlays\n\n @see: L{overlay_add()}\n\n @param item: The name of the theme overlay\n @type item: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_11overlay_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_10overlay_del(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":180
+ * elm_theme_overlay_add(self.th, _cfruni(item))
+ *
+ * def overlay_del(self, item): # <<<<<<<<<<<<<<
+ * """overlay_del(item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_10overlay_del(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":191
+ *
+ * """
+ * elm_theme_overlay_del(self.th, _cfruni(item)) # <<<<<<<<<<<<<<
+ *
+ * property overlay_list:
+ */
+ elm_theme_overlay_del(__pyx_v_self->th, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_item));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_12overlay_list_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_12overlay_list_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_12overlay_list___get__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":201
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_strings_to_python(elm_theme_overlay_list_get(self.th)))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_12overlay_list___get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":202
+ * """
+ * def __get__(self):
+ * return tuple(_strings_to_python(elm_theme_overlay_list_get(self.th))) # <<<<<<<<<<<<<<
+ *
+ * def extension_add(self, item):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(elm_theme_overlay_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Theme.overlay_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_13extension_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_12extension_add[] = "extension_add(item)\n\n Appends a theme extension to the list of extensions.\n\n This is intended when an application needs more styles of widgets or\n new widget themes that the default does not provide (or may not\n provide). The application has \"extended\" usage by coming up with new\n custom style names for widgets for specific uses, but as these are\n not \"standard\", they are not guaranteed to be provided by a default\n theme. This means the application is required to provide these extra\n elements itself in specific Edje files. This call adds one of those\n Edje files to the theme search path to be search after the default\n theme. The use of this call is encouraged when default styles do not\n meet the needs of the application. Use this call instead of\n elm_theme_overlay_add() for almost all cases.\n\n @see: L{Object.style}\n\n @param item: The Edje file path to be used\n @type item: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_13extension_add(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("extension_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_12extension_add(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":204
+ * return tuple(_strings_to_python(elm_theme_overlay_list_get(self.th)))
+ *
+ * def extension_add(self, item): # <<<<<<<<<<<<<<
+ * """extension_add(item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_12extension_add(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("extension_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":227
+ *
+ * """
+ * elm_theme_extension_add(self.th, _cfruni(item)) # <<<<<<<<<<<<<<
+ *
+ * def extension_del(self, item):
+ */
+ elm_theme_extension_add(__pyx_v_self->th, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_item));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_15extension_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_14extension_del[] = "extension_del(item)\n\n Deletes a theme extension from the list of extensions.\n\n @see: L{extension_add()}\n\n @param item: The name of the theme extension\n @type item: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_15extension_del(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("extension_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_14extension_del(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_item));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":229
+ * elm_theme_extension_add(self.th, _cfruni(item))
+ *
+ * def extension_del(self, item): # <<<<<<<<<<<<<<
+ * """extension_del(item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_14extension_del(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("extension_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":240
+ *
+ * """
+ * elm_theme_extension_del(self.th, _cfruni(item)) # <<<<<<<<<<<<<<
+ *
+ * property extension_list:
+ */
+ elm_theme_extension_del(__pyx_v_self->th, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_item));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_14extension_list_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_14extension_list_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_14extension_list___get__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":250
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_strings_to_python(elm_theme_extension_list_get(self.th)))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_14extension_list___get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":251
+ * """
+ * def __get__(self):
+ * return tuple(_strings_to_python(elm_theme_extension_list_get(self.th))) # <<<<<<<<<<<<<<
+ *
+ * property order:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(elm_theme_extension_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Theme.extension_list.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Theme_5order_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_theme); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Theme_5order_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_theme) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_5order___set__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_theme));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":268
+ *
+ * """
+ * def __set__(self, theme): # <<<<<<<<<<<<<<
+ * elm_theme_set(self.th, _cfruni(theme))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Theme_5order___set__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_theme) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":269
+ * """
+ * def __set__(self, theme):
+ * elm_theme_set(self.th, _cfruni(theme)) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ elm_theme_set(__pyx_v_self->th, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_theme));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_5order_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_5order_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_5order_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":271
+ * elm_theme_set(self.th, _cfruni(theme))
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_theme_get(self.th))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_5order_2__get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":272
+ *
+ * def __get__(self):
+ * return _ctouni(elm_theme_get(self.th)) # <<<<<<<<<<<<<<
+ *
+ * property elements:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_theme_get(__pyx_v_self->th))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Theme.order.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_8elements_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_8elements_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_8elements___get__(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":292
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_strings_to_python(elm_theme_list_get(self.th)))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_8elements___get__(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":293
+ * """
+ * def __get__(self):
+ * return tuple(_strings_to_python(elm_theme_list_get(self.th))) # <<<<<<<<<<<<<<
+ *
+ * def flush(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(elm_theme_list_get(__pyx_v_self->th)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Theme.elements.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_17flush(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_16flush[] = "flush()\n\n Flush the current theme.\n\n This flushes caches that let elementary know where to find theme elements\n in the given theme. If C{th} is NULL, then the default theme is flushed.\n Call this function if source theme data has changed in such a way as to\n make any caches Elementary kept invalid.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_17flush(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("flush (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_16flush(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":295
+ * return tuple(_strings_to_python(elm_theme_list_get(self.th)))
+ *
+ * def flush(self): # <<<<<<<<<<<<<<
+ * """flush()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_16flush(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("flush", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":306
+ *
+ * """
+ * elm_theme_flush(self.th) # <<<<<<<<<<<<<<
+ *
+ * def data_get(self, key):
+ */
+ elm_theme_flush(__pyx_v_self->th);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_19data_get(PyObject *__pyx_v_self, PyObject *__pyx_v_key); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Theme_18data_get[] = "data_get(key)\n\n Get a data item from a theme\n\n This function is used to return data items from edc in C{th}, an\n overlay, or an extension. It works the same way as\n edje_file_data_get() except that the return is stringshared.\n\n @param key: The data key to search with\n @type key: string\n\n @return: The data value, or NULL on failure\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Theme_19data_get(PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("data_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Theme_18data_get(((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_self), ((PyObject *)__pyx_v_key));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":308
+ * elm_theme_flush(self.th)
+ *
+ * def data_get(self, key): # <<<<<<<<<<<<<<
+ * """data_get(key)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Theme_18data_get(struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_self, PyObject *__pyx_v_key) {
+ 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("data_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":324
+ *
+ * """
+ * return _ctouni(elm_theme_data_get(self.th, _cfruni(key))) # <<<<<<<<<<<<<<
+ *
+ * def theme_list_item_path_get(f, in_search_path):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_theme_data_get(__pyx_v_self->th, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_key)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Theme.data_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_55theme_list_item_path_get(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_54theme_list_item_path_get[] = "theme_list_item_path_get(f, in_search_path)\n\n Return the full path for a theme element\n\n This returns a string you should free with free() on success, NULL on\n failure. This will search for the given theme element, and if it is a\n full or relative path element or a simple search-able name. The returned\n path is the full path to the file, if searched, and the file exists, or it\n is simply the full path given in the element or a resolved path if\n relative to home. The C{in_search_path} boolean pointed to is set to\n EINA_TRUE if the file was a search-able file and is in the search path,\n and EINA_FALSE otherwise.\n\n @param f: The theme element name\n @type f: string\n @param in_search_path: Pointer to a boolean to indicate if item is in the search path or not\n @type in_search_path: bool\n\n @return: The full path to the file found.\n @rtype: string\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_55theme_list_item_path_get = {__Pyx_NAMESTR("theme_list_item_path_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_55theme_list_item_path_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_54theme_list_item_path_get)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_55theme_list_item_path_get(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_f = 0;
+ PyObject *__pyx_v_in_search_path = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__f,&__pyx_n_s__in_search_path,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_list_item_path_get (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__f);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__in_search_path);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("theme_list_item_path_get", 1, 2, 2, 1); {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "theme_list_item_path_get") < 0)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
+ goto __pyx_L5_argtuple_error;
+ } else {
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ }
+ __pyx_v_f = values[0];
+ __pyx_v_in_search_path = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("theme_list_item_path_get", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.theme_list_item_path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_54theme_list_item_path_get(__pyx_self, __pyx_v_f, __pyx_v_in_search_path);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":326
+ * return _ctouni(elm_theme_data_get(self.th, _cfruni(key)))
+ *
+ * def theme_list_item_path_get(f, in_search_path): # <<<<<<<<<<<<<<
+ * """theme_list_item_path_get(f, in_search_path)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_54theme_list_item_path_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_f, PyObject *__pyx_v_in_search_path) {
+ Eina_Bool __pyx_v_path;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("theme_list_item_path_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":349
+ *
+ * """
+ * cdef Eina_Bool path = in_search_path # <<<<<<<<<<<<<<
+ * return _ctouni(elm_theme_list_item_path_get(_cfruni(f), &path))
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_in_search_path); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_path = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":350
+ * """
+ * cdef Eina_Bool path = in_search_path
+ * return _ctouni(elm_theme_list_item_path_get(_cfruni(f), &path)) # <<<<<<<<<<<<<<
+ *
+ * def theme_full_flush():
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_theme_list_item_path_get(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_f), (&__pyx_v_path)))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.theme_list_item_path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_57theme_full_flush(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_56theme_full_flush[] = "theme_full_flush()\n\n This flushes all themes (default and specific ones).\n\n This will flush all themes in the current application context, by calling\n elm_theme_flush() on each of them.\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_57theme_full_flush = {__Pyx_NAMESTR("theme_full_flush"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_57theme_full_flush, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_56theme_full_flush)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_57theme_full_flush(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_full_flush (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_56theme_full_flush(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":352
+ * return _ctouni(elm_theme_list_item_path_get(_cfruni(f), &path))
+ *
+ * def theme_full_flush(): # <<<<<<<<<<<<<<
+ * """theme_full_flush()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_56theme_full_flush(CYTHON_UNUSED PyObject *__pyx_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_full_flush", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":361
+ *
+ * """
+ * elm_theme_full_flush() # <<<<<<<<<<<<<<
+ *
+ * def theme_name_available_list():
+ */
+ elm_theme_full_flush();
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_59theme_name_available_list(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_58theme_name_available_list[] = "theme_name_available_list()\n\n Return a list of theme elements in the theme search path\n\n This lists all available theme files in the standard Elementary search path\n for theme elements, and returns them in alphabetical order as theme\n element names in a list of strings. Free this with\n elm_theme_name_available_list_free() when you are done with the list.\n\n @return: A list of strings that are the theme element names.\n @rtype: tuple of strings\n\n ";
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_59theme_name_available_list = {__Pyx_NAMESTR("theme_name_available_list"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_59theme_name_available_list, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_58theme_name_available_list)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_59theme_name_available_list(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_name_available_list (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_58theme_name_available_list(__pyx_self);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":363
+ * elm_theme_full_flush()
+ *
+ * def theme_name_available_list(): # <<<<<<<<<<<<<<
+ * """theme_name_available_list()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_58theme_name_available_list(CYTHON_UNUSED PyObject *__pyx_self) {
+ Eina_List *__pyx_v_lst;
+ PyObject *__pyx_v_elements = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("theme_name_available_list", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":377
+ *
+ * """
+ * cdef Eina_List *lst = elm_theme_name_available_list_new() # <<<<<<<<<<<<<<
+ * elements = tuple(_strings_to_python(lst))
+ * elm_theme_name_available_list_free(lst)
+ */
+ __pyx_v_lst = elm_theme_name_available_list_new();
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":378
+ * """
+ * cdef Eina_List *lst = elm_theme_name_available_list_new()
+ * elements = tuple(_strings_to_python(lst)) # <<<<<<<<<<<<<<
+ * elm_theme_name_available_list_free(lst)
+ * return elements
+ */
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(__pyx_v_lst); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_v_elements = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":379
+ * cdef Eina_List *lst = elm_theme_name_available_list_new()
+ * elements = tuple(_strings_to_python(lst))
+ * elm_theme_name_available_list_free(lst) # <<<<<<<<<<<<<<
+ * return elements
+ *
+ */
+ elm_theme_name_available_list_free(__pyx_v_lst);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":380
+ * elements = tuple(_strings_to_python(lst))
+ * elm_theme_name_available_list_free(lst)
+ * return elements # <<<<<<<<<<<<<<
+ *
+ * # for compatibility
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_elements));
+ __pyx_r = ((PyObject *)__pyx_v_elements);
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.theme_name_available_list", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_elements);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_61theme_overlay_add(PyObject *__pyx_self, PyObject *__pyx_v_item); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_61theme_overlay_add = {__Pyx_NAMESTR("theme_overlay_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_61theme_overlay_add, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_61theme_overlay_add(PyObject *__pyx_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_overlay_add (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_60theme_overlay_add(__pyx_self, ((PyObject *)__pyx_v_item));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":383
+ *
+ * # for compatibility
+ * def theme_overlay_add(item): # <<<<<<<<<<<<<<
+ * elm_theme_overlay_add(NULL, item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_60theme_overlay_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ char *__pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("theme_overlay_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":384
+ * # for compatibility
+ * def theme_overlay_add(item):
+ * elm_theme_overlay_add(NULL, item) # <<<<<<<<<<<<<<
+ *
+ * def theme_extension_add(item):
+ */
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_item); if (unlikely((!__pyx_t_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_theme_overlay_add(NULL, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.theme_overlay_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_63theme_extension_add(PyObject *__pyx_self, PyObject *__pyx_v_item); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_63theme_extension_add = {__Pyx_NAMESTR("theme_extension_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_63theme_extension_add, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_63theme_extension_add(PyObject *__pyx_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_extension_add (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_62theme_extension_add(__pyx_self, ((PyObject *)__pyx_v_item));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":386
+ * elm_theme_overlay_add(NULL, item)
+ *
+ * def theme_extension_add(item): # <<<<<<<<<<<<<<
+ * elm_theme_extension_add(NULL, item)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_62theme_extension_add(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_item) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ char *__pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("theme_extension_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":387
+ *
+ * def theme_extension_add(item):
+ * elm_theme_extension_add(NULL, item) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_item); if (unlikely((!__pyx_t_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_theme_extension_add(NULL, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.theme_extension_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":31
+ *
+ * #API XXX: Callbacks!
+ * cdef void _object_callback(void *data, # <<<<<<<<<<<<<<
+ * Evas_Object *o, void *event_info) with gil:
+ * cdef Object obj
+ */
+
+static void __pyx_f_10elementary_12c_elementary__object_callback(void *__pyx_v_data, Evas_Object *__pyx_v_o, void *__pyx_v_event_info) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ PyObject *__pyx_v_event = 0;
+ PyObject *__pyx_v_ei = 0;
+ PyObject *__pyx_v_lst = NULL;
+ PyObject *__pyx_v_event_conv = NULL;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kargs = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ void *__pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ Py_ssize_t __pyx_t_4;
+ 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;
+ PyObject *(*__pyx_t_10)(PyObject *);
+ PyObject *__pyx_t_11 = NULL;
+ PyObject *__pyx_t_12 = NULL;
+ PyObject *__pyx_t_13 = NULL;
+ int __pyx_t_14;
+ int __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("_object_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":35
+ * cdef Object obj
+ * cdef object event, ei
+ * obj = <Object>evas_object_data_get(o, "python-evas") # <<<<<<<<<<<<<<
+ * event = <object>data
+ * lst = tuple(obj._elmcallbacks[event])
+ */
+ __pyx_t_1 = evas_object_data_get(__pyx_v_o, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":36
+ * cdef object event, ei
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * event = <object>data # <<<<<<<<<<<<<<
+ * lst = tuple(obj._elmcallbacks[event])
+ * for event_conv, func, args, kargs in lst:
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_event = ((PyObject *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":37
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * event = <object>data
+ * lst = tuple(obj._elmcallbacks[event]) # <<<<<<<<<<<<<<
+ * for event_conv, func, args, kargs in lst:
+ * try:
+ */
+ __pyx_t_2 = PyObject_GetItem(__pyx_v_obj->_elmcallbacks, __pyx_v_event); if (!__pyx_t_2) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_v_lst = ((PyObject*)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":38
+ * event = <object>data
+ * lst = tuple(obj._elmcallbacks[event])
+ * for event_conv, func, args, kargs in lst: # <<<<<<<<<<<<<<
+ * try:
+ * if event_conv is None:
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_lst); __Pyx_INCREF(__pyx_t_2); __pyx_t_4 = 0;
+ for (;;) {
+ if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
+ __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++;
+ if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) {
+ PyObject* sequence = __pyx_t_3;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_8 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_6 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_7 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_8 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_5);
+ __Pyx_INCREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_t_7);
+ __Pyx_INCREF(__pyx_t_8);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_9 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_10 = Py_TYPE(__pyx_t_9)->tp_iternext;
+ index = 0; __pyx_t_5 = __pyx_t_10(__pyx_t_9); if (unlikely(!__pyx_t_5)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ index = 1; __pyx_t_6 = __pyx_t_10(__pyx_t_9); if (unlikely(!__pyx_t_6)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_6);
+ index = 2; __pyx_t_7 = __pyx_t_10(__pyx_t_9); if (unlikely(!__pyx_t_7)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_7);
+ index = 3; __pyx_t_8 = __pyx_t_10(__pyx_t_9); if (unlikely(!__pyx_t_8)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_8);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_9), 4) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ goto __pyx_L6_unpacking_done;
+ __pyx_L5_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L6_unpacking_done:;
+ }
+ __Pyx_XDECREF(__pyx_v_event_conv);
+ __pyx_v_event_conv = __pyx_t_5;
+ __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_v_func);
+ __pyx_v_func = __pyx_t_6;
+ __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_v_args);
+ __pyx_v_args = __pyx_t_7;
+ __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __pyx_v_kargs = __pyx_t_8;
+ __pyx_t_8 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":39
+ * lst = tuple(obj._elmcallbacks[event])
+ * for event_conv, func, args, kargs in lst:
+ * try: # <<<<<<<<<<<<<<
+ * if event_conv is None:
+ * func(obj, *args, **kargs)
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_11, &__pyx_t_12, &__pyx_t_13);
+ __Pyx_XGOTREF(__pyx_t_11);
+ __Pyx_XGOTREF(__pyx_t_12);
+ __Pyx_XGOTREF(__pyx_t_13);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":40
+ * for event_conv, func, args, kargs in lst:
+ * try:
+ * if event_conv is None: # <<<<<<<<<<<<<<
+ * func(obj, *args, **kargs)
+ * else:
+ */
+ __pyx_t_14 = (__pyx_v_event_conv == Py_None);
+ if (__pyx_t_14) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":41
+ * try:
+ * if event_conv is None:
+ * func(obj, *args, **kargs) # <<<<<<<<<<<<<<
+ * else:
+ * ei = event_conv(<long>event_info)
+ */
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __pyx_t_8 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ __pyx_t_7 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ if (unlikely(__pyx_v_kargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kargs))) {
+ __pyx_t_8 = __pyx_v_kargs;
+ __Pyx_INCREF(__pyx_t_8);
+ } else {
+ __pyx_t_8 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kargs, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ }
+ __pyx_t_3 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_7), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L15;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":43
+ * func(obj, *args, **kargs)
+ * else:
+ * ei = event_conv(<long>event_info) # <<<<<<<<<<<<<<
+ * func(obj, ei, *args, **kargs)
+ * except Exception, e:
+ */
+ __pyx_t_3 = PyInt_FromLong(((long)__pyx_v_event_info)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ __pyx_t_3 = 0;
+ __pyx_t_3 = PyObject_Call(__pyx_v_event_conv, ((PyObject *)__pyx_t_8), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_v_ei);
+ __pyx_v_ei = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":44
+ * else:
+ * ei = event_conv(<long>event_info)
+ * func(obj, ei, *args, **kargs) # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __Pyx_INCREF(__pyx_v_ei);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_ei);
+ __Pyx_GIVEREF(__pyx_v_ei);
+ __pyx_t_8 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ __pyx_t_7 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ if (unlikely(__pyx_v_kargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kargs))) {
+ __pyx_t_8 = __pyx_v_kargs;
+ __Pyx_INCREF(__pyx_t_8);
+ } else {
+ __pyx_t_8 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kargs, NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ }
+ __pyx_t_3 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_7), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ }
+ __pyx_L15:;
+ }
+ __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
+ __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
+ __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
+ goto __pyx_L14_try_end;
+ __pyx_L7_error:;
+ __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":45
+ * ei = event_conv(<long>event_info)
+ * func(obj, ei, *args, **kargs)
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_15 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_15) {
+ __Pyx_AddTraceback("elementary.c_elementary._object_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_8, &__pyx_t_7) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_v_e);
+ __pyx_v_e = __pyx_t_8;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":46
+ * func(obj, ei, *args, **kargs)
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef Evas_Object *_tooltip_content_create(void *data, Evas_Object *o, Evas_Object *t) with gil:
+ */
+ __pyx_t_6 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_5 = PyObject_GetAttr(__pyx_t_6, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __pyx_t_6 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ goto __pyx_L8_exception_handled;
+ }
+ __pyx_L9_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_11);
+ __Pyx_XGIVEREF(__pyx_t_12);
+ __Pyx_XGIVEREF(__pyx_t_13);
+ __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13);
+ goto __pyx_L1_error;
+ __pyx_L8_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_11);
+ __Pyx_XGIVEREF(__pyx_t_12);
+ __Pyx_XGIVEREF(__pyx_t_13);
+ __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13);
+ __pyx_L14_try_end:;
+ }
+ }
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __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);
+ __Pyx_WriteUnraisable("elementary.c_elementary._object_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_event);
+ __Pyx_XDECREF(__pyx_v_ei);
+ __Pyx_XDECREF(__pyx_v_lst);
+ __Pyx_XDECREF(__pyx_v_event_conv);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":48
+ * traceback.print_exc()
+ *
+ * cdef Evas_Object *_tooltip_content_create(void *data, Evas_Object *o, Evas_Object *t) with gil: # <<<<<<<<<<<<<<
+ * cdef Object ret, obj, tooltip
+ *
+ */
+
+static Evas_Object *__pyx_f_10elementary_12c_elementary__tooltip_content_create(void *__pyx_v_data, Evas_Object *__pyx_v_o, Evas_Object *__pyx_v_t) {
+ struct PyElementaryObject *__pyx_v_ret = 0;
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ struct PyElementaryObject *__pyx_v_tooltip = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kargs = NULL;
+ Evas_Object *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ void *__pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *(*__pyx_t_6)(PyObject *);
+ int __pyx_t_7;
+ int __pyx_t_8;
+ 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("_tooltip_content_create", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":51
+ * cdef Object ret, obj, tooltip
+ *
+ * obj = <Object>evas_object_data_get(o, "python-evas") # <<<<<<<<<<<<<<
+ * tooltip = Object_from_instance(t)
+ * (func, args, kargs) = <object>data
+ */
+ __pyx_t_1 = evas_object_data_get(__pyx_v_o, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":52
+ *
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * tooltip = Object_from_instance(t) # <<<<<<<<<<<<<<
+ * (func, args, kargs) = <object>data
+ * ret = func(obj, tooltip, *args, **kargs)
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_t)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_10elementary_12c_elementary_Object))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_tooltip = ((struct PyElementaryObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":53
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * tooltip = Object_from_instance(t)
+ * (func, args, kargs) = <object>data # <<<<<<<<<<<<<<
+ * ret = func(obj, tooltip, *args, **kargs)
+ * if not ret:
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_5 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = Py_TYPE(__pyx_t_5)->tp_iternext;
+ index = 0; __pyx_t_2 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 1; __pyx_t_3 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 2; __pyx_t_4 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_5), 3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_args = __pyx_t_3;
+ __pyx_t_3 = 0;
+ __pyx_v_kargs = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":54
+ * tooltip = Object_from_instance(t)
+ * (func, args, kargs) = <object>data
+ * ret = func(obj, tooltip, *args, **kargs) # <<<<<<<<<<<<<<
+ * if not ret:
+ * return NULL
+ */
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __Pyx_INCREF(((PyObject *)__pyx_v_tooltip));
+ PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_v_tooltip));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_tooltip));
+ __pyx_t_3 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_2 = PyNumber_Add(((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ if (unlikely(__pyx_v_kargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kargs))) {
+ __pyx_t_3 = __pyx_v_kargs;
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ __pyx_t_3 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kargs, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ }
+ __pyx_t_4 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_10elementary_12c_elementary_Object))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_ret = ((struct PyElementaryObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":55
+ * (func, args, kargs) = <object>data
+ * ret = func(obj, tooltip, *args, **kargs)
+ * if not ret: # <<<<<<<<<<<<<<
+ * return NULL
+ * return ret.obj
+ */
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_ret)); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_8 = (!__pyx_t_7);
+ if (__pyx_t_8) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":56
+ * ret = func(obj, tooltip, *args, **kargs)
+ * if not ret:
+ * return NULL # <<<<<<<<<<<<<<
+ * return ret.obj
+ *
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":57
+ * if not ret:
+ * return NULL
+ * return ret.obj # <<<<<<<<<<<<<<
+ *
+ * cdef void _tooltip_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ */
+ __pyx_r = __pyx_v_ret->__pyx_base.obj;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_WriteUnraisable("elementary.c_elementary._tooltip_content_create", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF((PyObject *)__pyx_v_tooltip);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":59
+ * return ret.obj
+ *
+ * cdef void _tooltip_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * Py_DECREF(<object>data)
+ *
+ */
+
+static void __pyx_f_10elementary_12c_elementary__tooltip_data_del_cb(void *__pyx_v_data, CYTHON_UNUSED Evas_Object *__pyx_v_o, CYTHON_UNUSED void *__pyx_v_event_info) {
+ __Pyx_RefNannyDeclarations
+ #ifdef WITH_THREAD
+ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
+ #endif
+ __Pyx_RefNannySetupContext("_tooltip_data_del_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":60
+ *
+ * cdef void _tooltip_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ * Py_DECREF(<object>data) # <<<<<<<<<<<<<<
+ *
+ * cdef Eina_Bool _event_dispatcher(o, src, Evas_Callback_Type t, event_info):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_data));
+
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":62
+ * Py_DECREF(<object>data)
+ *
+ * cdef Eina_Bool _event_dispatcher(o, src, Evas_Callback_Type t, event_info): # <<<<<<<<<<<<<<
+ * cdef Object obj = o
+ * cdef object ret
+ */
+
+static Eina_Bool __pyx_f_10elementary_12c_elementary__event_dispatcher(PyObject *__pyx_v_o, PyObject *__pyx_v_src, Evas_Callback_Type __pyx_v_t, PyObject *__pyx_v_event_info) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ PyObject *__pyx_v_ret = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kargs = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ Eina_Bool __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Py_ssize_t __pyx_t_2;
+ PyObject *(*__pyx_t_3)(PyObject *);
+ 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)(PyObject *);
+ PyObject *__pyx_t_10 = NULL;
+ PyObject *__pyx_t_11 = NULL;
+ PyObject *__pyx_t_12 = NULL;
+ int __pyx_t_13;
+ int __pyx_t_14;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_event_dispatcher", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":63
+ *
+ * cdef Eina_Bool _event_dispatcher(o, src, Evas_Callback_Type t, event_info):
+ * cdef Object obj = o # <<<<<<<<<<<<<<
+ * cdef object ret
+ * for func, args, kargs in obj._elm_event_cbs:
+ */
+ if (!(likely(((__pyx_v_o) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_o, __pyx_ptype_10elementary_12c_elementary_Object))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(__pyx_v_o);
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_v_o);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":65
+ * cdef Object obj = o
+ * cdef object ret
+ * for func, args, kargs in obj._elm_event_cbs: # <<<<<<<<<<<<<<
+ * try:
+ * ret = func(obj, src, t, event_info, *args, **kargs)
+ */
+ if (PyList_CheckExact(__pyx_v_obj->_elm_event_cbs) || PyTuple_CheckExact(__pyx_v_obj->_elm_event_cbs)) {
+ __pyx_t_1 = __pyx_v_obj->_elm_event_cbs; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+ __pyx_t_3 = NULL;
+ } else {
+ __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_obj->_elm_event_cbs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext;
+ }
+ for (;;) {
+ if (!__pyx_t_3 && PyList_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else if (!__pyx_t_3 && PyTuple_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else {
+ __pyx_t_4 = __pyx_t_3(__pyx_t_1);
+ if (unlikely(!__pyx_t_4)) {
+ if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
+ else {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ break;
+ }
+ __Pyx_GOTREF(__pyx_t_4);
+ }
+ if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) {
+ PyObject* sequence = __pyx_t_4;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_6 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_7 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_5);
+ __Pyx_INCREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_8 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext;
+ index = 0; __pyx_t_5 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_5)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ index = 1; __pyx_t_6 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_6)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_6);
+ index = 2; __pyx_t_7 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_7)) goto __pyx_L5_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_7);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_unpacking_done;
+ __pyx_L5_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L6_unpacking_done:;
+ }
+ __Pyx_XDECREF(__pyx_v_func);
+ __pyx_v_func = __pyx_t_5;
+ __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_v_args);
+ __pyx_v_args = __pyx_t_6;
+ __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __pyx_v_kargs = __pyx_t_7;
+ __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":66
+ * cdef object ret
+ * for func, args, kargs in obj._elm_event_cbs:
+ * try: # <<<<<<<<<<<<<<
+ * ret = func(obj, src, t, event_info, *args, **kargs)
+ * except Exception, e:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_10, &__pyx_t_11, &__pyx_t_12);
+ __Pyx_XGOTREF(__pyx_t_10);
+ __Pyx_XGOTREF(__pyx_t_11);
+ __Pyx_XGOTREF(__pyx_t_12);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":67
+ * for func, args, kargs in obj._elm_event_cbs:
+ * try:
+ * ret = func(obj, src, t, event_info, *args, **kargs) # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Callback_Type(__pyx_v_t); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_7 = PyTuple_New(4); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __Pyx_INCREF(__pyx_v_src);
+ PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_v_src);
+ __Pyx_GIVEREF(__pyx_v_src);
+ PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_event_info);
+ PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_v_event_info);
+ __Pyx_GIVEREF(__pyx_v_event_info);
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __pyx_t_6 = PyNumber_Add(((PyObject *)__pyx_t_7), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_6));
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (unlikely(__pyx_v_kargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kargs))) {
+ __pyx_t_4 = __pyx_v_kargs;
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ __pyx_t_4 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kargs, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ }
+ __pyx_t_7 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __pyx_v_ret = __pyx_t_7;
+ __pyx_t_7 = 0;
+ }
+ /*else:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":71
+ * traceback.print_exc()
+ * else:
+ * if ret: # <<<<<<<<<<<<<<
+ * return True
+ * return False
+ */
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_v_ret); if (unlikely(__pyx_t_13 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ if (__pyx_t_13) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":72
+ * else:
+ * if ret:
+ * return True # <<<<<<<<<<<<<<
+ * return False
+ *
+ */
+ __pyx_r = 1;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L10_except_return;
+ goto __pyx_L15;
+ }
+ __pyx_L15:;
+ }
+ __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
+ __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
+ goto __pyx_L14_try_end;
+ __pyx_L7_error:;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":68
+ * try:
+ * ret = func(obj, src, t, event_info, *args, **kargs)
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * else:
+ */
+ __pyx_t_14 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_14) {
+ __Pyx_AddTraceback("elementary.c_elementary._event_dispatcher", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_4, &__pyx_t_6) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_v_e);
+ __pyx_v_e = __pyx_t_4;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":69
+ * ret = func(obj, src, t, event_info, *args, **kargs)
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * else:
+ * if ret:
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_8 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_Call(__pyx_t_8, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L8_exception_handled;
+ }
+ __pyx_L9_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_XGIVEREF(__pyx_t_11);
+ __Pyx_XGIVEREF(__pyx_t_12);
+ __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
+ goto __pyx_L1_error;
+ __pyx_L10_except_return:;
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_XGIVEREF(__pyx_t_11);
+ __Pyx_XGIVEREF(__pyx_t_12);
+ __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
+ goto __pyx_L0;
+ __pyx_L8_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_XGIVEREF(__pyx_t_11);
+ __Pyx_XGIVEREF(__pyx_t_12);
+ __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
+ __pyx_L14_try_end:;
+ }
+ }
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":73
+ * if ret:
+ * return True
+ * return False # <<<<<<<<<<<<<<
+ *
+ * #TODO: More event types
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __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_WriteUnraisable("elementary.c_elementary._event_dispatcher", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":76
+ *
+ * #TODO: More event types
+ * cdef Eina_Bool _event_callback(void *data, Evas_Object *o, Evas_Object *src, Evas_Callback_Type t, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * cdef Object obj = <Object>Object_from_instance(o)
+ * cdef Object src_obj = <Object>Object_from_instance(src)
+ */
+
+static Eina_Bool __pyx_f_10elementary_12c_elementary__event_callback(CYTHON_UNUSED void *__pyx_v_data, Evas_Object *__pyx_v_o, Evas_Object *__pyx_v_src, Evas_Callback_Type __pyx_v_t, void *__pyx_v_event_info) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ struct PyElementaryObject *__pyx_v_src_obj = 0;
+ CYTHON_UNUSED Eina_Bool __pyx_v_ret;
+ struct __pyx_obj_4evas_6c_evas_EventKeyDown *__pyx_v_down_event = 0;
+ struct __pyx_obj_4evas_6c_evas_EventKeyUp *__pyx_v_up_event = 0;
+ Eina_Bool __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ 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("_event_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":77
+ * #TODO: More event types
+ * cdef Eina_Bool _event_callback(void *data, Evas_Object *o, Evas_Object *src, Evas_Callback_Type t, void *event_info) with gil:
+ * cdef Object obj = <Object>Object_from_instance(o) # <<<<<<<<<<<<<<
+ * cdef Object src_obj = <Object>Object_from_instance(src)
+ * cdef Eina_Bool ret = False
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_o)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":78
+ * cdef Eina_Bool _event_callback(void *data, Evas_Object *o, Evas_Object *src, Evas_Callback_Type t, void *event_info) with gil:
+ * cdef Object obj = <Object>Object_from_instance(o)
+ * cdef Object src_obj = <Object>Object_from_instance(src) # <<<<<<<<<<<<<<
+ * cdef Eina_Bool ret = False
+ * cdef EventKeyDown down_event
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_src)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_src_obj = ((struct PyElementaryObject *)__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":79
+ * cdef Object obj = <Object>Object_from_instance(o)
+ * cdef Object src_obj = <Object>Object_from_instance(src)
+ * cdef Eina_Bool ret = False # <<<<<<<<<<<<<<
+ * cdef EventKeyDown down_event
+ * cdef EventKeyUp up_event
+ */
+ __pyx_v_ret = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":82
+ * cdef EventKeyDown down_event
+ * cdef EventKeyUp up_event
+ * if t == EVAS_CALLBACK_KEY_DOWN: # <<<<<<<<<<<<<<
+ * down_event = EventKeyDown()
+ * down_event._set_obj(event_info)
+ */
+ __pyx_t_2 = (__pyx_v_t == EVAS_CALLBACK_KEY_DOWN);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":83
+ * cdef EventKeyUp up_event
+ * if t == EVAS_CALLBACK_KEY_DOWN:
+ * down_event = EventKeyDown() # <<<<<<<<<<<<<<
+ * down_event._set_obj(event_info)
+ * ret = _event_dispatcher(obj, src_obj, t, down_event)
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_EventKeyDown)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_down_event = ((struct __pyx_obj_4evas_6c_evas_EventKeyDown *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":84
+ * if t == EVAS_CALLBACK_KEY_DOWN:
+ * down_event = EventKeyDown()
+ * down_event._set_obj(event_info) # <<<<<<<<<<<<<<
+ * ret = _event_dispatcher(obj, src_obj, t, down_event)
+ * down_event._unset_obj()
+ */
+ ((struct __pyx_vtabstruct_4evas_6c_evas_EventKeyDown *)__pyx_v_down_event->__pyx_vtab)->_set_obj(__pyx_v_down_event, __pyx_v_event_info);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":85
+ * down_event = EventKeyDown()
+ * down_event._set_obj(event_info)
+ * ret = _event_dispatcher(obj, src_obj, t, down_event) # <<<<<<<<<<<<<<
+ * down_event._unset_obj()
+ * elif t == EVAS_CALLBACK_KEY_UP:
+ */
+ __pyx_v_ret = __pyx_f_10elementary_12c_elementary__event_dispatcher(((PyObject *)__pyx_v_obj), ((PyObject *)__pyx_v_src_obj), __pyx_v_t, ((PyObject *)__pyx_v_down_event));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":86
+ * down_event._set_obj(event_info)
+ * ret = _event_dispatcher(obj, src_obj, t, down_event)
+ * down_event._unset_obj() # <<<<<<<<<<<<<<
+ * elif t == EVAS_CALLBACK_KEY_UP:
+ * up_event = EventKeyUp()
+ */
+ ((struct __pyx_vtabstruct_4evas_6c_evas_EventKeyDown *)__pyx_v_down_event->__pyx_vtab)->_unset_obj(__pyx_v_down_event);
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":87
+ * ret = _event_dispatcher(obj, src_obj, t, down_event)
+ * down_event._unset_obj()
+ * elif t == EVAS_CALLBACK_KEY_UP: # <<<<<<<<<<<<<<
+ * up_event = EventKeyUp()
+ * up_event._set_obj(event_info)
+ */
+ __pyx_t_2 = (__pyx_v_t == EVAS_CALLBACK_KEY_UP);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":88
+ * down_event._unset_obj()
+ * elif t == EVAS_CALLBACK_KEY_UP:
+ * up_event = EventKeyUp() # <<<<<<<<<<<<<<
+ * up_event._set_obj(event_info)
+ * ret = _event_dispatcher(obj, src_obj, t, up_event)
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_EventKeyUp)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_up_event = ((struct __pyx_obj_4evas_6c_evas_EventKeyUp *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":89
+ * elif t == EVAS_CALLBACK_KEY_UP:
+ * up_event = EventKeyUp()
+ * up_event._set_obj(event_info) # <<<<<<<<<<<<<<
+ * ret = _event_dispatcher(obj, src_obj, t, up_event)
+ * up_event._unset_obj()
+ */
+ ((struct __pyx_vtabstruct_4evas_6c_evas_EventKeyUp *)__pyx_v_up_event->__pyx_vtab)->_set_obj(__pyx_v_up_event, __pyx_v_event_info);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":90
+ * up_event = EventKeyUp()
+ * up_event._set_obj(event_info)
+ * ret = _event_dispatcher(obj, src_obj, t, up_event) # <<<<<<<<<<<<<<
+ * up_event._unset_obj()
+ *
+ */
+ __pyx_v_ret = __pyx_f_10elementary_12c_elementary__event_dispatcher(((PyObject *)__pyx_v_obj), ((PyObject *)__pyx_v_src_obj), __pyx_v_t, ((PyObject *)__pyx_v_up_event));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":91
+ * up_event._set_obj(event_info)
+ * ret = _event_dispatcher(obj, src_obj, t, up_event)
+ * up_event._unset_obj() # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ ((struct __pyx_vtabstruct_4evas_6c_evas_EventKeyUp *)__pyx_v_up_event->__pyx_vtab)->_unset_obj(__pyx_v_up_event);
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_WriteUnraisable("elementary.c_elementary._event_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF((PyObject *)__pyx_v_src_obj);
+ __Pyx_XDECREF((PyObject *)__pyx_v_down_event);
+ __Pyx_XDECREF((PyObject *)__pyx_v_up_event);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":94
+ *
+ *
+ * cdef void _event_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * Py_DECREF(<object>data)
+ *
+ */
+
+static void __pyx_f_10elementary_12c_elementary__event_data_del_cb(void *__pyx_v_data, CYTHON_UNUSED Evas_Object *__pyx_v_o, CYTHON_UNUSED void *__pyx_v_event_info) {
+ __Pyx_RefNannyDeclarations
+ #ifdef WITH_THREAD
+ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
+ #endif
+ __Pyx_RefNannySetupContext("_event_data_del_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":95
+ *
+ * cdef void _event_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ * Py_DECREF(<object>data) # <<<<<<<<<<<<<<
+ *
+ * cdef _strings_to_python(const_Eina_List *lst):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_data));
+
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":97
+ * Py_DECREF(<object>data)
+ *
+ * cdef _strings_to_python(const_Eina_List *lst): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr s
+ * ret = []
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__strings_to_python(const Eina_List *__pyx_v_lst) {
+ const char * __pyx_v_s;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_strings_to_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":99
+ * cdef _strings_to_python(const_Eina_List *lst):
+ * cdef const_char_ptr s
+ * ret = [] # <<<<<<<<<<<<<<
+ * while lst:
+ * s = <const_char_ptr>lst.data
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":100
+ * cdef const_char_ptr s
+ * ret = []
+ * while lst: # <<<<<<<<<<<<<<
+ * s = <const_char_ptr>lst.data
+ * if s != NULL:
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":101
+ * ret = []
+ * while lst:
+ * s = <const_char_ptr>lst.data # <<<<<<<<<<<<<<
+ * if s != NULL:
+ * ret.append(_ctouni(s))
+ */
+ __pyx_v_s = ((const char *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":102
+ * while lst:
+ * s = <const_char_ptr>lst.data
+ * if s != NULL: # <<<<<<<<<<<<<<
+ * ret.append(_ctouni(s))
+ * lst = lst.next
+ */
+ __pyx_t_2 = (__pyx_v_s != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":103
+ * s = <const_char_ptr>lst.data
+ * if s != NULL:
+ * ret.append(_ctouni(s)) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_s)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyList_Append(__pyx_v_ret, __pyx_t_1); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":104
+ * if s != NULL:
+ * ret.append(_ctouni(s))
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":105
+ * ret.append(_ctouni(s))
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * cdef Eina_List * _strings_from_python(strings):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary._strings_to_python", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":107
+ * return ret
+ *
+ * cdef Eina_List * _strings_from_python(strings): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst = NULL
+ * for s in strings:
+ */
+
+static Eina_List *__pyx_f_10elementary_12c_elementary__strings_from_python(PyObject *__pyx_v_strings) {
+ Eina_List *__pyx_v_lst;
+ PyObject *__pyx_v_s = NULL;
+ Eina_List *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Py_ssize_t __pyx_t_2;
+ PyObject *(*__pyx_t_3)(PyObject *);
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_strings_from_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":108
+ *
+ * cdef Eina_List * _strings_from_python(strings):
+ * cdef Eina_List *lst = NULL # <<<<<<<<<<<<<<
+ * for s in strings:
+ * lst = eina_list_append(lst, _cfruni(s))
+ */
+ __pyx_v_lst = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":109
+ * cdef Eina_List * _strings_from_python(strings):
+ * cdef Eina_List *lst = NULL
+ * for s in strings: # <<<<<<<<<<<<<<
+ * lst = eina_list_append(lst, _cfruni(s))
+ * return lst
+ */
+ if (PyList_CheckExact(__pyx_v_strings) || PyTuple_CheckExact(__pyx_v_strings)) {
+ __pyx_t_1 = __pyx_v_strings; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+ __pyx_t_3 = NULL;
+ } else {
+ __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_strings); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext;
+ }
+ for (;;) {
+ if (!__pyx_t_3 && PyList_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else if (!__pyx_t_3 && PyTuple_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else {
+ __pyx_t_4 = __pyx_t_3(__pyx_t_1);
+ if (unlikely(!__pyx_t_4)) {
+ if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
+ else {__pyx_filename = __pyx_f[2]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ break;
+ }
+ __Pyx_GOTREF(__pyx_t_4);
+ }
+ __Pyx_XDECREF(__pyx_v_s);
+ __pyx_v_s = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":110
+ * cdef Eina_List *lst = NULL
+ * for s in strings:
+ * lst = eina_list_append(lst, _cfruni(s)) # <<<<<<<<<<<<<<
+ * return lst
+ *
+ */
+ __pyx_v_lst = eina_list_append(__pyx_v_lst, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_s));
+ }
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":111
+ * for s in strings:
+ * lst = eina_list_append(lst, _cfruni(s))
+ * return lst # <<<<<<<<<<<<<<
+ *
+ * def _cb_string_conv(long addr):
+ */
+ __pyx_r = __pyx_v_lst;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_WriteUnraisable("elementary.c_elementary._strings_from_python", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_s);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_65_cb_string_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_65_cb_string_conv = {__Pyx_NAMESTR("_cb_string_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_65_cb_string_conv, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_65_cb_string_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_cb_string_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._cb_string_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_64_cb_string_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":113
+ * return lst
+ *
+ * def _cb_string_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr s = <const_char_ptr>addr
+ * if s == NULL:
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_64_cb_string_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr) {
+ const char * __pyx_v_s;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_cb_string_conv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":114
+ *
+ * def _cb_string_conv(long addr):
+ * cdef const_char_ptr s = <const_char_ptr>addr # <<<<<<<<<<<<<<
+ * if s == NULL:
+ * return None
+ */
+ __pyx_v_s = ((const char *)__pyx_v_addr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":115
+ * def _cb_string_conv(long addr):
+ * cdef const_char_ptr s = <const_char_ptr>addr
+ * if s == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_s == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":116
+ * cdef const_char_ptr s = <const_char_ptr>addr
+ * if s == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * else:
+ * return s
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":118
+ * return None
+ * else:
+ * return s # <<<<<<<<<<<<<<
+ *
+ * cdef _object_list_to_python(const_Eina_List *lst):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_s); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary._cb_string_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":120
+ * return s
+ *
+ * cdef _object_list_to_python(const_Eina_List *lst): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *o
+ * ret = []
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__object_list_to_python(const Eina_List *__pyx_v_lst) {
+ Evas_Object *__pyx_v_o;
+ PyObject *__pyx_v_ret = NULL;
+ struct PyEvasObject *__pyx_v_obj = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_object_list_to_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":122
+ * cdef _object_list_to_python(const_Eina_List *lst):
+ * cdef Evas_Object *o
+ * ret = [] # <<<<<<<<<<<<<<
+ * while lst:
+ * o = <Evas_Object *>lst.data
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":123
+ * cdef Evas_Object *o
+ * ret = []
+ * while lst: # <<<<<<<<<<<<<<
+ * o = <Evas_Object *>lst.data
+ * obj = Object_from_instance(o)
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":124
+ * ret = []
+ * while lst:
+ * o = <Evas_Object *>lst.data # <<<<<<<<<<<<<<
+ * obj = Object_from_instance(o)
+ * ret.append(obj)
+ */
+ __pyx_v_o = ((Evas_Object *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":125
+ * while lst:
+ * o = <Evas_Object *>lst.data
+ * obj = Object_from_instance(o) # <<<<<<<<<<<<<<
+ * ret.append(obj)
+ * lst = lst.next
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_o)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(((PyObject *)__pyx_v_obj));
+ __pyx_v_obj = ((struct PyEvasObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":126
+ * o = <Evas_Object *>lst.data
+ * obj = Object_from_instance(o)
+ * ret.append(obj) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_3 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_v_obj)); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":127
+ * obj = Object_from_instance(o)
+ * ret.append(obj)
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":128
+ * ret.append(obj)
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * cdef class Canvas(evas.c_evas.Canvas):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary._object_list_to_python", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Canvas_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Canvas_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
+ __Pyx_RaiseArgtupleInvalid("__init__", 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, "__init__", 0))) return -1;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Canvas___init__(((struct __pyx_obj_10elementary_12c_elementary_Canvas *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":131
+ *
+ * cdef class Canvas(evas.c_evas.Canvas):
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Canvas___init__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Canvas *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_1part_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_part_text_set[] = "part_text_set(part, text)\n\n Sets the text of a given part of this object.\n\n @see: L{text_set()} and L{part_text_get()}\n\n @param part: part name to set the text.\n @type part: string\n @param text: text to set.\n @type text: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_1part_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ PyObject *__pyx_v_text = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__text,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_text_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_text_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_text_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 160; __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_part = values[0];
+ __pyx_v_text = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_text_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.part_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_part_text_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_part, __pyx_v_text);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":160
+ * cdef object _elm_event_cbs
+ *
+ * def part_text_set(self, part, text): # <<<<<<<<<<<<<<
+ * """part_text_set(part, text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_part_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("part_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":173
+ *
+ * """
+ * elm_object_part_text_set(self.obj, _cfruni(part) if part is not None else NULL, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def text_set(self, text):
+ */
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_part_text_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_3text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_2text_set[] = "text_set(text)\n\n Sets the main text for this object.\n\n @see: L{text_get()} and L{part_text_set()}\n\n @param text: any text to set as the main textual part of this object.\n @type text: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_3text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_2text_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":175
+ * elm_object_part_text_set(self.obj, _cfruni(part) if part is not None else NULL, _cfruni(text))
+ *
+ * def text_set(self, text): # <<<<<<<<<<<<<<
+ * """text_set(text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_2text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":186
+ *
+ * """
+ * elm_object_text_set(self.obj, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def part_text_get(self, part):
+ */
+ elm_object_text_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5part_text_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_4part_text_get[] = "part_text_get(part)\n\n Gets the text of a given part of this object.\n\n @see: L{text_get()} and L{part_text_set()}\n\n @param part: part name to get the text.\n @type part: string\n @return: the text of a part or None if nothing was set.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5part_text_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_text_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_4part_text_get(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":188
+ * elm_object_text_set(self.obj, _cfruni(text))
+ *
+ * def part_text_get(self, part): # <<<<<<<<<<<<<<
+ * """part_text_get(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_4part_text_get(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("part_text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":201
+ *
+ * """
+ * return _ctouni(elm_object_part_text_get(self.obj, _cfruni(part) if part is not None else NULL)) # <<<<<<<<<<<<<<
+ *
+ * def text_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_t_3 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_part_text_get(__pyx_v_self->__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.part_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_7text_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_6text_get[] = "text_get()\n\n Gets the main text for this object.\n\n @see: L{text_set()} and L{part_text_get()}\n\n @return: the main text or None if nothing was set.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_7text_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_6text_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":203
+ * return _ctouni(elm_object_part_text_get(self.obj, _cfruni(part) if part is not None else NULL))
+ *
+ * def text_get(self): # <<<<<<<<<<<<<<
+ * """text_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_6text_get(struct PyElementaryObject *__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("text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":214
+ *
+ * """
+ * return _ctouni(elm_object_text_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property text:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_text_get(__pyx_v_self->__pyx_base.obj))); 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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_4text_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_4text_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_4text___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":217
+ *
+ * property text:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.text_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_4text___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":218
+ * property text:
+ * def __get__(self):
+ * return self.text_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 218; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.text.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_4text_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_4text_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_4text_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":220
+ * return self.text_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.text_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_4text_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":221
+ *
+ * def __set__(self, value):
+ * self.text_set(value) # <<<<<<<<<<<<<<
+ *
+ * def part_content_set(self, part, evasObject content):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.text.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_9part_content_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_8part_content_set[] = "part_content_set(part, content)\n\n Set a content of an object\n\n This sets a new object to a widget as a content object. If any\n object was already set as a content object in the same part,\n previous object will be deleted automatically.\n\n @note: Elementary objects may have many contents\n\n @param part: The content part name to set (None for the default content)\n @type part: string\n @param content: The new content of the object\n @type content: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_9part_content_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_content = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__content,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_content_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__content);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_content_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_content_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 223; __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_part = values[0];
+ __pyx_v_content = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_content_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.part_content_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_8part_content_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_part, __pyx_v_content);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":223
+ * self.text_set(value)
+ *
+ * def part_content_set(self, part, evasObject content): # <<<<<<<<<<<<<<
+ * """part_content_set(part, content)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_8part_content_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_content) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("part_content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":240
+ *
+ * """
+ * elm_object_part_content_set(self.obj, _cfruni(part) if part is not None else NULL, content.obj) # <<<<<<<<<<<<<<
+ *
+ * def content_set(self, evasObject obj):
+ */
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_part_content_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1, __pyx_v_content->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_11content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_obj); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_11content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_obj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_10content_set(((struct PyElementaryObject *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_obj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":242
+ * elm_object_part_content_set(self.obj, _cfruni(part) if part is not None else NULL, content.obj)
+ *
+ * def content_set(self, evasObject obj): # <<<<<<<<<<<<<<
+ * elm_object_part_content_set(self.obj, NULL, obj.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_10content_set(struct PyElementaryObject *__pyx_v_self, struct PyEvasObject *__pyx_v_obj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":243
+ *
+ * def content_set(self, evasObject obj):
+ * elm_object_part_content_set(self.obj, NULL, obj.obj) # <<<<<<<<<<<<<<
+ *
+ * def part_content_get(self, part):
+ */
+ elm_object_part_content_set(__pyx_v_self->__pyx_base.obj, NULL, __pyx_v_obj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13part_content_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_12part_content_get[] = "part_content_get(part)\n\n Get a content of an object\n\n @note: Elementary objects may have many contents\n\n @param part: The content part name to get (None for the default content)\n @type part: string\n @return: content of the object or None for any error\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13part_content_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_12part_content_get(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":245
+ * elm_object_part_content_set(self.obj, NULL, obj.obj)
+ *
+ * def part_content_get(self, part): # <<<<<<<<<<<<<<
+ * """part_content_get(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_12part_content_get(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("part_content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":258
+ *
+ * """
+ * return Object_from_instance(elm_object_part_content_get(self.obj, _cfruni(part) if part is not None else NULL)) # <<<<<<<<<<<<<<
+ *
+ * def content_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_t_3 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_part_content_get(__pyx_v_self->__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.part_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_15content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_15content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_14content_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":260
+ * return Object_from_instance(elm_object_part_content_get(self.obj, _cfruni(part) if part is not None else NULL))
+ *
+ * def content_get(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_object_content_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_14content_get(struct PyElementaryObject *__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("content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":261
+ *
+ * def content_get(self):
+ * return Object_from_instance(elm_object_content_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def part_content_unset(self, part):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_content_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_17part_content_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_16part_content_unset[] = "part_content_unset(part)\n\n Unset a content of an object\n\n @note: Elementary objects may have many contents\n\n @param part: The content part name to unset (None for the default\n content)\n @type part: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_17part_content_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_content_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_16part_content_unset(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":263
+ * return Object_from_instance(elm_object_content_get(self.obj))
+ *
+ * def part_content_unset(self, part): # <<<<<<<<<<<<<<
+ * """part_content_unset(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_16part_content_unset(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("part_content_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":275
+ *
+ * """
+ * return Object_from_instance(elm_object_part_content_unset(self.obj, _cfruni(part) if part is not None else NULL)) # <<<<<<<<<<<<<<
+ *
+ * def content_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_t_3 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_part_content_unset(__pyx_v_self->__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.part_content_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_19content_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_19content_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_18content_unset(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":277
+ * return Object_from_instance(elm_object_part_content_unset(self.obj, _cfruni(part) if part is not None else NULL))
+ *
+ * def content_unset(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_object_content_unset(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_18content_unset(struct PyElementaryObject *__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("content_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":278
+ *
+ * def content_unset(self):
+ * return Object_from_instance(elm_object_content_unset(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property content:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_content_unset(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.content_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_7content_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_7content_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_7content___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":281
+ *
+ * property content:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.content_get()
+ * def __set__(self, content):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_7content___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":282
+ * property content:
+ * def __get__(self):
+ * return self.content_get() # <<<<<<<<<<<<<<
+ * def __set__(self, content):
+ * self.content_set(content)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 282; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.content.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_7content_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_7content_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_7content_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_content));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":283
+ * def __get__(self):
+ * return self.content_get()
+ * def __set__(self, content): # <<<<<<<<<<<<<<
+ * self.content_set(content)
+ * def __del__(self):
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_7content_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":284
+ * return self.content_get()
+ * def __set__(self, content):
+ * self.content_set(content) # <<<<<<<<<<<<<<
+ * def __del__(self):
+ * self.content_unset()
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_content);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_content);
+ __Pyx_GIVEREF(__pyx_v_content);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.content.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_7content_5__del__(PyObject *__pyx_v_self); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_7content_5__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_7content_4__del__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":285
+ * def __set__(self, content):
+ * self.content_set(content)
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * self.content_unset()
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_7content_4__del__(struct PyElementaryObject *__pyx_v_self) {
+ int __pyx_r;
+ __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("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":286
+ * self.content_set(content)
+ * def __del__(self):
+ * self.content_unset() # <<<<<<<<<<<<<<
+ *
+ * def access_info_set(self, txt):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_unset); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 286; __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_2); __pyx_t_2 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.content.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_21access_info_set(PyObject *__pyx_v_self, PyObject *__pyx_v_txt); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_20access_info_set[] = "access_info_set(txt)\n\n Set the text to read out when in accessibility mode\n\n @param txt: The text that describes the widget to people with poor or no vision\n @type txt: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_21access_info_set(PyObject *__pyx_v_self, PyObject *__pyx_v_txt) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("access_info_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_20access_info_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_txt));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":288
+ * self.content_unset()
+ *
+ * def access_info_set(self, txt): # <<<<<<<<<<<<<<
+ * """access_info_set(txt)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_20access_info_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_txt) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("access_info_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":297
+ *
+ * """
+ * elm_object_access_info_set(self.obj, _cfruni(txt)) # <<<<<<<<<<<<<<
+ *
+ * def name_find(self, name not None, int recurse = 0):
+ */
+ elm_object_access_info_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_txt));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_23name_find(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_22name_find[] = "name_find(name, recurse)\n\n Get a named object from the children\n\n This function searches the children (or recursively children of\n children and so on) of the given object looking for a child with the\n name of C{name}. If the child is found the object is returned, or\n None is returned. You can set the name of an object with\n L{name_set()}. If the name is not unique within the child objects\n (or the tree is C{recurse} is greater than 0) then it is undefined\n as to which child of that name is returned, so ensure the name is\n unique amongst children. If recurse is set to -1 it will recurse\n without limit.\n\n @param name: The name of the child to find\n @type name: string\n @param recurse: Set to the maximum number of levels to recurse (0 == none, 1 is only look at 1 level of children etc.)\n @type recurse: int\n @return: The found object of that name, or None if none is found\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_23name_find(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_name = 0;
+ int __pyx_v_recurse;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__recurse,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("name_find (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__recurse);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "name_find") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (values[1]) {
+ } else {
+ __pyx_v_recurse = ((int)0);
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_name = values[0];
+ if (values[1]) {
+ __pyx_v_recurse = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_recurse == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ } else {
+ __pyx_v_recurse = ((int)0);
+ }
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("name_find", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.name_find", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(((PyObject *)__pyx_v_name) == Py_None)) {
+ PyErr_Format(PyExc_TypeError, "Argument 'name' must not be None"); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_22name_find(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_name, __pyx_v_recurse);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":299
+ * elm_object_access_info_set(self.obj, _cfruni(txt))
+ *
+ * def name_find(self, name not None, int recurse = 0): # <<<<<<<<<<<<<<
+ * """name_find(name, recurse)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_22name_find(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_name, int __pyx_v_recurse) {
+ 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("name_find", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":322
+ *
+ * """
+ * return Object_from_instance(elm_object_name_find(self.obj, _cfruni(name), recurse)) # <<<<<<<<<<<<<<
+ *
+ * def style_set(self, style):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_name_find(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_name), __pyx_v_recurse))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.name_find", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_25style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_24style_set[] = "style_set(style)\n\n Set the style to used by a given widget\n\n This sets the style (by name) that will define the appearance of a\n widget. Styles vary from widget to widget and may also be defined\n by other themes by means of extensions and overlays.\n\n @see: elm_theme_extension_add()\n @see: elm_theme_extension_del()\n @see: elm_theme_overlay_add()\n @see: elm_theme_overlay_del()\n\n @param style: The name of the style to use on it\n @type style: string\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_25style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("style_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_24style_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":324
+ * return Object_from_instance(elm_object_name_find(self.obj, _cfruni(name), recurse))
+ *
+ * def style_set(self, style): # <<<<<<<<<<<<<<
+ * """style_set(style)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_24style_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":344
+ *
+ * """
+ * elm_object_style_set(self.obj, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def style_get(self):
+ */
+ elm_object_style_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_27style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_26style_get[] = "style_get()\n\n Get the style used by the widget\n\n This gets the style being used for that widget. Note that the string\n pointer is only valid as long as the object is valid and the style doesn't\n change.\n\n @see: L{style_set()}\n\n @return: The style name used\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_27style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_26style_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":346
+ * elm_object_style_set(self.obj, _cfruni(style))
+ *
+ * def style_get(self): # <<<<<<<<<<<<<<
+ * """style_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_26style_get(struct PyElementaryObject *__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("style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":361
+ *
+ * """
+ * return _ctouni(elm_object_style_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_style_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5style_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_5style___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":369
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.style_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_5style___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":370
+ * """
+ * def __get__(self):
+ * return self.style_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.style_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__style_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 370; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_5style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_5style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_5style_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":371
+ * def __get__(self):
+ * return self.style_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.style_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_5style_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":372
+ * return self.style_get()
+ * def __set__(self, value):
+ * self.style_set(value) # <<<<<<<<<<<<<<
+ *
+ * def disabled_set(self, disabled):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__style_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.style.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_29disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_28disabled_set[] = "disabled_set(disabled)\n\n Set the disabled state of an Elementary object.\n\n Elementary objects can be B{disabled}, in which state they won't\n receive input and, in general, will be themed differently from\n their normal state, usually greyed out. Useful for contexts\n where you don't want your users to interact with some of the\n parts of you interface.\n\n This sets the state for the widget, either disabling it or\n enabling it back.\n\n @param disabled: The state to put in in: C{True} for\n disabled, C{False} for enabled\n @type disabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_29disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_28disabled_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":374
+ * self.style_set(value)
+ *
+ * def disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """disabled_set(disabled)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_28disabled_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":393
+ *
+ * """
+ * elm_object_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def disabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_disabled_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_31disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_30disabled_get[] = "disabled_get()\n\n Get the disabled state of an Elementary object.\n\n This gets the state of the widget, which might be enabled or disabled.\n\n @return: C{True}, if the widget is disabled, C{False} if it's enabled\n (or on errors)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_31disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_30disabled_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":395
+ * elm_object_disabled_set(self.obj, disabled)
+ *
+ * def disabled_get(self): # <<<<<<<<<<<<<<
+ * """disabled_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_30disabled_get(struct PyElementaryObject *__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("disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":407
+ *
+ * """
+ * return bool(elm_object_disabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_disabled_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_8disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_8disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_8disabled___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":421
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.disabled_get()
+ * def __set__(self, disabled):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_8disabled___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":422
+ * """
+ * def __get__(self):
+ * return self.disabled_get() # <<<<<<<<<<<<<<
+ * def __set__(self, disabled):
+ * self.disabled_set(disabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__disabled_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 422; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_8disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_8disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_8disabled_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":423
+ * def __get__(self):
+ * return self.disabled_get()
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * self.disabled_set(disabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_8disabled_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":424
+ * return self.disabled_get()
+ * def __set__(self, disabled):
+ * self.disabled_set(disabled) # <<<<<<<<<<<<<<
+ *
+ * def widget_check(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__disabled_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_disabled);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_disabled);
+ __Pyx_GIVEREF(__pyx_v_disabled);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_33widget_check(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_32widget_check[] = "widget_check()\n\n Check if the given Evas Object is an Elementary widget.\n\n @return: C{True} if it is an elementary widget variant, C{False}\n otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_33widget_check(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("widget_check (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_32widget_check(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":426
+ * self.disabled_set(disabled)
+ *
+ * def widget_check(self): # <<<<<<<<<<<<<<
+ * """widget_check()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_32widget_check(struct PyElementaryObject *__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("widget_check", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":436
+ *
+ * """
+ * return bool(elm_object_widget_check(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def parent_widget_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_widget_check(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.widget_check", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_35parent_widget_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_34parent_widget_get[] = "parent_widget_get()\n\n Get the first parent of the given object that is an Elementary widget.\n\n Use this to query for an object's parent widget.\n\n @note: Most of Elementary users wouldn't be mixing non-Elementary\n smart objects in the objects tree of an application, as this is\n an advanced usage of Elementary with Evas. So, except for the\n application's window, which is the root of that tree, all other\n objects would have valid Elementary widget parents.\n\n @return: the parent object that is an Elementary widget, or C{None},\n if it was not found.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_35parent_widget_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_widget_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_34parent_widget_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":438
+ * return bool(elm_object_widget_check(self.obj))
+ *
+ * def parent_widget_get(self): # <<<<<<<<<<<<<<
+ * """parent_widget_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_34parent_widget_get(struct PyElementaryObject *__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("parent_widget_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":456
+ *
+ * """
+ * return Object_from_instance(elm_object_parent_widget_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property parent_widget:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_parent_widget_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.parent_widget_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13parent_widget_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13parent_widget_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13parent_widget___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":465
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.parent_widget_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13parent_widget___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":466
+ * """
+ * def __get__(self):
+ * return self.parent_widget_get() # <<<<<<<<<<<<<<
+ *
+ * def top_widget_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__parent_widget_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 466; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.parent_widget.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_37top_widget_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_36top_widget_get[] = "top_widget_get()\n\n Get the top level parent of an Elementary widget.\n\n @return: The top level Elementary widget, or C{None} if parent\n cannot be found.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_37top_widget_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("top_widget_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_36top_widget_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":468
+ * return self.parent_widget_get()
+ *
+ * def top_widget_get(self): # <<<<<<<<<<<<<<
+ * """top_widget_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_36top_widget_get(struct PyElementaryObject *__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("top_widget_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":478
+ *
+ * """
+ * return Object_from_instance(elm_object_top_widget_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property top_widget:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_top_widget_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.top_widget_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_10top_widget_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_10top_widget_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_10top_widget___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":487
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.top_widget_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_10top_widget___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":488
+ * """
+ * def __get__(self):
+ * return self.top_widget_get() # <<<<<<<<<<<<<<
+ *
+ * def widget_type_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__top_widget_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 488; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.top_widget.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_39widget_type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_38widget_type_get[] = "widget_type_get()\n\n Get the string that represents this Elementary widget.\n\n @note: Elementary is weird and exposes itself as a single\n Evas_Object_Smart_Class of type \"elm_widget\", so\n evas_object_type_get() always return that, making debug and\n language bindings hard. This function tries to mitigate this\n problem, but the solution is to change Elementary to use\n proper inheritance.\n\n @return: Elementary widget name, or C{None} if not a valid widget.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_39widget_type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("widget_type_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_38widget_type_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":490
+ * return self.top_widget_get()
+ *
+ * def widget_type_get(self): # <<<<<<<<<<<<<<
+ * """widget_type_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_38widget_type_get(struct PyElementaryObject *__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("widget_type_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":506
+ *
+ * """
+ * return elm_object_widget_type_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property widget_type:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_object_widget_type_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 506; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.widget_type_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_11widget_type_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_11widget_type_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_11widget_type___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":515
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_object_widget_type_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_11widget_type___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":516
+ * """
+ * def __get__(self):
+ * return elm_object_widget_type_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def signal_emit(self, emission, source):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_object_widget_type_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.widget_type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_41signal_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_40signal_emit[] = "signal_emit(emission, source)\n\n Send a signal to the widget edje object.\n\n This function sends a signal to the edje object of the obj. An edje\n program can respond to a signal by specifying matching 'signal' and\n 'source' fields.\n\n @param emission: The signal's name.\n @type emission: string\n @param source: The signal's source.\n @type source: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_41signal_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_emission = 0;
+ PyObject *__pyx_v_source = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__emission,&__pyx_n_s__source,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("signal_emit (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__emission);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__source);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("signal_emit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "signal_emit") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 518; __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_emission = values[0];
+ __pyx_v_source = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("signal_emit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.signal_emit", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_40signal_emit(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_emission, __pyx_v_source);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":518
+ * return elm_object_widget_type_get(self.obj)
+ *
+ * def signal_emit(self, emission, source): # <<<<<<<<<<<<<<
+ * """signal_emit(emission, source)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_40signal_emit(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_emission, PyObject *__pyx_v_source) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("signal_emit", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":533
+ *
+ * """
+ * elm_object_signal_emit(self.obj, _cfruni(emission), _cfruni(source)) # <<<<<<<<<<<<<<
+ *
+ * #def signal_callback_add(self, emission, source, func, data):
+ */
+ elm_object_signal_emit(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_emission), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_source));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_43elm_event_callback_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_42elm_event_callback_add[] = "elm_event_callback_add(func, *args, **kargs)\n\n Add a callback for input events (key up, key down, mouse wheel)\n on a given Elementary widget\n\n Every widget in an Elementary interface set to receive focus, with\n elm_object_focus_allow_set(), will propagate B{all} of its key up,\n key down and mouse wheel input events up to its parent object, and\n so on. All of the focusable ones in this chain which had an event\n callback set, with this call, will be able to treat those events.\n There are two ways of making the propagation of these event upwards\n in the tree of widgets to B{cease}:\n - Just return C{True} on C{func}. C{False} will mean the event\n was B{not} processed, so the propagation will go on.\n - The C{event_info} pointer passed to C{func} will contain the\n event's structure and, if you OR its C{event_flags} inner\n value to C{EVAS_EVENT_FLAG_ON_HOLD}, you're telling\n Elementary one has already handled it, thus killing the\n event's propagation, too.\n\n @note: Your event callback will be issued on those events taking\n place only if no other child widget has consumed the event already.\n\n @note: Not to be confused with C{evas_object_event_callback_add()},\n which will add event callbacks per type on general Evas objects\n (no event propagation infrastructure taken in account).\n\n @note: Not to be confused with L{signal_callback_add()},\n which will add callbacks to B{signals} coming from a widget's\n theme, not input events.\n\n @note: Not to be confused with C{edje_object_signal_callback_add()},\n which does the same as L{signal_callback_add()}, but directly on\n an Edje object.\n\n @note: Not to be confused with C{evas_object_smart_callback_add()},\n which adds callb""acks to smart objects' B{smart events}, and not\n input events.\n\n @see: L{event_callback_del()}\n\n @param func: The callback function to be executed when the event\n happens\n @type func: function\n @param args: Optional arguments containing data passed to C{func}\n @param kargs: Optional keyword arguments containing data passed to\n C{func}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_43elm_event_callback_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("elm_event_callback_add (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_kargs, values, used_pos_args, "elm_event_callback_add") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 542; __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("elm_event_callback_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.elm_event_callback_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_42elm_event_callback_add(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":542
+ *
+ * # XXX: Clashes badly with evas event_callback_*
+ * def elm_event_callback_add(self, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """elm_event_callback_add(func, *args, **kargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_42elm_event_callback_add(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("elm_event_callback_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":592
+ *
+ * """
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":593
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * if self._elm_event_cbs is None:
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_17), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":595
+ * raise TypeError("func must be callable")
+ *
+ * if self._elm_event_cbs is None: # <<<<<<<<<<<<<<
+ * self._elm_event_cbs = []
+ *
+ */
+ __pyx_t_4 = (__pyx_v_self->_elm_event_cbs == Py_None);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":596
+ *
+ * if self._elm_event_cbs is None:
+ * self._elm_event_cbs = [] # <<<<<<<<<<<<<<
+ *
+ * if not self._elm_event_cbs:
+ */
+ __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 596; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
+ __Pyx_GOTREF(__pyx_v_self->_elm_event_cbs);
+ __Pyx_DECREF(__pyx_v_self->_elm_event_cbs);
+ __pyx_v_self->_elm_event_cbs = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":598
+ * self._elm_event_cbs = []
+ *
+ * if not self._elm_event_cbs: # <<<<<<<<<<<<<<
+ * elm_object_event_callback_add(self.obj, _event_callback, NULL)
+ *
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_self->_elm_event_cbs); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = (!__pyx_t_4);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":599
+ *
+ * if not self._elm_event_cbs:
+ * elm_object_event_callback_add(self.obj, _event_callback, NULL) # <<<<<<<<<<<<<<
+ *
+ * data = (func, args, kargs)
+ */
+ elm_object_event_callback_add(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__event_callback, NULL);
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":601
+ * elm_object_event_callback_add(self.obj, _event_callback, NULL)
+ *
+ * data = (func, args, kargs) # <<<<<<<<<<<<<<
+ * self._elm_event_cbs.append(data)
+ *
+ */
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":602
+ *
+ * data = (func, args, kargs)
+ * self._elm_event_cbs.append(data) # <<<<<<<<<<<<<<
+ *
+ * def elm_event_callback_del(self, func, *args, **kargs):
+ */
+ __pyx_t_2 = __Pyx_PyObject_Append(__pyx_v_self->_elm_event_cbs, ((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 602; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.elm_event_callback_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_45elm_event_callback_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_44elm_event_callback_del[] = "elm_event_callback_del(func, *args, **kargs)\n\n Remove an event callback from a widget.\n\n This function removes a callback, previously attached to event emission.\n The parameters func and args, kwargs must match exactly those passed to\n a previous call to L{event_callback_add()}.\n\n @param func: The callback function to be executed when the event is\n emitted.\n @type func: function\n @param args: Optional arguments containing data passed to C{func}\n @param kargs: Optional keyword arguments containing data passed to\n C{func}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_45elm_event_callback_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("elm_event_callback_del (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_kargs, values, used_pos_args, "elm_event_callback_del") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 604; __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("elm_event_callback_del", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.elm_event_callback_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_44elm_event_callback_del(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":604
+ * self._elm_event_cbs.append(data)
+ *
+ * def elm_event_callback_del(self, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """elm_event_callback_del(func, *args, **kargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_44elm_event_callback_del(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("elm_event_callback_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":621
+ *
+ * """
+ * data = (func, args, kargs) # <<<<<<<<<<<<<<
+ * self._elm_event_cbs.remove(data)
+ *
+ */
+ __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_1, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_v_data = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":622
+ * """
+ * data = (func, args, kargs)
+ * self._elm_event_cbs.remove(data) # <<<<<<<<<<<<<<
+ *
+ * if not self._elm_event_cbs:
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_self->_elm_event_cbs, __pyx_n_s__remove); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_data));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_data));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":624
+ * self._elm_event_cbs.remove(data)
+ *
+ * if not self._elm_event_cbs: # <<<<<<<<<<<<<<
+ * elm_object_event_callback_del(self.obj, _event_callback, NULL)
+ *
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_self->_elm_event_cbs); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_5 = (!__pyx_t_4);
+ if (__pyx_t_5) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":625
+ *
+ * if not self._elm_event_cbs:
+ * elm_object_event_callback_del(self.obj, _event_callback, NULL) # <<<<<<<<<<<<<<
+ *
+ * # Cursors
+ */
+ elm_object_event_callback_del(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__event_callback, NULL);
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ __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_AddTraceback("elementary.c_elementary.Object.elm_event_callback_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_47cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_v_cursor); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_46cursor_set[] = "cursor_set(cursor)\n\n Set the cursor to be shown when mouse is over the object\n\n Set the cursor that will be displayed when mouse is over the object.\n The object can have only one cursor set to it, so if this function\n is called twice for an object, the previous set will be unset.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_47cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_v_cursor) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_46cursor_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_cursor));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":628
+ *
+ * # Cursors
+ * def cursor_set(self, cursor): # <<<<<<<<<<<<<<
+ * """cursor_set(cursor)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_46cursor_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_cursor) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":638
+ *
+ * """
+ * elm_object_cursor_set(self.obj, _cfruni(cursor)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_get(self):
+ */
+ elm_object_cursor_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_cursor));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_49cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_49cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_48cursor_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":640
+ * elm_object_cursor_set(self.obj, _cfruni(cursor))
+ *
+ * def cursor_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_object_cursor_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_48cursor_get(struct PyElementaryObject *__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("cursor_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":641
+ *
+ * def cursor_get(self):
+ * return _ctouni(elm_object_cursor_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_cursor_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.cursor_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_51cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_50cursor_unset[] = "cursor_unset()\n\n Unset cursor for object\n\n Unset cursor for object, and set the cursor to default if the mouse\n was over this object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_51cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_50cursor_unset(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":643
+ * return _ctouni(elm_object_cursor_get(self.obj))
+ *
+ * def cursor_unset(self): # <<<<<<<<<<<<<<
+ * """cursor_unset()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_50cursor_unset(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":652
+ *
+ * """
+ * elm_object_cursor_unset(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property cursor:
+ */
+ elm_object_cursor_unset(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_6cursor_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_6cursor_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_6cursor___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":660
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.cursor_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_6cursor___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":661
+ * """
+ * def __get__(self):
+ * return self.cursor_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.cursor_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 661; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 661; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.cursor.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_6cursor_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_6cursor_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_6cursor_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":662
+ * def __get__(self):
+ * return self.cursor_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.cursor_set(value)
+ * def __del__(self):
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_6cursor_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":663
+ * return self.cursor_get()
+ * def __set__(self, value):
+ * self.cursor_set(value) # <<<<<<<<<<<<<<
+ * def __del__(self):
+ * self.cursor_unset()
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.cursor.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_6cursor_5__del__(PyObject *__pyx_v_self); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_6cursor_5__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_6cursor_4__del__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":664
+ * def __set__(self, value):
+ * self.cursor_set(value)
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * self.cursor_unset()
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_6cursor_4__del__(struct PyElementaryObject *__pyx_v_self) {
+ int __pyx_r;
+ __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("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":665
+ * self.cursor_set(value)
+ * def __del__(self):
+ * self.cursor_unset() # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_set(self, style=None):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_unset); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 665; __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_2); __pyx_t_2 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.cursor.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_53cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_52cursor_style_set[] = "cursor_style_set(style)\n\n Sets a different style for this object cursor.\n\n @note: before you set a style you should define a cursor with\n elm_object_cursor_set()\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_53cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":667
+ * self.cursor_unset()
+ *
+ * def cursor_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """cursor_style_set(style)
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "cursor_style_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 667; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("cursor_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_52cursor_style_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_52cursor_style_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("cursor_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":676
+ *
+ * """
+ * elm_object_cursor_style_set(self.obj, _cfruni(style) if style is not None else NULL) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_get(self):
+ */
+ __pyx_t_2 = (__pyx_v_style != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_cursor_style_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_55cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_54cursor_style_get[] = "cursor_style_get()\n\n Get the style for this object cursor.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_55cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_54cursor_style_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":678
+ * elm_object_cursor_style_set(self.obj, _cfruni(style) if style is not None else NULL)
+ *
+ * def cursor_style_get(self): # <<<<<<<<<<<<<<
+ * """cursor_style_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_54cursor_style_get(struct PyElementaryObject *__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("cursor_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":684
+ *
+ * """
+ * return _ctouni(elm_object_cursor_style_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property cursor_style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_cursor_style_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 684; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.cursor_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_12cursor_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_12cursor_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_12cursor_style___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":688
+ * property cursor_style:
+ * """The style for this object cursor."""
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.cursor_style_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_12cursor_style___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":689
+ * """The style for this object cursor."""
+ * def __get__(self):
+ * return self.cursor_style_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.cursor_style_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_style_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 689; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 689; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.cursor_style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_12cursor_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_12cursor_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_12cursor_style_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":690
+ * def __get__(self):
+ * return self.cursor_style_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.cursor_style_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_12cursor_style_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":691
+ * return self.cursor_style_get()
+ * def __set__(self, value):
+ * self.cursor_style_set(value) # <<<<<<<<<<<<<<
+ *
+ * def cursor_theme_search_enabled_set(self, engine_only):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_style_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.cursor_style.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_57cursor_theme_search_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_56cursor_theme_search_enabled_set[] = "cursor_theme_search_enabled_set(engine_only)\n\n Sets cursor engine only usage for this object.\n\n @note: before you set engine only usage you should define a cursor with\n elm_object_cursor_set()\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_57cursor_theme_search_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_theme_search_enabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_56cursor_theme_search_enabled_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_engine_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":693
+ * self.cursor_style_set(value)
+ *
+ * def cursor_theme_search_enabled_set(self, engine_only): # <<<<<<<<<<<<<<
+ * """cursor_theme_search_enabled_set(engine_only)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_56cursor_theme_search_enabled_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cursor_theme_search_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":702
+ *
+ * """
+ * elm_object_cursor_theme_search_enabled_set(self.obj, bool(engine_only)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_theme_search_enabled_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_engine_only);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_engine_only);
+ __Pyx_GIVEREF(__pyx_v_engine_only);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_object_cursor_theme_search_enabled_set(__pyx_v_self->__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Object.cursor_theme_search_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_59cursor_theme_search_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_58cursor_theme_search_enabled_get[] = "cursor_theme_search_enabled_get()\n\n Get the engine only usage for this object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_59cursor_theme_search_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_theme_search_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_58cursor_theme_search_enabled_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":704
+ * elm_object_cursor_theme_search_enabled_set(self.obj, bool(engine_only))
+ *
+ * def cursor_theme_search_enabled_get(self): # <<<<<<<<<<<<<<
+ * """cursor_theme_search_enabled_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_58cursor_theme_search_enabled_get(struct PyElementaryObject *__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("cursor_theme_search_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":710
+ *
+ * """
+ * return elm_object_cursor_theme_search_enabled_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property cursor_theme_search_enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_cursor_theme_search_enabled_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 710; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.cursor_theme_search_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":713
+ *
+ * property cursor_theme_search_enabled:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.cursor_theme_search_enabled_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":714
+ * property cursor_theme_search_enabled:
+ * def __get__(self):
+ * return self.cursor_theme_search_enabled_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.cursor_theme_search_enabled_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_18); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 714; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.cursor_theme_search_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":715
+ * def __get__(self):
+ * return self.cursor_theme_search_enabled_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.cursor_theme_search_enabled_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":716
+ * return self.cursor_theme_search_enabled_get()
+ * def __set__(self, value):
+ * self.cursor_theme_search_enabled_set(value) # <<<<<<<<<<<<<<
+ *
+ * # Focus
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_19); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.cursor_theme_search_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_61focus_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_60focus_get[] = "focus_get()\n\n Get the whether an Elementary object has the focus or not.\n\n @see: L{focus_set()}\n @return: C{True}, if the object is focused, C{False} if\n not (and on errors).\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_61focus_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_60focus_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":719
+ *
+ * # Focus
+ * def focus_get(self): # <<<<<<<<<<<<<<
+ * """focus_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_60focus_get(struct PyElementaryObject *__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("focus_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":730
+ *
+ * """
+ * return bool(elm_object_focus_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def focus_set(self, focus):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_focus_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.focus_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_63focus_set(PyObject *__pyx_v_self, PyObject *__pyx_v_focus); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_62focus_set[] = "focus_set(focus)\n\n Set/unset focus to a given Elementary object.\n\n @note: When you set focus to this object, if it can handle focus, will\n take the focus away from the one who had it previously and will, for\n now on, be the one receiving input events. Unsetting focus will remove\n the focus from the object, passing it back to the previous element in the\n focus chain list.\n\n @see: L{focus_get()}\n @see: L{focus_custom_chain_get()}\n\n @param focus: C{True} set focus to a given object,\n C{False} unset focus to a given object.\n @type focus: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_63focus_set(PyObject *__pyx_v_self, PyObject *__pyx_v_focus) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_62focus_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_focus));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":732
+ * return bool(elm_object_focus_get(self.obj))
+ *
+ * def focus_set(self, focus): # <<<<<<<<<<<<<<
+ * """focus_set(focus)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_62focus_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_focus) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("focus_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":751
+ *
+ * """
+ * elm_object_focus_set(self.obj, focus) # <<<<<<<<<<<<<<
+ *
+ * def focus_allow_set(self, allow):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_focus); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_focus_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_65focus_allow_set(PyObject *__pyx_v_self, PyObject *__pyx_v_allow); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_64focus_allow_set[] = "focus_allow_set(allow)\n\n Set the ability for an Elementary object to be focused\n\n This sets whether the object is able to take focus or not.\n Unfocusable objects do nothing when programmatically focused, being\n the nearest focusable parent object the one really getting focus.\n Also, when they receive mouse input, they will get the event, but\n not take away the focus from where it was previously.\n\n @param allow: C{True} if the object can be focused,\n C{False} if not (and on errors)\n @type allow: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_65focus_allow_set(PyObject *__pyx_v_self, PyObject *__pyx_v_allow) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_allow_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_64focus_allow_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_allow));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":753
+ * elm_object_focus_set(self.obj, focus)
+ *
+ * def focus_allow_set(self, allow): # <<<<<<<<<<<<<<
+ * """focus_allow_set(allow)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_64focus_allow_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_allow) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("focus_allow_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":769
+ *
+ * """
+ * elm_object_focus_allow_set(self.obj, allow) # <<<<<<<<<<<<<<
+ *
+ * def focus_allow_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_allow); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_focus_allow_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_allow_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_67focus_allow_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_66focus_allow_get[] = "focus_allow_get()\n\n Get whether an Elementary object is focusable or not\n\n @note: Objects which are meant to be interacted with by input\n events are created able to be focused, by default. All the\n others are not.\n\n @return: C{True} if the object is allowed to be focused,\n C{False} if not (and on errors)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_67focus_allow_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_allow_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_66focus_allow_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":771
+ * elm_object_focus_allow_set(self.obj, allow)
+ *
+ * def focus_allow_get(self): # <<<<<<<<<<<<<<
+ * """focus_allow_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_66focus_allow_get(struct PyElementaryObject *__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("focus_allow_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":785
+ *
+ * """
+ * return elm_object_focus_allow_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property focus_allow:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_focus_allow_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 785; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_allow_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_11focus_allow_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_11focus_allow_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_11focus_allow___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":793
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.focus_allow_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_11focus_allow___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":794
+ * """
+ * def __get__(self):
+ * return self.focus_allow_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.focus_allow_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__focus_allow_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 794; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.focus_allow.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_11focus_allow_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_11focus_allow_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_11focus_allow_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":795
+ * def __get__(self):
+ * return self.focus_allow_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.focus_allow_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_11focus_allow_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":796
+ * return self.focus_allow_get()
+ * def __set__(self, value):
+ * self.focus_allow_set(value) # <<<<<<<<<<<<<<
+ *
+ * def focus_custom_chain_set(self, objs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__focus_allow_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 796; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 796; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 796; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.focus_allow.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_69focus_custom_chain_set(PyObject *__pyx_v_self, PyObject *__pyx_v_objs); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_68focus_custom_chain_set[] = "focus_custom_chain_set(objs)\n\n Set custom focus chain.\n\n This function overwrites any previous custom focus chain within\n the list of objects. The previous list will be deleted and this list\n will be managed by elementary. After it is set, don't modify it.\n\n @note: On focus cycle, only will be evaluated children of this container.\n\n @param objs: Chain of objects to pass focus\n @type objs: list of L{Object}s\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_69focus_custom_chain_set(PyObject *__pyx_v_self, PyObject *__pyx_v_objs) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_custom_chain_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_68focus_custom_chain_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_objs));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":798
+ * self.focus_allow_set(value)
+ *
+ * def focus_custom_chain_set(self, objs): # <<<<<<<<<<<<<<
+ * """focus_custom_chain_set(objs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_68focus_custom_chain_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_objs) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Py_ssize_t __pyx_t_2;
+ PyObject *(*__pyx_t_3)(PyObject *);
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("focus_custom_chain_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":813
+ *
+ * """
+ * elm_object_focus_custom_chain_unset(self.obj) # <<<<<<<<<<<<<<
+ * cdef Object obj
+ * for obj in objs:
+ */
+ elm_object_focus_custom_chain_unset(__pyx_v_self->__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":815
+ * elm_object_focus_custom_chain_unset(self.obj)
+ * cdef Object obj
+ * for obj in objs: # <<<<<<<<<<<<<<
+ * elm_object_focus_custom_chain_append(self.obj, obj.obj, NULL)
+ *
+ */
+ if (PyList_CheckExact(__pyx_v_objs) || PyTuple_CheckExact(__pyx_v_objs)) {
+ __pyx_t_1 = __pyx_v_objs; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+ __pyx_t_3 = NULL;
+ } else {
+ __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_objs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext;
+ }
+ for (;;) {
+ if (!__pyx_t_3 && PyList_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else if (!__pyx_t_3 && PyTuple_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else {
+ __pyx_t_4 = __pyx_t_3(__pyx_t_1);
+ if (unlikely(!__pyx_t_4)) {
+ if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
+ else {__pyx_filename = __pyx_f[2]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ break;
+ }
+ __Pyx_GOTREF(__pyx_t_4);
+ }
+ if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_10elementary_12c_elementary_Object))))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 815; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_XDECREF(((PyObject *)__pyx_v_obj));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":816
+ * cdef Object obj
+ * for obj in objs:
+ * elm_object_focus_custom_chain_append(self.obj, obj.obj, NULL) # <<<<<<<<<<<<<<
+ *
+ * def focus_custom_chain_unset(self):
+ */
+ elm_object_focus_custom_chain_append(__pyx_v_self->__pyx_base.obj, __pyx_v_obj->__pyx_base.obj, NULL);
+ }
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_71focus_custom_chain_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_70focus_custom_chain_unset[] = "focus_custom_chain_unset()\n\n Unset a custom focus chain on a given Elementary widget\n\n Any focus chain previously set on the object (for its child objects)\n is removed entirely after this call.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_71focus_custom_chain_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_custom_chain_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_70focus_custom_chain_unset(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":818
+ * elm_object_focus_custom_chain_append(self.obj, obj.obj, NULL)
+ *
+ * def focus_custom_chain_unset(self): # <<<<<<<<<<<<<<
+ * """focus_custom_chain_unset()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_70focus_custom_chain_unset(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_custom_chain_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":827
+ *
+ * """
+ * elm_object_focus_custom_chain_unset(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def focus_custom_chain_get(self):
+ */
+ elm_object_focus_custom_chain_unset(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_73focus_custom_chain_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_72focus_custom_chain_get[] = "focus_custom_chain_get()\n\n Get custom focus chain\n\n @return: Chain of objects\n @rtype: list of L{Object}s\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_73focus_custom_chain_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_custom_chain_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_72focus_custom_chain_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":829
+ * elm_object_focus_custom_chain_unset(self.obj)
+ *
+ * def focus_custom_chain_get(self): # <<<<<<<<<<<<<<
+ * """focus_custom_chain_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_72focus_custom_chain_get(struct PyElementaryObject *__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("focus_custom_chain_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":838
+ *
+ * """
+ * return _object_list_to_python(elm_object_focus_custom_chain_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property focus_custom_chain:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_list_to_python(elm_object_focus_custom_chain_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 838; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":846
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.focus_custom_chain_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":847
+ * """
+ * def __get__(self):
+ * return self.focus_custom_chain_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.focus_custom_chain_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_20); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 847; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 847; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.focus_custom_chain.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":848
+ * def __get__(self):
+ * return self.focus_custom_chain_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.focus_custom_chain_set(value)
+ * def __del__(self):
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":849
+ * return self.focus_custom_chain_get()
+ * def __set__(self, value):
+ * self.focus_custom_chain_set(value) # <<<<<<<<<<<<<<
+ * def __del__(self):
+ * self.focus_custom_chain_unset()
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_21); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 849; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 849; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 849; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.focus_custom_chain.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_5__del__(PyObject *__pyx_v_self); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_5__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain_4__del__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":850
+ * def __set__(self, value):
+ * self.focus_custom_chain_set(value)
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * self.focus_custom_chain_unset()
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_18focus_custom_chain_4__del__(struct PyElementaryObject *__pyx_v_self) {
+ int __pyx_r;
+ __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("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":851
+ * self.focus_custom_chain_set(value)
+ * def __del__(self):
+ * self.focus_custom_chain_unset() # <<<<<<<<<<<<<<
+ *
+ * def focus_custom_chain_append(self, Object child, Object relative_child=None):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_22); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 851; __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_2); __pyx_t_2 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_75focus_custom_chain_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_74focus_custom_chain_append[] = "focus_custom_chain_append(child, relative_child=None)\n\n Append object to custom focus chain.\n\n @note: If relative_child equal to None or not in custom chain, the\n object will be added in end.\n\n @note: On focus cycle, only will be evaluated children of this\n container.\n\n @param child: The child to be added in custom chain\n @type child: L{Object}\n @param relative_child: The relative object to position the child\n @type relative_child: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_75focus_custom_chain_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyElementaryObject *__pyx_v_child = 0;
+ struct PyElementaryObject *__pyx_v_relative_child = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__child,&__pyx_n_s__relative_child,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_custom_chain_append (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":853
+ * self.focus_custom_chain_unset()
+ *
+ * def focus_custom_chain_append(self, Object child, Object relative_child=None): # <<<<<<<<<<<<<<
+ * """focus_custom_chain_append(child, relative_child=None)
+ *
+ */
+ values[1] = (PyObject *)((struct PyElementaryObject *)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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__relative_child);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "focus_custom_chain_append") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_child = ((struct PyElementaryObject *)values[0]);
+ __pyx_v_relative_child = ((struct PyElementaryObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("focus_custom_chain_append", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_10elementary_12c_elementary_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_relative_child), __pyx_ptype_10elementary_12c_elementary_Object, 1, "relative_child", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_74focus_custom_chain_append(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_child, __pyx_v_relative_child);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_74focus_custom_chain_append(struct PyElementaryObject *__pyx_v_self, struct PyElementaryObject *__pyx_v_child, struct PyElementaryObject *__pyx_v_relative_child) {
+ Evas_Object *__pyx_v_rel;
+ 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("focus_custom_chain_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":870
+ *
+ * """
+ * cdef Evas_Object *rel = NULL # <<<<<<<<<<<<<<
+ * if relative_child:
+ * rel = relative_child.obj
+ */
+ __pyx_v_rel = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":871
+ * """
+ * cdef Evas_Object *rel = NULL
+ * if relative_child: # <<<<<<<<<<<<<<
+ * rel = relative_child.obj
+ * elm_object_focus_custom_chain_append(self.obj, child.obj, rel)
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_relative_child)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 871; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":872
+ * cdef Evas_Object *rel = NULL
+ * if relative_child:
+ * rel = relative_child.obj # <<<<<<<<<<<<<<
+ * elm_object_focus_custom_chain_append(self.obj, child.obj, rel)
+ *
+ */
+ __pyx_v_rel = __pyx_v_relative_child->__pyx_base.obj;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":873
+ * if relative_child:
+ * rel = relative_child.obj
+ * elm_object_focus_custom_chain_append(self.obj, child.obj, rel) # <<<<<<<<<<<<<<
+ *
+ * def focus_custom_chain_prepend(self, Object child, Object relative_child=None):
+ */
+ elm_object_focus_custom_chain_append(__pyx_v_self->__pyx_base.obj, __pyx_v_child->__pyx_base.obj, __pyx_v_rel);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_77focus_custom_chain_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_76focus_custom_chain_prepend[] = "focus_custom_chain_prepend(child, relative_child=None)\n\n Prepend object to custom focus chain.\n\n @note: If relative_child equal to None or not in custom chain, the\n object will be added in begin.\n\n @note: On focus cycle, only will be evaluated children of this\n container.\n\n @param child: The child to be added in custom chain\n @type child: L{Object}\n @param relative_child: The relative object to position the child\n @type relative_child: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_77focus_custom_chain_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyElementaryObject *__pyx_v_child = 0;
+ struct PyElementaryObject *__pyx_v_relative_child = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__child,&__pyx_n_s__relative_child,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_custom_chain_prepend (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":875
+ * elm_object_focus_custom_chain_append(self.obj, child.obj, rel)
+ *
+ * def focus_custom_chain_prepend(self, Object child, Object relative_child=None): # <<<<<<<<<<<<<<
+ * """focus_custom_chain_prepend(child, relative_child=None)
+ *
+ */
+ values[1] = (PyObject *)((struct PyElementaryObject *)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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__relative_child);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "focus_custom_chain_prepend") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_child = ((struct PyElementaryObject *)values[0]);
+ __pyx_v_relative_child = ((struct PyElementaryObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("focus_custom_chain_prepend", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_10elementary_12c_elementary_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_relative_child), __pyx_ptype_10elementary_12c_elementary_Object, 1, "relative_child", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_76focus_custom_chain_prepend(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_child, __pyx_v_relative_child);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_76focus_custom_chain_prepend(struct PyElementaryObject *__pyx_v_self, struct PyElementaryObject *__pyx_v_child, struct PyElementaryObject *__pyx_v_relative_child) {
+ Evas_Object *__pyx_v_rel;
+ 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("focus_custom_chain_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":892
+ *
+ * """
+ * cdef Evas_Object *rel = NULL # <<<<<<<<<<<<<<
+ * if relative_child:
+ * rel = relative_child.obj
+ */
+ __pyx_v_rel = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":893
+ * """
+ * cdef Evas_Object *rel = NULL
+ * if relative_child: # <<<<<<<<<<<<<<
+ * rel = relative_child.obj
+ * elm_object_focus_custom_chain_prepend(self.obj, child.obj, rel)
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_relative_child)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":894
+ * cdef Evas_Object *rel = NULL
+ * if relative_child:
+ * rel = relative_child.obj # <<<<<<<<<<<<<<
+ * elm_object_focus_custom_chain_prepend(self.obj, child.obj, rel)
+ *
+ */
+ __pyx_v_rel = __pyx_v_relative_child->__pyx_base.obj;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":895
+ * if relative_child:
+ * rel = relative_child.obj
+ * elm_object_focus_custom_chain_prepend(self.obj, child.obj, rel) # <<<<<<<<<<<<<<
+ *
+ * #def focus_next(self, direction):
+ */
+ elm_object_focus_custom_chain_prepend(__pyx_v_self->__pyx_base.obj, __pyx_v_child->__pyx_base.obj, __pyx_v_rel);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.focus_custom_chain_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_79tree_focus_allow_set(PyObject *__pyx_v_self, PyObject *__pyx_v_focusable); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_78tree_focus_allow_set[] = "tree_focus_allow_set(focusable)\n\n Make the elementary object and its children to be focusable\n (or unfocusable).\n\n This sets whether the object and its children objects are able to\n take focus or not. If the tree is set as unfocusable, newest focused\n object which is not in this tree will get focus. This API can be\n helpful for an object to be deleted. When an object will be deleted\n soon, it and its children may not want to get focus (by focus\n reverting or by other focus controls). Then, just use this API\n before deleting.\n\n @see: L{tree_focus_allow_get()}\n\n @param focusable: C{True} for focusable, C{False} for unfocusable.\n @type focusable: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_79tree_focus_allow_set(PyObject *__pyx_v_self, PyObject *__pyx_v_focusable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tree_focus_allow_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_78tree_focus_allow_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_focusable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":912
+ * #elm_object_focus_next(self.obj, direction)
+ *
+ * def tree_focus_allow_set(self, focusable): # <<<<<<<<<<<<<<
+ * """tree_focus_allow_set(focusable)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_78tree_focus_allow_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_focusable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tree_focus_allow_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":932
+ *
+ * """
+ * elm_object_tree_focus_allow_set(self.obj, focusable) # <<<<<<<<<<<<<<
+ *
+ * def tree_focus_allow_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_focusable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 932; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_tree_focus_allow_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.tree_focus_allow_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_81tree_focus_allow_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_80tree_focus_allow_get[] = "tree_focus_allow_get()\n\n Get whether an Elementary object and its children are focusable\n or not.\n\n @see: L{tree_focus_allow_set()}\n\n @return: C{True}, if the tree is focusable, C{False} if not (and on\n errors).\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_81tree_focus_allow_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tree_focus_allow_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_80tree_focus_allow_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":934
+ * elm_object_tree_focus_allow_set(self.obj, focusable)
+ *
+ * def tree_focus_allow_get(self): # <<<<<<<<<<<<<<
+ * """tree_focus_allow_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_80tree_focus_allow_get(struct PyElementaryObject *__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("tree_focus_allow_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":946
+ *
+ * """
+ * return bool(elm_object_tree_focus_allow_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property tree_focus_allow:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_tree_focus_allow_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 946; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.tree_focus_allow_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_16tree_focus_allow_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_16tree_focus_allow_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_16tree_focus_allow___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":955
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tree_focus_allow_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_16tree_focus_allow___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":956
+ * """
+ * def __get__(self):
+ * return self.tree_focus_allow_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.tree_focus_allow_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_23); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 956; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.tree_focus_allow.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_16tree_focus_allow_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_16tree_focus_allow_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_16tree_focus_allow_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":957
+ * def __get__(self):
+ * return self.tree_focus_allow_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.tree_focus_allow_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_16tree_focus_allow_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":958
+ * return self.tree_focus_allow_get()
+ * def __set__(self, value):
+ * self.tree_focus_allow_set(value) # <<<<<<<<<<<<<<
+ *
+ * # Mirroring
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_24); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.tree_focus_allow.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_83mirrored_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_82mirrored_get[] = "mirrored_get()\n\n Get the widget's mirrored mode.\n\n @return: True if mirrored is set, False otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_83mirrored_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mirrored_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_82mirrored_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":961
+ *
+ * # Mirroring
+ * def mirrored_get(self): # <<<<<<<<<<<<<<
+ * """mirrored_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_82mirrored_get(struct PyElementaryObject *__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("mirrored_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":970
+ *
+ * """
+ * return bool(elm_object_mirrored_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def mirrored_set(self, mirrored):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_mirrored_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.mirrored_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_85mirrored_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mirrored); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_84mirrored_set[] = "mirrored_set(mirrored)\n\n Set the widget's mirrored mode.\n\n @param mirrored: True to set mirrored mode, False to unset it.\n @type mirrored: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_85mirrored_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mirrored) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mirrored_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_84mirrored_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_mirrored));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":972
+ * return bool(elm_object_mirrored_get(self.obj))
+ *
+ * def mirrored_set(self, mirrored): # <<<<<<<<<<<<<<
+ * """mirrored_set(mirrored)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_84mirrored_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_mirrored) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("mirrored_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":981
+ *
+ * """
+ * elm_object_mirrored_set(self.obj, mirrored) # <<<<<<<<<<<<<<
+ *
+ * property mirrored:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_mirrored); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_mirrored_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.mirrored_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_8mirrored_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_8mirrored_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_8mirrored___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":989
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.mirrored_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_8mirrored___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":990
+ * """
+ * def __get__(self):
+ * return self.mirrored_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.mirrored_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__mirrored_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 990; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 990; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.mirrored.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_8mirrored_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_8mirrored_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_8mirrored_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":991
+ * def __get__(self):
+ * return self.mirrored_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.mirrored_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_8mirrored_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":992
+ * return self.mirrored_get()
+ * def __set__(self, value):
+ * self.mirrored_set(value) # <<<<<<<<<<<<<<
+ *
+ * def mirrored_automatic_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__mirrored_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 992; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.mirrored.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_87mirrored_automatic_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_86mirrored_automatic_get[] = "mirrored_automatic_get()\n\n Returns the widget's mirrored mode setting.\n\n @return: mode setting of the object.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_87mirrored_automatic_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mirrored_automatic_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_86mirrored_automatic_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":994
+ * self.mirrored_set(value)
+ *
+ * def mirrored_automatic_get(self): # <<<<<<<<<<<<<<
+ * """mirrored_automatic_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_86mirrored_automatic_get(struct PyElementaryObject *__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("mirrored_automatic_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1003
+ *
+ * """
+ * return bool(elm_object_mirrored_automatic_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def mirrored_automatic_set(self, automatic):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_mirrored_automatic_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1003; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1003; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1003; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.mirrored_automatic_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_89mirrored_automatic_set(PyObject *__pyx_v_self, PyObject *__pyx_v_automatic); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_88mirrored_automatic_set[] = "mirrored_automatic_set(automatic)\n\n Sets the widget's mirrored mode setting. When widget in automatic\n mode, it follows the system mirrored mode set by elm_mirrored_set().\n\n @param automatic: True for auto mirrored mode, False for manual.\n @type automatic: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_89mirrored_automatic_set(PyObject *__pyx_v_self, PyObject *__pyx_v_automatic) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mirrored_automatic_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_88mirrored_automatic_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_automatic));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1005
+ * return bool(elm_object_mirrored_automatic_get(self.obj))
+ *
+ * def mirrored_automatic_set(self, automatic): # <<<<<<<<<<<<<<
+ * """mirrored_automatic_set(automatic)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_88mirrored_automatic_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_automatic) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("mirrored_automatic_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1015
+ *
+ * """
+ * elm_object_mirrored_automatic_set(self.obj, automatic) # <<<<<<<<<<<<<<
+ *
+ * property mirrored_automatic:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_automatic); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_mirrored_automatic_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.mirrored_automatic_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_18mirrored_automatic_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_18mirrored_automatic_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_18mirrored_automatic___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1023
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.mirrored_automatic_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_18mirrored_automatic___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1024
+ * """
+ * def __get__(self):
+ * return self.mirrored_automatic_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.mirrored_automatic_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_25); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1024; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.mirrored_automatic.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_18mirrored_automatic_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_18mirrored_automatic_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_18mirrored_automatic_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1025
+ * def __get__(self):
+ * return self.mirrored_automatic_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.mirrored_automatic_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_18mirrored_automatic_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1026
+ * return self.mirrored_automatic_get()
+ * def __set__(self, value):
+ * self.mirrored_automatic_set(value) # <<<<<<<<<<<<<<
+ *
+ * # Scaling
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_26); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.mirrored_automatic.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_91scale_set(PyObject *__pyx_v_self, PyObject *__pyx_v_scale); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_90scale_set[] = "scale_set(scale)\n\n Set the scaling factor for a given Elementary object\n\n @param scale: Scale factor (from C{0.0} up, with C{1.0} meaning\n no scaling)\n @type scale: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_91scale_set(PyObject *__pyx_v_self, PyObject *__pyx_v_scale) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scale_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_90scale_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_scale));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1029
+ *
+ * # Scaling
+ * def scale_set(self, scale): # <<<<<<<<<<<<<<
+ * """scale_set(scale)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_90scale_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_scale) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("scale_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1039
+ *
+ * """
+ * elm_object_scale_set(self.obj, scale) # <<<<<<<<<<<<<<
+ *
+ * def scale_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_scale); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_scale_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.scale_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_93scale_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_92scale_get[] = "scale_get()\n\n Get the scaling factor for a given Elementary object\n\n @return: The scaling factor set by L{scale_set()}\n @rtype: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_93scale_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scale_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_92scale_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1041
+ * elm_object_scale_set(self.obj, scale)
+ *
+ * def scale_get(self): # <<<<<<<<<<<<<<
+ * """scale_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_92scale_get(struct PyElementaryObject *__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("scale_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1050
+ *
+ * """
+ * return elm_object_scale_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property scale:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_object_scale_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1050; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.scale_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5scale_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5scale_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_5scale___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1058
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.scale_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_5scale___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1059
+ * """
+ * def __get__(self):
+ * return self.scale_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.scale_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scale_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1059; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1059; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.scale.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_5scale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_5scale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_5scale_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1060
+ * def __get__(self):
+ * return self.scale_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.scale_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_5scale_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1061
+ * return self.scale_get()
+ * def __set__(self, value):
+ * self.scale_set(value) # <<<<<<<<<<<<<<
+ *
+ * # Scrollhints
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scale_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1061; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.scale.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_95scroll_hold_push(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_94scroll_hold_push[] = "scroll_hold_push()\n\n Push the scroll hold by 1\n\n This increments the scroll hold count by one. If it is more\n than 0 it will take effect on the parents of the indicated\n object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_95scroll_hold_push(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_hold_push (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_94scroll_hold_push(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1064
+ *
+ * # Scrollhints
+ * def scroll_hold_push(self): # <<<<<<<<<<<<<<
+ * """scroll_hold_push()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_94scroll_hold_push(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_hold_push", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1074
+ *
+ * """
+ * elm_object_scroll_hold_push(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def scroll_hold_pop(self):
+ */
+ elm_object_scroll_hold_push(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_97scroll_hold_pop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_96scroll_hold_pop[] = "scroll_hold_pop()\n\n Pop the scroll hold by 1\n\n This decrements the scroll hold count by one. If it is more than 0\n it will take effect on the parents of the indicated object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_97scroll_hold_pop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_hold_pop (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_96scroll_hold_pop(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1076
+ * elm_object_scroll_hold_push(self.obj)
+ *
+ * def scroll_hold_pop(self): # <<<<<<<<<<<<<<
+ * """scroll_hold_pop()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_96scroll_hold_pop(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_hold_pop", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1085
+ *
+ * """
+ * elm_object_scroll_hold_pop(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def scroll_freeze_push(self):
+ */
+ elm_object_scroll_hold_pop(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_99scroll_freeze_push(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_98scroll_freeze_push[] = "scroll_freeze_push()\n\n Push the scroll freeze by 1\n\n This increments the scroll freeze count by one. If it is more than 0\n it will take effect on the parents of the indicated object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_99scroll_freeze_push(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_freeze_push (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_98scroll_freeze_push(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1087
+ * elm_object_scroll_hold_pop(self.obj)
+ *
+ * def scroll_freeze_push(self): # <<<<<<<<<<<<<<
+ * """scroll_freeze_push()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_98scroll_freeze_push(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_freeze_push", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1096
+ *
+ * """
+ * elm_object_scroll_freeze_push(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def scroll_freeze_pop(self):
+ */
+ elm_object_scroll_freeze_push(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_101scroll_freeze_pop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_100scroll_freeze_pop[] = "scroll_freeze_pop()\n\n Pop the scroll freeze by 1\n\n This decrements the scroll freeze count by one. If it is more than 0\n it will take effect on the parents of the indicated object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_101scroll_freeze_pop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_freeze_pop (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_100scroll_freeze_pop(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1098
+ * elm_object_scroll_freeze_push(self.obj)
+ *
+ * def scroll_freeze_pop(self): # <<<<<<<<<<<<<<
+ * """scroll_freeze_pop()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_100scroll_freeze_pop(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_freeze_pop", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1107
+ *
+ * """
+ * elm_object_scroll_freeze_pop(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def scroll_lock_x_set(self, lock):
+ */
+ elm_object_scroll_freeze_pop(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_103scroll_lock_x_set(PyObject *__pyx_v_self, PyObject *__pyx_v_lock); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_103scroll_lock_x_set(PyObject *__pyx_v_self, PyObject *__pyx_v_lock) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_lock_x_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_102scroll_lock_x_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_lock));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1109
+ * elm_object_scroll_freeze_pop(self.obj)
+ *
+ * def scroll_lock_x_set(self, lock): # <<<<<<<<<<<<<<
+ * elm_object_scroll_lock_x_set(self.obj, lock)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_102scroll_lock_x_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_lock) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("scroll_lock_x_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1110
+ *
+ * def scroll_lock_x_set(self, lock):
+ * elm_object_scroll_lock_x_set(self.obj, lock) # <<<<<<<<<<<<<<
+ *
+ * def scroll_lock_y_set(self, lock):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_lock); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_scroll_lock_x_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.scroll_lock_x_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_105scroll_lock_y_set(PyObject *__pyx_v_self, PyObject *__pyx_v_lock); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_105scroll_lock_y_set(PyObject *__pyx_v_self, PyObject *__pyx_v_lock) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_lock_y_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_104scroll_lock_y_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_lock));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1112
+ * elm_object_scroll_lock_x_set(self.obj, lock)
+ *
+ * def scroll_lock_y_set(self, lock): # <<<<<<<<<<<<<<
+ * elm_object_scroll_lock_y_set(self.obj, lock)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_104scroll_lock_y_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_lock) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("scroll_lock_y_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1113
+ *
+ * def scroll_lock_y_set(self, lock):
+ * elm_object_scroll_lock_y_set(self.obj, lock) # <<<<<<<<<<<<<<
+ *
+ * def scroll_lock_x_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_lock); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_scroll_lock_y_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.scroll_lock_y_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_107scroll_lock_x_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_107scroll_lock_x_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_lock_x_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_106scroll_lock_x_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1115
+ * elm_object_scroll_lock_y_set(self.obj, lock)
+ *
+ * def scroll_lock_x_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_object_scroll_lock_x_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_106scroll_lock_x_get(struct PyElementaryObject *__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("scroll_lock_x_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1116
+ *
+ * def scroll_lock_x_get(self):
+ * return bool(elm_object_scroll_lock_x_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def scroll_lock_y_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_scroll_lock_x_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.scroll_lock_x_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_109scroll_lock_y_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_109scroll_lock_y_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroll_lock_y_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_108scroll_lock_y_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1118
+ * return bool(elm_object_scroll_lock_x_get(self.obj))
+ *
+ * def scroll_lock_y_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_object_scroll_lock_y_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_108scroll_lock_y_get(struct PyElementaryObject *__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("scroll_lock_y_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1119
+ *
+ * def scroll_lock_y_get(self):
+ * return bool(elm_object_scroll_lock_y_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property scroll_lock_x:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_scroll_lock_y_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.scroll_lock_y_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_x_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_x_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_x___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1122
+ *
+ * property scroll_lock_x:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.scroll_lock_x_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_x___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1123
+ * property scroll_lock_x:
+ * def __get__(self):
+ * return self.scroll_lock_x_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.scroll_lock_x_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scroll_lock_x_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1123; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.scroll_lock_x.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_x_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_x_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_x_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1124
+ * def __get__(self):
+ * return self.scroll_lock_x_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.scroll_lock_x_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_x_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1125
+ * return self.scroll_lock_x_get()
+ * def __set__(self, value):
+ * self.scroll_lock_x_set(value) # <<<<<<<<<<<<<<
+ *
+ * property scroll_lock_y:
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scroll_lock_x_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.scroll_lock_x.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_y_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_y_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_y___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1128
+ *
+ * property scroll_lock_y:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.scroll_lock_y_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_y___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1129
+ * property scroll_lock_y:
+ * def __get__(self):
+ * return self.scroll_lock_y_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.scroll_lock_y_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scroll_lock_y_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1129; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.scroll_lock_y.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_y_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_y_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_y_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1130
+ * def __get__(self):
+ * return self.scroll_lock_y_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.scroll_lock_y_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_13scroll_lock_y_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1131
+ * return self.scroll_lock_y_get()
+ * def __set__(self, value):
+ * self.scroll_lock_y_set(value) # <<<<<<<<<<<<<<
+ *
+ * # Theme
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scroll_lock_y_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.scroll_lock_y.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_5theme_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_th); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_5theme_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_th) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_th), __pyx_ptype_10elementary_12c_elementary_Theme, 1, "th", 0))) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_5theme___set__(((struct PyElementaryObject *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_v_th));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1149
+ *
+ * """
+ * def __set__(self, Theme th): # <<<<<<<<<<<<<<
+ * elm_object_theme_set(self.obj, th.th)
+ * def __get__(self):
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_5theme___set__(struct PyElementaryObject *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_th) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1150
+ * """
+ * def __set__(self, Theme th):
+ * elm_object_theme_set(self.obj, th.th) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * cdef Theme th = Theme()
+ */
+ elm_object_theme_set(__pyx_v_self->__pyx_base.obj, __pyx_v_th->th);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5theme_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_5theme_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_5theme_2__get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1151
+ * def __set__(self, Theme th):
+ * elm_object_theme_set(self.obj, th.th)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Theme th = Theme()
+ * th.th = elm_object_theme_get(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_5theme_2__get__(struct PyElementaryObject *__pyx_v_self) {
+ struct __pyx_obj_10elementary_12c_elementary_Theme *__pyx_v_th = 0;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1152
+ * elm_object_theme_set(self.obj, th.th)
+ * def __get__(self):
+ * cdef Theme th = Theme() # <<<<<<<<<<<<<<
+ * th.th = elm_object_theme_get(self.obj)
+ * return th
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Theme)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_th = ((struct __pyx_obj_10elementary_12c_elementary_Theme *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1153
+ * def __get__(self):
+ * cdef Theme th = Theme()
+ * th.th = elm_object_theme_get(self.obj) # <<<<<<<<<<<<<<
+ * return th
+ *
+ */
+ __pyx_v_th->th = elm_object_theme_get(__pyx_v_self->__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1154
+ * cdef Theme th = Theme()
+ * th.th = elm_object_theme_get(self.obj)
+ * return th # <<<<<<<<<<<<<<
+ *
+ * # Tooltips
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_th));
+ __pyx_r = ((PyObject *)__pyx_v_th);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.theme.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_th);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_111tooltip_show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_110tooltip_show[] = "tooltip_show()\n\n Force show tooltip of object\n\n Force show the tooltip and disable hide on mouse_out If another\n content is set as tooltip, the visible tooltip will hidden and\n showed again with new content.\n\n This can force show more than one tooltip at a time.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_111tooltip_show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_show (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_110tooltip_show(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1157
+ *
+ * # Tooltips
+ * def tooltip_show(self): # <<<<<<<<<<<<<<
+ * """tooltip_show()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_110tooltip_show(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1169
+ *
+ * """
+ * elm_object_tooltip_show(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_hide(self):
+ */
+ elm_object_tooltip_show(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_113tooltip_hide(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_112tooltip_hide[] = "tooltip_hide()\n\n Force hide tooltip of the object\n\n Force hide tooltip of object and (re)enable future mouse interations.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_113tooltip_hide(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_hide (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_112tooltip_hide(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1171
+ * elm_object_tooltip_show(self.obj)
+ *
+ * def tooltip_hide(self): # <<<<<<<<<<<<<<
+ * """tooltip_hide()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_112tooltip_hide(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_hide", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1179
+ *
+ * """
+ * elm_object_tooltip_hide(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_text_set(self, text):
+ */
+ elm_object_tooltip_hide(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_115tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_114tooltip_text_set[] = "tooltip_text_set(text)\n\n Set the text to be shown in the tooltip object\n\n Setup the text as tooltip object. The object can have only one\n tooltip, so any previous tooltip data is removed. Internally, this\n method calls L{tooltip_content_cb_set}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_115tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_text_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_114tooltip_text_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1181
+ * elm_object_tooltip_hide(self.obj)
+ *
+ * def tooltip_text_set(self, text): # <<<<<<<<<<<<<<
+ * """tooltip_text_set(text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_114tooltip_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1191
+ *
+ * """
+ * elm_object_tooltip_text_set(self.obj, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_domain_translatable_text_set(self, domain, text):
+ */
+ elm_object_tooltip_text_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_117tooltip_domain_translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_117tooltip_domain_translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_domain = 0;
+ PyObject *__pyx_v_text = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__domain,&__pyx_n_s__text,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_domain_translatable_text_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__domain);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("tooltip_domain_translatable_text_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1193; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "tooltip_domain_translatable_text_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1193; __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_domain = values[0];
+ __pyx_v_text = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("tooltip_domain_translatable_text_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1193; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.tooltip_domain_translatable_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_116tooltip_domain_translatable_text_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_domain, __pyx_v_text);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1193
+ * elm_object_tooltip_text_set(self.obj, _cfruni(text))
+ *
+ * def tooltip_domain_translatable_text_set(self, domain, text): # <<<<<<<<<<<<<<
+ * elm_object_tooltip_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_116tooltip_domain_translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_domain, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_domain_translatable_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1194
+ *
+ * def tooltip_domain_translatable_text_set(self, domain, text):
+ * elm_object_tooltip_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_translatable_text_set(self, text):
+ */
+ elm_object_tooltip_domain_translatable_text_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_domain), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_119tooltip_translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_119tooltip_translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_translatable_text_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_118tooltip_translatable_text_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1196
+ * elm_object_tooltip_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text))
+ *
+ * def tooltip_translatable_text_set(self, text): # <<<<<<<<<<<<<<
+ * elm_object_tooltip_translatable_text_set(self.obj, _cfruni(text))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_118tooltip_translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_translatable_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1197
+ *
+ * def tooltip_translatable_text_set(self, text):
+ * elm_object_tooltip_translatable_text_set(self.obj, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs):
+ */
+ elm_object_tooltip_translatable_text_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_121tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_120tooltip_content_cb_set[] = "tooltip_content_cb_set(func, *args, **kwargs)\n\n Set the content to be shown in the tooltip object\n\n Setup the tooltip to object. The object can have only one tooltip,\n so any previews tooltip data is removed. C{func(owner, tooltip,\n args, kargs)} will be called every time that need show the tooltip\n and it should return a valid Evas_Object. This object is then\n managed fully by tooltip system and is deleted when the tooltip is\n gone.\n\n @param func: Function to be create tooltip content, called when\n need show tooltip.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_121tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_kargs, values, used_pos_args, "tooltip_content_cb_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1199; __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("tooltip_content_cb_set", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1199; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_120tooltip_content_cb_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1199
+ * elm_object_tooltip_translatable_text_set(self.obj, _cfruni(text))
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """tooltip_content_cb_set(func, *args, **kwargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_120tooltip_content_cb_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ void *__pyx_v_cbdata;
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1215
+ *
+ * """
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1216
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_27), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1220
+ * cdef void *cbdata
+ *
+ * data = (func, args, kargs) # <<<<<<<<<<<<<<
+ * Py_INCREF(data)
+ * cbdata = <void *>data
+ */
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1221
+ *
+ * data = (func, args, kargs)
+ * Py_INCREF(data) # <<<<<<<<<<<<<<
+ * cbdata = <void *>data
+ * elm_object_tooltip_content_cb_set(self.obj, _tooltip_content_create,
+ */
+ Py_INCREF(((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1222
+ * data = (func, args, kargs)
+ * Py_INCREF(data)
+ * cbdata = <void *>data # <<<<<<<<<<<<<<
+ * elm_object_tooltip_content_cb_set(self.obj, _tooltip_content_create,
+ * cbdata, _tooltip_data_del_cb)
+ */
+ __pyx_v_cbdata = ((void *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1224
+ * cbdata = <void *>data
+ * elm_object_tooltip_content_cb_set(self.obj, _tooltip_content_create,
+ * cbdata, _tooltip_data_del_cb) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_unset(self):
+ */
+ elm_object_tooltip_content_cb_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__tooltip_content_create, __pyx_v_cbdata, __pyx_f_10elementary_12c_elementary__tooltip_data_del_cb);
+
+ __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_AddTraceback("elementary.c_elementary.Object.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_123tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_122tooltip_unset[] = "tooltip_unset()\n\n Unset tooltip from object\n\n Remove tooltip from object. If used the L{tooltip_text_set} the\n internal copy of label will be removed correctly. If used\n L{tooltip_content_cb_set}, the data will be unreferred but no freed.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_123tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_122tooltip_unset(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1226
+ * cbdata, _tooltip_data_del_cb)
+ *
+ * def tooltip_unset(self): # <<<<<<<<<<<<<<
+ * """tooltip_unset()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_122tooltip_unset(struct PyElementaryObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1236
+ *
+ * """
+ * elm_object_tooltip_unset(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_set(self, style=None):
+ */
+ elm_object_tooltip_unset(__pyx_v_self->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_125tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_124tooltip_style_set[] = "tooltip_style_set(style=None)\n\n Sets a different style for this object tooltip.\n\n @note: before you set a style you should define a tooltip with\n L{tooltip_content_cb_set()} or L{tooltip_text_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_125tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1238
+ * elm_object_tooltip_unset(self.obj)
+ *
+ * def tooltip_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """tooltip_style_set(style=None)
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "tooltip_style_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1238; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("tooltip_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1238; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.tooltip_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_124tooltip_style_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_124tooltip_style_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("tooltip_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1247
+ *
+ * """
+ * elm_object_tooltip_style_set(self.obj, _cfruni(style) if style is not None else NULL) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_get(self):
+ */
+ __pyx_t_2 = (__pyx_v_style != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_tooltip_style_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_127tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_126tooltip_style_get[] = "tooltip_style_get()\n\n Get the style for this object tooltip.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_127tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_126tooltip_style_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1249
+ * elm_object_tooltip_style_set(self.obj, _cfruni(style) if style is not None else NULL)
+ *
+ * def tooltip_style_get(self): # <<<<<<<<<<<<<<
+ * """tooltip_style_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_126tooltip_style_get(struct PyElementaryObject *__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("tooltip_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1255
+ *
+ * """
+ * return _ctouni(elm_object_tooltip_style_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property tooltip_style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_tooltip_style_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.tooltip_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13tooltip_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_13tooltip_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13tooltip_style___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1263
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tooltip_style_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_13tooltip_style___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1264
+ * """
+ * def __get__(self):
+ * return self.tooltip_style_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.tooltip_style_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__tooltip_style_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1264; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.tooltip_style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_13tooltip_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_13tooltip_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_13tooltip_style_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1265
+ * def __get__(self):
+ * return self.tooltip_style_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.tooltip_style_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_13tooltip_style_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1266
+ * return self.tooltip_style_get()
+ * def __set__(self, value):
+ * self.tooltip_style_set(value) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_set(self, disable):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__tooltip_style_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.tooltip_style.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_129tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_129tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_128tooltip_window_mode_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_disable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1268
+ * self.tooltip_style_set(value)
+ *
+ * def tooltip_window_mode_set(self, disable): # <<<<<<<<<<<<<<
+ * return bool(elm_object_tooltip_window_mode_set(self.obj, disable))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_128tooltip_window_mode_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ 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("tooltip_window_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1269
+ *
+ * def tooltip_window_mode_set(self, disable):
+ * return bool(elm_object_tooltip_window_mode_set(self.obj, disable)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_tooltip_window_mode_set(__pyx_v_self->__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.tooltip_window_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_131tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_131tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_130tooltip_window_mode_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1271
+ * return bool(elm_object_tooltip_window_mode_set(self.obj, disable))
+ *
+ * def tooltip_window_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_object_tooltip_window_mode_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_130tooltip_window_mode_get(struct PyElementaryObject *__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("tooltip_window_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1272
+ *
+ * def tooltip_window_mode_get(self):
+ * return bool(elm_object_tooltip_window_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property tooltip_window_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_tooltip_window_mode_get(__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object.tooltip_window_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_19tooltip_window_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_19tooltip_window_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_19tooltip_window_mode___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1275
+ *
+ * property tooltip_window_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tooltip_window_mode_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_19tooltip_window_mode___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1276
+ * property tooltip_window_mode:
+ * def __get__(self):
+ * return self.tooltip_window_mode_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.tooltip_window_mode_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_28); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1276; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.tooltip_window_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_19tooltip_window_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_19tooltip_window_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_19tooltip_window_mode_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1277
+ * def __get__(self):
+ * return self.tooltip_window_mode_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.tooltip_window_mode_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_19tooltip_window_mode_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1278
+ * return self.tooltip_window_mode_get()
+ * def __set__(self, value):
+ * self.tooltip_window_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * #Translatable text
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_29); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.tooltip_window_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_133domain_translatable_text_part_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_132domain_translatable_text_part_set[] = "domain_translatable_text_part_set(part, domain, text)\n\n Set the text for an objects' part, marking it as translatable.\n\n The string to set as C{text} must be the original one. Do not pass the\n return of @C{gettext()} here. Elementary will translate the string\n internally and set it on the object using L{part_text_set()},\n also storing the original string so that it can be automatically\n translated when the language is changed with L{language_set()}.\n\n The C{domain} will be stored along to find the translation in the\n correct catalog. It can be None, in which case it will use whatever\n domain was set by the application with C{textdomain()}. This is useful\n in case you are building a library on top of Elementary that will have\n its own translatable strings, that should not be mixed with those of\n programs using the library.\n\n @param part: The name of the part to set\n @type part: string\n @param domain: The translation domain to use\n @type domain: string\n @param text: The original, non-translated text to set\n @type text: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_133domain_translatable_text_part_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ PyObject *__pyx_v_domain = 0;
+ PyObject *__pyx_v_text = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__domain,&__pyx_n_s__text,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("domain_translatable_text_part_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__domain);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("domain_translatable_text_part_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("domain_translatable_text_part_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "domain_translatable_text_part_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1281; __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_part = values[0];
+ __pyx_v_domain = values[1];
+ __pyx_v_text = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("domain_translatable_text_part_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.domain_translatable_text_part_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_132domain_translatable_text_part_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_part, __pyx_v_domain, __pyx_v_text);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1281
+ *
+ * #Translatable text
+ * def domain_translatable_text_part_set(self, part, domain, text): # <<<<<<<<<<<<<<
+ * """domain_translatable_text_part_set(part, domain, text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_132domain_translatable_text_part_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_domain, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("domain_translatable_text_part_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1307
+ *
+ * """
+ * elm_object_domain_translatable_text_part_set(self.obj, _cfruni(part), _cfruni(domain), _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def domain_translatable_text_set(self, domain, text):
+ */
+ elm_object_domain_translatable_text_part_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_domain), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_135domain_translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_135domain_translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_domain = 0;
+ PyObject *__pyx_v_text = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__domain,&__pyx_n_s__text,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("domain_translatable_text_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__domain);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("domain_translatable_text_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "domain_translatable_text_set") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1309; __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_domain = values[0];
+ __pyx_v_text = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("domain_translatable_text_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object.domain_translatable_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_134domain_translatable_text_set(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_domain, __pyx_v_text);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1309
+ * elm_object_domain_translatable_text_part_set(self.obj, _cfruni(part), _cfruni(domain), _cfruni(text))
+ *
+ * def domain_translatable_text_set(self, domain, text): # <<<<<<<<<<<<<<
+ * elm_object_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_134domain_translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_domain, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("domain_translatable_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1310
+ *
+ * def domain_translatable_text_set(self, domain, text):
+ * elm_object_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def translatable_text_set(self, text):
+ */
+ elm_object_domain_translatable_text_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_domain), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_137translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_137translatable_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("translatable_text_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_136translatable_text_set(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1312
+ * elm_object_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text))
+ *
+ * def translatable_text_set(self, text): # <<<<<<<<<<<<<<
+ * elm_object_translatable_text_set(self.obj, _cfruni(text))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_136translatable_text_set(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("translatable_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1313
+ *
+ * def translatable_text_set(self, text):
+ * elm_object_translatable_text_set(self.obj, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def translatable_text_part_get(self, part):
+ */
+ elm_object_translatable_text_set(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_139translatable_text_part_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_138translatable_text_part_get[] = "translatable_text_part_get(part)\n\n Gets the original string set as translatable for an object\n\n When setting translated strings, the function L{part_text_get()}\n will return the translation returned by C{gettext()}. To get the\n original string use this function.\n\n @param part: The name of the part that was set\n @type part: string\n\n @return: The original, untranslated string\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_139translatable_text_part_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("translatable_text_part_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_138translatable_text_part_get(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1315
+ * elm_object_translatable_text_set(self.obj, _cfruni(text))
+ *
+ * def translatable_text_part_get(self, part): # <<<<<<<<<<<<<<
+ * """translatable_text_part_get(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_138translatable_text_part_get(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ 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("translatable_text_part_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1331
+ *
+ * """
+ * return _ctouni(elm_object_translatable_text_part_get(self.obj, _cfruni(part))) # <<<<<<<<<<<<<<
+ *
+ * def translatable_text_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_translatable_text_part_get(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.translatable_text_part_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_141translatable_text_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_141translatable_text_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("translatable_text_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_140translatable_text_get(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1333
+ * return _ctouni(elm_object_translatable_text_part_get(self.obj, _cfruni(part)))
+ *
+ * def translatable_text_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_object_translatable_text_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_140translatable_text_get(struct PyElementaryObject *__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("translatable_text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1334
+ *
+ * def translatable_text_get(self):
+ * return _ctouni(elm_object_translatable_text_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property translatable_text:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_translatable_text_get(__pyx_v_self->__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object.translatable_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_17translatable_text_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_17translatable_text_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_17translatable_text___get__(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1337
+ *
+ * property translatable_text:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.translatable_text_get()
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_17translatable_text___get__(struct PyElementaryObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1338
+ * property translatable_text:
+ * def __get__(self):
+ * return self.translatable_text_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.translatable_text_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_30); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1338; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Object.translatable_text.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Object_17translatable_text_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Object_17translatable_text_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_17translatable_text_2__set__(((struct PyElementaryObject *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1339
+ * def __get__(self):
+ * return self.translatable_text_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.translatable_text_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Object_17translatable_text_2__set__(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1340
+ * return self.translatable_text_get()
+ * def __set__(self, value):
+ * self.translatable_text_set(value) # <<<<<<<<<<<<<<
+ *
+ * # Callbacks
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_31); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Object.translatable_text.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_143_callback_add_full(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_142_callback_add_full[] = "_callback_add_full(event, event_conv, func, *args, **kargs)\n\n Add a callback for the smart event specified by event.\n\n @param event: event name\n @type event: string\n @param event_conv: Conversion function to get the\n pointer (as a long) to the object to be given to the\n function as the second parameter. If None, then no\n parameter will be given to the callback.\n @type event_conv: function\n @param func: what to callback. Should have the signature:\n C{function(object, event_info, *args, **kargs)}\n C{function(object, *args, **kargs)} (if no event_conv is provided)\n @type func: function\n\n @raise TypeError: if B{func} is not callable.\n @raise TypeError: if B{event_conv} is not callable or None.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_143_callback_add_full(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_event = 0;
+ PyObject *__pyx_v_event_conv = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__event,&__pyx_n_s__event_conv,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_callback_add_full (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__event);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__event_conv);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("_callback_add_full", 0, 3, 3, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1343; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("_callback_add_full", 0, 3, 3, 2); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1343; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "_callback_add_full") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1343; __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_event = values[0];
+ __pyx_v_event_conv = values[1];
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("_callback_add_full", 0, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1343; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_add_full", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_142_callback_add_full(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_event, __pyx_v_event_conv, __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1343
+ *
+ * # Callbacks
+ * def _callback_add_full(self, event, event_conv, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """_callback_add_full(event, event_conv, func, *args, **kargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_142_callback_add_full(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_event_conv, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ PyObject *__pyx_v_e = NULL;
+ PyObject *__pyx_v_lst = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_callback_add_full", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1364
+ *
+ * """
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ * if event_conv is not None and not callable(event_conv):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1365
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ * if event_conv is not None and not callable(event_conv):
+ * raise TypeError("event_conv must be None or callable")
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_32), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1366
+ * if not callable(func):
+ * raise TypeError("func must be callable")
+ * if event_conv is not None and not callable(event_conv): # <<<<<<<<<<<<<<
+ * raise TypeError("event_conv must be None or callable")
+ *
+ */
+ __pyx_t_4 = (__pyx_v_event_conv != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_event_conv);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_event_conv);
+ __Pyx_GIVEREF(__pyx_v_event_conv);
+ __pyx_t_1 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_5 = (!__pyx_t_3);
+ __pyx_t_3 = __pyx_t_5;
+ } else {
+ __pyx_t_3 = __pyx_t_4;
+ }
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1367
+ * raise TypeError("func must be callable")
+ * if event_conv is not None and not callable(event_conv):
+ * raise TypeError("event_conv must be None or callable") # <<<<<<<<<<<<<<
+ *
+ * if self._elmcallbacks is None:
+ */
+ __pyx_t_1 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_34), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1367; __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 = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1369
+ * raise TypeError("event_conv must be None or callable")
+ *
+ * if self._elmcallbacks is None: # <<<<<<<<<<<<<<
+ * self._elmcallbacks = {}
+ *
+ */
+ __pyx_t_3 = (__pyx_v_self->_elmcallbacks == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1370
+ *
+ * if self._elmcallbacks is None:
+ * self._elmcallbacks = {} # <<<<<<<<<<<<<<
+ *
+ * e = intern(event)
+ */
+ __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
+ __Pyx_GOTREF(__pyx_v_self->_elmcallbacks);
+ __Pyx_DECREF(__pyx_v_self->_elmcallbacks);
+ __pyx_v_self->_elmcallbacks = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1372
+ * self._elmcallbacks = {}
+ *
+ * e = intern(event) # <<<<<<<<<<<<<<
+ * lst = self._elmcallbacks.setdefault(e, [])
+ * if not lst:
+ */
+ __pyx_t_1 = __Pyx_Intern(__pyx_v_event); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_e = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1373
+ *
+ * e = intern(event)
+ * lst = self._elmcallbacks.setdefault(e, []) # <<<<<<<<<<<<<<
+ * if not lst:
+ * evas_object_smart_callback_add(self.obj, _fruni(event),
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_self->_elmcallbacks, __pyx_n_s__setdefault); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_v_e);
+ PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_e);
+ __Pyx_GIVEREF(__pyx_v_e);
+ PyTuple_SET_ITEM(__pyx_t_6, 1, ((PyObject *)__pyx_t_2));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_2));
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __pyx_v_lst = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1374
+ * e = intern(event)
+ * lst = self._elmcallbacks.setdefault(e, [])
+ * if not lst: # <<<<<<<<<<<<<<
+ * evas_object_smart_callback_add(self.obj, _fruni(event),
+ * _object_callback, <void *>e)
+ */
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_lst); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1376
+ * if not lst:
+ * evas_object_smart_callback_add(self.obj, _fruni(event),
+ * _object_callback, <void *>e) # <<<<<<<<<<<<<<
+ * lst.append((event_conv, func, args, kargs))
+ *
+ */
+ evas_object_smart_callback_add(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__fruni(__pyx_v_event), __pyx_f_10elementary_12c_elementary__object_callback, ((void *)__pyx_v_e));
+ goto __pyx_L6;
+ }
+ __pyx_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1377
+ * evas_object_smart_callback_add(self.obj, _fruni(event),
+ * _object_callback, <void *>e)
+ * lst.append((event_conv, func, args, kargs)) # <<<<<<<<<<<<<<
+ *
+ * def _callback_del_full(self, event, event_conv, func):
+ */
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_event_conv);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_event_conv);
+ __Pyx_GIVEREF(__pyx_v_event_conv);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_t_6 = __Pyx_PyObject_Append(__pyx_v_lst, ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+
+ __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_6);
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_add_full", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_XDECREF(__pyx_v_lst);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_145_callback_del_full(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_144_callback_del_full[] = "_callback_del_full(event, event_conv, func)\n\n Remove a smart callback.\n\n Removes a callback that was added by L{_callback_add_full()}.\n\n @param event: event name\n @type event: string\n @param event_conv: same as registered with L{_callback_add_full()}\n @type event_conv: function\n @param func: what to callback, should have be previously registered.\n @type func: function\n\n @precond: B{event}, B{event_conv} and B{func} must be used as\n parameter for L{_callback_add_full()}.\n\n @raise ValueError: if there was no B{func} connected with this event.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_145_callback_del_full(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_event = 0;
+ PyObject *__pyx_v_event_conv = 0;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__event,&__pyx_n_s__event_conv,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_callback_del_full (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__event);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__event_conv);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("_callback_del_full", 1, 3, 3, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("_callback_del_full", 1, 3, 3, 2); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_callback_del_full") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1379; __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_event = values[0];
+ __pyx_v_event_conv = values[1];
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("_callback_del_full", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_del_full", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_144_callback_del_full(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_event, __pyx_v_event_conv, __pyx_v_func);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1379
+ * lst.append((event_conv, func, args, kargs))
+ *
+ * def _callback_del_full(self, event, event_conv, func): # <<<<<<<<<<<<<<
+ * """_callback_del_full(event, event_conv, func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_144_callback_del_full(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_event_conv, PyObject *__pyx_v_func) {
+ PyObject *__pyx_v_lst = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ PyObject *__pyx_v_i = NULL;
+ PyObject *__pyx_v_ec = NULL;
+ PyObject *__pyx_v_f = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_a = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_k = NULL;
+ 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_t_5;
+ 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)(PyObject *);
+ PyObject *__pyx_t_12 = NULL;
+ PyObject *__pyx_t_13 = NULL;
+ PyObject *__pyx_t_14 = NULL;
+ PyObject *(*__pyx_t_15)(PyObject *);
+ int __pyx_t_16;
+ int __pyx_t_17;
+ int __pyx_t_18;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_callback_del_full", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1399
+ *
+ * """
+ * try: # <<<<<<<<<<<<<<
+ * lst = self._elmcallbacks[event]
+ * except KeyError as e:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_1);
+ __Pyx_XGOTREF(__pyx_t_2);
+ __Pyx_XGOTREF(__pyx_t_3);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1400
+ * """
+ * try:
+ * lst = self._elmcallbacks[event] # <<<<<<<<<<<<<<
+ * except KeyError as e:
+ * raise ValueError("Unknown event %r" % event)
+ */
+ __pyx_t_4 = PyObject_GetItem(__pyx_v_self->_elmcallbacks, __pyx_v_event); if (!__pyx_t_4) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1400; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_v_lst = __pyx_t_4;
+ __pyx_t_4 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L10_try_end;
+ __pyx_L3_error:;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1401
+ * try:
+ * lst = self._elmcallbacks[event]
+ * except KeyError as e: # <<<<<<<<<<<<<<
+ * raise ValueError("Unknown event %r" % event)
+ *
+ */
+ __pyx_t_5 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
+ if (__pyx_t_5) {
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_del_full", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_7) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1401; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1402
+ * lst = self._elmcallbacks[event]
+ * except KeyError as e:
+ * raise ValueError("Unknown event %r" % event) # <<<<<<<<<<<<<<
+ *
+ * i = -1
+ */
+ __pyx_t_8 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_35), __pyx_v_event); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ PyTuple_SET_ITEM(__pyx_t_9, 0, ((PyObject *)__pyx_t_8));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_8));
+ __pyx_t_8 = 0;
+ __pyx_t_8 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_9), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(((PyObject *)__pyx_t_9)); __pyx_t_9 = 0;
+ __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1402; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ goto __pyx_L4_exception_handled;
+ }
+ __pyx_L5_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L1_error;
+ __pyx_L4_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ __pyx_L10_try_end:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1404
+ * raise ValueError("Unknown event %r" % event)
+ *
+ * i = -1 # <<<<<<<<<<<<<<
+ * ec = None
+ * f = None
+ */
+ __Pyx_INCREF(__pyx_int_neg_1);
+ __pyx_v_i = __pyx_int_neg_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1405
+ *
+ * i = -1
+ * ec = None # <<<<<<<<<<<<<<
+ * f = None
+ * for i, (ec, f, a, k) in enumerate(lst):
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_ec = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1406
+ * i = -1
+ * ec = None
+ * f = None # <<<<<<<<<<<<<<
+ * for i, (ec, f, a, k) in enumerate(lst):
+ * if event_conv == ec and func == f:
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_f = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1407
+ * ec = None
+ * f = None
+ * for i, (ec, f, a, k) in enumerate(lst): # <<<<<<<<<<<<<<
+ * if event_conv == ec and func == f:
+ * break
+ */
+ __Pyx_INCREF(__pyx_int_0);
+ __pyx_t_7 = __pyx_int_0;
+ if (PyList_CheckExact(__pyx_v_lst) || PyTuple_CheckExact(__pyx_v_lst)) {
+ __pyx_t_6 = __pyx_v_lst; __Pyx_INCREF(__pyx_t_6); __pyx_t_10 = 0;
+ __pyx_t_11 = NULL;
+ } else {
+ __pyx_t_10 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_v_lst); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_11 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ }
+ for (;;) {
+ if (!__pyx_t_11 && PyList_CheckExact(__pyx_t_6)) {
+ if (__pyx_t_10 >= PyList_GET_SIZE(__pyx_t_6)) break;
+ __pyx_t_4 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_10); __Pyx_INCREF(__pyx_t_4); __pyx_t_10++;
+ } else if (!__pyx_t_11 && PyTuple_CheckExact(__pyx_t_6)) {
+ if (__pyx_t_10 >= PyTuple_GET_SIZE(__pyx_t_6)) break;
+ __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_10); __Pyx_INCREF(__pyx_t_4); __pyx_t_10++;
+ } else {
+ __pyx_t_4 = __pyx_t_11(__pyx_t_6);
+ if (unlikely(!__pyx_t_4)) {
+ if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
+ else {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ break;
+ }
+ __Pyx_GOTREF(__pyx_t_4);
+ }
+ if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) {
+ PyObject* sequence = __pyx_t_4;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_8 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_9 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_12 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_13 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_8 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_9 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_12 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_13 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_9);
+ __Pyx_INCREF(__pyx_t_12);
+ __Pyx_INCREF(__pyx_t_13);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_14 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_14)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_14);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_15 = Py_TYPE(__pyx_t_14)->tp_iternext;
+ index = 0; __pyx_t_8 = __pyx_t_15(__pyx_t_14); if (unlikely(!__pyx_t_8)) goto __pyx_L15_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_8);
+ index = 1; __pyx_t_9 = __pyx_t_15(__pyx_t_14); if (unlikely(!__pyx_t_9)) goto __pyx_L15_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_9);
+ index = 2; __pyx_t_12 = __pyx_t_15(__pyx_t_14); if (unlikely(!__pyx_t_12)) goto __pyx_L15_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_12);
+ index = 3; __pyx_t_13 = __pyx_t_15(__pyx_t_14); if (unlikely(!__pyx_t_13)) goto __pyx_L15_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_13);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_14), 4) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
+ goto __pyx_L16_unpacking_done;
+ __pyx_L15_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L16_unpacking_done:;
+ }
+ __Pyx_DECREF(__pyx_v_ec);
+ __pyx_v_ec = __pyx_t_8;
+ __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_v_f);
+ __pyx_v_f = __pyx_t_9;
+ __pyx_t_9 = 0;
+ __Pyx_XDECREF(__pyx_v_a);
+ __pyx_v_a = __pyx_t_12;
+ __pyx_t_12 = 0;
+ __Pyx_XDECREF(__pyx_v_k);
+ __pyx_v_k = __pyx_t_13;
+ __pyx_t_13 = 0;
+ __Pyx_INCREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_v_i);
+ __pyx_v_i = __pyx_t_7;
+ __pyx_t_4 = PyNumber_Add(__pyx_t_7, __pyx_int_1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_7);
+ __pyx_t_7 = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1408
+ * f = None
+ * for i, (ec, f, a, k) in enumerate(lst):
+ * if event_conv == ec and func == f: # <<<<<<<<<<<<<<
+ * break
+ *
+ */
+ __pyx_t_4 = PyObject_RichCompare(__pyx_v_event_conv, __pyx_v_ec, Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_16 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (__pyx_t_16) {
+ __pyx_t_4 = PyObject_RichCompare(__pyx_v_func, __pyx_v_f, Py_EQ); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_17 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_17 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_18 = __pyx_t_17;
+ } else {
+ __pyx_t_18 = __pyx_t_16;
+ }
+ if (__pyx_t_18) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1409
+ * for i, (ec, f, a, k) in enumerate(lst):
+ * if event_conv == ec and func == f:
+ * break # <<<<<<<<<<<<<<
+ *
+ * if f != func or ec != event_conv:
+ */
+ goto __pyx_L14_break;
+ goto __pyx_L17;
+ }
+ __pyx_L17:;
+ }
+ __pyx_L14_break:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1411
+ * break
+ *
+ * if f != func or ec != event_conv: # <<<<<<<<<<<<<<
+ * raise ValueError("Callback %s was not registered with event %r" %
+ * (func, event))
+ */
+ __pyx_t_7 = PyObject_RichCompare(__pyx_v_f, __pyx_v_func, Py_NE); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_18 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_18 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ if (!__pyx_t_18) {
+ __pyx_t_7 = PyObject_RichCompare(__pyx_v_ec, __pyx_v_event_conv, Py_NE); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_16 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __pyx_t_17 = __pyx_t_16;
+ } else {
+ __pyx_t_17 = __pyx_t_18;
+ }
+ if (__pyx_t_17) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1413
+ * if f != func or ec != event_conv:
+ * raise ValueError("Callback %s was not registered with event %r" %
+ * (func, event)) # <<<<<<<<<<<<<<
+ *
+ * lst.pop(i)
+ */
+ __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(__pyx_v_event);
+ PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_v_event);
+ __Pyx_GIVEREF(__pyx_v_event);
+ __pyx_t_6 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_36), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_6));
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_t_6));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_6));
+ __pyx_t_6 = 0;
+ __pyx_t_6 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_t_7), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_Raise(__pyx_t_6, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L18;
+ }
+ __pyx_L18:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1415
+ * (func, event))
+ *
+ * lst.pop(i) # <<<<<<<<<<<<<<
+ * if lst:
+ * return
+ */
+ __pyx_t_6 = PyObject_GetAttr(__pyx_v_lst, __pyx_n_s__pop); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(__pyx_v_i);
+ PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_i);
+ __Pyx_GIVEREF(__pyx_v_i);
+ __pyx_t_4 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_t_7), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1416
+ *
+ * lst.pop(i)
+ * if lst: # <<<<<<<<<<<<<<
+ * return
+ * self._elmcallbacks.pop(event)
+ */
+ __pyx_t_17 = __Pyx_PyObject_IsTrue(__pyx_v_lst); if (unlikely(__pyx_t_17 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_17) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1417
+ * lst.pop(i)
+ * if lst:
+ * return # <<<<<<<<<<<<<<
+ * self._elmcallbacks.pop(event)
+ * evas_object_smart_callback_del(self.obj, _fruni(event), _object_callback)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ goto __pyx_L19;
+ }
+ __pyx_L19:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1418
+ * if lst:
+ * return
+ * self._elmcallbacks.pop(event) # <<<<<<<<<<<<<<
+ * evas_object_smart_callback_del(self.obj, _fruni(event), _object_callback)
+ *
+ */
+ __pyx_t_4 = PyObject_GetAttr(__pyx_v_self->_elmcallbacks, __pyx_n_s__pop); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(__pyx_v_event);
+ PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_event);
+ __Pyx_GIVEREF(__pyx_v_event);
+ __pyx_t_6 = PyObject_Call(__pyx_t_4, ((PyObject *)__pyx_t_7), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1419
+ * return
+ * self._elmcallbacks.pop(event)
+ * evas_object_smart_callback_del(self.obj, _fruni(event), _object_callback) # <<<<<<<<<<<<<<
+ *
+ * def _callback_add(self, event, func, *args, **kargs):
+ */
+ evas_object_smart_callback_del(__pyx_v_self->__pyx_base.obj, __pyx_f_10elementary_12c_elementary__fruni(__pyx_v_event), __pyx_f_10elementary_12c_elementary__object_callback);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_12);
+ __Pyx_XDECREF(__pyx_t_13);
+ __Pyx_XDECREF(__pyx_t_14);
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_del_full", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_lst);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_XDECREF(__pyx_v_i);
+ __Pyx_XDECREF(__pyx_v_ec);
+ __Pyx_XDECREF(__pyx_v_f);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_k);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_147_callback_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_146_callback_add[] = "_callback_add(event, func, *args, **kargs)\n\n Add a callback for the smart event specified by event.\n\n @param event: event name\n @type event: string\n @param func: what to callback. Should have the signature:\n C{function(object, *args, **kargs)}\n @type func: function\n\n @raise TypeError: if B{func} is not callable.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_147_callback_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_event = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__event,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_callback_add (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__event);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("_callback_add", 0, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1421; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "_callback_add") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1421; __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_event = values[0];
+ __pyx_v_func = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("_callback_add", 0, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1421; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_146_callback_add(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_event, __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1421
+ * evas_object_smart_callback_del(self.obj, _fruni(event), _object_callback)
+ *
+ * def _callback_add(self, event, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """_callback_add(event, func, *args, **kargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_146_callback_add(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1435
+ *
+ * """
+ * return self._callback_add_full(event, None, func, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def _callback_del(self, event, func):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_event);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_event);
+ __Pyx_GIVEREF(__pyx_v_event);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Object._callback_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_149_callback_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_148_callback_del[] = "_callback_del(event, func)\n\n Remove a smart callback.\n\n Removes a callback that was added by L{_callback_add()}.\n\n @param event: event name\n @type event: string\n @param func: what to callback, should have be previously registered.\n @type func: function\n\n @precond: B{event} and B{func} must be used as parameter for\n L{_callback_add_full()}.\n\n @raise ValueError: if there was no B{func} connected with this event.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_149_callback_del(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_event = 0;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__event,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_callback_del (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__event);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("_callback_del", 1, 2, 2, 1); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1437; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_callback_del") < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1437; __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_event = values[0];
+ __pyx_v_func = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("_callback_del", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1437; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Object._callback_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_148_callback_del(((struct PyElementaryObject *)__pyx_v_self), __pyx_v_event, __pyx_v_func);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1437
+ * return self._callback_add_full(event, None, func, *args, **kargs)
+ *
+ * def _callback_del(self, event, func): # <<<<<<<<<<<<<<
+ * """_callback_del(event, func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_148_callback_del(struct PyElementaryObject *__pyx_v_self, PyObject *__pyx_v_event, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_callback_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1455
+ *
+ * """
+ * return self._callback_del_full(event, None, func) # <<<<<<<<<<<<<<
+ *
+ * def _get_obj_addr(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_event);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_event);
+ __Pyx_GIVEREF(__pyx_v_event);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Object._callback_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_151_get_obj_addr(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Object_150_get_obj_addr[] = "_get_obj_addr()\n\n Return the address of the internal save Evas_Object\n\n @return: Address of saved Evas_Object\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Object_151_get_obj_addr(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_get_obj_addr (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Object_150_get_obj_addr(((struct PyElementaryObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1457
+ * return self._callback_del_full(event, None, func)
+ *
+ * def _get_obj_addr(self): # <<<<<<<<<<<<<<
+ * """_get_obj_addr()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Object_150_get_obj_addr(struct PyElementaryObject *__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_obj_addr", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1465
+ *
+ * """
+ * return <long>self.obj # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(((long)__pyx_v_self->__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Object._get_obj_addr", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_67__elm_widget_cls_resolver(PyObject *__pyx_self, PyObject *__pyx_arg_ptr); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_67__elm_widget_cls_resolver = {__Pyx_NAMESTR("__elm_widget_cls_resolver"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_67__elm_widget_cls_resolver, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_67__elm_widget_cls_resolver(PyObject *__pyx_self, PyObject *__pyx_arg_ptr) {
+ unsigned long __pyx_v_ptr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__elm_widget_cls_resolver (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_ptr); {
+ __pyx_v_ptr = __Pyx_PyInt_AsUnsignedLong(__pyx_arg_ptr); if (unlikely((__pyx_v_ptr == (unsigned long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1468; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.__elm_widget_cls_resolver", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_66__elm_widget_cls_resolver(__pyx_self, ((unsigned long)__pyx_v_ptr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1468
+ *
+ *
+ * def __elm_widget_cls_resolver(unsigned long ptr): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = <Evas_Object *>ptr
+ * cdef const_char_ptr t
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_66__elm_widget_cls_resolver(CYTHON_UNUSED PyObject *__pyx_self, unsigned long __pyx_v_ptr) {
+ Evas_Object *__pyx_v_obj;
+ const char * __pyx_v_t;
+ 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("__elm_widget_cls_resolver", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1469
+ *
+ * def __elm_widget_cls_resolver(unsigned long ptr):
+ * cdef Evas_Object *obj = <Evas_Object *>ptr # <<<<<<<<<<<<<<
+ * cdef const_char_ptr t
+ *
+ */
+ __pyx_v_obj = ((Evas_Object *)__pyx_v_ptr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1472
+ * cdef const_char_ptr t
+ *
+ * t = elm_object_widget_type_get(obj) # <<<<<<<<<<<<<<
+ * assert t != NULL
+ * return _elm_widget_type_mapping.get(_ctouni(t), None)
+ */
+ __pyx_v_t = elm_object_widget_type_get(__pyx_v_obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1473
+ *
+ * t = elm_object_widget_type_get(obj)
+ * assert t != NULL # <<<<<<<<<<<<<<
+ * return _elm_widget_type_mapping.get(_ctouni(t), None)
+ *
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_t != NULL))) {
+ PyErr_SetNone(PyExc_AssertionError);
+ {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1474
+ * t = elm_object_widget_type_get(obj)
+ * assert t != NULL
+ * return _elm_widget_type_mapping.get(_ctouni(t), None) # <<<<<<<<<<<<<<
+ *
+ * _extended_object_mapping_register("elm_widget",
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping, __pyx_n_s__get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_t)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1474; __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 = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.__elm_widget_cls_resolver", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":19
+ * #
+ *
+ * cdef Evas_Object *_tooltip_item_content_create(void *data, Evas_Object *o, Evas_Object *t, void *it) with gil: # <<<<<<<<<<<<<<
+ * cdef Object ret, obj, tooltip
+ *
+ */
+
+static Evas_Object *__pyx_f_10elementary_12c_elementary__tooltip_item_content_create(void *__pyx_v_data, Evas_Object *__pyx_v_o, Evas_Object *__pyx_v_t, CYTHON_UNUSED void *__pyx_v_it) {
+ struct PyElementaryObject *__pyx_v_ret = 0;
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED struct PyElementaryObject *__pyx_v_tooltip = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_item = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kargs = NULL;
+ Evas_Object *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ void *__pyx_t_1;
+ 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)(PyObject *);
+ int __pyx_t_8;
+ int __pyx_t_9;
+ 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("_tooltip_item_content_create", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":22
+ * cdef Object ret, obj, tooltip
+ *
+ * obj = <Object>evas_object_data_get(o, "python-evas") # <<<<<<<<<<<<<<
+ * tooltip = Object_from_instance(t)
+ * (func, item, args, kargs) = <object>data
+ */
+ __pyx_t_1 = evas_object_data_get(__pyx_v_o, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":23
+ *
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * tooltip = Object_from_instance(t) # <<<<<<<<<<<<<<
+ * (func, item, args, kargs) = <object>data
+ * ret = func(obj, item, *args, **kargs)
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_t)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_10elementary_12c_elementary_Object))))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_tooltip = ((struct PyElementaryObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":24
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * tooltip = Object_from_instance(t)
+ * (func, item, args, kargs) = <object>data # <<<<<<<<<<<<<<
+ * ret = func(obj, item, *args, **kargs)
+ * if not ret:
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_t_5);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_6 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ index = 0; __pyx_t_2 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 1; __pyx_t_3 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 2; __pyx_t_4 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ index = 3; __pyx_t_5 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 4) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_item = __pyx_t_3;
+ __pyx_t_3 = 0;
+ __pyx_v_args = __pyx_t_4;
+ __pyx_t_4 = 0;
+ __pyx_v_kargs = __pyx_t_5;
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":25
+ * tooltip = Object_from_instance(t)
+ * (func, item, args, kargs) = <object>data
+ * ret = func(obj, item, *args, **kargs) # <<<<<<<<<<<<<<
+ * if not ret:
+ * return NULL
+ */
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __Pyx_INCREF(__pyx_v_item);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_item);
+ __Pyx_GIVEREF(__pyx_v_item);
+ __pyx_t_4 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (unlikely(__pyx_v_kargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kargs))) {
+ __pyx_t_4 = __pyx_v_kargs;
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ __pyx_t_4 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kargs, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ }
+ __pyx_t_5 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_10elementary_12c_elementary_Object))))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_ret = ((struct PyElementaryObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":26
+ * (func, item, args, kargs) = <object>data
+ * ret = func(obj, item, *args, **kargs)
+ * if not ret: # <<<<<<<<<<<<<<
+ * return NULL
+ * return ret.obj
+ */
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_ret)); if (unlikely(__pyx_t_8 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_9 = (!__pyx_t_8);
+ if (__pyx_t_9) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":27
+ * ret = func(obj, item, *args, **kargs)
+ * if not ret:
+ * return NULL # <<<<<<<<<<<<<<
+ * return ret.obj
+ *
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":28
+ * if not ret:
+ * return NULL
+ * return ret.obj # <<<<<<<<<<<<<<
+ *
+ * cdef void _tooltip_item_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ */
+ __pyx_r = __pyx_v_ret->__pyx_base.obj;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __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_WriteUnraisable("elementary.c_elementary._tooltip_item_content_create", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF((PyObject *)__pyx_v_tooltip);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":30
+ * return ret.obj
+ *
+ * cdef void _tooltip_item_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * Py_DECREF(<object>data)
+ *
+ */
+
+static void __pyx_f_10elementary_12c_elementary__tooltip_item_data_del_cb(void *__pyx_v_data, CYTHON_UNUSED Evas_Object *__pyx_v_o, CYTHON_UNUSED void *__pyx_v_event_info) {
+ __Pyx_RefNannyDeclarations
+ #ifdef WITH_THREAD
+ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
+ #endif
+ __Pyx_RefNannySetupContext("_tooltip_item_data_del_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":31
+ *
+ * cdef void _tooltip_item_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ * Py_DECREF(<object>data) # <<<<<<<<<<<<<<
+ *
+ * cdef class ObjectItem
+ */
+ Py_DECREF(((PyObject *)__pyx_v_data));
+
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_69_cb_object_item_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_69_cb_object_item_conv = {__Pyx_NAMESTR("_cb_object_item_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_69_cb_object_item_conv, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_69_cb_object_item_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_cb_object_item_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._cb_object_item_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_68_cb_object_item_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":35
+ * cdef class ObjectItem
+ *
+ * def _cb_object_item_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
+ * return _object_item_to_python(it)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_68_cb_object_item_conv(CYTHON_UNUSED PyObject *__pyx_self, long __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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":36
+ *
+ * def _cb_object_item_conv(long 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":37
+ * def _cb_object_item_conv(long addr):
+ * cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
+ * return _object_item_to_python(it) # <<<<<<<<<<<<<<
+ *
+ * cdef Elm_Object_Item * _object_item_from_python(ObjectItem item) except NULL:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary._cb_object_item_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":39
+ * return _object_item_to_python(it)
+ *
+ * cdef Elm_Object_Item * _object_item_from_python(ObjectItem item) except NULL: # <<<<<<<<<<<<<<
+ * if item is None or item.item is NULL:
+ * raise TypeError("Invalid item!")
+ */
+
+static Elm_Object_Item *__pyx_f_10elementary_12c_elementary__object_item_from_python(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_item) {
+ Elm_Object_Item *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_object_item_from_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":40
+ *
+ * cdef Elm_Object_Item * _object_item_from_python(ObjectItem item) except NULL:
+ * if item is None or item.item is NULL: # <<<<<<<<<<<<<<
+ * raise TypeError("Invalid item!")
+ * return item.item
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_item) == Py_None);
+ if (!__pyx_t_1) {
+ __pyx_t_2 = (__pyx_v_item->item == NULL);
+ __pyx_t_3 = __pyx_t_2;
+ } else {
+ __pyx_t_3 = __pyx_t_1;
+ }
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":41
+ * cdef Elm_Object_Item * _object_item_from_python(ObjectItem item) except NULL:
+ * if item is None or item.item is NULL:
+ * raise TypeError("Invalid item!") # <<<<<<<<<<<<<<
+ * return item.item
+ *
+ */
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_38), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":42
+ * if item is None or item.item is NULL:
+ * raise TypeError("Invalid item!")
+ * return item.item # <<<<<<<<<<<<<<
+ *
+ * cdef _object_item_to_python(Elm_Object_Item *it):
+ */
+ __pyx_r = __pyx_v_item->item;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary._object_item_from_python", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":44
+ * return item.item
+ *
+ * cdef _object_item_to_python(Elm_Object_Item *it): # <<<<<<<<<<<<<<
+ * cdef void *data
+ * cdef object item
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__object_item_to_python(Elm_Object_Item *__pyx_v_it) {
+ void *__pyx_v_data;
+ PyObject *__pyx_v_item = 0;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("_object_item_to_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":48
+ * cdef object item
+ *
+ * if it == NULL: # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ __pyx_t_1 = (__pyx_v_it == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":49
+ *
+ * if it == NULL:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * data = elm_object_item_data_get(it)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":51
+ * return None
+ *
+ * data = elm_object_item_data_get(it) # <<<<<<<<<<<<<<
+ * if data == NULL:
+ * return None
+ */
+ __pyx_v_data = elm_object_item_data_get(__pyx_v_it);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":52
+ *
+ * data = elm_object_item_data_get(it)
+ * if data == NULL: # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ __pyx_t_1 = (__pyx_v_data == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":53
+ * data = elm_object_item_data_get(it)
+ * if data == NULL:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * item = <object>data
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":55
+ * return None
+ *
+ * item = <object>data # <<<<<<<<<<<<<<
+ * return item
+ *
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((PyObject *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":56
+ *
+ * item = <object>data
+ * return item # <<<<<<<<<<<<<<
+ *
+ * cdef _object_item_list_to_python(const_Eina_List *lst):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_item);
+ __pyx_r = __pyx_v_item;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_item);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":58
+ * return item
+ *
+ * cdef _object_item_list_to_python(const_Eina_List *lst): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it
+ * ret = []
+ */
+
+static PyObject *__pyx_f_10elementary_12c_elementary__object_item_list_to_python(const Eina_List *__pyx_v_lst) {
+ Elm_Object_Item *__pyx_v_it;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_v_ret_append = NULL;
+ PyObject *__pyx_v_o = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_object_item_list_to_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":60
+ * cdef _object_item_list_to_python(const_Eina_List *lst):
+ * cdef Elm_Object_Item *it
+ * ret = [] # <<<<<<<<<<<<<<
+ * ret_append = ret.append
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":61
+ * cdef Elm_Object_Item *it
+ * ret = []
+ * ret_append = ret.append # <<<<<<<<<<<<<<
+ * while lst:
+ * it = <Elm_Object_Item *>lst.data
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_ret), __pyx_n_s__append); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret_append = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":62
+ * ret = []
+ * ret_append = ret.append
+ * while lst: # <<<<<<<<<<<<<<
+ * it = <Elm_Object_Item *>lst.data
+ * lst = lst.next
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":63
+ * ret_append = ret.append
+ * while lst:
+ * it = <Elm_Object_Item *>lst.data # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * o = _object_item_to_python(it)
+ */
+ __pyx_v_it = ((Elm_Object_Item *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":64
+ * while lst:
+ * it = <Elm_Object_Item *>lst.data
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * o = _object_item_to_python(it)
+ * if o is not None:
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":65
+ * it = <Elm_Object_Item *>lst.data
+ * lst = lst.next
+ * o = _object_item_to_python(it) # <<<<<<<<<<<<<<
+ * if o is not None:
+ * ret_append(o)
+ */
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_v_o);
+ __pyx_v_o = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":66
+ * lst = lst.next
+ * o = _object_item_to_python(it)
+ * if o is not None: # <<<<<<<<<<<<<<
+ * ret_append(o)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_o != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":67
+ * o = _object_item_to_python(it)
+ * if o is not None:
+ * ret_append(o) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_o);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_o);
+ __Pyx_GIVEREF(__pyx_v_o);
+ __pyx_t_3 = PyObject_Call(__pyx_v_ret_append, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":68
+ * if o is not None:
+ * ret_append(o)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary._object_item_list_to_python", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_ret_append);
+ __Pyx_XDECREF(__pyx_v_o);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":70
+ * return ret
+ *
+ * cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * cdef ObjectItem d = <object>data
+ * d.item = NULL
+ */
+
+static void __pyx_f_10elementary_12c_elementary__object_item_del_cb(void *__pyx_v_data, CYTHON_UNUSED Evas_Object *__pyx_v_o, CYTHON_UNUSED void *__pyx_v_event_info) {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_d = 0;
+ __Pyx_RefNannyDeclarations
+ 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("_object_item_del_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":71
+ *
+ * cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ * cdef ObjectItem d = <object>data # <<<<<<<<<<<<<<
+ * d.item = NULL
+ * Py_DECREF(d)
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_ObjectItem))))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_d = ((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":72
+ * cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ * cdef ObjectItem d = <object>data
+ * d.item = NULL # <<<<<<<<<<<<<<
+ * Py_DECREF(d)
+ *
+ */
+ __pyx_v_d->item = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":73
+ * cdef ObjectItem d = <object>data
+ * d.item = NULL
+ * Py_DECREF(d) # <<<<<<<<<<<<<<
+ *
+ * cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_d));
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_WriteUnraisable("elementary.c_elementary._object_item_del_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_d);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":75
+ * Py_DECREF(d)
+ *
+ * cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * cdef ObjectItem item = <object>data
+ * (callback, a, ka) = item.params
+ */
+
+static void __pyx_f_10elementary_12c_elementary__object_item_callback(void *__pyx_v_data, Evas_Object *__pyx_v_obj, CYTHON_UNUSED void *__pyx_v_event_info) {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_callback = NULL;
+ PyObject *__pyx_v_a = NULL;
+ PyObject *__pyx_v_ka = NULL;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = 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)(PyObject *);
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_t_9;
+ PyObject *__pyx_t_10 = 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("_object_item_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":76
+ *
+ * cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+ * cdef ObjectItem item = <object>data # <<<<<<<<<<<<<<
+ * (callback, a, ka) = item.params
+ * try:
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_ObjectItem))))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":77
+ * cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+ * cdef ObjectItem item = <object>data
+ * (callback, a, ka) = item.params # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_item->params))) || (PyList_CheckExact(__pyx_v_item->params))) {
+ PyObject* sequence = __pyx_v_item->params;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_item->params); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_callback = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_a = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_ka = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":78
+ * cdef ObjectItem item = <object>data
+ * (callback, a, ka) = item.params
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * callback(o, item, *a, **ka)
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_8);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":79
+ * (callback, a, ka) = item.params
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * callback(o, item, *a, **ka)
+ * except Exception as e:
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":80
+ * try:
+ * o = Object_from_instance(obj)
+ * callback(o, item, *a, **ka) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ __Pyx_INCREF(((PyObject *)__pyx_v_item));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item));
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_a); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_1 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ if (unlikely(__pyx_v_ka == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_ka))) {
+ __pyx_t_2 = __pyx_v_ka;
+ __Pyx_INCREF(__pyx_t_2);
+ } else {
+ __pyx_t_2 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_ka, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ }
+ __pyx_t_3 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":81
+ * o = Object_from_instance(obj)
+ * callback(o, item, *a, **ka)
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_9 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_9) {
+ __Pyx_AddTraceback("elementary.c_elementary._object_item_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_1) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_v_e = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":82
+ * callback(o, item, *a, **ka)
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef class ObjectItem(object):
+ */
+ __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 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;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ __pyx_L12_try_end:;
+ }
+
+ 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_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._object_item_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_callback);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+}
+
+/* Python wrapper */
+static void __pyx_pw_10elementary_12c_elementary_10ObjectItem_1__dealloc__(PyObject *__pyx_v_self); /*proto*/
+static void __pyx_pw_10elementary_12c_elementary_10ObjectItem_1__dealloc__(PyObject *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0);
+ __pyx_pf_10elementary_12c_elementary_10ObjectItem___dealloc__(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":119
+ * cdef object params
+ *
+ * def __dealloc__(self): # <<<<<<<<<<<<<<
+ * if self.item != NULL:
+ * elm_object_item_del_cb_set(self.item, NULL)
+ */
+
+static void __pyx_pf_10elementary_12c_elementary_10ObjectItem___dealloc__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("__dealloc__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":120
+ *
+ * def __dealloc__(self):
+ * if self.item != NULL: # <<<<<<<<<<<<<<
+ * elm_object_item_del_cb_set(self.item, NULL)
+ * elm_object_item_del(self.item)
+ */
+ __pyx_t_1 = (__pyx_v_self->item != NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":121
+ * def __dealloc__(self):
+ * if self.item != NULL:
+ * elm_object_item_del_cb_set(self.item, NULL) # <<<<<<<<<<<<<<
+ * elm_object_item_del(self.item)
+ * self.item = NULL
+ */
+ elm_object_item_del_cb_set(__pyx_v_self->item, NULL);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":122
+ * if self.item != NULL:
+ * elm_object_item_del_cb_set(self.item, NULL)
+ * elm_object_item_del(self.item) # <<<<<<<<<<<<<<
+ * self.item = NULL
+ *
+ */
+ elm_object_item_del(__pyx_v_self->item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":123
+ * elm_object_item_del_cb_set(self.item, NULL)
+ * elm_object_item_del(self.item)
+ * self.item = NULL # <<<<<<<<<<<<<<
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item) except 0:
+ */
+ __pyx_v_self->item = NULL;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ __Pyx_RefNannyFinishContext();
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":125
+ * self.item = NULL
+ *
+ * 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_10elementary_12c_elementary_10ObjectItem__set_obj(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":126
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item) except 0:
+ * assert self.item == NULL, "Object must be clean" # <<<<<<<<<<<<<<
+ * self.item = item
+ * elm_object_item_data_set(item, <void*>self)
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_self->item == NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_39));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":127
+ * cdef int _set_obj(self, Elm_Object_Item *item) except 0:
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item # <<<<<<<<<<<<<<
+ * elm_object_item_data_set(item, <void*>self)
+ * elm_object_item_del_cb_set(item, _object_item_del_cb)
+ */
+ __pyx_v_self->item = __pyx_v_item;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":128
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ * elm_object_item_data_set(item, <void*>self) # <<<<<<<<<<<<<<
+ * elm_object_item_del_cb_set(item, _object_item_del_cb)
+ * Py_INCREF(self)
+ */
+ elm_object_item_data_set(__pyx_v_item, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":129
+ * self.item = item
+ * elm_object_item_data_set(item, <void*>self)
+ * elm_object_item_del_cb_set(item, _object_item_del_cb) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ * return 1
+ */
+ elm_object_item_del_cb_set(__pyx_v_item, __pyx_f_10elementary_12c_elementary__object_item_del_cb);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":130
+ * elm_object_item_data_set(item, <void*>self)
+ * elm_object_item_del_cb_set(item, _object_item_del_cb)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ * return 1
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":131
+ * elm_object_item_del_cb_set(item, _object_item_del_cb)
+ * Py_INCREF(self)
+ * return 1 # <<<<<<<<<<<<<<
+ *
+ * def widget_get(self):
+ */
+ __pyx_r = 1;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_3widget_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_2widget_get[] = "widget_get()\n\n Get the widget object's handle which contains a given item\n\n @note: This returns the widget object itself that an item belongs to.\n @note: Every elm_object_item supports this API\n\n @return: The widget object\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_3widget_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("widget_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_2widget_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":133
+ * return 1
+ *
+ * def widget_get(self): # <<<<<<<<<<<<<<
+ * """widget_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_2widget_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("widget_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":145
+ *
+ * """
+ * return Object_from_instance(elm_object_item_widget_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def part_content_set(self, part, Object content not None):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_item_widget_get(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.widget_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_5part_content_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_4part_content_set[] = "part_content_set(part, content)\n\n Set a content of an object item\n\n This sets a new object to an item as a content object. If any object\n was already set as a content object in the same part, previous\n object will be deleted automatically.\n\n @note: Elementary object items may have many contents\n\n @param part: The content part name to set (None for the default\n content)\n @param content: The new content of the object item\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_5part_content_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyElementaryObject *__pyx_v_content = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__content,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_content_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__content);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_content_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_content_set") < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 147; __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_part = values[0];
+ __pyx_v_content = ((struct PyElementaryObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_content_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.part_content_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_10elementary_12c_elementary_Object, 0, "content", 0))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_4part_content_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_part, __pyx_v_content);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":147
+ * return Object_from_instance(elm_object_item_widget_get(self.item))
+ *
+ * def part_content_set(self, part, Object content not None): # <<<<<<<<<<<<<<
+ * """part_content_set(part, content)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_4part_content_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part, struct PyElementaryObject *__pyx_v_content) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("part_content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":163
+ *
+ * """
+ * elm_object_item_part_content_set(self.item, _cfruni(part) if part is not None else NULL, content.obj) # <<<<<<<<<<<<<<
+ *
+ * def content_set(self, Object content not None):
+ */
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_item_part_content_set(__pyx_v_self->item, __pyx_t_1, __pyx_v_content->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_7content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_7content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_10elementary_12c_elementary_Object, 0, "content", 0))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_6content_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((struct PyElementaryObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":165
+ * elm_object_item_part_content_set(self.item, _cfruni(part) if part is not None else NULL, content.obj)
+ *
+ * def content_set(self, Object content not None): # <<<<<<<<<<<<<<
+ * elm_object_item_content_set(self.item, content.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_6content_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, struct PyElementaryObject *__pyx_v_content) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":166
+ *
+ * def content_set(self, Object content not None):
+ * elm_object_item_content_set(self.item, content.obj) # <<<<<<<<<<<<<<
+ *
+ * def part_content_get(self, part):
+ */
+ elm_object_item_content_set(__pyx_v_self->item, __pyx_v_content->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_9part_content_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_8part_content_get[] = "part_content_get(part)\n\n Get a content of an object item\n\n @note: Elementary object items may have many contents\n\n @param part: The content part name to unset (None for the default\n content)\n @type part: string\n @return: content of the object item or None for any error\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_9part_content_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_8part_content_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":168
+ * elm_object_item_content_set(self.item, content.obj)
+ *
+ * def part_content_get(self, part): # <<<<<<<<<<<<<<
+ * """part_content_get(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_8part_content_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("part_content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":182
+ *
+ * """
+ * return Object_from_instance(elm_object_item_part_content_get(self.item, _cfruni(part) if part is not None else NULL)) # <<<<<<<<<<<<<<
+ *
+ * def content_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_t_3 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_item_part_content_get(__pyx_v_self->item, __pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.part_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_11content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_11content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_10content_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":184
+ * return Object_from_instance(elm_object_item_part_content_get(self.item, _cfruni(part) if part is not None else NULL))
+ *
+ * def content_get(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_object_item_content_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_10content_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":185
+ *
+ * def content_get(self):
+ * return Object_from_instance(elm_object_item_content_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def part_content_unset(self, part):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_item_content_get(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_13part_content_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_12part_content_unset[] = "part_content_unset(part)\n\n Unset a content of an object item\n\n @note: Elementary object items may have many contents\n\n @param part: The content part name to unset (None for the default\n content)\n @type part: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_13part_content_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_content_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_12part_content_unset(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":187
+ * return Object_from_instance(elm_object_item_content_get(self.item))
+ *
+ * def part_content_unset(self, part): # <<<<<<<<<<<<<<
+ * """part_content_unset(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_12part_content_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("part_content_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":199
+ *
+ * """
+ * return Object_from_instance(elm_object_item_part_content_unset(self.item, _cfruni(part) if part is not None else NULL)) # <<<<<<<<<<<<<<
+ *
+ * def content_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_t_3 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_item_part_content_unset(__pyx_v_self->item, __pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.part_content_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_15content_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_15content_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_14content_unset(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":201
+ * return Object_from_instance(elm_object_item_part_content_unset(self.item, _cfruni(part) if part is not None else NULL))
+ *
+ * def content_unset(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_object_item_content_unset(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_14content_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("content_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":202
+ *
+ * def content_unset(self):
+ * return Object_from_instance(elm_object_item_content_unset(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def part_text_set(self, part, text):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_item_content_unset(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.content_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_17part_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_16part_text_set[] = "part_text_set(part, text)\n\n Sets the text of a given part of this object.\n\n @see: L{text_set()} and L{part_text_get()}\n\n @param part: part name to set the text.\n @type part: string\n @param text: text to set.\n @type text: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_17part_text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ PyObject *__pyx_v_text = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__text,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_text_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_text_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_text_set") < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 204; __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_part = values[0];
+ __pyx_v_text = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_text_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.part_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_16part_text_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_part, __pyx_v_text);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":204
+ * return Object_from_instance(elm_object_item_content_unset(self.item))
+ *
+ * def part_text_set(self, part, text): # <<<<<<<<<<<<<<
+ * """part_text_set(part, text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_16part_text_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("part_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":217
+ *
+ * """
+ * elm_object_item_part_text_set(self.item, _cfruni(part) if part is not None else NULL, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def text_set(self, text):
+ */
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_item_part_text_set(__pyx_v_self->item, __pyx_t_1, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_19text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_18text_set[] = "text_set(text)\n\n Sets the main text for this object.\n\n @see: L{text_get()} and L{part_text_set()}\n\n @param text: any text to set as the main textual part of this object.\n @type text: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_19text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_18text_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":219
+ * elm_object_item_part_text_set(self.item, _cfruni(part) if part is not None else NULL, _cfruni(text))
+ *
+ * def text_set(self, text): # <<<<<<<<<<<<<<
+ * """text_set(text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_18text_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":230
+ *
+ * """
+ * elm_object_item_text_set(self.item, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def part_text_get(self, part):
+ */
+ elm_object_item_text_set(__pyx_v_self->item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_21part_text_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_20part_text_get[] = "part_text_get(part)\n\n Gets the text of a given part of this object.\n\n @see: L{text_get()} and L{part_text_set()}\n\n @param part: part name to get the text.\n @type part: string\n @return: the text of a part or None if nothing was set.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_21part_text_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_text_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_20part_text_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":232
+ * elm_object_item_text_set(self.item, _cfruni(text))
+ *
+ * def part_text_get(self, part): # <<<<<<<<<<<<<<
+ * """part_text_get(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_20part_text_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("part_text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":245
+ *
+ * """
+ * return _ctouni(elm_object_item_part_text_get(self.item, _cfruni(part) if part is not None else NULL)) # <<<<<<<<<<<<<<
+ *
+ * def text_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = (__pyx_v_part != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_t_3 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_item_part_text_get(__pyx_v_self->item, __pyx_t_1))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.part_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_23text_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_22text_get[] = "text_get()\n\n Gets the main text for this object.\n\n @see: L{text_set()} and L{part_text_get()}\n\n @return: the main text or None if nothing was set.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_23text_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_22text_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":247
+ * return _ctouni(elm_object_item_part_text_get(self.item, _cfruni(part) if part is not None else NULL))
+ *
+ * def text_get(self): # <<<<<<<<<<<<<<
+ * """text_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_22text_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":258
+ *
+ * """
+ * return _ctouni(elm_object_item_text_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property text:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_item_text_get(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_4text_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_4text_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_4text___get__(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":266
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.text_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_4text___get__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":267
+ * """
+ * def __get__(self):
+ * return self.text_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 267; __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;
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.text.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10ObjectItem_4text_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_10ObjectItem_4text_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_4text_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":269
+ * return self.text_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.text_set(value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10ObjectItem_4text_2__set__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":270
+ *
+ * def __set__(self, value):
+ * self.text_set(value) # <<<<<<<<<<<<<<
+ *
+ * def access_info_set(self, txt):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.ObjectItem.text.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_25access_info_set(PyObject *__pyx_v_self, PyObject *__pyx_v_txt); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_24access_info_set[] = "access_info_set(txt)\n\n Set the text to read out when in accessibility mode\n\n @param txt: The text that describes the widget to people with poor\n or no vision\n @type txt: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_25access_info_set(PyObject *__pyx_v_self, PyObject *__pyx_v_txt) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("access_info_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_24access_info_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_txt));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":272
+ * self.text_set(value)
+ *
+ * def access_info_set(self, txt): # <<<<<<<<<<<<<<
+ * """access_info_set(txt)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_24access_info_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_txt) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("access_info_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":282
+ *
+ * """
+ * elm_object_item_access_info_set(self.item, _cfruni(txt)) # <<<<<<<<<<<<<<
+ *
+ * def data_get(self):
+ */
+ elm_object_item_access_info_set(__pyx_v_self->item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_txt));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_27data_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_26data_get[] = "data_get()\n\n Returns the callback data given at creation time.\n\n @rtype: tuple of (args, kargs), args is tuple, kargs is dict.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_27data_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_10elementary_12c_elementary_10ObjectItem_26data_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":284
+ * elm_object_item_access_info_set(self.item, _cfruni(txt))
+ *
+ * def data_get(self): # <<<<<<<<<<<<<<
+ * """data_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_26data_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self) {
+ CYTHON_UNUSED PyObject *__pyx_v_callback = NULL;
+ PyObject *__pyx_v_a = NULL;
+ PyObject *__pyx_v_ka = NULL;
+ 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)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("data_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":292
+ *
+ * """
+ * (callback, a, ka) = self.params # <<<<<<<<<<<<<<
+ * return (a, ka)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_self->params))) || (PyList_CheckExact(__pyx_v_self->params))) {
+ PyObject* sequence = __pyx_v_self->params;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_self->params); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_callback = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_a = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_ka = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":293
+ * """
+ * (callback, a, ka) = self.params
+ * return (a, ka) # <<<<<<<<<<<<<<
+ *
+ * def data_set(self, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_a);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_a);
+ __Pyx_GIVEREF(__pyx_v_a);
+ __Pyx_INCREF(__pyx_v_ka);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_ka);
+ __Pyx_GIVEREF(__pyx_v_ka);
+ __pyx_r = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.ObjectItem.data_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_callback);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_29data_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_28data_set[] = "data_set(*args, **kwargs)\n\n Set the callback data.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_29data_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("data_set (wrapper)", 0);
+ if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "data_set", 1))) return NULL;
+ __pyx_v_kwargs = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
+ if (unlikely(!__pyx_v_kwargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_args);
+ __pyx_v_args = __pyx_args;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_28data_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":295
+ * return (a, ka)
+ *
+ * def data_set(self, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """data_set(*args, **kwargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_28data_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_callback = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_a = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_ka = NULL;
+ 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)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("data_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":301
+ *
+ * """
+ * (callback, a, ka) = self.params # <<<<<<<<<<<<<<
+ * self.params = tuple(callback, *args, **kwargs)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_self->params))) || (PyList_CheckExact(__pyx_v_self->params))) {
+ PyObject* sequence = __pyx_v_self->params;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_self->params); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_callback = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_a = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_ka = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":302
+ * """
+ * (callback, a, ka) = self.params
+ * self.params = tuple(callback, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * property data:
+ */
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_1 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_GIVEREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_v_self->params);
+ __Pyx_DECREF(__pyx_v_self->params);
+ __pyx_v_self->params = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.ObjectItem.data_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_callback);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_4data_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_4data_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_4data___get__(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":305
+ *
+ * property data:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.data_get()
+ * #def __set__(self, data):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_4data___get__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":306
+ * property data:
+ * def __get__(self):
+ * return self.data_get() # <<<<<<<<<<<<<<
+ * #def __set__(self, data):
+ * #self.data_set(data)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__data_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 306; __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;
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.data.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_31signal_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_30signal_emit[] = "signal_emit(emission, source)\n\n Send a signal to the edje object of the widget item.\n\n This function sends a signal to the edje object of the obj item. An\n edje program can respond to a signal by specifying matching\n 'signal' and 'source' fields.\n\n @param emission: The signal's name.\n @type emission: string\n @param source: The signal's source.\n @type source: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_31signal_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_emission = 0;
+ PyObject *__pyx_v_source = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__emission,&__pyx_n_s__source,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("signal_emit (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__emission);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__source);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("signal_emit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "signal_emit") < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 310; __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_emission = values[0];
+ __pyx_v_source = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("signal_emit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.signal_emit", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_30signal_emit(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_emission, __pyx_v_source);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":310
+ * #self.data_set(data)
+ *
+ * def signal_emit(self, emission, source): # <<<<<<<<<<<<<<
+ * """signal_emit(emission, source)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_30signal_emit(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_emission, PyObject *__pyx_v_source) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("signal_emit", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":325
+ *
+ * """
+ * elm_object_item_signal_emit(self.item, _cfruni(emission), _cfruni(source)) # <<<<<<<<<<<<<<
+ *
+ * def disabled_set(self, disabled):
+ */
+ elm_object_item_signal_emit(__pyx_v_self->item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_emission), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_source));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_33disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_32disabled_set[] = "disabled_set(disabled)\n\n Set the disabled state of an widget item.\n\n Elementary object item can be B{disabled}, in which state they won't\n receive input and, in general, will be themed differently from\n their normal state, usually greyed out. Useful for contexts\n where you don't want your users to interact with some of the\n parts of you interface.\n\n This sets the state for the widget item, either disabling it or\n enabling it back.\n\n @param disabled: The state to put in in: C{True} for\n disabled, C{False} for enabled\n @type disabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_33disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_32disabled_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":327
+ * elm_object_item_signal_emit(self.item, _cfruni(emission), _cfruni(source))
+ *
+ * def disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """disabled_set(disabled)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_32disabled_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":346
+ *
+ * """
+ * elm_object_item_disabled_set(self.item, disabled) # <<<<<<<<<<<<<<
+ *
+ * def disabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_object_item_disabled_set(__pyx_v_self->item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_35disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_34disabled_get[] = "disabled_get()\n\n Get the disabled state of an widget item.\n\n This gets the state of the widget, which might be enabled or disabled.\n\n @return: C{True}, if the widget item is disabled, C{False}\n if it's enabled (or on errors)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_35disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_34disabled_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":348
+ * elm_object_item_disabled_set(self.item, disabled)
+ *
+ * def disabled_get(self): # <<<<<<<<<<<<<<
+ * """disabled_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_34disabled_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":360
+ *
+ * """
+ * return bool(elm_object_item_disabled_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_item_disabled_get(__pyx_v_self->item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_8disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_8disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_8disabled___get__(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":374
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.disabled_get()
+ * def __set__(self, disabled):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_8disabled___get__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":375
+ * """
+ * def __get__(self):
+ * return self.disabled_get() # <<<<<<<<<<<<<<
+ * def __set__(self, disabled):
+ * self.disabled_set(disabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__disabled_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 375; __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;
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10ObjectItem_8disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_10ObjectItem_8disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_8disabled_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":376
+ * def __get__(self):
+ * return self.disabled_get()
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * self.disabled_set(disabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10ObjectItem_8disabled_2__set__(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":377
+ * return self.disabled_get()
+ * def __set__(self, disabled):
+ * self.disabled_set(disabled) # <<<<<<<<<<<<<<
+ *
+ * #def delete_cb_set(self, del_cb):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__disabled_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_disabled);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_disabled);
+ __Pyx_GIVEREF(__pyx_v_disabled);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.ObjectItem.disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_37delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_37delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_36delete(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":382
+ * #elm_object_item_del_cb_set(self.item, del_cb)
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * if self.item == NULL:
+ * raise ValueError("Object already deleted")
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_36delete(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":383
+ *
+ * def delete(self):
+ * if self.item == NULL: # <<<<<<<<<<<<<<
+ * raise ValueError("Object already deleted")
+ * elm_object_item_del(self.item)
+ */
+ __pyx_t_1 = (__pyx_v_self->item == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":384
+ * def delete(self):
+ * if self.item == NULL:
+ * raise ValueError("Object already deleted") # <<<<<<<<<<<<<<
+ * elm_object_item_del(self.item)
+ * Py_DECREF(self)
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_k_tuple_41), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":385
+ * if self.item == NULL:
+ * raise ValueError("Object already deleted")
+ * elm_object_item_del(self.item) # <<<<<<<<<<<<<<
+ * Py_DECREF(self)
+ *
+ */
+ elm_object_item_del(__pyx_v_self->item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":386
+ * raise ValueError("Object already deleted")
+ * elm_object_item_del(self.item)
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_text_set(self, char *text):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.delete", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_39tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_text); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_38tooltip_text_set[] = "tooltip_text_set(text)\n\n Set the text to be shown in the tooltip object\n\n Setup the text as tooltip object. The object can have only one\n tooltip, so any previous tooltip data is removed. Internally, this\n method calls L{tooltip_content_cb_set}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_39tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_text) {
+ char *__pyx_v_text;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_text_set (wrapper)", 0);
+ assert(__pyx_arg_text); {
+ __pyx_v_text = PyBytes_AsString(__pyx_arg_text); if (unlikely((!__pyx_v_text) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 388; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_38tooltip_text_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((char *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":388
+ * Py_DECREF(self)
+ *
+ * def tooltip_text_set(self, char *text): # <<<<<<<<<<<<<<
+ * """tooltip_text_set(text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_38tooltip_text_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, char *__pyx_v_text) {
+ 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("tooltip_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":398
+ *
+ * """
+ * elm_object_item_tooltip_text_set(self.item, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_set(self, disable):
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_text); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ elm_object_item_tooltip_text_set(__pyx_v_self->item, __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1)));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_41tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_41tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_40tooltip_window_mode_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_disable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":400
+ * elm_object_item_tooltip_text_set(self.item, _cfruni(text))
+ *
+ * def tooltip_window_mode_set(self, disable): # <<<<<<<<<<<<<<
+ * return bool(elm_object_item_tooltip_window_mode_set(self.item, disable))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_40tooltip_window_mode_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ 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("tooltip_window_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":401
+ *
+ * def tooltip_window_mode_set(self, disable):
+ * return bool(elm_object_item_tooltip_window_mode_set(self.item, disable)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_item_tooltip_window_mode_set(__pyx_v_self->item, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_window_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_43tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_43tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_42tooltip_window_mode_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":403
+ * return bool(elm_object_item_tooltip_window_mode_set(self.item, disable))
+ *
+ * def tooltip_window_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_object_item_tooltip_window_mode_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_42tooltip_window_mode_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("tooltip_window_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":404
+ *
+ * def tooltip_window_mode_get(self):
+ * return bool(elm_object_item_tooltip_window_mode_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_item_tooltip_window_mode_get(__pyx_v_self->item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_window_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_45tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_44tooltip_content_cb_set[] = "tooltip_content_cb_set(func, *args, **kargs)\n\n Set the content to be shown in the tooltip object\n\n Setup the tooltip to object. The object can have only one tooltip,\n so any previews tooltip data is removed. C{func(owner, tooltip,\n args, kargs)} will be called every time that need show the tooltip\n and it should return a valid Evas_Object. This object is then\n managed fully by tooltip system and is deleted when the tooltip is\n gone.\n\n @param func: Function to be create tooltip content, called when\n need show tooltip.\n @type func: function\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_45tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_kargs, values, used_pos_args, "tooltip_content_cb_set") < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 406; __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("tooltip_content_cb_set", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_44tooltip_content_cb_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":406
+ * return bool(elm_object_item_tooltip_window_mode_get(self.item))
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """tooltip_content_cb_set(func, *args, **kargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_44tooltip_content_cb_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ void *__pyx_v_cbdata;
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":423
+ *
+ * """
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":424
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_42), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[8]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":428
+ * cdef void *cbdata
+ *
+ * data = (func, args, kargs) # <<<<<<<<<<<<<<
+ * Py_INCREF(data)
+ * cbdata = <void *>data
+ */
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":429
+ *
+ * data = (func, args, kargs)
+ * Py_INCREF(data) # <<<<<<<<<<<<<<
+ * cbdata = <void *>data
+ * elm_object_item_tooltip_content_cb_set(self.item, _tooltip_item_content_create,
+ */
+ Py_INCREF(((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":430
+ * data = (func, args, kargs)
+ * Py_INCREF(data)
+ * cbdata = <void *>data # <<<<<<<<<<<<<<
+ * elm_object_item_tooltip_content_cb_set(self.item, _tooltip_item_content_create,
+ * cbdata, _tooltip_item_data_del_cb)
+ */
+ __pyx_v_cbdata = ((void *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":432
+ * cbdata = <void *>data
+ * elm_object_item_tooltip_content_cb_set(self.item, _tooltip_item_content_create,
+ * cbdata, _tooltip_item_data_del_cb) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_unset(self):
+ */
+ elm_object_item_tooltip_content_cb_set(__pyx_v_self->item, __pyx_f_10elementary_12c_elementary__tooltip_item_content_create, __pyx_v_cbdata, __pyx_f_10elementary_12c_elementary__tooltip_item_data_del_cb);
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_47tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_46tooltip_unset[] = "tooltip_unset()\n\n Unset tooltip from object\n\n Remove tooltip from object. If used the L{tooltip_text_set} the\n internal copy of label will be removed correctly. If used\n L{tooltip_content_cb_set}, the data will be unreferred but no freed.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_47tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_46tooltip_unset(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":434
+ * cbdata, _tooltip_item_data_del_cb)
+ *
+ * def tooltip_unset(self): # <<<<<<<<<<<<<<
+ * """tooltip_unset()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_46tooltip_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":444
+ *
+ * """
+ * elm_object_item_tooltip_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_set(self, style=None):
+ */
+ elm_object_item_tooltip_unset(__pyx_v_self->item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_49tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_48tooltip_style_set[] = "tooltip_style_set(style=None)\n\n Sets a different style for this object tooltip.\n\n @note: before you set a style you should define a tooltip with\n L{tooltip_content_cb_set()} or L{tooltip_text_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_49tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":446
+ * elm_object_item_tooltip_unset(self.item)
+ *
+ * def tooltip_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """tooltip_style_set(style=None)
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "tooltip_style_set") < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 446; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("tooltip_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_48tooltip_style_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_48tooltip_style_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("tooltip_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":455
+ *
+ * """
+ * elm_object_item_tooltip_style_set(self.item, _cfruni(style) if style is not None else NULL) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_get(self):
+ */
+ __pyx_t_2 = (__pyx_v_style != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_item_tooltip_style_set(__pyx_v_self->item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_51tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_50tooltip_style_get[] = "tooltip_style_get()\n\n Get the style for this object tooltip.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_51tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_50tooltip_style_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":457
+ * elm_object_item_tooltip_style_set(self.item, _cfruni(style) if style is not None else NULL)
+ *
+ * def tooltip_style_get(self): # <<<<<<<<<<<<<<
+ * """tooltip_style_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_50tooltip_style_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("tooltip_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":463
+ *
+ * """
+ * return _ctouni(elm_object_item_tooltip_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_set(self, char *cursor):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_item_tooltip_style_get(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 463; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.tooltip_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_53cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_cursor); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_52cursor_set[] = "cursor_set(cursor)\n\n Set the cursor to be shown when mouse is over the object\n\n Set the cursor that will be displayed when mouse is over the object.\n The object can have only one cursor set to it, so if this function\n is called twice for an object, the previous set will be unset.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_53cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_cursor) {
+ char *__pyx_v_cursor;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_set (wrapper)", 0);
+ assert(__pyx_arg_cursor); {
+ __pyx_v_cursor = PyBytes_AsString(__pyx_arg_cursor); if (unlikely((!__pyx_v_cursor) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.cursor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_52cursor_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((char *)__pyx_v_cursor));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":465
+ * return _ctouni(elm_object_item_tooltip_style_get(self.item))
+ *
+ * def cursor_set(self, char *cursor): # <<<<<<<<<<<<<<
+ * """cursor_set(cursor)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_52cursor_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, char *__pyx_v_cursor) {
+ 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("cursor_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":475
+ *
+ * """
+ * elm_object_item_cursor_set(self.item, _cfruni(cursor)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_get(self):
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_cursor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 475; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ elm_object_item_cursor_set(__pyx_v_self->item, __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1)));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.cursor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_55cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_55cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_54cursor_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":477
+ * elm_object_item_cursor_set(self.item, _cfruni(cursor))
+ *
+ * def cursor_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_object_item_cursor_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_54cursor_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("cursor_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":478
+ *
+ * def cursor_get(self):
+ * return _ctouni(elm_object_item_cursor_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_item_cursor_get(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.cursor_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_57cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_56cursor_unset[] = "cursor_unset()\n\n Unset cursor for object\n\n Unset cursor for object, and set the cursor to default if the mouse\n was over this object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_57cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_56cursor_unset(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":480
+ * return _ctouni(elm_object_item_cursor_get(self.item))
+ *
+ * def cursor_unset(self): # <<<<<<<<<<<<<<
+ * """cursor_unset()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_56cursor_unset(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":489
+ *
+ * """
+ * elm_object_item_cursor_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_set(self, style=None):
+ */
+ elm_object_item_cursor_unset(__pyx_v_self->item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_59cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_58cursor_style_set[] = "cusor_style_set(style=None)\n\n Sets a different style for this object cursor.\n\n @note: before you set a style you should define a cursor with\n L{cursor_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_59cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":491
+ * elm_object_item_cursor_unset(self.item)
+ *
+ * def cursor_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """cusor_style_set(style=None)
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "cursor_style_set") < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 491; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("cursor_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[8]; __pyx_lineno = 491; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_58cursor_style_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_58cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __pyx_t_1;
+ int __pyx_t_2;
+ __Pyx_RefNannySetupContext("cursor_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":500
+ *
+ * """
+ * elm_object_item_cursor_style_set(self.item, _cfruni(style) if style is not None else NULL) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_get(self):
+ */
+ __pyx_t_2 = (__pyx_v_style != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style);
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_object_item_cursor_style_set(__pyx_v_self->item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_61cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_60cursor_style_get[] = "cursor_style_get()\n\n Get the style for this object cursor.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_61cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_60cursor_style_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":502
+ * elm_object_item_cursor_style_set(self.item, _cfruni(style) if style is not None else NULL)
+ *
+ * def cursor_style_get(self): # <<<<<<<<<<<<<<
+ * """cursor_style_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_60cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("cursor_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":508
+ *
+ * """
+ * return _ctouni(elm_object_item_cursor_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_set(self, engine_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_object_item_cursor_style_get(__pyx_v_self->item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.cursor_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_63cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_62cursor_engine_only_set[] = "cursor_engine_only_set(engine_only)\n\n Sets cursor engine only usage for this object.\n\n @note: before you set engine only usage you should define a cursor with\n L{cursor_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_63cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_62cursor_engine_only_set(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), ((PyObject *)__pyx_v_engine_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":510
+ * return _ctouni(elm_object_item_cursor_style_get(self.item))
+ *
+ * def cursor_engine_only_set(self, engine_only): # <<<<<<<<<<<<<<
+ * """cursor_engine_only_set(engine_only)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_62cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cursor_engine_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":519
+ *
+ * """
+ * elm_object_item_cursor_engine_only_set(self.item, bool(engine_only)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_engine_only);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_engine_only);
+ __Pyx_GIVEREF(__pyx_v_engine_only);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_object_item_cursor_engine_only_set(__pyx_v_self->item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.ObjectItem.cursor_engine_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_65cursor_engine_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10ObjectItem_64cursor_engine_only_get[] = "cursor_engine_only_get()\n\n Get the engine only usage for this object.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10ObjectItem_65cursor_engine_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10ObjectItem_64cursor_engine_only_get(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":521
+ * elm_object_item_cursor_engine_only_set(self.item, bool(engine_only))
+ *
+ * def cursor_engine_only_get(self): # <<<<<<<<<<<<<<
+ * """cursor_engine_only_get()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10ObjectItem_64cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__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("cursor_engine_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":527
+ *
+ * """
+ * return elm_object_item_cursor_engine_only_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("object_item", ObjectItem)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_object_item_cursor_engine_only_get(__pyx_v_self->item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ObjectItem.cursor_engine_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":21
+ * from evas.c_evas cimport EVAS_EVENT_FLAG_NONE
+ *
+ * cdef Evas_Event_Flags _gesture_layer_event_cb(void *data, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * (callback, args, kwargs) = <object>data
+ * try:
+ */
+
+static Evas_Event_Flags __pyx_f_10elementary_12c_elementary__gesture_layer_event_cb(void *__pyx_v_data, CYTHON_UNUSED void *__pyx_v_event_info) {
+ PyObject *__pyx_v_callback = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kwargs = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ Evas_Event_Flags __pyx_r;
+ __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)(PyObject *);
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_t_9;
+ Evas_Event_Flags __pyx_t_10;
+ int __pyx_t_11;
+ PyObject *__pyx_t_12 = 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("_gesture_layer_event_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":22
+ *
+ * cdef Evas_Event_Flags _gesture_layer_event_cb(void *data, void *event_info) with gil:
+ * (callback, args, kwargs) = <object>data # <<<<<<<<<<<<<<
+ * try:
+ * ret = callback(args, kwargs)
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_callback = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_args = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_kwargs = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":23
+ * cdef Evas_Event_Flags _gesture_layer_event_cb(void *data, void *event_info) with gil:
+ * (callback, args, kwargs) = <object>data
+ * try: # <<<<<<<<<<<<<<
+ * ret = callback(args, kwargs)
+ * if ret is not None:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_8);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":24
+ * (callback, args, kwargs) = <object>data
+ * try:
+ * ret = callback(args, kwargs) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * return <Evas_Event_Flags>ret
+ */
+ __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_args);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_args);
+ __Pyx_GIVEREF(__pyx_v_args);
+ __Pyx_INCREF(__pyx_v_kwargs);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_kwargs);
+ __Pyx_GIVEREF(__pyx_v_kwargs);
+ __pyx_t_2 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":25
+ * try:
+ * ret = callback(args, kwargs)
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * return <Evas_Event_Flags>ret
+ * else:
+ */
+ __pyx_t_9 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_9) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":26
+ * ret = callback(args, kwargs)
+ * if ret is not None:
+ * return <Evas_Event_Flags>ret # <<<<<<<<<<<<<<
+ * else:
+ * return EVAS_EVENT_FLAG_NONE
+ */
+ __pyx_t_10 = ((Evas_Event_Flags)PyInt_AsLong(__pyx_v_ret)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __pyx_r = ((Evas_Event_Flags)__pyx_t_10);
+ goto __pyx_L9_try_return;
+ goto __pyx_L13;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":28
+ * return <Evas_Event_Flags>ret
+ * else:
+ * return EVAS_EVENT_FLAG_NONE # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_r = EVAS_EVENT_FLAG_NONE;
+ goto __pyx_L9_try_return;
+ }
+ __pyx_L13:;
+ }
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L9_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ goto __pyx_L0;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":29
+ * else:
+ * return EVAS_EVENT_FLAG_NONE
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_11) {
+ __Pyx_AddTraceback("elementary.c_elementary._gesture_layer_event_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_1) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_v_e = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":30
+ * return EVAS_EVENT_FLAG_NONE
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef public class GestureLayer(Object) [object PyElementaryGestureLayer, type PyElementaryGestureLayer_Type]:
+ */
+ __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_12 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_12)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_12);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(__pyx_t_12, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 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;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ __pyx_L12_try_end:;
+ }
+
+ 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_12);
+ __Pyx_WriteUnraisable("elementary.c_elementary._gesture_layer_event_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_callback);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_12GestureLayer___init__[] = "__init__(parent)\n\n Call this function to construct a new gesture-layer object.\n\n This does not activate the gesture layer. You have to call\n L{attach()} in order to 'activate' gesture-layer.\n\n @param parent: The gesture layer's parent widget.\n @type parent: L{evas.c_evas.Object}\n\n @return: A new gesture layer object.\n @rtype: L{GestureLayer}\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_12GestureLayer___init__;
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 88; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[9]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer___init__(((struct PyElementaryGestureLayer *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":88
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """__init__(parent)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer___init__(struct PyElementaryGestureLayer *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":103
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_gesture_layer_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 103; __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[9]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":104
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_gesture_layer_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cb_set(self, Elm_Gesture_Type idx, callback, Elm_Gesture_State cb_type, *args, **kwargs):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GestureLayer *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_gesture_layer_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.GestureLayer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_3cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_12GestureLayer_2cb_set[] = "cb_set(idx, callback, cb_type, *args, **kwargs)\n\n Use this function to set callbacks to be notified about change of\n state of gesture. When a user registers a callback with this function\n this means this gesture has to be tested.\n\n When ALL callbacks for a gesture are set to None it means user isn't\n interested in gesture-state and it will not be tested.\n\n @note: You should return either EVAS_EVENT_FLAG_NONE or\n EVAS_EVENT_FLAG_ON_HOLD from this callback.\n\n @param idx: The gesture you would like to track its state.\n @type idx: Elm_Gesture_Type\n @param callback: Callback function.\n @type callback: function\n @param cb_type: what event this callback tracks: START, MOVE, END, ABORT.\n @type cb_type: Elm_Gesture_State\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_3cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Elm_Gesture_Type __pyx_v_idx;
+ PyObject *__pyx_v_callback = 0;
+ Elm_Gesture_State __pyx_v_cb_type;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__idx,&__pyx_n_s__callback,&__pyx_n_s__cb_type,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cb_set (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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__idx);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("cb_set", 0, 3, 3, 1); {__pyx_filename = __pyx_f[9]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cb_type);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("cb_set", 0, 3, 3, 2); {__pyx_filename = __pyx_f[9]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "cb_set") < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 106; __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_idx = ((Elm_Gesture_Type)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_callback = values[1];
+ __pyx_v_cb_type = ((Elm_Gesture_State)PyInt_AsLong(values[2])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("cb_set", 0, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[9]; __pyx_lineno = 106; __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("elementary.c_elementary.GestureLayer.cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_2cb_set(((struct PyElementaryGestureLayer *)__pyx_v_self), __pyx_v_idx, __pyx_v_callback, __pyx_v_cb_type, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":106
+ * self._set_obj(elm_gesture_layer_add(parent.obj))
+ *
+ * def cb_set(self, Elm_Gesture_Type idx, callback, Elm_Gesture_State cb_type, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """cb_set(idx, callback, cb_type, *args, **kwargs)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_2cb_set(struct PyElementaryGestureLayer *__pyx_v_self, Elm_Gesture_Type __pyx_v_idx, PyObject *__pyx_v_callback, Elm_Gesture_State __pyx_v_cb_type, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ Elm_Gesture_Event_Cb __pyx_v_cb;
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":127
+ *
+ * """
+ * cdef Elm_Gesture_Event_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":129
+ * cdef Elm_Gesture_Event_Cb cb = NULL
+ *
+ * if callback: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_callback); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":130
+ *
+ * if callback:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _gesture_layer_event_cb
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":131
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _gesture_layer_event_cb
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_44), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 131; __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[9]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":132
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _gesture_layer_event_cb # <<<<<<<<<<<<<<
+ *
+ * data = (callback, args, kwargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__gesture_layer_event_cb;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":134
+ * cb = _gesture_layer_event_cb
+ *
+ * data = (callback, args, kwargs) # <<<<<<<<<<<<<<
+ *
+ * elm_gesture_layer_cb_set( self.obj,
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_data = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":140
+ * cb_type,
+ * cb,
+ * <void *>data) # <<<<<<<<<<<<<<
+ *
+ * property hold_events:
+ */
+ elm_gesture_layer_cb_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_idx, __pyx_v_cb_type, __pyx_v_cb, ((void *)__pyx_v_data));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_11hold_events_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_11hold_events_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_11hold_events___get__(((struct PyElementaryGestureLayer *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":150
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_gesture_layer_hold_events_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_11hold_events___get__(struct PyElementaryGestureLayer *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":151
+ * """
+ * def __get__(self):
+ * return bool(elm_gesture_layer_hold_events_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, hold_events):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gesture_layer_hold_events_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GestureLayer.hold_events.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_11hold_events_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_hold_events); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_11hold_events_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_hold_events) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_11hold_events_2__set__(((struct PyElementaryGestureLayer *)__pyx_v_self), ((PyObject *)__pyx_v_hold_events));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":153
+ * return bool(elm_gesture_layer_hold_events_get(self.obj))
+ *
+ * def __set__(self, hold_events): # <<<<<<<<<<<<<<
+ * elm_gesture_layer_hold_events_set(self.obj, hold_events)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer_11hold_events_2__set__(struct PyElementaryGestureLayer *__pyx_v_self, PyObject *__pyx_v_hold_events) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":154
+ *
+ * def __set__(self, hold_events):
+ * elm_gesture_layer_hold_events_set(self.obj, hold_events) # <<<<<<<<<<<<<<
+ *
+ * property zoom_step:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_hold_events); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gesture_layer_hold_events_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.hold_events.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_9zoom_step_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_step); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_9zoom_step_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_step) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_9zoom_step___set__(((struct PyElementaryGestureLayer *)__pyx_v_self), ((PyObject *)__pyx_v_step));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":163
+ *
+ * """
+ * def __set__(self, step): # <<<<<<<<<<<<<<
+ * elm_gesture_layer_zoom_step_set(self.obj, step)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer_9zoom_step___set__(struct PyElementaryGestureLayer *__pyx_v_self, PyObject *__pyx_v_step) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":164
+ * """
+ * def __set__(self, step):
+ * elm_gesture_layer_zoom_step_set(self.obj, step) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_step); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gesture_layer_zoom_step_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.zoom_step.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_9zoom_step_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_9zoom_step_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_9zoom_step_2__get__(((struct PyElementaryGestureLayer *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":166
+ * elm_gesture_layer_zoom_step_set(self.obj, step)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_gesture_layer_zoom_step_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_9zoom_step_2__get__(struct PyElementaryGestureLayer *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":167
+ *
+ * def __get__(self):
+ * return elm_gesture_layer_zoom_step_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property rotate_step:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_gesture_layer_zoom_step_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.zoom_step.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_11rotate_step_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_step); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_12GestureLayer_11rotate_step_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_step) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_11rotate_step___set__(((struct PyElementaryGestureLayer *)__pyx_v_self), ((PyObject *)__pyx_v_step));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":176
+ *
+ * """
+ * def __set__(self, step): # <<<<<<<<<<<<<<
+ * elm_gesture_layer_rotate_step_set(self.obj, step)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_12GestureLayer_11rotate_step___set__(struct PyElementaryGestureLayer *__pyx_v_self, PyObject *__pyx_v_step) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":177
+ * """
+ * def __set__(self, step):
+ * elm_gesture_layer_rotate_step_set(self.obj, step) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_step); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gesture_layer_rotate_step_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.rotate_step.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_11rotate_step_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_11rotate_step_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_11rotate_step_2__get__(((struct PyElementaryGestureLayer *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":179
+ * elm_gesture_layer_rotate_step_set(self.obj, step)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_gesture_layer_rotate_step_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_11rotate_step_2__get__(struct PyElementaryGestureLayer *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":180
+ *
+ * def __get__(self):
+ * return elm_gesture_layer_rotate_step_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def attach(self, evasObject target):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_gesture_layer_rotate_step_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GestureLayer.rotate_step.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_5attach(PyObject *__pyx_v_self, PyObject *__pyx_v_target); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_12GestureLayer_4attach[] = "attach(target)\n\n Attach a given gesture layer widget to an Evas object, thus setting\n the widget's B{target}.\n\n A gesture layer target may be whichever Evas object one chooses.\n This will be object C{obj} will listen all mouse and key events\n from, to report the gestures made upon it back.\n\n @param target: The target object to attach to this object.\n @type target: L{evas.c_evas.Object}\n\n @return: C{True}, on success, C{False} otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_12GestureLayer_5attach(PyObject *__pyx_v_self, PyObject *__pyx_v_target) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("attach (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_target), __pyx_ptype_4evas_6c_evas_Object, 1, "target", 0))) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12GestureLayer_4attach(((struct PyElementaryGestureLayer *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_target));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":182
+ * return elm_gesture_layer_rotate_step_get(self.obj)
+ *
+ * def attach(self, evasObject target): # <<<<<<<<<<<<<<
+ * """attach(target)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12GestureLayer_4attach(struct PyElementaryGestureLayer *__pyx_v_self, struct PyEvasObject *__pyx_v_target) {
+ 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("attach", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":199
+ *
+ * """
+ * return bool(elm_gesture_layer_attach(self.obj, target.obj)) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("gesture_layer", GestureLayer)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gesture_layer_attach(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_target->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GestureLayer.attach", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_1file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_file_set[] = "Set the file that will be used as layout\n\n @param file: The path to file (edj) that will be used as layout\n @type file: string\n @param group: The group that the layout belongs in edje file\n @type group: string\n\n @return: (True = success, False = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_1file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_filename = 0;
+ PyObject *__pyx_v_group = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__filename,&__pyx_n_s__group,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__filename);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("file_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "file_set") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 46; __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_filename = values[0];
+ __pyx_v_group = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("file_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_file_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_filename, __pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":46
+ * """
+ *
+ * def file_set(self, filename, group): # <<<<<<<<<<<<<<
+ * """Set the file that will be used as layout
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_file_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group) {
+ 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("file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":58
+ *
+ * """
+ * return bool(elm_layout_file_set(self.obj, _cfruni(filename), _cfruni(group))) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_4file___set__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":67
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * filename, group = value
+ * # TODO: check return value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_4file___set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_filename = NULL;
+ PyObject *__pyx_v_group = 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 *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":68
+ * """
+ * def __set__(self, value):
+ * filename, group = value # <<<<<<<<<<<<<<
+ * # TODO: check return value
+ * elm_layout_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[10]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[10]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 68; __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[10]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[10]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_filename = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_group = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":70
+ * filename, group = value
+ * # TODO: check return value
+ * elm_layout_file_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * def theme_set(self, clas, group, style):
+ */
+ elm_layout_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+
+ __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("elementary.c_elementary.LayoutClass.file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_filename);
+ __Pyx_XDECREF(__pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_3theme_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_2theme_set[] = "Set the edje group from the elementary theme that will be used as layout\n\n Note that C{style} will be the new style too, as in an\n L{Object.style_set()} call.\n\n @param clas: the class of the group\n @type clas: string\n @param group: the group\n @type group: string\n @param style: the style to used\n @type style: string\n\n @return: (True = success, False = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_3theme_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_clas = 0;
+ PyObject *__pyx_v_group = 0;
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__clas,&__pyx_n_s__group,&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("theme_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__clas);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("theme_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__style);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("theme_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "theme_set") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 72; __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_clas = values[0];
+ __pyx_v_group = values[1];
+ __pyx_v_style = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("theme_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.theme_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_2theme_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_clas, __pyx_v_group, __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":72
+ * elm_layout_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ * def theme_set(self, clas, group, style): # <<<<<<<<<<<<<<
+ * """Set the edje group from the elementary theme that will be used as layout
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_2theme_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_clas, PyObject *__pyx_v_group, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("theme_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":89
+ *
+ * """
+ * return bool(elm_layout_theme_set(self.obj, _cfruni(clas), _cfruni(group), _cfruni(style))) # <<<<<<<<<<<<<<
+ *
+ * property theme:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_theme_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_clas), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.theme_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_5theme_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_theme); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_5theme_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_theme) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_5theme___set__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_theme));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":101
+ *
+ * """
+ * def __set__(self, theme): # <<<<<<<<<<<<<<
+ * clas, group, style = theme
+ * # TODO: check return value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_5theme___set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_theme) {
+ PyObject *__pyx_v_clas = NULL;
+ PyObject *__pyx_v_group = NULL;
+ PyObject *__pyx_v_style = 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 = NULL;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":102
+ * """
+ * def __set__(self, theme):
+ * clas, group, style = theme # <<<<<<<<<<<<<<
+ * # TODO: check return value
+ * elm_layout_theme_set(self.obj, _cfruni(clas), _cfruni(group), _cfruni(style))
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_theme))) || (PyList_CheckExact(__pyx_v_theme))) {
+ PyObject* sequence = __pyx_v_theme;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_theme); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_clas = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_group = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_style = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":104
+ * clas, group, style = theme
+ * # TODO: check return value
+ * elm_layout_theme_set(self.obj, _cfruni(clas), _cfruni(group), _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def signal_emit(self, emission, source):
+ */
+ elm_layout_theme_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_clas), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __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_4);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.theme.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_clas);
+ __Pyx_XDECREF(__pyx_v_group);
+ __Pyx_XDECREF(__pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_5signal_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_4signal_emit[] = "signal_emit(emission, source)\n\n Send a (Edje) signal to a given layout widget's underlying Edje object.\n\n This function sends a signal to the underlying Edje object. An Edje\n program on that Edje object's definition can respond to a signal by\n specifying matching 'signal' and 'source' fields.\n\n @param emission: The signal's name string\n @type emission: string\n @param source: The signal's source string\n @type source: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_5signal_emit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_emission = 0;
+ PyObject *__pyx_v_source = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__emission,&__pyx_n_s__source,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("signal_emit (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__emission);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__source);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("signal_emit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "signal_emit") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 106; __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_emission = values[0];
+ __pyx_v_source = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("signal_emit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.signal_emit", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_4signal_emit(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_emission, __pyx_v_source);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":106
+ * elm_layout_theme_set(self.obj, _cfruni(clas), _cfruni(group), _cfruni(style))
+ *
+ * def signal_emit(self, emission, source): # <<<<<<<<<<<<<<
+ * """signal_emit(emission, source)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_4signal_emit(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_emission, PyObject *__pyx_v_source) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("signal_emit", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":121
+ *
+ * """
+ * elm_layout_signal_emit(self.obj, _cfruni(emission), _cfruni(source)) # <<<<<<<<<<<<<<
+ *
+ * #def signal_callback_add(self, emission, source, func, data):
+ */
+ elm_layout_signal_emit(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_emission), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_source));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_7box_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_6box_append[] = "box_append(part, child)\n\n Append child to layout box part.\n\n Once the object is appended, it will become child of the layout. Its\n lifetime will be bound to the layout, whenever the layout dies the child\n will be deleted automatically. One should use L{box_remove()} to\n make this layout forget about the object.\n\n @see: L{box_prepend()}\n @see: L{box_insert_before()}\n @see: L{box_insert_at()}\n @see: L{box_remove()}\n\n @param part: the box part to which the object will be appended.\n @type part: string\n @param child: the child object to append to box.\n @type child: L{Object}\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_7box_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("box_append (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_append", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "box_append") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 163; __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_part = values[0];
+ __pyx_v_child = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("box_append", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_4evas_6c_evas_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_6box_append(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":163
+ * #elm_layout_signal_callback_del(self.obj, _cfruni(emission), _cfruni(source), Edje_Signal_Cb func)
+ *
+ * def box_append(self, part, evasObject child): # <<<<<<<<<<<<<<
+ * """box_append(part, child)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_6box_append(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child) {
+ 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("box_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":187
+ *
+ * """
+ * return bool(elm_layout_box_append(self.obj, _cfruni(part), child.obj)) # <<<<<<<<<<<<<<
+ *
+ * def box_prepend(self, part, evasObject child):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_box_append(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.box_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_9box_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_8box_prepend[] = "box_prepend(part, child)\n\n Prepend child to layout box part.\n\n Once the object is prepended, it will become child of the layout. Its\n lifetime will be bound to the layout, whenever the layout dies the\n child will be deleted automatically. One should use L{box_remove()}\n to make this layout forget about the object.\n\n @see: L{box_append()}\n @see: L{box_insert_before()}\n @see: L{box_insert_at()}\n @see: L{box_remove()}\n\n @param part: the box part to prepend.\n @type part: string\n @param child: the child object to prepend to box.\n @type child: L{Object}\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_9box_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("box_prepend (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_prepend", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __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, "box_prepend") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 189; __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_part = values[0];
+ __pyx_v_child = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("box_prepend", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_4evas_6c_evas_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_8box_prepend(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":189
+ * return bool(elm_layout_box_append(self.obj, _cfruni(part), child.obj))
+ *
+ * def box_prepend(self, part, evasObject child): # <<<<<<<<<<<<<<
+ * """box_prepend(part, child)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_8box_prepend(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child) {
+ 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("box_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":213
+ *
+ * """
+ * return bool(elm_layout_box_prepend(self.obj, _cfruni(part), child.obj)) # <<<<<<<<<<<<<<
+ *
+ * def box_insert_before(self, part, evasObject child, evasObject reference):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_box_prepend(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.box_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_11box_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_10box_insert_before[] = "box_insert_before(part, child, reference)\n\n Insert child to layout box part before a reference object.\n\n Once the object is inserted, it will become child of the layout. Its\n lifetime will be bound to the layout, whenever the layout dies the\n child will be deleted automatically. One should use L{box_remove()}\n to make this layout forget about the object.\n\n @see: L{box_append()}\n @see: L{box_prepend()}\n @see: L{box_insert_at()}\n @see: L{box_remove()}\n\n @param part: the box part to insert.\n @type part: string\n @param child: the child object to insert into box.\n @type child: L{Object}\n @param reference: another reference object to insert before in box.\n @type reference: L{Object}\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_11box_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child = 0;
+ struct PyEvasObject *__pyx_v_reference = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child,&__pyx_n_s__reference,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("box_insert_before (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_insert_before", 1, 3, 3, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__reference);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_insert_before", 1, 3, 3, 2); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "box_insert_before") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 215; __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_part = values[0];
+ __pyx_v_child = ((struct PyEvasObject *)values[1]);
+ __pyx_v_reference = ((struct PyEvasObject *)values[2]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("box_insert_before", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_4evas_6c_evas_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_reference), __pyx_ptype_4evas_6c_evas_Object, 1, "reference", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_10box_insert_before(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child, __pyx_v_reference);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":215
+ * return bool(elm_layout_box_prepend(self.obj, _cfruni(part), child.obj))
+ *
+ * def box_insert_before(self, part, evasObject child, evasObject reference): # <<<<<<<<<<<<<<
+ * """box_insert_before(part, child, reference)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_10box_insert_before(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child, struct PyEvasObject *__pyx_v_reference) {
+ 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("box_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":241
+ *
+ * """
+ * return bool(elm_layout_box_insert_before(self.obj, _cfruni(part), child.obj, reference.obj)) # <<<<<<<<<<<<<<
+ *
+ * def box_insert_at(self, part, evasObject child, pos):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_box_insert_before(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child->obj, __pyx_v_reference->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.box_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_13box_insert_at(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_12box_insert_at[] = "box_insert_at(part, child, pos)\n\n Insert child to layout box part at a given position.\n\n Once the object is inserted, it will become child of the layout. Its\n lifetime will be bound to the layout, whenever the layout dies the child\n will be deleted automatically. One should use L{box_remove()} to\n make this layout forget about the object.\n\n @see: L{box_append()}\n @see: L{box_prepend()}\n @see: L{box_insert_before()}\n @see: L{box_remove()}\n\n @param part: the box part to insert.\n @type part: string\n @param child: the child object to insert into box.\n @type child: L{Object}\n @param pos: the numeric position >=0 to insert the child.\n @type pos: int\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_13box_insert_at(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child = 0;
+ PyObject *__pyx_v_pos = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child,&__pyx_n_s__pos,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("box_insert_at (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_insert_at", 1, 3, 3, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__pos);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_insert_at", 1, 3, 3, 2); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "box_insert_at") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 243; __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_part = values[0];
+ __pyx_v_child = ((struct PyEvasObject *)values[1]);
+ __pyx_v_pos = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("box_insert_at", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_insert_at", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_4evas_6c_evas_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_12box_insert_at(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child, __pyx_v_pos);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":243
+ * return bool(elm_layout_box_insert_before(self.obj, _cfruni(part), child.obj, reference.obj))
+ *
+ * def box_insert_at(self, part, evasObject child, pos): # <<<<<<<<<<<<<<
+ * """box_insert_at(part, child, pos)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_12box_insert_at(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ unsigned int __pyx_t_1;
+ 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("box_insert_at", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":269
+ *
+ * """
+ * return bool(elm_layout_box_insert_at(self.obj, _cfruni(part), child.obj, pos)) # <<<<<<<<<<<<<<
+ *
+ * def box_remove(self, part, evasObject child):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_pos); if (unlikely((__pyx_t_1 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_box_insert_at(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child->obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_insert_at", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_15box_remove(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_14box_remove[] = "box_remove(part, child):\n\n Remove a child of the given part box.\n\n The object will be removed from the box part and its lifetime will\n not be handled by the layout anymore. This is equivalent to\n L{Object.part_content_unset()} for box.\n\n @see: L{box_append()}\n @see: L{box_remove_all()}\n\n @param part: The box part name to remove child.\n @type part: string\n @param child: The object to remove from box.\n @type child: L{Object}\n\n @return: The object that was being used, or None if not found.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_15box_remove(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("box_remove (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_remove", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "box_remove") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 271; __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_part = values[0];
+ __pyx_v_child = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("box_remove", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child), __pyx_ptype_4evas_6c_evas_Object, 1, "child", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_14box_remove(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":271
+ * return bool(elm_layout_box_insert_at(self.obj, _cfruni(part), child.obj, pos))
+ *
+ * def box_remove(self, part, evasObject child): # <<<<<<<<<<<<<<
+ * """box_remove(part, child):
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_14box_remove(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child) {
+ 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("box_remove", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":292
+ *
+ * """
+ * return Object_from_instance(elm_layout_box_remove(self.obj, _cfruni(part), child.obj)) # <<<<<<<<<<<<<<
+ *
+ * def box_remove_all(self, part, clear):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_box_remove(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child->obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_17box_remove_all(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_16box_remove_all[] = "box_remove_all(part, clear)\n\n Remove all children of the given part box.\n\n The objects will be removed from the box part and their lifetime will\n not be handled by the layout anymore. This is equivalent to\n L{box_remove()} for all box children.\n\n @see: L{box_append()}\n @see: L{box_remove()}\n\n @param part: The box part name to remove child.\n @type part: string\n @param clear: If True, then all objects will be deleted as\n well, otherwise they will just be removed and will be\n dangling on the canvas.\n @type clear: bool\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_17box_remove_all(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ PyObject *__pyx_v_clear = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__clear,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("box_remove_all (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__clear);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("box_remove_all", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "box_remove_all") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 294; __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_part = values[0];
+ __pyx_v_clear = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("box_remove_all", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_remove_all", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_16box_remove_all(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_clear);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":294
+ * return Object_from_instance(elm_layout_box_remove(self.obj, _cfruni(part), child.obj))
+ *
+ * def box_remove_all(self, part, clear): # <<<<<<<<<<<<<<
+ * """box_remove_all(part, clear)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_16box_remove_all(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_clear) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ 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("box_remove_all", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":317
+ *
+ * """
+ * return bool(elm_layout_box_remove_all(self.obj, _cfruni(part), clear)) # <<<<<<<<<<<<<<
+ *
+ * def table_pack(self, part, evasObject child_obj, col, row, colspan, rowspan):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_clear); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_box_remove_all(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.box_remove_all", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_19table_pack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_18table_pack[] = "table_pack(part, child_obj, col, row, colspan, rowspan)\n\n Insert child to layout table part.\n\n Once the object is inserted, it will become child of the table. Its\n lifetime will be bound to the layout, and whenever the layout dies the\n child will be deleted automatically. One should use\n L{table_remove()} to make this layout forget about the object.\n\n If C{colspan} or C{rowspan} are bigger than 1, that object will occupy\n more space than a single cell.\n\n @see: L{table_unpack()}\n @see: L{table_clear()}\n\n @param part: the box part to pack child.\n @type part: string\n @param child_obj: the child object to pack into table.\n @type child_obj: L{Object}\n @param col: the column to which the child should be added. (>= 0)\n @type col: int\n @param row: the row to which the child should be added. (>= 0)\n @type row: int\n @param colspan: how many columns should be used to store this object.\n (>= 1)\n @type colspan: int\n @param rowspan: how many rows should be used to store this object. (>= 1)\n @type rowspan: int\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_19table_pack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child_obj = 0;
+ PyObject *__pyx_v_col = 0;
+ PyObject *__pyx_v_row = 0;
+ PyObject *__pyx_v_colspan = 0;
+ PyObject *__pyx_v_rowspan = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child_obj,&__pyx_n_s__col,&__pyx_n_s__row,&__pyx_n_s__colspan,&__pyx_n_s__rowspan,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("table_pack (wrapper)", 0);
+ {
+ PyObject* values[6] = {0,0,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 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child_obj);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_pack", 1, 6, 6, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__col);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_pack", 1, 6, 6, 2); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__row);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_pack", 1, 6, 6, 3); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__colspan);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_pack", 1, 6, 6, 4); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 5:
+ values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__rowspan);
+ if (likely(values[5])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_pack", 1, 6, 6, 5); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "table_pack") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 6) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ }
+ __pyx_v_part = values[0];
+ __pyx_v_child_obj = ((struct PyEvasObject *)values[1]);
+ __pyx_v_col = values[2];
+ __pyx_v_row = values[3];
+ __pyx_v_colspan = values[4];
+ __pyx_v_rowspan = values[5];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("table_pack", 1, 6, 6, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.table_pack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "child_obj", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_18table_pack(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child_obj, __pyx_v_col, __pyx_v_row, __pyx_v_colspan, __pyx_v_rowspan);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":319
+ * return bool(elm_layout_box_remove_all(self.obj, _cfruni(part), clear))
+ *
+ * def table_pack(self, part, evasObject child_obj, col, row, colspan, rowspan): # <<<<<<<<<<<<<<
+ * """table_pack(part, child_obj, col, row, colspan, rowspan)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_18table_pack(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child_obj, PyObject *__pyx_v_col, PyObject *__pyx_v_row, PyObject *__pyx_v_colspan, PyObject *__pyx_v_rowspan) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ unsigned short __pyx_t_1;
+ unsigned short __pyx_t_2;
+ unsigned short __pyx_t_3;
+ unsigned short __pyx_t_4;
+ 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("table_pack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":353
+ *
+ * """
+ * return bool(elm_layout_table_pack(self.obj, _cfruni(part), child_obj.obj, col, row, colspan, rowspan)) # <<<<<<<<<<<<<<
+ *
+ * def table_unpack(self, part, evasObject child_obj):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedShort(__pyx_v_col); if (unlikely((__pyx_t_1 == (unsigned short)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsUnsignedShort(__pyx_v_row); if (unlikely((__pyx_t_2 == (unsigned short)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsUnsignedShort(__pyx_v_colspan); if (unlikely((__pyx_t_3 == (unsigned short)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsUnsignedShort(__pyx_v_rowspan); if (unlikely((__pyx_t_4 == (unsigned short)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_5 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_table_pack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child_obj->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __pyx_r = __pyx_t_5;
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.table_pack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_21table_unpack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_20table_unpack[] = "table_unpack(part, child_obj)\n\n Unpack (remove) a child of the given part table.\n\n The object will be unpacked from the table part and its lifetime\n will not be handled by the layout anymore. This is equivalent to\n L{Object.part_content_unset()} for table.\n\n @see: L{table_pack()}\n @see: L{table_clear()}\n\n @param part: The table part name to remove child.\n @type part: string\n @param child_obj: The object to remove from table.\n @type child_obj: L{Object}\n\n @return: The object that was being used, or None if not found.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_21table_unpack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ struct PyEvasObject *__pyx_v_child_obj = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__child_obj,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("table_unpack (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__child_obj);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_unpack", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "table_unpack") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 355; __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_part = values[0];
+ __pyx_v_child_obj = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("table_unpack", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.table_unpack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_child_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "child_obj", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 355; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_20table_unpack(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_child_obj);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":355
+ * return bool(elm_layout_table_pack(self.obj, _cfruni(part), child_obj.obj, col, row, colspan, rowspan))
+ *
+ * def table_unpack(self, part, evasObject child_obj): # <<<<<<<<<<<<<<
+ * """table_unpack(part, child_obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_20table_unpack(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, struct PyEvasObject *__pyx_v_child_obj) {
+ 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("table_unpack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":376
+ *
+ * """
+ * return Object_from_instance(elm_layout_table_unpack(self.obj, _cfruni(part), child_obj.obj)) # <<<<<<<<<<<<<<
+ *
+ * def table_clear(self, part, clear):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_table_unpack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_v_child_obj->obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.table_unpack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_23table_clear(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_22table_clear[] = "table_clear(part, clear)\n\n Remove all the child objects of the given part table.\n\n The objects will be removed from the table part and their lifetime will\n not be handled by the layout anymore. This is equivalent to\n L{table_unpack()} for all table children.\n\n @see: L{table_pack()}\n @see: L{table_unpack()}\n\n @param part: The table part name to remove child.\n @type part: string\n @param clear: If True, then all objects will be deleted as\n well, otherwise they will just be removed and will be\n dangling on the canvas.\n @type clear: bool\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_23table_clear(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ PyObject *__pyx_v_clear = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__clear,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("table_clear (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__clear);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("table_clear", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "table_clear") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 378; __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_part = values[0];
+ __pyx_v_clear = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("table_clear", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.table_clear", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_22table_clear(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part, __pyx_v_clear);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":378
+ * return Object_from_instance(elm_layout_table_unpack(self.obj, _cfruni(part), child_obj.obj))
+ *
+ * def table_clear(self, part, clear): # <<<<<<<<<<<<<<
+ * """table_clear(part, clear)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_22table_clear(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_clear) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ 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("table_clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":401
+ *
+ * """
+ * return bool(elm_layout_table_clear(self.obj, _cfruni(part), clear)) # <<<<<<<<<<<<<<
+ *
+ * def edje_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_clear); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_table_clear(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.table_clear", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_25edje_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_24edje_get[] = "Get the edje layout\n\n This returns the edje object. It is not expected to be used to then\n swallow objects via edje_object_part_swallow() for example. Use\n L{part_content_set()} instead so child object handling and sizing is\n done properly.\n\n @note: This function should only be used if you really need to call some\n low level Edje function on this edje object. All the common stuff (setting\n text, emitting signals, hooking callbacks to signals, etc.) can be done\n with proper elementary functions.\n\n @see: L{signal_callback_add()}\n @see: L{signal_emit()}\n @see: L{part_text_set()}\n @see: L{part_content_set()}\n @see: L{box_append()}\n @see: L{table_pack()}\n @see: L{data_get()}\n\n @return: A Evas_Object with the edje layout settings loaded\n with function L{file_set}\n @rtype: Evas_Object\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_25edje_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("edje_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_24edje_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":403
+ * return bool(elm_layout_table_clear(self.obj, _cfruni(part), clear))
+ *
+ * def edje_get(self): # <<<<<<<<<<<<<<
+ * """Get the edje layout
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_24edje_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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("edje_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":429
+ *
+ * """
+ * return Object_from_instance(elm_layout_edje_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property edje:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_edje_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.edje_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_4edje_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_4edje_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_4edje___get__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":455
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_layout_edje_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_4edje___get__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":456
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_layout_edje_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def data_get(self, key):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_edje_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.edje.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_27data_get(PyObject *__pyx_v_self, PyObject *__pyx_v_key); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_26data_get[] = "data_get(key)\n\n Get the edje data from the given layout\n\n This function fetches data specified inside the edje theme of this\n layout. This function returns None if data is not found.\n\n In EDC this comes from a data block within the group block that it\n was loaded from. E.g::\n\n collections {\n group {\n name: \"a_group\";\n data {\n item: \"key1\" \"value1\";\n item: \"key2\" \"value2\";\n }\n }\n }\n\n @param key: The data key\n @type key: string\n\n @return: The edje data string\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_27data_get(PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("data_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_26data_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_key));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":458
+ * return Object_from_instance(elm_layout_edje_get(self.obj))
+ *
+ * def data_get(self, key): # <<<<<<<<<<<<<<
+ * """data_get(key)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_26data_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_key) {
+ 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("data_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":486
+ *
+ * """
+ * return _ctouni(elm_layout_data_get(self.obj, _cfruni(key))) # <<<<<<<<<<<<<<
+ *
+ * def sizing_eval(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_layout_data_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_key)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.data_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_29sizing_eval(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_28sizing_eval[] = "sizing_eval()\n\n Eval sizing\n\n Manually forces a sizing re-evaluation. This is useful when the\n minimum size required by the edje theme of this layout has changed.\n The change on the minimum size required by the edje theme is not\n immediately reported to the elementary layout, so one needs to call\n this function in order to tell the widget (layout) that it needs to\n reevaluate its own size.\n\n The minimum size of the theme is calculated based on minimum size of\n parts, the size of elements inside containers like box and table,\n etc. All of this can change due to state changes, and that's when\n this function should be called.\n\n Also note that a standard signal of \"size,eval\" \"elm\" emitted from\n the edje object will cause this to happen too.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_29sizing_eval(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("sizing_eval (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_28sizing_eval(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":488
+ * return _ctouni(elm_layout_data_get(self.obj, _cfruni(key)))
+ *
+ * def sizing_eval(self): # <<<<<<<<<<<<<<
+ * """sizing_eval()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_28sizing_eval(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("sizing_eval", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":509
+ *
+ * """
+ * elm_layout_sizing_eval(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_set(self, part_name, cursor):
+ */
+ elm_layout_sizing_eval(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_31part_cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_30part_cursor_set[] = "part_cursor_set(part_name, cursor)\n\n Sets a specific cursor for an edje part.\n\n @param part_name: a part from loaded edje group.\n @type part_name: string\n @param cursor: cursor name to use, see Elementary_Cursor.h\n @type cursor: string\n\n @return: True on success or False on failure, that may be\n part not exists or it has \"mouse_events: 0\".\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_31part_cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part_name = 0;
+ PyObject *__pyx_v_cursor = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part_name,&__pyx_n_s__cursor,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part_name);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cursor);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_cursor_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_cursor_set") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 511; __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_part_name = values[0];
+ __pyx_v_cursor = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_cursor_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_30part_cursor_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part_name, __pyx_v_cursor);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":511
+ * elm_layout_sizing_eval(self.obj)
+ *
+ * def part_cursor_set(self, part_name, cursor): # <<<<<<<<<<<<<<
+ * """part_cursor_set(part_name, cursor)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_30part_cursor_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name, PyObject *__pyx_v_cursor) {
+ 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("part_cursor_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":526
+ *
+ * """
+ * return bool(elm_layout_part_cursor_set(self.obj, _cfruni(part_name), _cfruni(cursor))) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_get(self, part_name):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_part_cursor_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_cursor))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_33part_cursor_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_32part_cursor_get[] = "part_cursor_get(part_name)\n\n Get the cursor to be shown when mouse is over an edje part\n\n @param part_name: a part from loaded edje group.\n @type part_name: string\n @return: the cursor name.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_33part_cursor_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_32part_cursor_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_part_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":528
+ * return bool(elm_layout_part_cursor_set(self.obj, _cfruni(part_name), _cfruni(cursor)))
+ *
+ * def part_cursor_get(self, part_name): # <<<<<<<<<<<<<<
+ * """part_cursor_get(part_name)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_32part_cursor_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ 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("part_cursor_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":539
+ *
+ * """
+ * return _ctouni(elm_layout_part_cursor_get(self.obj, _cfruni(part_name))) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_unset(self, part_name):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_layout_part_cursor_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_35part_cursor_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_34part_cursor_unset[] = "part_cursor_unset(part_name)\n\n Unsets a cursor previously set with L{part_cursor_set()}.\n\n @param part_name: a part from loaded edje group, that had a cursor set\n with L{part_cursor_set()}.\n @type part_name: string\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_35part_cursor_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_34part_cursor_unset(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_part_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":541
+ * return _ctouni(elm_layout_part_cursor_get(self.obj, _cfruni(part_name)))
+ *
+ * def part_cursor_unset(self, part_name): # <<<<<<<<<<<<<<
+ * """part_cursor_unset(part_name)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_34part_cursor_unset(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ 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("part_cursor_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":553
+ *
+ * """
+ * return bool(elm_layout_part_cursor_unset(self.obj, _cfruni(part_name))) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_style_set(self, part_name, style):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_part_cursor_unset(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_37part_cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_36part_cursor_style_set[] = "part_cursor_style_set(part_name, style)\n\n Sets a specific cursor style for an edje part.\n\n @param part_name: a part from loaded edje group.\n @type part_name: string\n @param style: the theme style to use (default, transparent, ...)\n @type style: string\n\n @return: True on success or False on failure, that may be\n part not exists or it did not had a cursor set.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_37part_cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part_name = 0;
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part_name,&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_style_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part_name);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__style);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_cursor_style_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_cursor_style_set") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 555; __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_part_name = values[0];
+ __pyx_v_style = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_cursor_style_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_36part_cursor_style_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part_name, __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":555
+ * return bool(elm_layout_part_cursor_unset(self.obj, _cfruni(part_name)))
+ *
+ * def part_cursor_style_set(self, part_name, style): # <<<<<<<<<<<<<<
+ * """part_cursor_style_set(part_name, style)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_36part_cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name, PyObject *__pyx_v_style) {
+ 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("part_cursor_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":570
+ *
+ * """
+ * return bool(elm_layout_part_cursor_style_set(self.obj, _cfruni(part_name), _cfruni(style))) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_style_get(self, part_name):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_part_cursor_style_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_39part_cursor_style_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_38part_cursor_style_get[] = "part_cursor_style_get(part_name)\n\n Gets a specific cursor style for an edje part.\n\n @param part_name: a part from loaded edje group.\n @type part_name: string\n\n @return: the theme style in use, defaults to \"default\". If the\n object does not have a cursor set, then None is returned.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_39part_cursor_style_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_38part_cursor_style_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_part_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":572
+ * return bool(elm_layout_part_cursor_style_set(self.obj, _cfruni(part_name), _cfruni(style)))
+ *
+ * def part_cursor_style_get(self, part_name): # <<<<<<<<<<<<<<
+ * """part_cursor_style_get(part_name)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_38part_cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ 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("part_cursor_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":585
+ *
+ * """
+ * return _ctouni(elm_layout_part_cursor_style_get(self.obj, _cfruni(part_name))) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_engine_only_set(self, part_name, engine_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_layout_part_cursor_style_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_41part_cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_40part_cursor_engine_only_set[] = "part_cursor_engine_only_set(part_name, engine_only)\n\n Sets if the cursor set should be searched on the theme or should use\n the provided by the engine, only.\n\n @note: before you set if should look on theme you should define a\n cursor with L{part_cursor_set()}. By default it will only\n look for cursors provided by the engine.\n\n @param part_name: a part from loaded edje group.\n @type part_name: string\n @param engine_only: if cursors should be just provided by the engine (True)\n or should also search on widget's theme as well (False)\n @type engine_only: bool\n\n @return: True on success or False on failure, that may be\n part not exists or it did not had a cursor set.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_41part_cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part_name = 0;
+ PyObject *__pyx_v_engine_only = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part_name,&__pyx_n_s__engine_only,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_engine_only_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part_name);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__engine_only);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("part_cursor_engine_only_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "part_cursor_engine_only_set") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 587; __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_part_name = values[0];
+ __pyx_v_engine_only = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("part_cursor_engine_only_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_engine_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_40part_cursor_engine_only_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_part_name, __pyx_v_engine_only);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":587
+ * return _ctouni(elm_layout_part_cursor_style_get(self.obj, _cfruni(part_name)))
+ *
+ * def part_cursor_engine_only_set(self, part_name, engine_only): # <<<<<<<<<<<<<<
+ * """part_cursor_engine_only_set(part_name, engine_only)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_40part_cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ 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("part_cursor_engine_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":608
+ *
+ * """
+ * return bool(elm_layout_part_cursor_engine_only_set(self.obj, _cfruni(part_name), engine_only)) # <<<<<<<<<<<<<<
+ *
+ * def part_cursor_engine_only_get(self, part_name):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_engine_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_part_cursor_engine_only_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name), __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_engine_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_43part_cursor_engine_only_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_42part_cursor_engine_only_get[] = "part_cursor_engine_only_get(part_name)\n\n Gets a specific cursor engine_only for an edje part.\n\n @param part_name: a part from loaded edje group.\n @type part_name: string\n\n @return: whenever the cursor is just provided by engine or also from theme.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_43part_cursor_engine_only_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("part_cursor_engine_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_42part_cursor_engine_only_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_part_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":610
+ * return bool(elm_layout_part_cursor_engine_only_set(self.obj, _cfruni(part_name), engine_only))
+ *
+ * def part_cursor_engine_only_get(self, part_name): # <<<<<<<<<<<<<<
+ * """part_cursor_engine_only_get(part_name)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_42part_cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, PyObject *__pyx_v_part_name) {
+ 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("part_cursor_engine_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":622
+ *
+ * """
+ * return bool(elm_layout_part_cursor_engine_only_get(self.obj, _cfruni(part_name))) # <<<<<<<<<<<<<<
+ *
+ * def icon_set(self, evasObject icon):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_layout_part_cursor_engine_only_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part_name))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.part_cursor_engine_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_45icon_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_44icon_set[] = "Convenience macro to set the icon object in a layout that follows the\n Elementary naming convention for its parts.\n\n @param icon: The icon object\n @type icon: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_45icon_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_44icon_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_icon));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":624
+ * return bool(elm_layout_part_cursor_engine_only_get(self.obj, _cfruni(part_name)))
+ *
+ * def icon_set(self, evasObject icon): # <<<<<<<<<<<<<<
+ * """Convenience macro to set the icon object in a layout that follows the
+ * Elementary naming convention for its parts.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_44icon_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_icon) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Object *__pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("icon_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":632
+ *
+ * """
+ * elm_layout_icon_set(self.obj, icon.obj if icon else NULL) # <<<<<<<<<<<<<<
+ *
+ * def icon_get(self):
+ */
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_icon)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_v_icon->obj;
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_layout_icon_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.icon_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_47icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_46icon_get[] = "Convenience macro to get the icon object from a layout that follows the\n Elementary naming convention for its parts.\n\n @return: The icon object\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_47icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_46icon_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":634
+ * elm_layout_icon_set(self.obj, icon.obj if icon else NULL)
+ *
+ * def icon_get(self): # <<<<<<<<<<<<<<
+ * """Convenience macro to get the icon object from a layout that follows the
+ * Elementary naming convention for its parts.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_46icon_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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("icon_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":642
+ *
+ * """
+ * return Object_from_instance(elm_layout_icon_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property icon:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_icon_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 642; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.icon_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_4icon_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_4icon_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_4icon___get__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":651
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_layout_icon_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_4icon___get__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":652
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_layout_icon_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, evasObject icon):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_icon_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.icon.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_4icon_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_4icon_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_4icon_2__set__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_icon));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":654
+ * return Object_from_instance(elm_layout_icon_get(self.obj))
+ *
+ * def __set__(self, evasObject icon): # <<<<<<<<<<<<<<
+ * elm_layout_icon_set(self.obj, icon.obj if icon else NULL)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_4icon_2__set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_icon) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Evas_Object *__pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":655
+ *
+ * def __set__(self, evasObject icon):
+ * elm_layout_icon_set(self.obj, icon.obj if icon else NULL) # <<<<<<<<<<<<<<
+ *
+ * def end_set(self, evasObject end):
+ */
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_icon)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_v_icon->obj;
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_layout_icon_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.icon.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_49end_set(PyObject *__pyx_v_self, PyObject *__pyx_v_end); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_48end_set[] = "Convenience macro to set the end object in a layout that follows the\n Elementary naming convention for its parts.\n\n @param end: The end object\n @type end: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_49end_set(PyObject *__pyx_v_self, PyObject *__pyx_v_end) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("end_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_48end_set(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_end));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":657
+ * elm_layout_icon_set(self.obj, icon.obj if icon else NULL)
+ *
+ * def end_set(self, evasObject end): # <<<<<<<<<<<<<<
+ * """Convenience macro to set the end object in a layout that follows the
+ * Elementary naming convention for its parts.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_48end_set(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_end) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Object *__pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("end_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":665
+ *
+ * """
+ * elm_layout_end_set(self.obj, end.obj if end else NULL) # <<<<<<<<<<<<<<
+ *
+ * def end_get(self):
+ */
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_end)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 665; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_v_end->obj;
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_layout_end_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.end_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_51end_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_50end_get[] = "Convenience macro to get the end object in a layout that follows the\n Elementary naming convention for its parts.\n\n @return: The end object\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_51end_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("end_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_50end_get(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":667
+ * elm_layout_end_set(self.obj, end.obj if end else NULL)
+ *
+ * def end_get(self): # <<<<<<<<<<<<<<
+ * """Convenience macro to get the end object in a layout that follows the
+ * Elementary naming convention for its parts.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_50end_get(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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("end_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":675
+ *
+ * """
+ * return Object_from_instance(elm_layout_end_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property end:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_end_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 675; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.end_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_3end_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_3end_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_3end___get__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":684
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_layout_end_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_3end___get__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":685
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_layout_end_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, evasObject end):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_end_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.end.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_3end_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_end); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11LayoutClass_3end_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_end) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_3end_2__set__(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_end));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":687
+ * return Object_from_instance(elm_layout_end_get(self.obj))
+ *
+ * def __set__(self, evasObject end): # <<<<<<<<<<<<<<
+ * elm_layout_end_set(self.obj, end.obj if end else NULL)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11LayoutClass_3end_2__set__(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__pyx_v_self, struct PyEvasObject *__pyx_v_end) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Evas_Object *__pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":688
+ *
+ * def __set__(self, evasObject end):
+ * elm_layout_end_set(self.obj, end.obj if end else NULL) # <<<<<<<<<<<<<<
+ *
+ * def callback_theme_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_end)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_v_end->obj;
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ elm_layout_end_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.LayoutClass.end.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_53callback_theme_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11LayoutClass_52callback_theme_changed_add[] = "The theme was changed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_53callback_theme_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_theme_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_theme_changed_add") < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 690; __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_theme_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[10]; __pyx_lineno = 690; __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("elementary.c_elementary.LayoutClass.callback_theme_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_52callback_theme_changed_add(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":690
+ * elm_layout_end_set(self.obj, end.obj if end else NULL)
+ *
+ * def callback_theme_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The theme was changed."""
+ * self._callback_add("theme,changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_52callback_theme_changed_add(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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_theme_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":692
+ * def callback_theme_changed_add(self, func, *args, **kwargs):
+ * """The theme was changed."""
+ * self._callback_add("theme,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_theme_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 692; __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[10]; __pyx_lineno = 692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_45));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_45));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_45));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.LayoutClass.callback_theme_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_55callback_theme_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11LayoutClass_55callback_theme_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_theme_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11LayoutClass_54callback_theme_changed_del(((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":694
+ * self._callback_add("theme,changed", func, *args, **kwargs)
+ *
+ * def callback_theme_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("theme,changed", func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11LayoutClass_54callback_theme_changed_del(struct __pyx_obj_10elementary_12c_elementary_LayoutClass *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_theme_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout_class.pxi":695
+ *
+ * def callback_theme_changed_del(self, func):
+ * self._callback_del("theme,changed", func) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 695; __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[10]; __pyx_lineno = 695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_45));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_45));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_45));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.LayoutClass.callback_theme_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Layout_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Layout_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 141; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[11]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Layout.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Layout___init__(((struct PyElementaryLayout *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":141
+ *
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_layout_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Layout___init__(struct PyElementaryLayout *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":142
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_layout_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 142; __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[11]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":143
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_layout_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def content_set(self, swallow, evasObject content):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Layout *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_layout_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Layout.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_3content_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Layout_2content_set[] = "content_set(swallow, content)\n\n Set the layout content.\n\n Once the content object is set, a previously set one will be deleted.\n If you want to keep that old content object, use the\n L{Object.part_content_unset()} function.\n\n @note: In an Edje theme, the part used as a content container is\n called C{SWALLOW}. This is why the parameter name is called\n C{swallow}, but it is expected to be a part name just like the\n second parameter of L{box_append()}.\n\n @see: L{box_append()}\n @see: L{Object.part_content_get()}\n @see: L{Object.part_content_unset()}\n\n @param swallow: The swallow part name in the edje file\n @type swallow: string\n @param content: The child that will be added in this layout object\n @type content: L{Object}\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_3content_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_swallow = 0;
+ struct PyEvasObject *__pyx_v_content = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__swallow,&__pyx_n_s__content,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__swallow);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__content);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("content_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[11]; __pyx_lineno = 145; __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_set") < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 145; __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_swallow = values[0];
+ __pyx_v_content = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("content_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[11]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Layout.content_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Layout_2content_set(((struct PyElementaryLayout *)__pyx_v_self), __pyx_v_swallow, __pyx_v_content);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":145
+ * self._set_obj(elm_layout_add(parent.obj))
+ *
+ * def content_set(self, swallow, evasObject content): # <<<<<<<<<<<<<<
+ * """content_set(swallow, content)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_2content_set(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_swallow, struct PyEvasObject *__pyx_v_content) {
+ Evas_Object *__pyx_v_o;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":173
+ * """
+ * cdef Evas_Object *o
+ * if content is not None: # <<<<<<<<<<<<<<
+ * o = content.obj
+ * else:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_content) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":174
+ * cdef Evas_Object *o
+ * if content is not None:
+ * o = content.obj # <<<<<<<<<<<<<<
+ * else:
+ * o = NULL
+ */
+ __pyx_v_o = __pyx_v_content->obj;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":176
+ * o = content.obj
+ * else:
+ * o = NULL # <<<<<<<<<<<<<<
+ * elm_layout_content_set(self.obj, _cfruni(swallow), o)
+ *
+ */
+ __pyx_v_o = NULL;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":177
+ * else:
+ * o = NULL
+ * elm_layout_content_set(self.obj, _cfruni(swallow), o) # <<<<<<<<<<<<<<
+ *
+ * def content_get(self, swallow):
+ */
+ elm_layout_content_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_swallow), __pyx_v_o);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_5content_get(PyObject *__pyx_v_self, PyObject *__pyx_v_swallow); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Layout_4content_get[] = "content_get(swallow)\n\n Get the child object in the given content part.\n\n @param swallow: The SWALLOW part to get its content\n @type swallow: string\n\n @return: The swallowed object or None if none or an error occurred\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_5content_get(PyObject *__pyx_v_self, PyObject *__pyx_v_swallow) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Layout_4content_get(((struct PyElementaryLayout *)__pyx_v_self), ((PyObject *)__pyx_v_swallow));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":179
+ * elm_layout_content_set(self.obj, _cfruni(swallow), o)
+ *
+ * def content_get(self, swallow): # <<<<<<<<<<<<<<
+ * """content_get(swallow)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_4content_get(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_swallow) {
+ 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("content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":190
+ *
+ * """
+ * return Object_from_instance(elm_layout_content_get(self.obj, _cfruni(swallow))) # <<<<<<<<<<<<<<
+ *
+ * def content_unset(self, swallow):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_content_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_swallow)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Layout.content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_7content_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_swallow); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Layout_6content_unset[] = "content_unset(swallow)\n\n Unset the layout content.\n\n Unparent and return the content object which was set for this part.\n\n @param swallow: The swallow part name in the edje file\n @type swallow: string\n @return: The content that was being used\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_7content_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_swallow) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Layout_6content_unset(((struct PyElementaryLayout *)__pyx_v_self), ((PyObject *)__pyx_v_swallow));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":192
+ * return Object_from_instance(elm_layout_content_get(self.obj, _cfruni(swallow)))
+ *
+ * def content_unset(self, swallow): # <<<<<<<<<<<<<<
+ * """content_unset(swallow)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_6content_unset(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_swallow) {
+ 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("content_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":205
+ *
+ * """
+ * return Object_from_instance(elm_layout_content_unset(self.obj, _cfruni(swallow))) # <<<<<<<<<<<<<<
+ *
+ * def text_set(self, part, text):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_layout_content_unset(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_swallow)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Layout.content_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_9text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Layout_8text_set[] = "text_set(part, text)\n\n Set the text of the given part\n\n @param part: The TEXT part where to set the text\n @type part: string\n @param text: The text to set\n @type text: string\n @return: C{True} on success, C{False} otherwise\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_9text_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_part = 0;
+ PyObject *__pyx_v_text = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__part,&__pyx_n_s__text,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__text);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("text_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __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_set") < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __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_part = values[0];
+ __pyx_v_text = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("text_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Layout.text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Layout_8text_set(((struct PyElementaryLayout *)__pyx_v_self), __pyx_v_part, __pyx_v_text);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":207
+ * return Object_from_instance(elm_layout_content_unset(self.obj, _cfruni(swallow)))
+ *
+ * def text_set(self, part, text): # <<<<<<<<<<<<<<
+ * """text_set(part, text)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_8text_set(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_part, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":219
+ *
+ * """
+ * elm_layout_text_set(self.obj, _cfruni(part), _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def text_get(self, part):
+ */
+ elm_layout_text_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_11text_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Layout_10text_get[] = "text_get(part)\n\n Get the text set in the given part\n\n @param part: The TEXT part to retrieve the text off\n @type part: string\n\n @return: The text set in C{part}\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Layout_11text_get(PyObject *__pyx_v_self, PyObject *__pyx_v_part) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Layout_10text_get(((struct PyElementaryLayout *)__pyx_v_self), ((PyObject *)__pyx_v_part));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":221
+ * elm_layout_text_set(self.obj, _cfruni(part), _cfruni(text))
+ *
+ * def text_get(self, part): # <<<<<<<<<<<<<<
+ * """text_get(part)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Layout_10text_get(struct PyElementaryLayout *__pyx_v_self, PyObject *__pyx_v_part) {
+ 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("text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":233
+ *
+ * """
+ * return _ctouni(elm_layout_text_get(self.obj, _cfruni(part))) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("layout", Layout)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_layout_text_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_part)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Layout.text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 46; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[12]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image___init__(((struct PyElementaryImage *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":46
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_image_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image___init__(struct PyElementaryImage *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":47
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_image_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 47; __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[12]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":48
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_image_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * #def memfile_set(self, img, size, format, key):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Image *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_image_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Image.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_2file_set[] = "Set the file that will be used as the image's source.\n\n @see: L{file_get()}\n\n @note: This function will trigger the Edje file case based on the\n extension of the C{file} string (expects C{\".edj\"}, for this\n case). If one wants to force this type of file independently of\n the extension, L{file_edje_set()} must be used, instead.\n\n @param file: The path to file that will be used as image source\n @type file: string\n @param group: The group that the image belongs to, in case it's an\n EET (including Edje case) file\n @type group: string\n @return: (C{True} = success, C{False} = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_filename = 0;
+ PyObject *__pyx_v_group = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__filename,&__pyx_n_s__group,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_set (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":53
+ * #return bool(elm_image_memfile_set(self.obj, img, size, _cfruni(format), _cfruni(key)))
+ *
+ * def file_set(self, filename, group = None): # <<<<<<<<<<<<<<
+ * """Set the file that will be used as the image's source.
+ *
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__filename);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "file_set") < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_filename = values[0];
+ __pyx_v_group = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("file_set", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[12]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_2file_set(((struct PyElementaryImage *)__pyx_v_self), __pyx_v_filename, __pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_2file_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group) {
+ 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("file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":72
+ *
+ * """
+ * if group == None: # <<<<<<<<<<<<<<
+ * elm_image_file_set(self.obj, _cfruni(filename), NULL)
+ * else:
+ */
+ __pyx_t_1 = PyObject_RichCompare(__pyx_v_group, Py_None, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 72; __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[12]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":73
+ * """
+ * if group == None:
+ * elm_image_file_set(self.obj, _cfruni(filename), NULL) # <<<<<<<<<<<<<<
+ * else:
+ * elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ elm_image_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), NULL);
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":75
+ * elm_image_file_set(self.obj, _cfruni(filename), NULL)
+ * else:
+ * elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * def file_get(self):
+ */
+ elm_image_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_5file_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_4file_get[] = "Get the file that will be used as image.\n\n @see: L{file_set()}\n\n @return: File path and group\n @rtype: tuple of strings\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_5file_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_4file_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":77
+ * elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ * def file_get(self): # <<<<<<<<<<<<<<
+ * """Get the file that will be used as image.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_4file_get(struct PyElementaryImage *__pyx_v_self) {
+ const char * __pyx_v_filename;
+ const char * __pyx_v_group;
+ 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("file_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":87
+ * """
+ * cdef const_char_ptr filename, group
+ * elm_image_file_get(self.obj, &filename, &group) # <<<<<<<<<<<<<<
+ * return (_ctouni(filename), _ctouni(group))
+ *
+ */
+ elm_image_file_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_filename), (&__pyx_v_group));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":88
+ * cdef const_char_ptr filename, group
+ * elm_image_file_get(self.obj, &filename, &group)
+ * return (_ctouni(filename), _ctouni(group)) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_filename)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_group)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 88; __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[12]; __pyx_lineno = 88; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.file_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_4file___set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":101
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * if isinstance(value, tuple):
+ * filename, group = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_4file___set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_filename = NULL;
+ PyObject *__pyx_v_group = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":102
+ * """
+ * def __set__(self, value):
+ * if isinstance(value, tuple): # <<<<<<<<<<<<<<
+ * filename, group = value
+ * else:
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyTuple_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":103
+ * def __set__(self, value):
+ * if isinstance(value, tuple):
+ * filename, group = value # <<<<<<<<<<<<<<
+ * else:
+ * filename = value
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[12]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[12]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L5_unpacking_done;
+ __pyx_L4_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[12]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L5_unpacking_done:;
+ }
+ __pyx_v_filename = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_group = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":105
+ * filename, group = value
+ * else:
+ * filename = value # <<<<<<<<<<<<<<
+ * group = None
+ * # TODO: check return value
+ */
+ __Pyx_INCREF(__pyx_v_value);
+ __pyx_v_filename = __pyx_v_value;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":106
+ * else:
+ * filename = value
+ * group = None # <<<<<<<<<<<<<<
+ * # TODO: check return value
+ * elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_group = Py_None;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":108
+ * group = None
+ * # TODO: check return value
+ * elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ elm_image_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_filename);
+ __Pyx_XDECREF(__pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_4file_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_4file_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_4file_2__get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":110
+ * elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr filename, group
+ * elm_image_file_get(self.obj, &filename, &group)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_4file_2__get__(struct PyElementaryImage *__pyx_v_self) {
+ const char * __pyx_v_filename;
+ const char * __pyx_v_group;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":112
+ * def __get__(self):
+ * cdef const_char_ptr filename, group
+ * elm_image_file_get(self.obj, &filename, &group) # <<<<<<<<<<<<<<
+ * return (_ctouni(filename), _ctouni(group))
+ *
+ */
+ elm_image_file_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_filename), (&__pyx_v_group));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":113
+ * cdef const_char_ptr filename, group
+ * elm_image_file_get(self.obj, &filename, &group)
+ * return (_ctouni(filename), _ctouni(group)) # <<<<<<<<<<<<<<
+ *
+ * def smooth_set(self, smooth):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_filename)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_group)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 113; __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[12]; __pyx_lineno = 113; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.file.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_7smooth_set(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_6smooth_set[] = "Set the smooth effect for an image.\n\n Set the scaling algorithm to be used when scaling the image. Smooth\n scaling provides a better resulting image, but is slower.\n\n The smooth scaling should be disabled when making animations that change\n the image size, since it will be faster. Animations that don't require\n resizing of the image can keep the smooth scaling enabled (even if the\n image is already scaled, since the scaled image will be cached).\n\n @see: L{smooth_get()}\n\n @param smooth: C{True} if smooth scaling should be used, C{False}\n otherwise. Default is C{True}.\n @type smooth: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_7smooth_set(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("smooth_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_6smooth_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_smooth));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":115
+ * return (_ctouni(filename), _ctouni(group))
+ *
+ * def smooth_set(self, smooth): # <<<<<<<<<<<<<<
+ * """Set the smooth effect for an image.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6smooth_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("smooth_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":133
+ *
+ * """
+ * elm_image_smooth_set(self.obj, smooth) # <<<<<<<<<<<<<<
+ *
+ * def smooth_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_smooth); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_smooth_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.smooth_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_9smooth_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_8smooth_get[] = "Get the smooth effect for an image.\n\n @see: L{smooth_get()}\n\n @return: C{True} if smooth scaling is enabled, C{False} otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_9smooth_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("smooth_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8smooth_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":135
+ * elm_image_smooth_set(self.obj, smooth)
+ *
+ * def smooth_get(self): # <<<<<<<<<<<<<<
+ * """Get the smooth effect for an image.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8smooth_get(struct PyElementaryImage *__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("smooth_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":144
+ *
+ * """
+ * return bool(elm_image_smooth_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property smooth:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_smooth_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.smooth_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_6smooth_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_6smooth_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_6smooth___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":160
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_smooth_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6smooth___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":161
+ * """
+ * def __get__(self):
+ * return bool(elm_image_smooth_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, smooth):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_smooth_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.smooth.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_6smooth_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_6smooth_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_6smooth_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_smooth));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":163
+ * return bool(elm_image_smooth_get(self.obj))
+ *
+ * def __set__(self, smooth): # <<<<<<<<<<<<<<
+ * elm_image_smooth_set(self.obj, smooth)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_6smooth_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":164
+ *
+ * def __set__(self, smooth):
+ * elm_image_smooth_set(self.obj, smooth) # <<<<<<<<<<<<<<
+ *
+ * def object_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_smooth); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_smooth_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.smooth.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_11object_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_10object_size_get[] = "Gets the current size of the image.\n\n This is the real size of the image, not the size of the object.\n\n @return: Width and height of the image\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_11object_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_10object_size_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":166
+ * elm_image_smooth_set(self.obj, smooth)
+ *
+ * def object_size_get(self): # <<<<<<<<<<<<<<
+ * """Gets the current size of the image.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_10object_size_get(struct PyElementaryImage *__pyx_v_self) {
+ int __pyx_v_width;
+ int __pyx_v_height;
+ 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("object_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":176
+ * """
+ * cdef int width, height
+ * elm_image_object_size_get(self.obj, &width, &height) # <<<<<<<<<<<<<<
+ * return (width, height)
+ *
+ */
+ elm_image_object_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_width), (&__pyx_v_height));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":177
+ * cdef int width, height
+ * elm_image_object_size_get(self.obj, &width, &height)
+ * return (width, height) # <<<<<<<<<<<<<<
+ *
+ * property object_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_width); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_height); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 177; __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[12]; __pyx_lineno = 177; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.object_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_11object_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_11object_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_11object_size___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":187
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int width, height
+ * elm_image_object_size_get(self.obj, &width, &height)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_11object_size___get__(struct PyElementaryImage *__pyx_v_self) {
+ int __pyx_v_width;
+ int __pyx_v_height;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":189
+ * def __get__(self):
+ * cdef int width, height
+ * elm_image_object_size_get(self.obj, &width, &height) # <<<<<<<<<<<<<<
+ * return (width, height)
+ *
+ */
+ elm_image_object_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_width), (&__pyx_v_height));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":190
+ * cdef int width, height
+ * elm_image_object_size_get(self.obj, &width, &height)
+ * return (width, height) # <<<<<<<<<<<<<<
+ *
+ * def no_scale_set(self, no_scale):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_width); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_height); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 190; __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[12]; __pyx_lineno = 190; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.object_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_13no_scale_set(PyObject *__pyx_v_self, PyObject *__pyx_v_no_scale); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_12no_scale_set[] = "Disable scaling of this object.\n\n This function disables scaling of the elm_image widget through the\n function L{Object.scale_set()}. However, this does not affect the widget\n size/resize in any way. For that effect, take a look at\n L{resizable_set()}.\n\n @see: L{no_scale_get()}\n @see: L{resizable_set()}\n @see: L{Object.scale_set()}\n\n @param no_scale: C{True} if the object is not scalable, C{False}\n otherwise. Default is C{False}.\n @type no_scale: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_13no_scale_set(PyObject *__pyx_v_self, PyObject *__pyx_v_no_scale) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("no_scale_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_12no_scale_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_no_scale));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":192
+ * return (width, height)
+ *
+ * def no_scale_set(self, no_scale): # <<<<<<<<<<<<<<
+ * """Disable scaling of this object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_12no_scale_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_no_scale) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("no_scale_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":209
+ *
+ * """
+ * elm_image_no_scale_set(self.obj, no_scale) # <<<<<<<<<<<<<<
+ *
+ * def no_scale_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_no_scale); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_no_scale_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.no_scale_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_15no_scale_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_14no_scale_get[] = "Get whether scaling is disabled on the object.\n\n @see: L{no_scale_set()}\n\n @return: C{True} if scaling is disabled, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_15no_scale_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("no_scale_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_14no_scale_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":211
+ * elm_image_no_scale_set(self.obj, no_scale)
+ *
+ * def no_scale_get(self): # <<<<<<<<<<<<<<
+ * """Get whether scaling is disabled on the object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_14no_scale_get(struct PyElementaryImage *__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("no_scale_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":220
+ *
+ * """
+ * return bool(elm_image_no_scale_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property no_scale:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_no_scale_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.no_scale_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8no_scale_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8no_scale_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8no_scale___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":236
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_no_scale_get(self.obj))
+ * def __set__(self, no_scale):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8no_scale___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":237
+ * """
+ * def __get__(self):
+ * return bool(elm_image_no_scale_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, no_scale):
+ * elm_image_no_scale_set(self.obj, no_scale)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_no_scale_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.no_scale.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_8no_scale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_no_scale); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_8no_scale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_no_scale) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8no_scale_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_no_scale));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":238
+ * def __get__(self):
+ * return bool(elm_image_no_scale_get(self.obj))
+ * def __set__(self, no_scale): # <<<<<<<<<<<<<<
+ * elm_image_no_scale_set(self.obj, no_scale)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_8no_scale_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_no_scale) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":239
+ * return bool(elm_image_no_scale_get(self.obj))
+ * def __set__(self, no_scale):
+ * elm_image_no_scale_set(self.obj, no_scale) # <<<<<<<<<<<<<<
+ *
+ * def resizable_set(self, size_up, size_down):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_no_scale); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_no_scale_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.no_scale.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_17resizable_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_16resizable_set[] = "Set if the object is (up/down) resizable.\n\n This function limits the image resize ability. If C{size_up} is set to\n C{False}, the object can't have its height or width resized to a value\n higher than the original image size. Same is valid for C{size_down}.\n\n @see: L{resizable_get()}\n\n @param size_up: A bool to set if the object is resizable up. Default is\n C{True}.\n @type size_up: bool\n @param size_down: A bool to set if the object is resizable down. Default\n is C{True}.\n @type size_down: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_17resizable_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_size_up = 0;
+ PyObject *__pyx_v_size_down = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__size_up,&__pyx_n_s__size_down,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("resizable_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__size_up);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__size_down);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("resizable_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[12]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "resizable_set") < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 241; __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_size_up = values[0];
+ __pyx_v_size_down = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("resizable_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[12]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.resizable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_16resizable_set(((struct PyElementaryImage *)__pyx_v_self), __pyx_v_size_up, __pyx_v_size_down);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":241
+ * elm_image_no_scale_set(self.obj, no_scale)
+ *
+ * def resizable_set(self, size_up, size_down): # <<<<<<<<<<<<<<
+ * """Set if the object is (up/down) resizable.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_16resizable_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_size_up, PyObject *__pyx_v_size_down) {
+ 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("resizable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":258
+ *
+ * """
+ * elm_image_resizable_set(self.obj, size_up, size_down) # <<<<<<<<<<<<<<
+ *
+ * def resizable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_size_up); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_size_down); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_resizable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.resizable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_19resizable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_18resizable_get[] = "Get if the object is (up/down) resizable.\n\n @return: The values of resizable up and down\n @rtype: tuple of bools\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_19resizable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("resizable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_18resizable_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":260
+ * elm_image_resizable_set(self.obj, size_up, size_down)
+ *
+ * def resizable_get(self): # <<<<<<<<<<<<<<
+ * """Get if the object is (up/down) resizable.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_18resizable_get(struct PyElementaryImage *__pyx_v_self) {
+ Eina_Bool __pyx_v_size_up;
+ Eina_Bool __pyx_v_size_down;
+ 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("resizable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":268
+ * """
+ * cdef Eina_Bool size_up, size_down
+ * elm_image_resizable_get(self.obj, &size_up, &size_down) # <<<<<<<<<<<<<<
+ * return (size_up, size_down)
+ *
+ */
+ elm_image_resizable_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_size_up), (&__pyx_v_size_down));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":269
+ * cdef Eina_Bool size_up, size_down
+ * elm_image_resizable_get(self.obj, &size_up, &size_down)
+ * return (size_up, size_down) # <<<<<<<<<<<<<<
+ *
+ * property resizable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_size_up); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_size_down); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 269; __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[12]; __pyx_lineno = 269; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.resizable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_9resizable_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_9resizable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_9resizable___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":281
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool size_up, size_down
+ * elm_image_resizable_get(self.obj, &size_up, &size_down)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_9resizable___get__(struct PyElementaryImage *__pyx_v_self) {
+ Eina_Bool __pyx_v_size_up;
+ Eina_Bool __pyx_v_size_down;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":283
+ * def __get__(self):
+ * cdef Eina_Bool size_up, size_down
+ * elm_image_resizable_get(self.obj, &size_up, &size_down) # <<<<<<<<<<<<<<
+ * return (size_up, size_down)
+ *
+ */
+ elm_image_resizable_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_size_up), (&__pyx_v_size_down));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":284
+ * cdef Eina_Bool size_up, size_down
+ * elm_image_resizable_get(self.obj, &size_up, &size_down)
+ * return (size_up, size_down) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_size_up); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_size_down); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 284; __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[12]; __pyx_lineno = 284; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.resizable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_9resizable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_9resizable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_9resizable_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":286
+ * return (size_up, size_down)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * size_up, size_down = value
+ * elm_image_resizable_set(self.obj, size_up, size_down)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_9resizable_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_size_up = NULL;
+ PyObject *__pyx_v_size_down = 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 *);
+ Eina_Bool __pyx_t_5;
+ Eina_Bool __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":287
+ *
+ * def __set__(self, value):
+ * size_up, size_down = value # <<<<<<<<<<<<<<
+ * elm_image_resizable_set(self.obj, size_up, size_down)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[12]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[12]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 287; __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[12]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[12]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_size_up = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_size_down = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":288
+ * def __set__(self, value):
+ * size_up, size_down = value
+ * elm_image_resizable_set(self.obj, size_up, size_down) # <<<<<<<<<<<<<<
+ *
+ * def fill_outside_set(self, fill_outside):
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_size_up); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_size_down); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_resizable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Image.resizable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_size_up);
+ __Pyx_XDECREF(__pyx_v_size_down);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_21fill_outside_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill_outside); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_20fill_outside_set[] = "Set if the image fills the entire object area, when keeping the aspect ratio.\n\n When the image should keep its aspect ratio even if resized to another\n aspect ratio, there are two possibilities to resize it: keep the entire\n image inside the limits of height and width of the object (C{fill_outside}\n is C{False}) or let the extra width or height go outside of the object,\n and the image will fill the entire object (C{fill_outside} is C{True}).\n\n @note: This option will have no effect if\n L{aspect_fixed_set()} is set to C{False}.\n\n @see: L{fill_outside_get()}\n @see: L{aspect_fixed_set()}\n\n @param fill_outside: C{True} if the object is filled outside,\n C{False} otherwise. Default is C{False}.\n @type fill_outside: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_21fill_outside_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill_outside) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("fill_outside_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_20fill_outside_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_fill_outside));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":290
+ * elm_image_resizable_set(self.obj, size_up, size_down)
+ *
+ * def fill_outside_set(self, fill_outside): # <<<<<<<<<<<<<<
+ * """Set if the image fills the entire object area, when keeping the aspect ratio.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_20fill_outside_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fill_outside) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("fill_outside_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":310
+ *
+ * """
+ * elm_image_fill_outside_set(self.obj, fill_outside) # <<<<<<<<<<<<<<
+ *
+ * def fill_outside_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fill_outside); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_fill_outside_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.fill_outside_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_23fill_outside_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_22fill_outside_get[] = "Get if the object is filled outside\n\n @see: L{fill_outside_set()}\n\n @return: C{True} if the object is filled outside, C{False} otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_23fill_outside_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("fill_outside_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_22fill_outside_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":312
+ * elm_image_fill_outside_set(self.obj, fill_outside)
+ *
+ * def fill_outside_get(self): # <<<<<<<<<<<<<<
+ * """Get if the object is filled outside
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_22fill_outside_get(struct PyElementaryImage *__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("fill_outside_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":321
+ *
+ * """
+ * return bool(elm_image_fill_outside_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property fill_outside:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_fill_outside_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.fill_outside_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_12fill_outside_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_12fill_outside_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_12fill_outside___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":340
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_fill_outside_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_12fill_outside___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":341
+ * """
+ * def __get__(self):
+ * return bool(elm_image_fill_outside_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, fill_outside):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_fill_outside_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.fill_outside.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_12fill_outside_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill_outside); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_12fill_outside_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill_outside) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_12fill_outside_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_fill_outside));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":343
+ * return bool(elm_image_fill_outside_get(self.obj))
+ *
+ * def __set__(self, fill_outside): # <<<<<<<<<<<<<<
+ * elm_image_fill_outside_set(self.obj, fill_outside)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_12fill_outside_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fill_outside) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":344
+ *
+ * def __set__(self, fill_outside):
+ * elm_image_fill_outside_set(self.obj, fill_outside) # <<<<<<<<<<<<<<
+ *
+ * def preload_disabled_set(self, disabled):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fill_outside); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_fill_outside_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.fill_outside.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_25preload_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_24preload_disabled_set[] = "Enable or disable preloading of the image\n\n @param disabled: If True, preloading will be disabled\n @type disabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_25preload_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("preload_disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_24preload_disabled_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":346
+ * elm_image_fill_outside_set(self.obj, fill_outside)
+ *
+ * def preload_disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """Enable or disable preloading of the image
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_24preload_disabled_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("preload_disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":353
+ *
+ * """
+ * elm_image_preload_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * property preload_disabled:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_preload_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.preload_disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_16preload_disabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_16preload_disabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_16preload_disabled___set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":361
+ *
+ * """
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * elm_image_preload_disabled_set(self.obj, disabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_16preload_disabled___set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":362
+ * """
+ * def __set__(self, disabled):
+ * elm_image_preload_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def prescale_set(self, size):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_preload_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.preload_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_27prescale_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_26prescale_set[] = "Set the prescale size for the image\n\n This function sets a new size for pixmap representation of the given\n image. It allows the image to be loaded already in the specified size,\n reducing the memory usage and load time when loading a big image with load\n size set to a smaller size.\n\n It's equivalent to the L{Background.load_size_set()} function for bg.\n\n @note: this is just a hint, the real size of the pixmap may differ\n depending on the type of image being loaded, being bigger than requested.\n\n @see: L{prescale_get()}\n @see: L{Background.load_size_set()}\n\n @param size: The prescale size. This value is used for both width and\n height.\n @type size: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_27prescale_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prescale_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_26prescale_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":364
+ * elm_image_preload_disabled_set(self.obj, disabled)
+ *
+ * def prescale_set(self, size): # <<<<<<<<<<<<<<
+ * """Set the prescale size for the image
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_26prescale_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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("prescale_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":385
+ *
+ * """
+ * elm_image_prescale_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def prescale_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 385; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_prescale_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.prescale_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_29prescale_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_28prescale_get[] = "Get the prescale size for the image\n\n @see: L{prescale_set()}\n\n @return: The prescale size\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_29prescale_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prescale_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_28prescale_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":387
+ * elm_image_prescale_set(self.obj, size)
+ *
+ * def prescale_get(self): # <<<<<<<<<<<<<<
+ * """Get the prescale size for the image
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_28prescale_get(struct PyElementaryImage *__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("prescale_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":396
+ *
+ * """
+ * return elm_image_prescale_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property prescale:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_image_prescale_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.prescale_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8prescale_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8prescale_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8prescale___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":416
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_image_prescale_get(self.obj)
+ * def __set__(self, size):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8prescale___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":417
+ * """
+ * def __get__(self):
+ * return elm_image_prescale_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_image_prescale_set(self.obj, size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_image_prescale_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.prescale.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_8prescale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_8prescale_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8prescale_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":418
+ * def __get__(self):
+ * return elm_image_prescale_get(self.obj)
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_image_prescale_set(self.obj, size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_8prescale_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":419
+ * return elm_image_prescale_get(self.obj)
+ * def __set__(self, size):
+ * elm_image_prescale_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def orient_set(self, orientation):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_prescale_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.prescale.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_31orient_set(PyObject *__pyx_v_self, PyObject *__pyx_v_orientation); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_30orient_set[] = "Set the image orientation.\n\n This function allows to rotate or flip the given image.\n\n @see: L{orient_get()}\n\n @param orient: The image orientation. Default is ELM_IMAGE_ORIENT_NONE.\n @type orient: Elm_Image_Orient\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_31orient_set(PyObject *__pyx_v_self, PyObject *__pyx_v_orientation) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_30orient_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_orientation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":421
+ * elm_image_prescale_set(self.obj, size)
+ *
+ * def orient_set(self, orientation): # <<<<<<<<<<<<<<
+ * """Set the image orientation.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_30orient_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_orientation) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Image_Orient __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("orient_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":432
+ *
+ * """
+ * elm_image_orient_set(self.obj, orientation) # <<<<<<<<<<<<<<
+ *
+ * def orient_get(self):
+ */
+ __pyx_t_1 = ((Elm_Image_Orient)PyInt_AsLong(__pyx_v_orientation)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.orient_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_33orient_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_32orient_get[] = "Get the image orientation.\n\n @see: L{orient_set()}\n\n @return: The image orientation\n @rtype: Elm_Image_Orient\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_33orient_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_32orient_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":434
+ * elm_image_orient_set(self.obj, orientation)
+ *
+ * def orient_get(self): # <<<<<<<<<<<<<<
+ * """Get the image orientation.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_32orient_get(struct PyElementaryImage *__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("orient_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":443
+ *
+ * """
+ * return elm_image_orient_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property orient:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_image_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.orient_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_6orient_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_6orient_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_6orient___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":453
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_image_orient_get(self.obj)
+ * def __set__(self, orientation):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6orient___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":454
+ * """
+ * def __get__(self):
+ * return elm_image_orient_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, orientation):
+ * elm_image_orient_set(self.obj, orientation)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_image_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.orient.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_6orient_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orientation); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_6orient_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orientation) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_6orient_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_orientation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":455
+ * def __get__(self):
+ * return elm_image_orient_get(self.obj)
+ * def __set__(self, orientation): # <<<<<<<<<<<<<<
+ * elm_image_orient_set(self.obj, orientation)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_6orient_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_orientation) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Image_Orient __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":456
+ * return elm_image_orient_get(self.obj)
+ * def __set__(self, orientation):
+ * elm_image_orient_set(self.obj, orientation) # <<<<<<<<<<<<<<
+ *
+ * def editable_set(self, editable):
+ */
+ __pyx_t_1 = ((Elm_Image_Orient)PyInt_AsLong(__pyx_v_orientation)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.orient.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_35editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_editable); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_34editable_set[] = "Make the image 'editable'.\n\n This means the image is a valid drag target for drag and drop, and can be\n cut or pasted too.\n\n @param set: Turn on or off editability. Default is C{False}.\n @type set: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_35editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_editable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_34editable_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_editable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":458
+ * elm_image_orient_set(self.obj, orientation)
+ *
+ * def editable_set(self, editable): # <<<<<<<<<<<<<<
+ * """Make the image 'editable'.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_34editable_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_editable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("editable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":468
+ *
+ * """
+ * elm_image_editable_set(self.obj, editable) # <<<<<<<<<<<<<<
+ *
+ * def editable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_editable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.editable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_37editable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_36editable_get[] = "Check if the image is 'editable'.\n\n A return value of True means the image is a valid drag target\n for drag and drop, and can be cut or pasted too.\n\n @return: Editability.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_37editable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_36editable_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":470
+ * elm_image_editable_set(self.obj, editable)
+ *
+ * def editable_get(self): # <<<<<<<<<<<<<<
+ * """Check if the image is 'editable'.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_36editable_get(struct PyElementaryImage *__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("editable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":480
+ *
+ * """
+ * return bool(elm_image_editable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property editable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_editable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.editable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8editable_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8editable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8editable___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":491
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_editable_get(self.obj))
+ * def __set__(self, editable):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8editable___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":492
+ * """
+ * def __get__(self):
+ * return bool(elm_image_editable_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, editable):
+ * elm_image_editable_set(self.obj, editable)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_editable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.editable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_8editable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_editable); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_8editable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_editable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8editable_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_editable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":493
+ * def __get__(self):
+ * return bool(elm_image_editable_get(self.obj))
+ * def __set__(self, editable): # <<<<<<<<<<<<<<
+ * elm_image_editable_set(self.obj, editable)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_8editable_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_editable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":494
+ * return bool(elm_image_editable_get(self.obj))
+ * def __set__(self, editable):
+ * elm_image_editable_set(self.obj, editable) # <<<<<<<<<<<<<<
+ *
+ * def object_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_editable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.editable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_39object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_38object_get[] = "Get the inlined image object of the image widget.\n\n This function allows one to get the underlying C{Evas_Object} of type\n Image from this elementary widget. It can be useful to do things like get\n the pixel data, save the image to a file, etc.\n\n @note: Be careful to not manipulate it, as it is under control of\n elementary.\n\n @return: The inlined image object, or None if none exists\n @rtype: evas.Image\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_39object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_38object_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":496
+ * elm_image_editable_set(self.obj, editable)
+ *
+ * def object_get(self): # <<<<<<<<<<<<<<
+ * """Get the inlined image object of the image widget.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_38object_get(struct PyElementaryImage *__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("object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":510
+ *
+ * """
+ * return Object_from_instance(elm_image_object_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_image_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_6object_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_6object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_6object___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":525
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_image_object_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_6object___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":526
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_image_object_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def aspect_fixed_set(self, fixed):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_image_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Image.object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_41aspect_fixed_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_40aspect_fixed_set[] = "Set whether the original aspect ratio of the image should be kept on resize.\n\n The original aspect ratio (width / height) of the image is usually\n distorted to match the object's size. Enabling this option will retain\n this original aspect, and the way that the image is fit into the object's\n area depends on the option set by L{fill_outside_set()}.\n\n @see: L{aspect_fixed_get()}\n @see: L{fill_outside_set()}\n\n @param fixed: C{True} if the image should retain the aspect,\n C{False} otherwise.\n @type fixed: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_41aspect_fixed_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("aspect_fixed_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_40aspect_fixed_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_fixed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":528
+ * return Object_from_instance(elm_image_object_get(self.obj))
+ *
+ * def aspect_fixed_set(self, fixed): # <<<<<<<<<<<<<<
+ * """Set whether the original aspect ratio of the image should be kept on resize.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_40aspect_fixed_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("aspect_fixed_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":544
+ *
+ * """
+ * elm_image_aspect_fixed_set(self.obj, fixed) # <<<<<<<<<<<<<<
+ *
+ * def aspect_fixed_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fixed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_aspect_fixed_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.aspect_fixed_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_43aspect_fixed_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_42aspect_fixed_get[] = "Get if the object retains the original aspect ratio.\n\n @return: C{True} if the object keeps the original aspect, C{False}\n otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_43aspect_fixed_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("aspect_fixed_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_42aspect_fixed_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":546
+ * elm_image_aspect_fixed_set(self.obj, fixed)
+ *
+ * def aspect_fixed_get(self): # <<<<<<<<<<<<<<
+ * """Get if the object retains the original aspect ratio.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_42aspect_fixed_get(struct PyElementaryImage *__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("aspect_fixed_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":554
+ *
+ * """
+ * return bool(elm_image_aspect_fixed_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property aspect_fixed:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_aspect_fixed_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.aspect_fixed_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_12aspect_fixed_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_12aspect_fixed_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_12aspect_fixed___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":569
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_aspect_fixed_get(self.obj))
+ * def __set__(self, fixed):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_12aspect_fixed___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":570
+ * """
+ * def __get__(self):
+ * return bool(elm_image_aspect_fixed_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, fixed):
+ * elm_image_aspect_fixed_set(self.obj, fixed)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_aspect_fixed_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.aspect_fixed.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_12aspect_fixed_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_12aspect_fixed_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_12aspect_fixed_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_fixed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":571
+ * def __get__(self):
+ * return bool(elm_image_aspect_fixed_get(self.obj))
+ * def __set__(self, fixed): # <<<<<<<<<<<<<<
+ * elm_image_aspect_fixed_set(self.obj, fixed)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_12aspect_fixed_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":572
+ * return bool(elm_image_aspect_fixed_get(self.obj))
+ * def __set__(self, fixed):
+ * elm_image_aspect_fixed_set(self.obj, fixed) # <<<<<<<<<<<<<<
+ *
+ * def animated_available_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fixed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_aspect_fixed_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.aspect_fixed.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_45animated_available_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_44animated_available_get[] = "Get whether an image object supports animation or not.\n\n This function returns if this Elementary image object's internal\n image can be animated. Currently Evas only supports GIF\n animation. If the return value is B{False}, other\n C{animated_xxx} API calls won't work.\n\n @see: L{animated_set()}\n\n @return: C{True} if the image supports animation,\n C{False} otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_45animated_available_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("animated_available_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_44animated_available_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":574
+ * elm_image_aspect_fixed_set(self.obj, fixed)
+ *
+ * def animated_available_get(self): # <<<<<<<<<<<<<<
+ * """Get whether an image object supports animation or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_44animated_available_get(struct PyElementaryImage *__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("animated_available_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":589
+ *
+ * """
+ * return bool(elm_image_animated_available_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property animated_available:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_animated_available_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.animated_available_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_18animated_available_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_18animated_available_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_18animated_available___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":604
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_animated_available_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_18animated_available___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":605
+ * """
+ * def __get__(self):
+ * return bool(elm_image_animated_available_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def animated_set(self, animated):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_animated_available_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 605; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 605; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 605; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.animated_available.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_47animated_set(PyObject *__pyx_v_self, PyObject *__pyx_v_animated); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_46animated_set[] = "Set whether an image object (which supports animation) is to\n animate itself or not.\n\n An image object, even if it supports animation, will be displayed\n by default without animation. Call this function with C{animated}\n set to C{True} to enable its animation. To start or stop the\n animation, actually, use L{animated_play_set()}.\n\n @see: L{animated_get()}\n @see: L{animated_available_get()}\n @see: L{animated_play_set()}\n\n @param animated: C{True} if the object is to animate itself,\n C{False} otherwise. Default is C{False}.\n @type animated: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_47animated_set(PyObject *__pyx_v_self, PyObject *__pyx_v_animated) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("animated_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_46animated_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_animated));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":607
+ * return bool(elm_image_animated_available_get(self.obj))
+ *
+ * def animated_set(self, animated): # <<<<<<<<<<<<<<
+ * """Set whether an image object (which supports animation) is to
+ * animate itself or not.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_46animated_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_animated) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("animated_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":625
+ *
+ * """
+ * elm_image_animated_set(self.obj, animated) # <<<<<<<<<<<<<<
+ *
+ * def animated_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_animated); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_animated_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.animated_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_49animated_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_48animated_get[] = "Get whether an image object has animation enabled or not.\n\n @see: L{animated_set()}\n\n @return: C{True} if the image has animation enabled,\n C{False} otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_49animated_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("animated_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_48animated_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":627
+ * elm_image_animated_set(self.obj, animated)
+ *
+ * def animated_get(self): # <<<<<<<<<<<<<<
+ * """Get whether an image object has animation enabled or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_48animated_get(struct PyElementaryImage *__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("animated_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":637
+ *
+ * """
+ * return bool(elm_image_animated_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property animated:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_animated_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.animated_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8animated_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_8animated_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8animated___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":654
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_animated_get(self.obj))
+ * def __set__(self, animated):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_8animated___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":655
+ * """
+ * def __get__(self):
+ * return bool(elm_image_animated_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, animated):
+ * elm_image_animated_set(self.obj, animated)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_animated_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.animated.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_8animated_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_animated); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_8animated_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_animated) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_8animated_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_animated));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":656
+ * def __get__(self):
+ * return bool(elm_image_animated_get(self.obj))
+ * def __set__(self, animated): # <<<<<<<<<<<<<<
+ * elm_image_animated_set(self.obj, animated)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_8animated_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_animated) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":657
+ * return bool(elm_image_animated_get(self.obj))
+ * def __set__(self, animated):
+ * elm_image_animated_set(self.obj, animated) # <<<<<<<<<<<<<<
+ *
+ * def animated_play_set(self, play):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_animated); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_animated_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.animated.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_51animated_play_set(PyObject *__pyx_v_self, PyObject *__pyx_v_play); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_50animated_play_set[] = "Start or stop an image object's animation.\n\n To actually start playing any image object's animation, if it\n supports it, one must do something like::\n\n if img.animated_available_get():\n img.animated_set(True)\n img.animated_play_set(True)\n\n L{animated_set()} will enable animation on the image, B{but\n not start it yet}. This is the function one uses to start and\n stop animations on image objects.\n\n @see: L{animated_available_get()}\n @see: L{animated_set()}\n @see: L{animated_play_get()}\n\n @param play: C{True} to start the animation, C{False}\n otherwise. Default is C{False}.\n @type play: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_51animated_play_set(PyObject *__pyx_v_self, PyObject *__pyx_v_play) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("animated_play_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_50animated_play_set(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_play));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":659
+ * elm_image_animated_set(self.obj, animated)
+ *
+ * def animated_play_set(self, play): # <<<<<<<<<<<<<<
+ * """Start or stop an image object's animation.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_50animated_play_set(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_play) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("animated_play_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":682
+ *
+ * """
+ * elm_image_animated_play_set(self.obj, play) # <<<<<<<<<<<<<<
+ *
+ * def animated_play_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_play); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_animated_play_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.animated_play_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_53animated_play_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_52animated_play_get[] = "Get whether an image object is under animation or not.\n\n @see: L{animated_play_set()}\n\n @return: C{True}, if the image is being animated, C{False}\n otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_53animated_play_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("animated_play_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_52animated_play_get(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":684
+ * elm_image_animated_play_set(self.obj, play)
+ *
+ * def animated_play_get(self): # <<<<<<<<<<<<<<
+ * """Get whether an image object is under animation or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_52animated_play_get(struct PyElementaryImage *__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("animated_play_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":694
+ *
+ * """
+ * return bool(elm_image_animated_play_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property animated_play:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_animated_play_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.animated_play_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_13animated_play_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_13animated_play_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_13animated_play___get__(((struct PyElementaryImage *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":716
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_image_animated_play_get(self.obj))
+ * def __set__(self, play):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_13animated_play___get__(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":717
+ * """
+ * def __get__(self):
+ * return bool(elm_image_animated_play_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, play):
+ * elm_image_animated_play_set(self.obj, play)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_image_animated_play_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.animated_play.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Image_13animated_play_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_play); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Image_13animated_play_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_play) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_13animated_play_2__set__(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_play));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":718
+ * def __get__(self):
+ * return bool(elm_image_animated_play_get(self.obj))
+ * def __set__(self, play): # <<<<<<<<<<<<<<
+ * elm_image_animated_play_set(self.obj, play)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Image_13animated_play_2__set__(struct PyElementaryImage *__pyx_v_self, PyObject *__pyx_v_play) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":719
+ * return bool(elm_image_animated_play_get(self.obj))
+ * def __set__(self, play):
+ * elm_image_animated_play_set(self.obj, play) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_play); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 719; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_image_animated_play_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Image.animated_play.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_55callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_54callback_clicked_add[] = "This is called when a user has clicked the image.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_55callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[12]; __pyx_lineno = 721; __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[12]; __pyx_lineno = 721; __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("elementary.c_elementary.Image.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_54callback_clicked_add(((struct PyElementaryImage *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":721
+ * elm_image_animated_play_set(self.obj, play)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has clicked the image."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_54callback_clicked_add(struct PyElementaryImage *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":723
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """This is called when a user has clicked the image."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 723; __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[12]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Image.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_57callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_57callback_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_10elementary_12c_elementary_5Image_56callback_clicked_del(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":725
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_56callback_clicked_del(struct PyElementaryImage *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":726
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drop_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 726; __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[12]; __pyx_lineno = 726; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 726; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_59callback_drop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Image_58callback_drop_add[] = "This is called when a user has dropped an image typed object onto\n the object in question -- the event info argument is the path to that\n image file.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_59callback_drop_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_drop_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_drop_add") < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 728; __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_drop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[12]; __pyx_lineno = 728; __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("elementary.c_elementary.Image.callback_drop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_58callback_drop_add(((struct PyElementaryImage *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":728
+ * self._callback_del("clicked", func)
+ *
+ * def callback_drop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has dropped an image typed object onto
+ * the object in question -- the event info argument is the path to that
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_58callback_drop_add(struct PyElementaryImage *__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_drop_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":732
+ * the object in question -- the event info argument is the path to that
+ * image file."""
+ * self._callback_add_full("drop", _cb_string_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 732; __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[12]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__drop));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__drop));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__drop));
+ 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Image.callback_drop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_61callback_drop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Image_61callback_drop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_drop_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Image_60callback_drop_del(((struct PyElementaryImage *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":734
+ * self._callback_add_full("drop", _cb_string_conv, func, *args, **kwargs)
+ *
+ * def callback_drop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drop", _cb_string_conv, func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Image_60callback_drop_del(struct PyElementaryImage *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":735
+ *
+ * def callback_drop_del(self, func):
+ * self._callback_del_full("drop", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("image", Image)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 735; __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[12]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__drop));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__drop));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__drop));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Image.callback_drop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Button_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Button_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 51; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[13]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button___init__(((struct PyElementaryButton *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":51
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_button_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Button___init__(struct PyElementaryButton *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":52
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_button_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 52; __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[13]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":53
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_button_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def autorepeat_set(self, on):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Button *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_button_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Button.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_3autorepeat_set(PyObject *__pyx_v_self, PyObject *__pyx_v_on); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_2autorepeat_set[] = "Turn on/off the autorepeat event generated when the button is\n kept pressed\n\n When off, no autorepeat is performed and buttons emit a normal\n C{clicked} signal when they are clicked.\n\n When on, keeping a button pressed will continuously emit a\n C{repeated} signal until the button is released. The time it takes\n until it starts emitting the signal is given by\n L{autorepeat_initial_timeout_set()}, and the time between each new\n emission by L{autorepeat_gap_timeout_set()}.\n\n @param on: A bool to turn on/off the event\n @type on: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_3autorepeat_set(PyObject *__pyx_v_self, PyObject *__pyx_v_on) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autorepeat_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_2autorepeat_set(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_on));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":55
+ * self._set_obj(elm_button_add(parent.obj))
+ *
+ * def autorepeat_set(self, on): # <<<<<<<<<<<<<<
+ * """Turn on/off the autorepeat event generated when the button is
+ * kept pressed
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_2autorepeat_set(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_on) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autorepeat_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":72
+ *
+ * """
+ * elm_button_autorepeat_set(self.obj, on) # <<<<<<<<<<<<<<
+ *
+ * def autorepeat_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_on); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_button_autorepeat_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_5autorepeat_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_4autorepeat_get[] = "Get whether the autorepeat feature is enabled\n\n @return: C{True} if autorepeat is on, C{False} otherwise\n @rtype: bool\n\n @see: L{autorepeat_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_5autorepeat_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autorepeat_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_4autorepeat_get(((struct PyElementaryButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":74
+ * elm_button_autorepeat_set(self.obj, on)
+ *
+ * def autorepeat_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the autorepeat feature is enabled
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_4autorepeat_get(struct PyElementaryButton *__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("autorepeat_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":83
+ *
+ * """
+ * return bool(elm_button_autorepeat_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property autorepeat:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_button_autorepeat_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Button.autorepeat_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_10autorepeat_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_10autorepeat_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_10autorepeat___get__(((struct PyElementaryButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":101
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_button_autorepeat_get(self.obj))
+ * def __set__(self, on):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_10autorepeat___get__(struct PyElementaryButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":102
+ * """
+ * def __get__(self):
+ * return bool(elm_button_autorepeat_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, on):
+ * elm_button_autorepeat_set(self.obj, on)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_button_autorepeat_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Button.autorepeat.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Button_10autorepeat_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_on); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Button_10autorepeat_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_on) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_10autorepeat_2__set__(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_on));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":103
+ * def __get__(self):
+ * return bool(elm_button_autorepeat_get(self.obj))
+ * def __set__(self, on): # <<<<<<<<<<<<<<
+ * elm_button_autorepeat_set(self.obj, on)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Button_10autorepeat_2__set__(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_on) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":104
+ * return bool(elm_button_autorepeat_get(self.obj))
+ * def __set__(self, on):
+ * elm_button_autorepeat_set(self.obj, on) # <<<<<<<<<<<<<<
+ *
+ * def autorepeat_initial_timeout_set(self, t):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_on); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_button_autorepeat_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_7autorepeat_initial_timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_t); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_6autorepeat_initial_timeout_set[] = "Set the initial timeout before the autorepeat event is generated\n\n Sets the timeout, in seconds, since the button is pressed until the\n first C{repeated} signal is emitted. If C{t} is 0.0 or less, there\n won't be any delay and the event will be fired the moment the button is\n pressed.\n\n @see: L{autorepeat_set()}\n @see: L{autorepeat_gap_timeout_set()}\n\n @param t: Timeout in seconds\n @type t: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_7autorepeat_initial_timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_t) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autorepeat_initial_timeout_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_6autorepeat_initial_timeout_set(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_t));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":106
+ * elm_button_autorepeat_set(self.obj, on)
+ *
+ * def autorepeat_initial_timeout_set(self, t): # <<<<<<<<<<<<<<
+ * """Set the initial timeout before the autorepeat event is generated
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_6autorepeat_initial_timeout_set(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autorepeat_initial_timeout_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":121
+ *
+ * """
+ * elm_button_autorepeat_initial_timeout_set(self.obj, t) # <<<<<<<<<<<<<<
+ *
+ * def autorepeat_initial_timeout_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_t); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_button_autorepeat_initial_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_initial_timeout_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_9autorepeat_initial_timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_8autorepeat_initial_timeout_get[] = "Get the initial timeout before the autorepeat event is generated\n\n @see: L{autorepeat_initial_timeout_set()}\n\n @return: Timeout in seconds\n @rtype: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_9autorepeat_initial_timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autorepeat_initial_timeout_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_8autorepeat_initial_timeout_get(((struct PyElementaryButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":123
+ * elm_button_autorepeat_initial_timeout_set(self.obj, t)
+ *
+ * def autorepeat_initial_timeout_get(self): # <<<<<<<<<<<<<<
+ * """Get the initial timeout before the autorepeat event is generated
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_8autorepeat_initial_timeout_get(struct PyElementaryButton *__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("autorepeat_initial_timeout_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":132
+ *
+ * """
+ * return elm_button_autorepeat_initial_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property autorepeat_initial_timeout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_button_autorepeat_initial_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_initial_timeout_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout___get__(((struct PyElementaryButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":148
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_button_autorepeat_initial_timeout_get(self.obj)
+ * def __set__(self, t):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout___get__(struct PyElementaryButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":149
+ * """
+ * def __get__(self):
+ * return elm_button_autorepeat_initial_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, t):
+ * elm_button_autorepeat_initial_timeout_set(self.obj, t)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_button_autorepeat_initial_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_initial_timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_t); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_t) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_2__set__(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_t));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":150
+ * def __get__(self):
+ * return elm_button_autorepeat_initial_timeout_get(self.obj)
+ * def __set__(self, t): # <<<<<<<<<<<<<<
+ * elm_button_autorepeat_initial_timeout_set(self.obj, t)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_2__set__(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":151
+ * return elm_button_autorepeat_initial_timeout_get(self.obj)
+ * def __set__(self, t):
+ * elm_button_autorepeat_initial_timeout_set(self.obj, t) # <<<<<<<<<<<<<<
+ *
+ * def autorepeat_gap_timeout_set(self, t):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_t); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_button_autorepeat_initial_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_initial_timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_11autorepeat_gap_timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_t); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_10autorepeat_gap_timeout_set[] = "Set the interval between each generated autorepeat event\n\n After the first C{repeated} event is fired, all subsequent ones will\n follow after a delay of C{t} seconds for each.\n\n @see: L{autorepeat_initial_timeout_set()}\n\n @param t: Interval in seconds\n @type t: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_11autorepeat_gap_timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_t) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autorepeat_gap_timeout_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_10autorepeat_gap_timeout_set(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_t));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":153
+ * elm_button_autorepeat_initial_timeout_set(self.obj, t)
+ *
+ * def autorepeat_gap_timeout_set(self, t): # <<<<<<<<<<<<<<
+ * """Set the interval between each generated autorepeat event
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_10autorepeat_gap_timeout_set(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autorepeat_gap_timeout_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":165
+ *
+ * """
+ * elm_button_autorepeat_gap_timeout_set(self.obj, t) # <<<<<<<<<<<<<<
+ *
+ * def autorepeat_gap_timeout_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_t); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_button_autorepeat_gap_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_gap_timeout_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_13autorepeat_gap_timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_12autorepeat_gap_timeout_get[] = "Get the interval between each generated autorepeat event\n\n @return: Interval in seconds\n @rtype: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_13autorepeat_gap_timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autorepeat_gap_timeout_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_12autorepeat_gap_timeout_get(((struct PyElementaryButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":167
+ * elm_button_autorepeat_gap_timeout_set(self.obj, t)
+ *
+ * def autorepeat_gap_timeout_get(self): # <<<<<<<<<<<<<<
+ * """Get the interval between each generated autorepeat event
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_12autorepeat_gap_timeout_get(struct PyElementaryButton *__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("autorepeat_gap_timeout_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":174
+ *
+ * """
+ * return elm_button_autorepeat_gap_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property autorepeat_gap_timeout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_button_autorepeat_gap_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_gap_timeout_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout___get__(((struct PyElementaryButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":187
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_button_autorepeat_gap_timeout_get(self.obj)
+ * def __set__(self, t):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout___get__(struct PyElementaryButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":188
+ * """
+ * def __get__(self):
+ * return elm_button_autorepeat_gap_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, t):
+ * elm_button_autorepeat_gap_timeout_set(self.obj, t)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_button_autorepeat_gap_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_gap_timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_t); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_t) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_2__set__(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_t));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":189
+ * def __get__(self):
+ * return elm_button_autorepeat_gap_timeout_get(self.obj)
+ * def __set__(self, t): # <<<<<<<<<<<<<<
+ * elm_button_autorepeat_gap_timeout_set(self.obj, t)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_2__set__(struct PyElementaryButton *__pyx_v_self, PyObject *__pyx_v_t) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":190
+ * return elm_button_autorepeat_gap_timeout_get(self.obj)
+ * def __set__(self, t):
+ * elm_button_autorepeat_gap_timeout_set(self.obj, t) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_t); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_button_autorepeat_gap_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Button.autorepeat_gap_timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_15callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_14callback_clicked_add[] = "The user clicked the button (press/release).";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_15callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[13]; __pyx_lineno = 192; __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[13]; __pyx_lineno = 192; __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("elementary.c_elementary.Button.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_14callback_clicked_add(((struct PyElementaryButton *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":192
+ * elm_button_autorepeat_gap_timeout_set(self.obj, t)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user clicked the button (press/release)."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_14callback_clicked_add(struct PyElementaryButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":194
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The user clicked the button (press/release)."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 194; __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[13]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Button.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_17callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_17callback_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_10elementary_12c_elementary_6Button_16callback_clicked_del(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":196
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_16callback_clicked_del(struct PyElementaryButton *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":197
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_repeated_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 197; __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[13]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Button.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_19callback_repeated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_18callback_repeated_add[] = "The user pressed the button without releasing it.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_19callback_repeated_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_repeated_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_repeated_add") < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 199; __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_repeated_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[13]; __pyx_lineno = 199; __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("elementary.c_elementary.Button.callback_repeated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_18callback_repeated_add(((struct PyElementaryButton *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":199
+ * self._callback_del("clicked", func)
+ *
+ * def callback_repeated_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user pressed the button without releasing it."""
+ * self._callback_add("repeated", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_18callback_repeated_add(struct PyElementaryButton *__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_repeated_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":201
+ * def callback_repeated_add(self, func, *args, **kwargs):
+ * """The user pressed the button without releasing it."""
+ * self._callback_add("repeated", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_repeated_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 201; __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[13]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__repeated));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__repeated));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__repeated));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Button.callback_repeated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_21callback_repeated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_21callback_repeated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_repeated_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_20callback_repeated_del(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":203
+ * self._callback_add("repeated", func, *args, **kwargs)
+ *
+ * def callback_repeated_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("repeated", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_20callback_repeated_del(struct PyElementaryButton *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_repeated_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":204
+ *
+ * def callback_repeated_del(self, func):
+ * self._callback_del("repeated", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_pressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 204; __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[13]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__repeated));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__repeated));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__repeated));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Button.callback_repeated_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_23callback_pressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_22callback_pressed_add[] = "The button was pressed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_23callback_pressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_pressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_pressed_add") < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 206; __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_pressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[13]; __pyx_lineno = 206; __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("elementary.c_elementary.Button.callback_pressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_22callback_pressed_add(((struct PyElementaryButton *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":206
+ * self._callback_del("repeated", func)
+ *
+ * def callback_pressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The button was pressed."""
+ * self._callback_add("pressed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_22callback_pressed_add(struct PyElementaryButton *__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_pressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":208
+ * def callback_pressed_add(self, func, *args, **kwargs):
+ * """The button was pressed."""
+ * self._callback_add("pressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_pressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 208; __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[13]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__pressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__pressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__pressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Button.callback_pressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_25callback_pressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_25callback_pressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_pressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_24callback_pressed_del(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":210
+ * self._callback_add("pressed", func, *args, **kwargs)
+ *
+ * def callback_pressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("pressed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_24callback_pressed_del(struct PyElementaryButton *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_pressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":211
+ *
+ * def callback_pressed_del(self, func):
+ * self._callback_del("pressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_unpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 211; __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[13]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__pressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__pressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__pressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Button.callback_pressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_27callback_unpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Button_26callback_unpressed_add[] = "The button was released after being pressed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_27callback_unpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_unpressed_add") < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 213; __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_unpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[13]; __pyx_lineno = 213; __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("elementary.c_elementary.Button.callback_unpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_26callback_unpressed_add(((struct PyElementaryButton *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":213
+ * self._callback_del("pressed", func)
+ *
+ * def callback_unpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The button was released after being pressed."""
+ * self._callback_add("unpressed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_26callback_unpressed_add(struct PyElementaryButton *__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_unpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":215
+ * def callback_unpressed_add(self, func, *args, **kwargs):
+ * """The button was released after being pressed."""
+ * self._callback_add("unpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 215; __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[13]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Button.callback_unpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_29callback_unpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Button_29callback_unpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Button_28callback_unpressed_del(((struct PyElementaryButton *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":217
+ * self._callback_add("unpressed", func, *args, **kwargs)
+ *
+ * def callback_unpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unpressed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Button_28callback_unpressed_del(struct PyElementaryButton *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":218
+ *
+ * def callback_unpressed_del(self, func):
+ * self._callback_del("unpressed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("button", Button)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 218; __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[13]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Button.callback_unpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_name = 0;
+ PyObject *__pyx_v_type = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__type,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__type);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 111; __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_name = values[0];
+ __pyx_v_type = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window___init__(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_name, __pyx_v_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":111
+ * """
+ *
+ * def __init__(self, name, type): # <<<<<<<<<<<<<<
+ * self._set_obj(elm_win_add(NULL, _cfruni(name), type))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window___init__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_type) {
+ Evas *__pyx_v_e;
+ struct PyEvasCanvas *__pyx_v_canvas = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Type __pyx_t_1;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":112
+ *
+ * def __init__(self, name, type):
+ * self._set_obj(elm_win_add(NULL, _cfruni(name), type)) # <<<<<<<<<<<<<<
+ *
+ * cdef Evas *e
+ */
+ __pyx_t_1 = ((Elm_Win_Type)PyInt_AsLong(__pyx_v_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Window *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_win_add(NULL, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_name), __pyx_t_1)); if (unlikely(__pyx_t_2 == 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":115
+ *
+ * cdef Evas *e
+ * e = evas_object_evas_get(self.obj) # <<<<<<<<<<<<<<
+ * canvas = Canvas_from_instance(e)
+ * evasObject.__init__(self, canvas)
+ */
+ __pyx_v_e = evas_object_evas_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":116
+ * cdef Evas *e
+ * e = evas_object_evas_get(self.obj)
+ * canvas = Canvas_from_instance(e) # <<<<<<<<<<<<<<
+ * evasObject.__init__(self, canvas)
+ *
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_f_4evas_6c_evas_Canvas_from_instance(__pyx_v_e)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_v_canvas = ((struct PyEvasCanvas *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":117
+ * e = evas_object_evas_get(self.obj)
+ * canvas = Canvas_from_instance(e)
+ * evasObject.__init__(self, canvas) # <<<<<<<<<<<<<<
+ *
+ * def resize_object_add(self, evasObject subobj):
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_canvas));
+ PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_v_canvas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_canvas));
+ __pyx_t_5 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_canvas);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_3resize_object_add(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_2resize_object_add[] = "resize_object_add(subobj)\n\n Add C{subobj} as a resize object of the window.\n\n Setting an object as a resize object of the window means that the\n C{subobj} child's size and position will be controlled by the window\n directly. That is, the object will be resized to match the window size\n and should never be moved or resized manually by the developer.\n\n In addition, resize objects of the window control what the minimum size\n of it will be, as well as whether it can or not be resized by the user.\n\n For the end user to be able to resize a window by dragging the handles\n or borders provided by the Window Manager, or using any other similar\n mechanism, all of the resize objects in the window should have their\n L{size_hint_weight_set()} set to EVAS_HINT_EXPAND.\n\n Also notice that the window can get resized to the current size of the\n object if the EVAS_HINT_EXPAND is set B{after} the call to\n resize_object_add(). So if the object should get resized to the\n size of the window, set this hint B{before} adding it as a resize object\n (this happens because the size of the window and the object are evaluated\n as soon as the object is added to the window).\n\n @param subobj: The resize object to add\n @type subobj: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_3resize_object_add(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("resize_object_add (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_2resize_object_add(((struct PyElementaryWindow *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_subobj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":119
+ * evasObject.__init__(self, canvas)
+ *
+ * def resize_object_add(self, evasObject subobj): # <<<<<<<<<<<<<<
+ * """resize_object_add(subobj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_2resize_object_add(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("resize_object_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":148
+ *
+ * """
+ * elm_win_resize_object_add(self.obj, subobj.obj) # <<<<<<<<<<<<<<
+ *
+ * def resize_object_del(self, evasObject subobj):
+ */
+ elm_win_resize_object_add(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_subobj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5resize_object_del(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_4resize_object_del[] = "resize_object_del(subobj)\n\n Delete C{subobj} as a resize object of the window.\n\n This function removes the object C{subobj} from the resize objects of\n the window. It will not delete the object itself, which will be\n left unmanaged and should be deleted by the developer, manually handled\n or set as child of some other container.\n\n @param subobj: The resize object to add\n @type subobj: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5resize_object_del(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("resize_object_del (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_4resize_object_del(((struct PyElementaryWindow *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_subobj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":150
+ * elm_win_resize_object_add(self.obj, subobj.obj)
+ *
+ * def resize_object_del(self, evasObject subobj): # <<<<<<<<<<<<<<
+ * """resize_object_del(subobj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_4resize_object_del(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("resize_object_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":164
+ *
+ * """
+ * elm_win_resize_object_del(self.obj, subobj.obj) # <<<<<<<<<<<<<<
+ *
+ * def title_set(self, title):
+ */
+ elm_win_resize_object_del(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_subobj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_7title_set(PyObject *__pyx_v_self, PyObject *__pyx_v_title); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_6title_set[] = "Set the title of the window.\n\n @param title: Title for the window\n @type title: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_7title_set(PyObject *__pyx_v_self, PyObject *__pyx_v_title) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("title_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6title_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_title));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":166
+ * elm_win_resize_object_del(self.obj, subobj.obj)
+ *
+ * def title_set(self, title): # <<<<<<<<<<<<<<
+ * """Set the title of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6title_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_title) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("title_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":173
+ *
+ * """
+ * elm_win_title_set(self.obj, _cfruni(title)) # <<<<<<<<<<<<<<
+ *
+ * def title_get(self):
+ */
+ elm_win_title_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_8title_get[] = "Get the title of the window\n\n @return: The title\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("title_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_8title_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":175
+ * elm_win_title_set(self.obj, _cfruni(title))
+ *
+ * def title_get(self): # <<<<<<<<<<<<<<
+ * """Get the title of the window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_8title_get(struct PyElementaryWindow *__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("title_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":182
+ *
+ * """
+ * return _ctouni(elm_win_title_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property title:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_title_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.title_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5title_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5title_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5title___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":190
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_win_title_get(self.obj))
+ * def __set__(self, title):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5title___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":191
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_win_title_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, title):
+ * elm_win_title_set(self.obj, _cfruni(title))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_title_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.title.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_5title_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_title); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_5title_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_title) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5title_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_title));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":192
+ * def __get__(self):
+ * return _ctouni(elm_win_title_get(self.obj))
+ * def __set__(self, title): # <<<<<<<<<<<<<<
+ * elm_win_title_set(self.obj, _cfruni(title))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_5title_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_title) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":193
+ * return _ctouni(elm_win_title_get(self.obj))
+ * def __set__(self, title):
+ * elm_win_title_set(self.obj, _cfruni(title)) # <<<<<<<<<<<<<<
+ *
+ * def icon_name_set(self, icon_name):
+ */
+ elm_win_title_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11icon_name_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_name); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_10icon_name_set[] = "Set the icon name of the window.\n\n @param icon_name: Icon name for the window\n @type icon_name: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11icon_name_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_name_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10icon_name_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_icon_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":195
+ * elm_win_title_set(self.obj, _cfruni(title))
+ *
+ * def icon_name_set(self, icon_name): # <<<<<<<<<<<<<<
+ * """Set the icon name of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10icon_name_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_icon_name) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_name_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":202
+ *
+ * """
+ * elm_win_icon_name_set(self.obj, _cfruni(icon_name)) # <<<<<<<<<<<<<<
+ *
+ * def icon_name_get(self):
+ */
+ elm_win_icon_name_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_name));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_13icon_name_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_12icon_name_get[] = "Get the icon name of the window\n\n @return: The icon name\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_13icon_name_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_name_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_12icon_name_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":204
+ * elm_win_icon_name_set(self.obj, _cfruni(icon_name))
+ *
+ * def icon_name_get(self): # <<<<<<<<<<<<<<
+ * """Get the icon name of the window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_12icon_name_get(struct PyElementaryWindow *__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("icon_name_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":211
+ *
+ * """
+ * return _ctouni(elm_win_icon_name_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property icon_name:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_icon_name_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.icon_name_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9icon_name_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9icon_name_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9icon_name___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":219
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_win_icon_name_get(self.obj))
+ * def __set__(self, icon_name):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9icon_name___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":220
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_win_icon_name_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, icon_name):
+ * elm_win_icon_name_set(self.obj, _cfruni(icon_name))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_icon_name_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.icon_name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_9icon_name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_name); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_9icon_name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_name) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9icon_name_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_icon_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":221
+ * def __get__(self):
+ * return _ctouni(elm_win_icon_name_get(self.obj))
+ * def __set__(self, icon_name): # <<<<<<<<<<<<<<
+ * elm_win_icon_name_set(self.obj, _cfruni(icon_name))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_9icon_name_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_icon_name) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":222
+ * return _ctouni(elm_win_icon_name_get(self.obj))
+ * def __set__(self, icon_name):
+ * elm_win_icon_name_set(self.obj, _cfruni(icon_name)) # <<<<<<<<<<<<<<
+ *
+ * def role_set(self, role):
+ */
+ elm_win_icon_name_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_name));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_15role_set(PyObject *__pyx_v_self, PyObject *__pyx_v_role); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_14role_set[] = "Set the role of the window.\n\n @param role: Role for the window\n @type role: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_15role_set(PyObject *__pyx_v_self, PyObject *__pyx_v_role) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("role_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_14role_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_role));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":224
+ * elm_win_icon_name_set(self.obj, _cfruni(icon_name))
+ *
+ * def role_set(self, role): # <<<<<<<<<<<<<<
+ * """Set the role of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_14role_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_role) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("role_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":231
+ *
+ * """
+ * elm_win_role_set(self.obj, _cfruni(role)) # <<<<<<<<<<<<<<
+ *
+ * def role_get(self):
+ */
+ elm_win_role_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_role));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_17role_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_16role_get[] = "Get the role of the window\n\n @return: The role\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_17role_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("role_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_16role_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":233
+ * elm_win_role_set(self.obj, _cfruni(role))
+ *
+ * def role_get(self): # <<<<<<<<<<<<<<
+ * """Get the role of the window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_16role_get(struct PyElementaryWindow *__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("role_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":240
+ *
+ * """
+ * return _ctouni(elm_win_role_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property role:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_role_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.role_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_4role_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_4role_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_4role___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":248
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_win_role_get(self.obj))
+ * def __set__(self, role):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_4role___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":249
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_win_role_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, role):
+ * elm_win_role_set(self.obj, _cfruni(role))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_role_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.role.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_4role_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_role); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_4role_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_role) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_4role_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_role));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":250
+ * def __get__(self):
+ * return _ctouni(elm_win_role_get(self.obj))
+ * def __set__(self, role): # <<<<<<<<<<<<<<
+ * elm_win_role_set(self.obj, _cfruni(role))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_4role_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_role) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":251
+ * return _ctouni(elm_win_role_get(self.obj))
+ * def __set__(self, role):
+ * elm_win_role_set(self.obj, _cfruni(role)) # <<<<<<<<<<<<<<
+ *
+ * def icon_object_set(self, evasObject icon):
+ */
+ elm_win_role_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_role));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_19icon_object_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_18icon_object_set[] = "Set the object to represent the window icon\n\n This sets an object that will be used as the icon for the window. The exact\n pixel dimensions of the object (not object size) will be used, and the\n image pixels will be used as-is when this function is called. If the\n image object has been updated, then call this function again to source\n the image pixels and put them on the window's icon. This has limitations\n as only image objects allowed at this stage. This may be lifted in future.\n\n @param icon: The object to use for an icon\n @type icon: L{Image}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_19icon_object_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_object_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_18icon_object_set(((struct PyElementaryWindow *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_icon));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":253
+ * elm_win_role_set(self.obj, _cfruni(role))
+ *
+ * def icon_object_set(self, evasObject icon): # <<<<<<<<<<<<<<
+ * """Set the object to represent the window icon
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_18icon_object_set(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_icon) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_object_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":267
+ *
+ * """
+ * elm_win_icon_object_set(self.obj, icon.obj) # <<<<<<<<<<<<<<
+ *
+ * def icon_object_get(self):
+ */
+ elm_win_icon_object_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_icon->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_21icon_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_20icon_object_get[] = "Get the icon object used for the window\n\n The object returns is the one marked by L{icon_object_set()} as the\n object to use for the window icon.\n\n @return: The icon object set\n @rtype: L{Image}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_21icon_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_20icon_object_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":269
+ * elm_win_icon_object_set(self.obj, icon.obj)
+ *
+ * def icon_object_get(self): # <<<<<<<<<<<<<<
+ * """Get the icon object used for the window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_20icon_object_get(struct PyElementaryWindow *__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("icon_object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":279
+ *
+ * """
+ * return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property icon_object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(((Evas_Object *)elm_win_icon_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.icon_object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11icon_object_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11icon_object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_11icon_object___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":295
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj))
+ * def __set__(self, evasObject icon):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_11icon_object___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":296
+ * """
+ * def __get__(self):
+ * return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, evasObject icon):
+ * elm_win_icon_object_set(self.obj, icon.obj)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(((Evas_Object *)elm_win_icon_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj)))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.icon_object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_11icon_object_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_11icon_object_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_11icon_object_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_icon));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":297
+ * def __get__(self):
+ * return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj))
+ * def __set__(self, evasObject icon): # <<<<<<<<<<<<<<
+ * elm_win_icon_object_set(self.obj, icon.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_11icon_object_2__set__(struct PyElementaryWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_icon) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":298
+ * return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj))
+ * def __set__(self, evasObject icon):
+ * elm_win_icon_object_set(self.obj, icon.obj) # <<<<<<<<<<<<<<
+ *
+ * def autodel_set(self, autodel):
+ */
+ elm_win_icon_object_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_icon->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_23autodel_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autodel); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_22autodel_set[] = "Set the window's autodel state.\n\n When closing the window in any way outside of the program control, like\n pressing the X button in the titlebar or using a command from the\n Window Manager, a \"delete,request\" signal is emitted to indicate that\n this event occurred and the developer can take any action, which may\n include, or not, destroying the window object.\n\n When the C{autodel} parameter is set, the window will be automatically\n destroyed when this event occurs, after the signal is emitted.\n If C{autodel} is C{False}, then the window will not be destroyed\n and is up to the program to do so when it's required.\n\n @param autodel: If true, the window will automatically delete itself\n when closed\n @type autodel: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_23autodel_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autodel) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autodel_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_22autodel_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_autodel));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":300
+ * elm_win_icon_object_set(self.obj, icon.obj)
+ *
+ * def autodel_set(self, autodel): # <<<<<<<<<<<<<<
+ * """Set the window's autodel state.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_22autodel_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_autodel) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autodel_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":319
+ *
+ * """
+ * elm_win_autodel_set(self.obj, autodel) # <<<<<<<<<<<<<<
+ *
+ * def autodel_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autodel); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_autodel_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.autodel_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_25autodel_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_24autodel_get[] = "Get the window's autodel state.\n\n @see: L{autodel_set()}\n\n @return: If the window will automatically delete itself when closed\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_25autodel_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autodel_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_24autodel_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":321
+ * elm_win_autodel_set(self.obj, autodel)
+ *
+ * def autodel_get(self): # <<<<<<<<<<<<<<
+ * """Get the window's autodel state.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_24autodel_get(struct PyElementaryWindow *__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("autodel_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":330
+ *
+ * """
+ * return elm_win_autodel_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property autodel:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_autodel_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.autodel_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_7autodel_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_7autodel_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_7autodel___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":349
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_autodel_get(self.obj)
+ * def __set__(self, autodel):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_7autodel___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":350
+ * """
+ * def __get__(self):
+ * return elm_win_autodel_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, autodel):
+ * elm_win_autodel_set(self.obj, autodel)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_autodel_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.autodel.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_7autodel_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autodel); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_7autodel_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autodel) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_7autodel_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_autodel));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":351
+ * def __get__(self):
+ * return elm_win_autodel_get(self.obj)
+ * def __set__(self, autodel): # <<<<<<<<<<<<<<
+ * elm_win_autodel_set(self.obj, autodel)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_7autodel_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_autodel) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":352
+ * return elm_win_autodel_get(self.obj)
+ * def __set__(self, autodel):
+ * elm_win_autodel_set(self.obj, autodel) # <<<<<<<<<<<<<<
+ *
+ * def activate(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autodel); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_autodel_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.autodel.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_27activate(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_26activate[] = "activate()\n\n Activate a window object.\n\n This function sends a request to the Window Manager to activate the\n window. If honored by the WM, the window will receive the keyboard\n focus.\n\n @note: This is just a request that a Window Manager may ignore, so\n calling this function does not ensure in any way that the window\n will be the active one after it.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_27activate(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("activate (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_26activate(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":354
+ * elm_win_autodel_set(self.obj, autodel)
+ *
+ * def activate(self): # <<<<<<<<<<<<<<
+ * """activate()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_26activate(struct PyElementaryWindow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("activate", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":368
+ *
+ * """
+ * elm_win_activate(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def lower(self):
+ */
+ elm_win_activate(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_29lower(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_28lower[] = "lower()\n\n Lower a window object.\n\n Places the window at the bottom of the stack, so that no other\n window is covered by it.\n\n If L{override_set()} is not set, the Window Manager may ignore this\n request.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_29lower(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("lower (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_28lower(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":370
+ * elm_win_activate(self.obj)
+ *
+ * def lower(self): # <<<<<<<<<<<<<<
+ * """lower()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_28lower(struct PyElementaryWindow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("lower", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":382
+ *
+ * """
+ * elm_win_lower(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def _raise(self):
+ */
+ elm_win_lower(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_31_raise(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_30_raise[] = "_raise()\n\n Raise a window object.\n\n Places the window at the top of the stack, so that it's not covered\n by any other window.\n\n If L{override_set()} is not set, the Window Manager may ignore this\n request.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_31_raise(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_raise (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_30_raise(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":384
+ * elm_win_lower(self.obj)
+ *
+ * def _raise(self): # <<<<<<<<<<<<<<
+ * """_raise()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_30_raise(struct PyElementaryWindow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_raise", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":396
+ *
+ * """
+ * elm_win_raise(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def center(self, h, v):
+ */
+ elm_win_raise(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_33center(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_32center[] = "center(h, v)\n\n Center a window on its screen\n\n This function centers window horizontally and/or vertically\n based on the values of C{h} and C{v}.\n\n @param h: If True, center horizontally. If False, do not change\n horizontal location.\n @type h: bool\n @param v: If True, center vertically. If False, do not change\n vertical location.\n @type v: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_33center(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h = 0;
+ PyObject *__pyx_v_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h,&__pyx_n_s__v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("center (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("center", 1, 2, 2, 1); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "center") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 398; __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("center", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.center", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_32center(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_h, __pyx_v_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":398
+ * elm_win_raise(self.obj)
+ *
+ * def center(self, h, v): # <<<<<<<<<<<<<<
+ * """center(h, v)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_32center(struct PyElementaryWindow *__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("center", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":414
+ *
+ * """
+ * elm_win_center(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * def borderless_set(self, borderless):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_center(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.center", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_35borderless_set(PyObject *__pyx_v_self, PyObject *__pyx_v_borderless); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_34borderless_set[] = "Set the borderless state of a window.\n\n This function requests the Window Manager to not draw any decoration\n around the window.\n\n @param borderless: If True, the window is borderless\n @type borderless: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_35borderless_set(PyObject *__pyx_v_self, PyObject *__pyx_v_borderless) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("borderless_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_34borderless_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_borderless));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":416
+ * elm_win_center(self.obj, h, v)
+ *
+ * def borderless_set(self, borderless): # <<<<<<<<<<<<<<
+ * """Set the borderless state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_34borderless_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_borderless) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("borderless_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":426
+ *
+ * """
+ * elm_win_borderless_set(self.obj, borderless) # <<<<<<<<<<<<<<
+ *
+ * def borderless_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_borderless); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_borderless_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.borderless_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_37borderless_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_36borderless_get[] = "Get the borderless state of a window.\n\n @return: If True, the window is borderless\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_37borderless_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("borderless_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_36borderless_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":428
+ * elm_win_borderless_set(self.obj, borderless)
+ *
+ * def borderless_get(self): # <<<<<<<<<<<<<<
+ * """Get the borderless state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_36borderless_get(struct PyElementaryWindow *__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("borderless_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":435
+ *
+ * """
+ * return bool(elm_win_borderless_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property borderless:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_borderless_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.borderless_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10borderless_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10borderless_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10borderless___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":446
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.borderless_get()
+ * def __set__(self, borderless):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10borderless___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":447
+ * """
+ * def __get__(self):
+ * return self.borderless_get() # <<<<<<<<<<<<<<
+ * def __set__(self, borderless):
+ * self.borderless_set(borderless)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__borderless_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 447; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Window.borderless.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_10borderless_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_borderless); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_10borderless_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_borderless) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10borderless_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_borderless));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":448
+ * def __get__(self):
+ * return self.borderless_get()
+ * def __set__(self, borderless): # <<<<<<<<<<<<<<
+ * self.borderless_set(borderless)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_10borderless_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_borderless) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":449
+ * return self.borderless_get()
+ * def __set__(self, borderless):
+ * self.borderless_set(borderless) # <<<<<<<<<<<<<<
+ *
+ * def shaped_set(self,shaped):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__borderless_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_borderless);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_borderless);
+ __Pyx_GIVEREF(__pyx_v_borderless);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Window.borderless.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_39shaped_set(PyObject *__pyx_v_self, PyObject *__pyx_v_shaped); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_38shaped_set[] = "Set the shaped state of a window.\n\n Shaped windows, when supported, will render the parts of the window that\n has no content, transparent.\n\n If C{shaped} is False, then it is strongly advised to have some\n background object or cover the entire window in any other way, or the\n parts of the canvas that have no data will show framebuffer artifacts.\n\n @see: L{alpha_set()}\n\n @param shaped: If true, the window is shaped\n @type shaped: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_39shaped_set(PyObject *__pyx_v_self, PyObject *__pyx_v_shaped) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("shaped_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_38shaped_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_shaped));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":451
+ * self.borderless_set(borderless)
+ *
+ * def shaped_set(self,shaped): # <<<<<<<<<<<<<<
+ * """Set the shaped state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_38shaped_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_shaped) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("shaped_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":467
+ *
+ * """
+ * elm_win_shaped_set(self.obj, shaped) # <<<<<<<<<<<<<<
+ *
+ * def shaped_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_shaped); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_shaped_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.shaped_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_41shaped_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_40shaped_get[] = "Get the shaped state of a window.\n\n @see: L{shaped_set()}\n\n @return: If true, the window is shaped\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_41shaped_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("shaped_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_40shaped_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":469
+ * elm_win_shaped_set(self.obj, shaped)
+ *
+ * def shaped_get(self): # <<<<<<<<<<<<<<
+ * """Get the shaped state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_40shaped_get(struct PyElementaryWindow *__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("shaped_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":478
+ *
+ * """
+ * return bool(elm_win_shaped_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property shaped:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_shaped_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.shaped_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6shaped_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6shaped_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6shaped___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":495
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_shaped_get(self.obj))
+ * def __set__(self, shaped):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6shaped___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":496
+ * """
+ * def __get__(self):
+ * return bool(elm_win_shaped_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, shaped):
+ * elm_win_shaped_set(self.obj, shaped)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_shaped_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.shaped.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_6shaped_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_shaped); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_6shaped_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_shaped) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6shaped_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_shaped));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":497
+ * def __get__(self):
+ * return bool(elm_win_shaped_get(self.obj))
+ * def __set__(self, shaped): # <<<<<<<<<<<<<<
+ * elm_win_shaped_set(self.obj, shaped)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_6shaped_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_shaped) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":498
+ * return bool(elm_win_shaped_get(self.obj))
+ * def __set__(self, shaped):
+ * elm_win_shaped_set(self.obj, shaped) # <<<<<<<<<<<<<<
+ *
+ * def alpha_set(self,alpha):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_shaped); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 498; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_shaped_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.shaped.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_43alpha_set(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_42alpha_set[] = "Set the alpha channel state of a window.\n\n If C{alpha} is True, the alpha channel of the canvas will be enabled\n possibly making parts of the window completely or partially\n transparent. This is also subject to the underlying system\n supporting it, like for example, running under a compositing\n manager. If no compositing is available, enabling this option will\n instead fallback to using shaped windows, with L{shaped_set()}.\n\n @param alpha: If True, the window has an alpha channel\n @type alpha: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_43alpha_set(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("alpha_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_42alpha_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_alpha));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":500
+ * elm_win_shaped_set(self.obj, shaped)
+ *
+ * def alpha_set(self,alpha): # <<<<<<<<<<<<<<
+ * """Set the alpha channel state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_42alpha_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("alpha_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":514
+ *
+ * """
+ * elm_win_alpha_set(self.obj, alpha) # <<<<<<<<<<<<<<
+ *
+ * def alpha_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_alpha); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_alpha_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.alpha_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_45alpha_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_44alpha_get[] = "Get the alpha channel state of a window.\n\n @return: If true, the window has an alpha channel\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_45alpha_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("alpha_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_44alpha_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":516
+ * elm_win_alpha_set(self.obj, alpha)
+ *
+ * def alpha_get(self): # <<<<<<<<<<<<<<
+ * """Get the alpha channel state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_44alpha_get(struct PyElementaryWindow *__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("alpha_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":523
+ *
+ * """
+ * return bool(elm_win_alpha_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property alpha:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_alpha_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.alpha_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5alpha_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5alpha_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5alpha___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":538
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_alpha_get(self.obj))
+ * def __set__(self, alpha):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5alpha___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":539
+ * """
+ * def __get__(self):
+ * return bool(elm_win_alpha_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, alpha):
+ * elm_win_alpha_set(self.obj, alpha)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_alpha_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.alpha.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_5alpha_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_5alpha_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5alpha_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_alpha));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":540
+ * def __get__(self):
+ * return bool(elm_win_alpha_get(self.obj))
+ * def __set__(self, alpha): # <<<<<<<<<<<<<<
+ * elm_win_alpha_set(self.obj, alpha)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_5alpha_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":541
+ * return bool(elm_win_alpha_get(self.obj))
+ * def __set__(self, alpha):
+ * elm_win_alpha_set(self.obj, alpha) # <<<<<<<<<<<<<<
+ *
+ * def override_set(self, override):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_alpha); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_alpha_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.alpha.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_47override_set(PyObject *__pyx_v_self, PyObject *__pyx_v_override); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_46override_set[] = "Set the override state of a window.\n\n A window with C{override} set to True will not be managed by the\n Window Manager. This means that no decorations of any kind will be\n shown for it, moving and resizing must be handled by the\n application, as well as the window visibility.\n\n This should not be used for normal windows, and even for not so\n normal ones, it should only be used when there's a good reason and\n with a lot of care. Mishandling override windows may result\n situations that disrupt the normal workflow of the end user.\n\n @param override: If true, the window is overridden\n @type override: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_47override_set(PyObject *__pyx_v_self, PyObject *__pyx_v_override) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("override_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_46override_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_override));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":543
+ * elm_win_alpha_set(self.obj, alpha)
+ *
+ * def override_set(self, override): # <<<<<<<<<<<<<<
+ * """Set the override state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_46override_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_override) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("override_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":560
+ *
+ * """
+ * elm_win_override_set(self.obj, override) # <<<<<<<<<<<<<<
+ *
+ * def override_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_override); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_override_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.override_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_49override_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_48override_get[] = "Get the override state of a window.\n\n @see: L{override_set()}\n\n @return: If true, the window is overridden\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_49override_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("override_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_48override_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":562
+ * elm_win_override_set(self.obj, override)
+ *
+ * def override_get(self): # <<<<<<<<<<<<<<
+ * """Get the override state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_48override_get(struct PyElementaryWindow *__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("override_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":571
+ *
+ * """
+ * return bool(elm_win_override_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property override:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_override_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.override_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_8override_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_8override_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_8override___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":589
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_override_get(self.obj))
+ * def __set__(self, override):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_8override___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":590
+ * """
+ * def __get__(self):
+ * return bool(elm_win_override_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, override):
+ * elm_win_override_set(self.obj, override)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_override_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.override.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_8override_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_override); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_8override_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_override) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_8override_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_override));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":591
+ * def __get__(self):
+ * return bool(elm_win_override_get(self.obj))
+ * def __set__(self, override): # <<<<<<<<<<<<<<
+ * elm_win_override_set(self.obj, override)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_8override_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_override) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":592
+ * return bool(elm_win_override_get(self.obj))
+ * def __set__(self, override):
+ * elm_win_override_set(self.obj, override) # <<<<<<<<<<<<<<
+ *
+ * def fullscreen_set(self, fullscreen):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_override); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_override_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.override.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_51fullscreen_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fullscreen); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_50fullscreen_set[] = "Set the window to fullscreen mode\n\n @param fullscreen: Fullscreen mode\n @type fullscreen: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_51fullscreen_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fullscreen) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("fullscreen_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_50fullscreen_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_fullscreen));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":594
+ * elm_win_override_set(self.obj, override)
+ *
+ * def fullscreen_set(self, fullscreen): # <<<<<<<<<<<<<<
+ * """Set the window to fullscreen mode
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_50fullscreen_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_fullscreen) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("fullscreen_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":601
+ *
+ * """
+ * elm_win_fullscreen_set(self.obj, fullscreen) # <<<<<<<<<<<<<<
+ *
+ * def fullscreen_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fullscreen); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_fullscreen_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.fullscreen_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_53fullscreen_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_52fullscreen_get[] = "Get the fullscreen state of a window.\n\n @return: If true, the window is fullscreen\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_53fullscreen_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("fullscreen_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_52fullscreen_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":603
+ * elm_win_fullscreen_set(self.obj, fullscreen)
+ *
+ * def fullscreen_get(self): # <<<<<<<<<<<<<<
+ * """Get the fullscreen state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_52fullscreen_get(struct PyElementaryWindow *__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("fullscreen_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":610
+ *
+ * """
+ * return bool(elm_win_fullscreen_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property fullscreen:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_fullscreen_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.fullscreen_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10fullscreen_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10fullscreen_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10fullscreen___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":618
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_fullscreen_get(self.obj))
+ * def __set__(self, fullscreen):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10fullscreen___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":619
+ * """
+ * def __get__(self):
+ * return bool(elm_win_fullscreen_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, fullscreen):
+ * elm_win_fullscreen_set(self.obj, fullscreen)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_fullscreen_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.fullscreen.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_10fullscreen_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fullscreen); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_10fullscreen_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fullscreen) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10fullscreen_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_fullscreen));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":620
+ * def __get__(self):
+ * return bool(elm_win_fullscreen_get(self.obj))
+ * def __set__(self, fullscreen): # <<<<<<<<<<<<<<
+ * elm_win_fullscreen_set(self.obj, fullscreen)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_10fullscreen_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_fullscreen) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":621
+ * return bool(elm_win_fullscreen_get(self.obj))
+ * def __set__(self, fullscreen):
+ * elm_win_fullscreen_set(self.obj, fullscreen) # <<<<<<<<<<<<<<
+ *
+ * def maximized_set(self, maximized):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fullscreen); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_fullscreen_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.fullscreen.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_55maximized_set(PyObject *__pyx_v_self, PyObject *__pyx_v_maximized); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_54maximized_set[] = "Set the maximized state of a window.\n\n @param maximized: Maximized state for the window\n @type maximized: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_55maximized_set(PyObject *__pyx_v_self, PyObject *__pyx_v_maximized) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("maximized_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_54maximized_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_maximized));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":623
+ * elm_win_fullscreen_set(self.obj, fullscreen)
+ *
+ * def maximized_set(self, maximized): # <<<<<<<<<<<<<<
+ * """Set the maximized state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_54maximized_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_maximized) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("maximized_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":630
+ *
+ * """
+ * elm_win_maximized_set(self.obj, maximized) # <<<<<<<<<<<<<<
+ *
+ * def maximized_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_maximized); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 630; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_maximized_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.maximized_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_57maximized_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_56maximized_get[] = "Get the maximized state of a window.\n\n @return: If true, the window is maximized\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_57maximized_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("maximized_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_56maximized_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":632
+ * elm_win_maximized_set(self.obj, maximized)
+ *
+ * def maximized_get(self): # <<<<<<<<<<<<<<
+ * """Get the maximized state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_56maximized_get(struct PyElementaryWindow *__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("maximized_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":639
+ *
+ * """
+ * return bool(elm_win_maximized_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property maximized:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_maximized_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.maximized_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9maximized_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9maximized_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9maximized___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":647
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_maximized_get(self.obj))
+ * def __set__(self, maximized):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9maximized___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":648
+ * """
+ * def __get__(self):
+ * return bool(elm_win_maximized_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, maximized):
+ * elm_win_maximized_set(self.obj, maximized)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_maximized_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.maximized.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_9maximized_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_maximized); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_9maximized_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_maximized) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9maximized_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_maximized));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":649
+ * def __get__(self):
+ * return bool(elm_win_maximized_get(self.obj))
+ * def __set__(self, maximized): # <<<<<<<<<<<<<<
+ * elm_win_maximized_set(self.obj, maximized)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_9maximized_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_maximized) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":650
+ * return bool(elm_win_maximized_get(self.obj))
+ * def __set__(self, maximized):
+ * elm_win_maximized_set(self.obj, maximized) # <<<<<<<<<<<<<<
+ *
+ * def iconified_set(self, iconified):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_maximized); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_maximized_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.maximized.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_59iconified_set(PyObject *__pyx_v_self, PyObject *__pyx_v_iconified); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_58iconified_set[] = "Set the iconified state of the window.\n\n @param iconified: iconified state\n @type iconified: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_59iconified_set(PyObject *__pyx_v_self, PyObject *__pyx_v_iconified) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("iconified_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_58iconified_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_iconified));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":652
+ * elm_win_maximized_set(self.obj, maximized)
+ *
+ * def iconified_set(self, iconified): # <<<<<<<<<<<<<<
+ * """Set the iconified state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_58iconified_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_iconified) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("iconified_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":659
+ *
+ * """
+ * elm_win_iconified_set(self.obj, iconified) # <<<<<<<<<<<<<<
+ *
+ * def iconified_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_iconified); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_iconified_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.iconified_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_61iconified_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_60iconified_get[] = "Get the iconified state of a window.\n\n @return: If true, the window is iconified\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_61iconified_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("iconified_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_60iconified_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":661
+ * elm_win_iconified_set(self.obj, iconified)
+ *
+ * def iconified_get(self): # <<<<<<<<<<<<<<
+ * """Get the iconified state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_60iconified_get(struct PyElementaryWindow *__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("iconified_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":668
+ *
+ * """
+ * return bool(elm_win_iconified_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property iconified:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_iconified_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.iconified_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9iconified_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9iconified_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9iconified___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":676
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_iconified_get(self.obj))
+ * def __set__(self, iconified):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9iconified___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":677
+ * """
+ * def __get__(self):
+ * return bool(elm_win_iconified_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, iconified):
+ * elm_win_iconified_set(self.obj, iconified)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_iconified_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.iconified.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_9iconified_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_iconified); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_9iconified_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_iconified) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9iconified_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_iconified));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":678
+ * def __get__(self):
+ * return bool(elm_win_iconified_get(self.obj))
+ * def __set__(self, iconified): # <<<<<<<<<<<<<<
+ * elm_win_iconified_set(self.obj, iconified)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_9iconified_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_iconified) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":679
+ * return bool(elm_win_iconified_get(self.obj))
+ * def __set__(self, iconified):
+ * elm_win_iconified_set(self.obj, iconified) # <<<<<<<<<<<<<<
+ *
+ * def withdrawn_set(self, withdrawn):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_iconified); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_iconified_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.iconified.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_63withdrawn_set(PyObject *__pyx_v_self, PyObject *__pyx_v_withdrawn); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_62withdrawn_set[] = "Set the withdrawn state of the window.\n\n @param withdrawn: withdrawn state\n @type withdrawn: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_63withdrawn_set(PyObject *__pyx_v_self, PyObject *__pyx_v_withdrawn) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("withdrawn_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_62withdrawn_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_withdrawn));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":681
+ * elm_win_iconified_set(self.obj, iconified)
+ *
+ * def withdrawn_set(self, withdrawn): # <<<<<<<<<<<<<<
+ * """Set the withdrawn state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_62withdrawn_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_withdrawn) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("withdrawn_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":688
+ *
+ * """
+ * elm_win_withdrawn_set(self.obj, withdrawn) # <<<<<<<<<<<<<<
+ *
+ * def withdrawn_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_withdrawn); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_withdrawn_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.withdrawn_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_65withdrawn_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_64withdrawn_get[] = "Get the withdrawn state of a window.\n\n @return: If true, the window is withdrawn\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_65withdrawn_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("withdrawn_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_64withdrawn_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":690
+ * elm_win_withdrawn_set(self.obj, withdrawn)
+ *
+ * def withdrawn_get(self): # <<<<<<<<<<<<<<
+ * """Get the withdrawn state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_64withdrawn_get(struct PyElementaryWindow *__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("withdrawn_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":697
+ *
+ * """
+ * return bool(elm_win_withdrawn_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property withdrawn:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_withdrawn_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.withdrawn_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9withdrawn_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9withdrawn_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9withdrawn___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":705
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_withdrawn_get(self.obj))
+ * def __set__(self, withdrawn):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9withdrawn___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":706
+ * """
+ * def __get__(self):
+ * return bool(elm_win_withdrawn_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, withdrawn):
+ * elm_win_withdrawn_set(self.obj, withdrawn)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_withdrawn_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.withdrawn.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_9withdrawn_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_withdrawn); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_9withdrawn_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_withdrawn) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9withdrawn_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_withdrawn));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":707
+ * def __get__(self):
+ * return bool(elm_win_withdrawn_get(self.obj))
+ * def __set__(self, withdrawn): # <<<<<<<<<<<<<<
+ * elm_win_withdrawn_set(self.obj, withdrawn)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_9withdrawn_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_withdrawn) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":708
+ * return bool(elm_win_withdrawn_get(self.obj))
+ * def __set__(self, withdrawn):
+ * elm_win_withdrawn_set(self.obj, withdrawn) # <<<<<<<<<<<<<<
+ *
+ * def urgent_set(self, urgent):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_withdrawn); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 708; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_withdrawn_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.withdrawn.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_67urgent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_urgent); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_66urgent_set[] = "Set the urgent state of the window.\n\n @param urgent: urgent state\n @type urgent: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_67urgent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_urgent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("urgent_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_66urgent_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_urgent));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":710
+ * elm_win_withdrawn_set(self.obj, withdrawn)
+ *
+ * def urgent_set(self, urgent): # <<<<<<<<<<<<<<
+ * """Set the urgent state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_66urgent_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_urgent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("urgent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":717
+ *
+ * """
+ * elm_win_urgent_set(self.obj, urgent) # <<<<<<<<<<<<<<
+ *
+ * def urgent_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_urgent); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_urgent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.urgent_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_69urgent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_68urgent_get[] = "Get the urgent state of a window.\n\n @return: If true, the window is urgent\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_69urgent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("urgent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_68urgent_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":719
+ * elm_win_urgent_set(self.obj, urgent)
+ *
+ * def urgent_get(self): # <<<<<<<<<<<<<<
+ * """Get the urgent state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_68urgent_get(struct PyElementaryWindow *__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("urgent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":726
+ *
+ * """
+ * return bool(elm_win_urgent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property urgent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_urgent_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 726; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 726; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 726; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.urgent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6urgent_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6urgent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6urgent___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":734
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_urgent_get(self.obj))
+ * def __set__(self, urgent):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6urgent___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":735
+ * """
+ * def __get__(self):
+ * return bool(elm_win_urgent_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, urgent):
+ * elm_win_urgent_set(self.obj, urgent)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_urgent_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 735; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.urgent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_6urgent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_urgent); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_6urgent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_urgent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6urgent_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_urgent));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":736
+ * def __get__(self):
+ * return bool(elm_win_urgent_get(self.obj))
+ * def __set__(self, urgent): # <<<<<<<<<<<<<<
+ * elm_win_urgent_set(self.obj, urgent)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_6urgent_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_urgent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":737
+ * return bool(elm_win_urgent_get(self.obj))
+ * def __set__(self, urgent):
+ * elm_win_urgent_set(self.obj, urgent) # <<<<<<<<<<<<<<
+ *
+ * def demand_attention_set(self, demand_attention):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_urgent); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_urgent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.urgent.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_71demand_attention_set(PyObject *__pyx_v_self, PyObject *__pyx_v_demand_attention); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_70demand_attention_set[] = "Set the demand attention state of the window.\n\n @param demand_attention: demand attention state\n @type demand_attention: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_71demand_attention_set(PyObject *__pyx_v_self, PyObject *__pyx_v_demand_attention) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("demand_attention_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_70demand_attention_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_demand_attention));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":739
+ * elm_win_urgent_set(self.obj, urgent)
+ *
+ * def demand_attention_set(self, demand_attention): # <<<<<<<<<<<<<<
+ * """Set the demand attention state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_70demand_attention_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_demand_attention) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("demand_attention_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":746
+ *
+ * """
+ * elm_win_demand_attention_set(self.obj, demand_attention) # <<<<<<<<<<<<<<
+ *
+ * def demand_attention_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_demand_attention); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 746; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_demand_attention_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.demand_attention_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_73demand_attention_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_72demand_attention_get[] = "Get the demand_attention state of a window.\n\n @return: If true, the window is demand_attention\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_73demand_attention_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("demand_attention_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_72demand_attention_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":748
+ * elm_win_demand_attention_set(self.obj, demand_attention)
+ *
+ * def demand_attention_get(self): # <<<<<<<<<<<<<<
+ * """Get the demand_attention state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_72demand_attention_get(struct PyElementaryWindow *__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("demand_attention_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":755
+ *
+ * """
+ * return bool(elm_win_demand_attention_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property demand_attention:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_demand_attention_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 755; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 755; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 755; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.demand_attention_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_16demand_attention_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_16demand_attention_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_16demand_attention___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":763
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_demand_attention_get(self.obj))
+ * def __set__(self, demand_attention):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_16demand_attention___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":764
+ * """
+ * def __get__(self):
+ * return bool(elm_win_demand_attention_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, demand_attention):
+ * elm_win_demand_attention_set(self.obj, demand_attention)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_demand_attention_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.demand_attention.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_16demand_attention_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_demand_attention); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_16demand_attention_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_demand_attention) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_16demand_attention_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_demand_attention));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":765
+ * def __get__(self):
+ * return bool(elm_win_demand_attention_get(self.obj))
+ * def __set__(self, demand_attention): # <<<<<<<<<<<<<<
+ * elm_win_demand_attention_set(self.obj, demand_attention)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_16demand_attention_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_demand_attention) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":766
+ * return bool(elm_win_demand_attention_get(self.obj))
+ * def __set__(self, demand_attention):
+ * elm_win_demand_attention_set(self.obj, demand_attention) # <<<<<<<<<<<<<<
+ *
+ * def modal_set(self, modal):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_demand_attention); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_demand_attention_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.demand_attention.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_75modal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_modal); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_74modal_set[] = "Set the Modal state of the window.\n\n @param modal: Modal state\n @type modal: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_75modal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_modal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("modal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_74modal_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_modal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":768
+ * elm_win_demand_attention_set(self.obj, demand_attention)
+ *
+ * def modal_set(self, modal): # <<<<<<<<<<<<<<
+ * """Set the Modal state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_74modal_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_modal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("modal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":775
+ *
+ * """
+ * elm_win_modal_set(self.obj, modal) # <<<<<<<<<<<<<<
+ *
+ * def modal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_modal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_modal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.modal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_77modal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_76modal_get[] = "Get the modal state of a window.\n\n @return: If true, the window is modal\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_77modal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("modal_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_76modal_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":777
+ * elm_win_modal_set(self.obj, modal)
+ *
+ * def modal_get(self): # <<<<<<<<<<<<<<
+ * """Get the modal state of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_76modal_get(struct PyElementaryWindow *__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("modal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":784
+ *
+ * """
+ * return bool(elm_win_modal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property modal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_modal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.modal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5modal_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5modal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5modal___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":792
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_modal_get(self.obj))
+ * def __set__(self, modal):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5modal___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":793
+ * """
+ * def __get__(self):
+ * return bool(elm_win_modal_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, modal):
+ * elm_win_modal_set(self.obj, modal)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_modal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.modal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_5modal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_modal); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_5modal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_modal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5modal_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_modal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":794
+ * def __get__(self):
+ * return bool(elm_win_modal_get(self.obj))
+ * def __set__(self, modal): # <<<<<<<<<<<<<<
+ * elm_win_modal_set(self.obj, modal)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_5modal_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_modal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":795
+ * return bool(elm_win_modal_get(self.obj))
+ * def __set__(self, modal):
+ * elm_win_modal_set(self.obj, modal) # <<<<<<<<<<<<<<
+ *
+ * def aspect_set(self, aspect):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_modal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 795; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_modal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.modal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_79aspect_set(PyObject *__pyx_v_self, PyObject *__pyx_v_aspect); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_78aspect_set[] = "Set the aspect ratio of a window.\n\n @param aspect: If 0, the window has no aspect limits, otherwise it is width divided by height\n @type aspect: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_79aspect_set(PyObject *__pyx_v_self, PyObject *__pyx_v_aspect) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("aspect_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_78aspect_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_aspect));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":797
+ * elm_win_modal_set(self.obj, modal)
+ *
+ * def aspect_set(self, aspect): # <<<<<<<<<<<<<<
+ * """Set the aspect ratio of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_78aspect_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_aspect) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("aspect_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":804
+ *
+ * """
+ * elm_win_aspect_set(self.obj, aspect) # <<<<<<<<<<<<<<
+ *
+ * def aspect_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_aspect); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 804; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_aspect_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.aspect_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_81aspect_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_80aspect_get[] = "Get the aspect ratio of a window.\n\n @return: The aspect ratio set (0 by default)\n @rtype: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_81aspect_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("aspect_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_80aspect_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":806
+ * elm_win_aspect_set(self.obj, aspect)
+ *
+ * def aspect_get(self): # <<<<<<<<<<<<<<
+ * """Get the aspect ratio of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_80aspect_get(struct PyElementaryWindow *__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("aspect_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":813
+ *
+ * """
+ * return elm_win_aspect_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property aspect:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_win_aspect_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 813; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.aspect_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6aspect_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6aspect_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6aspect___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":824
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_aspect_get(self.obj)
+ * def __set__(self, aspect):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6aspect___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":825
+ * """
+ * def __get__(self):
+ * return elm_win_aspect_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, aspect):
+ * elm_win_aspect_set(self.obj, aspect)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_win_aspect_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 825; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.aspect.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_6aspect_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_aspect); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_6aspect_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_aspect) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6aspect_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_aspect));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":826
+ * def __get__(self):
+ * return elm_win_aspect_get(self.obj)
+ * def __set__(self, aspect): # <<<<<<<<<<<<<<
+ * elm_win_aspect_set(self.obj, aspect)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_6aspect_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_aspect) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":827
+ * return elm_win_aspect_get(self.obj)
+ * def __set__(self, aspect):
+ * elm_win_aspect_set(self.obj, aspect) # <<<<<<<<<<<<<<
+ *
+ * property size_base:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_aspect); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_aspect_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.aspect.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_9size_base_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_9size_base_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9size_base___set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":839
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * w, h = value
+ * elm_win_size_base_set(self.obj, w, h)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_9size_base___set__(struct PyElementaryWindow *__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 *);
+ int __pyx_t_5;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":840
+ * """
+ * def __set__(self, value):
+ * w, h = value # <<<<<<<<<<<<<<
+ * elm_win_size_base_set(self.obj, w, h)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[14]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[14]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 840; __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[14]; __pyx_lineno = 840; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[14]; __pyx_lineno = 840; __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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":841
+ * def __set__(self, value):
+ * w, h = value
+ * elm_win_size_base_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_5 = __Pyx_PyInt_AsInt(__pyx_v_w); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_v_h); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 841; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_size_base_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Window.size_base.__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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9size_base_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9size_base_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9size_base_2__get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":843
+ * elm_win_size_base_set(self.obj, w, h)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int w, h
+ * elm_win_size_base_get(self.obj, &w, &h)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9size_base_2__get__(struct PyElementaryWindow *__pyx_v_self) {
+ int __pyx_v_w;
+ int __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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":845
+ * def __get__(self):
+ * cdef int w, h
+ * elm_win_size_base_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_win_size_base_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":846
+ * cdef int w, h
+ * elm_win_size_base_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property size_step:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 846; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 846; __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[14]; __pyx_lineno = 846; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.size_base.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_9size_step_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_9size_step_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9size_step___set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":858
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * w, h = value
+ * elm_win_size_step_set(self.obj, w, h)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_9size_step___set__(struct PyElementaryWindow *__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 *);
+ int __pyx_t_5;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":859
+ * """
+ * def __set__(self, value):
+ * w, h = value # <<<<<<<<<<<<<<
+ * elm_win_size_step_set(self.obj, w, h)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[14]; __pyx_lineno = 859; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[14]; __pyx_lineno = 859; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 859; __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[14]; __pyx_lineno = 859; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[14]; __pyx_lineno = 859; __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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":860
+ * def __set__(self, value):
+ * w, h = value
+ * elm_win_size_step_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_5 = __Pyx_PyInt_AsInt(__pyx_v_w); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_v_h); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_size_step_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Window.size_step.__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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9size_step_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_9size_step_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_9size_step_2__get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":862
+ * elm_win_size_step_set(self.obj, w, h)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int w, h
+ * elm_win_size_step_get(self.obj, &w, &h)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_9size_step_2__get__(struct PyElementaryWindow *__pyx_v_self) {
+ int __pyx_v_w;
+ int __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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":864
+ * def __get__(self):
+ * cdef int w, h
+ * elm_win_size_step_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_win_size_step_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":865
+ * cdef int w, h
+ * elm_win_size_step_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * def layer_set(self, layer):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 865; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 865; __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[14]; __pyx_lineno = 865; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.size_step.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_83layer_set(PyObject *__pyx_v_self, PyObject *__pyx_v_layer); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_82layer_set[] = "Set the layer of the window.\n\n What this means exactly will depend on the underlying engine used.\n\n In the case of X11 backed engines, the value in C{layer} has the\n following meanings:\n - < 3: The window will be placed below all others.\n - > 5: The window will be placed above all others.\n - other: The window will be placed in the default layer.\n\n @param layer: The layer of the window\n @type layer: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_83layer_set(PyObject *__pyx_v_self, PyObject *__pyx_v_layer) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("layer_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_82layer_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_layer));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":867
+ * return (w, h)
+ *
+ * def layer_set(self, layer): # <<<<<<<<<<<<<<
+ * """Set the layer of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_82layer_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_layer) {
+ 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("layer_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":882
+ *
+ * """
+ * elm_win_layer_set(self.obj, layer) # <<<<<<<<<<<<<<
+ *
+ * def layer_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_layer); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 882; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_layer_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.layer_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_85layer_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_84layer_get[] = "Get the layer of the window.\n\n @see: L{layer_set()}\n\n @return: The layer of the window\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_85layer_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("layer_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_84layer_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":884
+ * elm_win_layer_set(self.obj, layer)
+ *
+ * def layer_get(self): # <<<<<<<<<<<<<<
+ * """Get the layer of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_84layer_get(struct PyElementaryWindow *__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("layer_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":893
+ *
+ * """
+ * return elm_win_layer_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property layer:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_layer_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.layer_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5layer_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5layer_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5layer___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":909
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_layer_get(self.obj)
+ * def __set__(self, layer):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5layer___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":910
+ * """
+ * def __get__(self):
+ * return elm_win_layer_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, layer):
+ * elm_win_layer_set(self.obj, layer)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_layer_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 910; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.layer.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_5layer_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layer); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_5layer_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layer) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5layer_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_layer));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":911
+ * def __get__(self):
+ * return elm_win_layer_get(self.obj)
+ * def __set__(self, layer): # <<<<<<<<<<<<<<
+ * elm_win_layer_set(self.obj, layer)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_5layer_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_layer) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":912
+ * return elm_win_layer_get(self.obj)
+ * def __set__(self, layer):
+ * elm_win_layer_set(self.obj, layer) # <<<<<<<<<<<<<<
+ *
+ * def rotation_set(self, rotation):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_layer); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 912; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_layer_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.layer.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_87rotation_set(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_86rotation_set[] = "Set the rotation of the window.\n\n Most engines only work with multiples of 90.\n\n This function is used to set the orientation of the window to match\n that of the screen. The window itself will be resized to adjust to\n the new geometry of its contents. If you want to keep the window\n size, see L{rotation_with_resize_set()}.\n\n @param rotation: The rotation of the window, in degrees (0-360),\n counter-clockwise.\n @type rotation: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_87rotation_set(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("rotation_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_86rotation_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_rotation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":914
+ * elm_win_layer_set(self.obj, layer)
+ *
+ * def rotation_set(self, rotation): # <<<<<<<<<<<<<<
+ * """Set the rotation of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_86rotation_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ 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("rotation_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":929
+ *
+ * """
+ * elm_win_rotation_set(self.obj, rotation) # <<<<<<<<<<<<<<
+ *
+ * def rotation_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_rotation); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 929; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_rotation_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.rotation_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_89rotation_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_88rotation_get[] = "Get the rotation of the window.\n\n @see: L{rotation_set()}\n @see: L{rotation_with_resize_set()}\n\n @return: The rotation of the window in degrees (0-360)\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_89rotation_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("rotation_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_88rotation_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":931
+ * elm_win_rotation_set(self.obj, rotation)
+ *
+ * def rotation_get(self): # <<<<<<<<<<<<<<
+ * """Get the rotation of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_88rotation_get(struct PyElementaryWindow *__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("rotation_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":941
+ *
+ * """
+ * return elm_win_rotation_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property rotation:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_rotation_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.rotation_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_8rotation_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_8rotation_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_8rotation___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":956
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_rotation_get(self.obj)
+ * def __set__(self, rotation):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_8rotation___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":957
+ * """
+ * def __get__(self):
+ * return elm_win_rotation_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, rotation):
+ * elm_win_rotation_set(self.obj, rotation)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_rotation_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 957; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.rotation.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_8rotation_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_8rotation_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_8rotation_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_rotation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":958
+ * def __get__(self):
+ * return elm_win_rotation_get(self.obj)
+ * def __set__(self, rotation): # <<<<<<<<<<<<<<
+ * elm_win_rotation_set(self.obj, rotation)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_8rotation_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":959
+ * return elm_win_rotation_get(self.obj)
+ * def __set__(self, rotation):
+ * elm_win_rotation_set(self.obj, rotation) # <<<<<<<<<<<<<<
+ *
+ * def rotation_with_resize_set(self, rotation):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_rotation); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 959; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_rotation_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.rotation.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_91rotation_with_resize_set(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_90rotation_with_resize_set[] = "Rotates the window and resizes it.\n\n Like L{rotation_set()}, but it also resizes the window's contents so\n that they fit inside the current window geometry.\n\n @param rotation: The rotation of the window in degrees (0-360),\n counter-clockwise.\n @type rotation: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_91rotation_with_resize_set(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("rotation_with_resize_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_90rotation_with_resize_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_rotation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":961
+ * elm_win_rotation_set(self.obj, rotation)
+ *
+ * def rotation_with_resize_set(self, rotation): # <<<<<<<<<<<<<<
+ * """Rotates the window and resizes it.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_90rotation_with_resize_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ 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("rotation_with_resize_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":972
+ *
+ * """
+ * elm_win_rotation_set(self.obj, rotation) # <<<<<<<<<<<<<<
+ *
+ * property rotation_with_resize:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_rotation); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_rotation_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.rotation_with_resize_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_20rotation_with_resize_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_20rotation_with_resize_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_20rotation_with_resize___set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_rotation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":983
+ *
+ * """
+ * def __set__(self, rotation): # <<<<<<<<<<<<<<
+ * elm_win_rotation_set(self.obj, rotation)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_20rotation_with_resize___set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_rotation) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":984
+ * """
+ * def __set__(self, rotation):
+ * elm_win_rotation_set(self.obj, rotation) # <<<<<<<<<<<<<<
+ *
+ * def sticky_set(self, sticky):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_rotation); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_rotation_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.rotation_with_resize.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_93sticky_set(PyObject *__pyx_v_self, PyObject *__pyx_v_sticky); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_92sticky_set[] = "Set the Sticky state of the window.\n\n @param sticky: Sticky state\n @type sticky: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_93sticky_set(PyObject *__pyx_v_self, PyObject *__pyx_v_sticky) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("sticky_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_92sticky_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_sticky));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":986
+ * elm_win_rotation_set(self.obj, rotation)
+ *
+ * def sticky_set(self, sticky): # <<<<<<<<<<<<<<
+ * """Set the Sticky state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_92sticky_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_sticky) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("sticky_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":993
+ *
+ * """
+ * elm_win_sticky_set(self.obj, sticky) # <<<<<<<<<<<<<<
+ *
+ * def sticky_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_sticky); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 993; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_sticky_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.sticky_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_95sticky_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_94sticky_get[] = "Get the sticky state of the window.\n\n @see: L{sticky_set()}\n\n @return: If true, the window's sticky state is enabled\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_95sticky_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("sticky_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_94sticky_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":995
+ * elm_win_sticky_set(self.obj, sticky)
+ *
+ * def sticky_get(self): # <<<<<<<<<<<<<<
+ * """Get the sticky state of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_94sticky_get(struct PyElementaryWindow *__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("sticky_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1004
+ *
+ * """
+ * return bool(elm_win_sticky_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property sticky:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_sticky_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1004; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1004; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1004; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.sticky_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6sticky_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_6sticky_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6sticky___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1012
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_sticky_get(self.obj))
+ * def __set__(self, sticky):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_6sticky___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1013
+ * """
+ * def __get__(self):
+ * return bool(elm_win_sticky_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, sticky):
+ * elm_win_sticky_set(self.obj, sticky)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_sticky_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.sticky.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_6sticky_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_sticky); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_6sticky_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_sticky) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_6sticky_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_sticky));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1014
+ * def __get__(self):
+ * return bool(elm_win_sticky_get(self.obj))
+ * def __set__(self, sticky): # <<<<<<<<<<<<<<
+ * elm_win_sticky_set(self.obj, sticky)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_6sticky_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_sticky) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1015
+ * return bool(elm_win_sticky_get(self.obj))
+ * def __set__(self, sticky):
+ * elm_win_sticky_set(self.obj, sticky) # <<<<<<<<<<<<<<
+ *
+ * def conformant_set(self, conformant):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_sticky); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1015; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_sticky_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.sticky.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_97conformant_set(PyObject *__pyx_v_self, PyObject *__pyx_v_conformant); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_96conformant_set[] = "Set if this window is an illume conformant window.\n\n @param conformant: Conformant state\n @type conformant: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_97conformant_set(PyObject *__pyx_v_self, PyObject *__pyx_v_conformant) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("conformant_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_96conformant_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_conformant));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1017
+ * elm_win_sticky_set(self.obj, sticky)
+ *
+ * def conformant_set(self, conformant): # <<<<<<<<<<<<<<
+ * """Set if this window is an illume conformant window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_96conformant_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_conformant) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("conformant_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1024
+ *
+ * """
+ * elm_win_conformant_set(self.obj, conformant) # <<<<<<<<<<<<<<
+ *
+ * def conformant_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_conformant); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_conformant_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.conformant_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_99conformant_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_98conformant_get[] = "Get if this window is an illume conformant window\n\n @return: A boolean if this window is illume conformant or not\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_99conformant_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("conformant_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_98conformant_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1026
+ * elm_win_conformant_set(self.obj, conformant)
+ *
+ * def conformant_get(self): # <<<<<<<<<<<<<<
+ * """Get if this window is an illume conformant window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_98conformant_get(struct PyElementaryWindow *__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("conformant_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1033
+ *
+ * """
+ * return bool(elm_win_conformant_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property conformant:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_conformant_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.conformant_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10conformant_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10conformant_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10conformant___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1041
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_conformant_get(self.obj))
+ * def __set__(self, conformant):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10conformant___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1042
+ * """
+ * def __get__(self):
+ * return bool(elm_win_conformant_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, conformant):
+ * elm_win_conformant_set(self.obj, conformant)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_conformant_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.conformant.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_10conformant_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_conformant); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_10conformant_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_conformant) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10conformant_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_conformant));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1043
+ * def __get__(self):
+ * return bool(elm_win_conformant_get(self.obj))
+ * def __set__(self, conformant): # <<<<<<<<<<<<<<
+ * elm_win_conformant_set(self.obj, conformant)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_10conformant_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_conformant) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1044
+ * return bool(elm_win_conformant_get(self.obj))
+ * def __set__(self, conformant):
+ * elm_win_conformant_set(self.obj, conformant) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_set(self, quickpanel):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_conformant); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1044; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_conformant_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.conformant.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_101quickpanel_set(PyObject *__pyx_v_self, PyObject *__pyx_v_quickpanel); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_100quickpanel_set[] = "Set a window to be an illume quickpanel window.\n\n @param quickpanel: The quickpanel flag (True = quickpanel, False =\n normal window)\n @type quickpanel: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_101quickpanel_set(PyObject *__pyx_v_self, PyObject *__pyx_v_quickpanel) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_100quickpanel_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_quickpanel));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1046
+ * elm_win_conformant_set(self.obj, conformant)
+ *
+ * def quickpanel_set(self, quickpanel): # <<<<<<<<<<<<<<
+ * """Set a window to be an illume quickpanel window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_100quickpanel_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_quickpanel) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("quickpanel_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1054
+ *
+ * """
+ * elm_win_quickpanel_set(self.obj, quickpanel) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_quickpanel); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_103quickpanel_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_102quickpanel_get[] = "Get if this window is a quickpanel or not\n\n @return: A boolean if this window is a quickpanel or not\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_103quickpanel_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_102quickpanel_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1056
+ * elm_win_quickpanel_set(self.obj, quickpanel)
+ *
+ * def quickpanel_get(self): # <<<<<<<<<<<<<<
+ * """Get if this window is a quickpanel or not
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_102quickpanel_get(struct PyElementaryWindow *__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("quickpanel_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1063
+ *
+ * """
+ * return bool(elm_win_quickpanel_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property quickpanel:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_quickpanel_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.quickpanel_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10quickpanel_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_10quickpanel_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10quickpanel___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1071
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_quickpanel_get(self.obj))
+ * def __set__(self, quickpanel):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_10quickpanel___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1072
+ * """
+ * def __get__(self):
+ * return bool(elm_win_quickpanel_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, quickpanel):
+ * elm_win_quickpanel_set(self.obj, quickpanel)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_quickpanel_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.quickpanel.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_10quickpanel_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_quickpanel); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_10quickpanel_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_quickpanel) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_10quickpanel_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_quickpanel));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1073
+ * def __get__(self):
+ * return bool(elm_win_quickpanel_get(self.obj))
+ * def __set__(self, quickpanel): # <<<<<<<<<<<<<<
+ * elm_win_quickpanel_set(self.obj, quickpanel)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_10quickpanel_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_quickpanel) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1074
+ * return bool(elm_win_quickpanel_get(self.obj))
+ * def __set__(self, quickpanel):
+ * elm_win_quickpanel_set(self.obj, quickpanel) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_priority_major_set(self, priority):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_quickpanel); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1074; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_105quickpanel_priority_major_set(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_104quickpanel_priority_major_set[] = "Set the major priority of a quickpanel window.\n\n @param priority: The major priority of this quickpanel\n @type priority: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_105quickpanel_priority_major_set(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_priority_major_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_104quickpanel_priority_major_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1076
+ * elm_win_quickpanel_set(self.obj, quickpanel)
+ *
+ * def quickpanel_priority_major_set(self, priority): # <<<<<<<<<<<<<<
+ * """Set the major priority of a quickpanel window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_104quickpanel_priority_major_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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("quickpanel_priority_major_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1083
+ *
+ * """
+ * elm_win_quickpanel_priority_major_set(self.obj, priority) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_priority_major_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_priority_major_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_major_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_107quickpanel_priority_major_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_106quickpanel_priority_major_get[] = "Get the major priority of a quickpanel window\n\n @return: The major priority of this quickpanel\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_107quickpanel_priority_major_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_priority_major_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_106quickpanel_priority_major_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1085
+ * elm_win_quickpanel_priority_major_set(self.obj, priority)
+ *
+ * def quickpanel_priority_major_get(self): # <<<<<<<<<<<<<<
+ * """Get the major priority of a quickpanel window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_106quickpanel_priority_major_get(struct PyElementaryWindow *__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("quickpanel_priority_major_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1092
+ *
+ * """
+ * return elm_win_quickpanel_priority_major_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property quickpanel_priority_major:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_quickpanel_priority_major_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1092; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_major_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_major_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_major_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_major___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1100
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_quickpanel_priority_major_get(self.obj)
+ * def __set__(self, priority):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_major___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1101
+ * """
+ * def __get__(self):
+ * return elm_win_quickpanel_priority_major_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, priority):
+ * elm_win_quickpanel_priority_major_set(self.obj, priority)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_quickpanel_priority_major_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_major.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_major_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_major_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_major_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1102
+ * def __get__(self):
+ * return elm_win_quickpanel_priority_major_get(self.obj)
+ * def __set__(self, priority): # <<<<<<<<<<<<<<
+ * elm_win_quickpanel_priority_major_set(self.obj, priority)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_major_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1103
+ * return elm_win_quickpanel_priority_major_get(self.obj)
+ * def __set__(self, priority):
+ * elm_win_quickpanel_priority_major_set(self.obj, priority) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_priority_minor_set(self, priority):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_priority_major_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_major.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_109quickpanel_priority_minor_set(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_108quickpanel_priority_minor_set[] = "Set the minor priority of a quickpanel window.\n\n @param priority: The minor priority of this quickpanel\n @type priority: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_109quickpanel_priority_minor_set(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_priority_minor_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_108quickpanel_priority_minor_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1105
+ * elm_win_quickpanel_priority_major_set(self.obj, priority)
+ *
+ * def quickpanel_priority_minor_set(self, priority): # <<<<<<<<<<<<<<
+ * """Set the minor priority of a quickpanel window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_108quickpanel_priority_minor_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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("quickpanel_priority_minor_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1112
+ *
+ * """
+ * elm_win_quickpanel_priority_minor_set(self.obj, priority) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_priority_minor_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_priority_minor_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_minor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_111quickpanel_priority_minor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_110quickpanel_priority_minor_get[] = "Get the minor priority of a quickpanel window\n\n @return: The minor priority of this quickpanel\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_111quickpanel_priority_minor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_priority_minor_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_110quickpanel_priority_minor_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1114
+ * elm_win_quickpanel_priority_minor_set(self.obj, priority)
+ *
+ * def quickpanel_priority_minor_get(self): # <<<<<<<<<<<<<<
+ * """Get the minor priority of a quickpanel window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_110quickpanel_priority_minor_get(struct PyElementaryWindow *__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("quickpanel_priority_minor_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1121
+ *
+ * """
+ * return elm_win_quickpanel_priority_minor_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property quickpanel_priority_minor:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_quickpanel_priority_minor_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_minor_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_minor___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1129
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_quickpanel_priority_minor_get(self.obj)
+ * def __set__(self, priority):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_minor___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1130
+ * """
+ * def __get__(self):
+ * return elm_win_quickpanel_priority_minor_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, priority):
+ * elm_win_quickpanel_priority_minor_set(self.obj, priority)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_quickpanel_priority_minor_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_minor.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1131
+ * def __get__(self):
+ * return elm_win_quickpanel_priority_minor_get(self.obj)
+ * def __set__(self, priority): # <<<<<<<<<<<<<<
+ * elm_win_quickpanel_priority_minor_set(self.obj, priority)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1132
+ * return elm_win_quickpanel_priority_minor_get(self.obj)
+ * def __set__(self, priority):
+ * elm_win_quickpanel_priority_minor_set(self.obj, priority) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_zone_set(self, zone):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_priority_minor_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_priority_minor.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_113quickpanel_zone_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zone); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_112quickpanel_zone_set[] = "Set which zone this quickpanel should appear in.\n\n @param zone: The requested zone for this quickpanel\n @type zone: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_113quickpanel_zone_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zone) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_zone_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_112quickpanel_zone_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_zone));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1134
+ * elm_win_quickpanel_priority_minor_set(self.obj, priority)
+ *
+ * def quickpanel_zone_set(self, zone): # <<<<<<<<<<<<<<
+ * """Set which zone this quickpanel should appear in.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_112quickpanel_zone_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_zone) {
+ 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("quickpanel_zone_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1141
+ *
+ * """
+ * elm_win_quickpanel_zone_set(self.obj, zone) # <<<<<<<<<<<<<<
+ *
+ * def quickpanel_zone_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zone); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_zone_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_zone_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_115quickpanel_zone_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_114quickpanel_zone_get[] = "Get which zone this quickpanel should appear in\n\n @return: The requested zone for this quickpanel\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_115quickpanel_zone_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("quickpanel_zone_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_114quickpanel_zone_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1143
+ * elm_win_quickpanel_zone_set(self.obj, zone)
+ *
+ * def quickpanel_zone_get(self): # <<<<<<<<<<<<<<
+ * """Get which zone this quickpanel should appear in
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_114quickpanel_zone_get(struct PyElementaryWindow *__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("quickpanel_zone_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1150
+ *
+ * """
+ * return elm_win_quickpanel_zone_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property quickpanel_zone:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_quickpanel_zone_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_zone_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_15quickpanel_zone_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_15quickpanel_zone_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_15quickpanel_zone___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1158
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_quickpanel_zone_get(self.obj)
+ * def __set__(self, zone):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_15quickpanel_zone___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1159
+ * """
+ * def __get__(self):
+ * return elm_win_quickpanel_zone_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, zone):
+ * elm_win_quickpanel_zone_set(self.obj, zone)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_quickpanel_zone_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_zone.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_15quickpanel_zone_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_zone); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_15quickpanel_zone_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_zone) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_15quickpanel_zone_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_zone));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1160
+ * def __get__(self):
+ * return elm_win_quickpanel_zone_get(self.obj)
+ * def __set__(self, zone): # <<<<<<<<<<<<<<
+ * elm_win_quickpanel_zone_set(self.obj, zone)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_15quickpanel_zone_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_zone) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1161
+ * return elm_win_quickpanel_zone_get(self.obj)
+ * def __set__(self, zone):
+ * elm_win_quickpanel_zone_set(self.obj, zone) # <<<<<<<<<<<<<<
+ *
+ * def prop_focus_skip_set(self, skip):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zone); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_quickpanel_zone_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.quickpanel_zone.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_117prop_focus_skip_set(PyObject *__pyx_v_self, PyObject *__pyx_v_skip); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_116prop_focus_skip_set[] = "Set the window to be skipped by keyboard focus\n\n This sets the window to be skipped by normal keyboard input. This\n means a window manager will be asked to not focus this window as\n well as omit it from things like the taskbar, pager, \"alt-tab\" list\n etc. etc.\n\n Call this and enable it on a window BEFORE you show it for the first\n time, otherwise it may have no effect.\n\n Use this for windows that have only output information or might only\n be interacted with by the mouse or fingers, and never for typing\n input. Be careful that this may have side-effects like making the\n window non-accessible in some cases unless the window is specially\n handled. Use this with care.\n\n @param skip: The skip flag state (True if it is to be skipped)\n @type skip: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_117prop_focus_skip_set(PyObject *__pyx_v_self, PyObject *__pyx_v_skip) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prop_focus_skip_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_116prop_focus_skip_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_skip));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1163
+ * elm_win_quickpanel_zone_set(self.obj, zone)
+ *
+ * def prop_focus_skip_set(self, skip): # <<<<<<<<<<<<<<
+ * """Set the window to be skipped by keyboard focus
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_116prop_focus_skip_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_skip) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("prop_focus_skip_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1184
+ *
+ * """
+ * elm_win_prop_focus_skip_set(self.obj, skip) # <<<<<<<<<<<<<<
+ *
+ * property focus_skip_set:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_skip); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_prop_focus_skip_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.prop_focus_skip_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_14focus_skip_set_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_skip); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_14focus_skip_set_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_skip) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_14focus_skip_set___set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_skip));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1206
+ *
+ * """
+ * def __set__(self, skip): # <<<<<<<<<<<<<<
+ * elm_win_prop_focus_skip_set(self.obj, skip)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_14focus_skip_set___set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_skip) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1207
+ * """
+ * def __set__(self, skip):
+ * elm_win_prop_focus_skip_set(self.obj, skip) # <<<<<<<<<<<<<<
+ *
+ * def illume_command_send(self, command, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_skip); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_prop_focus_skip_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.focus_skip_set.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_119illume_command_send(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_118illume_command_send[] = "illume_command_send(command, params)\n\n Send a command to the windowing environment\n\n This is intended to work in touchscreen or small screen device\n environments where there is a more simplistic window management\n policy in place. This uses the window object indicated to select\n which part of the environment to control (the part that this window\n lives in), and provides a command and an optional parameter\n structure (use None for this if not needed).\n\n @param command: The command to send\n @type command: Elm_Illume_Command\n @param params: Optional parameters for the command\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_119illume_command_send(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_command = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__command,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("illume_command_send (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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__command);
+ if (likely(values[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, "illume_command_send") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1209; __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_command = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("illume_command_send", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1209; __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("elementary.c_elementary.Window.illume_command_send", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_118illume_command_send(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_command, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1209
+ * elm_win_prop_focus_skip_set(self.obj, skip)
+ *
+ * def illume_command_send(self, command, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """illume_command_send(command, params)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_118illume_command_send(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_command, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_params = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Illume_Command __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("illume_command_send", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1226
+ *
+ * """
+ * params = (args, kwargs) # <<<<<<<<<<<<<<
+ * elm_win_illume_command_send(self.obj, command, params)
+ *
+ */
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_params = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1227
+ * """
+ * params = (args, kwargs)
+ * elm_win_illume_command_send(self.obj, command, params) # <<<<<<<<<<<<<<
+ *
+ * def inlined_image_object_get(self):
+ */
+ __pyx_t_2 = ((Elm_Illume_Command)PyInt_AsLong(__pyx_v_command)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_illume_command_send(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_2, ((PyObject *)__pyx_v_params));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.illume_command_send", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_121inlined_image_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_120inlined_image_object_get[] = "Get the inlined image object handle\n\n When you create a window of type ELM_WIN_INLINED_IMAGE, then the\n window is in fact an evas image object inlined in the parent canvas.\n You can get this object (be careful to not manipulate it as it is\n under control of elementary), and use it to do things like get pixel\n data, save the image to a file, etc.\n\n @return: The inlined image object, or None if none exists\n @rtype: evasObject\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_121inlined_image_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inlined_image_object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_120inlined_image_object_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1229
+ * elm_win_illume_command_send(self.obj, command, params)
+ *
+ * def inlined_image_object_get(self): # <<<<<<<<<<<<<<
+ * """Get the inlined image object handle
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_120inlined_image_object_get(struct PyElementaryWindow *__pyx_v_self) {
+ struct PyEvasImage *__pyx_v_img = 0;
+ Evas_Object *__pyx_v_obj;
+ 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("inlined_image_object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1242
+ *
+ * """
+ * cdef evasImage img = evasImage() # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ * img.obj = obj
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_Image)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_img = ((struct PyEvasImage *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1243
+ * """
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj) # <<<<<<<<<<<<<<
+ * img.obj = obj
+ * return img
+ */
+ __pyx_v_obj = elm_win_inlined_image_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1244
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ * img.obj = obj # <<<<<<<<<<<<<<
+ * return img
+ *
+ */
+ __pyx_v_img->__pyx_base.obj = __pyx_v_obj;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1245
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ * img.obj = obj
+ * return img # <<<<<<<<<<<<<<
+ *
+ * property inlined_image_object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_img));
+ __pyx_r = ((PyObject *)__pyx_v_img);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.inlined_image_object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_img);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_20inlined_image_object_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_20inlined_image_object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_20inlined_image_object___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1259
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_20inlined_image_object___get__(struct PyElementaryWindow *__pyx_v_self) {
+ struct PyEvasImage *__pyx_v_img = 0;
+ Evas_Object *__pyx_v_obj;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1260
+ * """
+ * def __get__(self):
+ * cdef evasImage img = evasImage() # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ * img.obj = obj
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_Image)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_img = ((struct PyEvasImage *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1261
+ * def __get__(self):
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj) # <<<<<<<<<<<<<<
+ * img.obj = obj
+ * return img
+ */
+ __pyx_v_obj = elm_win_inlined_image_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1262
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ * img.obj = obj # <<<<<<<<<<<<<<
+ * return img
+ *
+ */
+ __pyx_v_img->__pyx_base.obj = __pyx_v_obj;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1263
+ * cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ * img.obj = obj
+ * return img # <<<<<<<<<<<<<<
+ *
+ * def focus_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_img));
+ __pyx_r = ((PyObject *)__pyx_v_img);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.inlined_image_object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_img);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_123focus_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_122focus_get[] = "Determine whether a window has focus\n\n @return: True if the window exists and has focus, else False\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_123focus_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_122focus_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1265
+ * return img
+ *
+ * def focus_get(self): # <<<<<<<<<<<<<<
+ * """Determine whether a window has focus
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_122focus_get(struct PyElementaryWindow *__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("focus_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1272
+ *
+ * """
+ * return bool(elm_win_focus_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property focus:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_focus_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.focus_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5focus_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_5focus_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_5focus___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1280
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_focus_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_5focus___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1281
+ * """
+ * def __get__(self):
+ * return bool(elm_win_focus_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def screen_constrain_set(self, constrain):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_focus_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.focus.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_125screen_constrain_set(PyObject *__pyx_v_self, PyObject *__pyx_v_constrain); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_124screen_constrain_set[] = "Constrain the maximum width and height of a window to the width\n and height of its screen\n\n When C{constrain} is true, the window will never resize larger than\n the screen.\n\n @param constrain: True to restrict the window's maximum size, False\n to disable restriction\n @type constrain: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_125screen_constrain_set(PyObject *__pyx_v_self, PyObject *__pyx_v_constrain) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("screen_constrain_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_124screen_constrain_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_constrain));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1283
+ * return bool(elm_win_focus_get(self.obj))
+ *
+ * def screen_constrain_set(self, constrain): # <<<<<<<<<<<<<<
+ * """Constrain the maximum width and height of a window to the width
+ * and height of its screen
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_124screen_constrain_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_constrain) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("screen_constrain_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1295
+ *
+ * """
+ * elm_win_screen_constrain_set(self.obj, constrain) # <<<<<<<<<<<<<<
+ *
+ * def screen_constrain_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_constrain); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_screen_constrain_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.screen_constrain_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_127screen_constrain_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_126screen_constrain_get[] = "Retrieve the constraints on the maximum width and height of a\n window relative to the width and height of its screen\n\n When this function returns true, the window will never resize larger\n than the screen.\n\n @return: True to restrict the window's maximum size, False to\n disable restriction\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_127screen_constrain_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("screen_constrain_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_126screen_constrain_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1297
+ * elm_win_screen_constrain_set(self.obj, constrain)
+ *
+ * def screen_constrain_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve the constraints on the maximum width and height of a
+ * window relative to the width and height of its screen
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_126screen_constrain_get(struct PyElementaryWindow *__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("screen_constrain_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1309
+ *
+ * """
+ * return bool(elm_win_screen_constrain_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property screen_constrain:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_screen_constrain_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.screen_constrain_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_16screen_constrain_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_16screen_constrain_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_16screen_constrain___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1321
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_screen_constrain_get(self.obj))
+ * def __set__(self, constrain):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_16screen_constrain___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1322
+ * """
+ * def __get__(self):
+ * return bool(elm_win_screen_constrain_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, constrain):
+ * elm_win_screen_constrain_set(self.obj, constrain)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_screen_constrain_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.screen_constrain.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_16screen_constrain_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_constrain); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_16screen_constrain_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_constrain) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_16screen_constrain_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_constrain));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1323
+ * def __get__(self):
+ * return bool(elm_win_screen_constrain_get(self.obj))
+ * def __set__(self, constrain): # <<<<<<<<<<<<<<
+ * elm_win_screen_constrain_set(self.obj, constrain)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_16screen_constrain_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_constrain) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1324
+ * return bool(elm_win_screen_constrain_get(self.obj))
+ * def __set__(self, constrain):
+ * elm_win_screen_constrain_set(self.obj, constrain) # <<<<<<<<<<<<<<
+ *
+ * def screen_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_constrain); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_screen_constrain_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.screen_constrain.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_129screen_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_128screen_size_get[] = "Get screen geometry details for the screen that a window is on\n\n @return: Coordinates X and Y, and the width and height\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_129screen_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("screen_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_128screen_size_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1326
+ * elm_win_screen_constrain_set(self.obj, constrain)
+ *
+ * def screen_size_get(self): # <<<<<<<<<<<<<<
+ * """Get screen geometry details for the screen that a window is on
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_128screen_size_get(struct PyElementaryWindow *__pyx_v_self) {
+ int __pyx_v_x;
+ int __pyx_v_y;
+ int __pyx_v_w;
+ int __pyx_v_h;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("screen_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1334
+ * """
+ * cdef int x, y, w, h
+ * elm_win_screen_size_get(self.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_win_screen_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1335
+ * cdef int x, y, w, h
+ * elm_win_screen_size_get(self.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * property screen_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.screen_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11screen_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11screen_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_11screen_size___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1343
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int x, y, w, h
+ * elm_win_screen_size_get(self.obj, &x, &y, &w, &h)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_11screen_size___get__(struct PyElementaryWindow *__pyx_v_self) {
+ int __pyx_v_x;
+ int __pyx_v_y;
+ int __pyx_v_w;
+ int __pyx_v_h;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1345
+ * def __get__(self):
+ * cdef int x, y, w, h
+ * elm_win_screen_size_get(self.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_win_screen_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1346
+ * cdef int x, y, w, h
+ * elm_win_screen_size_get(self.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_enabled_set(self, enabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.screen_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_131focus_highlight_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_130focus_highlight_enabled_set[] = "Set the enabled status for the focus highlight in a window\n\n This function will enable or disable the focus highlight only for the\n given window, regardless of the global setting for it\n\n @param enabled: The enabled value for the highlight\n @type enabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_131focus_highlight_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_enabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_130focus_highlight_enabled_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1348
+ * return (x, y, w, h)
+ *
+ * def focus_highlight_enabled_set(self, enabled): # <<<<<<<<<<<<<<
+ * """Set the enabled status for the focus highlight in a window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_130focus_highlight_enabled_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("focus_highlight_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1358
+ *
+ * """
+ * elm_win_focus_highlight_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_enabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_focus_highlight_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.focus_highlight_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_133focus_highlight_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_132focus_highlight_enabled_get[] = "Get the enabled value of the focus highlight for this window\n\n @return: True if enabled, False otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_133focus_highlight_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_132focus_highlight_enabled_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1360
+ * elm_win_focus_highlight_enabled_set(self.obj, enabled)
+ *
+ * def focus_highlight_enabled_get(self): # <<<<<<<<<<<<<<
+ * """Get the enabled value of the focus highlight for this window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_132focus_highlight_enabled_get(struct PyElementaryWindow *__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("focus_highlight_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1367
+ *
+ * """
+ * return bool(elm_win_focus_highlight_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property focus_highlight_enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_focus_highlight_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.focus_highlight_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_23focus_highlight_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_23focus_highlight_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_23focus_highlight_enabled___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1378
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_focus_highlight_enabled_get(self.obj))
+ * def __set__(self, enabled):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_23focus_highlight_enabled___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1379
+ * """
+ * def __get__(self):
+ * return bool(elm_win_focus_highlight_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, enabled):
+ * elm_win_focus_highlight_enabled_set(self.obj, enabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_focus_highlight_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.focus_highlight_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_23focus_highlight_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_23focus_highlight_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_23focus_highlight_enabled_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1380
+ * def __get__(self):
+ * return bool(elm_win_focus_highlight_enabled_get(self.obj))
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_win_focus_highlight_enabled_set(self.obj, enabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_23focus_highlight_enabled_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1381
+ * return bool(elm_win_focus_highlight_enabled_get(self.obj))
+ * def __set__(self, enabled):
+ * elm_win_focus_highlight_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_style_set(self, style):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_focus_highlight_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.focus_highlight_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_135focus_highlight_style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_134focus_highlight_style_set[] = "Set the style for the focus highlight on this window\n\n Sets the style to use for theming the highlight of focused objects on\n the given window. If C{style} is None, the default will be used.\n\n @param style: The style to set\n @type style: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_135focus_highlight_style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_style_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_134focus_highlight_style_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1383
+ * elm_win_focus_highlight_enabled_set(self.obj, enabled)
+ *
+ * def focus_highlight_style_set(self, style): # <<<<<<<<<<<<<<
+ * """Set the style for the focus highlight on this window
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_134focus_highlight_style_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1393
+ *
+ * """
+ * elm_win_focus_highlight_style_set(self.obj, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def focus_highlight_style_get(self):
+ */
+ elm_win_focus_highlight_style_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_137focus_highlight_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_136focus_highlight_style_get[] = "Get the style set for the focus highlight object\n\n Gets the style set for this windows highlight object, or None if none\n is set.\n\n @return: The style set or None if none was set. Default is used in\n that case.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_137focus_highlight_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("focus_highlight_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_136focus_highlight_style_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1395
+ * elm_win_focus_highlight_style_set(self.obj, _cfruni(style))
+ *
+ * def focus_highlight_style_get(self): # <<<<<<<<<<<<<<
+ * """Get the style set for the focus highlight object
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_136focus_highlight_style_get(struct PyElementaryWindow *__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("focus_highlight_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1406
+ *
+ * """
+ * return _ctouni(elm_win_focus_highlight_style_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property focus_highlight_style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_focus_highlight_style_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.focus_highlight_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_21focus_highlight_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_21focus_highlight_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_21focus_highlight_style___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1417
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_win_focus_highlight_style_get(self.obj))
+ * def __set__(self, style):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_21focus_highlight_style___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1418
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_win_focus_highlight_style_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, style):
+ * elm_win_focus_highlight_style_set(self.obj, _cfruni(style))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_win_focus_highlight_style_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.focus_highlight_style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_21focus_highlight_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_21focus_highlight_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_10elementary_12c_elementary_6Window_21focus_highlight_style_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1419
+ * def __get__(self):
+ * return _ctouni(elm_win_focus_highlight_style_get(self.obj))
+ * def __set__(self, style): # <<<<<<<<<<<<<<
+ * elm_win_focus_highlight_style_set(self.obj, _cfruni(style))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_21focus_highlight_style_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_style) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1420
+ * return _ctouni(elm_win_focus_highlight_style_get(self.obj))
+ * def __set__(self, style):
+ * elm_win_focus_highlight_style_set(self.obj, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def keyboard_mode_set(self, mode):
+ */
+ elm_win_focus_highlight_style_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_139keyboard_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_138keyboard_mode_set[] = "Sets the keyboard mode of the window.\n\n @param mode: The mode to set\n @type mode: Elm_Win_Keyboard_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_139keyboard_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("keyboard_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_138keyboard_mode_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1422
+ * elm_win_focus_highlight_style_set(self.obj, _cfruni(style))
+ *
+ * def keyboard_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Sets the keyboard mode of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_138keyboard_mode_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Keyboard_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("keyboard_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1429
+ *
+ * """
+ * elm_win_keyboard_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def keyboard_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Win_Keyboard_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_keyboard_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.keyboard_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_141keyboard_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_140keyboard_mode_get[] = "Gets the keyboard mode of the window.\n\n @return: The mode\n @rtype: Elm_Win_Keyboard_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_141keyboard_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("keyboard_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_140keyboard_mode_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1431
+ * elm_win_keyboard_mode_set(self.obj, mode)
+ *
+ * def keyboard_mode_get(self): # <<<<<<<<<<<<<<
+ * """Gets the keyboard mode of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_140keyboard_mode_get(struct PyElementaryWindow *__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("keyboard_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1438
+ *
+ * """
+ * return elm_win_keyboard_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property keyboard_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_keyboard_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1438; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.keyboard_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_13keyboard_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_13keyboard_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_13keyboard_mode___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1446
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_keyboard_mode_get(self.obj)
+ * def __set__(self, mode):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_13keyboard_mode___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1447
+ * """
+ * def __get__(self):
+ * return elm_win_keyboard_mode_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, mode):
+ * elm_win_keyboard_mode_set(self.obj, mode)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_keyboard_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.keyboard_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_13keyboard_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_13keyboard_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_10elementary_12c_elementary_6Window_13keyboard_mode_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1448
+ * def __get__(self):
+ * return elm_win_keyboard_mode_get(self.obj)
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_win_keyboard_mode_set(self.obj, mode)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_13keyboard_mode_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Keyboard_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1449
+ * return elm_win_keyboard_mode_get(self.obj)
+ * def __set__(self, mode):
+ * elm_win_keyboard_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def keyboard_win_set(self, is_keyboard):
+ */
+ __pyx_t_1 = ((Elm_Win_Keyboard_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_keyboard_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.keyboard_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_143keyboard_win_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_keyboard); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_142keyboard_win_set[] = "Sets whether the window is a keyboard.\n\n @param is_keyboard: If true, the window is a virtual keyboard\n @type is_keyboard: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_143keyboard_win_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_keyboard) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("keyboard_win_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_142keyboard_win_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_is_keyboard));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1451
+ * elm_win_keyboard_mode_set(self.obj, mode)
+ *
+ * def keyboard_win_set(self, is_keyboard): # <<<<<<<<<<<<<<
+ * """Sets whether the window is a keyboard.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_142keyboard_win_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_is_keyboard) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("keyboard_win_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1458
+ *
+ * """
+ * elm_win_keyboard_win_set(self.obj, is_keyboard) # <<<<<<<<<<<<<<
+ *
+ * def keyboard_win_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_keyboard); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_keyboard_win_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.keyboard_win_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_145keyboard_win_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_144keyboard_win_get[] = "Gets whether the window is a keyboard.\n\n @return: If the window is a virtual keyboard\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_145keyboard_win_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("keyboard_win_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_144keyboard_win_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1460
+ * elm_win_keyboard_win_set(self.obj, is_keyboard)
+ *
+ * def keyboard_win_get(self): # <<<<<<<<<<<<<<
+ * """Gets whether the window is a keyboard.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_144keyboard_win_get(struct PyElementaryWindow *__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("keyboard_win_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1467
+ *
+ * """
+ * return bool(elm_win_keyboard_win_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property keyboard_win:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_keyboard_win_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.keyboard_win_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_12keyboard_win_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_12keyboard_win_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_12keyboard_win___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1475
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_win_keyboard_win_get(self.obj))
+ * def __set__(self, is_keyboard):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_12keyboard_win___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1476
+ * """
+ * def __get__(self):
+ * return bool(elm_win_keyboard_win_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, is_keyboard):
+ * elm_win_keyboard_win_set(self.obj, is_keyboard)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_keyboard_win_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.keyboard_win.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_12keyboard_win_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_keyboard); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_12keyboard_win_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_keyboard) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_12keyboard_win_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_is_keyboard));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1477
+ * def __get__(self):
+ * return bool(elm_win_keyboard_win_get(self.obj))
+ * def __set__(self, is_keyboard): # <<<<<<<<<<<<<<
+ * elm_win_keyboard_win_set(self.obj, is_keyboard)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_12keyboard_win_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_is_keyboard) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1478
+ * return bool(elm_win_keyboard_win_get(self.obj))
+ * def __set__(self, is_keyboard):
+ * elm_win_keyboard_win_set(self.obj, is_keyboard) # <<<<<<<<<<<<<<
+ *
+ * def indicator_mode_set(self, mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_keyboard); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_keyboard_win_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.keyboard_win.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_147indicator_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_146indicator_mode_set[] = "Sets the indicator mode of the window.\n\n @param mode: The mode to set\n @type mode: Elm_Win_Indicator_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_147indicator_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_146indicator_mode_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1480
+ * elm_win_keyboard_win_set(self.obj, is_keyboard)
+ *
+ * def indicator_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Sets the indicator mode of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_146indicator_mode_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Indicator_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("indicator_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1487
+ *
+ * """
+ * elm_win_indicator_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def indicator_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Win_Indicator_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_indicator_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_149indicator_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_148indicator_mode_get[] = "Gets the indicator mode of the window.\n\n @return: The mode\n @rtype: Elm_Win_Indicator_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_149indicator_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_148indicator_mode_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1489
+ * elm_win_indicator_mode_set(self.obj, mode)
+ *
+ * def indicator_mode_get(self): # <<<<<<<<<<<<<<
+ * """Gets the indicator mode of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_148indicator_mode_get(struct PyElementaryWindow *__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("indicator_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1496
+ *
+ * """
+ * return elm_win_indicator_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property indicator_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_indicator_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_14indicator_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_14indicator_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_14indicator_mode___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1504
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_indicator_mode_get(self.obj)
+ * def __set__(self, mode):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_14indicator_mode___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1505
+ * """
+ * def __get__(self):
+ * return elm_win_indicator_mode_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, mode):
+ * elm_win_indicator_mode_set(self.obj, mode)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_indicator_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1505; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_14indicator_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_14indicator_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_10elementary_12c_elementary_6Window_14indicator_mode_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1506
+ * def __get__(self):
+ * return elm_win_indicator_mode_get(self.obj)
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_win_indicator_mode_set(self.obj, mode)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_14indicator_mode_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Indicator_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1507
+ * return elm_win_indicator_mode_get(self.obj)
+ * def __set__(self, mode):
+ * elm_win_indicator_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def indicator_opacity_set(self, mode):
+ */
+ __pyx_t_1 = ((Elm_Win_Indicator_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_indicator_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_151indicator_opacity_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_150indicator_opacity_set[] = "Sets the indicator opacity mode of the window.\n\n @param mode: The mode to set\n @type mode: Elm_Win_Indicator_Opacity_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_151indicator_opacity_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_opacity_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_150indicator_opacity_set(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1509
+ * elm_win_indicator_mode_set(self.obj, mode)
+ *
+ * def indicator_opacity_set(self, mode): # <<<<<<<<<<<<<<
+ * """Sets the indicator opacity mode of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_150indicator_opacity_set(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Indicator_Opacity_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("indicator_opacity_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1516
+ *
+ * """
+ * elm_win_indicator_opacity_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def indicator_opacity_get(self):
+ */
+ __pyx_t_1 = ((Elm_Win_Indicator_Opacity_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_indicator_opacity_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_opacity_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_153indicator_opacity_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_152indicator_opacity_get[] = "Gets the indicator opacity mode of the window.\n\n @return: The mode\n @rtype: Elm_Win_Indicator_Opacity_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_153indicator_opacity_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_opacity_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_152indicator_opacity_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1518
+ * elm_win_indicator_opacity_set(self.obj, mode)
+ *
+ * def indicator_opacity_get(self): # <<<<<<<<<<<<<<
+ * """Gets the indicator opacity mode of the window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_152indicator_opacity_get(struct PyElementaryWindow *__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("indicator_opacity_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1525
+ *
+ * """
+ * return elm_win_indicator_opacity_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property indicator_opacity:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_indicator_opacity_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_opacity_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_17indicator_opacity_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_17indicator_opacity_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_17indicator_opacity___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1533
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_win_indicator_opacity_get(self.obj)
+ * def __set__(self, mode):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_17indicator_opacity___get__(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1534
+ * """
+ * def __get__(self):
+ * return elm_win_indicator_opacity_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, mode):
+ * elm_win_indicator_opacity_set(self.obj, mode)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_win_indicator_opacity_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_opacity.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Window_17indicator_opacity_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Window_17indicator_opacity_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_17indicator_opacity_2__set__(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1535
+ * def __get__(self):
+ * return elm_win_indicator_opacity_get(self.obj)
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_win_indicator_opacity_set(self.obj, mode)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Window_17indicator_opacity_2__set__(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Win_Indicator_Opacity_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1536
+ * return elm_win_indicator_opacity_get(self.obj)
+ * def __set__(self, mode):
+ * elm_win_indicator_opacity_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def screen_position_get(self):
+ */
+ __pyx_t_1 = ((Elm_Win_Indicator_Opacity_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_win_indicator_opacity_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.indicator_opacity.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_155screen_position_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_154screen_position_get[] = "Get the screen position of a window.\n\n @return: X and Y coordinates\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_155screen_position_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("screen_position_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_154screen_position_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1538
+ * elm_win_indicator_opacity_set(self.obj, mode)
+ *
+ * def screen_position_get(self): # <<<<<<<<<<<<<<
+ * """Get the screen position of a window.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_154screen_position_get(struct PyElementaryWindow *__pyx_v_self) {
+ int __pyx_v_x;
+ 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("screen_position_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1546
+ * """
+ * cdef int x, y
+ * elm_win_screen_position_get(self.obj, &x, &y) # <<<<<<<<<<<<<<
+ * return (x, y)
+ *
+ */
+ elm_win_screen_position_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1547
+ * cdef int x, y
+ * elm_win_screen_position_get(self.obj, &x, &y)
+ * return (x, y) # <<<<<<<<<<<<<<
+ *
+ * property screen_position:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1547; __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[14]; __pyx_lineno = 1547; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.screen_position_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_15screen_position_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_15screen_position_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_15screen_position___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1555
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int x, y
+ * elm_win_screen_position_get(self.obj, &x, &y)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_15screen_position___get__(struct PyElementaryWindow *__pyx_v_self) {
+ int __pyx_v_x;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1557
+ * def __get__(self):
+ * cdef int x, y
+ * elm_win_screen_position_get(self.obj, &x, &y) # <<<<<<<<<<<<<<
+ * return (x, y)
+ *
+ */
+ elm_win_screen_position_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1558
+ * cdef int x, y
+ * elm_win_screen_position_get(self.obj, &x, &y)
+ * return (x, y) # <<<<<<<<<<<<<<
+ *
+ * def socket_listen(self, svcname, svcnum, svcsys):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1558; __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[14]; __pyx_lineno = 1558; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.screen_position.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_157socket_listen(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_156socket_listen[] = "socket_listen(svcname, svcnum, svcsys)\n\n Create a socket to provide the service for Plug widget\n\n @param svcname: The name of the service to be advertised. ensure that it is unique.\n @type svcname: string\n @param svcnum: A number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.\n @type svcnum: int\n @param svcsys: A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user id that created the service.\n @type svcsys: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_157socket_listen(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_svcname = 0;
+ PyObject *__pyx_v_svcnum = 0;
+ PyObject *__pyx_v_svcsys = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__svcname,&__pyx_n_s__svcnum,&__pyx_n_s__svcsys,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("socket_listen (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__svcname);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__svcnum);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("socket_listen", 1, 3, 3, 1); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1560; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__svcsys);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("socket_listen", 1, 3, 3, 2); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1560; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "socket_listen") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1560; __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_svcname = values[0];
+ __pyx_v_svcnum = values[1];
+ __pyx_v_svcsys = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("socket_listen", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1560; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Window.socket_listen", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_156socket_listen(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_svcname, __pyx_v_svcnum, __pyx_v_svcsys);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1560
+ * return (x, y)
+ *
+ * def socket_listen(self, svcname, svcnum, svcsys): # <<<<<<<<<<<<<<
+ * """socket_listen(svcname, svcnum, svcsys)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_156socket_listen(struct PyElementaryWindow *__pyx_v_self, PyObject *__pyx_v_svcname, PyObject *__pyx_v_svcnum, PyObject *__pyx_v_svcsys) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ Eina_Bool __pyx_t_2;
+ 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("socket_listen", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1573
+ *
+ * """
+ * return bool(elm_win_socket_listen(self.obj, _cfruni(svcname), svcnum, svcsys)) # <<<<<<<<<<<<<<
+ *
+ * def xwindow_xid_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_svcnum); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1573; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_svcsys); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1573; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_to_py_Eina_Bool(elm_win_socket_listen(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_svcname), __pyx_t_1, __pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1573; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1573; __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 = 0;
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1573; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.socket_listen", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_159xwindow_xid_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_158xwindow_xid_get[] = "Returns the X Window id.\n\n X Window id is a value of type long int which can be used in combination\n with some functions/objects in the ecore.x module.\n\n For example you can hide the mouse cursor with:\n import ecore.x\n xid = your_elm_win.xwindow_xid_get()\n xwin = ecore.x.Window_from_xid(xid)\n xwin.cursor_hide()\n\n @note: This is not portable at all. Works only under the X window system.\n\n @return: The X Window id.\n @rtype: long\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_159xwindow_xid_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("xwindow_xid_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_158xwindow_xid_get(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1575
+ * return bool(elm_win_socket_listen(self.obj, _cfruni(svcname), svcnum, svcsys))
+ *
+ * def xwindow_xid_get(self): # <<<<<<<<<<<<<<
+ * """Returns the X Window id.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_158xwindow_xid_get(struct PyElementaryWindow *__pyx_v_self) {
+ Ecore_X_Window __pyx_v_xwin;
+ 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("xwindow_xid_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1594
+ * """
+ * cdef Ecore_X_Window xwin
+ * xwin = elm_win_xwindow_get(self.obj) # <<<<<<<<<<<<<<
+ * return xwin
+ *
+ */
+ __pyx_v_xwin = elm_win_xwindow_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1595
+ * cdef Ecore_X_Window xwin
+ * xwin = elm_win_xwindow_get(self.obj)
+ * return xwin # <<<<<<<<<<<<<<
+ *
+ * property xwindow_xid:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Ecore_X_ID(__pyx_v_xwin); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.xwindow_xid_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11xwindow_xid_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_11xwindow_xid_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_11xwindow_xid___get__(((struct PyElementaryWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1615
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Ecore_X_Window xwin
+ * xwin = elm_win_xwindow_get(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_11xwindow_xid___get__(struct PyElementaryWindow *__pyx_v_self) {
+ Ecore_X_Window __pyx_v_xwin;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1617
+ * def __get__(self):
+ * cdef Ecore_X_Window xwin
+ * xwin = elm_win_xwindow_get(self.obj) # <<<<<<<<<<<<<<
+ * return xwin
+ *
+ */
+ __pyx_v_xwin = elm_win_xwindow_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1618
+ * cdef Ecore_X_Window xwin
+ * xwin = elm_win_xwindow_get(self.obj)
+ * return xwin # <<<<<<<<<<<<<<
+ *
+ * def callback_delete_request_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Ecore_X_ID(__pyx_v_xwin); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Window.xwindow_xid.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_161callback_delete_request_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_160callback_delete_request_add[] = "The user requested to close the window. See L{autodel_set()}.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_161callback_delete_request_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delete_request_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_delete_request_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1620; __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_delete_request_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1620; __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("elementary.c_elementary.Window.callback_delete_request_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_160callback_delete_request_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1620
+ * return xwin
+ *
+ * def callback_delete_request_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user requested to close the window. See L{autodel_set()}."""
+ * self._callback_add("delete,request", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_160callback_delete_request_add(struct PyElementaryWindow *__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_delete_request_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1622
+ * def callback_delete_request_add(self, func, *args, **kwargs):
+ * """The user requested to close the window. See L{autodel_set()}."""
+ * self._callback_add("delete,request", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_delete_request_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1622; __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[14]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_46));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_46));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_46));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_delete_request_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_163callback_delete_request_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_163callback_delete_request_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delete_request_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_162callback_delete_request_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1624
+ * self._callback_add("delete,request", func, *args, **kwargs)
+ *
+ * def callback_delete_request_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("delete,request", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_162callback_delete_request_del(struct PyElementaryWindow *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_delete_request_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1625
+ *
+ * def callback_delete_request_del(self, func):
+ * self._callback_del("delete,request", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_focus_in_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1625; __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[14]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_46));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_46));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_46));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_delete_request_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_165callback_focus_in_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_164callback_focus_in_add[] = "window got focus";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_165callback_focus_in_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_focus_in_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_focus_in_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1627; __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_focus_in_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1627; __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("elementary.c_elementary.Window.callback_focus_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_164callback_focus_in_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1627
+ * self._callback_del("delete,request", func)
+ *
+ * def callback_focus_in_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window got focus"""
+ * self._callback_add("focus,in", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_164callback_focus_in_add(struct PyElementaryWindow *__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_focus_in_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1629
+ * def callback_focus_in_add(self, func, *args, **kwargs):
+ * """window got focus"""
+ * self._callback_add("focus,in", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_focus_in_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1629; __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[14]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_47));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_47));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_47));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_focus_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_167callback_focus_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_167callback_focus_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_focus_in_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_166callback_focus_in_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1631
+ * self._callback_add("focus,in", func, *args, **kwargs)
+ *
+ * def callback_focus_in_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("focus,in", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_166callback_focus_in_del(struct PyElementaryWindow *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_focus_in_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1632
+ *
+ * def callback_focus_in_del(self, func):
+ * self._callback_del("focus,in", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_focus_out_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1632; __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[14]; __pyx_lineno = 1632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_47));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_47));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_47));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_focus_in_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_169callback_focus_out_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_168callback_focus_out_add[] = "window lost focus";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_169callback_focus_out_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_focus_out_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_focus_out_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1634; __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_focus_out_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1634; __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("elementary.c_elementary.Window.callback_focus_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_168callback_focus_out_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1634
+ * self._callback_del("focus,in", func)
+ *
+ * def callback_focus_out_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window lost focus"""
+ * self._callback_add("focus,out", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_168callback_focus_out_add(struct PyElementaryWindow *__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_focus_out_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1636
+ * def callback_focus_out_add(self, func, *args, **kwargs):
+ * """window lost focus"""
+ * self._callback_add("focus,out", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_focus_out_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1636; __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[14]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_48));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_48));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_48));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_focus_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_171callback_focus_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_171callback_focus_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_focus_out_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_170callback_focus_out_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1638
+ * self._callback_add("focus,out", func, *args, **kwargs)
+ *
+ * def callback_focus_out_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("focus,out")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_170callback_focus_out_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_focus_out_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1639
+ *
+ * def callback_focus_out_del(self, func):
+ * self._callback_del("focus,out") # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_49), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1639; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_focus_out_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_173callback_moved_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_172callback_moved_add[] = "window that holds the canvas was moved";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_173callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[14]; __pyx_lineno = 1641; __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[14]; __pyx_lineno = 1641; __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("elementary.c_elementary.Window.callback_moved_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_172callback_moved_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1641
+ * self._callback_del("focus,out")
+ *
+ * def callback_moved_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window that holds the canvas was moved"""
+ * self._callback_add("moved", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_172callback_moved_add(struct PyElementaryWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1643
+ * def callback_moved_add(self, func, *args, **kwargs):
+ * """window that holds the canvas was moved"""
+ * self._callback_add("moved", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1643; __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[14]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__moved));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__moved));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__moved));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_moved_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_175callback_moved_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_175callback_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_10elementary_12c_elementary_6Window_174callback_moved_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1645
+ * self._callback_add("moved", func, *args, **kwargs)
+ *
+ * def callback_moved_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("moved")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_174callback_moved_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_moved_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1646
+ *
+ * def callback_moved_del(self, func):
+ * self._callback_del("moved") # <<<<<<<<<<<<<<
+ *
+ * def callback_withdrawn_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_50), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1646; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_moved_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_177callback_withdrawn_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_176callback_withdrawn_add[] = "window is still managed normally but removed from view";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_177callback_withdrawn_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_withdrawn_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_withdrawn_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1648; __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_withdrawn_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1648; __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("elementary.c_elementary.Window.callback_withdrawn_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_176callback_withdrawn_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1648
+ * self._callback_del("moved")
+ *
+ * def callback_withdrawn_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window is still managed normally but removed from view"""
+ * self._callback_add("withdrawn", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_176callback_withdrawn_add(struct PyElementaryWindow *__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_withdrawn_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1650
+ * def callback_withdrawn_add(self, func, *args, **kwargs):
+ * """window is still managed normally but removed from view"""
+ * self._callback_add("withdrawn", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_withdrawn_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1650; __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[14]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__withdrawn));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__withdrawn));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__withdrawn));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_withdrawn_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_179callback_withdrawn_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_179callback_withdrawn_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_withdrawn_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_178callback_withdrawn_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1652
+ * self._callback_add("withdrawn", func, *args, **kwargs)
+ *
+ * def callback_withdrawn_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("withdrawn")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_178callback_withdrawn_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_withdrawn_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1653
+ *
+ * def callback_withdrawn_del(self, func):
+ * self._callback_del("withdrawn") # <<<<<<<<<<<<<<
+ *
+ * def callback_iconified_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_51), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1653; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_withdrawn_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_181callback_iconified_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_180callback_iconified_add[] = "window is minimized (perhaps into an icon or taskbar)";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_181callback_iconified_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_iconified_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_iconified_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1655; __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_iconified_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1655; __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("elementary.c_elementary.Window.callback_iconified_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_180callback_iconified_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1655
+ * self._callback_del("withdrawn")
+ *
+ * def callback_iconified_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window is minimized (perhaps into an icon or taskbar)"""
+ * self._callback_add("iconified", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_180callback_iconified_add(struct PyElementaryWindow *__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_iconified_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1657
+ * def callback_iconified_add(self, func, *args, **kwargs):
+ * """window is minimized (perhaps into an icon or taskbar)"""
+ * self._callback_add("iconified", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_iconified_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1657; __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[14]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__iconified));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__iconified));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__iconified));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_iconified_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_183callback_iconified_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_183callback_iconified_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_iconified_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_182callback_iconified_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1659
+ * self._callback_add("iconified", func, *args, **kwargs)
+ *
+ * def callback_iconified_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("iconified")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_182callback_iconified_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_iconified_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1660
+ *
+ * def callback_iconified_del(self, func):
+ * self._callback_del("iconified") # <<<<<<<<<<<<<<
+ *
+ * def callback_normal_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_52), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1660; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_iconified_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_185callback_normal_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_184callback_normal_add[] = "window is in a normal state (not withdrawn or iconified)";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_185callback_normal_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_normal_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_normal_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1662; __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_normal_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1662; __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("elementary.c_elementary.Window.callback_normal_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_184callback_normal_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1662
+ * self._callback_del("iconified")
+ *
+ * def callback_normal_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window is in a normal state (not withdrawn or iconified)"""
+ * self._callback_add("normal", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_184callback_normal_add(struct PyElementaryWindow *__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_normal_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1664
+ * def callback_normal_add(self, func, *args, **kwargs):
+ * """window is in a normal state (not withdrawn or iconified)"""
+ * self._callback_add("normal", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_normal_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1664; __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[14]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__normal));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__normal));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__normal));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_normal_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_187callback_normal_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_187callback_normal_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_normal_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_186callback_normal_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1666
+ * self._callback_add("normal", func, *args, **kwargs)
+ *
+ * def callback_normal_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("normal")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_186callback_normal_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_normal_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1667
+ *
+ * def callback_normal_del(self, func):
+ * self._callback_del("normal") # <<<<<<<<<<<<<<
+ *
+ * def callback_stick_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_53), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1667; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_normal_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_189callback_stick_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_188callback_stick_add[] = "window has become sticky (shows on all desktops)";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_189callback_stick_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_stick_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_stick_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1669; __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_stick_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1669; __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("elementary.c_elementary.Window.callback_stick_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_188callback_stick_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1669
+ * self._callback_del("normal")
+ *
+ * def callback_stick_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window has become sticky (shows on all desktops)"""
+ * self._callback_add("stick", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_188callback_stick_add(struct PyElementaryWindow *__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_stick_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1671
+ * def callback_stick_add(self, func, *args, **kwargs):
+ * """window has become sticky (shows on all desktops)"""
+ * self._callback_add("stick", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_stick_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1671; __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[14]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__stick));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__stick));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__stick));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_stick_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_191callback_stick_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_191callback_stick_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_stick_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_190callback_stick_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1673
+ * self._callback_add("stick", func, *args, **kwargs)
+ *
+ * def callback_stick_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("stick")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_190callback_stick_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_stick_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1674
+ *
+ * def callback_stick_del(self, func):
+ * self._callback_del("stick") # <<<<<<<<<<<<<<
+ *
+ * def callback_unstick_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_54), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1674; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_stick_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_193callback_unstick_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_192callback_unstick_add[] = "window has stopped being sticky";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_193callback_unstick_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unstick_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_unstick_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1676; __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_unstick_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1676; __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("elementary.c_elementary.Window.callback_unstick_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_192callback_unstick_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1676
+ * self._callback_del("stick")
+ *
+ * def callback_unstick_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window has stopped being sticky"""
+ * self._callback_add("unstick", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_192callback_unstick_add(struct PyElementaryWindow *__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_unstick_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1678
+ * def callback_unstick_add(self, func, *args, **kwargs):
+ * """window has stopped being sticky"""
+ * self._callback_add("unstick", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unstick_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1678; __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[14]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unstick));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unstick));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unstick));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_unstick_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_195callback_unstick_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_195callback_unstick_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unstick_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_194callback_unstick_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1680
+ * self._callback_add("unstick", func, *args, **kwargs)
+ *
+ * def callback_unstick_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unstick")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_194callback_unstick_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_unstick_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1681
+ *
+ * def callback_unstick_del(self, func):
+ * self._callback_del("unstick") # <<<<<<<<<<<<<<
+ *
+ * def callback_fullscreen_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_55), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1681; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_unstick_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_197callback_fullscreen_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_196callback_fullscreen_add[] = "window has become fullscreen";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_197callback_fullscreen_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_fullscreen_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_fullscreen_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1683; __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_fullscreen_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1683; __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("elementary.c_elementary.Window.callback_fullscreen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_196callback_fullscreen_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1683
+ * self._callback_del("unstick")
+ *
+ * def callback_fullscreen_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window has become fullscreen"""
+ * self._callback_add("fullscreen", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_196callback_fullscreen_add(struct PyElementaryWindow *__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_fullscreen_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1685
+ * def callback_fullscreen_add(self, func, *args, **kwargs):
+ * """window has become fullscreen"""
+ * self._callback_add("fullscreen", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_fullscreen_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1685; __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[14]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__fullscreen));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__fullscreen));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__fullscreen));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_fullscreen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_199callback_fullscreen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_199callback_fullscreen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_fullscreen_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_198callback_fullscreen_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1687
+ * self._callback_add("fullscreen", func, *args, **kwargs)
+ *
+ * def callback_fullscreen_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("fullscreen")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_198callback_fullscreen_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_fullscreen_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1688
+ *
+ * def callback_fullscreen_del(self, func):
+ * self._callback_del("fullscreen") # <<<<<<<<<<<<<<
+ *
+ * def callback_unfullscreen_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_56), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1688; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_fullscreen_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_201callback_unfullscreen_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_200callback_unfullscreen_add[] = "window has stopped being fullscreen";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_201callback_unfullscreen_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unfullscreen_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_unfullscreen_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1690; __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_unfullscreen_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1690; __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("elementary.c_elementary.Window.callback_unfullscreen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_200callback_unfullscreen_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1690
+ * self._callback_del("fullscreen")
+ *
+ * def callback_unfullscreen_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window has stopped being fullscreen"""
+ * self._callback_add("unfullscreen", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_200callback_unfullscreen_add(struct PyElementaryWindow *__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_unfullscreen_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1692
+ * def callback_unfullscreen_add(self, func, *args, **kwargs):
+ * """window has stopped being fullscreen"""
+ * self._callback_add("unfullscreen", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfullscreen_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1692; __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[14]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfullscreen));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfullscreen));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unfullscreen));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_unfullscreen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_203callback_unfullscreen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_203callback_unfullscreen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unfullscreen_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_202callback_unfullscreen_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1694
+ * self._callback_add("unfullscreen", func, *args, **kwargs)
+ *
+ * def callback_unfullscreen_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unfullscreen")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_202callback_unfullscreen_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_unfullscreen_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1695
+ *
+ * def callback_unfullscreen_del(self, func):
+ * self._callback_del("unfullscreen") # <<<<<<<<<<<<<<
+ *
+ * def callback_maximized_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_57), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1695; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_unfullscreen_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_205callback_maximized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_204callback_maximized_add[] = "window has been maximized";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_205callback_maximized_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_maximized_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_maximized_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1697; __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_maximized_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1697; __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("elementary.c_elementary.Window.callback_maximized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_204callback_maximized_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1697
+ * self._callback_del("unfullscreen")
+ *
+ * def callback_maximized_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window has been maximized"""
+ * self._callback_add("maximized", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_204callback_maximized_add(struct PyElementaryWindow *__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_maximized_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1699
+ * def callback_maximized_add(self, func, *args, **kwargs):
+ * """window has been maximized"""
+ * self._callback_add("maximized", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_maximized_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1699; __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[14]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__maximized));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__maximized));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__maximized));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_maximized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_207callback_maximized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_207callback_maximized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_maximized_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_206callback_maximized_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1701
+ * self._callback_add("maximized", func, *args, **kwargs)
+ *
+ * def callback_maximized_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("maximized")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_206callback_maximized_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_maximized_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1702
+ *
+ * def callback_maximized_del(self, func):
+ * self._callback_del("maximized") # <<<<<<<<<<<<<<
+ *
+ * def callback_unmaximized_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_58), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1702; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_maximized_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_209callback_unmaximized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Window_208callback_unmaximized_add[] = "window has stopped being maximized";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_209callback_unmaximized_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unmaximized_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_unmaximized_add") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1704; __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_unmaximized_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1704; __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("elementary.c_elementary.Window.callback_unmaximized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_208callback_unmaximized_add(((struct PyElementaryWindow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1704
+ * self._callback_del("maximized")
+ *
+ * def callback_unmaximized_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """window has stopped being maximized"""
+ * self._callback_add("unmaximized", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_208callback_unmaximized_add(struct PyElementaryWindow *__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_unmaximized_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1706
+ * def callback_unmaximized_add(self, func, *args, **kwargs):
+ * """window has stopped being maximized"""
+ * self._callback_add("unmaximized", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unmaximized_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1706; __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[14]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unmaximized));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unmaximized));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unmaximized));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Window.callback_unmaximized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_211callback_unmaximized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Window_211callback_unmaximized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unmaximized_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Window_210callback_unmaximized_del(((struct PyElementaryWindow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1708
+ * self._callback_add("unmaximized", func, *args, **kwargs)
+ *
+ * def callback_unmaximized_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unmaximized")
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Window_210callback_unmaximized_del(struct PyElementaryWindow *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ 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("callback_unmaximized_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1709
+ *
+ * def callback_unmaximized_del(self, func):
+ * self._callback_del("unmaximized") # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("win", Window)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_59), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1709; __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_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Window.callback_unmaximized_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_14StandardWindow_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_14StandardWindow_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_name = 0;
+ PyObject *__pyx_v_title = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__name,&__pyx_n_s__title,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__title);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1728; __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_name = values[0];
+ __pyx_v_title = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.StandardWindow.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14StandardWindow___init__(((struct PyElementaryStandardWindow *)__pyx_v_self), __pyx_v_name, __pyx_v_title);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1728
+ * """
+ *
+ * def __init__(self, name, title): # <<<<<<<<<<<<<<
+ * self._set_obj(elm_win_util_standard_add(_cfruni(name), _cfruni(title)))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_14StandardWindow___init__(struct PyElementaryStandardWindow *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_title) {
+ Evas *__pyx_v_e;
+ struct PyEvasCanvas *__pyx_v_canvas = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1729
+ *
+ * def __init__(self, name, title):
+ * self._set_obj(elm_win_util_standard_add(_cfruni(name), _cfruni(title))) # <<<<<<<<<<<<<<
+ *
+ * cdef Evas *e
+ */
+ __pyx_t_1 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_StandardWindow *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_win_util_standard_add(__pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_name), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title))); if (unlikely(__pyx_t_1 == 0)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1729; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1732
+ *
+ * cdef Evas *e
+ * e = evas_object_evas_get(self.obj) # <<<<<<<<<<<<<<
+ * canvas = Canvas_from_instance(e)
+ * evasObject.__init__(self, canvas)
+ */
+ __pyx_v_e = evas_object_evas_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1733
+ * cdef Evas *e
+ * e = evas_object_evas_get(self.obj)
+ * canvas = Canvas_from_instance(e) # <<<<<<<<<<<<<<
+ * evasObject.__init__(self, canvas)
+ *
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Canvas_from_instance(__pyx_v_e)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1733; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_v_canvas = ((struct PyEvasCanvas *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1734
+ * e = evas_object_evas_get(self.obj)
+ * canvas = Canvas_from_instance(e)
+ * evasObject.__init__(self, canvas) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("standardwin", StandardWindow)
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1734; __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[14]; __pyx_lineno = 1734; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_canvas));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_canvas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_canvas));
+ __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1734; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.StandardWindow.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_canvas);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11InnerWindow_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11InnerWindow_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 42; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[15]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.InnerWindow.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow___init__(((struct PyElementaryInnerWindow *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":42
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_win_inwin_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11InnerWindow___init__(struct PyElementaryInnerWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":43
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_win_inwin_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 43; __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[15]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":44
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_win_inwin_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def activate(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_InnerWindow *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_win_inwin_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.InnerWindow.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_3activate(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11InnerWindow_2activate[] = "Activates an inwin object, ensuring its visibility\n\n This function will make sure that the inwin is completely visible\n by calling L{show()} and L{_raise()} on it, to bring it\n to the front. It also sets the keyboard focus to it, which will be passed\n onto its content.\n\n The object's theme will also receive the signal \"elm,action,show\" with\n source \"elm\".\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_3activate(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("activate (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_2activate(((struct PyElementaryInnerWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":46
+ * self._set_obj(elm_win_inwin_add(parent.obj))
+ *
+ * def activate(self): # <<<<<<<<<<<<<<
+ * """Activates an inwin object, ensuring its visibility
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_2activate(struct PyElementaryInnerWindow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("activate", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":58
+ *
+ * """
+ * elm_win_inwin_activate(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def content_set(self, evasObject content):
+ */
+ elm_win_inwin_activate(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_5content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11InnerWindow_4content_set[] = "Set the content of an inwin object.\n\n Once the content object is set, a previously set one will be deleted.\n If you want to keep that old content object, use the\n L{content_unset()} function.\n\n @param content: The object to set as content\n @type content: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_5content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_4content_set(((struct PyElementaryInnerWindow *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":60
+ * elm_win_inwin_activate(self.obj)
+ *
+ * def content_set(self, evasObject content): # <<<<<<<<<<<<<<
+ * """Set the content of an inwin object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_4content_set(struct PyElementaryInnerWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_content) {
+ Evas_Object *__pyx_v_o;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":72
+ * """
+ * cdef Evas_Object *o
+ * if content is not None: # <<<<<<<<<<<<<<
+ * o = content.obj
+ * else:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_content) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":73
+ * cdef Evas_Object *o
+ * if content is not None:
+ * o = content.obj # <<<<<<<<<<<<<<
+ * else:
+ * o = NULL
+ */
+ __pyx_v_o = __pyx_v_content->obj;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":75
+ * o = content.obj
+ * else:
+ * o = NULL # <<<<<<<<<<<<<<
+ * elm_win_inwin_content_set(self.obj, o)
+ *
+ */
+ __pyx_v_o = NULL;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":76
+ * else:
+ * o = NULL
+ * elm_win_inwin_content_set(self.obj, o) # <<<<<<<<<<<<<<
+ *
+ * def content_get(self):
+ */
+ elm_win_inwin_content_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_o);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11InnerWindow_6content_get[] = "Get the content of an inwin object.\n\n Return the content object for this widget.\n\n The returned object is valid as long as the inwin is still alive and no\n other content is set on it. Deleting the object will notify the inwin\n about it and this one will be left empty.\n\n If you need to remove an inwin's content to be reused somewhere else,\n see L{content_unset()}.\n\n @return: The content that is being used\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_6content_get(((struct PyElementaryInnerWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":78
+ * elm_win_inwin_content_set(self.obj, o)
+ *
+ * def content_get(self): # <<<<<<<<<<<<<<
+ * """Get the content of an inwin object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_6content_get(struct PyElementaryInnerWindow *__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("content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":94
+ *
+ * """
+ * return Object_from_instance(elm_win_inwin_content_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def content_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_win_inwin_content_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.InnerWindow.content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_9content_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11InnerWindow_8content_unset[] = "Unset the content of an inwin object.\n\n Unparent and return the content object which was set for this widget.\n\n @return: The content that was being used\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_9content_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_8content_unset(((struct PyElementaryInnerWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":96
+ * return Object_from_instance(elm_win_inwin_content_get(self.obj))
+ *
+ * def content_unset(self): # <<<<<<<<<<<<<<
+ * """Unset the content of an inwin object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_8content_unset(struct PyElementaryInnerWindow *__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("content_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":105
+ *
+ * """
+ * return Object_from_instance(elm_win_inwin_content_unset(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property content:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_win_inwin_content_unset(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.InnerWindow.content_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content___get__(((struct PyElementaryInnerWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":115
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_win_inwin_content_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11InnerWindow_7content___get__(struct PyElementaryInnerWindow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":116
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_win_inwin_content_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, evasObject content):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_win_inwin_content_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.InnerWindow.content.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content_2__set__(((struct PyElementaryInnerWindow *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":118
+ * return Object_from_instance(elm_win_inwin_content_get(self.obj))
+ *
+ * def __set__(self, evasObject content): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *o
+ * if content is not None:
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content_2__set__(struct PyElementaryInnerWindow *__pyx_v_self, struct PyEvasObject *__pyx_v_content) {
+ Evas_Object *__pyx_v_o;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":120
+ * def __set__(self, evasObject content):
+ * cdef Evas_Object *o
+ * if content is not None: # <<<<<<<<<<<<<<
+ * o = content.obj
+ * else:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_content) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":121
+ * cdef Evas_Object *o
+ * if content is not None:
+ * o = content.obj # <<<<<<<<<<<<<<
+ * else:
+ * o = NULL
+ */
+ __pyx_v_o = __pyx_v_content->obj;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":123
+ * o = content.obj
+ * else:
+ * o = NULL # <<<<<<<<<<<<<<
+ * elm_win_inwin_content_set(self.obj, o)
+ *
+ */
+ __pyx_v_o = NULL;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":124
+ * else:
+ * o = NULL
+ * elm_win_inwin_content_set(self.obj, o) # <<<<<<<<<<<<<<
+ *
+ * def __del__(self):
+ */
+ elm_win_inwin_content_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_o);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_5__del__(PyObject *__pyx_v_self); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_5__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content_4__del__(((struct PyElementaryInnerWindow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":126
+ * elm_win_inwin_content_set(self.obj, o)
+ *
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * elm_win_inwin_content_unset(self.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11InnerWindow_7content_4__del__(struct PyElementaryInnerWindow *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":127
+ *
+ * def __del__(self):
+ * elm_win_inwin_content_unset(self.obj) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("inwin", InnerWindow)
+ */
+ elm_win_inwin_content_unset(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10Background_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background___init__[] = "Initialize the background\n\n @param parent: Parent window\n @type parent: L{Object}\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_10Background___init__;
+static int __pyx_pw_10elementary_12c_elementary_10Background_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 36; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background___init__(((struct PyElementaryBackground *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":36
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Initialize the background
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10Background___init__(struct PyElementaryBackground *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":43
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_bg_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 43; __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[16]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":44
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_bg_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def file_set(self, filename, group = ""):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Background *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_bg_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Background.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_2file_set[] = "Set the file (image or edje collection) to give life for the background.\n\n This sets the image file used in the background object. If the image\n comes from an Edje group, it will be stretched to completely fill\n the background object. If it comes from a traditional image file, it\n will by default be centered in this widget's are (thus retaining its\n aspect), what could lead to some parts being not visible. You may\n change the mode of exhibition for a real image file with\n L{option_set()}.\n\n @note: Once the image is set, a previously set one will be deleted,\n even if B{file} is C{None}.\n\n @note: This will only affect the contents of one of the background's\n swallow spots, namely C{\"elm.swallow.background\"}. If you want to\n achieve the L{Layout}'s file setting behavior, you'll have to call\n that method on this object.\n\n @param file: The file path\n @type file: string\n @param group: Optional key (group in Edje) within the file\n @type group: string\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_filename = 0;
+ PyObject *__pyx_v_group = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__filename,&__pyx_n_s__group,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_set (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+ values[1] = ((PyObject *)__pyx_kp_s_60);
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__filename);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "file_set") < 0)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_filename = values[0];
+ __pyx_v_group = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("file_set", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_2file_set(((struct PyElementaryBackground *)__pyx_v_self), __pyx_v_filename, __pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":46
+ * self._set_obj(elm_bg_add(parent.obj))
+ *
+ * def file_set(self, filename, group = ""): # <<<<<<<<<<<<<<
+ * """Set the file (image or edje collection) to give life for the background.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_2file_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group) {
+ 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("file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":73
+ *
+ * """
+ * return bool(elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group))) # <<<<<<<<<<<<<<
+ *
+ * def file_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_bg_file_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Background.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_5file_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_4file_get[] = "Get the file (image or edje) used for the background\n\n @return: The tuple (filename, group)\n @rtype: tuple\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_5file_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_4file_get(((struct PyElementaryBackground *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":75
+ * return bool(elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group)))
+ *
+ * def file_get(self): # <<<<<<<<<<<<<<
+ * """Get the file (image or edje) used for the background
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_4file_get(struct PyElementaryBackground *__pyx_v_self) {
+ const char * __pyx_v_filename;
+ const char * __pyx_v_group;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("file_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":84
+ * cdef const_char_ptr filename, group
+ *
+ * elm_bg_file_get(self.obj, &filename, &group) # <<<<<<<<<<<<<<
+ * if filename == NULL:
+ * filename = ""
+ */
+ elm_bg_file_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_filename), (&__pyx_v_group));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":85
+ *
+ * elm_bg_file_get(self.obj, &filename, &group)
+ * if filename == NULL: # <<<<<<<<<<<<<<
+ * filename = ""
+ * if group == NULL:
+ */
+ __pyx_t_1 = (__pyx_v_filename == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":86
+ * elm_bg_file_get(self.obj, &filename, &group)
+ * if filename == NULL:
+ * filename = "" # <<<<<<<<<<<<<<
+ * if group == NULL:
+ * group = ""
+ */
+ __pyx_v_filename = __pyx_k_60;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":87
+ * if filename == NULL:
+ * filename = ""
+ * if group == NULL: # <<<<<<<<<<<<<<
+ * group = ""
+ * return (_ctouni(filename), _ctouni(group))
+ */
+ __pyx_t_1 = (__pyx_v_group == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":88
+ * filename = ""
+ * if group == NULL:
+ * group = "" # <<<<<<<<<<<<<<
+ * return (_ctouni(filename), _ctouni(group))
+ *
+ */
+ __pyx_v_group = __pyx_k_60;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":89
+ * if group == NULL:
+ * group = ""
+ * return (_ctouni(filename), _ctouni(group)) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_filename)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_group)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Background.file_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_4file_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_4file_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_4file___get__(((struct PyElementaryBackground *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":113
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr filename, group
+ * elm_bg_file_get(self.obj, &filename, &group)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_4file___get__(struct PyElementaryBackground *__pyx_v_self) {
+ const char * __pyx_v_filename;
+ const char * __pyx_v_group;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":115
+ * def __get__(self):
+ * cdef const_char_ptr filename, group
+ * elm_bg_file_get(self.obj, &filename, &group) # <<<<<<<<<<<<<<
+ * if filename == NULL:
+ * filename = ""
+ */
+ elm_bg_file_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_filename), (&__pyx_v_group));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":116
+ * cdef const_char_ptr filename, group
+ * elm_bg_file_get(self.obj, &filename, &group)
+ * if filename == NULL: # <<<<<<<<<<<<<<
+ * filename = ""
+ * if group == NULL:
+ */
+ __pyx_t_1 = (__pyx_v_filename == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":117
+ * elm_bg_file_get(self.obj, &filename, &group)
+ * if filename == NULL:
+ * filename = "" # <<<<<<<<<<<<<<
+ * if group == NULL:
+ * group = ""
+ */
+ __pyx_v_filename = __pyx_k_60;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":118
+ * if filename == NULL:
+ * filename = ""
+ * if group == NULL: # <<<<<<<<<<<<<<
+ * group = ""
+ * return (_ctouni(filename), _ctouni(group))
+ */
+ __pyx_t_1 = (__pyx_v_group == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":119
+ * filename = ""
+ * if group == NULL:
+ * group = "" # <<<<<<<<<<<<<<
+ * return (_ctouni(filename), _ctouni(group))
+ *
+ */
+ __pyx_v_group = __pyx_k_60;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":120
+ * if group == NULL:
+ * group = ""
+ * return (_ctouni(filename), _ctouni(group)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_filename)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_group)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Background.file.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10Background_4file_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_10Background_4file_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_4file_2__set__(((struct PyElementaryBackground *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":122
+ * return (_ctouni(filename), _ctouni(group))
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * if isinstance(value, tuple) or isinstance(value, list):
+ * filename, group = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10Background_4file_2__set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_filename = NULL;
+ PyObject *__pyx_v_group = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *(*__pyx_t_7)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":123
+ *
+ * def __set__(self, value):
+ * if isinstance(value, tuple) or isinstance(value, list): # <<<<<<<<<<<<<<
+ * filename, group = value
+ * else:
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyTuple_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (!__pyx_t_2) {
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyList_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_4 = __pyx_t_3;
+ } else {
+ __pyx_t_4 = __pyx_t_2;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":124
+ * def __set__(self, value):
+ * if isinstance(value, tuple) or isinstance(value, list):
+ * filename, group = value # <<<<<<<<<<<<<<
+ * else:
+ * filename = value
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_5);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_6 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_5 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < 0) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L5_unpacking_done;
+ __pyx_L4_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L5_unpacking_done:;
+ }
+ __pyx_v_filename = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_group = __pyx_t_5;
+ __pyx_t_5 = 0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":126
+ * filename, group = value
+ * else:
+ * filename = value # <<<<<<<<<<<<<<
+ * group = ""
+ * elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ __Pyx_INCREF(__pyx_v_value);
+ __pyx_v_filename = __pyx_v_value;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":127
+ * else:
+ * filename = value
+ * group = "" # <<<<<<<<<<<<<<
+ * elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_60));
+ __pyx_v_group = ((PyObject *)__pyx_kp_s_60);
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":128
+ * filename = value
+ * group = ""
+ * elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * def option_set(self, option):
+ */
+ elm_bg_file_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_AddTraceback("elementary.c_elementary.Background.file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_filename);
+ __Pyx_XDECREF(__pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_7option_set(PyObject *__pyx_v_self, PyObject *__pyx_v_option); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_6option_set[] = "Set the mode of display for a given background widget's image.\n\n This sets how the background widget will display its image. This\n will only work if L{file_set()} was previously called with\n an image file. The image can be displayed tiled, scaled,\n centered or stretched.\n\n @param option: The desired background option\n @type option: Elm_Bg_Option\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_7option_set(PyObject *__pyx_v_self, PyObject *__pyx_v_option) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("option_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_6option_set(((struct PyElementaryBackground *)__pyx_v_self), ((PyObject *)__pyx_v_option));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":130
+ * elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ * def option_set(self, option): # <<<<<<<<<<<<<<
+ * """Set the mode of display for a given background widget's image.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_6option_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_option) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Bg_Option __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("option_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":142
+ *
+ * """
+ * elm_bg_option_set(self.obj, option) # <<<<<<<<<<<<<<
+ *
+ * def option_get(self):
+ */
+ __pyx_t_1 = ((Elm_Bg_Option)PyInt_AsLong(__pyx_v_option)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_bg_option_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.option_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_9option_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_8option_get[] = "Get the mode of display for a given background widget's image.\n\n @return: The image displaying mode in use for obj or ELM_BG_OPTION_LAST\n on errors.\n @rtype: Elm_Bg_Option\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_9option_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("option_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_8option_get(((struct PyElementaryBackground *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":144
+ * elm_bg_option_set(self.obj, option)
+ *
+ * def option_get(self): # <<<<<<<<<<<<<<
+ * """Get the mode of display for a given background widget's image.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_8option_get(struct PyElementaryBackground *__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("option_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":152
+ *
+ * """
+ * return elm_bg_option_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property option:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_bg_option_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Background.option_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_6option_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_6option_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_6option___get__(((struct PyElementaryBackground *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":165
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_bg_option_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_6option___get__(struct PyElementaryBackground *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":166
+ * """
+ * def __get__(self):
+ * return elm_bg_option_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_bg_option_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Background.option.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10Background_6option_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_10Background_6option_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_6option_2__set__(((struct PyElementaryBackground *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":168
+ * return elm_bg_option_get(self.obj)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_bg_option_set(self.obj, value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10Background_6option_2__set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Bg_Option __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":169
+ *
+ * def __set__(self, value):
+ * elm_bg_option_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def color_set(self, r, g, b):
+ */
+ __pyx_t_1 = ((Elm_Bg_Option)PyInt_AsLong(__pyx_v_value)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_bg_option_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.option.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_11color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_10color_set[] = "Set the color on a given background widget.\n\n This sets the color used for the background rectangle, in RGB\n format. Each color component's range is from 0 to 255.\n\n @note: You probably only want to use this function if you haven't\n previously called L{file_set()}, so that you just want a solid\n color background.\n\n @param r: The red color component's value\n @type r: int\n @param g: The green color component's value\n @type g: int\n @param b: The blue color component's value\n @type b: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_11color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_r = 0;
+ PyObject *__pyx_v_g = 0;
+ PyObject *__pyx_v_b = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__r,&__pyx_n_s__g,&__pyx_n_s__b,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__r);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__g);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__b);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "color_set") < 0)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 171; __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_r = values[0];
+ __pyx_v_g = values[1];
+ __pyx_v_b = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_10color_set(((struct PyElementaryBackground *)__pyx_v_self), __pyx_v_r, __pyx_v_g, __pyx_v_b);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":171
+ * elm_bg_option_set(self.obj, value)
+ *
+ * def color_set(self, r, g, b): # <<<<<<<<<<<<<<
+ * """Set the color on a given background widget.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_10color_set(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("color_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":189
+ *
+ * """
+ * elm_bg_color_set(self.obj, r, g, b) # <<<<<<<<<<<<<<
+ *
+ * def color_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_r); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_g); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_b); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_bg_color_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_13color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_12color_get[] = "Get the color set on a given background widget.\n\n @return: The tuple (r, g, b)\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_13color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_12color_get(((struct PyElementaryBackground *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":191
+ * elm_bg_color_set(self.obj, r, g, b)
+ *
+ * def color_get(self): # <<<<<<<<<<<<<<
+ * """Get the color set on a given background widget.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_12color_get(struct PyElementaryBackground *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ 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("color_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":200
+ * cdef int r, g, b
+ *
+ * elm_bg_color_get(self.obj, &r, &g, &b) # <<<<<<<<<<<<<<
+ * return (r, g, b)
+ *
+ */
+ elm_bg_color_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":201
+ *
+ * elm_bg_color_get(self.obj, &r, &g, &b)
+ * return (r, g, b) # <<<<<<<<<<<<<<
+ *
+ * property color:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 201; __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[16]; __pyx_lineno = 201; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Background.color_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_5color_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_5color_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_5color___get__(((struct PyElementaryBackground *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":216
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int r, g, b
+ * elm_bg_color_get(self.obj, &r, &g, &b)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_5color___get__(struct PyElementaryBackground *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":218
+ * def __get__(self):
+ * cdef int r, g, b
+ * elm_bg_color_get(self.obj, &r, &g, &b) # <<<<<<<<<<<<<<
+ * return (r, g, b)
+ *
+ */
+ elm_bg_color_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":219
+ * cdef int r, g, b
+ * elm_bg_color_get(self.obj, &r, &g, &b)
+ * return (r, g, b) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 219; __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[16]; __pyx_lineno = 219; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Background.color.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10Background_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_10Background_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_5color_2__set__(((struct PyElementaryBackground *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":221
+ * return (r, g, b)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int r, g, b
+ * r, g, b = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10Background_5color_2__set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_r;
+ __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)(PyObject *);
+ int __pyx_t_6;
+ int __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":223
+ * def __set__(self, value):
+ * cdef int r, g, b
+ * r, g, b = value # <<<<<<<<<<<<<<
+ * elm_bg_color_set(self.obj, r, g, b)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_7 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_8 = __Pyx_PyInt_AsInt(__pyx_t_3); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_r = __pyx_t_6;
+ __pyx_v_g = __pyx_t_7;
+ __pyx_v_b = __pyx_t_8;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":224
+ * cdef int r, g, b
+ * r, g, b = value
+ * elm_bg_color_set(self.obj, r, g, b) # <<<<<<<<<<<<<<
+ *
+ * def load_size_set(self, w, h):
+ */
+ elm_bg_color_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_r, __pyx_v_g, __pyx_v_b);
+
+ __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_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Background.color.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_15load_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_10Background_14load_size_set[] = "Set the size of the pixmap representation of the image set on a given\n background widget.\n\n This function sets a new size for pixmap representation of the\n given bg image. It allows for the image to be loaded already in the\n specified size, reducing the memory usage and load time (for\n example, when loading a big image file with its load size set to a\n smaller size)\n\n @note: This is just a hint for the underlying system. The real size\n of the pixmap may differ depending on the type of image being\n loaded, being bigger than requested.\n\n @warning: This function just makes sense if an image file was set with\n L{file_set()}.\n\n @param w: The new width of the image pixmap representation.\n @type w: Evas_Coord\n @param h: The new height of the image pixmap representation.\n @type h: Evas_Coord\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_10Background_15load_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("load_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("load_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "load_size_set") < 0)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 226; __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("load_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[16]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.load_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Background_14load_size_set(((struct PyElementaryBackground *)__pyx_v_self), __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":226
+ * elm_bg_color_set(self.obj, r, g, b)
+ *
+ * def load_size_set(self, w, h): # <<<<<<<<<<<<<<
+ * """Set the size of the pixmap representation of the image set on a given
+ * background widget.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_10Background_14load_size_set(struct PyElementaryBackground *__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("load_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":249
+ *
+ * """
+ * elm_bg_load_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * property load_size:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_bg_load_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Background.load_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_10Background_9load_size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_10Background_9load_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_10elementary_12c_elementary_10Background_9load_size___set__(((struct PyElementaryBackground *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":271
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * w, h = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_10Background_9load_size___set__(struct PyElementaryBackground *__pyx_v_self, PyObject *__pyx_v_value) {
+ Evas_Coord __pyx_v_w;
+ Evas_Coord __pyx_v_h;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":273
+ * def __set__(self, value):
+ * cdef Evas_Coord w, h
+ * w, h = value # <<<<<<<<<<<<<<
+ * elm_bg_load_size_set(self.obj, w, h)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 273; __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[16]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[16]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_t_1); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_t_2); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_w = __pyx_t_5;
+ __pyx_v_h = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":274
+ * cdef Evas_Coord w, h
+ * w, h = value
+ * elm_bg_load_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("bg", Background)
+ */
+ elm_bg_load_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_w, __pyx_v_h);
+
+ __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("elementary.c_elementary.Background.load_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_4Icon_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_4Icon_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 91; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[17]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon___init__(((struct PyElementaryIcon *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":91
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_icon_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_4Icon___init__(struct PyElementaryIcon *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":92
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_icon_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 92; __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[17]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":93
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_icon_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def thumb_set(self, filename, group = None):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Icon *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_icon_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Icon.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_3thumb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_2thumb_set[] = "Set the file that will be used, but use a generated thumbnail.\n\n This functions like L{Image.file_set()} but requires the Ethumb library\n support to be enabled successfully with elm_need_ethumb(). When set\n the file indicated has a thumbnail generated and cached on disk for\n future use or will directly use an existing cached thumbnail if it\n is valid.\n\n @see: L{Image.file_set()}\n\n @param file: The path to file that will be used as icon image\n @type file: string\n @param group: The group that the icon belongs to an edje file\n @type group: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_3thumb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_filename = 0;
+ PyObject *__pyx_v_group = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__filename,&__pyx_n_s__group,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("thumb_set (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":95
+ * self._set_obj(elm_icon_add(parent.obj))
+ *
+ * def thumb_set(self, filename, group = None): # <<<<<<<<<<<<<<
+ * """Set the file that will be used, but use a generated thumbnail.
+ *
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__filename);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "thumb_set") < 0)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_filename = values[0];
+ __pyx_v_group = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("thumb_set", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[17]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.thumb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_2thumb_set(((struct PyElementaryIcon *)__pyx_v_self), __pyx_v_filename, __pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_2thumb_set(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group) {
+ 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("thumb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":112
+ *
+ * """
+ * if group == None: # <<<<<<<<<<<<<<
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), NULL)
+ * else:
+ */
+ __pyx_t_1 = PyObject_RichCompare(__pyx_v_group, Py_None, Py_EQ); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 112; __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[17]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":113
+ * """
+ * if group == None:
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), NULL) # <<<<<<<<<<<<<<
+ * else:
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ elm_icon_thumb_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), NULL);
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":115
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), NULL)
+ * else:
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * property thumb:
+ */
+ elm_icon_thumb_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.thumb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_4Icon_5thumb_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_4Icon_5thumb_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_5thumb___set__(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":132
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * if isinstance(value, tuple):
+ * filename, group = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_4Icon_5thumb___set__(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_filename = NULL;
+ PyObject *__pyx_v_group = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":133
+ * """
+ * def __set__(self, value):
+ * if isinstance(value, tuple): # <<<<<<<<<<<<<<
+ * filename, group = value
+ * else:
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyTuple_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":134
+ * def __set__(self, value):
+ * if isinstance(value, tuple):
+ * filename, group = value # <<<<<<<<<<<<<<
+ * else:
+ * filename = value
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[17]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[17]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 2) < 0) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L5_unpacking_done;
+ __pyx_L4_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[17]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L5_unpacking_done:;
+ }
+ __pyx_v_filename = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_group = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":136
+ * filename, group = value
+ * else:
+ * filename = value # <<<<<<<<<<<<<<
+ * group = None
+ * # TODO: check return value
+ */
+ __Pyx_INCREF(__pyx_v_value);
+ __pyx_v_filename = __pyx_v_value;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":137
+ * else:
+ * filename = value
+ * group = None # <<<<<<<<<<<<<<
+ * # TODO: check return value
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_group = Py_None;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":139
+ * group = None
+ * # TODO: check return value
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * def standard_set(self, name):
+ */
+ elm_icon_thumb_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.thumb.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_filename);
+ __Pyx_XDECREF(__pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_5standard_set(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_4standard_set[] = "Set the icon by icon standards names.\n\n For example, freedesktop.org defines standard icon names such as \"home\",\n \"network\", etc. There can be different icon sets to match those icon\n keys. The C{name} given as parameter is one of these \"keys\", and will be\n used to look in the freedesktop.org paths and elementary theme. One can\n change the lookup order with L{order_lookup_set()}.\n\n If name is not found in any of the expected locations and it is the\n absolute path of an image file, this image will be used.\n\n @note: The icon image set by this function can be changed by\n L{Image.file_set()}.\n\n @see: L{standard_get()}\n @see: L{Image.file_set()}\n\n @param name: The icon name\n @type name: string\n @return: (C{True} = success, C{False} = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_5standard_set(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("standard_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_4standard_set(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":141
+ * elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ * def standard_set(self, name): # <<<<<<<<<<<<<<
+ * """Set the icon by icon standards names.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_4standard_set(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_name) {
+ 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("standard_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":165
+ *
+ * """
+ * return bool(elm_icon_standard_set(self.obj, _cfruni(name))) # <<<<<<<<<<<<<<
+ *
+ * def standard_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_icon_standard_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_name))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Icon.standard_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_7standard_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_6standard_get[] = "Get the icon name set by icon standard names.\n\n If the icon image was set using L{Image.file_set()} instead of\n L{standard_set()}, then this function will return C{None}.\n\n @see: L{standard_set()}\n\n @return: The icon name\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_7standard_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("standard_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_6standard_get(((struct PyElementaryIcon *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":167
+ * return bool(elm_icon_standard_set(self.obj, _cfruni(name)))
+ *
+ * def standard_get(self): # <<<<<<<<<<<<<<
+ * """Get the icon name set by icon standard names.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_6standard_get(struct PyElementaryIcon *__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("standard_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":179
+ *
+ * """
+ * return _ctouni(elm_icon_standard_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property standard:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_icon_standard_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.standard_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_8standard_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_8standard_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_8standard___get__(((struct PyElementaryIcon *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":200
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_icon_standard_get(self.obj))
+ * def __set__(self, name):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_8standard___get__(struct PyElementaryIcon *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":201
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_icon_standard_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, name):
+ * # TODO: check return value
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_icon_standard_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.standard.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_4Icon_8standard_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_4Icon_8standard_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_8standard_2__set__(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":202
+ * def __get__(self):
+ * return _ctouni(elm_icon_standard_get(self.obj))
+ * def __set__(self, name): # <<<<<<<<<<<<<<
+ * # TODO: check return value
+ * elm_icon_standard_set(self.obj, _cfruni(name))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_4Icon_8standard_2__set__(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_name) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":204
+ * def __set__(self, name):
+ * # TODO: check return value
+ * elm_icon_standard_set(self.obj, _cfruni(name)) # <<<<<<<<<<<<<<
+ *
+ * def order_lookup_set(self, order):
+ */
+ elm_icon_standard_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_name));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_9order_lookup_set(PyObject *__pyx_v_self, PyObject *__pyx_v_order); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_8order_lookup_set[] = "Sets the icon lookup order used by L{standard_set()}.\n\n @see: L{order_lookup_get()}\n\n @param order: The icon lookup order (can be one of\n ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO\n or ELM_ICON_LOOKUP_THEME)\n @type order: Elm_Icon_Lookup_Order\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_9order_lookup_set(PyObject *__pyx_v_self, PyObject *__pyx_v_order) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("order_lookup_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_8order_lookup_set(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_order));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":206
+ * elm_icon_standard_set(self.obj, _cfruni(name))
+ *
+ * def order_lookup_set(self, order): # <<<<<<<<<<<<<<
+ * """Sets the icon lookup order used by L{standard_set()}.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_8order_lookup_set(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_order) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Icon_Lookup_Order __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("order_lookup_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":217
+ *
+ * """
+ * elm_icon_order_lookup_set(self.obj, order) # <<<<<<<<<<<<<<
+ *
+ * def order_lookup_get(self):
+ */
+ __pyx_t_1 = ((Elm_Icon_Lookup_Order)PyInt_AsLong(__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_icon_order_lookup_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.order_lookup_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_11order_lookup_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_10order_lookup_get[] = "Gets the icon lookup order.\n\n @see: L{order_lookup_set()}\n\n @return: The icon lookup order\n @rtype: Elm_Icon_Lookup_Order\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_11order_lookup_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("order_lookup_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_10order_lookup_get(((struct PyElementaryIcon *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":219
+ * elm_icon_order_lookup_set(self.obj, order)
+ *
+ * def order_lookup_get(self): # <<<<<<<<<<<<<<
+ * """Gets the icon lookup order.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_10order_lookup_get(struct PyElementaryIcon *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("order_lookup_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":228
+ *
+ * """
+ * return elm_icon_order_lookup_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property order_lookup:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_icon_order_lookup_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.order_lookup_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_12order_lookup_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_12order_lookup_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_12order_lookup___get__(((struct PyElementaryIcon *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":236
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_icon_order_lookup_get(self.obj)
+ * def __set__(self, order):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_12order_lookup___get__(struct PyElementaryIcon *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":237
+ * """
+ * def __get__(self):
+ * return elm_icon_order_lookup_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, order):
+ * elm_icon_order_lookup_set(self.obj, order)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_icon_order_lookup_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.order_lookup.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_4Icon_12order_lookup_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_order); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_4Icon_12order_lookup_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_order) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_12order_lookup_2__set__(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_order));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":238
+ * def __get__(self):
+ * return elm_icon_order_lookup_get(self.obj)
+ * def __set__(self, order): # <<<<<<<<<<<<<<
+ * elm_icon_order_lookup_set(self.obj, order)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_4Icon_12order_lookup_2__set__(struct PyElementaryIcon *__pyx_v_self, PyObject *__pyx_v_order) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Icon_Lookup_Order __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":239
+ * return elm_icon_order_lookup_get(self.obj)
+ * def __set__(self, order):
+ * elm_icon_order_lookup_set(self.obj, order) # <<<<<<<<<<<<<<
+ *
+ * def callback_thumb_done_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Icon_Lookup_Order)PyInt_AsLong(__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_icon_order_lookup_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Icon.order_lookup.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_13callback_thumb_done_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_12callback_thumb_done_add[] = "L{thumb_set()} has completed with success.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_13callback_thumb_done_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_thumb_done_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_thumb_done_add") < 0)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 241; __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_thumb_done_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[17]; __pyx_lineno = 241; __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("elementary.c_elementary.Icon.callback_thumb_done_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_12callback_thumb_done_add(((struct PyElementaryIcon *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":241
+ * elm_icon_order_lookup_set(self.obj, order)
+ *
+ * def callback_thumb_done_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """L{thumb_set()} has completed with success."""
+ * self._callback_add("thumb,done", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_12callback_thumb_done_add(struct PyElementaryIcon *__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_thumb_done_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":243
+ * def callback_thumb_done_add(self, func, *args, **kwargs):
+ * """L{thumb_set()} has completed with success."""
+ * self._callback_add("thumb,done", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_thumb_done_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 243; __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[17]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_61));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_61));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_61));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Icon.callback_thumb_done_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_15callback_thumb_done_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_15callback_thumb_done_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_thumb_done_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_14callback_thumb_done_del(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":245
+ * self._callback_add("thumb,done", func, *args, **kwargs)
+ *
+ * def callback_thumb_done_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("thumb,done", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_14callback_thumb_done_del(struct PyElementaryIcon *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_thumb_done_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":246
+ *
+ * def callback_thumb_done_del(self, func):
+ * self._callback_del("thumb,done", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_thumb_error_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 246; __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[17]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_61));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_61));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_61));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Icon.callback_thumb_done_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_17callback_thumb_error_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Icon_16callback_thumb_error_add[] = "L{thumb_set()} has failed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_17callback_thumb_error_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_thumb_error_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_thumb_error_add") < 0)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 248; __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_thumb_error_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[17]; __pyx_lineno = 248; __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("elementary.c_elementary.Icon.callback_thumb_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_16callback_thumb_error_add(((struct PyElementaryIcon *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":248
+ * self._callback_del("thumb,done", func)
+ *
+ * def callback_thumb_error_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """L{thumb_set()} has failed."""
+ * self._callback_add("thumb,error", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_16callback_thumb_error_add(struct PyElementaryIcon *__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_thumb_error_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":250
+ * def callback_thumb_error_add(self, func, *args, **kwargs):
+ * """L{thumb_set()} has failed."""
+ * self._callback_add("thumb,error", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_thumb_error_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 250; __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[17]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_62));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_62));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_62));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Icon.callback_thumb_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_19callback_thumb_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Icon_19callback_thumb_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_thumb_error_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Icon_18callback_thumb_error_del(((struct PyElementaryIcon *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":252
+ * self._callback_add("thumb,error", func, *args, **kwargs)
+ *
+ * def callback_thumb_error_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("thumb,error", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Icon_18callback_thumb_error_del(struct PyElementaryIcon *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_thumb_error_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":253
+ *
+ * def callback_thumb_error_del(self, func):
+ * self._callback_del("thumb,error", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("icon", Icon)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 253; __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[17]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_62));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_62));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_62));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Icon.callback_thumb_error_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":30
+ * ELM_BOX_LAYOUT_STACK
+ *
+ * cdef Evas_Object_Box_Layout _py_elm_box_layout_resolv(int layout) with gil: # <<<<<<<<<<<<<<
+ * if layout == ELM_BOX_LAYOUT_HORIZONTAL:
+ * return evas_object_box_layout_horizontal
+ */
+
+static Evas_Object_Box_Layout __pyx_f_10elementary_12c_elementary__py_elm_box_layout_resolv(int __pyx_v_layout) {
+ Evas_Object_Box_Layout __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ #ifdef WITH_THREAD
+ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
+ #endif
+ __Pyx_RefNannySetupContext("_py_elm_box_layout_resolv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":31
+ *
+ * cdef Evas_Object_Box_Layout _py_elm_box_layout_resolv(int layout) with gil:
+ * if layout == ELM_BOX_LAYOUT_HORIZONTAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_horizontal
+ * elif layout == ELM_BOX_LAYOUT_VERTICAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HORIZONTAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":32
+ * cdef Evas_Object_Box_Layout _py_elm_box_layout_resolv(int layout) with gil:
+ * if layout == ELM_BOX_LAYOUT_HORIZONTAL:
+ * return evas_object_box_layout_horizontal # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_VERTICAL:
+ * return evas_object_box_layout_vertical
+ */
+ __pyx_r = evas_object_box_layout_horizontal;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":33
+ * if layout == ELM_BOX_LAYOUT_HORIZONTAL:
+ * return evas_object_box_layout_horizontal
+ * elif layout == ELM_BOX_LAYOUT_VERTICAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_vertical
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_VERTICAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":34
+ * return evas_object_box_layout_horizontal
+ * elif layout == ELM_BOX_LAYOUT_VERTICAL:
+ * return evas_object_box_layout_vertical # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL:
+ * return evas_object_box_layout_homogeneous_vertical
+ */
+ __pyx_r = evas_object_box_layout_vertical;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":35
+ * elif layout == ELM_BOX_LAYOUT_VERTICAL:
+ * return evas_object_box_layout_vertical
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_homogeneous_vertical
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":36
+ * return evas_object_box_layout_vertical
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL:
+ * return evas_object_box_layout_homogeneous_vertical # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL:
+ * return evas_object_box_layout_homogeneous_horizontal
+ */
+ __pyx_r = evas_object_box_layout_homogeneous_vertical;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":37
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL:
+ * return evas_object_box_layout_homogeneous_vertical
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_homogeneous_horizontal
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":38
+ * return evas_object_box_layout_homogeneous_vertical
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL:
+ * return evas_object_box_layout_homogeneous_horizontal # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL:
+ * return evas_object_box_layout_homogeneous_max_size_horizontal
+ */
+ __pyx_r = evas_object_box_layout_homogeneous_horizontal;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":39
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL:
+ * return evas_object_box_layout_homogeneous_horizontal
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_homogeneous_max_size_horizontal
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":40
+ * return evas_object_box_layout_homogeneous_horizontal
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL:
+ * return evas_object_box_layout_homogeneous_max_size_horizontal # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL:
+ * return evas_object_box_layout_homogeneous_max_size_vertical
+ */
+ __pyx_r = evas_object_box_layout_homogeneous_max_size_horizontal;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":41
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL:
+ * return evas_object_box_layout_homogeneous_max_size_horizontal
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_homogeneous_max_size_vertical
+ * elif layout == ELM_BOX_LAYOUT_FLOW_HORIZONTAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":42
+ * return evas_object_box_layout_homogeneous_max_size_horizontal
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL:
+ * return evas_object_box_layout_homogeneous_max_size_vertical # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_FLOW_HORIZONTAL:
+ * return evas_object_box_layout_flow_horizontal
+ */
+ __pyx_r = evas_object_box_layout_homogeneous_max_size_vertical;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":43
+ * elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL:
+ * return evas_object_box_layout_homogeneous_max_size_vertical
+ * elif layout == ELM_BOX_LAYOUT_FLOW_HORIZONTAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_flow_horizontal
+ * elif layout == ELM_BOX_LAYOUT_FLOW_VERTICAL:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_FLOW_HORIZONTAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":44
+ * return evas_object_box_layout_homogeneous_max_size_vertical
+ * elif layout == ELM_BOX_LAYOUT_FLOW_HORIZONTAL:
+ * return evas_object_box_layout_flow_horizontal # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_FLOW_VERTICAL:
+ * return evas_object_box_layout_flow_vertical
+ */
+ __pyx_r = evas_object_box_layout_flow_horizontal;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":45
+ * elif layout == ELM_BOX_LAYOUT_FLOW_HORIZONTAL:
+ * return evas_object_box_layout_flow_horizontal
+ * elif layout == ELM_BOX_LAYOUT_FLOW_VERTICAL: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_flow_vertical
+ * elif layout == ELM_BOX_LAYOUT_STACK:
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_FLOW_VERTICAL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":46
+ * return evas_object_box_layout_flow_horizontal
+ * elif layout == ELM_BOX_LAYOUT_FLOW_VERTICAL:
+ * return evas_object_box_layout_flow_vertical # <<<<<<<<<<<<<<
+ * elif layout == ELM_BOX_LAYOUT_STACK:
+ * return evas_object_box_layout_stack
+ */
+ __pyx_r = evas_object_box_layout_flow_vertical;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":47
+ * elif layout == ELM_BOX_LAYOUT_FLOW_VERTICAL:
+ * return evas_object_box_layout_flow_vertical
+ * elif layout == ELM_BOX_LAYOUT_STACK: # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_stack
+ * return evas_object_box_layout_vertical
+ */
+ __pyx_t_1 = (__pyx_v_layout == __pyx_e_10elementary_12c_elementary_ELM_BOX_LAYOUT_STACK);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":48
+ * return evas_object_box_layout_flow_vertical
+ * elif layout == ELM_BOX_LAYOUT_STACK:
+ * return evas_object_box_layout_stack # <<<<<<<<<<<<<<
+ * return evas_object_box_layout_vertical
+ *
+ */
+ __pyx_r = evas_object_box_layout_stack;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":49
+ * elif layout == ELM_BOX_LAYOUT_STACK:
+ * return evas_object_box_layout_stack
+ * return evas_object_box_layout_vertical # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_r = evas_object_box_layout_vertical;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box___init__[] = "Add a new box to the parent\n\n By default, the box will be in vertical mode and non-homogeneous.\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: The new object or None if it cannot be created\n @rtype: L{Object}\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_3Box___init__;
+static int __pyx_pw_10elementary_12c_elementary_3Box_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 110; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box___init__(((struct PyElementaryBox *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":110
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Add a new box to the parent
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box___init__(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":121
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_box_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 121; __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[18]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":122
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_box_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, horizontal):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Box *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_box_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Box.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_3horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_2horizontal_set[] = "Set the horizontal orientation.\n\n By default, box object arranges their contents vertically from top to\n bottom.\n By calling this function with C{horizontal} as C{True}, the box will\n become horizontal, arranging contents from left to right.\n\n @note: This flag is ignored if a custom layout function is set.\n\n @param horizontal: The horizontal flag (C{True} = horizontal,\n C{False} = vertical)\n @type horizontal: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_3horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_2horizontal_set(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":124
+ * self._set_obj(elm_box_add(parent.obj))
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """Set the horizontal orientation.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_2horizontal_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":139
+ *
+ * """
+ * elm_box_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_box_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_5horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_4horizontal_get[] = "Get the horizontal orientation.\n\n @return: C{True} if the box is set to horizontal mode, C{False} otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_5horizontal_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_10elementary_12c_elementary_3Box_4horizontal_get(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":141
+ * elm_box_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Get the horizontal orientation.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_4horizontal_get(struct PyElementaryBox *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":148
+ *
+ * """
+ * return elm_box_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_box_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Box.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_10horizontal___get__(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":162
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_box_horizontal_get(self.obj)
+ * def __set__(self, value):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_10horizontal___get__(struct PyElementaryBox *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":163
+ * """
+ * def __get__(self):
+ * return elm_box_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * elm_box_horizontal_set(self.obj, value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_box_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Box.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_3Box_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_10horizontal_2__set__(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":164
+ * def __get__(self):
+ * return elm_box_horizontal_get(self.obj)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_box_horizontal_set(self.obj, value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box_10horizontal_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":165
+ * return elm_box_horizontal_get(self.obj)
+ * def __set__(self, value):
+ * elm_box_horizontal_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_set(self, homogeneous):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_value); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_box_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_7homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_6homogeneous_set[] = "Set the box to arrange its children homogeneously\n\n If enabled, homogeneous layout makes all items the same size, according\n to the size of the largest of its children.\n\n @note: This flag is ignored if a custom layout function is set.\n\n @param homogeneous: The homogeneous flag\n @type homogeneous: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_7homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_6homogeneous_set(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_homogeneous));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":167
+ * elm_box_horizontal_set(self.obj, value)
+ *
+ * def homogeneous_set(self, homogeneous): # <<<<<<<<<<<<<<
+ * """Set the box to arrange its children homogeneously
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_6homogeneous_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("homogeneous_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":179
+ *
+ * """
+ * elm_box_homogeneous_set(self.obj, homogeneous) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_homogeneous); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_box_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.homogeneous_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_9homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_8homogeneous_get[] = "Get whether the box is using homogeneous mode or not\n\n @return: C{True} if it's homogeneous, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_9homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_8homogeneous_get(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":181
+ * elm_box_homogeneous_set(self.obj, homogeneous)
+ *
+ * def homogeneous_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the box is using homogeneous mode or not
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_8homogeneous_get(struct PyElementaryBox *__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("homogeneous_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":188
+ *
+ * """
+ * return bool(elm_box_homogeneous_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property homogeneous:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_box_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Box.homogeneous_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_11homogeneous_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_11homogeneous_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_11homogeneous___get__(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":201
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_box_homogeneous_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_11homogeneous___get__(struct PyElementaryBox *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":202
+ * """
+ * def __get__(self):
+ * return bool(elm_box_homogeneous_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_box_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Box.homogeneous.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_11homogeneous_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_3Box_11homogeneous_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_11homogeneous_2__set__(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":204
+ * return bool(elm_box_homogeneous_get(self.obj))
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_box_homogeneous_set(self.obj, value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box_11homogeneous_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":205
+ *
+ * def __set__(self, value):
+ * elm_box_homogeneous_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def pack_start(self, evasObject obj):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_value); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_box_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.homogeneous.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_11pack_start(PyObject *__pyx_v_self, PyObject *__pyx_v_obj); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_10pack_start[] = "Add an object to the beginning of the pack list.\n\n Pack C{subobj} into the box, placing it first in the list of\n children objects. The actual position the object will get on screen\n depends on the layout used. If no custom layout is set, it will be at\n the top or left, depending if the box is vertical or horizontal,\n respectively.\n\n @param subobj: The object to add to the box\n @type subobj: L{Object}\n\n @see: L{pack_end()}\n @see: L{pack_before()}\n @see: L{pack_after()}\n @see: L{unpack()}\n @see: L{unpack_all()}\n @see: L{clear()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_11pack_start(PyObject *__pyx_v_self, PyObject *__pyx_v_obj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_start (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_10pack_start(((struct PyElementaryBox *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_obj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":207
+ * elm_box_homogeneous_set(self.obj, value)
+ *
+ * def pack_start(self, evasObject obj): # <<<<<<<<<<<<<<
+ * """Add an object to the beginning of the pack list.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_10pack_start(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_start", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":227
+ *
+ * """
+ * elm_box_pack_start(self.obj, obj.obj) # <<<<<<<<<<<<<<
+ *
+ * def pack_end(self, evasObject obj):
+ */
+ elm_box_pack_start(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_obj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_13pack_end(PyObject *__pyx_v_self, PyObject *__pyx_v_obj); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_12pack_end[] = "Add an object at the end of the pack list.\n\n Pack C{subobj} into the box, placing it last in the list of\n children objects. The actual position the object will get on screen\n depends on the layout used. If no custom layout is set, it will be at\n the bottom or right, depending if the box is vertical or horizontal,\n respectively.\n\n @param subobj: The object to add to the box\n @type subobj: L{Object}\n\n @see: L{pack_start()}\n @see: L{pack_before()}\n @see: L{pack_after()}\n @see: L{unpack()}\n @see: L{unpack_all()}\n @see: L{clear()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_13pack_end(PyObject *__pyx_v_self, PyObject *__pyx_v_obj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_end (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_12pack_end(((struct PyElementaryBox *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_obj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":229
+ * elm_box_pack_start(self.obj, obj.obj)
+ *
+ * def pack_end(self, evasObject obj): # <<<<<<<<<<<<<<
+ * """Add an object at the end of the pack list.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_12pack_end(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_end", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":249
+ *
+ * """
+ * elm_box_pack_end(self.obj, obj.obj) # <<<<<<<<<<<<<<
+ *
+ * def pack_before(self, evasObject obj, evasObject before):
+ */
+ elm_box_pack_end(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_obj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_15pack_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_14pack_before[] = "Adds an object to the box before the indicated object.\n\n This will add the C{subobj} to the box indicated before the object\n indicated with C{before}. If C{before} is not already in the box, results\n are undefined. Before means either to the left of the indicated object or\n above it depending on orientation.\n\n @param subobj: The object to add to the box\n @type subobj: L{Object}\n @param before: The object before which to add it\n @type before: L{Object}\n\n @see: L{pack_start()}\n @see: L{pack_end()}\n @see: L{pack_after()}\n @see: L{unpack()}\n @see: L{unpack_all()}\n @see: L{clear()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_15pack_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_obj = 0;
+ struct PyEvasObject *__pyx_v_before = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__before,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_before (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_before", 1, 2, 2, 1); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "pack_before") < 0)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 251; __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_obj = ((struct PyEvasObject *)values[0]);
+ __pyx_v_before = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("pack_before", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.pack_before", __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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before), __pyx_ptype_4evas_6c_evas_Object, 1, "before", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_14pack_before(((struct PyElementaryBox *)__pyx_v_self), __pyx_v_obj, __pyx_v_before);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":251
+ * elm_box_pack_end(self.obj, obj.obj)
+ *
+ * def pack_before(self, evasObject obj, evasObject before): # <<<<<<<<<<<<<<
+ * """Adds an object to the box before the indicated object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_14pack_before(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj, struct PyEvasObject *__pyx_v_before) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":272
+ *
+ * """
+ * elm_box_pack_before(self.obj, obj.obj, before.obj) # <<<<<<<<<<<<<<
+ *
+ * def pack_after(self, evasObject obj, evasObject after):
+ */
+ elm_box_pack_before(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_obj->obj, __pyx_v_before->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_17pack_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_16pack_after[] = "Adds an object to the box after the indicated object.\n\n This will add the C{subobj} to the box indicated after the object\n indicated with C{after}. If C{after} is not already in the box, results\n are undefined. After means either to the right of the indicated object or\n below it depending on orientation.\n\n @param subobj: The object to add to the box\n @type subobj: L{Object}\n @param after: The object after which to add it\n @type after: L{Object}\n\n @see: L{pack_start()}\n @see: L{pack_end()}\n @see: L{pack_before()}\n @see: L{unpack()}\n @see: L{unpack_all()}\n @see: L{clear()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_17pack_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_obj = 0;
+ struct PyEvasObject *__pyx_v_after = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__after,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_after (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__after);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_after", 1, 2, 2, 1); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "pack_after") < 0)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 274; __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_obj = ((struct PyEvasObject *)values[0]);
+ __pyx_v_after = ((struct PyEvasObject *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("pack_after", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.pack_after", __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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_after), __pyx_ptype_4evas_6c_evas_Object, 1, "after", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_16pack_after(((struct PyElementaryBox *)__pyx_v_self), __pyx_v_obj, __pyx_v_after);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":274
+ * elm_box_pack_before(self.obj, obj.obj, before.obj)
+ *
+ * def pack_after(self, evasObject obj, evasObject after): # <<<<<<<<<<<<<<
+ * """Adds an object to the box after the indicated object.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_16pack_after(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj, struct PyEvasObject *__pyx_v_after) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":295
+ *
+ * """
+ * elm_box_pack_after(self.obj, obj.obj, after.obj) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ elm_box_pack_after(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_obj->obj, __pyx_v_after->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_19clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_18clear[] = "Clear the box of all children\n\n Remove all the elements contained by the box, deleting the respective\n objects.\n\n @see: L{unpack()}\n @see: L{unpack_all()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_19clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_18clear(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":297
+ * elm_box_pack_after(self.obj, obj.obj, after.obj)
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * """Clear the box of all children
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_18clear(struct PyElementaryBox *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":307
+ *
+ * """
+ * elm_box_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def unpack(self, evasObject obj):
+ */
+ elm_box_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_21unpack(PyObject *__pyx_v_self, PyObject *__pyx_v_obj); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_20unpack[] = "Unpack a box item.\n\n Remove the object given by C{subobj} from the box without\n deleting it.\n\n @param subobj: The object to unpack\n @type subobj: L{Object}\n\n @see: L{unpack_all()}\n @see: L{clear()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_21unpack(PyObject *__pyx_v_self, PyObject *__pyx_v_obj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_20unpack(((struct PyElementaryBox *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_obj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":309
+ * elm_box_clear(self.obj)
+ *
+ * def unpack(self, evasObject obj): # <<<<<<<<<<<<<<
+ * """Unpack a box item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_20unpack(struct PyElementaryBox *__pyx_v_self, struct PyEvasObject *__pyx_v_obj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":322
+ *
+ * """
+ * elm_box_unpack(self.obj, obj.obj) # <<<<<<<<<<<<<<
+ *
+ * def unpack_all(self):
+ */
+ elm_box_unpack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_obj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_23unpack_all(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_22unpack_all[] = "Remove all items from the box, without deleting them.\n\n Clear the box from all children, but don't delete the respective objects.\n If no other references of the box children exist, the objects will never\n be deleted, and thus the application will leak the memory. Make sure\n when using this function that you hold a reference to all the objects\n in the box.\n\n @see: L{clear()}\n @see: L{unpack()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_23unpack_all(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack_all (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_22unpack_all(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":324
+ * elm_box_unpack(self.obj, obj.obj)
+ *
+ * def unpack_all(self): # <<<<<<<<<<<<<<
+ * """Remove all items from the box, without deleting them.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_22unpack_all(struct PyElementaryBox *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack_all", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":337
+ *
+ * """
+ * elm_box_unpack_all(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def children_get(self):
+ */
+ elm_box_unpack_all(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_25children_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_24children_get[] = "Retrieve a list of the objects packed into the box\n\n Returns a C{tuple} with the child L{Object}s.\n The order of the list corresponds to the packing order the box uses.\n\n @return: The child objects\n @rtype: tuple of L{Object}s\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_25children_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("children_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_24children_get(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":339
+ * elm_box_unpack_all(self.obj)
+ *
+ * def children_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve a list of the objects packed into the box
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_24children_get(struct PyElementaryBox *__pyx_v_self) {
+ Evas_Object *__pyx_v_o;
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ const Eina_List *__pyx_v_lst;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ void *__pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("children_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":353
+ * cdef const_Eina_List *lst
+ *
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_box_children_get(self.obj)
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":354
+ *
+ * ret = []
+ * lst = elm_box_children_get(self.obj) # <<<<<<<<<<<<<<
+ * while lst:
+ * o = <Evas_Object *> lst.data
+ */
+ __pyx_v_lst = elm_box_children_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":355
+ * ret = []
+ * lst = elm_box_children_get(self.obj)
+ * while lst: # <<<<<<<<<<<<<<
+ * o = <Evas_Object *> lst.data
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":356
+ * lst = elm_box_children_get(self.obj)
+ * while lst:
+ * o = <Evas_Object *> lst.data # <<<<<<<<<<<<<<
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * ret.append(obj)
+ */
+ __pyx_v_o = ((Evas_Object *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":357
+ * while lst:
+ * o = <Evas_Object *> lst.data
+ * obj = <Object>evas_object_data_get(o, "python-evas") # <<<<<<<<<<<<<<
+ * ret.append(obj)
+ * lst = lst.next
+ */
+ __pyx_t_3 = evas_object_data_get(__pyx_v_o, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_3)));
+ __Pyx_XDECREF(((PyObject *)__pyx_v_obj));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":358
+ * o = <Evas_Object *> lst.data
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * ret.append(obj) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_4 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_v_obj)); if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":359
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * ret.append(obj)
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":360
+ * ret.append(obj)
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * property children:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Box.children_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_8children_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_8children_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_8children___get__(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":371
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *o
+ * cdef Object obj
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_8children___get__(struct PyElementaryBox *__pyx_v_self) {
+ Evas_Object *__pyx_v_o;
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ const Eina_List *__pyx_v_lst;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ void *__pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":376
+ * cdef const_Eina_List *lst
+ *
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_box_children_get(self.obj)
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":377
+ *
+ * ret = []
+ * lst = elm_box_children_get(self.obj) # <<<<<<<<<<<<<<
+ * while lst:
+ * o = <Evas_Object *> lst.data
+ */
+ __pyx_v_lst = elm_box_children_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":378
+ * ret = []
+ * lst = elm_box_children_get(self.obj)
+ * while lst: # <<<<<<<<<<<<<<
+ * o = <Evas_Object *> lst.data
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":379
+ * lst = elm_box_children_get(self.obj)
+ * while lst:
+ * o = <Evas_Object *> lst.data # <<<<<<<<<<<<<<
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * ret.append(obj)
+ */
+ __pyx_v_o = ((Evas_Object *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":380
+ * while lst:
+ * o = <Evas_Object *> lst.data
+ * obj = <Object>evas_object_data_get(o, "python-evas") # <<<<<<<<<<<<<<
+ * ret.append(obj)
+ * lst = lst.next
+ */
+ __pyx_t_3 = evas_object_data_get(__pyx_v_o, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_3)));
+ __Pyx_XDECREF(((PyObject *)__pyx_v_obj));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":381
+ * o = <Evas_Object *> lst.data
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * ret.append(obj) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_4 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_v_obj)); if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":382
+ * obj = <Object>evas_object_data_get(o, "python-evas")
+ * ret.append(obj)
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ * #def __set__(self, value):
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":383
+ * ret.append(obj)
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ * #def __set__(self, value):
+ * #TODO: unpack_all() and then get the objects from value and pack_end() them.
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Box.children.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_8children_3__del__(PyObject *__pyx_v_self); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_3Box_8children_3__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_8children_2__del__(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":386
+ * #def __set__(self, value):
+ * #TODO: unpack_all() and then get the objects from value and pack_end() them.
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * elm_box_clear(self.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box_8children_2__del__(struct PyElementaryBox *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":387
+ * #TODO: unpack_all() and then get the objects from value and pack_end() them.
+ * def __del__(self):
+ * elm_box_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def padding_set(self, horizontal, vertical):
+ */
+ elm_box_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_27padding_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_26padding_set[] = "Set the space (padding) between the box's elements.\n\n Extra space in pixels that will be added between a box child and its\n neighbors after its containing cell has been calculated. This padding\n is set for all elements in the box, besides any possible padding that\n individual elements may have through their size hints.\n\n @param horizontal: The horizontal space between elements\n @type horizontal: Evas_Coord (int)\n @param vertical: The vertical space between elements\n @type vertical: Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_27padding_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_horizontal = 0;
+ PyObject *__pyx_v_vertical = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__horizontal,&__pyx_n_s__vertical,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("padding_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__horizontal);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__vertical);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("padding_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "padding_set") < 0)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 389; __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_horizontal = values[0];
+ __pyx_v_vertical = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("padding_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.padding_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_26padding_set(((struct PyElementaryBox *)__pyx_v_self), __pyx_v_horizontal, __pyx_v_vertical);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":389
+ * elm_box_clear(self.obj)
+ *
+ * def padding_set(self, horizontal, vertical): # <<<<<<<<<<<<<<
+ * """Set the space (padding) between the box's elements.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_26padding_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_horizontal, PyObject *__pyx_v_vertical) {
+ 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("padding_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":403
+ *
+ * """
+ * elm_box_padding_set(self.obj, horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def padding_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_vertical); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_box_padding_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.padding_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_29padding_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_28padding_get[] = "Get the space (padding) between the box's elements.\n\n @see: L{padding_set()}\n\n @return: The horizontal and vertical space between elements\n @rtype: tuple of Evas_Coords (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_29padding_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("padding_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_28padding_get(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":405
+ * elm_box_padding_set(self.obj, horizontal, vertical)
+ *
+ * def padding_get(self): # <<<<<<<<<<<<<<
+ * """Get the space (padding) between the box's elements.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_28padding_get(struct PyElementaryBox *__pyx_v_self) {
+ int __pyx_v_horizontal;
+ int __pyx_v_vertical;
+ 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("padding_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":416
+ * cdef int horizontal, vertical
+ *
+ * elm_box_padding_get(self.obj, &horizontal, &vertical) # <<<<<<<<<<<<<<
+ * return (horizontal, vertical)
+ *
+ */
+ elm_box_padding_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_horizontal), (&__pyx_v_vertical));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":417
+ *
+ * elm_box_padding_get(self.obj, &horizontal, &vertical)
+ * return (horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * property padding:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_horizontal); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_vertical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 417; __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[18]; __pyx_lineno = 417; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Box.padding_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_7padding_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_7padding_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_7padding___get__(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":430
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int horizontal, vertical
+ * elm_box_padding_get(self.obj, &horizontal, &vertical)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_7padding___get__(struct PyElementaryBox *__pyx_v_self) {
+ int __pyx_v_horizontal;
+ int __pyx_v_vertical;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":432
+ * def __get__(self):
+ * cdef int horizontal, vertical
+ * elm_box_padding_get(self.obj, &horizontal, &vertical) # <<<<<<<<<<<<<<
+ * return (horizontal, vertical)
+ *
+ */
+ elm_box_padding_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_horizontal), (&__pyx_v_vertical));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":433
+ * cdef int horizontal, vertical
+ * elm_box_padding_get(self.obj, &horizontal, &vertical)
+ * return (horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_horizontal); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_vertical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 433; __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[18]; __pyx_lineno = 433; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Box.padding.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_7padding_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_3Box_7padding_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_7padding_2__set__(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":435
+ * return (horizontal, vertical)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int horizontal, vertical
+ * horizontal, vertical = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box_7padding_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_horizontal;
+ int __pyx_v_vertical;
+ 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 *);
+ int __pyx_t_5;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":437
+ * def __set__(self, value):
+ * cdef int horizontal, vertical
+ * horizontal, vertical = value # <<<<<<<<<<<<<<
+ * elm_box_padding_set(self.obj, horizontal, vertical)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[18]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[18]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 437; __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[18]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[18]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_horizontal = __pyx_t_5;
+ __pyx_v_vertical = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":438
+ * cdef int horizontal, vertical
+ * horizontal, vertical = value
+ * elm_box_padding_set(self.obj, horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def align_set(self, horizontal, vertical):
+ */
+ elm_box_padding_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_horizontal, __pyx_v_vertical);
+
+ __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("elementary.c_elementary.Box.padding.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_31align_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_30align_set[] = "Set the alignment of the whole bounding box of contents.\n\n Sets how the bounding box containing all the elements of the box, after\n their sizes and position has been calculated, will be aligned within\n the space given for the whole box widget.\n\n @param horizontal: The horizontal alignment of elements\n @type horizontal: float\n @param vertical: The vertical alignment of elements\n @type vertical: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_31align_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_horizontal = 0;
+ PyObject *__pyx_v_vertical = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__horizontal,&__pyx_n_s__vertical,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("align_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__horizontal);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__vertical);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("align_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 440; __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[18]; __pyx_lineno = 440; __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_horizontal = values[0];
+ __pyx_v_vertical = 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[18]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_30align_set(((struct PyElementaryBox *)__pyx_v_self), __pyx_v_horizontal, __pyx_v_vertical);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":440
+ * elm_box_padding_set(self.obj, horizontal, vertical)
+ *
+ * def align_set(self, horizontal, vertical): # <<<<<<<<<<<<<<
+ * """Set the alignment of the whole bounding box of contents.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_30align_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_horizontal, PyObject *__pyx_v_vertical) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":453
+ *
+ * """
+ * elm_box_align_set(self.obj, horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def align_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_vertical); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 453; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_box_align_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_33align_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_32align_get[] = "Get the alignment of the whole bounding box of contents.\n\n @return: The horizontal and vertical alignment of elements\n @rtype: tuple of floats\n\n @see: L{align_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_33align_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_10elementary_12c_elementary_3Box_32align_get(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":455
+ * elm_box_align_set(self.obj, horizontal, vertical)
+ *
+ * def align_get(self): # <<<<<<<<<<<<<<
+ * """Get the alignment of the whole bounding box of contents.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_32align_get(struct PyElementaryBox *__pyx_v_self) {
+ double __pyx_v_horizontal;
+ double __pyx_v_vertical;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":466
+ * cdef double horizontal, vertical
+ *
+ * elm_box_align_get(self.obj, &horizontal, &vertical) # <<<<<<<<<<<<<<
+ * return (horizontal, vertical)
+ *
+ */
+ elm_box_align_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_horizontal), (&__pyx_v_vertical));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":467
+ *
+ * elm_box_align_get(self.obj, &horizontal, &vertical)
+ * return (horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * property align:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_horizontal); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 467; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_vertical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 467; __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[18]; __pyx_lineno = 467; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Box.align_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_5align_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_5align_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_5align___get__(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":479
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef double horizontal, vertical
+ * elm_box_align_get(self.obj, &horizontal, &vertical)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_5align___get__(struct PyElementaryBox *__pyx_v_self) {
+ double __pyx_v_horizontal;
+ double __pyx_v_vertical;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":481
+ * def __get__(self):
+ * cdef double horizontal, vertical
+ * elm_box_align_get(self.obj, &horizontal, &vertical) # <<<<<<<<<<<<<<
+ * return (horizontal, vertical)
+ *
+ */
+ elm_box_align_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_horizontal), (&__pyx_v_vertical));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":482
+ * cdef double horizontal, vertical
+ * elm_box_align_get(self.obj, &horizontal, &vertical)
+ * return (horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_horizontal); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_vertical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 482; __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[18]; __pyx_lineno = 482; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Box.align.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_5align_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_3Box_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_10elementary_12c_elementary_3Box_5align_2__set__(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":484
+ * return (horizontal, vertical)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef double horizontal, vertical
+ * horizontal, vertical = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box_5align_2__set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_value) {
+ double __pyx_v_horizontal;
+ double __pyx_v_vertical;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":486
+ * def __set__(self, value):
+ * cdef double horizontal, vertical
+ * horizontal, vertical = value # <<<<<<<<<<<<<<
+ * elm_box_align_set(self.obj, horizontal, vertical)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[18]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[18]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 486; __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[18]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[18]; __pyx_lineno = 486; __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[18]; __pyx_lineno = 486; __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[18]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_horizontal = __pyx_t_5;
+ __pyx_v_vertical = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":487
+ * cdef double horizontal, vertical
+ * horizontal, vertical = value
+ * elm_box_align_set(self.obj, horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def recalculate(self):
+ */
+ elm_box_align_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_horizontal, __pyx_v_vertical);
+
+ __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("elementary.c_elementary.Box.align.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_35recalculate(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_34recalculate[] = "Force the box to recalculate its children packing.\n\n If any children was added or removed, box will not calculate the\n values immediately rather leaving it to the next main loop\n iteration. While this is great as it would save lots of\n recalculation, whenever you need to get the position of a just\n added item you must force recalculate before doing so.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_35recalculate(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("recalculate (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_34recalculate(((struct PyElementaryBox *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":489
+ * elm_box_align_set(self.obj, horizontal, vertical)
+ *
+ * def recalculate(self): # <<<<<<<<<<<<<<
+ * """Force the box to recalculate its children packing.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_34recalculate(struct PyElementaryBox *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("recalculate", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":499
+ *
+ * """
+ * elm_box_recalculate(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def layout_set(self, layout):
+ */
+ elm_box_recalculate(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_37layout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_layout); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_36layout_set[] = "Set the layout function for the box.\n\n A box layout function affects how a box object displays child\n elements within its area. The list of pre-defined box layouts\n available in Evas is:\n - elementary.ELM_BOX_LAYOUT_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_VERTICAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL\n - elementary.ELM_BOX_LAYOUT_FLOW_HORIZONTAL\n - elementary.ELM_BOX_LAYOUT_FLOW_VERTICAL\n - elementary.ELM_BOX_LAYOUT_STACK\n\n Note that you cannot set a custom layout function.\n\n @param layout: the new layout to set\n @type layout: Evas_Object_Box_Layout\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_37layout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_layout) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("layout_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_36layout_set(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_layout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":501
+ * elm_box_recalculate(self.obj)
+ *
+ * def layout_set(self, layout): # <<<<<<<<<<<<<<
+ * """Set the layout function for the box.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_36layout_set(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_layout) {
+ Evas_Object_Box_Layout __pyx_v_ly;
+ 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("layout_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":525
+ * cdef Evas_Object_Box_Layout ly
+ *
+ * ly = _py_elm_box_layout_resolv(layout) # <<<<<<<<<<<<<<
+ * elm_box_layout_set(self.obj, ly, NULL, NULL)
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_layout); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_ly = __pyx_f_10elementary_12c_elementary__py_elm_box_layout_resolv(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":526
+ *
+ * ly = _py_elm_box_layout_resolv(layout)
+ * elm_box_layout_set(self.obj, ly, NULL, NULL) # <<<<<<<<<<<<<<
+ *
+ * property layout:
+ */
+ elm_box_layout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_ly, NULL, NULL);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.layout_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_3Box_6layout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layout); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_3Box_6layout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_6layout___set__(((struct PyElementaryBox *)__pyx_v_self), ((PyObject *)__pyx_v_layout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":549
+ *
+ * """
+ * def __set__(self, layout): # <<<<<<<<<<<<<<
+ * cdef Evas_Object_Box_Layout ly
+ * ly = _py_elm_box_layout_resolv(layout)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_3Box_6layout___set__(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_layout) {
+ Evas_Object_Box_Layout __pyx_v_ly;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":551
+ * def __set__(self, layout):
+ * cdef Evas_Object_Box_Layout ly
+ * ly = _py_elm_box_layout_resolv(layout) # <<<<<<<<<<<<<<
+ * elm_box_layout_set(self.obj, ly, NULL, NULL)
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_layout); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_ly = __pyx_f_10elementary_12c_elementary__py_elm_box_layout_resolv(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":552
+ * cdef Evas_Object_Box_Layout ly
+ * ly = _py_elm_box_layout_resolv(layout)
+ * elm_box_layout_set(self.obj, ly, NULL, NULL) # <<<<<<<<<<<<<<
+ *
+ * def layout_transition(self, duration, from_layout, to_layout):
+ */
+ elm_box_layout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_ly, NULL, NULL);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.layout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_39layout_transition(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_3Box_38layout_transition[] = "Perform an animatation between two given different layout.\n\n If you want to animate the change from one layout to another, you\n just need to call this function with the starting layout and\n the final one.\n\n @see: L{layout_set()} for the list of available layouts.\n\n @param duration: the animation duration in seconds\n @type duration: double\n @param from_layout: one of elementary.ELM_BOX_LAYOUT_*\n @type from_layout: Evas_Object_Box_Layout\n @param to_layout: one of elementary.ELM_BOX_LAYOUT_*\n @type to_layout: Evas_Object_Box_Layout\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_3Box_39layout_transition(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_duration = 0;
+ PyObject *__pyx_v_from_layout = 0;
+ PyObject *__pyx_v_to_layout = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__duration,&__pyx_n_s__from_layout,&__pyx_n_s__to_layout,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("layout_transition (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__duration);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_layout);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("layout_transition", 1, 3, 3, 1); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_layout);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("layout_transition", 1, 3, 3, 2); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "layout_transition") < 0)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 554; __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_duration = values[0];
+ __pyx_v_from_layout = values[1];
+ __pyx_v_to_layout = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("layout_transition", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[18]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.layout_transition", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Box_38layout_transition(((struct PyElementaryBox *)__pyx_v_self), __pyx_v_duration, __pyx_v_from_layout, __pyx_v_to_layout);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":554
+ * elm_box_layout_set(self.obj, ly, NULL, NULL)
+ *
+ * def layout_transition(self, duration, from_layout, to_layout): # <<<<<<<<<<<<<<
+ * """Perform an animatation between two given different layout.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_3Box_38layout_transition(struct PyElementaryBox *__pyx_v_self, PyObject *__pyx_v_duration, PyObject *__pyx_v_from_layout, PyObject *__pyx_v_to_layout) {
+ Elm_Box_Transition *__pyx_v_t;
+ Evas_Object_Box_Layout __pyx_v_ly_from;
+ Evas_Object_Box_Layout __pyx_v_ly_to;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ double __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("layout_transition", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":574
+ * cdef Evas_Object_Box_Layout ly_from, ly_to
+ *
+ * ly_from = _py_elm_box_layout_resolv(from_layout) # <<<<<<<<<<<<<<
+ * ly_to = _py_elm_box_layout_resolv(to_layout)
+ * t = elm_box_transition_new(duration,
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_from_layout); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_ly_from = __pyx_f_10elementary_12c_elementary__py_elm_box_layout_resolv(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":575
+ *
+ * ly_from = _py_elm_box_layout_resolv(from_layout)
+ * ly_to = _py_elm_box_layout_resolv(to_layout) # <<<<<<<<<<<<<<
+ * t = elm_box_transition_new(duration,
+ * ly_from, NULL, NULL,
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_to_layout); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_ly_to = __pyx_f_10elementary_12c_elementary__py_elm_box_layout_resolv(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":576
+ * ly_from = _py_elm_box_layout_resolv(from_layout)
+ * ly_to = _py_elm_box_layout_resolv(to_layout)
+ * t = elm_box_transition_new(duration, # <<<<<<<<<<<<<<
+ * ly_from, NULL, NULL,
+ * ly_to, NULL, NULL,
+ */
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_duration); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":579
+ * ly_from, NULL, NULL,
+ * ly_to, NULL, NULL,
+ * NULL, NULL) # <<<<<<<<<<<<<<
+ * elm_box_layout_set(self.obj, elm_box_layout_transition, t,
+ * elm_box_transition_free)
+ */
+ __pyx_v_t = elm_box_transition_new(__pyx_t_2, __pyx_v_ly_from, NULL, NULL, __pyx_v_ly_to, NULL, NULL, NULL, NULL);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":581
+ * NULL, NULL)
+ * elm_box_layout_set(self.obj, elm_box_layout_transition, t,
+ * elm_box_transition_free) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ elm_box_layout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, elm_box_layout_transition, __pyx_v_t, elm_box_transition_free);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Box.layout_transition", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Frame_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Frame_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 47; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[19]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame___init__(((struct PyElementaryFrame *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":47
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_frame_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Frame___init__(struct PyElementaryFrame *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":48
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_frame_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 48; __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[19]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":49
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_frame_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def autocollapse_set(self, autocollapse):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Frame *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_frame_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Frame.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_3autocollapse_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Frame_2autocollapse_set[] = "Toggle autocollapsing of a frame\n\n When C{autocollapse} is True, clicking a frame's label will collapse\n the frame vertically, shrinking it to the height of the label. By\n default, this is DISABLED.\n\n @param autocollapse: Whether to enable autocollapse\n @type autocollapse: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_3autocollapse_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autocollapse_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_2autocollapse_set(((struct PyElementaryFrame *)__pyx_v_self), ((PyObject *)__pyx_v_autocollapse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":51
+ * self._set_obj(elm_frame_add(parent.obj))
+ *
+ * def autocollapse_set(self, autocollapse): # <<<<<<<<<<<<<<
+ * """Toggle autocollapsing of a frame
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_2autocollapse_set(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autocollapse_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":62
+ *
+ * """
+ * elm_frame_autocollapse_set(self.obj, autocollapse) # <<<<<<<<<<<<<<
+ *
+ * def autocollapse_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autocollapse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_frame_autocollapse_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.autocollapse_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_5autocollapse_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Frame_4autocollapse_get[] = "Determine autocollapsing of a frame\n\n When this returns True, clicking a frame's label will collapse the\n frame vertically, shrinking it to the height of the label. By\n default, this is DISABLED.\n\n @return: Whether autocollapse is enabled\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_5autocollapse_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autocollapse_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_4autocollapse_get(((struct PyElementaryFrame *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":64
+ * elm_frame_autocollapse_set(self.obj, autocollapse)
+ *
+ * def autocollapse_get(self): # <<<<<<<<<<<<<<
+ * """Determine autocollapsing of a frame
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_4autocollapse_get(struct PyElementaryFrame *__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("autocollapse_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":75
+ *
+ * """
+ * return elm_frame_autocollapse_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property autocollapse:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_frame_autocollapse_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.autocollapse_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_12autocollapse_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_12autocollapse_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_12autocollapse___get__(((struct PyElementaryFrame *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":87
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_frame_autocollapse_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_12autocollapse___get__(struct PyElementaryFrame *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":88
+ * """
+ * def __get__(self):
+ * return elm_frame_autocollapse_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, autocollapse):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_frame_autocollapse_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.autocollapse.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Frame_12autocollapse_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Frame_12autocollapse_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_12autocollapse_2__set__(((struct PyElementaryFrame *)__pyx_v_self), ((PyObject *)__pyx_v_autocollapse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":90
+ * return elm_frame_autocollapse_get(self.obj)
+ *
+ * def __set__(self, autocollapse): # <<<<<<<<<<<<<<
+ * elm_frame_autocollapse_set(self.obj, autocollapse)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Frame_12autocollapse_2__set__(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":91
+ *
+ * def __set__(self, autocollapse):
+ * elm_frame_autocollapse_set(self.obj, autocollapse) # <<<<<<<<<<<<<<
+ *
+ * def collapse_set(self, autocollapse):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autocollapse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_frame_autocollapse_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.autocollapse.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_7collapse_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Frame_6collapse_set[] = "Manually collapse a frame without animations\n\n Use this to toggle the collapsed state of a frame, bypassing animations.\n\n @param collapse: True to collapse, False to expand\n @type collapse: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_7collapse_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("collapse_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_6collapse_set(((struct PyElementaryFrame *)__pyx_v_self), ((PyObject *)__pyx_v_autocollapse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":93
+ * elm_frame_autocollapse_set(self.obj, autocollapse)
+ *
+ * def collapse_set(self, autocollapse): # <<<<<<<<<<<<<<
+ * """Manually collapse a frame without animations
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_6collapse_set(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("collapse_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":102
+ *
+ * """
+ * elm_frame_collapse_set(self.obj, autocollapse) # <<<<<<<<<<<<<<
+ *
+ * def collapse_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autocollapse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_frame_collapse_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.collapse_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_9collapse_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Frame_8collapse_get[] = "Determine the collapse state of a frame\n\n Use this to determine the collapse state of a frame.\n\n @return: True if collapsed, False otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_9collapse_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("collapse_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_8collapse_get(((struct PyElementaryFrame *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":104
+ * elm_frame_collapse_set(self.obj, autocollapse)
+ *
+ * def collapse_get(self): # <<<<<<<<<<<<<<
+ * """Determine the collapse state of a frame
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_8collapse_get(struct PyElementaryFrame *__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("collapse_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":113
+ *
+ * """
+ * return elm_frame_collapse_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property collapse:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_frame_collapse_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.collapse_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_8collapse_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_8collapse_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_8collapse___get__(((struct PyElementaryFrame *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":121
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_frame_collapse_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_8collapse___get__(struct PyElementaryFrame *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":122
+ * """
+ * def __get__(self):
+ * return elm_frame_collapse_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, autocollapse):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_frame_collapse_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.collapse.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Frame_8collapse_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Frame_8collapse_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_8collapse_2__set__(((struct PyElementaryFrame *)__pyx_v_self), ((PyObject *)__pyx_v_autocollapse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":124
+ * return elm_frame_collapse_get(self.obj)
+ *
+ * def __set__(self, autocollapse): # <<<<<<<<<<<<<<
+ * elm_frame_collapse_set(self.obj, autocollapse)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Frame_8collapse_2__set__(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_autocollapse) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":125
+ *
+ * def __set__(self, autocollapse):
+ * elm_frame_collapse_set(self.obj, autocollapse) # <<<<<<<<<<<<<<
+ *
+ * def collapse_go(self, collapse):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autocollapse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_frame_collapse_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.collapse.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_11collapse_go(PyObject *__pyx_v_self, PyObject *__pyx_v_collapse); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Frame_10collapse_go[] = "Manually collapse a frame with animations\n\n Use this to toggle the collapsed state of a frame, triggering animations.\n\n @param collapse: True to collapse, False to expand\n @type collapse: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_11collapse_go(PyObject *__pyx_v_self, PyObject *__pyx_v_collapse) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("collapse_go (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_10collapse_go(((struct PyElementaryFrame *)__pyx_v_self), ((PyObject *)__pyx_v_collapse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":127
+ * elm_frame_collapse_set(self.obj, autocollapse)
+ *
+ * def collapse_go(self, collapse): # <<<<<<<<<<<<<<
+ * """Manually collapse a frame with animations
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_10collapse_go(struct PyElementaryFrame *__pyx_v_self, PyObject *__pyx_v_collapse) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("collapse_go", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":136
+ *
+ * """
+ * elm_frame_collapse_go(self.obj, collapse) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_collapse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_frame_collapse_go(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Frame.collapse_go", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_13callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Frame_12callback_clicked_add[] = "The user has clicked the frame's label.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_13callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[19]; __pyx_lineno = 139; __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[19]; __pyx_lineno = 139; __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("elementary.c_elementary.Frame.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Frame_12callback_clicked_add(((struct PyElementaryFrame *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":139
+ *
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has clicked the frame's label."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_12callback_clicked_add(struct PyElementaryFrame *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":141
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The user has clicked the frame's label."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 141; __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[19]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Frame.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_15callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Frame_15callback_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_10elementary_12c_elementary_5Frame_14callback_clicked_del(((struct PyElementaryFrame *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":143
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Frame_14callback_clicked_del(struct PyElementaryFrame *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":144
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("frame", Frame)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 144; __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[19]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Frame.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_4Flip_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip___init__[] = "Add a new flip to the parent\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: The new object or None if it cannot be created\n @rtype: L{Object}\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_4Flip___init__;
+static int __pyx_pw_10elementary_12c_elementary_4Flip_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 41; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip___init__(((struct PyElementaryFlip *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":41
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Add a new flip to the parent
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_4Flip___init__(struct PyElementaryFlip *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":50
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_flip_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 50; __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[20]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":51
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_flip_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def front_visible_get(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Flip *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_flip_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Flip.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_3front_visible_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_2front_visible_get[] = "Get flip front visibility state\n\n @return: True if front front is showing, False if the back is showing.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_3front_visible_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("front_visible_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_2front_visible_get(((struct PyElementaryFlip *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":53
+ * self._set_obj(elm_flip_add(parent.obj))
+ *
+ * def front_visible_get(self): # <<<<<<<<<<<<<<
+ * """Get flip front visibility state
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_2front_visible_get(struct PyElementaryFlip *__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("front_visible_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":60
+ *
+ * """
+ * return elm_flip_front_visible_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property front_visible:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_flip_front_visible_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.front_visible_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_13front_visible_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_13front_visible_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_13front_visible___get__(((struct PyElementaryFlip *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":68
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_flip_front_visible_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_13front_visible___get__(struct PyElementaryFlip *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":69
+ * """
+ * def __get__(self):
+ * return elm_flip_front_visible_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def perspective_set(self, foc, x, y):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_flip_front_visible_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.front_visible.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_5perspective_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_4perspective_set[] = "Set flip perspective\n\n @warning: This function currently does nothing.\n\n @param foc: The coordinate to set the focus on\n @type foc: Evas_Coord (int)\n @param x: The X coordinate\n @type x: Evas_Coord (int)\n @param y: The Y coordinate\n @type y: Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_5perspective_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_foc = 0;
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__foc,&__pyx_n_s__x,&__pyx_n_s__y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("perspective_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__foc);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("perspective_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("perspective_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "perspective_set") < 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 71; __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_foc = values[0];
+ __pyx_v_x = values[1];
+ __pyx_v_y = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("perspective_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.perspective_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_4perspective_set(((struct PyElementaryFlip *)__pyx_v_self), __pyx_v_foc, __pyx_v_x, __pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":71
+ * return elm_flip_front_visible_get(self.obj)
+ *
+ * def perspective_set(self, foc, x, y): # <<<<<<<<<<<<<<
+ * """Set flip perspective
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_4perspective_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_foc, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ Evas_Coord __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("perspective_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":84
+ *
+ * """
+ * elm_flip_perspective_set(self.obj, foc, x, y) # <<<<<<<<<<<<<<
+ *
+ * def go(self, flip_mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_foc); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_3 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flip_perspective_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.perspective_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_7go(PyObject *__pyx_v_self, PyObject *__pyx_v_flip_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_6go[] = "Runs the flip animation\n\n Flips the front and back contents using the C{mode} animation. This\n effectively hides the currently visible content and shows the hidden one.\n\n There a number of possible animations to use for the flipping:\n - ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content\n around a horizontal axis in the middle of its height, the other content\n is shown as the other side of the flip.\n - ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content\n around a vertical axis in the middle of its width, the other content is\n shown as the other side of the flip.\n - ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content\n around a diagonal axis in the middle of its width, the other content is\n shown as the other side of the flip.\n - ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content\n around a diagonal axis in the middle of its height, the other content is\n shown as the other side of the flip.\n - ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left\n as if the flip was a cube, the other content is show as the right face of\n the cube.\n - ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the\n right as if the flip was a cube, the other content is show as the left\n face of the cube.\n - ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the\n flip was a cube, the other content is show as the bottom face of the cube.\n - ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if\n the flip was a cube, the other content is show as the upper face of the\n cube.\n - ELM_FLIP_PAGE_LEFT - Move the currently visible content to the"" left as\n if the flip was a book, the other content is shown as the page below that.\n - ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right\n as if the flip was a book, the other content is shown as the page below\n that.\n - ELM_FLIP_PAGE_UP - Move the currently visible content up as if the\n flip was a book, the other content is shown as the page below that.\n - ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the\n flip was a book, the other content is shown as the page below that.\n\n @param mode: The mode type\n @type mode: Elm_Flip_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_7go(PyObject *__pyx_v_self, PyObject *__pyx_v_flip_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("go (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_6go(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_flip_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":86
+ * elm_flip_perspective_set(self.obj, foc, x, y)
+ *
+ * def go(self, flip_mode): # <<<<<<<<<<<<<<
+ * """Runs the flip animation
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_6go(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_flip_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("go", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":130
+ *
+ * """
+ * elm_flip_go(self.obj, flip_mode) # <<<<<<<<<<<<<<
+ *
+ * def interaction_set(self, mode):
+ */
+ __pyx_t_1 = ((Elm_Flip_Mode)PyInt_AsLong(__pyx_v_flip_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flip_go(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.go", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_9interaction_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_8interaction_set[] = "Set the interactive flip mode\n\n This sets if the flip should be interactive (allow user to click and\n drag a side of the flip to reveal the back page and cause it to flip).\n By default a flip is not interactive. You may also need to set which\n sides of the flip are \"active\" for flipping and how much space they use\n (a minimum of a finger size) with L{interaction_direction_enabled_set()}\n and L{interaction_direction_hitsize_set()}\n\n The four available mode of interaction are:\n - ELM_FLIP_INTERACTION_NONE - No interaction is allowed\n - ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation\n - ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation\n - ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation\n\n @note: ELM_FLIP_INTERACTION_ROTATE won't cause\n ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to\n happen, those can only be achieved with L{go()}\n\n @param mode: The interactive flip mode to use\n @type mode: Elm_Flip_Interaction\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_9interaction_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interaction_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_8interaction_set(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":132
+ * elm_flip_go(self.obj, flip_mode)
+ *
+ * def interaction_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set the interactive flip mode
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_8interaction_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Interaction __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("interaction_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":156
+ *
+ * """
+ * elm_flip_interaction_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def interaction_get(self):
+ */
+ __pyx_t_1 = ((Elm_Flip_Interaction)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flip_interaction_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_11interaction_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_10interaction_get[] = "Get the interactive flip mode\n\n Returns the interactive flip mode set by L{interaction_set()}\n\n @return: The interactive flip mode\n @rtype: Elm_Flip_Interaction\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_11interaction_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interaction_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_10interaction_get(((struct PyElementaryFlip *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":158
+ * elm_flip_interaction_set(self.obj, mode)
+ *
+ * def interaction_get(self): # <<<<<<<<<<<<<<
+ * """Get the interactive flip mode
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_10interaction_get(struct PyElementaryFlip *__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("interaction_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":167
+ *
+ * """
+ * return elm_flip_interaction_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property interaction:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_flip_interaction_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_11interaction_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_11interaction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_11interaction___get__(((struct PyElementaryFlip *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":192
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_flip_interaction_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_11interaction___get__(struct PyElementaryFlip *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":193
+ * """
+ * def __get__(self):
+ * return elm_flip_interaction_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_flip_interaction_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_4Flip_11interaction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_4Flip_11interaction_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_11interaction_2__set__(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":195
+ * return elm_flip_interaction_get(self.obj)
+ *
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_flip_interaction_set(self.obj, mode)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_4Flip_11interaction_2__set__(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Interaction __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":196
+ *
+ * def __set__(self, mode):
+ * elm_flip_interaction_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def interaction_direction_enabled_set(self, direction, enable):
+ */
+ __pyx_t_1 = ((Elm_Flip_Interaction)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flip_interaction_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_13interaction_direction_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_12interaction_direction_enabled_set[] = "Set which directions of the flip respond to interactive flip\n\n By default all directions are disabled, so you may want to enable the\n desired directions for flipping if you need interactive flipping. You must\n call this function once for each direction that should be enabled.\n\n @see: L{interaction_set()}\n\n @param dir: The direction to change\n @type dir: Elm_Flip_Direction\n @param enabled: If that direction is enabled or not\n @type enabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_13interaction_direction_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_direction = 0;
+ PyObject *__pyx_v_enable = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__direction,&__pyx_n_s__enable,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interaction_direction_enabled_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__direction);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__enable);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("interaction_direction_enabled_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "interaction_direction_enabled_set") < 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 198; __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_direction = values[0];
+ __pyx_v_enable = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("interaction_direction_enabled_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_direction_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_12interaction_direction_enabled_set(((struct PyElementaryFlip *)__pyx_v_self), __pyx_v_direction, __pyx_v_enable);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":198
+ * elm_flip_interaction_set(self.obj, mode)
+ *
+ * def interaction_direction_enabled_set(self, direction, enable): # <<<<<<<<<<<<<<
+ * """Set which directions of the flip respond to interactive flip
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_12interaction_direction_enabled_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction, PyObject *__pyx_v_enable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Direction __pyx_t_1;
+ Eina_Bool __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("interaction_direction_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":213
+ *
+ * """
+ * elm_flip_interaction_direction_enabled_set(self.obj, direction, enable) # <<<<<<<<<<<<<<
+ *
+ * def interaction_direction_enabled_get(self, direction):
+ */
+ __pyx_t_1 = ((Elm_Flip_Direction)PyInt_AsLong(__pyx_v_direction)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enable); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flip_interaction_direction_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_direction_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_15interaction_direction_enabled_get(PyObject *__pyx_v_self, PyObject *__pyx_v_direction); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_14interaction_direction_enabled_get[] = "Get the enabled state of that flip direction\n\n Gets the enabled state set by L{interaction_direction_enabled_set()}\n\n @see: L{interaction_set()}\n\n @param dir: The direction to check\n @type dir: Elm_Flip_Direction\n @return: If that direction is enabled or not\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_15interaction_direction_enabled_get(PyObject *__pyx_v_self, PyObject *__pyx_v_direction) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interaction_direction_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_14interaction_direction_enabled_get(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_direction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":215
+ * elm_flip_interaction_direction_enabled_set(self.obj, direction, enable)
+ *
+ * def interaction_direction_enabled_get(self, direction): # <<<<<<<<<<<<<<
+ * """Get the enabled state of that flip direction
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_14interaction_direction_enabled_get(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Direction __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("interaction_direction_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":228
+ *
+ * """
+ * return elm_flip_interaction_direction_enabled_get(self.obj, direction) # <<<<<<<<<<<<<<
+ *
+ * def interaction_direction_hitsize_set(self, direction, hitsize):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Flip_Direction)PyInt_AsLong(__pyx_v_direction)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_flip_interaction_direction_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_direction_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_17interaction_direction_hitsize_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_16interaction_direction_hitsize_set[] = "Set the amount of the flip that is sensitive to interactive flip\n\n Set the amount of the flip that is sensitive to interactive flip, with 0\n representing no area in the flip and 1 representing the entire flip. There\n is however a consideration to be made in that the area will never be\n smaller than the finger size set(as set in your Elementary configuration).\n\n @see: L{interaction_set()}\n\n @param dir: The direction to modify\n @type dir: Elm_Flip_Direction\n @param hitsize: The amount of that dimension (0.0 to 1.0) to use\n @type hitsize: double\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_17interaction_direction_hitsize_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_direction = 0;
+ PyObject *__pyx_v_hitsize = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__direction,&__pyx_n_s__hitsize,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interaction_direction_hitsize_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__direction);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__hitsize);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("interaction_direction_hitsize_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "interaction_direction_hitsize_set") < 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 230; __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_direction = values[0];
+ __pyx_v_hitsize = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("interaction_direction_hitsize_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_direction_hitsize_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_16interaction_direction_hitsize_set(((struct PyElementaryFlip *)__pyx_v_self), __pyx_v_direction, __pyx_v_hitsize);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":230
+ * return elm_flip_interaction_direction_enabled_get(self.obj, direction)
+ *
+ * def interaction_direction_hitsize_set(self, direction, hitsize): # <<<<<<<<<<<<<<
+ * """Set the amount of the flip that is sensitive to interactive flip
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_16interaction_direction_hitsize_set(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction, PyObject *__pyx_v_hitsize) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Direction __pyx_t_1;
+ double __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("interaction_direction_hitsize_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":246
+ *
+ * """
+ * elm_flip_interaction_direction_hitsize_set(self.obj, direction, hitsize) # <<<<<<<<<<<<<<
+ *
+ * def interaction_direction_hitsize_get(self, direction):
+ */
+ __pyx_t_1 = ((Elm_Flip_Direction)PyInt_AsLong(__pyx_v_direction)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_hitsize); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flip_interaction_direction_hitsize_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_direction_hitsize_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_19interaction_direction_hitsize_get(PyObject *__pyx_v_self, PyObject *__pyx_v_direction); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_18interaction_direction_hitsize_get[] = "Get the amount of the flip that is sensitive to interactive flip\n\n Returns the amount of sensitive area set by\n L{interaction_direction_hitsize_set()}.\n\n @param dir: The direction to check\n @type dir: Elm_Flip_Direction\n @return: The size set for that direction\n @rtype: double\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_19interaction_direction_hitsize_get(PyObject *__pyx_v_self, PyObject *__pyx_v_direction) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interaction_direction_hitsize_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_18interaction_direction_hitsize_get(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_direction));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":248
+ * elm_flip_interaction_direction_hitsize_set(self.obj, direction, hitsize)
+ *
+ * def interaction_direction_hitsize_get(self, direction): # <<<<<<<<<<<<<<
+ * """Get the amount of the flip that is sensitive to interactive flip
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_18interaction_direction_hitsize_get(struct PyElementaryFlip *__pyx_v_self, PyObject *__pyx_v_direction) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Flip_Direction __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("interaction_direction_hitsize_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":260
+ *
+ * """
+ * return elm_flip_interaction_direction_hitsize_get(self.obj, direction) # <<<<<<<<<<<<<<
+ *
+ * def callback_animate_begin_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Flip_Direction)PyInt_AsLong(__pyx_v_direction)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = PyFloat_FromDouble(elm_flip_interaction_direction_hitsize_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Flip.interaction_direction_hitsize_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_21callback_animate_begin_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_20callback_animate_begin_add[] = "When a flip animation was started.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_21callback_animate_begin_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_animate_begin_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_animate_begin_add") < 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 262; __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_animate_begin_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 262; __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("elementary.c_elementary.Flip.callback_animate_begin_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_20callback_animate_begin_add(((struct PyElementaryFlip *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":262
+ * return elm_flip_interaction_direction_hitsize_get(self.obj, direction)
+ *
+ * def callback_animate_begin_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When a flip animation was started."""
+ * self._callback_add("animate,begin", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_20callback_animate_begin_add(struct PyElementaryFlip *__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_animate_begin_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":264
+ * def callback_animate_begin_add(self, func, *args, **kwargs):
+ * """When a flip animation was started."""
+ * self._callback_add("animate,begin", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_animate_begin_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 264; __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[20]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_63));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_63));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_63));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Flip.callback_animate_begin_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_23callback_animate_begin_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_23callback_animate_begin_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_animate_begin_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_22callback_animate_begin_del(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":266
+ * self._callback_add("animate,begin", func, *args, **kwargs)
+ *
+ * def callback_animate_begin_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("animate,begin", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_22callback_animate_begin_del(struct PyElementaryFlip *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_animate_begin_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":267
+ *
+ * def callback_animate_begin_del(self, func):
+ * self._callback_del("animate,begin", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_animate_done_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 267; __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[20]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_63));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_63));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_63));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Flip.callback_animate_begin_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_25callback_animate_done_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_4Flip_24callback_animate_done_add[] = "When a flip animation is finished.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_25callback_animate_done_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_animate_done_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_animate_done_add") < 0)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 269; __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_animate_done_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[20]; __pyx_lineno = 269; __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("elementary.c_elementary.Flip.callback_animate_done_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_24callback_animate_done_add(((struct PyElementaryFlip *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":269
+ * self._callback_del("animate,begin", func)
+ *
+ * def callback_animate_done_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When a flip animation is finished."""
+ * self._callback_add("animate,done", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_24callback_animate_done_add(struct PyElementaryFlip *__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_animate_done_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":271
+ * def callback_animate_done_add(self, func, *args, **kwargs):
+ * """When a flip animation is finished."""
+ * self._callback_add("animate,done", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_animate_done_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 271; __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[20]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_64));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_64));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_64));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Flip.callback_animate_done_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_27callback_animate_done_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_4Flip_27callback_animate_done_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_animate_done_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Flip_26callback_animate_done_del(((struct PyElementaryFlip *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":273
+ * self._callback_add("animate,done", func, *args, **kwargs)
+ *
+ * def callback_animate_done_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("animate,done", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_4Flip_26callback_animate_done_del(struct PyElementaryFlip *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_animate_done_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":274
+ *
+ * def callback_animate_done_del(self, func):
+ * self._callback_del("animate,done", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("flip", Flip)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 274; __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[20]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_64));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_64));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_64));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Flip.callback_animate_done_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 55; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller___init__(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":55
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_scroller_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller___init__(struct PyElementaryScroller *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":56
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_scroller_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 56; __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[21]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":57
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_scroller_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def custom_widget_base_theme_set(self, widget, base):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Scroller *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_scroller_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Scroller.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_3custom_widget_base_theme_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_2custom_widget_base_theme_set[] = "custom_widget_base_theme_set(widget, base)\n\n Set custom theme elements for the scroller\n\n @param widget: The widget name to use (default is \"scroller\")\n @type widget: string\n @param base: The base name to use (default is \"base\")\n @type base: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_3custom_widget_base_theme_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_widget = 0;
+ PyObject *__pyx_v_base = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__widget,&__pyx_n_s__base,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("custom_widget_base_theme_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__widget);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__base);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("custom_widget_base_theme_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "custom_widget_base_theme_set") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 59; __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_widget = values[0];
+ __pyx_v_base = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("custom_widget_base_theme_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.custom_widget_base_theme_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_2custom_widget_base_theme_set(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_widget, __pyx_v_base);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":59
+ * self._set_obj(elm_scroller_add(parent.obj))
+ *
+ * def custom_widget_base_theme_set(self, widget, base): # <<<<<<<<<<<<<<
+ * """custom_widget_base_theme_set(widget, base)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_2custom_widget_base_theme_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_widget, PyObject *__pyx_v_base) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("custom_widget_base_theme_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":70
+ *
+ * """
+ * elm_scroller_custom_widget_base_theme_set(self.obj, _cfruni(widget), _cfruni(base)) # <<<<<<<<<<<<<<
+ *
+ * def content_min_limit(self, w, h):
+ */
+ elm_scroller_custom_widget_base_theme_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_widget), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_base));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_5content_min_limit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_4content_min_limit[] = "content_min_limit(w, h)\n\n Make the scroller minimum size limited to the minimum size of the\n content\n\n By default the scroller will be as small as its design allows,\n irrespective of its content. This will make the scroller minimum\n size the right size horizontally and/or vertically to perfectly fit\n its content in that direction.\n\n @param w: Enable limiting minimum size horizontally\n @type w: bool\n @param h: Enable limiting minimum size vertically\n @type h: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_5content_min_limit(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_min_limit (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("content_min_limit", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 72; __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_min_limit") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 72; __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("content_min_limit", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.content_min_limit", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_4content_min_limit(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":72
+ * elm_scroller_custom_widget_base_theme_set(self.obj, _cfruni(widget), _cfruni(base))
+ *
+ * def content_min_limit(self, w, h): # <<<<<<<<<<<<<<
+ * """content_min_limit(w, h)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_4content_min_limit(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ 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("content_min_limit", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":89
+ *
+ * """
+ * elm_scroller_content_min_limit(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def region_show(self, x, y, w, h):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_w); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_content_min_limit(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.content_min_limit", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_7region_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_6region_show[] = "region_show(x, y, w, h)\n\n Show a specific virtual region within the scroller content object\n\n This will ensure all (or part if it does not fit) of the designated\n region in the virtual content object (0, 0 starting at the top-left\n of the virtual content object) is shown within the scroller.\n\n @param x: X coordinate of the region\n @type x: Evas_Coord (int)\n @param y: Y coordinate of the region\n @type y: Evas_Coord (int)\n @param w: Width of the region\n @type w: Evas_Coord (int)\n @param h: Height of the region\n @type h: Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_7region_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_show (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_show", 1, 4, 4, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_show", 1, 4, 4, 2); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_show", 1, 4, 4, 3); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_show") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 91; __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_x = values[0];
+ __pyx_v_y = values[1];
+ __pyx_v_w = values[2];
+ __pyx_v_h = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_show", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.region_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_6region_show(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":91
+ * elm_scroller_content_min_limit(self.obj, w, h)
+ *
+ * def region_show(self, x, y, w, h): # <<<<<<<<<<<<<<
+ * """region_show(x, y, w, h)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6region_show(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ Evas_Coord __pyx_t_3;
+ Evas_Coord __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("region_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":110
+ *
+ * """
+ * elm_scroller_region_show(self.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def policy_set(self, policy_h, policy_v):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_3 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_4 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_region_show(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.region_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_9policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_8policy_set[] = "Set the scrollbar visibility policy\n\n This sets the scrollbar visibility policy for the given scroller.\n ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is\n needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it\n on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.\n This applies respectively for the horizontal and vertical scrollbars.\n\n @param policy_h: Horizontal scrollbar policy\n @type policy_h: Elm_Scroller_Policy\n @param policy_v: Vertical scrollbar policy\n @type policy_v: Elm_Scroller_Policy\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_9policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_policy_h = 0;
+ PyObject *__pyx_v_policy_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__policy_h,&__pyx_n_s__policy_v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("policy_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "policy_set") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 112; __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("policy_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_8policy_set(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_policy_h, __pyx_v_policy_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":112
+ * elm_scroller_region_show(self.obj, x, y, w, h)
+ *
+ * def policy_set(self, policy_h, policy_v): # <<<<<<<<<<<<<<
+ * """Set the scrollbar visibility policy
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_8policy_set(struct PyElementaryScroller *__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("policy_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":127
+ *
+ * """
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * def policy_get(self):
+ */
+ __pyx_t_1 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_policy_h)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 127; __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[21]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_11policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_10policy_get[] = "Gets scrollbar visibility policy\n\n @see: elm_scroller_policy_set()\n\n @return: A tuple with horizontal and vertical policies.\n @rtype: tuple of Elm_Scroller_Policy\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_11policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("policy_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_10policy_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":129
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ * def policy_get(self): # <<<<<<<<<<<<<<
+ * """Gets scrollbar visibility policy
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_10policy_get(struct PyElementaryScroller *__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("policy_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":139
+ * """
+ * 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.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":140
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ * return (policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * property policy:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 140; __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[21]; __pyx_lineno = 140; __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[21]; __pyx_lineno = 140; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.policy_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_6policy_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_6policy_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_6policy___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":155
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6policy___get__(struct PyElementaryScroller *__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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":157
+ * def __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.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":158
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ * return (policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 158; __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[21]; __pyx_lineno = 158; __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[21]; __pyx_lineno = 158; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.policy.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_6policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_6policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_6policy_2__set__(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":160
+ * return (policy_h, policy_v)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * policy_h, policy_v = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_6policy_2__set__(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":162
+ * def __set__(self, value):
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * policy_h, policy_v = value # <<<<<<<<<<<<<<
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 162; __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[21]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 162; __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[21]; __pyx_lineno = 162; __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[21]; __pyx_lineno = 162; __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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":163
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * policy_h, policy_v = value
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * def region_get(self):
+ */
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_policy_h, __pyx_v_policy_v);
+
+ __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("elementary.c_elementary.Scroller.policy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_13region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_12region_get[] = "Get the currently visible content region\n\n This gets the current region in the content object that is visible\n through the scroller. The region co-ordinates are returned in the\n C{x}, C{y}, C{w}, C{h} values pointed to.\n\n @note: All coordinates are relative to the content.\n\n @see: L{region_show()}\n\n @return: The X and Y coordinates and the width and height of the region\n @rtype: tuple of Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_13region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_12region_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":165
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ * def region_get(self): # <<<<<<<<<<<<<<
+ * """Get the currently visible content region
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_12region_get(struct PyElementaryScroller *__pyx_v_self) {
+ Evas_Coord __pyx_v_x;
+ Evas_Coord __pyx_v_y;
+ 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;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("region_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":181
+ * """
+ * cdef Evas_Coord x, y, w, h
+ * elm_scroller_region_get(self.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_scroller_region_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":182
+ * cdef Evas_Coord x, y, w, h
+ * elm_scroller_region_get(self.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * property region:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.region_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_6region_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_6region_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_6region___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":198
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord x, y, w, h
+ * elm_scroller_region_get(self.obj, &x, &y, &w, &h)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6region___get__(struct PyElementaryScroller *__pyx_v_self) {
+ Evas_Coord __pyx_v_x;
+ Evas_Coord __pyx_v_y;
+ 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;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":200
+ * def __get__(self):
+ * cdef Evas_Coord x, y, w, h
+ * elm_scroller_region_get(self.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_scroller_region_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":201
+ * cdef Evas_Coord x, y, w, h
+ * elm_scroller_region_get(self.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def child_size_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.region.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_15child_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_14child_size_get[] = "Get the size of the content object\n\n This gets the size of the content object of the scroller.\n\n @return: The width and height of the content object\n @rtype: tuple of Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_15child_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("child_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_14child_size_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":203
+ * return (x, y, w, h)
+ *
+ * def child_size_get(self): # <<<<<<<<<<<<<<
+ * """Get the size of the content object
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_14child_size_get(struct PyElementaryScroller *__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("child_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":213
+ * """
+ * cdef Evas_Coord w, h
+ * elm_scroller_child_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_scroller_child_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":214
+ * cdef Evas_Coord w, h
+ * elm_scroller_child_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property child_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 214; __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[21]; __pyx_lineno = 214; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.child_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_10child_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_10child_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_10child_size___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":224
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * elm_scroller_child_size_get(self.obj, &w, &h)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_10child_size___get__(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":226
+ * def __get__(self):
+ * cdef Evas_Coord w, h
+ * elm_scroller_child_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_scroller_child_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":227
+ * cdef Evas_Coord w, h
+ * elm_scroller_child_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * def bounce_set(self, h, v):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 227; __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[21]; __pyx_lineno = 227; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.child_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_17bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_16bounce_set[] = "Set bouncing behavior\n\n When scrolling, the scroller may \"bounce\" when reaching an edge of\n the content object. This is a visual way to indicate the end has\n been reached. This is enabled by default for both axis. This API\n will set if it is enabled for the given axis with the boolean\n parameters for each axis.\n\n @param h_bounce: Allow bounce horizontally\n @type h_bounce: bool\n @param v_bounce: Allow bounce vertically\n @type v_bounce: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_17bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h = 0;
+ PyObject *__pyx_v_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h,&__pyx_n_s__v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bounce_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 229; __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[21]; __pyx_lineno = 229; __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[21]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_16bounce_set(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_h, __pyx_v_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":229
+ * return (w, h)
+ *
+ * def bounce_set(self, h, v): # <<<<<<<<<<<<<<
+ * """Set bouncing behavior
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_16bounce_set(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":244
+ *
+ * """
+ * elm_scroller_bounce_set(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * def bounce_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_19bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_18bounce_get[] = "Get the bounce behaviour\n\n @see: L{bounce_set()}\n\n @param h_bounce: Will the scroller bounce horizontally or not\n @type h_bounce: bool\n @param v_bounce: Will the scroller bounce vertically or not\n @type v_bounce: bool\n\n @return: Bounce behaviour for horizontal and vertical\n @rtype: (bool, bool)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_19bounce_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_10elementary_12c_elementary_8Scroller_18bounce_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":246
+ * elm_scroller_bounce_set(self.obj, h, v)
+ *
+ * def bounce_get(self): # <<<<<<<<<<<<<<
+ * """Get the bounce behaviour
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_18bounce_get(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":261
+ * """
+ * 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.obj, (&__pyx_v_h), (&__pyx_v_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":262
+ * cdef Eina_Bool h, v
+ * elm_scroller_bounce_get(self.obj, &h, &v)
+ * return (h, v) # <<<<<<<<<<<<<<
+ *
+ * property bounce:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 262; __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[21]; __pyx_lineno = 262; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.bounce_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_6bounce_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_6bounce_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_6bounce___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":276
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h, v
+ * elm_scroller_bounce_get(self.obj, &h, &v)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_6bounce___get__(struct PyElementaryScroller *__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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":278
+ * def __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.obj, (&__pyx_v_h), (&__pyx_v_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":279
+ * cdef Eina_Bool h, v
+ * elm_scroller_bounce_get(self.obj, &h, &v)
+ * return (h, v) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 279; __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[21]; __pyx_lineno = 279; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.bounce.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_6bounce_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_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_10elementary_12c_elementary_8Scroller_6bounce_2__set__(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":281
+ * return (h, v)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h, v
+ * h, v = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_6bounce_2__set__(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":283
+ * def __set__(self, value):
+ * cdef Eina_Bool h, v
+ * h, v = value # <<<<<<<<<<<<<<
+ * elm_scroller_bounce_set(self.obj, h, v)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 283; __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[21]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_1); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 283; __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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":284
+ * cdef Eina_Bool h, v
+ * h, v = value
+ * elm_scroller_bounce_set(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * def page_relative_set(self, h_pagerel, v_pagerel):
+ */
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_h, __pyx_v_v);
+
+ __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("elementary.c_elementary.Scroller.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_21page_relative_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_20page_relative_set[] = "Set scroll page size relative to viewport size.\n\n The scroller is capable of limiting scrolling by the user to\n \"pages\". That is to jump by and only show a \"whole page\" at a time\n as if the continuous area of the scroller content is split into page\n sized pieces. This sets the size of a page relative to the viewport\n of the scroller. 1.0 is \"1 viewport\" is size (horizontally or\n vertically). 0.0 turns it off in that axis. This is mutually\n exclusive with page size (see L{page_size_set()} for more\n information). Likewise 0.5 is \"half a viewport\". Sane usable values\n are normally between 0.0 and 1.0 including 1.0. If you only want a\n single axis to be page \"limited\", use 0.0 for the other axis.\n\n @param h_pagerel: The horizontal page relative size\n @type h_pagerel: float\n @param v_pagerel: The vertical page relative size\n @type v_pagerel: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_21page_relative_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagerel = 0;
+ PyObject *__pyx_v_v_pagerel = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagerel,&__pyx_n_s__v_pagerel,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_relative_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagerel);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagerel);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_relative_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_relative_set") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 286; __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_pagerel = values[0];
+ __pyx_v_v_pagerel = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_relative_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_relative_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_20page_relative_set(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_h_pagerel, __pyx_v_v_pagerel);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":286
+ * elm_scroller_bounce_set(self.obj, h, v)
+ *
+ * def page_relative_set(self, h_pagerel, v_pagerel): # <<<<<<<<<<<<<<
+ * """Set scroll page size relative to viewport size.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_20page_relative_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagerel, PyObject *__pyx_v_v_pagerel) {
+ 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("page_relative_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":306
+ *
+ * """
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel) # <<<<<<<<<<<<<<
+ *
+ * def page_relative_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_h_pagerel); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_v_pagerel); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_relative_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_relative_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_23page_relative_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_22page_relative_get[] = "Get scroll page size relative to viewport size.\n @see: L{page_relative_set()}\n\n @return: A tuple with horizontal and vertical page size relative to\n viewport size.\n @rtype: (float, float)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_23page_relative_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_relative_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_22page_relative_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":308
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+ *
+ * def page_relative_get(self): # <<<<<<<<<<<<<<
+ * """Get scroll page size relative to viewport size.
+ * @see: L{page_relative_set()}
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_22page_relative_get(struct PyElementaryScroller *__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("page_relative_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":318
+ * """
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel) # <<<<<<<<<<<<<<
+ * return (h_pagerel, v_pagerel)
+ *
+ */
+ elm_scroller_page_relative_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagerel), (&__pyx_v_v_pagerel));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":319
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ * return (h_pagerel, v_pagerel) # <<<<<<<<<<<<<<
+ *
+ * property page_relative:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_h_pagerel); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 319; __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[21]; __pyx_lineno = 319; __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[21]; __pyx_lineno = 319; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.page_relative_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_13page_relative_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_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_10elementary_12c_elementary_8Scroller_13page_relative___set__(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":338
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * h_pagerel, v_pagerel = value
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_13page_relative___set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_h_pagerel = NULL;
+ PyObject *__pyx_v_v_pagerel = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":339
+ * """
+ * def __set__(self, value):
+ * h_pagerel, v_pagerel = value # <<<<<<<<<<<<<<
+ * elm_scroller_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 (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 339; __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[21]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_h_pagerel = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_v_pagerel = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":340
+ * def __set__(self, value):
+ * h_pagerel, v_pagerel = value
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_v_h_pagerel); if (unlikely((__pyx_t_5 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_v_v_pagerel); if (unlikely((__pyx_t_6 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_relative_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Scroller.page_relative.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_h_pagerel);
+ __Pyx_XDECREF(__pyx_v_v_pagerel);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_13page_relative_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_13page_relative_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_13page_relative_2__get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":342
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_13page_relative_2__get__(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":344
+ * def __get__(self):
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel) # <<<<<<<<<<<<<<
+ * return (h_pagerel, v_pagerel)
+ *
+ */
+ elm_scroller_page_relative_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagerel), (&__pyx_v_v_pagerel));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":345
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ * return (h_pagerel, v_pagerel) # <<<<<<<<<<<<<<
+ *
+ * def page_size_set(self, h_pagesize, v_pagesize):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_h_pagerel); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 345; __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[21]; __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[21]; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.page_relative.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_25page_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_24page_size_set[] = "Set scroll page size.\n\n This sets the page size to an absolute fixed value, with 0 turning it off\n for that axis.\n\n @see: L{page_relative_set()}\n\n @param h_pagesize: The horizontal page size\n @type h_pagesize: Evas_Coord (int)\n @param v_pagesize: The vertical page size\n @type v_pagesize: Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_25page_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagesize = 0;
+ PyObject *__pyx_v_v_pagesize = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagesize,&__pyx_n_s__v_pagesize,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagesize);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagesize);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_size_set") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 347; __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_pagesize = values[0];
+ __pyx_v_v_pagesize = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_24page_size_set(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_h_pagesize, __pyx_v_v_pagesize);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":347
+ * return (h_pagerel, v_pagerel)
+ *
+ * def page_size_set(self, h_pagesize, v_pagesize): # <<<<<<<<<<<<<<
+ * """Set scroll page size.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_24page_size_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagesize, PyObject *__pyx_v_v_pagesize) {
+ 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("page_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":361
+ *
+ * """
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize) # <<<<<<<<<<<<<<
+ *
+ * property page_size:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h_pagesize); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_v_pagesize); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_9page_size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_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_10elementary_12c_elementary_8Scroller_9page_size___set__(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":374
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * h_pagesize, v_pagesize = value
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_9page_size___set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_h_pagesize = NULL;
+ PyObject *__pyx_v_v_pagesize = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":375
+ * """
+ * def __set__(self, value):
+ * h_pagesize, v_pagesize = value # <<<<<<<<<<<<<<
+ * elm_scroller_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 (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 375; __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[21]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_h_pagesize = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_v_pagesize = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":376
+ * def __set__(self, value):
+ * h_pagesize, v_pagesize = value
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize) # <<<<<<<<<<<<<<
+ *
+ * def current_page_get(self):
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h_pagesize); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_v_pagesize); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Scroller.page_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_h_pagesize);
+ __Pyx_XDECREF(__pyx_v_v_pagesize);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_27current_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_26current_page_get[] = "Get scroll current page number.\n\n The page number starts from 0. 0 is the first page.\n Current page means the page which meets the top-left of the viewport.\n If there are two or more pages in the viewport, it returns the number of the page\n which meets the top-left of the viewport.\n\n @see: L{last_page_get()}\n @see: L{page_show()}\n @see: L{page_bring_in()}\n\n @return: horizontal and vertical page number\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_27current_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("current_page_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_26current_page_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":378
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+ *
+ * def current_page_get(self): # <<<<<<<<<<<<<<
+ * """Get scroll current page number.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_26current_page_get(struct PyElementaryScroller *__pyx_v_self) {
+ int __pyx_v_h_pagenumber;
+ int __pyx_v_v_pagenumber;
+ 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("current_page_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":395
+ * """
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber) # <<<<<<<<<<<<<<
+ * return (h_pagenumber, v_pagenumber)
+ *
+ */
+ elm_scroller_current_page_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagenumber), (&__pyx_v_v_pagenumber));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":396
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ * return (h_pagenumber, v_pagenumber) # <<<<<<<<<<<<<<
+ *
+ * property current_page:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_pagenumber); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_pagenumber); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 396; __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[21]; __pyx_lineno = 396; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.current_page_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_12current_page_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_12current_page_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_12current_page___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":413
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_12current_page___get__(struct PyElementaryScroller *__pyx_v_self) {
+ int __pyx_v_h_pagenumber;
+ int __pyx_v_v_pagenumber;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":415
+ * def __get__(self):
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber) # <<<<<<<<<<<<<<
+ * return (h_pagenumber, v_pagenumber)
+ *
+ */
+ elm_scroller_current_page_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagenumber), (&__pyx_v_v_pagenumber));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":416
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ * return (h_pagenumber, v_pagenumber) # <<<<<<<<<<<<<<
+ *
+ * def last_page_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_pagenumber); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_pagenumber); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 416; __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[21]; __pyx_lineno = 416; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.current_page.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_29last_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_28last_page_get[] = "Get scroll last page number.\n\n The page number starts from 0. 0 is the first page.\n This returns the last page number among the pages.\n\n @see: L{current_page_get()}\n @see: L{page_show()}\n @see: L{page_bring_in()}\n\n @return: horizontal and vertical page number\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_29last_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("last_page_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_28last_page_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":418
+ * return (h_pagenumber, v_pagenumber)
+ *
+ * def last_page_get(self): # <<<<<<<<<<<<<<
+ * """Get scroll last page number.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_28last_page_get(struct PyElementaryScroller *__pyx_v_self) {
+ int __pyx_v_h_pagenumber;
+ int __pyx_v_v_pagenumber;
+ 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("last_page_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":433
+ * """
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber) # <<<<<<<<<<<<<<
+ * return (h_pagenumber, v_pagenumber)
+ *
+ */
+ elm_scroller_last_page_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagenumber), (&__pyx_v_v_pagenumber));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":434
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ * return (h_pagenumber, v_pagenumber) # <<<<<<<<<<<<<<
+ *
+ * property last_page:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_pagenumber); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_pagenumber); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 434; __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[21]; __pyx_lineno = 434; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.last_page_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_9last_page_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_9last_page_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_9last_page___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":449
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_9last_page___get__(struct PyElementaryScroller *__pyx_v_self) {
+ int __pyx_v_h_pagenumber;
+ int __pyx_v_v_pagenumber;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":451
+ * def __get__(self):
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber) # <<<<<<<<<<<<<<
+ * return (h_pagenumber, v_pagenumber)
+ *
+ */
+ elm_scroller_last_page_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagenumber), (&__pyx_v_v_pagenumber));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":452
+ * cdef int h_pagenumber, v_pagenumber
+ * elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ * return (h_pagenumber, v_pagenumber) # <<<<<<<<<<<<<<
+ *
+ * def page_show(self, h_pagenumber, v_pagenumber):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_pagenumber); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_pagenumber); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 452; __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[21]; __pyx_lineno = 452; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.last_page.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_31page_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_30page_show[] = "page_show(h_pagenumber, v_pagenumber)\n\n Show a specific virtual region within the scroller content object by page number.\n\n 0, 0 of the indicated page is located at the top-left of the viewport.\n This will jump to the page directly without animation.\n\n Example of usage::\n sc = Scroller(win)\n sc.content_set(content)\n sc.page_relative_set(1, 0)\n h_page, v_page = sc.current_page_get()\n sc.page_show(h_page + 1, v_page)\n\n @see: L{page_bring_in()}\n\n @param h_pagenumber: The horizontal page number\n @type h_pagenumber: int\n @param v_pagenumber: The vertical page number\n @type v_pagenumber: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_31page_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagenumber = 0;
+ PyObject *__pyx_v_v_pagenumber = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagenumber,&__pyx_n_s__v_pagenumber,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_show (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagenumber);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagenumber);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_show", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_show") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 454; __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_pagenumber = values[0];
+ __pyx_v_v_pagenumber = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_show", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_30page_show(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_h_pagenumber, __pyx_v_v_pagenumber);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":454
+ * return (h_pagenumber, v_pagenumber)
+ *
+ * def page_show(self, h_pagenumber, v_pagenumber): # <<<<<<<<<<<<<<
+ * """page_show(h_pagenumber, v_pagenumber)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_30page_show(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagenumber, PyObject *__pyx_v_v_pagenumber) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("page_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":477
+ *
+ * """
+ * elm_scroller_page_show(self.obj, h_pagenumber, v_pagenumber) # <<<<<<<<<<<<<<
+ *
+ * def page_bring_in(self, h_pagenumber, v_pagenumber):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_h_pagenumber); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_v_pagenumber); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_show(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_33page_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_32page_bring_in[] = "page_bring_in(h_pagenumber, v_pagenumber)\n\n Show a specific virtual region within the scroller content object by page number.\n\n 0, 0 of the indicated page is located at the top-left of the viewport.\n This will slide to the page with animation.\n\n Example of usage::\n sc = Scroller(win)\n sc.content_set(content)\n sc.page_relative_set(1, 0)\n h_page, v_page = sc.last_page_get()\n sc.page_bring_in(h_page, v_page)\n\n @see: L{page_show()}\n\n @param h_pagenumber: The horizontal page number\n @type h_pagenumber: int\n @param v_pagenumber: The vertical page number\n @type v_pagenumber: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_33page_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagenumber = 0;
+ PyObject *__pyx_v_v_pagenumber = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagenumber,&__pyx_n_s__v_pagenumber,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_bring_in (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagenumber);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagenumber);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_bring_in", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_bring_in") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 479; __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_pagenumber = values[0];
+ __pyx_v_v_pagenumber = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_bring_in", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_32page_bring_in(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_h_pagenumber, __pyx_v_v_pagenumber);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":479
+ * elm_scroller_page_show(self.obj, h_pagenumber, v_pagenumber)
+ *
+ * def page_bring_in(self, h_pagenumber, v_pagenumber): # <<<<<<<<<<<<<<
+ * """page_bring_in(h_pagenumber, v_pagenumber)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_32page_bring_in(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_h_pagenumber, PyObject *__pyx_v_v_pagenumber) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("page_bring_in", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":502
+ *
+ * """
+ * elm_scroller_page_bring_in(self.obj, h_pagenumber, v_pagenumber) # <<<<<<<<<<<<<<
+ *
+ * def region_bring_in(self, x, y, w, h):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_h_pagenumber); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_v_pagenumber); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_bring_in(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.page_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_35region_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_34region_bring_in[] = "region_bring_in(x, y, w, h)\n\n Show a specific virtual region within the scroller content object.\n\n This will ensure all (or part if it does not fit) of the designated\n region in the virtual content object (0, 0 starting at the top-left of the\n virtual content object) is shown within the scroller. Unlike\n elm_scroller_region_show(), this allow the scroller to \"smoothly slide\"\n to this location (if configuration in general calls for transitions). It\n may not jump immediately to the new location and make take a while and\n show other content along the way.\n\n @see: L{region_show()}\n\n @param x: X coordinate of the region\n @type x: Evas_Coord (int)\n @param y: Y coordinate of the region\n @type y: Evas_Coord (int)\n @param w: Width of the region\n @type w: Evas_Coord (int)\n @param h: Height of the region\n @type h: Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_35region_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_bring_in (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_bring_in", 1, 4, 4, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_bring_in", 1, 4, 4, 2); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_bring_in", 1, 4, 4, 3); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_bring_in") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 504; __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_x = values[0];
+ __pyx_v_y = values[1];
+ __pyx_v_w = values[2];
+ __pyx_v_h = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_bring_in", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.region_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_34region_bring_in(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":504
+ * elm_scroller_page_bring_in(self.obj, h_pagenumber, v_pagenumber)
+ *
+ * def region_bring_in(self, x, y, w, h): # <<<<<<<<<<<<<<
+ * """region_bring_in(x, y, w, h)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_34region_bring_in(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ Evas_Coord __pyx_t_3;
+ Evas_Coord __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("region_bring_in", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":529
+ *
+ * """
+ * elm_scroller_region_bring_in(self.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def propagate_events_set(self, propagation):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_3 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_4 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_region_bring_in(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.region_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_37propagate_events_set(PyObject *__pyx_v_self, PyObject *__pyx_v_propagation); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_36propagate_events_set[] = "Set event propagation on a scroller\n\n This enables or disabled event propagation from the scroller content to\n the scroller and its parent. By default event propagation is disabled.\n\n @param propagation: If propagation is enabled or not\n @type propagation: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_37propagate_events_set(PyObject *__pyx_v_self, PyObject *__pyx_v_propagation) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("propagate_events_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_36propagate_events_set(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_propagation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":531
+ * elm_scroller_region_bring_in(self.obj, x, y, w, h)
+ *
+ * def propagate_events_set(self, propagation): # <<<<<<<<<<<<<<
+ * """Set event propagation on a scroller
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_36propagate_events_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_propagation) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("propagate_events_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":541
+ *
+ * """
+ * elm_scroller_propagate_events_set(self.obj, propagation) # <<<<<<<<<<<<<<
+ *
+ * def propagate_events_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_propagation); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_propagate_events_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.propagate_events_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_39propagate_events_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_38propagate_events_get[] = "Get event propagation for a scroller\n\n This gets the event propagation for a scroller.\n\n @see: L{propagate_events_set()}\n\n @return: The propagation state\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_39propagate_events_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("propagate_events_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_38propagate_events_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":543
+ * elm_scroller_propagate_events_set(self.obj, propagation)
+ *
+ * def propagate_events_get(self): # <<<<<<<<<<<<<<
+ * """Get event propagation for a scroller
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_38propagate_events_get(struct PyElementaryScroller *__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("propagate_events_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":554
+ *
+ * """
+ * return bool(elm_scroller_propagate_events_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property propagate_events:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_scroller_propagate_events_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.propagate_events_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_16propagate_events_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_16propagate_events_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_16propagate_events___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":565
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_scroller_propagate_events_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_16propagate_events___get__(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":566
+ * """
+ * def __get__(self):
+ * return bool(elm_scroller_propagate_events_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, propagation):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_scroller_propagate_events_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.propagate_events.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_16propagate_events_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_propagation); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_16propagate_events_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_propagation) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_16propagate_events_2__set__(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_propagation));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":568
+ * return bool(elm_scroller_propagate_events_get(self.obj))
+ *
+ * def __set__(self, propagation): # <<<<<<<<<<<<<<
+ * elm_scroller_propagate_events_set(self.obj, propagation)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_16propagate_events_2__set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_propagation) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":569
+ *
+ * def __set__(self, propagation):
+ * elm_scroller_propagate_events_set(self.obj, propagation) # <<<<<<<<<<<<<<
+ *
+ * def gravity_set(self, x, y):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_propagation); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_propagate_events_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.propagate_events.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_41gravity_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_40gravity_set[] = "Set scrolling gravity on a scroller\n\n The gravity, defines how the scroller will adjust its view\n when the size of the scroller contents increase.\n\n The scroller will adjust the view to glue itself as follows.\n\n x=0.0, for showing the left most region of the content.\n x=1.0, for showing the right most region of the content.\n y=0.0, for showing the bottom most region of the content.\n y=1.0, for showing the top most region of the content.\n\n Default values for x and y are 0.0\n\n @param x: The scrolling horizontal gravity\n @type x: float\n @param y: The scrolling vertical gravity\n @type y: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_41gravity_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("gravity_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("gravity_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "gravity_set") < 0)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 571; __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 = values[0];
+ __pyx_v_y = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("gravity_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[21]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.gravity_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_40gravity_set(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_x, __pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":571
+ * elm_scroller_propagate_events_set(self.obj, propagation)
+ *
+ * def gravity_set(self, x, y): # <<<<<<<<<<<<<<
+ * """Set scrolling gravity on a scroller
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_40gravity_set(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_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("gravity_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":592
+ *
+ * """
+ * elm_scroller_gravity_set(self.obj, x, y) # <<<<<<<<<<<<<<
+ *
+ * def gravity_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_x); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_y); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_gravity_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Scroller.gravity_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_43gravity_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_42gravity_get[] = "Get scrolling gravity values for a scroller\n\n This gets gravity values for a scroller.\n\n @see: L{gravity_set()}\n\n @return: The scrolling horizontal and vertical gravities\n @rtype: tuple of floats\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_43gravity_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("gravity_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_42gravity_get(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":594
+ * elm_scroller_gravity_set(self.obj, x, y)
+ *
+ * def gravity_get(self): # <<<<<<<<<<<<<<
+ * """Get scrolling gravity values for a scroller
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_42gravity_get(struct PyElementaryScroller *__pyx_v_self) {
+ double __pyx_v_x;
+ double __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("gravity_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":606
+ * """
+ * cdef double x, y
+ * elm_scroller_gravity_get(self.obj, &x, &y) # <<<<<<<<<<<<<<
+ * return (x, y)
+ *
+ */
+ elm_scroller_gravity_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":607
+ * cdef double x, y
+ * elm_scroller_gravity_get(self.obj, &x, &y)
+ * return (x, y) # <<<<<<<<<<<<<<
+ *
+ * property gravity:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 607; __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[21]; __pyx_lineno = 607; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.gravity_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_7gravity_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_7gravity_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_7gravity___get__(((struct PyElementaryScroller *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":627
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef double x, y
+ * elm_scroller_gravity_get(self.obj, &x, &y)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_7gravity___get__(struct PyElementaryScroller *__pyx_v_self) {
+ double __pyx_v_x;
+ double __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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":629
+ * def __get__(self):
+ * cdef double x, y
+ * elm_scroller_gravity_get(self.obj, &x, &y) # <<<<<<<<<<<<<<
+ * return (x, y)
+ *
+ */
+ elm_scroller_gravity_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":630
+ * cdef double x, y
+ * elm_scroller_gravity_get(self.obj, &x, &y)
+ * return (x, y) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 630; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 630; __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[21]; __pyx_lineno = 630; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.gravity.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_7gravity_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Scroller_7gravity_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_7gravity_2__set__(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":632
+ * return (x, y)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * x, y = value
+ * elm_scroller_gravity_set(self.obj, x, y)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Scroller_7gravity_2__set__(struct PyElementaryScroller *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_x = NULL;
+ PyObject *__pyx_v_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":633
+ *
+ * def __set__(self, value):
+ * x, y = value # <<<<<<<<<<<<<<
+ * elm_scroller_gravity_set(self.obj, x, y)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 633; __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[21]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[21]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_x = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_y = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":634
+ * def __set__(self, value):
+ * x, y = value
+ * elm_scroller_gravity_set(self.obj, x, y) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_v_x); if (unlikely((__pyx_t_5 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_v_y); if (unlikely((__pyx_t_6 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_gravity_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Scroller.gravity.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_x);
+ __Pyx_XDECREF(__pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_45callback_edge_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_44callback_edge_left_add[] = "The left edge of the content has been reached.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_45callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 636; __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[21]; __pyx_lineno = 636; __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("elementary.c_elementary.Scroller.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_44callback_edge_left_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":636
+ * elm_scroller_gravity_set(self.obj, x, y)
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The left edge of the content has been reached."""
+ * self._callback_add("edge,left", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_44callback_edge_left_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":638
+ * def callback_edge_left_add(self, func, *args, **kwargs):
+ * """The left edge of the content has been reached."""
+ * self._callback_add("edge,left", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_left_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 638; __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[21]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_65));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_65));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_65));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_47callback_edge_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_47callback_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_10elementary_12c_elementary_8Scroller_46callback_edge_left_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":640
+ * self._callback_add("edge,left", func, *args, **kwargs)
+ *
+ * def callback_edge_left_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,left", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_46callback_edge_left_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_left_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":641
+ *
+ * def callback_edge_left_del(self, func):
+ * self._callback_del("edge,left", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 641; __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[21]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_65));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_65));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_65));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.callback_edge_left_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_49callback_edge_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_48callback_edge_right_add[] = "The right edge of the content has been reached.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_49callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 643; __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[21]; __pyx_lineno = 643; __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("elementary.c_elementary.Scroller.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_48callback_edge_right_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":643
+ * self._callback_del("edge,left", func)
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The right edge of the content has been reached."""
+ * self._callback_add("edge,right", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_48callback_edge_right_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":645
+ * def callback_edge_right_add(self, func, *args, **kwargs):
+ * """The right edge of the content has been reached."""
+ * self._callback_add("edge,right", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_right_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 645; __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[21]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_66));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_66));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_66));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_51callback_edge_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_51callback_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_10elementary_12c_elementary_8Scroller_50callback_edge_right_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":647
+ * self._callback_add("edge,right", func, *args, **kwargs)
+ *
+ * def callback_edge_right_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,right", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_50callback_edge_right_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_right_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":648
+ *
+ * def callback_edge_right_del(self, func):
+ * self._callback_del("edge,right", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_top_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 648; __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[21]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_66));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_66));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_66));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.callback_edge_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_53callback_edge_top_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_52callback_edge_top_add[] = "The top edge of the content has been reached.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_53callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 650; __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[21]; __pyx_lineno = 650; __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("elementary.c_elementary.Scroller.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_52callback_edge_top_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":650
+ * self._callback_del("edge,right", func)
+ *
+ * def callback_edge_top_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The top edge of the content has been reached."""
+ * self._callback_add("edge,top", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_52callback_edge_top_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":652
+ * def callback_edge_top_add(self, func, *args, **kwargs):
+ * """The top edge of the content has been reached."""
+ * self._callback_add("edge,top", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_top_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 652; __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[21]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_67));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_67));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_67));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_55callback_edge_top_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_55callback_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_10elementary_12c_elementary_8Scroller_54callback_edge_top_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":654
+ * self._callback_add("edge,top", func, *args, **kwargs)
+ *
+ * def callback_edge_top_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,top", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_54callback_edge_top_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_top_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":655
+ *
+ * def callback_edge_top_del(self, func):
+ * self._callback_del("edge,top", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 655; __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[21]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_67));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_67));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_67));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.callback_edge_top_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_57callback_edge_bottom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_56callback_edge_bottom_add[] = "The bottom edge of the content has been reached.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_57callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 657; __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[21]; __pyx_lineno = 657; __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("elementary.c_elementary.Scroller.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_56callback_edge_bottom_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":657
+ * self._callback_del("edge,top", func)
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The bottom edge of the content has been reached."""
+ * self._callback_add("edge,bottom", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_56callback_edge_bottom_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":659
+ * def callback_edge_bottom_add(self, func, *args, **kwargs):
+ * """The bottom edge of the content has been reached."""
+ * self._callback_add("edge,bottom", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_bottom_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 659; __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[21]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_68));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_68));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_68));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_59callback_edge_bottom_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_59callback_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_10elementary_12c_elementary_8Scroller_58callback_edge_bottom_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":661
+ * self._callback_add("edge,bottom", func, *args, **kwargs)
+ *
+ * def callback_edge_bottom_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,bottom", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_58callback_edge_bottom_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_bottom_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":662
+ *
+ * def callback_edge_bottom_del(self, func):
+ * self._callback_del("edge,bottom", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 662; __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[21]; __pyx_lineno = 662; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_68));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_68));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_68));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 662; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.callback_edge_bottom_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_61callback_scroll_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_60callback_scroll_add[] = "The content has been scrolled (moved).";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_61callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 664; __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[21]; __pyx_lineno = 664; __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("elementary.c_elementary.Scroller.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_60callback_scroll_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":664
+ * self._callback_del("edge,bottom", func)
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The content has been scrolled (moved)."""
+ * self._callback_add("scroll", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_60callback_scroll_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":666
+ * def callback_scroll_add(self, func, *args, **kwargs):
+ * """The content has been scrolled (moved)."""
+ * self._callback_add("scroll", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 666; __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[21]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scroll));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__scroll));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_63callback_scroll_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_63callback_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_10elementary_12c_elementary_8Scroller_62callback_scroll_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":668
+ * self._callback_add("scroll", func, *args, **kwargs)
+ *
+ * def callback_scroll_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_62callback_scroll_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":669
+ *
+ * def callback_scroll_del(self, func):
+ * self._callback_del("scroll", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 669; __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[21]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scroll));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__scroll));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.callback_scroll_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_65callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_64callback_scroll_anim_start_add[] = "Scrolling animation has started.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_65callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 671; __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[21]; __pyx_lineno = 671; __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("elementary.c_elementary.Scroller.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_64callback_scroll_anim_start_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":671
+ * self._callback_del("scroll", func)
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Scrolling animation has started."""
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_64callback_scroll_anim_start_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":673
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ * """Scrolling animation has started."""
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 673; __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[21]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_67callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_67callback_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_10elementary_12c_elementary_8Scroller_66callback_scroll_anim_start_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":675
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,start", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_66callback_scroll_anim_start_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":676
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 676; __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[21]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_69callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_68callback_scroll_anim_stop_add[] = "Scrolling animation has stopped.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_69callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 678; __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[21]; __pyx_lineno = 678; __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("elementary.c_elementary.Scroller.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_68callback_scroll_anim_stop_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":678
+ * self._callback_del("scroll,anim,start", func)
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Scrolling animation has stopped."""
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_68callback_scroll_anim_stop_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":680
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs):
+ * """Scrolling animation has stopped."""
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 680; __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[21]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_71callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_71callback_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_10elementary_12c_elementary_8Scroller_70callback_scroll_anim_stop_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":682
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_70callback_scroll_anim_stop_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":683
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ * self._callback_del("scroll,anim,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 683; __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[21]; __pyx_lineno = 683; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 683; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_73callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_72callback_scroll_drag_start_add[] = "Dragging the contents around has started.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_73callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 685; __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[21]; __pyx_lineno = 685; __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("elementary.c_elementary.Scroller.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_72callback_scroll_drag_start_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":685
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the contents around has started."""
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_72callback_scroll_drag_start_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":687
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ * """Dragging the contents around has started."""
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 687; __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[21]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_75callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_75callback_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_10elementary_12c_elementary_8Scroller_74callback_scroll_drag_start_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":689
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,start", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_74callback_scroll_drag_start_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":690
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 690; __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[21]; __pyx_lineno = 690; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 690; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_77callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Scroller_76callback_scroll_drag_stop_add[] = "Dragging the contents around has stopped.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_77callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[21]; __pyx_lineno = 692; __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[21]; __pyx_lineno = 692; __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("elementary.c_elementary.Scroller.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Scroller_76callback_scroll_drag_stop_add(((struct PyElementaryScroller *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":692
+ * self._callback_del("scroll,drag,start", func)
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the contents around has stopped."""
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_76callback_scroll_drag_stop_add(struct PyElementaryScroller *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":694
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs):
+ * """Dragging the contents around has stopped."""
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 694; __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[21]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_79callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Scroller_79callback_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_10elementary_12c_elementary_8Scroller_78callback_scroll_drag_stop_del(((struct PyElementaryScroller *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":696
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Scroller_78callback_scroll_drag_stop_del(struct PyElementaryScroller *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":697
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ * self._callback_del("scroll,drag,stop", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("scroller", Scroller)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 697; __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[21]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Scroller.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;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Label_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Label_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 47; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[22]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label___init__(((struct PyElementaryLabel *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":47
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_label_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Label___init__(struct PyElementaryLabel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":48
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_label_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 48; __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[22]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":49
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_label_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def line_wrap_set(self, Elm_Wrap_Type wrap):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Label *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_label_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Label.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_3line_wrap_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_wrap); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_2line_wrap_set[] = "Set the wrapping behavior of the label\n\n By default no wrapping is done. Possible values for C{wrap} are:\n - ELM_WRAP_NONE - No wrapping\n - ELM_WRAP_CHAR - wrap between characters\n - ELM_WRAP_WORD - wrap between words\n - ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap\n\n @param wrap: To wrap text or not\n @type wrap: Elm_Wrap_Type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_3line_wrap_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_wrap) {
+ Elm_Wrap_Type __pyx_v_wrap;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("line_wrap_set (wrapper)", 0);
+ assert(__pyx_arg_wrap); {
+ __pyx_v_wrap = ((Elm_Wrap_Type)PyInt_AsLong(__pyx_arg_wrap)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.line_wrap_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_2line_wrap_set(((struct PyElementaryLabel *)__pyx_v_self), ((Elm_Wrap_Type)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":51
+ * self._set_obj(elm_label_add(parent.obj))
+ *
+ * def line_wrap_set(self, Elm_Wrap_Type wrap): # <<<<<<<<<<<<<<
+ * """Set the wrapping behavior of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_2line_wrap_set(struct PyElementaryLabel *__pyx_v_self, Elm_Wrap_Type __pyx_v_wrap) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("line_wrap_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":64
+ *
+ * """
+ * elm_label_line_wrap_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ *
+ * def line_wrap_get(self):
+ */
+ elm_label_line_wrap_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_wrap);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_5line_wrap_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_4line_wrap_get[] = "Get the wrapping behavior of the label\n\n @see: L{line_wrap_set()}\n\n @return: Wrap type\n @rtype: Elm_Wrap_Type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_5line_wrap_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("line_wrap_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_4line_wrap_get(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":66
+ * elm_label_line_wrap_set(self.obj, wrap)
+ *
+ * def line_wrap_get(self): # <<<<<<<<<<<<<<
+ * """Get the wrapping behavior of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_4line_wrap_get(struct PyElementaryLabel *__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("line_wrap_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":75
+ *
+ * """
+ * return elm_label_line_wrap_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property line_wrap:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_label_line_wrap_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.line_wrap_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_9line_wrap_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_9line_wrap_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_9line_wrap___get__(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":89
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_label_line_wrap_get(self.obj)
+ * def __set__(self, wrap):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_9line_wrap___get__(struct PyElementaryLabel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":90
+ * """
+ * def __get__(self):
+ * return elm_label_line_wrap_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, wrap):
+ * elm_label_line_wrap_set(self.obj, wrap)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_label_line_wrap_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.line_wrap.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Label_9line_wrap_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Label_9line_wrap_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_9line_wrap_2__set__(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":91
+ * def __get__(self):
+ * return elm_label_line_wrap_get(self.obj)
+ * def __set__(self, wrap): # <<<<<<<<<<<<<<
+ * elm_label_line_wrap_set(self.obj, wrap)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Label_9line_wrap_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Wrap_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":92
+ * return elm_label_line_wrap_get(self.obj)
+ * def __set__(self, wrap):
+ * elm_label_line_wrap_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ *
+ * def wrap_width_set(self, int w):
+ */
+ __pyx_t_1 = ((Elm_Wrap_Type)PyInt_AsLong(__pyx_v_wrap)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_line_wrap_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.line_wrap.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_7wrap_width_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_w); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_6wrap_width_set[] = "Set wrap width of the label\n\n This function sets the maximum width size hint of the label.\n\n @warning: This is only relevant if the label is inside a container.\n\n @param w: The wrap width in pixels at a minimum where words need to wrap\n @type w: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_7wrap_width_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_w) {
+ int __pyx_v_w;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wrap_width_set (wrapper)", 0);
+ assert(__pyx_arg_w); {
+ __pyx_v_w = __Pyx_PyInt_AsInt(__pyx_arg_w); if (unlikely((__pyx_v_w == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.wrap_width_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_6wrap_width_set(((struct PyElementaryLabel *)__pyx_v_self), ((int)__pyx_v_w));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":94
+ * elm_label_line_wrap_set(self.obj, wrap)
+ *
+ * def wrap_width_set(self, int w): # <<<<<<<<<<<<<<
+ * """Set wrap width of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_6wrap_width_set(struct PyElementaryLabel *__pyx_v_self, int __pyx_v_w) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wrap_width_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":105
+ *
+ * """
+ * elm_label_wrap_width_set(self.obj, w) # <<<<<<<<<<<<<<
+ *
+ * def wrap_width_get(self):
+ */
+ elm_label_wrap_width_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_w);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_9wrap_width_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_8wrap_width_get[] = "Get wrap width of the label\n\n @see: L{wrap_width_set()}\n\n @return: The wrap width in pixels at a minimum where words need to wrap\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_9wrap_width_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wrap_width_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_8wrap_width_get(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":107
+ * elm_label_wrap_width_set(self.obj, w)
+ *
+ * def wrap_width_get(self): # <<<<<<<<<<<<<<
+ * """Get wrap width of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_8wrap_width_get(struct PyElementaryLabel *__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("wrap_width_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":116
+ *
+ * """
+ * return elm_label_wrap_width_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property wrap_width:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_label_wrap_width_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.wrap_width_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_10wrap_width_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_10wrap_width_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_10wrap_width___get__(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":128
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_label_wrap_width_get(self.obj)
+ * def __set__(self, w):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_10wrap_width___get__(struct PyElementaryLabel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":129
+ * """
+ * def __get__(self):
+ * return elm_label_wrap_width_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, w):
+ * elm_label_wrap_width_set(self.obj, w)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_label_wrap_width_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.wrap_width.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Label_10wrap_width_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_w); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Label_10wrap_width_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_w) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_10wrap_width_2__set__(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_w));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":130
+ * def __get__(self):
+ * return elm_label_wrap_width_get(self.obj)
+ * def __set__(self, w): # <<<<<<<<<<<<<<
+ * elm_label_wrap_width_set(self.obj, w)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Label_10wrap_width_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_w) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":131
+ * return elm_label_wrap_width_get(self.obj)
+ * def __set__(self, w):
+ * elm_label_wrap_width_set(self.obj, w) # <<<<<<<<<<<<<<
+ *
+ * def ellipsis_set(self, bool ellipsis):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_wrap_width_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.wrap_width.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_11ellipsis_set(PyObject *__pyx_v_self, PyObject *__pyx_v_ellipsis); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_10ellipsis_set[] = "Set the ellipsis behavior of the label\n\n If set to True and the text doesn't fit in the label an ellipsis(\"...\")\n will be shown at the end of the widget.\n\n @warning: This doesn't work with slide(L{slide_set()}) or if the\n chosen wrap method was ELM_WRAP_WORD.\n\n @param ellipsis: To ellipsis text or not\n @type ellipsis: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_11ellipsis_set(PyObject *__pyx_v_self, PyObject *__pyx_v_ellipsis) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("ellipsis_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_ellipsis), __pyx_ptype_7cpython_4bool_bool, 1, "ellipsis", 0))) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_10ellipsis_set(((struct PyElementaryLabel *)__pyx_v_self), ((PyBoolObject *)__pyx_v_ellipsis));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":133
+ * elm_label_wrap_width_set(self.obj, w)
+ *
+ * def ellipsis_set(self, bool ellipsis): # <<<<<<<<<<<<<<
+ * """Set the ellipsis behavior of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_10ellipsis_set(struct PyElementaryLabel *__pyx_v_self, PyBoolObject *__pyx_v_ellipsis) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("ellipsis_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":146
+ *
+ * """
+ * elm_label_ellipsis_set(self.obj, ellipsis) # <<<<<<<<<<<<<<
+ *
+ * def ellipsis_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(((PyObject *)__pyx_v_ellipsis)); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_ellipsis_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.ellipsis_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_13ellipsis_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_12ellipsis_get[] = "Get the ellipsis behavior of the label\n\n @see: L{ellipsis_set()}\n\n @return: If True, an ellipsis will be shown at the end of the label area.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_13ellipsis_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("ellipsis_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_12ellipsis_get(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":148
+ * elm_label_ellipsis_set(self.obj, ellipsis)
+ *
+ * def ellipsis_get(self): # <<<<<<<<<<<<<<
+ * """Get the ellipsis behavior of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_12ellipsis_get(struct PyElementaryLabel *__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("ellipsis_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":156
+ *
+ * """
+ * return elm_label_ellipsis_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property ellipsis:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_label_ellipsis_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.ellipsis_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_8ellipsis_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_8ellipsis_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_8ellipsis___get__(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":170
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_label_ellipsis_get(self.obj)
+ * def __set__(self, ellipsis):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_8ellipsis___get__(struct PyElementaryLabel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":171
+ * """
+ * def __get__(self):
+ * return elm_label_ellipsis_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, ellipsis):
+ * elm_label_ellipsis_set(self.obj, ellipsis)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_label_ellipsis_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.ellipsis.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Label_8ellipsis_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_ellipsis); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Label_8ellipsis_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_ellipsis) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_8ellipsis_2__set__(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_ellipsis));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":172
+ * def __get__(self):
+ * return elm_label_ellipsis_get(self.obj)
+ * def __set__(self, ellipsis): # <<<<<<<<<<<<<<
+ * elm_label_ellipsis_set(self.obj, ellipsis)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Label_8ellipsis_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_ellipsis) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":173
+ * return elm_label_ellipsis_get(self.obj)
+ * def __set__(self, ellipsis):
+ * elm_label_ellipsis_set(self.obj, ellipsis) # <<<<<<<<<<<<<<
+ *
+ * def slide_set(self, bool slide):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_ellipsis); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_ellipsis_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.ellipsis.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_15slide_set(PyObject *__pyx_v_self, PyObject *__pyx_v_slide); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_14slide_set[] = "Set the sliding effect of the label widget.\n\n If set to True, the text of the label will slide/scroll through the length of\n label.\n\n @warning: This only works with the themes \"slide_short\", \"slide_long\" and\n \"slide_bounce\".\n\n @param slide: If True, sliding effect will be shown\n @type slide: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_15slide_set(PyObject *__pyx_v_self, PyObject *__pyx_v_slide) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("slide_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_slide), __pyx_ptype_7cpython_4bool_bool, 1, "slide", 0))) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_14slide_set(((struct PyElementaryLabel *)__pyx_v_self), ((PyBoolObject *)__pyx_v_slide));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":175
+ * elm_label_ellipsis_set(self.obj, ellipsis)
+ *
+ * def slide_set(self, bool slide): # <<<<<<<<<<<<<<
+ * """Set the sliding effect of the label widget.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_14slide_set(struct PyElementaryLabel *__pyx_v_self, PyBoolObject *__pyx_v_slide) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("slide_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":188
+ *
+ * """
+ * elm_label_slide_set(self.obj, slide) # <<<<<<<<<<<<<<
+ *
+ * def slide_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(((PyObject *)__pyx_v_slide)); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_slide_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_17slide_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_16slide_get[] = "Get whether sliding effect is shown or not.\n\n @see: L{slide_set()}\n\n @return: If True, sliding effect is shown.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_17slide_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("slide_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_16slide_get(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":190
+ * elm_label_slide_set(self.obj, slide)
+ *
+ * def slide_get(self): # <<<<<<<<<<<<<<
+ * """Get whether sliding effect is shown or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_16slide_get(struct PyElementaryLabel *__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("slide_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":199
+ *
+ * """
+ * return elm_label_slide_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property slide:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_label_slide_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_5slide_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_5slide_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_5slide___get__(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":213
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_label_slide_get(self.obj)
+ * def __set__(self, slide):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_5slide___get__(struct PyElementaryLabel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":214
+ * """
+ * def __get__(self):
+ * return elm_label_slide_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, slide):
+ * elm_label_slide_set(self.obj, slide)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_label_slide_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Label_5slide_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_slide); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Label_5slide_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_slide) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_5slide_2__set__(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_slide));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":215
+ * def __get__(self):
+ * return elm_label_slide_get(self.obj)
+ * def __set__(self, slide): # <<<<<<<<<<<<<<
+ * elm_label_slide_set(self.obj, slide)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Label_5slide_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_slide) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":216
+ * return elm_label_slide_get(self.obj)
+ * def __set__(self, slide):
+ * elm_label_slide_set(self.obj, slide) # <<<<<<<<<<<<<<
+ *
+ * def slide_duration_set(self, duration):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_slide); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_slide_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_19slide_duration_set(PyObject *__pyx_v_self, PyObject *__pyx_v_duration); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_18slide_duration_set[] = "Set the slide duration (speed) of the label\n\n @param duration: The duration in seconds in moving text from slide begin position\n to slide end position\n @type duration: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_19slide_duration_set(PyObject *__pyx_v_self, PyObject *__pyx_v_duration) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("slide_duration_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_18slide_duration_set(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_duration));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":218
+ * elm_label_slide_set(self.obj, slide)
+ *
+ * def slide_duration_set(self, duration): # <<<<<<<<<<<<<<
+ * """Set the slide duration (speed) of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_18slide_duration_set(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_duration) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("slide_duration_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":226
+ *
+ * """
+ * elm_label_slide_duration_set(self.obj, duration) # <<<<<<<<<<<<<<
+ *
+ * def slide_duration_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_duration); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_slide_duration_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide_duration_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_21slide_duration_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_20slide_duration_get[] = "Get the slide duration(speed) of the label\n\n @see: L{slide_duration_set()}\n\n @return: The duration time in moving text from slide begin position to slide end position\n @rtype: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_21slide_duration_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("slide_duration_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_20slide_duration_get(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":228
+ * elm_label_slide_duration_set(self.obj, duration)
+ *
+ * def slide_duration_get(self): # <<<<<<<<<<<<<<
+ * """Get the slide duration(speed) of the label
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_20slide_duration_get(struct PyElementaryLabel *__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("slide_duration_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":237
+ *
+ * """
+ * return elm_label_slide_duration_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property slide_duration:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_label_slide_duration_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide_duration_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_14slide_duration_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_14slide_duration_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_14slide_duration___get__(((struct PyElementaryLabel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":245
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_label_slide_duration_get(self.obj)
+ * def __set__(self, duration):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_14slide_duration___get__(struct PyElementaryLabel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":246
+ * """
+ * def __get__(self):
+ * return elm_label_slide_duration_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, duration):
+ * elm_label_slide_duration_set(self.obj, duration)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_label_slide_duration_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide_duration.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Label_14slide_duration_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_duration); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Label_14slide_duration_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_duration) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_14slide_duration_2__set__(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_duration));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":247
+ * def __get__(self):
+ * return elm_label_slide_duration_get(self.obj)
+ * def __set__(self, duration): # <<<<<<<<<<<<<<
+ * elm_label_slide_duration_set(self.obj, duration)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Label_14slide_duration_2__set__(struct PyElementaryLabel *__pyx_v_self, PyObject *__pyx_v_duration) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":248
+ * return elm_label_slide_duration_get(self.obj)
+ * def __set__(self, duration):
+ * elm_label_slide_duration_set(self.obj, duration) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_duration); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_label_slide_duration_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Label.slide_duration.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_23callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Label_22callback_language_changed_add[] = "The program's language changed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_23callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[22]; __pyx_lineno = 250; __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[22]; __pyx_lineno = 250; __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("elementary.c_elementary.Label.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_22callback_language_changed_add(((struct PyElementaryLabel *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":250
+ * elm_label_slide_duration_set(self.obj, duration)
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The program's language changed."""
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_22callback_language_changed_add(struct PyElementaryLabel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":252
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ * """The program's language changed."""
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 252; __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[22]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Label.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_25callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Label_25callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Label_24callback_language_changed_del(((struct PyElementaryLabel *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":254
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Label_24callback_language_changed_del(struct PyElementaryLabel *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":255
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("label", Label)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 255; __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[22]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Label.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Table_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Table_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 38; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table___init__(((struct PyElementaryTable *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":38
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_table_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Table___init__(struct PyElementaryTable *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":39
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_table_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 39; __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[23]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":40
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_table_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_set(self, homogeneous):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Table *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_table_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Table.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_3homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_2homogeneous_set[] = "Set the homogeneous layout in the table\n\n @param homogeneous: A boolean to set if the layout is homogeneous in\n the table (True = homogeneous, False = no homogeneous)\n @type homogeneous: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_3homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_2homogeneous_set(((struct PyElementaryTable *)__pyx_v_self), ((PyObject *)__pyx_v_homogeneous));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":42
+ * self._set_obj(elm_table_add(parent.obj))
+ *
+ * def homogeneous_set(self, homogeneous): # <<<<<<<<<<<<<<
+ * """Set the homogeneous layout in the table
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_2homogeneous_set(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("homogeneous_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":50
+ *
+ * """
+ * elm_table_homogeneous_set(self.obj, homogeneous) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_homogeneous); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.homogeneous_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_5homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_4homogeneous_get[] = "Get the current table homogeneous mode.\n\n @return: A boolean to indicating if the layout is homogeneous in the\n table (True = homogeneous, False = no homogeneous)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_5homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_4homogeneous_get(((struct PyElementaryTable *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":52
+ * elm_table_homogeneous_set(self.obj, homogeneous)
+ *
+ * def homogeneous_get(self): # <<<<<<<<<<<<<<
+ * """Get the current table homogeneous mode.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_4homogeneous_get(struct PyElementaryTable *__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("homogeneous_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":60
+ *
+ * """
+ * return elm_table_homogeneous_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property homogeneous:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_table_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Table.homogeneous_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_11homogeneous_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_11homogeneous_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_11homogeneous___get__(((struct PyElementaryTable *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":68
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_table_homogeneous_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_11homogeneous___get__(struct PyElementaryTable *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":69
+ * """
+ * def __get__(self):
+ * return elm_table_homogeneous_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, homogeneous):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_table_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Table.homogeneous.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Table_11homogeneous_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Table_11homogeneous_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_11homogeneous_2__set__(((struct PyElementaryTable *)__pyx_v_self), ((PyObject *)__pyx_v_homogeneous));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":71
+ * return elm_table_homogeneous_get(self.obj)
+ *
+ * def __set__(self, homogeneous): # <<<<<<<<<<<<<<
+ * elm_table_homogeneous_set(self.obj, homogeneous)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Table_11homogeneous_2__set__(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":72
+ *
+ * def __set__(self, homogeneous):
+ * elm_table_homogeneous_set(self.obj, homogeneous) # <<<<<<<<<<<<<<
+ *
+ * def padding_set(self, horizontal, vertical):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_homogeneous); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.homogeneous.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_7padding_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_6padding_set[] = "Set padding between cells.\n\n Default value is 0.\n\n @param horizontal: set the horizontal padding.\n @type horizontal: Evas_Coord (int)\n @param vertical: set the vertical padding.\n @type vertical: Evas_Coord (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_7padding_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_horizontal = 0;
+ PyObject *__pyx_v_vertical = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__horizontal,&__pyx_n_s__vertical,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("padding_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__horizontal);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__vertical);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("padding_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "padding_set") < 0)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 74; __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_horizontal = values[0];
+ __pyx_v_vertical = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("padding_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.padding_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_6padding_set(((struct PyElementaryTable *)__pyx_v_self), __pyx_v_horizontal, __pyx_v_vertical);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":74
+ * elm_table_homogeneous_set(self.obj, homogeneous)
+ *
+ * def padding_set(self, horizontal, vertical): # <<<<<<<<<<<<<<
+ * """Set padding between cells.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_6padding_set(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_horizontal, PyObject *__pyx_v_vertical) {
+ 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("padding_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":85
+ *
+ * """
+ * elm_table_padding_set(self.obj, horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def padding_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_vertical); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_padding_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.padding_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_9padding_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_8padding_get[] = "Get padding between cells.\n\n @return: The horizontal and vertical padding\n @rtype: tuple of Evas_Coords (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_9padding_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("padding_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_8padding_get(((struct PyElementaryTable *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":87
+ * elm_table_padding_set(self.obj, horizontal, vertical)
+ *
+ * def padding_get(self): # <<<<<<<<<<<<<<
+ * """Get padding between cells.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_8padding_get(struct PyElementaryTable *__pyx_v_self) {
+ Evas_Coord __pyx_v_horizontal;
+ Evas_Coord __pyx_v_vertical;
+ 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("padding_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":95
+ * """
+ * cdef Evas_Coord horizontal, vertical
+ * elm_table_padding_get(self.obj, &horizontal, &vertical) # <<<<<<<<<<<<<<
+ * return (horizontal, vertical)
+ *
+ */
+ elm_table_padding_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_horizontal), (&__pyx_v_vertical));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":96
+ * cdef Evas_Coord horizontal, vertical
+ * elm_table_padding_get(self.obj, &horizontal, &vertical)
+ * return (horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * property padding:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_horizontal); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_vertical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 96; __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[23]; __pyx_lineno = 96; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Table.padding_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_7padding_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_7padding_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_7padding___get__(((struct PyElementaryTable *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":106
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord horizontal, vertical
+ * elm_table_padding_get(self.obj, &horizontal, &vertical)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_7padding___get__(struct PyElementaryTable *__pyx_v_self) {
+ Evas_Coord __pyx_v_horizontal;
+ Evas_Coord __pyx_v_vertical;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":108
+ * def __get__(self):
+ * cdef Evas_Coord horizontal, vertical
+ * elm_table_padding_get(self.obj, &horizontal, &vertical) # <<<<<<<<<<<<<<
+ * return (horizontal, vertical)
+ *
+ */
+ elm_table_padding_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_horizontal), (&__pyx_v_vertical));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":109
+ * cdef Evas_Coord horizontal, vertical
+ * elm_table_padding_get(self.obj, &horizontal, &vertical)
+ * return (horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_horizontal); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_vertical); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 109; __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[23]; __pyx_lineno = 109; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Table.padding.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Table_7padding_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Table_7padding_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_7padding_2__set__(((struct PyElementaryTable *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":111
+ * return (horizontal, vertical)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * horizontal, vertical = value
+ * elm_table_padding_set(self.obj, horizontal, vertical)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Table_7padding_2__set__(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_horizontal = NULL;
+ PyObject *__pyx_v_vertical = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":112
+ *
+ * def __set__(self, value):
+ * horizontal, vertical = value # <<<<<<<<<<<<<<
+ * elm_table_padding_set(self.obj, horizontal, vertical)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[23]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[23]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 112; __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[23]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[23]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_horizontal = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_vertical = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":113
+ * def __set__(self, value):
+ * horizontal, vertical = value
+ * elm_table_padding_set(self.obj, horizontal, vertical) # <<<<<<<<<<<<<<
+ *
+ * def pack(self, evasObject subobj, x, y, w, h):
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_horizontal); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_vertical); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_padding_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Table.padding.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_horizontal);
+ __Pyx_XDECREF(__pyx_v_vertical);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_11pack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_10pack[] = "pack(subobj, x, y, w, h)\n\n Add a subobject on the table with the coordinates passed\n\n @note: All positioning inside the table is relative to rows and\n columns, so a value of 0 for x and y, means the top left cell of\n the table, and a value of 1 for w and h means C{subobj} only\n takes that 1 cell.\n\n @param subobj: The subobject to be added to the table\n @type subobj: L{Object}\n @param x: Row number\n @type x: int\n @param y: Column number\n @type y: int\n @param w: colspan\n @type w: int\n @param h: rowspan\n @type h: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_11pack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_subobj = 0;
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__subobj,&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__subobj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 1); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 2); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 3); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 4); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "pack") < 0)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_subobj = ((struct PyEvasObject *)values[0]);
+ __pyx_v_x = values[1];
+ __pyx_v_y = values[2];
+ __pyx_v_w = values[3];
+ __pyx_v_h = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.pack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_10pack(((struct PyElementaryTable *)__pyx_v_self), __pyx_v_subobj, __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":115
+ * elm_table_padding_set(self.obj, horizontal, vertical)
+ *
+ * def pack(self, evasObject subobj, x, y, w, h): # <<<<<<<<<<<<<<
+ * """pack(subobj, x, y, w, h)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_10pack(struct PyElementaryTable *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("pack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":137
+ *
+ * """
+ * elm_table_pack(self.obj, subobj.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def unpack(self, evasObject subobj):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_x); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_y); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_w); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_h); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_pack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_subobj->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.pack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_13unpack(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_12unpack[] = "unpack(subobj)\n\n Remove child from table.\n\n @param subobj: The subobject\n @type subobj: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_13unpack(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_12unpack(((struct PyElementaryTable *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_subobj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":139
+ * elm_table_pack(self.obj, subobj.obj, x, y, w, h)
+ *
+ * def unpack(self, evasObject subobj): # <<<<<<<<<<<<<<
+ * """unpack(subobj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_12unpack(struct PyElementaryTable *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":148
+ *
+ * """
+ * elm_table_unpack(self.obj, subobj.obj) # <<<<<<<<<<<<<<
+ *
+ * def clear(self, clear):
+ */
+ elm_table_unpack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_subobj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_15clear(PyObject *__pyx_v_self, PyObject *__pyx_v_clear); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_14clear[] = "clear(clear)\n\n Faster way to remove all child objects from a table object.\n\n @param clear: If True, will delete children, else just remove from table.\n @type clear: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_15clear(PyObject *__pyx_v_self, PyObject *__pyx_v_clear) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_14clear(((struct PyElementaryTable *)__pyx_v_self), ((PyObject *)__pyx_v_clear));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":150
+ * elm_table_unpack(self.obj, subobj.obj)
+ *
+ * def clear(self, clear): # <<<<<<<<<<<<<<
+ * """clear(clear)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_14clear(struct PyElementaryTable *__pyx_v_self, PyObject *__pyx_v_clear) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":159
+ *
+ * """
+ * elm_table_clear(self.obj, clear) # <<<<<<<<<<<<<<
+ *
+ * def pack_set(evasObject subobj, x, y, w, h):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_clear); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_clear(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.clear", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_17pack_set(PyObject *__pyx_v_subobj, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_16pack_set[] = "pack_set(subobj, x, y, w, h)\n\n Set the packing location of an existing child of the table\n\n Modifies the position of an object already in the table.\n\n @note: All positioning inside the table is relative to rows and\n columns, so a value of 0 for x and y, means the top left cell of\n the table, and a value of 1 for w and h means C{subobj} only\n takes that 1 cell.\n\n @param subobj: The subobject to be modified in the table\n @type subobj: L{Object}\n @param x: Row number\n @type x: int\n @param y: Column number\n @type y: int\n @param w: rowspan\n @type w: int\n @param h: colspan\n @type h: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_17pack_set(PyObject *__pyx_v_subobj, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 4, 4, 1); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 4, 4, 2); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 4, 4, 3); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "pack_set") < 0)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 161; __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_x = values[0];
+ __pyx_v_y = values[1];
+ __pyx_v_w = values[2];
+ __pyx_v_h = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[23]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.pack_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_16pack_set(((struct PyElementaryTable *)__pyx_v_subobj), __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":161
+ * elm_table_clear(self.obj, clear)
+ *
+ * def pack_set(evasObject subobj, x, y, w, h): # <<<<<<<<<<<<<<
+ * """pack_set(subobj, x, y, w, h)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_16pack_set(struct PyElementaryTable *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("pack_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":185
+ *
+ * """
+ * elm_table_pack_set(subobj.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def pack_get(evasObject subobj):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_x); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_y); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_w); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_h); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_table_pack_set(__pyx_v_subobj->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Table.pack_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_19pack_get(PyObject *__pyx_v_subobj, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Table_18pack_get[] = "pack_get(subobj)\n\n Get the packing location of an existing child of the table\n\n @see: L{pack_set()}\n\n @param subobj: The subobject to be modified in the table\n @type subobj: L{Object}\n @return: Row number, Column number, rowspan, colspan\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Table_19pack_get(PyObject *__pyx_v_subobj, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Table_18pack_get(((struct PyElementaryTable *)__pyx_v_subobj));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":187
+ * elm_table_pack_set(subobj.obj, x, y, w, h)
+ *
+ * def pack_get(evasObject subobj): # <<<<<<<<<<<<<<
+ * """pack_get(subobj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Table_18pack_get(struct PyElementaryTable *__pyx_v_subobj) {
+ int __pyx_v_x;
+ int __pyx_v_y;
+ int __pyx_v_w;
+ int __pyx_v_h;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pack_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":201
+ * """
+ * cdef int x, y, w, h
+ * elm_table_pack_get(subobj.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_table_pack_get(__pyx_v_subobj->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":202
+ * cdef int x, y, w, h
+ * elm_table_pack_get(subobj.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("table", Table)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Table.pack_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 52; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[24]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock___init__(((struct PyElementaryClock *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":52
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_clock_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock___init__(struct PyElementaryClock *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":53
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_clock_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 53; __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[24]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":54
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_clock_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def time_set(self, hours, minutes, seconds):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Clock *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_clock_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Clock.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_3time_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_2time_set[] = "Set a clock widget's time, programmatically\n\n This function updates the time that is showed by the clock\n widget.\n\n Values B{must} be set within the following ranges:\n - 0 - 23, for hours\n - 0 - 59, for minutes\n - 0 - 59, for seconds,\n even if the clock is not in \"military\" mode.\n\n @warning: The behavior for values set out of those ranges is\n B{undefined}.\n\n @param hrs: The hours to set\n @type hrs: int\n @param min: The minutes to set\n @type min: int\n @param sec: The seconds to set\n @type sec: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_3time_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_hours = 0;
+ PyObject *__pyx_v_minutes = 0;
+ PyObject *__pyx_v_seconds = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__hours,&__pyx_n_s__minutes,&__pyx_n_s__seconds,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("time_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__hours);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__minutes);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("time_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[24]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__seconds);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("time_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[24]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "time_set") < 0)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 56; __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_hours = values[0];
+ __pyx_v_minutes = values[1];
+ __pyx_v_seconds = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("time_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[24]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.time_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_2time_set(((struct PyElementaryClock *)__pyx_v_self), __pyx_v_hours, __pyx_v_minutes, __pyx_v_seconds);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":56
+ * self._set_obj(elm_clock_add(parent.obj))
+ *
+ * def time_set(self, hours, minutes, seconds): # <<<<<<<<<<<<<<
+ * """Set a clock widget's time, programmatically
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_2time_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_hours, PyObject *__pyx_v_minutes, PyObject *__pyx_v_seconds) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("time_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":79
+ *
+ * """
+ * elm_clock_time_set(self.obj, hours, minutes, seconds) # <<<<<<<<<<<<<<
+ *
+ * def time_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_hours); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_minutes); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_seconds); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_time_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.time_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_5time_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_4time_get[] = "Get a clock widget's time values\n\n This function gets the time set, returning it as a tuple.\n\n @return: Hours, minutes and seconds\n @rtype: tuple of ints\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_5time_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("time_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_4time_get(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":81
+ * elm_clock_time_set(self.obj, hours, minutes, seconds)
+ *
+ * def time_get(self): # <<<<<<<<<<<<<<
+ * """Get a clock widget's time values
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_4time_get(struct PyElementaryClock *__pyx_v_self) {
+ int __pyx_v_hrs;
+ int __pyx_v_min;
+ int __pyx_v_sec;
+ 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("time_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":92
+ * cdef int hrs, min, sec
+ *
+ * elm_clock_time_get(self.obj, &hrs, &min, &sec) # <<<<<<<<<<<<<<
+ * return (hrs, min, sec)
+ *
+ */
+ elm_clock_time_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_hrs), (&__pyx_v_min), (&__pyx_v_sec));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":93
+ *
+ * elm_clock_time_get(self.obj, &hrs, &min, &sec)
+ * return (hrs, min, sec) # <<<<<<<<<<<<<<
+ *
+ * property time:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_hrs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_min); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_sec); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 93; __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[24]; __pyx_lineno = 93; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Clock.time_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_4time_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_4time_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_4time___get__(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":112
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int hrs, min, sec
+ * elm_clock_time_get(self.obj, &hrs, &min, &sec)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_4time___get__(struct PyElementaryClock *__pyx_v_self) {
+ int __pyx_v_hrs;
+ int __pyx_v_min;
+ int __pyx_v_sec;
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":114
+ * def __get__(self):
+ * cdef int hrs, min, sec
+ * elm_clock_time_get(self.obj, &hrs, &min, &sec) # <<<<<<<<<<<<<<
+ * return (hrs, min, sec)
+ *
+ */
+ elm_clock_time_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_hrs), (&__pyx_v_min), (&__pyx_v_sec));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":115
+ * cdef int hrs, min, sec
+ * elm_clock_time_get(self.obj, &hrs, &min, &sec)
+ * return (hrs, min, sec) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_hrs); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_min); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_sec); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 115; __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[24]; __pyx_lineno = 115; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Clock.time.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_4time_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_4time_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_4time_2__set__(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":117
+ * return (hrs, min, sec)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int hrs, min, sec
+ * hrs, min, sec = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock_4time_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_hrs;
+ int __pyx_v_min;
+ int __pyx_v_sec;
+ int __pyx_r;
+ __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)(PyObject *);
+ int __pyx_t_6;
+ int __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":119
+ * def __set__(self, value):
+ * cdef int hrs, min, sec
+ * hrs, min, sec = value # <<<<<<<<<<<<<<
+ * elm_clock_time_set(self.obj, hrs, min, sec)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_7 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_8 = __Pyx_PyInt_AsInt(__pyx_t_3); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_hrs = __pyx_t_6;
+ __pyx_v_min = __pyx_t_7;
+ __pyx_v_sec = __pyx_t_8;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":120
+ * cdef int hrs, min, sec
+ * hrs, min, sec = value
+ * elm_clock_time_set(self.obj, hrs, min, sec) # <<<<<<<<<<<<<<
+ *
+ * def edit_set(self, edit):
+ */
+ elm_clock_time_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_hrs, __pyx_v_min, __pyx_v_sec);
+
+ __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_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.time.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_7edit_set(PyObject *__pyx_v_self, PyObject *__pyx_v_edit); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_6edit_set[] = "Set whether a given clock widget is under B{edition mode} or\n under (default) displaying-only mode.\n\n This function makes a clock's time to be editable or not B{by user\n interaction}. When in edition mode, clocks B{stop} ticking, until\n one brings them back to canonical mode. The L{edit_mode_set()}\n function will influence which digits of the clock will be editable.\n\n @note: am/pm sheets, if being shown, will B{always} be editable\n under edition mode.\n\n @see: L{edit_get()}\n\n @param edit: C{True} to put it in edition, C{False} to put it back to\n \"displaying only\" mode\n @type edit: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_7edit_set(PyObject *__pyx_v_self, PyObject *__pyx_v_edit) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("edit_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_6edit_set(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_edit));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":122
+ * elm_clock_time_set(self.obj, hrs, min, sec)
+ *
+ * def edit_set(self, edit): # <<<<<<<<<<<<<<
+ * """Set whether a given clock widget is under B{edition mode} or
+ * under (default) displaying-only mode.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_6edit_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_edit) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("edit_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":141
+ *
+ * """
+ * elm_clock_edit_set(self.obj, edit) # <<<<<<<<<<<<<<
+ *
+ * def edit_get(self, edit):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_edit); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_edit_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.edit_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_9edit_get(PyObject *__pyx_v_self, PyObject *__pyx_v_edit); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_8edit_get[] = "Retrieve whether a given clock widget is under editing mode or\n under (default) displaying-only mode.\n\n This function retrieves whether the clock's time can be edited or\n not by user interaction.\n\n @see: L{edit_set()} for more details\n\n @return: C{True}, if it's in edition mode, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_9edit_get(PyObject *__pyx_v_self, PyObject *__pyx_v_edit) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("edit_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_8edit_get(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_edit));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":143
+ * elm_clock_edit_set(self.obj, edit)
+ *
+ * def edit_get(self, edit): # <<<<<<<<<<<<<<
+ * """Retrieve whether a given clock widget is under editing mode or
+ * under (default) displaying-only mode.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_8edit_get(struct PyElementaryClock *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_edit) {
+ 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("edit_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":156
+ *
+ * """
+ * return bool(elm_clock_edit_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property edit:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_clock_edit_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Clock.edit_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_4edit_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_4edit_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_4edit___get__(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":173
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_clock_edit_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_4edit___get__(struct PyElementaryClock *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":174
+ * """
+ * def __get__(self):
+ * return bool(elm_clock_edit_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, edit):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_clock_edit_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Clock.edit.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_4edit_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_edit); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_4edit_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_edit) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_4edit_2__set__(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_edit));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":176
+ * return bool(elm_clock_edit_get(self.obj))
+ *
+ * def __set__(self, edit): # <<<<<<<<<<<<<<
+ * elm_clock_edit_set(self.obj, edit)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock_4edit_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_edit) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":177
+ *
+ * def __set__(self, edit):
+ * elm_clock_edit_set(self.obj, edit) # <<<<<<<<<<<<<<
+ *
+ * def edit_mode_set(self, mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_edit); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_edit_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.edit.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_11edit_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_10edit_mode_set[] = "Set what digits of the given clock widget should be editable\n when in edition mode.\n\n @see: L{edit_mode_get()}\n\n @param digedit: Bit mask indicating the digits to be editable\n @type digedit: Elm_Clock_Edit_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_11edit_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("edit_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_10edit_mode_set(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":179
+ * elm_clock_edit_set(self.obj, edit)
+ *
+ * def edit_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set what digits of the given clock widget should be editable
+ * when in edition mode.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_10edit_mode_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Clock_Edit_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("edit_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":189
+ *
+ * """
+ * elm_clock_edit_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def edit_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Clock_Edit_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_edit_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.edit_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_13edit_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_12edit_mode_get[] = "Retrieve what digits of the given clock widget should be\n editable when in edition mode.\n\n @see: L{edit_mode_set()} for more details\n\n @return: Bit mask indicating the digits to be editable\n @rtype: Elm_Clock_Edit_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_13edit_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("edit_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_12edit_mode_get(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":191
+ * elm_clock_edit_mode_set(self.obj, mode)
+ *
+ * def edit_mode_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve what digits of the given clock widget should be
+ * editable when in edition mode.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_12edit_mode_get(struct PyElementaryClock *__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("edit_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":201
+ *
+ * """
+ * return elm_clock_edit_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property edit_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_clock_edit_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.edit_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_9edit_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_9edit_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_9edit_mode___get__(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":210
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_clock_edit_mode_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_9edit_mode___get__(struct PyElementaryClock *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":211
+ * """
+ * def __get__(self):
+ * return elm_clock_edit_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_clock_edit_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.edit_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_9edit_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_9edit_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_10elementary_12c_elementary_5Clock_9edit_mode_2__set__(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":213
+ * return elm_clock_edit_mode_get(self.obj)
+ *
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_clock_edit_mode_set(self.obj, mode)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock_9edit_mode_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Clock_Edit_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":214
+ *
+ * def __set__(self, mode):
+ * elm_clock_edit_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def show_am_pm_set(self, am_pm):
+ */
+ __pyx_t_1 = ((Elm_Clock_Edit_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_edit_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.edit_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_15show_am_pm_set(PyObject *__pyx_v_self, PyObject *__pyx_v_am_pm); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_14show_am_pm_set[] = "Set if the given clock widget must show hours in military or\n am/pm mode\n\n This function sets if the clock must show hours in military or\n am/pm mode. In some countries like Brazil the military mode\n (00-24h-format) is used, in opposition to the USA, where the\n am/pm mode is more commonly used.\n\n @see: L{show_am_pm_get()}\n\n @param am_pm: C{True} to put it in am/pm mode, C{False} to military mode\n @type am_pm: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_15show_am_pm_set(PyObject *__pyx_v_self, PyObject *__pyx_v_am_pm) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show_am_pm_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_14show_am_pm_set(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_am_pm));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":216
+ * elm_clock_edit_mode_set(self.obj, mode)
+ *
+ * def show_am_pm_set(self, am_pm): # <<<<<<<<<<<<<<
+ * """Set if the given clock widget must show hours in military or
+ * am/pm mode
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_14show_am_pm_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_am_pm) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("show_am_pm_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":231
+ *
+ * """
+ * elm_clock_show_am_pm_set(self.obj, am_pm) # <<<<<<<<<<<<<<
+ *
+ * def show_am_pm_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_am_pm); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_show_am_pm_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_am_pm_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_17show_am_pm_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_16show_am_pm_get[] = "Get if the given clock widget shows hours in military or am/pm\n mode\n\n @see: L{show_am_pm_set()} for more details\n\n @return: C{True}, if in am/pm mode, C{False} if in military\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_17show_am_pm_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show_am_pm_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_16show_am_pm_get(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":233
+ * elm_clock_show_am_pm_set(self.obj, am_pm)
+ *
+ * def show_am_pm_get(self): # <<<<<<<<<<<<<<
+ * """Get if the given clock widget shows hours in military or am/pm
+ * mode
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_16show_am_pm_get(struct PyElementaryClock *__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("show_am_pm_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":243
+ *
+ * """
+ * return elm_clock_show_am_pm_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property show_am_pm:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_clock_show_am_pm_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_am_pm_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_10show_am_pm_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_10show_am_pm_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_10show_am_pm___get__(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":259
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_clock_show_am_pm_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_10show_am_pm___get__(struct PyElementaryClock *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":260
+ * """
+ * def __get__(self):
+ * return elm_clock_show_am_pm_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, am_pm):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_clock_show_am_pm_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_am_pm.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_10show_am_pm_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_am_pm); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_10show_am_pm_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_am_pm) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_10show_am_pm_2__set__(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_am_pm));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":262
+ * return elm_clock_show_am_pm_get(self.obj)
+ *
+ * def __set__(self, am_pm): # <<<<<<<<<<<<<<
+ * elm_clock_show_am_pm_set(self.obj, am_pm)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock_10show_am_pm_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_am_pm) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":263
+ *
+ * def __set__(self, am_pm):
+ * elm_clock_show_am_pm_set(self.obj, am_pm) # <<<<<<<<<<<<<<
+ *
+ * def show_seconds_set(self, seconds):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_am_pm); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_show_am_pm_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_am_pm.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_19show_seconds_set(PyObject *__pyx_v_self, PyObject *__pyx_v_seconds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_18show_seconds_set[] = "Set if the given clock widget must show time with seconds or not\n\n This function sets if the given clock must show or not elapsed\n seconds. By default, they are B{not} shown.\n\n @see: L{show_seconds_get()}\n\n @param seconds: C{True} to show seconds, C{False} otherwise\n @type seconds: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_19show_seconds_set(PyObject *__pyx_v_self, PyObject *__pyx_v_seconds) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show_seconds_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_18show_seconds_set(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_seconds));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":265
+ * elm_clock_show_am_pm_set(self.obj, am_pm)
+ *
+ * def show_seconds_set(self, seconds): # <<<<<<<<<<<<<<
+ * """Set if the given clock widget must show time with seconds or not
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_18show_seconds_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_seconds) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("show_seconds_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":277
+ *
+ * """
+ * elm_clock_show_seconds_set(self.obj, seconds) # <<<<<<<<<<<<<<
+ *
+ * def show_seconds_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_seconds); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_show_seconds_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_seconds_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_21show_seconds_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_20show_seconds_get[] = "Get whether the given clock widget is showing time with seconds\n or not\n\n @see: elm_clock_show_seconds_set()\n\n @return: C{True} if it's showing seconds, C{False} otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_21show_seconds_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show_seconds_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_20show_seconds_get(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":279
+ * elm_clock_show_seconds_set(self.obj, seconds)
+ *
+ * def show_seconds_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the given clock widget is showing time with seconds
+ * or not
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_20show_seconds_get(struct PyElementaryClock *__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("show_seconds_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":289
+ *
+ * """
+ * return elm_clock_show_seconds_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property show_seconds:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_clock_show_seconds_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_seconds_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_12show_seconds_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_12show_seconds_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_12show_seconds___get__(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":299
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_clock_show_seconds_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_12show_seconds___get__(struct PyElementaryClock *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":300
+ * """
+ * def __get__(self):
+ * return elm_clock_show_seconds_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, seconds):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_clock_show_seconds_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_seconds.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_12show_seconds_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_seconds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_12show_seconds_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_seconds) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_12show_seconds_2__set__(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_seconds));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":302
+ * return elm_clock_show_seconds_get(self.obj)
+ *
+ * def __set__(self, seconds): # <<<<<<<<<<<<<<
+ * elm_clock_show_seconds_set(self.obj, seconds)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock_12show_seconds_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_seconds) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":303
+ *
+ * def __set__(self, seconds):
+ * elm_clock_show_seconds_set(self.obj, seconds) # <<<<<<<<<<<<<<
+ *
+ * def first_interval_set(self, interval):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_seconds); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_show_seconds_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.show_seconds.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_23first_interval_set(PyObject *__pyx_v_self, PyObject *__pyx_v_interval); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_22first_interval_set[] = "Set the first interval on time updates for a user mouse button hold\n on clock widgets' time edition.\n\n This interval value is B{decreased} while the user holds the\n mouse pointer either incrementing or decrementing a given the\n clock digit's value.\n\n This helps the user to get to a given time distant from the\n current one easier/faster, as it will start to flip quicker and\n quicker on mouse button holds.\n\n The calculation for the next flip interval value, starting from\n the one set with this call, is the previous interval divided by\n 1.05, so it decreases a little bit.\n\n The default starting interval value for automatic flips is\n B{0.85} seconds.\n\n @see: L{first_interval_get()}\n\n @param interval: The first interval value in seconds\n @type interval: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_23first_interval_set(PyObject *__pyx_v_self, PyObject *__pyx_v_interval) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("first_interval_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_22first_interval_set(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_interval));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":305
+ * elm_clock_show_seconds_set(self.obj, seconds)
+ *
+ * def first_interval_set(self, interval): # <<<<<<<<<<<<<<
+ * """Set the first interval on time updates for a user mouse button hold
+ * on clock widgets' time edition.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_22first_interval_set(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_interval) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("first_interval_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":330
+ *
+ * """
+ * elm_clock_first_interval_set(self.obj, interval) # <<<<<<<<<<<<<<
+ *
+ * def first_interval_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_interval); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_first_interval_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.first_interval_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_25first_interval_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_24first_interval_get[] = "Get the first interval on time updates for a user mouse button hold\n on clock widgets' time edition.\n\n @see: L{first_interval_set()} for more details\n\n @return: The first interval value, in seconds, set on it\n @rtype: float\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_25first_interval_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("first_interval_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_24first_interval_get(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":332
+ * elm_clock_first_interval_set(self.obj, interval)
+ *
+ * def first_interval_get(self): # <<<<<<<<<<<<<<
+ * """Get the first interval on time updates for a user mouse button hold
+ * on clock widgets' time edition.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_24first_interval_get(struct PyElementaryClock *__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_interval_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":342
+ *
+ * """
+ * return elm_clock_first_interval_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property first_interval:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_clock_first_interval_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.first_interval_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_14first_interval_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_14first_interval_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_14first_interval___get__(((struct PyElementaryClock *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":366
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_clock_first_interval_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_14first_interval___get__(struct PyElementaryClock *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":367
+ * """
+ * def __get__(self):
+ * return elm_clock_first_interval_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, interval):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_clock_first_interval_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.first_interval.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Clock_14first_interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Clock_14first_interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_14first_interval_2__set__(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_interval));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":369
+ * return elm_clock_first_interval_get(self.obj)
+ *
+ * def __set__(self, interval): # <<<<<<<<<<<<<<
+ * elm_clock_first_interval_set(self.obj, interval)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Clock_14first_interval_2__set__(struct PyElementaryClock *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":370
+ *
+ * def __set__(self, interval):
+ * elm_clock_first_interval_set(self.obj, interval) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_interval); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_clock_first_interval_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Clock.first_interval.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_27callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Clock_26callback_changed_add[] = "The clock's user changed the time";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_27callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[24]; __pyx_lineno = 372; __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[24]; __pyx_lineno = 372; __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("elementary.c_elementary.Clock.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Clock_26callback_changed_add(((struct PyElementaryClock *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":372
+ * elm_clock_first_interval_set(self.obj, interval)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The clock's user changed the time"""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_26callback_changed_add(struct PyElementaryClock *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":374
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """The clock's user changed the time"""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 374; __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[24]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Clock.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_29callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Clock_29callback_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_10elementary_12c_elementary_5Clock_28callback_changed_del(((struct PyElementaryClock *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":376
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Clock_28callback_changed_del(struct PyElementaryClock *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":377
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("clock", Clock)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 377; __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[24]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Clock.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Hover_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Hover_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ PyObject *__pyx_v_obj = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,&__pyx_n_s__obj,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":77
+ * """
+ *
+ * def __init__(self, evasObject parent, obj = None): # <<<<<<<<<<<<<<
+ * if obj is None:
+ * Object.__init__(self, parent.evas)
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (value) { values[1] = 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[25]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_parent = ((struct PyEvasObject *)values[0]);
+ __pyx_v_obj = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[25]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover___init__(((struct PyElementaryHover *)__pyx_v_self), __pyx_v_parent, __pyx_v_obj);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static int __pyx_pf_10elementary_12c_elementary_5Hover___init__(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_parent, PyObject *__pyx_v_obj) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":78
+ *
+ * def __init__(self, evasObject parent, obj = None):
+ * if obj is None: # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_hover_add(parent.obj))
+ */
+ __pyx_t_1 = (__pyx_v_obj == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":79
+ * def __init__(self, evasObject parent, obj = None):
+ * if obj is None:
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_hover_add(parent.obj))
+ * else:
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 79; __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[25]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":80
+ * if obj is None:
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_hover_add(parent.obj)) # <<<<<<<<<<<<<<
+ * else:
+ * self._set_obj(<Evas_Object*>obj)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Hover *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_hover_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":82
+ * self._set_obj(elm_hover_add(parent.obj))
+ * else:
+ * self._set_obj(<Evas_Object*>obj) # <<<<<<<<<<<<<<
+ *
+ * def target_set(self, evasObject target):
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Hover *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), ((Evas_Object *)__pyx_v_obj)); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_3target_set(PyObject *__pyx_v_self, PyObject *__pyx_v_target); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_2target_set[] = "Sets the target object for the hover.\n\n This function will cause the hover to be centered on the target object.\n\n @param target: The object to center the hover onto.\n @type target: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_3target_set(PyObject *__pyx_v_self, PyObject *__pyx_v_target) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("target_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_target), __pyx_ptype_4evas_6c_evas_Object, 1, "target", 0))) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_2target_set(((struct PyElementaryHover *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_target));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":84
+ * self._set_obj(<Evas_Object*>obj)
+ *
+ * def target_set(self, evasObject target): # <<<<<<<<<<<<<<
+ * """Sets the target object for the hover.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_2target_set(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_target) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("target_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":93
+ *
+ * """
+ * elm_hover_target_set(self.obj, target.obj) # <<<<<<<<<<<<<<
+ *
+ * def target_get(self):
+ */
+ elm_hover_target_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_target->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_5target_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_4target_get[] = "Gets the target object for the hover.\n\n @see: L{target_set()}\n\n @return: The target object for the hover.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_5target_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("target_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_4target_get(((struct PyElementaryHover *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":95
+ * elm_hover_target_set(self.obj, target.obj)
+ *
+ * def target_get(self): # <<<<<<<<<<<<<<
+ * """Gets the target object for the hover.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_4target_get(struct PyElementaryHover *__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("target_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":104
+ *
+ * """
+ * return Object_from_instance(elm_hover_target_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property target:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_hover_target_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.target_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_6target_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_6target_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_6target___get__(((struct PyElementaryHover *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":114
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_hover_target_get(self.obj))
+ * def __set__(self, evasObject target):
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_6target___get__(struct PyElementaryHover *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":115
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_hover_target_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, evasObject target):
+ * elm_hover_target_set(self.obj, target.obj)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_hover_target_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.target.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Hover_6target_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_target); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Hover_6target_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_target) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_target), __pyx_ptype_4evas_6c_evas_Object, 1, "target", 0))) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_6target_2__set__(((struct PyElementaryHover *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_target));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":116
+ * def __get__(self):
+ * return Object_from_instance(elm_hover_target_get(self.obj))
+ * def __set__(self, evasObject target): # <<<<<<<<<<<<<<
+ * elm_hover_target_set(self.obj, target.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Hover_6target_2__set__(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_target) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":117
+ * return Object_from_instance(elm_hover_target_get(self.obj))
+ * def __set__(self, evasObject target):
+ * elm_hover_target_set(self.obj, target.obj) # <<<<<<<<<<<<<<
+ *
+ * def parent_set(self, evasObject parent):
+ */
+ elm_hover_target_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_target->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_7parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_6parent_set[] = "Sets the parent object for the hover.\n\n This function will cause the hover to take up the entire space that the\n parent object fills.\n\n @param parent: The object to locate the hover over.\n @type parent: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_7parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_6parent_set(((struct PyElementaryHover *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":119
+ * elm_hover_target_set(self.obj, target.obj)
+ *
+ * def parent_set(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Sets the parent object for the hover.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_6parent_set(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":129
+ *
+ * """
+ * elm_hover_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def parent_get(self):
+ */
+ elm_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_9parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_8parent_get[] = "Gets the parent object for the hover.\n\n @see: L{parent_set()}\n\n @return: The parent object to locate the hover over.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_9parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_8parent_get(((struct PyElementaryHover *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":131
+ * elm_hover_parent_set(self.obj, parent.obj)
+ *
+ * def parent_get(self): # <<<<<<<<<<<<<<
+ * """Gets the parent object for the hover.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_8parent_get(struct PyElementaryHover *__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("parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":140
+ *
+ * """
+ * return Object_from_instance(elm_hover_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Hover_6parent_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Hover_6parent_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_6parent___set__(((struct PyElementaryHover *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":151
+ *
+ * """
+ * def __set__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * elm_hover_parent_set(self.obj, parent.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Hover_6parent___set__(struct PyElementaryHover *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":152
+ * """
+ * def __set__(self, evasObject parent):
+ * elm_hover_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ elm_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_6parent_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_6parent_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_6parent_2__get__(((struct PyElementaryHover *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":154
+ * elm_hover_parent_set(self.obj, parent.obj)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_hover_parent_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_6parent_2__get__(struct PyElementaryHover *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":155
+ *
+ * def __get__(self):
+ * return Object_from_instance(elm_hover_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def best_content_location_get(self, axis):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_11best_content_location_get(PyObject *__pyx_v_self, PyObject *__pyx_v_axis); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_10best_content_location_get[] = "best_content_location_get(axis)\n\n Returns the best swallow location for content in the hover.\n\n Best is defined here as the location at which there is the most\n available space.\n\n C{pref_axis} may be one of\n - C{ELM_HOVER_AXIS_NONE} -- no preferred orientation\n - C{ELM_HOVER_AXIS_HORIZONTAL} -- horizontal\n - C{ELM_HOVER_AXIS_VERTICAL} -- vertical\n - C{ELM_HOVER_AXIS_BOTH} -- both\n\n If ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position will\n necessarily be along the horizontal axis(\"left\" or \"right\"). If\n ELM_HOVER_AXIS_VERTICAL is chosen the returned position will\n necessarily be along the vertical axis(\"top\" or \"bottom\"). Choosing\n ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and\n the returned position may be in either axis.\n\n @see: L{Object.part_content_set()}\n\n @param axis: The preferred orientation axis for the hover\n object to use\n @type axis: Elm_Hover_Axis\n\n @return: The edje location to place content into the hover or C{None},\n on errors.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_11best_content_location_get(PyObject *__pyx_v_self, PyObject *__pyx_v_axis) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("best_content_location_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_10best_content_location_get(((struct PyElementaryHover *)__pyx_v_self), ((PyObject *)__pyx_v_axis));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":157
+ * return Object_from_instance(elm_hover_parent_get(self.obj))
+ *
+ * def best_content_location_get(self, axis): # <<<<<<<<<<<<<<
+ * """best_content_location_get(axis)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_10best_content_location_get(struct PyElementaryHover *__pyx_v_self, PyObject *__pyx_v_axis) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Hover_Axis __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("best_content_location_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":189
+ *
+ * """
+ * return _ctouni(elm_hover_best_content_location_get(self.obj, axis)) # <<<<<<<<<<<<<<
+ *
+ * def dismiss(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Hover_Axis)PyInt_AsLong(__pyx_v_axis)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_hover_best_content_location_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Hover.best_content_location_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_13dismiss(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_12dismiss[] = "dismiss()\n\n Dismiss a hover object\n\n Use this function to simulate clicking outside the hover to dismiss\n it. In this way, the hover will be hidden and the \"clicked\" signal\n will be emitted.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_13dismiss(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("dismiss (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_12dismiss(((struct PyElementaryHover *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":191
+ * return _ctouni(elm_hover_best_content_location_get(self.obj, axis))
+ *
+ * def dismiss(self): # <<<<<<<<<<<<<<
+ * """dismiss()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_12dismiss(struct PyElementaryHover *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("dismiss", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":201
+ *
+ * """
+ * elm_hover_dismiss(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ elm_hover_dismiss(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_15callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_14callback_clicked_add[] = "the user clicked the empty space in the hover to dismiss";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_15callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[25]; __pyx_lineno = 203; __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[25]; __pyx_lineno = 203; __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("elementary.c_elementary.Hover.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_14callback_clicked_add(((struct PyElementaryHover *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":203
+ * elm_hover_dismiss(self.obj)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the empty space in the hover to dismiss"""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_14callback_clicked_add(struct PyElementaryHover *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":205
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the empty space in the hover to dismiss"""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 205; __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[25]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Hover.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_17callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_17callback_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_10elementary_12c_elementary_5Hover_16callback_clicked_del(((struct PyElementaryHover *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":207
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_16callback_clicked_del(struct PyElementaryHover *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":208
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_smart_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 208; __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[25]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Hover.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_19callback_smart_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Hover_18callback_smart_changed_add[] = "a content object placed under the \"smart\" policy was replaced to a\n new slot direction.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_19callback_smart_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_smart_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_smart_changed_add") < 0)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 210; __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_smart_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[25]; __pyx_lineno = 210; __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("elementary.c_elementary.Hover.callback_smart_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_18callback_smart_changed_add(((struct PyElementaryHover *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":210
+ * self._callback_del("clicked", func)
+ *
+ * def callback_smart_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """a content object placed under the "smart" policy was replaced to a
+ * new slot direction."""
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_18callback_smart_changed_add(struct PyElementaryHover *__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_smart_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":213
+ * """a content object placed under the "smart" policy was replaced to a
+ * new slot direction."""
+ * self._callback_add("smart,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_smart_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 213; __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[25]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_74));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_74));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_74));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Hover.callback_smart_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_21callback_smart_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Hover_21callback_smart_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_smart_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Hover_20callback_smart_changed_del(((struct PyElementaryHover *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":215
+ * self._callback_add("smart,changed", func, *args, **kwargs)
+ *
+ * def callback_smart_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("smart,changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Hover_20callback_smart_changed_del(struct PyElementaryHover *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_smart_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":216
+ *
+ * def callback_smart_changed_del(self, func):
+ * self._callback_del("smart,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("hover", Hover)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 216; __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[25]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_74));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_74));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_74));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Hover.callback_smart_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_71Entry_markup_to_utf8(PyObject *__pyx_self, PyObject *__pyx_v_str); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_71Entry_markup_to_utf8 = {__Pyx_NAMESTR("Entry_markup_to_utf8"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_71Entry_markup_to_utf8, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_71Entry_markup_to_utf8(PyObject *__pyx_self, PyObject *__pyx_v_str) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("Entry_markup_to_utf8 (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_70Entry_markup_to_utf8(__pyx_self, ((PyObject *)__pyx_v_str));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":19
+ * #
+ *
+ * def Entry_markup_to_utf8(str): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr string
+ * string = elm_entry_markup_to_utf8(str)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_70Entry_markup_to_utf8(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_str) {
+ const char * __pyx_v_string;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("Entry_markup_to_utf8", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":21
+ * def Entry_markup_to_utf8(str):
+ * cdef const_char_ptr string
+ * string = elm_entry_markup_to_utf8(str) # <<<<<<<<<<<<<<
+ * if string == NULL:
+ * return None
+ */
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_str); if (unlikely((__pyx_t_1 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_string = elm_entry_markup_to_utf8(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":22
+ * cdef const_char_ptr string
+ * string = elm_entry_markup_to_utf8(str)
+ * if string == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * return string
+ */
+ __pyx_t_2 = (__pyx_v_string == NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":23
+ * string = elm_entry_markup_to_utf8(str)
+ * if string == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * return string
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":24
+ * if string == NULL:
+ * return None
+ * return string # <<<<<<<<<<<<<<
+ *
+ * def Entry_utf8_to_markup(str):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_3 = PyBytes_FromString(__pyx_v_string); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_r = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry_markup_to_utf8", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_73Entry_utf8_to_markup(PyObject *__pyx_self, PyObject *__pyx_v_str); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_73Entry_utf8_to_markup = {__Pyx_NAMESTR("Entry_utf8_to_markup"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_73Entry_utf8_to_markup, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_73Entry_utf8_to_markup(PyObject *__pyx_self, PyObject *__pyx_v_str) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("Entry_utf8_to_markup (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_72Entry_utf8_to_markup(__pyx_self, ((PyObject *)__pyx_v_str));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":26
+ * return string
+ *
+ * def Entry_utf8_to_markup(str): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr string
+ * string = elm_entry_utf8_to_markup(str)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_72Entry_utf8_to_markup(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_str) {
+ const char * __pyx_v_string;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ const char * __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("Entry_utf8_to_markup", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":28
+ * def Entry_utf8_to_markup(str):
+ * cdef const_char_ptr string
+ * string = elm_entry_utf8_to_markup(str) # <<<<<<<<<<<<<<
+ * if string == NULL:
+ * return None
+ */
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_str); if (unlikely((__pyx_t_1 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_string = elm_entry_utf8_to_markup(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":29
+ * cdef const_char_ptr string
+ * string = elm_entry_utf8_to_markup(str)
+ * if string == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * return string
+ */
+ __pyx_t_2 = (__pyx_v_string == NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":30
+ * string = elm_entry_utf8_to_markup(str)
+ * if string == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * return string
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":31
+ * if string == NULL:
+ * return None
+ * return string # <<<<<<<<<<<<<<
+ *
+ * class EntryAnchorInfo:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_3 = PyBytes_FromString(__pyx_v_string); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_r = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry_utf8_to_markup", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_15EntryAnchorInfo_1__init__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_15EntryAnchorInfo_1__init__ = {__Pyx_NAMESTR("__init__"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15EntryAnchorInfo_1__init__, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_15EntryAnchorInfo_1__init__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15EntryAnchorInfo___init__(__pyx_self, ((PyObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":34
+ *
+ * class EntryAnchorInfo:
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * self.name = None
+ * self.button = 0
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_15EntryAnchorInfo___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":35
+ * class EntryAnchorInfo:
+ * def __init__(self):
+ * self.name = None # <<<<<<<<<<<<<<
+ * self.button = 0
+ * self.x = 0
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__name, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":36
+ * def __init__(self):
+ * self.name = None
+ * self.button = 0 # <<<<<<<<<<<<<<
+ * self.x = 0
+ * self.y = 0
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__button, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":37
+ * self.name = None
+ * self.button = 0
+ * self.x = 0 # <<<<<<<<<<<<<<
+ * self.y = 0
+ * self.w = 0
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__x, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":38
+ * self.button = 0
+ * self.x = 0
+ * self.y = 0 # <<<<<<<<<<<<<<
+ * self.w = 0
+ * self.h = 0
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__y, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":39
+ * self.x = 0
+ * self.y = 0
+ * self.w = 0 # <<<<<<<<<<<<<<
+ * self.h = 0
+ *
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__w, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":40
+ * self.y = 0
+ * self.w = 0
+ * self.h = 0 # <<<<<<<<<<<<<<
+ *
+ * class EntryAnchorHoverInfo:
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__h, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.EntryAnchorInfo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_20EntryAnchorHoverInfo_1__init__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_20EntryAnchorHoverInfo_1__init__ = {__Pyx_NAMESTR("__init__"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20EntryAnchorHoverInfo_1__init__, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_20EntryAnchorHoverInfo_1__init__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20EntryAnchorHoverInfo___init__(__pyx_self, ((PyObject *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":43
+ *
+ * class EntryAnchorHoverInfo:
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * self.anchor_info = None
+ * self.hover = None
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_20EntryAnchorHoverInfo___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__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("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":44
+ * class EntryAnchorHoverInfo:
+ * def __init__(self):
+ * self.anchor_info = None # <<<<<<<<<<<<<<
+ * self.hover = None
+ * self.hover_parent = (0, 0, 0, 0)
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__anchor_info, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":45
+ * def __init__(self):
+ * self.anchor_info = None
+ * self.hover = None # <<<<<<<<<<<<<<
+ * self.hover_parent = (0, 0, 0, 0)
+ * self.hover_left = False
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__hover, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":46
+ * self.anchor_info = None
+ * self.hover = None
+ * self.hover_parent = (0, 0, 0, 0) # <<<<<<<<<<<<<<
+ * self.hover_left = False
+ * self.hover_right = False
+ */
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__hover_parent, ((PyObject *)__pyx_k_tuple_75)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":47
+ * self.hover = None
+ * self.hover_parent = (0, 0, 0, 0)
+ * self.hover_left = False # <<<<<<<<<<<<<<
+ * self.hover_right = False
+ * self.hover_top = False
+ */
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__hover_left, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":48
+ * self.hover_parent = (0, 0, 0, 0)
+ * self.hover_left = False
+ * self.hover_right = False # <<<<<<<<<<<<<<
+ * self.hover_top = False
+ * self.hover_bottom = False
+ */
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__hover_right, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":49
+ * self.hover_left = False
+ * self.hover_right = False
+ * self.hover_top = False # <<<<<<<<<<<<<<
+ * self.hover_bottom = False
+ *
+ */
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__hover_top, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":50
+ * self.hover_right = False
+ * self.hover_top = False
+ * self.hover_bottom = False # <<<<<<<<<<<<<<
+ *
+ * def _entryanchor_conv(long addr):
+ */
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ if (PyObject_SetAttr(__pyx_v_self, __pyx_n_s__hover_bottom, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.EntryAnchorHoverInfo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_75_entryanchor_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_75_entryanchor_conv = {__Pyx_NAMESTR("_entryanchor_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_75_entryanchor_conv, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_75_entryanchor_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_entryanchor_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._entryanchor_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_74_entryanchor_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":52
+ * self.hover_bottom = False
+ *
+ * def _entryanchor_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr
+ * eai = EntryAnchorInfo()
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_74_entryanchor_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr) {
+ Elm_Entry_Anchor_Info *__pyx_v_ei;
+ PyObject *__pyx_v_eai = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_entryanchor_conv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":53
+ *
+ * def _entryanchor_conv(long addr):
+ * cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr # <<<<<<<<<<<<<<
+ * eai = EntryAnchorInfo()
+ * eai.name = ei.name
+ */
+ __pyx_v_ei = ((Elm_Entry_Anchor_Info *)__pyx_v_addr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":54
+ * def _entryanchor_conv(long addr):
+ * cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr
+ * eai = EntryAnchorInfo() # <<<<<<<<<<<<<<
+ * eai.name = ei.name
+ * eai.button = ei.button
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__EntryAnchorInfo); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_eai = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":55
+ * cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr
+ * eai = EntryAnchorInfo()
+ * eai.name = ei.name # <<<<<<<<<<<<<<
+ * eai.button = ei.button
+ * eai.x = ei.x
+ */
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_ei->name); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ if (PyObject_SetAttr(__pyx_v_eai, __pyx_n_s__name, ((PyObject *)__pyx_t_2)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":56
+ * eai = EntryAnchorInfo()
+ * eai.name = ei.name
+ * eai.button = ei.button # <<<<<<<<<<<<<<
+ * eai.x = ei.x
+ * eai.y = ei.y
+ */
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_ei->button); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_v_eai, __pyx_n_s__button, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":57
+ * eai.name = ei.name
+ * eai.button = ei.button
+ * eai.x = ei.x # <<<<<<<<<<<<<<
+ * eai.y = ei.y
+ * eai.w = ei.w
+ */
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_ei->x); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_v_eai, __pyx_n_s__x, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":58
+ * eai.button = ei.button
+ * eai.x = ei.x
+ * eai.y = ei.y # <<<<<<<<<<<<<<
+ * eai.w = ei.w
+ * eai.h = ei.h
+ */
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_ei->y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_v_eai, __pyx_n_s__y, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":59
+ * eai.x = ei.x
+ * eai.y = ei.y
+ * eai.w = ei.w # <<<<<<<<<<<<<<
+ * eai.h = ei.h
+ * return eai
+ */
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_ei->w); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_v_eai, __pyx_n_s__w, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":60
+ * eai.y = ei.y
+ * eai.w = ei.w
+ * eai.h = ei.h # <<<<<<<<<<<<<<
+ * return eai
+ *
+ */
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_ei->h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_v_eai, __pyx_n_s__h, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":61
+ * eai.w = ei.w
+ * eai.h = ei.h
+ * return eai # <<<<<<<<<<<<<<
+ *
+ * def _entryanchorhover_conv(long addr):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_eai);
+ __pyx_r = __pyx_v_eai;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary._entryanchor_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_eai);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_77_entryanchorhover_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+static PyMethodDef __pyx_mdef_10elementary_12c_elementary_77_entryanchorhover_conv = {__Pyx_NAMESTR("_entryanchorhover_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_77_entryanchorhover_conv, METH_O, __Pyx_DOCSTR(0)};
+static PyObject *__pyx_pw_10elementary_12c_elementary_77_entryanchorhover_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_entryanchorhover_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._entryanchorhover_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_76_entryanchorhover_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":63
+ * return eai
+ *
+ * def _entryanchorhover_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr
+ * eahi = EntryAnchorHoverInfo()
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_76_entryanchorhover_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr) {
+ Elm_Entry_Anchor_Hover_Info *__pyx_v_ehi;
+ PyObject *__pyx_v_eahi = NULL;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_entryanchorhover_conv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":64
+ *
+ * def _entryanchorhover_conv(long addr):
+ * cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr # <<<<<<<<<<<<<<
+ * eahi = EntryAnchorHoverInfo()
+ * eahi.anchor_info = <object>ehi.anchor_info
+ */
+ __pyx_v_ehi = ((Elm_Entry_Anchor_Hover_Info *)__pyx_v_addr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":65
+ * def _entryanchorhover_conv(long addr):
+ * cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr
+ * eahi = EntryAnchorHoverInfo() # <<<<<<<<<<<<<<
+ * eahi.anchor_info = <object>ehi.anchor_info
+ * eahi.hover = Hover(None, <object>ehi.hover)
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s_76); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_eahi = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":66
+ * cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr
+ * eahi = EntryAnchorHoverInfo()
+ * eahi.anchor_info = <object>ehi.anchor_info # <<<<<<<<<<<<<<
+ * eahi.hover = Hover(None, <object>ehi.hover)
+ * eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y,
+ */
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__anchor_info, ((PyObject *)__pyx_v_ehi->anchor_info)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":67
+ * eahi = EntryAnchorHoverInfo()
+ * eahi.anchor_info = <object>ehi.anchor_info
+ * eahi.hover = Hover(None, <object>ehi.hover) # <<<<<<<<<<<<<<
+ * eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y,
+ * ehi.hover_parent.w, ehi.hover_parent.h)
+ */
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ehi->hover));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_ehi->hover));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_ehi->hover));
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Hover)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__hover, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":68
+ * eahi.anchor_info = <object>ehi.anchor_info
+ * eahi.hover = Hover(None, <object>ehi.hover)
+ * eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y, # <<<<<<<<<<<<<<
+ * ehi.hover_parent.w, ehi.hover_parent.h)
+ * eahi.hover_left = ehi.hover_left
+ */
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_ehi->hover_parent.x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_ehi->hover_parent.y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":69
+ * eahi.hover = Hover(None, <object>ehi.hover)
+ * eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y,
+ * ehi.hover_parent.w, ehi.hover_parent.h) # <<<<<<<<<<<<<<
+ * eahi.hover_left = ehi.hover_left
+ * eahi.hover_right = ehi.hover_right
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_ehi->hover_parent.w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_ehi->hover_parent.h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":68
+ * eahi.anchor_info = <object>ehi.anchor_info
+ * eahi.hover = Hover(None, <object>ehi.hover)
+ * eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y, # <<<<<<<<<<<<<<
+ * ehi.hover_parent.w, ehi.hover_parent.h)
+ * eahi.hover_left = ehi.hover_left
+ */
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__hover_parent, ((PyObject *)__pyx_t_5)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":70
+ * eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y,
+ * ehi.hover_parent.w, ehi.hover_parent.h)
+ * eahi.hover_left = ehi.hover_left # <<<<<<<<<<<<<<
+ * eahi.hover_right = ehi.hover_right
+ * eahi.hover_top = ehi.hover_top
+ */
+ __pyx_t_5 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_ehi->hover_left); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__hover_left, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":71
+ * ehi.hover_parent.w, ehi.hover_parent.h)
+ * eahi.hover_left = ehi.hover_left
+ * eahi.hover_right = ehi.hover_right # <<<<<<<<<<<<<<
+ * eahi.hover_top = ehi.hover_top
+ * eahi.hover_bottom = ehi.hover_bottom
+ */
+ __pyx_t_5 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_ehi->hover_right); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__hover_right, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":72
+ * eahi.hover_left = ehi.hover_left
+ * eahi.hover_right = ehi.hover_right
+ * eahi.hover_top = ehi.hover_top # <<<<<<<<<<<<<<
+ * eahi.hover_bottom = ehi.hover_bottom
+ * return eahi
+ */
+ __pyx_t_5 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_ehi->hover_top); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__hover_top, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":73
+ * eahi.hover_right = ehi.hover_right
+ * eahi.hover_top = ehi.hover_top
+ * eahi.hover_bottom = ehi.hover_bottom # <<<<<<<<<<<<<<
+ * return eahi
+ *
+ */
+ __pyx_t_5 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_ehi->hover_bottom); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_v_eahi, __pyx_n_s__hover_bottom, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":74
+ * eahi.hover_top = ehi.hover_top
+ * eahi.hover_bottom = ehi.hover_bottom
+ * return eahi # <<<<<<<<<<<<<<
+ *
+ * cdef public class Entry(Object) [object PyElementaryEntry, type PyElementaryEntry_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_eahi);
+ __pyx_r = __pyx_v_eahi;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary._entryanchorhover_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_eahi);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry___init__[] = "This adds an entry to @p parent object.\n\n By default, entries are:\n - not scrolled\n - multi-line\n - word wrapped\n - autosave is enabled\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: The new object or None if it cannot be created\n @rtype: L{Object}\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_5Entry___init__;
+static int __pyx_pw_10elementary_12c_elementary_5Entry_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 291; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 291; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 291; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry___init__(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":291
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """This adds an entry to @p parent object.
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry___init__(struct PyElementaryEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":306
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_entry_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; __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[0]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":307
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_entry_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def single_line_set(self, single_line):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Entry *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_entry_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Entry.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_3single_line_set(PyObject *__pyx_v_self, PyObject *__pyx_v_single_line); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_2single_line_set[] = "Sets the entry to single line mode.\n\n In single line mode, entries don't ever wrap when the text reaches the\n edge, and instead they keep growing horizontally. Pressing the C{Enter}\n key will generate an C{\"activate\"} event instead of adding a new line.\n\n When C{single_line} is C{False}, line wrapping takes effect again\n and pressing enter will break the text into a different line\n without generating any events.\n\n @param single_line: If true, the text in the entry will be on a single\n line.\n @type single_line: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_3single_line_set(PyObject *__pyx_v_self, PyObject *__pyx_v_single_line) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("single_line_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_2single_line_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_single_line));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":309
+ * self._set_obj(elm_entry_add(parent.obj))
+ *
+ * def single_line_set(self, single_line): # <<<<<<<<<<<<<<
+ * """Sets the entry to single line mode.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_2single_line_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_single_line) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("single_line_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":325
+ *
+ * """
+ * elm_entry_single_line_set(self.obj, single_line) # <<<<<<<<<<<<<<
+ *
+ * def single_line_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_single_line); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_single_line_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.single_line_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_5single_line_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_4single_line_get[] = "Gets whether the entry is set to be single line.\n\n @see: L{single_line_set()}\n\n @return: If true, the text in the entry is set to display on a single\n line.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_5single_line_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("single_line_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_4single_line_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":327
+ * elm_entry_single_line_set(self.obj, single_line)
+ *
+ * def single_line_get(self): # <<<<<<<<<<<<<<
+ * """Gets whether the entry is set to be single line.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_4single_line_get(struct PyElementaryEntry *__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("single_line_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":337
+ *
+ * """
+ * return bool(elm_entry_single_line_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property single_line:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_single_line_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.single_line_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_11single_line_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_11single_line_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_11single_line___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":353
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_entry_single_line_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_11single_line___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":354
+ * """
+ * def __get__(self):
+ * return bool(elm_entry_single_line_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, single_line):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_single_line_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.single_line.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_11single_line_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_single_line); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_11single_line_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_single_line) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_11single_line_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_single_line));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":356
+ * return bool(elm_entry_single_line_get(self.obj))
+ *
+ * def __set__(self, single_line): # <<<<<<<<<<<<<<
+ * elm_entry_single_line_set(self.obj, single_line)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_11single_line_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_single_line) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":357
+ *
+ * def __set__(self, single_line):
+ * elm_entry_single_line_set(self.obj, single_line) # <<<<<<<<<<<<<<
+ *
+ * def password_set(self, password):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_single_line); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_single_line_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.single_line.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_7password_set(PyObject *__pyx_v_self, PyObject *__pyx_v_password); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_6password_set[] = "Sets the entry to password mode.\n\n In password mode, entries are implicitly single line and the display of\n any text in them is replaced with asterisks (*).\n\n @param password: If true, password mode is enabled.\n @type password: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_7password_set(PyObject *__pyx_v_self, PyObject *__pyx_v_password) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("password_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_6password_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_password));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":359
+ * elm_entry_single_line_set(self.obj, single_line)
+ *
+ * def password_set(self, password): # <<<<<<<<<<<<<<
+ * """Sets the entry to password mode.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_6password_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_password) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("password_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":369
+ *
+ * """
+ * elm_entry_password_set(self.obj, password) # <<<<<<<<<<<<<<
+ *
+ * def password_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_password); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_password_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.password_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9password_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_8password_get[] = "Gets whether the entry is set to password mode.\n\n @see: L{password_set()}\n\n @return: If true, the entry is set to display all characters\n as asterisks (*).\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9password_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("password_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8password_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":371
+ * elm_entry_password_set(self.obj, password)
+ *
+ * def password_get(self): # <<<<<<<<<<<<<<
+ * """Gets whether the entry is set to password mode.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8password_get(struct PyElementaryEntry *__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("password_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":381
+ *
+ * """
+ * return bool(elm_entry_password_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property password:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_password_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.password_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8password_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8password_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8password___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":392
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_entry_password_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8password___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":393
+ * """
+ * def __get__(self):
+ * return bool(elm_entry_password_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, password):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_password_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.password.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8password_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_password); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8password_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_password) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8password_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_password));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":395
+ * return bool(elm_entry_password_get(self.obj))
+ *
+ * def __set__(self, password): # <<<<<<<<<<<<<<
+ * elm_entry_password_set(self.obj, password)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8password_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_password) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":396
+ *
+ * def __set__(self, password):
+ * elm_entry_password_set(self.obj, password) # <<<<<<<<<<<<<<
+ *
+ * def entry_set(self, entry):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_password); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_password_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.password.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_11entry_set(PyObject *__pyx_v_self, PyObject *__pyx_v_entry); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_10entry_set[] = "This sets the text displayed within the entry to C{entry}.\n\n @note: Using this function bypasses text filters\n\n @param entry: The text to be displayed\n @type entry: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_11entry_set(PyObject *__pyx_v_self, PyObject *__pyx_v_entry) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_10entry_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_entry));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":398
+ * elm_entry_password_set(self.obj, password)
+ *
+ * def entry_set(self, entry): # <<<<<<<<<<<<<<
+ * """This sets the text displayed within the entry to C{entry}.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_10entry_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_entry) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":407
+ *
+ * """
+ * elm_entry_entry_set(self.obj, _cfruni(entry)) # <<<<<<<<<<<<<<
+ *
+ * def entry_get(self):
+ */
+ elm_entry_entry_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_entry));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_13entry_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_12entry_get[] = "This returns the text currently shown in object C{entry}.\n\n @see: L{entry_set()}.\n\n @return: The currently displayed text or None on failure\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_13entry_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_12entry_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":409
+ * elm_entry_entry_set(self.obj, _cfruni(entry))
+ *
+ * def entry_get(self): # <<<<<<<<<<<<<<
+ * """This returns the text currently shown in object C{entry}.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_12entry_get(struct PyElementaryEntry *__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("entry_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":418
+ *
+ * """
+ * return _ctouni(elm_entry_entry_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property entry:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_entry_entry_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.entry_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_5entry_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_5entry_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_5entry___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":428
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_entry_entry_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_5entry___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":429
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_entry_entry_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, entry):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_entry_entry_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.entry.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_5entry_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_entry); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_5entry_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_entry) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_5entry_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_entry));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":431
+ * return _ctouni(elm_entry_entry_get(self.obj))
+ *
+ * def __set__(self, entry): # <<<<<<<<<<<<<<
+ * elm_entry_entry_set(self.obj, _cfruni(entry))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_5entry_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_entry) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":432
+ *
+ * def __set__(self, entry):
+ * elm_entry_entry_set(self.obj, _cfruni(entry)) # <<<<<<<<<<<<<<
+ *
+ * def entry_append(self, text):
+ */
+ elm_entry_entry_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_entry));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_15entry_append(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_14entry_append[] = "Appends C{entry} to the text of the entry.\n\n Adds the text in C{entry} to the end of any text already present in the\n widget.\n\n The appended text is subject to any filters set for the widget.\n\n @see: L{markup_filter_append()}\n\n @param entry: The text to be displayed\n @type entry: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_15entry_append(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_append (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_14entry_append(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":434
+ * elm_entry_entry_set(self.obj, _cfruni(entry))
+ *
+ * def entry_append(self, text): # <<<<<<<<<<<<<<
+ * """Appends C{entry} to the text of the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_14entry_append(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":448
+ *
+ * """
+ * elm_entry_entry_append(self.obj, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def is_empty(self):
+ */
+ elm_entry_entry_append(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_17is_empty(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_16is_empty[] = "Gets whether the entry is empty.\n\n Empty means no text at all. If there are any markup tags, like an item\n tag for which no provider finds anything, and no text is displayed, this\n function still returns False.\n\n @return: True if the entry is empty, False otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_17is_empty(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_empty (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_16is_empty(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":450
+ * elm_entry_entry_append(self.obj, _cfruni(text))
+ *
+ * def is_empty(self): # <<<<<<<<<<<<<<
+ * """Gets whether the entry is empty.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_16is_empty(struct PyElementaryEntry *__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("is_empty", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":461
+ *
+ * """
+ * return elm_entry_is_empty(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def selection_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_is_empty(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.is_empty", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_19selection_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_18selection_get[] = "Gets any selected text within the entry.\n\n If there's any selected text in the entry, this function returns it as\n a string in markup format. None is returned if no selection exists or\n if an error occurred.\n\n The returned value points to an internal string and should not be freed\n or modified in any way. If the C{entry} object is deleted or its\n contents are changed, the returned pointer should be considered invalid.\n\n @return: The selected text within the entry or None on failure\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_19selection_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_18selection_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":463
+ * return elm_entry_is_empty(self.obj)
+ *
+ * def selection_get(self): # <<<<<<<<<<<<<<
+ * """Gets any selected text within the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_18selection_get(struct PyElementaryEntry *__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("selection_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":478
+ *
+ * """
+ * return _ctouni(elm_entry_selection_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selection:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_entry_selection_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.selection_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9selection_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9selection_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_9selection___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":494
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_entry_selection_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_9selection___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":495
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_entry_selection_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def textblock_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_entry_selection_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.selection.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_21textblock_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_20textblock_get[] = "Returns the actual textblock object of the entry.\n\n This function exposes the internal textblock object that actually\n contains and draws the text. This should be used for low-level\n manipulations that are otherwise not possible.\n\n Changing the textblock directly from here will not notify edje/elm to\n recalculate the textblock size automatically, so any modifications\n done to the textblock returned by this function should be followed by\n a call to L{calc_force()}.\n\n The return value is marked as const as an additional warning.\n One should not use the returned object with any of the generic evas\n functions (geometry_get/resize/move and etc), but only with the textblock\n functions; The former will either not work at all, or break the correct\n functionality.\n\n IMPORTANT: Many functions may change (i.e delete and create a new one)\n the internal textblock object. Do NOT cache the returned object, and try\n not to mix calls on this object with regular elm_entry calls (which may\n change the internal textblock object). This applies to all cursors\n returned from textblock calls, and all the other derivative values.\n\n @return: The textblock object.\n @rtype: Evas_Object\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_21textblock_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("textblock_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_20textblock_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":497
+ * return _ctouni(elm_entry_selection_get(self.obj))
+ *
+ * def textblock_get(self): # <<<<<<<<<<<<<<
+ * """Returns the actual textblock object of the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_20textblock_get(struct PyElementaryEntry *__pyx_v_self) {
+ Evas_Object *__pyx_v_o;
+ 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("textblock_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":526
+ * """
+ * cdef Evas_Object *o
+ * o = elm_entry_textblock_get(self.obj) # <<<<<<<<<<<<<<
+ * return Object_from_instance(o)
+ *
+ */
+ __pyx_v_o = elm_entry_textblock_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":527
+ * cdef Evas_Object *o
+ * o = elm_entry_textblock_get(self.obj)
+ * return Object_from_instance(o) # <<<<<<<<<<<<<<
+ *
+ * property textblock:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_o)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.textblock_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9textblock_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9textblock_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_9textblock___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":556
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *o
+ * o = elm_entry_textblock_get(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_9textblock___get__(struct PyElementaryEntry *__pyx_v_self) {
+ Evas_Object *__pyx_v_o;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":558
+ * def __get__(self):
+ * cdef Evas_Object *o
+ * o = elm_entry_textblock_get(self.obj) # <<<<<<<<<<<<<<
+ * return Object_from_instance(o)
+ *
+ */
+ __pyx_v_o = elm_entry_textblock_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":559
+ * cdef Evas_Object *o
+ * o = elm_entry_textblock_get(self.obj)
+ * return Object_from_instance(o) # <<<<<<<<<<<<<<
+ *
+ * def calc_force(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_o)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 559; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.textblock.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_23calc_force(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_22calc_force[] = "Forces calculation of the entry size and text layouting.\n\n This should be used after modifying the textblock object directly.\n\n @see: L{textblock_get()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_23calc_force(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("calc_force (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_22calc_force(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":561
+ * return Object_from_instance(o)
+ *
+ * def calc_force(self): # <<<<<<<<<<<<<<
+ * """Forces calculation of the entry size and text layouting.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_22calc_force(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("calc_force", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":569
+ *
+ * """
+ * elm_entry_calc_force(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def entry_insert(self, entry):
+ */
+ elm_entry_calc_force(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_25entry_insert(PyObject *__pyx_v_self, PyObject *__pyx_v_entry); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_24entry_insert[] = "Inserts the given text into the entry at the current cursor position.\n\n This inserts text at the cursor position as if it was typed\n by the user (note that this also allows markup which a user\n can't just \"type\" as it would be converted to escaped text, so this\n call can be used to insert things like emoticon items or bold push/pop\n tags, other font and color change tags etc.)\n\n If any selection exists, it will be replaced by the inserted text.\n\n The inserted text is subject to any filters set for the widget.\n\n @see: L{markup_filter_append()}\n\n @param entry: The text to insert\n @type entry: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_25entry_insert(PyObject *__pyx_v_self, PyObject *__pyx_v_entry) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_insert (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_24entry_insert(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_entry));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":571
+ * elm_entry_calc_force(self.obj)
+ *
+ * def entry_insert(self, entry): # <<<<<<<<<<<<<<
+ * """Inserts the given text into the entry at the current cursor position.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_24entry_insert(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_entry) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_insert", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":590
+ *
+ * """
+ * elm_entry_entry_insert(self.obj, _cfruni(entry)) # <<<<<<<<<<<<<<
+ *
+ * def line_wrap_set(self, wrap):
+ */
+ elm_entry_entry_insert(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_entry));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_27line_wrap_set(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_26line_wrap_set[] = "Set the line wrap type to use on multi-line entries.\n\n Sets the wrap type used by the entry to any of the specified in\n Elm_Wrap_Type. This tells how the text will be implicitly cut into a new\n line (without inserting a line break or paragraph separator) when it\n reaches the far edge of the widget.\n\n Note that this only makes sense for multi-line entries. A widget set\n to be single line will never wrap.\n\n @param wrap: The wrap mode to use. See Elm_Wrap_Type for details on them\n @type wrap: Elm_Wrap_Type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_27line_wrap_set(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("line_wrap_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_26line_wrap_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":592
+ * elm_entry_entry_insert(self.obj, _cfruni(entry))
+ *
+ * def line_wrap_set(self, wrap): # <<<<<<<<<<<<<<
+ * """Set the line wrap type to use on multi-line entries.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_26line_wrap_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Wrap_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("line_wrap_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":607
+ *
+ * """
+ * elm_entry_line_wrap_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ *
+ * def line_wrap_get(self):
+ */
+ __pyx_t_1 = ((Elm_Wrap_Type)PyInt_AsLong(__pyx_v_wrap)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_line_wrap_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.line_wrap_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_29line_wrap_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_28line_wrap_get[] = "Gets the wrap mode the entry was set to use.\n\n @see: L{line_wrap_set()}\n\n @return: Wrap type\n @rtype: Elm_Wrap_Type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_29line_wrap_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("line_wrap_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_28line_wrap_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":609
+ * elm_entry_line_wrap_set(self.obj, wrap)
+ *
+ * def line_wrap_get(self): # <<<<<<<<<<<<<<
+ * """Gets the wrap mode the entry was set to use.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_28line_wrap_get(struct PyElementaryEntry *__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("line_wrap_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":618
+ *
+ * """
+ * return elm_entry_line_wrap_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property line_wrap:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_line_wrap_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.line_wrap_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9line_wrap_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_9line_wrap_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_9line_wrap___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":633
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_line_wrap_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_9line_wrap___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":634
+ * """
+ * def __get__(self):
+ * return elm_entry_line_wrap_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, wrap):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_line_wrap_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.line_wrap.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_9line_wrap_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_9line_wrap_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_9line_wrap_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":636
+ * return elm_entry_line_wrap_get(self.obj)
+ *
+ * def __set__(self, wrap): # <<<<<<<<<<<<<<
+ * elm_entry_line_wrap_set(self.obj, wrap)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_9line_wrap_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Wrap_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":637
+ *
+ * def __set__(self, wrap):
+ * elm_entry_line_wrap_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ *
+ * def editable_set(self, editable):
+ */
+ __pyx_t_1 = ((Elm_Wrap_Type)PyInt_AsLong(__pyx_v_wrap)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_line_wrap_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.line_wrap.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_31editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_editable); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_30editable_set[] = "Sets if the entry is to be editable or not.\n\n By default, entries are editable and when focused, any text input by the\n user will be inserted at the current cursor position. But calling this\n function with C{editable} as False will prevent the user from\n inputting text into the entry.\n\n The only way to change the text of a non-editable entry is to use\n L{Object.text_set()}, L{entry_insert()} and other related\n functions.\n\n @param editable: If True, user input will be inserted in the entry,\n if not, the entry is read-only and no user input is allowed.\n @type editable: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_31editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_editable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_30editable_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_editable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":639
+ * elm_entry_line_wrap_set(self.obj, wrap)
+ *
+ * def editable_set(self, editable): # <<<<<<<<<<<<<<
+ * """Sets if the entry is to be editable or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_30editable_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_editable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("editable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":656
+ *
+ * """
+ * elm_entry_editable_set(self.obj, editable) # <<<<<<<<<<<<<<
+ *
+ * def editable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_editable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.editable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_33editable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_32editable_get[] = "Gets whether the entry is editable or not.\n\n @see: L{editable_set()}\n\n @return: If true, the entry is editable by the user.\n If false, it is not editable by the user\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_33editable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_32editable_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":658
+ * elm_entry_editable_set(self.obj, editable)
+ *
+ * def editable_get(self): # <<<<<<<<<<<<<<
+ * """Gets whether the entry is editable or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_32editable_get(struct PyElementaryEntry *__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("editable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":668
+ *
+ * """
+ * return bool(elm_entry_editable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property editable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_editable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.editable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8editable_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8editable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8editable___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":684
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_entry_editable_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8editable___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":685
+ * """
+ * def __get__(self):
+ * return bool(elm_entry_editable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, editable):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_editable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.editable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8editable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_editable); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8editable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_editable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8editable_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_editable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":687
+ * return bool(elm_entry_editable_get(self.obj))
+ *
+ * def __set__(self, editable): # <<<<<<<<<<<<<<
+ * elm_entry_editable_set(self.obj, editable)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8editable_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_editable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":688
+ *
+ * def __set__(self, editable):
+ * elm_entry_editable_set(self.obj, editable) # <<<<<<<<<<<<<<
+ *
+ * def select_none(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_editable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.editable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_35select_none(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_34select_none[] = "This drops any existing text selection within the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_35select_none(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("select_none (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_34select_none(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":690
+ * elm_entry_editable_set(self.obj, editable)
+ *
+ * def select_none(self): # <<<<<<<<<<<<<<
+ * """This drops any existing text selection within the entry."""
+ * elm_entry_select_none(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_34select_none(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("select_none", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":692
+ * def select_none(self):
+ * """This drops any existing text selection within the entry."""
+ * elm_entry_select_none(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def select_all(self):
+ */
+ elm_entry_select_none(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_37select_all(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_36select_all[] = "This selects all text within the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_37select_all(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("select_all (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_36select_all(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":694
+ * elm_entry_select_none(self.obj)
+ *
+ * def select_all(self): # <<<<<<<<<<<<<<
+ * """This selects all text within the entry."""
+ * elm_entry_select_all(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_36select_all(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("select_all", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":696
+ * def select_all(self):
+ * """This selects all text within the entry."""
+ * elm_entry_select_all(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_next(self):
+ */
+ elm_entry_select_all(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_39cursor_next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_38cursor_next[] = "This moves the cursor one place to the right within the entry.\n\n @return: True upon success, False upon failure\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_39cursor_next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_next (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_38cursor_next(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":698
+ * elm_entry_select_all(self.obj)
+ *
+ * def cursor_next(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor one place to the right within the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_38cursor_next(struct PyElementaryEntry *__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("cursor_next", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":705
+ *
+ * """
+ * return bool(elm_entry_cursor_next(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_prev(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_cursor_next(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 705; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 705; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 705; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.cursor_next", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_41cursor_prev(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_40cursor_prev[] = "This moves the cursor one place to the left within the entry.\n\n @return: True upon success, False upon failure\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_41cursor_prev(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_prev (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_40cursor_prev(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":707
+ * return bool(elm_entry_cursor_next(self.obj))
+ *
+ * def cursor_prev(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor one place to the left within the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_40cursor_prev(struct PyElementaryEntry *__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("cursor_prev", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":714
+ *
+ * """
+ * return bool(elm_entry_cursor_prev(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_up(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_cursor_prev(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.cursor_prev", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_43cursor_up(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_42cursor_up[] = "This moves the cursor one line up within the entry.\n\n @return: True upon success, False upon failure\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_43cursor_up(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_up (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_42cursor_up(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":716
+ * return bool(elm_entry_cursor_prev(self.obj))
+ *
+ * def cursor_up(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor one line up within the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_42cursor_up(struct PyElementaryEntry *__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("cursor_up", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":723
+ *
+ * """
+ * return bool(elm_entry_cursor_up(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_down(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_cursor_up(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 723; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.cursor_up", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_45cursor_down(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_44cursor_down[] = "This moves the cursor one line down within the entry.\n\n @return: True upon success, False upon failure\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_45cursor_down(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_down (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_44cursor_down(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":725
+ * return bool(elm_entry_cursor_up(self.obj))
+ *
+ * def cursor_down(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor one line down within the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_44cursor_down(struct PyElementaryEntry *__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("cursor_down", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":732
+ *
+ * """
+ * return bool(elm_entry_cursor_down(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_begin_set(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_cursor_down(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.cursor_down", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_47cursor_begin_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_46cursor_begin_set[] = "This moves the cursor to the beginning of the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_47cursor_begin_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_begin_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_46cursor_begin_set(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":734
+ * return bool(elm_entry_cursor_down(self.obj))
+ *
+ * def cursor_begin_set(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor to the beginning of the entry."""
+ * elm_entry_cursor_begin_set(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_46cursor_begin_set(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_begin_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":736
+ * def cursor_begin_set(self):
+ * """This moves the cursor to the beginning of the entry."""
+ * elm_entry_cursor_begin_set(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_end_set(self):
+ */
+ elm_entry_cursor_begin_set(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_49cursor_end_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_48cursor_end_set[] = "This moves the cursor to the end of the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_49cursor_end_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_end_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_48cursor_end_set(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":738
+ * elm_entry_cursor_begin_set(self.obj)
+ *
+ * def cursor_end_set(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor to the end of the entry."""
+ * elm_entry_cursor_end_set(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_48cursor_end_set(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_end_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":740
+ * def cursor_end_set(self):
+ * """This moves the cursor to the end of the entry."""
+ * elm_entry_cursor_end_set(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_line_begin_set(self):
+ */
+ elm_entry_cursor_end_set(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_51cursor_line_begin_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_50cursor_line_begin_set[] = "This moves the cursor to the beginning of the current line.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_51cursor_line_begin_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_line_begin_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_50cursor_line_begin_set(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":742
+ * elm_entry_cursor_end_set(self.obj)
+ *
+ * def cursor_line_begin_set(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor to the beginning of the current line."""
+ * elm_entry_cursor_line_begin_set(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_50cursor_line_begin_set(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_line_begin_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":744
+ * def cursor_line_begin_set(self):
+ * """This moves the cursor to the beginning of the current line."""
+ * elm_entry_cursor_line_begin_set(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_line_end_set(self):
+ */
+ elm_entry_cursor_line_begin_set(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_53cursor_line_end_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_52cursor_line_end_set[] = "This moves the cursor to the end of the current line.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_53cursor_line_end_set(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_line_end_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_52cursor_line_end_set(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":746
+ * elm_entry_cursor_line_begin_set(self.obj)
+ *
+ * def cursor_line_end_set(self): # <<<<<<<<<<<<<<
+ * """This moves the cursor to the end of the current line."""
+ * elm_entry_cursor_line_end_set(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_52cursor_line_end_set(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_line_end_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":748
+ * def cursor_line_end_set(self):
+ * """This moves the cursor to the end of the current line."""
+ * elm_entry_cursor_line_end_set(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_selection_begin(self):
+ */
+ elm_entry_cursor_line_end_set(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_55cursor_selection_begin(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_54cursor_selection_begin[] = "This begins a selection within the entry as though the user were\n holding down the mouse button to make a selection.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_55cursor_selection_begin(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_selection_begin (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_54cursor_selection_begin(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":750
+ * elm_entry_cursor_line_end_set(self.obj)
+ *
+ * def cursor_selection_begin(self): # <<<<<<<<<<<<<<
+ * """This begins a selection within the entry as though the user were
+ * holding down the mouse button to make a selection."""
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_54cursor_selection_begin(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_selection_begin", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":753
+ * """This begins a selection within the entry as though the user were
+ * holding down the mouse button to make a selection."""
+ * elm_entry_cursor_selection_begin(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_selection_end(self):
+ */
+ elm_entry_cursor_selection_begin(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_57cursor_selection_end(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_56cursor_selection_end[] = "This ends a selection within the entry as though the user had\n just released the mouse button while making a selection.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_57cursor_selection_end(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_selection_end (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_56cursor_selection_end(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":755
+ * elm_entry_cursor_selection_begin(self.obj)
+ *
+ * def cursor_selection_end(self): # <<<<<<<<<<<<<<
+ * """This ends a selection within the entry as though the user had
+ * just released the mouse button while making a selection."""
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_56cursor_selection_end(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_selection_end", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":758
+ * """This ends a selection within the entry as though the user had
+ * just released the mouse button while making a selection."""
+ * elm_entry_cursor_selection_end(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_is_format_get(self):
+ */
+ elm_entry_cursor_selection_end(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_59cursor_is_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_58cursor_is_format_get[] = "Gets whether a format node exists at the current cursor position.\n\n A format node is anything that defines how the text is rendered. It can\n be a visible format node, such as a line break or a paragraph separator,\n or an invisible one, such as bold begin or end tag.\n This function returns whether any format node exists at the current\n cursor position.\n\n @see: L{cursor_is_visible_format_get()}\n\n @return: True if the current cursor position contains a format node,\n False otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_59cursor_is_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_is_format_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_58cursor_is_format_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":760
+ * elm_entry_cursor_selection_end(self.obj)
+ *
+ * def cursor_is_format_get(self): # <<<<<<<<<<<<<<
+ * """Gets whether a format node exists at the current cursor position.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_58cursor_is_format_get(struct PyElementaryEntry *__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("cursor_is_format_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":776
+ *
+ * """
+ * return bool(elm_entry_cursor_is_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_is_visible_format_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_cursor_is_format_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.cursor_is_format_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_61cursor_is_visible_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_60cursor_is_visible_format_get[] = "Gets if the current cursor position holds a visible format node.\n\n @see: L{cursor_is_format_get()}\n\n @return: True if the current cursor is a visible format, False\n if it's an invisible one or no format exists.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_61cursor_is_visible_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_is_visible_format_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_60cursor_is_visible_format_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":778
+ * return bool(elm_entry_cursor_is_format_get(self.obj))
+ *
+ * def cursor_is_visible_format_get(self): # <<<<<<<<<<<<<<
+ * """Gets if the current cursor position holds a visible format node.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_60cursor_is_visible_format_get(struct PyElementaryEntry *__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("cursor_is_visible_format_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":788
+ *
+ * """
+ * return bool(elm_entry_cursor_is_visible_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_content_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_cursor_is_visible_format_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.cursor_is_visible_format_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_63cursor_content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_62cursor_content_get[] = "Gets the character pointed by the cursor at its current position.\n\n This function returns a string with the utf8 character stored at the\n current cursor position.\n Only the text is returned, any format that may exist will not be part\n of the return value. You must free the string when done with free().\n\n @return: The text pointed by the cursors.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_63cursor_content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_62cursor_content_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":790
+ * return bool(elm_entry_cursor_is_visible_format_get(self.obj))
+ *
+ * def cursor_content_get(self): # <<<<<<<<<<<<<<
+ * """Gets the character pointed by the cursor at its current position.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_62cursor_content_get(struct PyElementaryEntry *__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("cursor_content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":802
+ *
+ * """
+ * return elm_entry_cursor_content_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def cursor_geometry_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_entry_cursor_content_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 802; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cursor_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_65cursor_geometry_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_64cursor_geometry_get[] = "This function returns the geometry of the cursor.\n\n It's useful if you want to draw something on the cursor (or where it is),\n or for example in the case of scrolled entry where you want to show the\n cursor.\n\n @return: Geometry (x, y, w, h)\n @rtype: tuple of Evas_Coords (int)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_65cursor_geometry_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_geometry_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_64cursor_geometry_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":804
+ * return elm_entry_cursor_content_get(self.obj)
+ *
+ * def cursor_geometry_get(self): # <<<<<<<<<<<<<<
+ * """This function returns the geometry of the cursor.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_64cursor_geometry_get(struct PyElementaryEntry *__pyx_v_self) {
+ Evas_Coord __pyx_v_x;
+ Evas_Coord __pyx_v_y;
+ 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;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cursor_geometry_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":817
+ * cdef Evas_Coord x, y, w, h
+ * #TODO: Check return status for success
+ * elm_entry_cursor_geometry_get(self.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_entry_cursor_geometry_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":818
+ * #TODO: Check return status for success
+ * elm_entry_cursor_geometry_get(self.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def cursor_pos_set(self, pos):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cursor_geometry_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_67cursor_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_66cursor_pos_set[] = "Sets the cursor position in the entry to the given value\n\n The value in C{pos} is the index of the character position within the\n contents of the string as returned by L{cursor_pos_get()}.\n\n @param pos: The position of the cursor\n @type pos: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_67cursor_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_pos_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_66cursor_pos_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":820
+ * return (x, y, w, h)
+ *
+ * def cursor_pos_set(self, pos): # <<<<<<<<<<<<<<
+ * """Sets the cursor position in the entry to the given value
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_66cursor_pos_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_pos) {
+ 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("cursor_pos_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":830
+ *
+ * """
+ * elm_entry_cursor_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def cursor_pos_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_pos); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_cursor_pos_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cursor_pos_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_69cursor_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_68cursor_pos_get[] = "Retrieves the current position of the cursor in the entry\n\n @return: The cursor position\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_69cursor_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_pos_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_68cursor_pos_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":832
+ * elm_entry_cursor_pos_set(self.obj, pos)
+ *
+ * def cursor_pos_get(self): # <<<<<<<<<<<<<<
+ * """Retrieves the current position of the cursor in the entry
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_68cursor_pos_get(struct PyElementaryEntry *__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("cursor_pos_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":839
+ *
+ * """
+ * return elm_entry_cursor_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property cursor_pos:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_cursor_pos_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cursor_pos_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_10cursor_pos_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_10cursor_pos_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_10cursor_pos___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":850
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_cursor_pos_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_10cursor_pos___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":851
+ * """
+ * def __get__(self):
+ * return elm_entry_cursor_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, pos):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_cursor_pos_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cursor_pos.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_10cursor_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_10cursor_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_10cursor_pos_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":853
+ * return elm_entry_cursor_pos_get(self.obj)
+ *
+ * def __set__(self, pos): # <<<<<<<<<<<<<<
+ * elm_entry_cursor_pos_set(self.obj, pos)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_10cursor_pos_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_pos) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":854
+ *
+ * def __set__(self, pos):
+ * elm_entry_cursor_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def selection_cut(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_pos); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_cursor_pos_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cursor_pos.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_71selection_cut(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_70selection_cut[] = "This executes a \"cut\" action on the selected text in the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_71selection_cut(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_cut (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_70selection_cut(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":856
+ * elm_entry_cursor_pos_set(self.obj, pos)
+ *
+ * def selection_cut(self): # <<<<<<<<<<<<<<
+ * """This executes a "cut" action on the selected text in the entry."""
+ * elm_entry_selection_cut(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_70selection_cut(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_cut", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":858
+ * def selection_cut(self):
+ * """This executes a "cut" action on the selected text in the entry."""
+ * elm_entry_selection_cut(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def selection_copy(self):
+ */
+ elm_entry_selection_cut(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_73selection_copy(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_72selection_copy[] = "This executes a \"copy\" action on the selected text in the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_73selection_copy(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_copy (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_72selection_copy(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":860
+ * elm_entry_selection_cut(self.obj)
+ *
+ * def selection_copy(self): # <<<<<<<<<<<<<<
+ * """This executes a "copy" action on the selected text in the entry."""
+ * elm_entry_selection_copy(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_72selection_copy(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_copy", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":862
+ * def selection_copy(self):
+ * """This executes a "copy" action on the selected text in the entry."""
+ * elm_entry_selection_copy(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def selection_paste(self):
+ */
+ elm_entry_selection_copy(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_75selection_paste(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_74selection_paste[] = "This executes a \"paste\" action in the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_75selection_paste(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_paste (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_74selection_paste(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":864
+ * elm_entry_selection_copy(self.obj)
+ *
+ * def selection_paste(self): # <<<<<<<<<<<<<<
+ * """This executes a "paste" action in the entry."""
+ * elm_entry_selection_paste(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_74selection_paste(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selection_paste", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":866
+ * def selection_paste(self):
+ * """This executes a "paste" action in the entry."""
+ * elm_entry_selection_paste(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def context_menu_clear(self):
+ */
+ elm_entry_selection_paste(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_77context_menu_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_76context_menu_clear[] = "This clears and frees the items in a entry's contextual (longpress) menu.\n\n @see: L{context_menu_item_add()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_77context_menu_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("context_menu_clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_76context_menu_clear(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":868
+ * elm_entry_selection_paste(self.obj)
+ *
+ * def context_menu_clear(self): # <<<<<<<<<<<<<<
+ * """This clears and frees the items in a entry's contextual (longpress) menu.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_76context_menu_clear(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("context_menu_clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":874
+ *
+ * """
+ * elm_entry_context_menu_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * # TODO XXX
+ */
+ elm_entry_context_menu_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_79context_menu_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_78context_menu_disabled_set[] = "This disables the entry's contextual (longpress) menu.\n\n @param disabled: If true, the menu is disabled\n @type disabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_79context_menu_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("context_menu_disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_78context_menu_disabled_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":901
+ * #elm_entry_context_menu_item_add(self.obj, label, icon_file, icon_type, func, data);
+ *
+ * def context_menu_disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """This disables the entry's contextual (longpress) menu.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_78context_menu_disabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("context_menu_disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":908
+ *
+ * """
+ * elm_entry_context_menu_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def context_menu_disabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 908; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_context_menu_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.context_menu_disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_81context_menu_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_80context_menu_disabled_get[] = "This returns whether the entry's contextual (longpress) menu is\n disabled.\n\n @return: If true, the menu is disabled\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_81context_menu_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("context_menu_disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_80context_menu_disabled_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":910
+ * elm_entry_context_menu_disabled_set(self.obj, disabled)
+ *
+ * def context_menu_disabled_get(self): # <<<<<<<<<<<<<<
+ * """This returns whether the entry's contextual (longpress) menu is
+ * disabled.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_80context_menu_disabled_get(struct PyElementaryEntry *__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("context_menu_disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":918
+ *
+ * """
+ * return elm_entry_context_menu_disabled_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property context_menu_disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_context_menu_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.context_menu_disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_21context_menu_disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_21context_menu_disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_21context_menu_disabled___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":926
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_context_menu_disabled_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_21context_menu_disabled___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":927
+ * """
+ * def __get__(self):
+ * return elm_entry_context_menu_disabled_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, disabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_context_menu_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.context_menu_disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_21context_menu_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_21context_menu_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_21context_menu_disabled_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":929
+ * return elm_entry_context_menu_disabled_get(self.obj)
+ *
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * elm_entry_context_menu_disabled_set(self.obj, disabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_21context_menu_disabled_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":930
+ *
+ * def __set__(self, disabled):
+ * elm_entry_context_menu_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_context_menu_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.context_menu_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_83file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_82file_set[] = "This sets the file (and implicitly loads it) for the text to display and\n then edit.\n\n All changes are written back to the file after a short delay if\n the entry object is set to autosave (which is the default).\n\n If the entry had any other file set previously, any changes made to it\n will be saved if the autosave feature is enabled, otherwise, the file\n will be silently discarded and any non-saved changes will be lost.\n\n @param file: The path to the file to load and save\n @type file: string\n @param format: The file format\n @type format: Elm_Text_Format\n @return: C{True} on success, C{False} otherwise\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_83file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_file = 0;
+ PyObject *__pyx_v_format = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__file,&__pyx_n_s__format,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__file);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__format);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("file_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "file_set") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __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_file = values[0];
+ __pyx_v_format = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("file_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_82file_set(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_file, __pyx_v_format);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":949
+ * utf8_to_markup = staticmethod(Entry_utf8_to_markup)
+ *
+ * def file_set(self, file, format): # <<<<<<<<<<<<<<
+ * """This sets the file (and implicitly loads it) for the text to display and
+ * then edit.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_82file_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_file, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Text_Format __pyx_t_1;
+ 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("file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":967
+ *
+ * """
+ * return bool(elm_entry_file_set(self.obj, _cfruni(file), format)) # <<<<<<<<<<<<<<
+ *
+ * def file_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Text_Format)PyInt_AsLong(__pyx_v_format)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_file), __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_85file_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_84file_get[] = "Gets the file being edited by the entry.\n\n This function can be used to retrieve any file set on the entry for\n edition, along with the format used to load and save it.\n\n @return: Tuple of file and format\n @rtype: tuple of strings\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_85file_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_84file_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":969
+ * return bool(elm_entry_file_set(self.obj, _cfruni(file), format))
+ *
+ * def file_get(self): # <<<<<<<<<<<<<<
+ * """Gets the file being edited by the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_84file_get(struct PyElementaryEntry *__pyx_v_self) {
+ const char * __pyx_v_file;
+ Elm_Text_Format __pyx_v_format;
+ 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("file_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":982
+ * cdef Elm_Text_Format format
+ *
+ * elm_entry_file_get(self.obj, &file, &format) # <<<<<<<<<<<<<<
+ * return (_ctouni(file), format)
+ *
+ */
+ elm_entry_file_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_file), (&__pyx_v_format));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":983
+ *
+ * elm_entry_file_get(self.obj, &file, &format)
+ * return (_ctouni(file), format) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_file)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 983; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_format); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 983; __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[0]; __pyx_lineno = 983; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.file_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_4file_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_4file_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_4file___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":998
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr file
+ * cdef Elm_Text_Format format
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_4file___get__(struct PyElementaryEntry *__pyx_v_self) {
+ const char * __pyx_v_file;
+ Elm_Text_Format __pyx_v_format;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1001
+ * cdef const_char_ptr file
+ * cdef Elm_Text_Format format
+ * elm_entry_file_get(self.obj, &file, &format) # <<<<<<<<<<<<<<
+ * return (_ctouni(file), format)
+ *
+ */
+ elm_entry_file_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_file), (&__pyx_v_format));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1002
+ * cdef Elm_Text_Format format
+ * elm_entry_file_get(self.obj, &file, &format)
+ * return (_ctouni(file), format) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_file)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_format); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1002; __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[0]; __pyx_lineno = 1002; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.file.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_4file_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_4file_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_4file_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1004
+ * return (_ctouni(file), format)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * file, format = value
+ * elm_entry_file_set(self.obj, _cfruni(file), format)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_4file_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_file = NULL;
+ PyObject *__pyx_v_format = 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 *);
+ Elm_Text_Format __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1005
+ *
+ * def __set__(self, value):
+ * file, format = value # <<<<<<<<<<<<<<
+ * elm_entry_file_set(self.obj, _cfruni(file), format)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __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[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_file = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_format = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1006
+ * def __set__(self, value):
+ * file, format = value
+ * elm_entry_file_set(self.obj, _cfruni(file), format) # <<<<<<<<<<<<<<
+ *
+ * def file_save(self):
+ */
+ __pyx_t_5 = ((Elm_Text_Format)PyInt_AsLong(__pyx_v_format)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1006; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_file), __pyx_t_5);
+
+ __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("elementary.c_elementary.Entry.file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_file);
+ __Pyx_XDECREF(__pyx_v_format);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_87file_save(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_86file_save[] = "This function writes any changes made to the file set with\n L{file_set()}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_87file_save(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_save (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_86file_save(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1008
+ * elm_entry_file_set(self.obj, _cfruni(file), format)
+ *
+ * def file_save(self): # <<<<<<<<<<<<<<
+ * """This function writes any changes made to the file set with
+ * L{file_set()}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_86file_save(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_save", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1013
+ *
+ * """
+ * elm_entry_file_save(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def autosave_set(self, autosave):
+ */
+ elm_entry_file_save(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_89autosave_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autosave); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_88autosave_set[] = "This sets the entry object to 'autosave' the loaded text file or not.\n\n @see: L{file_set()}\n\n @param autosave: Autosave the loaded file or not\n @type autosave: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_89autosave_set(PyObject *__pyx_v_self, PyObject *__pyx_v_autosave) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autosave_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_88autosave_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_autosave));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1015
+ * elm_entry_file_save(self.obj)
+ *
+ * def autosave_set(self, autosave): # <<<<<<<<<<<<<<
+ * """This sets the entry object to 'autosave' the loaded text file or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_88autosave_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_autosave) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autosave_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1024
+ *
+ * """
+ * elm_entry_autosave_set(self.obj, autosave) # <<<<<<<<<<<<<<
+ *
+ * def autosave_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autosave); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1024; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_autosave_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.autosave_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_91autosave_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_90autosave_get[] = "This gets the entry object's 'autosave' status.\n\n @see: L{file_set()}\n\n @return: Autosave the loaded file or not\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_91autosave_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autosave_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_90autosave_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1026
+ * elm_entry_autosave_set(self.obj, autosave)
+ *
+ * def autosave_get(self): # <<<<<<<<<<<<<<
+ * """This gets the entry object's 'autosave' status.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_90autosave_get(struct PyElementaryEntry *__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("autosave_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1035
+ *
+ * """
+ * return elm_entry_autosave_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property autosave:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_autosave_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.autosave_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8autosave_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8autosave_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8autosave___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1043
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_autosave_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8autosave___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1044
+ * """
+ * def __get__(self):
+ * return elm_entry_autosave_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, autosave):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_autosave_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.autosave.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8autosave_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autosave); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8autosave_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_autosave) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8autosave_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_autosave));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1046
+ * return elm_entry_autosave_get(self.obj)
+ *
+ * def __set__(self, autosave): # <<<<<<<<<<<<<<
+ * elm_entry_autosave_set(self.obj, autosave)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8autosave_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_autosave) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1047
+ *
+ * def __set__(self, autosave):
+ * elm_entry_autosave_set(self.obj, autosave) # <<<<<<<<<<<<<<
+ *
+ * def scrollable_set(self, scrollable):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_autosave); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_autosave_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.autosave.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_93scrollable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_scrollable); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_92scrollable_set[] = "Enable or disable scrolling in entry\n\n Normally the entry is not scrollable unless you enable it with this call.\n\n @param scroll: True if it is to be scrollable, False otherwise\n @type scroll: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_93scrollable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_scrollable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scrollable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_92scrollable_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_scrollable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1049
+ * elm_entry_autosave_set(self.obj, autosave)
+ *
+ * def scrollable_set(self, scrollable): # <<<<<<<<<<<<<<
+ * """Enable or disable scrolling in entry
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_92scrollable_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_scrollable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("scrollable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1058
+ *
+ * """
+ * elm_entry_scrollable_set(self.obj, scrollable) # <<<<<<<<<<<<<<
+ *
+ * def scrollable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_scrollable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1058; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_scrollable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.scrollable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_95scrollable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_94scrollable_get[] = "Get the scrollable state of the entry\n\n Normally the entry is not scrollable. This gets the scrollable state\n of the entry.\n\n @see: L{scrollable_set()} for more information.\n\n @return: The scrollable state\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_95scrollable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scrollable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_94scrollable_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1060
+ * elm_entry_scrollable_set(self.obj, scrollable)
+ *
+ * def scrollable_get(self): # <<<<<<<<<<<<<<
+ * """Get the scrollable state of the entry
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_94scrollable_get(struct PyElementaryEntry *__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("scrollable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1072
+ *
+ * """
+ * return bool(elm_entry_scrollable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property scrollable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_scrollable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.scrollable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_10scrollable_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_10scrollable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_10scrollable___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1082
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_entry_scrollable_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_10scrollable___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1083
+ * """
+ * def __get__(self):
+ * return bool(elm_entry_scrollable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, scrollable):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_scrollable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1083; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.scrollable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_10scrollable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_scrollable); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_10scrollable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_scrollable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_10scrollable_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_scrollable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1085
+ * return bool(elm_entry_scrollable_get(self.obj))
+ *
+ * def __set__(self, scrollable): # <<<<<<<<<<<<<<
+ * elm_entry_scrollable_set(self.obj, scrollable)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_10scrollable_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_scrollable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1086
+ *
+ * def __set__(self, scrollable):
+ * elm_entry_scrollable_set(self.obj, scrollable) # <<<<<<<<<<<<<<
+ *
+ * def icon_visible_set(self, visible):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_scrollable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_scrollable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.scrollable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_97icon_visible_set(PyObject *__pyx_v_self, PyObject *__pyx_v_visible); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_96icon_visible_set[] = "Sets the visibility of the end widget of the entry, set by\n C{Object.part_content_set(\"end\", content)}.\n\n @param setting: True if the object should be displayed, False if not.\n @type setting: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_97icon_visible_set(PyObject *__pyx_v_self, PyObject *__pyx_v_visible) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_visible_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_96icon_visible_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_visible));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1088
+ * elm_entry_scrollable_set(self.obj, scrollable)
+ *
+ * def icon_visible_set(self, visible): # <<<<<<<<<<<<<<
+ * """Sets the visibility of the end widget of the entry, set by
+ * C{Object.part_content_set("end", content)}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_96icon_visible_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_visible) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("icon_visible_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1096
+ *
+ * """
+ * elm_entry_icon_visible_set(self.obj, visible) # <<<<<<<<<<<<<<
+ *
+ * property icon_visible:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_visible); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_icon_visible_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.icon_visible_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_12icon_visible_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_visible); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_12icon_visible_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_visible) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_12icon_visible___set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_visible));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1105
+ *
+ * """
+ * def __set__(self, visible): # <<<<<<<<<<<<<<
+ * elm_entry_icon_visible_set(self.obj, visible)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_12icon_visible___set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_visible) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1106
+ * """
+ * def __set__(self, visible):
+ * elm_entry_icon_visible_set(self.obj, visible) # <<<<<<<<<<<<<<
+ *
+ * def scrollbar_policy_set(self, Elm_Scroller_Policy h, Elm_Scroller_Policy v):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_visible); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_icon_visible_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.icon_visible.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_99scrollbar_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_98scrollbar_policy_set[] = "This sets the entry's scrollbar policy (i.e. enabling/disabling\n them).\n\n Setting an entry to single-line mode with L{single_line_set()}\n will automatically disable the display of scrollbars when the entry\n moves inside its scroller.\n\n @param h: The horizontal scrollbar policy to apply\n @type h: Elm_Scroller_Policy\n @param v: The vertical scrollbar policy to apply\n @type v: Elm_Scroller_Policy\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_99scrollbar_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Elm_Scroller_Policy __pyx_v_h;
+ Elm_Scroller_Policy __pyx_v_v;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h,&__pyx_n_s__v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scrollbar_policy_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("scrollbar_policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "scrollbar_policy_set") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1108; __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 = ((Elm_Scroller_Policy)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_v = ((Elm_Scroller_Policy)PyInt_AsLong(values[1])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("scrollbar_policy_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.scrollbar_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_98scrollbar_policy_set(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_h, __pyx_v_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1108
+ * elm_entry_icon_visible_set(self.obj, visible)
+ *
+ * def scrollbar_policy_set(self, Elm_Scroller_Policy h, Elm_Scroller_Policy v): # <<<<<<<<<<<<<<
+ * """This sets the entry's scrollbar policy (i.e. enabling/disabling
+ * them).
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_98scrollbar_policy_set(struct PyElementaryEntry *__pyx_v_self, Elm_Scroller_Policy __pyx_v_h, Elm_Scroller_Policy __pyx_v_v) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scrollbar_policy_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1122
+ *
+ * """
+ * elm_entry_scrollbar_policy_set(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * property scrollbar_policy:
+ */
+ elm_entry_scrollbar_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_h, __pyx_v_v);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_16scrollbar_policy_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_16scrollbar_policy_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_16scrollbar_policy___set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1135
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy h, v
+ * h, v = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_16scrollbar_policy___set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_value) {
+ Elm_Scroller_Policy __pyx_v_h;
+ Elm_Scroller_Policy __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 *);
+ Elm_Scroller_Policy __pyx_t_5;
+ Elm_Scroller_Policy __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1137
+ * def __set__(self, value):
+ * cdef Elm_Scroller_Policy h, v
+ * h, v = value # <<<<<<<<<<<<<<
+ * elm_entry_scrollbar_policy_set(self.obj, h, v)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __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[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __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[0]; __pyx_lineno = 1137; __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[0]; __pyx_lineno = 1137; __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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1138
+ * cdef Elm_Scroller_Policy h, v
+ * h, v = value
+ * elm_entry_scrollbar_policy_set(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * def bounce_set(self, h_bounce, v_bounce):
+ */
+ elm_entry_scrollbar_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_h, __pyx_v_v);
+
+ __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("elementary.c_elementary.Entry.scrollbar_policy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_101bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_100bounce_set[] = "This enables/disables bouncing within the entry.\n\n This function sets whether the entry will bounce when scrolling reaches\n the end of the contained entry.\n\n @param h_bounce: The horizontal bounce state\n @type h_bounce: bool\n @param v_bounce: The vertical bounce state\n @type v_bounce: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_101bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_bounce = 0;
+ PyObject *__pyx_v_v_bounce = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_bounce,&__pyx_n_s__v_bounce,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bounce_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_bounce);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_bounce);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __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[0]; __pyx_lineno = 1140; __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_bounce = values[0];
+ __pyx_v_v_bounce = 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[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_100bounce_set(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_h_bounce, __pyx_v_v_bounce);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1140
+ * elm_entry_scrollbar_policy_set(self.obj, h, v)
+ *
+ * def bounce_set(self, h_bounce, v_bounce): # <<<<<<<<<<<<<<
+ * """This enables/disables bouncing within the entry.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_100bounce_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_h_bounce, PyObject *__pyx_v_v_bounce) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1152
+ *
+ * """
+ * elm_entry_bounce_set(self.obj, h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * def bounce_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_103bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_102bounce_get[] = "Get the bounce mode\n\n @return: Tuple with bounce modes for horizontal and vertical\n @rtype: tuple of bools\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_103bounce_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_10elementary_12c_elementary_5Entry_102bounce_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1154
+ * elm_entry_bounce_set(self.obj, h_bounce, v_bounce)
+ *
+ * def bounce_get(self): # <<<<<<<<<<<<<<
+ * """Get the bounce mode
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_102bounce_get(struct PyElementaryEntry *__pyx_v_self) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1163
+ * cdef Eina_Bool h_bounce, v_bounce
+ *
+ * elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce) # <<<<<<<<<<<<<<
+ * return (h_bounce, v_bounce)
+ *
+ */
+ elm_entry_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_bounce), (&__pyx_v_v_bounce));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1164
+ *
+ * elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce)
+ * return (h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * property bounce:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1164; __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[0]; __pyx_lineno = 1164; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.bounce_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_6bounce_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_6bounce_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_6bounce___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1173
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_6bounce___get__(struct PyElementaryEntry *__pyx_v_self) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1175
+ * def __get__(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce) # <<<<<<<<<<<<<<
+ * return (h_bounce, v_bounce)
+ *
+ */
+ elm_entry_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_bounce), (&__pyx_v_v_bounce));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1176
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce)
+ * return (h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1176; __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[0]; __pyx_lineno = 1176; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.bounce.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_6bounce_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_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_10elementary_12c_elementary_5Entry_6bounce_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1178
+ * return (h_bounce, v_bounce)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h_bounce, v_bounce
+ * h_bounce, v_bounce = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_6bounce_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_value) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1180
+ * def __set__(self, value):
+ * cdef Eina_Bool h_bounce, v_bounce
+ * h_bounce, v_bounce = value # <<<<<<<<<<<<<<
+ * elm_entry_bounce_set(self.obj, h_bounce, v_bounce)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __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[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_1); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_h_bounce = __pyx_t_5;
+ __pyx_v_v_bounce = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1181
+ * cdef Eina_Bool h_bounce, v_bounce
+ * h_bounce, v_bounce = value
+ * elm_entry_bounce_set(self.obj, h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_layout_set(self, layout):
+ */
+ elm_entry_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_h_bounce, __pyx_v_v_bounce);
+
+ __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("elementary.c_elementary.Entry.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_105input_panel_layout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_layout); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_104input_panel_layout_set[] = "Set the input panel layout of the entry\n\n @param layout: layout type\n @type layout: Elm_Input_Panel_Layout\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_105input_panel_layout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_layout) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_layout_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_104input_panel_layout_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_layout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1183
+ * elm_entry_bounce_set(self.obj, h_bounce, v_bounce)
+ *
+ * def input_panel_layout_set(self, layout): # <<<<<<<<<<<<<<
+ * """Set the input panel layout of the entry
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_104input_panel_layout_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_layout) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Input_Panel_Layout __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("input_panel_layout_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1190
+ *
+ * """
+ * elm_entry_input_panel_layout_set(self.obj, layout) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_layout_get(self):
+ */
+ __pyx_t_1 = ((Elm_Input_Panel_Layout)PyInt_AsLong(__pyx_v_layout)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_layout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_layout_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_107input_panel_layout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_106input_panel_layout_get[] = "Get the input panel layout of the entry\n\n @see: L{input_panel_layout_set()}\n\n @return: layout type\n @rtype: Elm_Input_Panel_Layout\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_107input_panel_layout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_layout_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_106input_panel_layout_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1192
+ * elm_entry_input_panel_layout_set(self.obj, layout)
+ *
+ * def input_panel_layout_get(self): # <<<<<<<<<<<<<<
+ * """Get the input panel layout of the entry
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_106input_panel_layout_get(struct PyElementaryEntry *__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("input_panel_layout_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1201
+ *
+ * """
+ * return elm_entry_input_panel_layout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property input_panel_layout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_input_panel_layout_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_layout_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_18input_panel_layout_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_18input_panel_layout_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_18input_panel_layout___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1209
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_input_panel_layout_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_18input_panel_layout___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1210
+ * """
+ * def __get__(self):
+ * return elm_entry_input_panel_layout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, layout):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_input_panel_layout_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_layout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_18input_panel_layout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layout); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_18input_panel_layout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_18input_panel_layout_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_layout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1212
+ * return elm_entry_input_panel_layout_get(self.obj)
+ *
+ * def __set__(self, layout): # <<<<<<<<<<<<<<
+ * elm_entry_input_panel_layout_set(self.obj, layout)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_18input_panel_layout_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_layout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Input_Panel_Layout __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1213
+ *
+ * def __set__(self, layout):
+ * elm_entry_input_panel_layout_set(self.obj, layout) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_enabled_set(self, enabled):
+ */
+ __pyx_t_1 = ((Elm_Input_Panel_Layout)PyInt_AsLong(__pyx_v_layout)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_layout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_layout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_109input_panel_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_108input_panel_enabled_set[] = "Sets the attribute to show the input panel automatically.\n\n @param enabled: If true, the input panel is appeared when entry is\n clicked or has a focus\n @type enabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_109input_panel_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_enabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_108input_panel_enabled_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1215
+ * elm_entry_input_panel_layout_set(self.obj, layout)
+ *
+ * def input_panel_enabled_set(self, enabled): # <<<<<<<<<<<<<<
+ * """Sets the attribute to show the input panel automatically.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_108input_panel_enabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("input_panel_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1223
+ *
+ * """
+ * elm_entry_input_panel_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_enabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_111input_panel_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_110input_panel_enabled_get[] = "Retrieve the attribute to show the input panel automatically.\n\n @return: True if input panel will be appeared when the entry is clicked\n or has a focus, False otherwise\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_111input_panel_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_110input_panel_enabled_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1225
+ * elm_entry_input_panel_enabled_set(self.obj, enabled)
+ *
+ * def input_panel_enabled_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve the attribute to show the input panel automatically.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_110input_panel_enabled_get(struct PyElementaryEntry *__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("input_panel_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1233
+ *
+ * """
+ * return bool(elm_entry_input_panel_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property input_panel_enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_input_panel_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.input_panel_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_19input_panel_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_19input_panel_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_19input_panel_enabled___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1241
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_entry_input_panel_enabled_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_19input_panel_enabled___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1242
+ * """
+ * def __get__(self):
+ * return bool(elm_entry_input_panel_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, enabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_input_panel_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.input_panel_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_19input_panel_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_19input_panel_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_19input_panel_enabled_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1244
+ * return bool(elm_entry_input_panel_enabled_get(self.obj))
+ *
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_entry_input_panel_enabled_set(self.obj, enabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_19input_panel_enabled_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1245
+ *
+ * def __set__(self, enabled):
+ * elm_entry_input_panel_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_show(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_113input_panel_show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_112input_panel_show[] = "Show the input panel (virtual keyboard) based on the input panel\n property of entry such as layout, autocapital types, and so on.\n\n Note that input panel is shown or hidden automatically according to the\n focus state of entry widget.\n This API can be used in the case of manually controlling by using\n C{Entry.input_panel_enabled = False}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_113input_panel_show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_show (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_112input_panel_show(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1247
+ * elm_entry_input_panel_enabled_set(self.obj, enabled)
+ *
+ * def input_panel_show(self): # <<<<<<<<<<<<<<
+ * """Show the input panel (virtual keyboard) based on the input panel
+ * property of entry such as layout, autocapital types, and so on.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_112input_panel_show(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1257
+ *
+ * """
+ * elm_entry_input_panel_show(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_hide(self):
+ */
+ elm_entry_input_panel_show(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_115input_panel_hide(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_114input_panel_hide[] = "Hide the input panel (virtual keyboard).\n\n Note that input panel is shown or hidden automatically according to the\n focus state of entry widget.\n This API can be used in the case of manually controlling by using\n C{Entry.input_panel_enabled_set = False}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_115input_panel_hide(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_hide (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_114input_panel_hide(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1259
+ * elm_entry_input_panel_show(self.obj)
+ *
+ * def input_panel_hide(self): # <<<<<<<<<<<<<<
+ * """Hide the input panel (virtual keyboard).
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_114input_panel_hide(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_hide", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1268
+ *
+ * """
+ * elm_entry_input_panel_hide(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_language_set(self, lang):
+ */
+ elm_entry_input_panel_hide(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_117input_panel_language_set(PyObject *__pyx_v_self, PyObject *__pyx_v_lang); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_116input_panel_language_set[] = "Set the language mode of the input panel.\n\n This API can be used if you want to show the alphabet keyboard mode.\n\n @param lang: language to be set to the input panel.\n @type lang: Elm_Input_Panel_Lang\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_117input_panel_language_set(PyObject *__pyx_v_self, PyObject *__pyx_v_lang) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_language_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_116input_panel_language_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_lang));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1270
+ * elm_entry_input_panel_hide(self.obj)
+ *
+ * def input_panel_language_set(self, lang): # <<<<<<<<<<<<<<
+ * """Set the language mode of the input panel.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_116input_panel_language_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_lang) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Input_Panel_Lang __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("input_panel_language_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1279
+ *
+ * """
+ * elm_entry_input_panel_language_set(self.obj, lang) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_language_get(self):
+ */
+ __pyx_t_1 = ((Elm_Input_Panel_Lang)PyInt_AsLong(__pyx_v_lang)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_language_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_language_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_119input_panel_language_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_118input_panel_language_get[] = "Get the language mode of the input panel.\n\n @see: L{input_panel_language_set()} for more details.\n\n @return: input panel language type\n @rtype: Elm_Input_Panel_Lang\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_119input_panel_language_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_language_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_118input_panel_language_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1281
+ * elm_entry_input_panel_language_set(self.obj, lang)
+ *
+ * def input_panel_language_get(self): # <<<<<<<<<<<<<<
+ * """Get the language mode of the input panel.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_118input_panel_language_get(struct PyElementaryEntry *__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("input_panel_language_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1290
+ *
+ * """
+ * return elm_entry_input_panel_language_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property input_panel_language:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_input_panel_language_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_language_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_20input_panel_language_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_20input_panel_language_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_20input_panel_language___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1300
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_input_panel_language_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_20input_panel_language___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1301
+ * """
+ * def __get__(self):
+ * return elm_entry_input_panel_language_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, lang):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_input_panel_language_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_language.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_20input_panel_language_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_lang); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_20input_panel_language_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_lang) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_20input_panel_language_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_lang));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1303
+ * return elm_entry_input_panel_language_get(self.obj)
+ *
+ * def __set__(self, lang): # <<<<<<<<<<<<<<
+ * elm_entry_input_panel_language_set(self.obj, lang)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_20input_panel_language_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_lang) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Input_Panel_Lang __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1304
+ *
+ * def __set__(self, lang):
+ * elm_entry_input_panel_language_set(self.obj, lang) # <<<<<<<<<<<<<<
+ *
+ * # TODO XXX elm_entry_input_panel_imdata_set() ??
+ */
+ __pyx_t_1 = ((Elm_Input_Panel_Lang)PyInt_AsLong(__pyx_v_lang)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_language_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_language.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_121input_panel_return_key_type_set(PyObject *__pyx_v_self, PyObject *__pyx_v_return_key_type); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_120input_panel_return_key_type_set[] = "Set the \"return\" key type. This type is used to set string or icon on\n the \"return\" key of the input panel.\n\n An input panel displays the string or icon associated with this type\n\n @param return_key_type: The type of \"return\" key on the input panel\n @type return_key_type: Elm_Input_Panel_Return_Key_Type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_121input_panel_return_key_type_set(PyObject *__pyx_v_self, PyObject *__pyx_v_return_key_type) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_return_key_type_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_120input_panel_return_key_type_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_return_key_type));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1310
+ * # TODO XXX elm_entry_input_panel_imdata_get() ??
+ *
+ * def input_panel_return_key_type_set(self, return_key_type): # <<<<<<<<<<<<<<
+ * """Set the "return" key type. This type is used to set string or icon on
+ * the "return" key of the input panel.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_120input_panel_return_key_type_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_return_key_type) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Input_Panel_Return_Key_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("input_panel_return_key_type_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1320
+ *
+ * """
+ * elm_entry_input_panel_return_key_type_set(self.obj, return_key_type) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_return_key_type_get(self):
+ */
+ __pyx_t_1 = ((Elm_Input_Panel_Return_Key_Type)PyInt_AsLong(__pyx_v_return_key_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_return_key_type_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_type_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_123input_panel_return_key_type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_122input_panel_return_key_type_get[] = "Get the \"return\" key type.\n\n @see: L{input_panel_return_key_type_set()} for more details\n\n @return: The type of \"return\" key on the input panel\n @rtype: Elm_Input_Panel_Return_Key_Type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_123input_panel_return_key_type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_return_key_type_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_122input_panel_return_key_type_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1322
+ * elm_entry_input_panel_return_key_type_set(self.obj, return_key_type)
+ *
+ * def input_panel_return_key_type_get(self): # <<<<<<<<<<<<<<
+ * """Get the "return" key type.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_122input_panel_return_key_type_get(struct PyElementaryEntry *__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("input_panel_return_key_type_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1331
+ *
+ * """
+ * return elm_entry_input_panel_return_key_type_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property input_panel_return_key_type:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_input_panel_return_key_type_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_type_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_27input_panel_return_key_type___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1342
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_input_panel_return_key_type_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_27input_panel_return_key_type___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1343
+ * """
+ * def __get__(self):
+ * return elm_entry_input_panel_return_key_type_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, return_key_type):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_input_panel_return_key_type_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_return_key_type); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_return_key_type) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_return_key_type));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1345
+ * return elm_entry_input_panel_return_key_type_get(self.obj)
+ *
+ * def __set__(self, return_key_type): # <<<<<<<<<<<<<<
+ * elm_entry_input_panel_return_key_type_set(self.obj, return_key_type)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_return_key_type) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Input_Panel_Return_Key_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1346
+ *
+ * def __set__(self, return_key_type):
+ * elm_entry_input_panel_return_key_type_set(self.obj, return_key_type) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_return_key_disabled_set(self, disabled):
+ */
+ __pyx_t_1 = ((Elm_Input_Panel_Return_Key_Type)PyInt_AsLong(__pyx_v_return_key_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_return_key_type_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_type.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_125input_panel_return_key_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_124input_panel_return_key_disabled_set[] = "Set the return key on the input panel to be disabled.\n\n @param disabled: The state to put in in: C{True} for\n disabled, C{False} for enabled\n @type disabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_125input_panel_return_key_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_return_key_disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_124input_panel_return_key_disabled_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1348
+ * elm_entry_input_panel_return_key_type_set(self.obj, return_key_type)
+ *
+ * def input_panel_return_key_disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """Set the return key on the input panel to be disabled.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_124input_panel_return_key_disabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("input_panel_return_key_disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1356
+ *
+ * """
+ * elm_entry_input_panel_return_key_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_return_key_disabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_return_key_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_127input_panel_return_key_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_126input_panel_return_key_disabled_get[] = "Get whether the return key on the input panel should be disabled or not.\n\n @return: True if it should be disabled\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_127input_panel_return_key_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_return_key_disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_126input_panel_return_key_disabled_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1358
+ * elm_entry_input_panel_return_key_disabled_set(self.obj, disabled)
+ *
+ * def input_panel_return_key_disabled_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the return key on the input panel should be disabled or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_126input_panel_return_key_disabled_get(struct PyElementaryEntry *__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("input_panel_return_key_disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1365
+ *
+ * """
+ * return elm_entry_input_panel_return_key_disabled_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property input_panel_return_key_disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_input_panel_return_key_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1373
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_input_panel_return_key_disabled_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1374
+ * """
+ * def __get__(self):
+ * return elm_entry_input_panel_return_key_disabled_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, disabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_input_panel_return_key_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1376
+ * return elm_entry_input_panel_return_key_disabled_get(self.obj)
+ *
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * elm_entry_input_panel_return_key_disabled_set(self.obj, disabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1377
+ *
+ * def __set__(self, disabled):
+ * elm_entry_input_panel_return_key_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def input_panel_return_key_autoenabled_set(self, enabled):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_return_key_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_129input_panel_return_key_autoenabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_128input_panel_return_key_autoenabled_set[] = "Set whether the return key on the input panel is disabled automatically when entry has no text.\n\n If C{enabled} is True, The return key on input panel is disabled when the entry has no text.\n The return key on the input panel is automatically enabled when the entry has text.\n The default value is False.\n\n @param enabled: If True, the return key is automatically disabled when\n the entry has no text.\n @type enabled: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_129input_panel_return_key_autoenabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("input_panel_return_key_autoenabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_128input_panel_return_key_autoenabled_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1379
+ * elm_entry_input_panel_return_key_disabled_set(self.obj, disabled)
+ *
+ * def input_panel_return_key_autoenabled_set(self, enabled): # <<<<<<<<<<<<<<
+ * """Set whether the return key on the input panel is disabled automatically when entry has no text.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_128input_panel_return_key_autoenabled_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("input_panel_return_key_autoenabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1391
+ *
+ * """
+ * elm_entry_input_panel_return_key_autoenabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * property input_panel_return_key_autoenabled:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_return_key_autoenabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_autoenabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_34input_panel_return_key_autoenabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_34input_panel_return_key_autoenabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_34input_panel_return_key_autoenabled___set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1403
+ *
+ * """
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_entry_input_panel_return_key_autoenabled_set(self.obj, enabled)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_34input_panel_return_key_autoenabled___set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1404
+ * """
+ * def __set__(self, enabled):
+ * elm_entry_input_panel_return_key_autoenabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def imf_context_reset(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_input_panel_return_key_autoenabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.input_panel_return_key_autoenabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_131imf_context_reset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_130imf_context_reset[] = "Reset the input method context of the entry if needed.\n\n This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.\n This will typically cause the Input Method Context to clear the preedit state.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_131imf_context_reset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("imf_context_reset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_130imf_context_reset(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1406
+ * elm_entry_input_panel_return_key_autoenabled_set(self.obj, enabled)
+ *
+ * def imf_context_reset(self): # <<<<<<<<<<<<<<
+ * """Reset the input method context of the entry if needed.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_130imf_context_reset(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("imf_context_reset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1413
+ *
+ * """
+ * elm_entry_imf_context_reset(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def prediction_allow_set(self, allow):
+ */
+ elm_entry_imf_context_reset(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_133prediction_allow_set(PyObject *__pyx_v_self, PyObject *__pyx_v_allow); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_132prediction_allow_set[] = "Set whether the entry should allow to use the text prediction.\n\n @param prediction: Whether the entry should allow to use the text prediction.\n @type prediction: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_133prediction_allow_set(PyObject *__pyx_v_self, PyObject *__pyx_v_allow) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prediction_allow_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_132prediction_allow_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_allow));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1415
+ * elm_entry_imf_context_reset(self.obj)
+ *
+ * def prediction_allow_set(self, allow): # <<<<<<<<<<<<<<
+ * """Set whether the entry should allow to use the text prediction.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_132prediction_allow_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_allow) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("prediction_allow_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1422
+ *
+ * """
+ * elm_entry_prediction_allow_set(self.obj, allow) # <<<<<<<<<<<<<<
+ *
+ * def prediction_allow_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_allow); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1422; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_prediction_allow_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.prediction_allow_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_135prediction_allow_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_134prediction_allow_get[] = "Get whether the entry should allow to use the text prediction.\n\n @return: True if it allows to use the text prediction, otherwise False.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_135prediction_allow_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prediction_allow_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_134prediction_allow_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1424
+ * elm_entry_prediction_allow_set(self.obj, allow)
+ *
+ * def prediction_allow_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the entry should allow to use the text prediction.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_134prediction_allow_get(struct PyElementaryEntry *__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("prediction_allow_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1431
+ *
+ * """
+ * return elm_entry_prediction_allow_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property prediction_allow:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_prediction_allow_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1431; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.prediction_allow_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_16prediction_allow_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_16prediction_allow_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_16prediction_allow___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1439
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_prediction_allow_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_16prediction_allow___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1440
+ * """
+ * def __get__(self):
+ * return elm_entry_prediction_allow_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, allow):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_entry_prediction_allow_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.prediction_allow.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_16prediction_allow_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_allow); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_16prediction_allow_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_allow) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_16prediction_allow_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_allow));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1442
+ * return elm_entry_prediction_allow_get(self.obj)
+ *
+ * def __set__(self, allow): # <<<<<<<<<<<<<<
+ * elm_entry_prediction_allow_set(self.obj, allow)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_16prediction_allow_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_allow) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1443
+ *
+ * def __set__(self, allow):
+ * elm_entry_prediction_allow_set(self.obj, allow) # <<<<<<<<<<<<<<
+ *
+ * # TODO XXX elm_entry_filter_accept_set()
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_allow); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_prediction_allow_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.prediction_allow.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_137cnp_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_136cnp_mode_set[] = "Control pasting of text and images for the widget.\n\n Normally the entry allows both text and images to be pasted.\n By setting cnp_mode to be C{ELM_CNP_MODE_NO_IMAGE}, this prevents images from being copy or past.\n By setting cnp_mode to be C{ELM_CNP_MODE_PLAINTEXT}, this remove all tags in text .\n\n @note: this only changes the behaviour of text.\n\n @param cnp_mode: One of: ELM_CNP_MODE_MARKUP, ELM_CNP_MODE_NO_IMAGE, ELM_CNP_MODE_PLAINTEXT.\n @type cnp_mode: Elm_Cnp_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_137cnp_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cnp_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_136cnp_mode_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1448
+ * # TODO XXX elm_entry_imf_context_get() ??
+ *
+ * def cnp_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Control pasting of text and images for the widget.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_136cnp_mode_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Cnp_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cnp_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1461
+ *
+ * """
+ * elm_entry_cnp_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def cnp_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Cnp_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_cnp_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cnp_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_139cnp_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_138cnp_mode_get[] = "Getting elm_entry text paste/drop mode.\n\n Normally the entry allows both text and images to be pasted.\n This gets the copy & paste mode of the entry.\n\n @return: One of: ELM_CNP_MODE_MARKUP, ELM_CNP_MODE_NO_IMAGE, ELM_CNP_MODE_PLAINTEXT.\n @rtype: Elm_Cnp_Mode\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_139cnp_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cnp_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_138cnp_mode_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1463
+ * elm_entry_cnp_mode_set(self.obj, mode)
+ *
+ * def cnp_mode_get(self): # <<<<<<<<<<<<<<
+ * """Getting elm_entry text paste/drop mode.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_138cnp_mode_get(struct PyElementaryEntry *__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("cnp_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1473
+ *
+ * """
+ * return elm_entry_cnp_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property cnp_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_cnp_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cnp_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8cnp_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_8cnp_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_8cnp_mode___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1487
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_entry_cnp_mode_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_8cnp_mode___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1488
+ * """
+ * def __get__(self):
+ * return elm_entry_cnp_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_entry_cnp_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cnp_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8cnp_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_8cnp_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_10elementary_12c_elementary_5Entry_8cnp_mode_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1490
+ * return elm_entry_cnp_mode_get(self.obj)
+ *
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_entry_cnp_mode_set(self.obj, mode)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_8cnp_mode_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Cnp_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1491
+ *
+ * def __set__(self, mode):
+ * elm_entry_cnp_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def anchor_hover_parent_set(self, evasObject anchor_hover_parent):
+ */
+ __pyx_t_1 = ((Elm_Cnp_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_entry_cnp_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.cnp_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_141anchor_hover_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_anchor_hover_parent); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_140anchor_hover_parent_set[] = "Set the parent of the hover popup\n\n Sets the parent object to use by the hover created by the entry\n when an anchor is clicked. See L{Hover} for more details on this.\n\n @param parent: The object to use as parent for the hover\n @type parent: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_141anchor_hover_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_anchor_hover_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_anchor_hover_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "anchor_hover_parent", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_140anchor_hover_parent_set(((struct PyElementaryEntry *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_anchor_hover_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1493
+ * elm_entry_cnp_mode_set(self.obj, mode)
+ *
+ * def anchor_hover_parent_set(self, evasObject anchor_hover_parent): # <<<<<<<<<<<<<<
+ * """Set the parent of the hover popup
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_140anchor_hover_parent_set(struct PyElementaryEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_anchor_hover_parent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1503
+ *
+ * """
+ * elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def anchor_hover_parent_get(self):
+ */
+ elm_entry_anchor_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_anchor_hover_parent->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_143anchor_hover_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_142anchor_hover_parent_get[] = "Get the parent of the hover popup\n\n Get the object used as parent for the hover created by the entry\n widget. See L{Hover} for more details on this.\n If no parent is set, the same entry object will be used.\n\n @return: The object used as parent for the hover, None if none is set.\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_143anchor_hover_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_142anchor_hover_parent_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1505
+ * elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj)
+ *
+ * def anchor_hover_parent_get(self): # <<<<<<<<<<<<<<
+ * """Get the parent of the hover popup
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_142anchor_hover_parent_get(struct PyElementaryEntry *__pyx_v_self) {
+ Evas_Object *__pyx_v_anchor_hover_parent;
+ 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("anchor_hover_parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1517
+ * """
+ * cdef Evas_Object *anchor_hover_parent
+ * anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj) # <<<<<<<<<<<<<<
+ * return Object_from_instance(anchor_hover_parent)
+ *
+ */
+ __pyx_v_anchor_hover_parent = elm_entry_anchor_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1518
+ * cdef Evas_Object *anchor_hover_parent
+ * anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj)
+ * return Object_from_instance(anchor_hover_parent) # <<<<<<<<<<<<<<
+ *
+ * property anchor_hover_parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_anchor_hover_parent)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.anchor_hover_parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_19anchor_hover_parent_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_19anchor_hover_parent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_19anchor_hover_parent___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1529
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *anchor_hover_parent
+ * anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_19anchor_hover_parent___get__(struct PyElementaryEntry *__pyx_v_self) {
+ Evas_Object *__pyx_v_anchor_hover_parent;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1531
+ * def __get__(self):
+ * cdef Evas_Object *anchor_hover_parent
+ * anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj) # <<<<<<<<<<<<<<
+ * return Object_from_instance(anchor_hover_parent)
+ *
+ */
+ __pyx_v_anchor_hover_parent = elm_entry_anchor_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1532
+ * cdef Evas_Object *anchor_hover_parent
+ * anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj)
+ * return Object_from_instance(anchor_hover_parent) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, evasObject anchor_hover_parent):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_anchor_hover_parent)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.anchor_hover_parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_19anchor_hover_parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_anchor_hover_parent); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_19anchor_hover_parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_anchor_hover_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_anchor_hover_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "anchor_hover_parent", 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_19anchor_hover_parent_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_anchor_hover_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1534
+ * return Object_from_instance(anchor_hover_parent)
+ *
+ * def __set__(self, evasObject anchor_hover_parent): # <<<<<<<<<<<<<<
+ * elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_19anchor_hover_parent_2__set__(struct PyElementaryEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_anchor_hover_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1535
+ *
+ * def __set__(self, evasObject anchor_hover_parent):
+ * elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def anchor_hover_style_set(self, style):
+ */
+ elm_entry_anchor_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_anchor_hover_parent->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_145anchor_hover_style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_144anchor_hover_style_set[] = "Set the style that the hover should use\n\n When creating the popup hover, entry will request that it's\n themed according to C{style}.\n\n Setting style to C{None} means disabling automatic hover.\n\n @see: L{Object.style_set()}\n\n @param style: The style to use for the underlying hover\n @type style: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_145anchor_hover_style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_style_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_144anchor_hover_style_set(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1537
+ * elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj)
+ *
+ * def anchor_hover_style_set(self, style): # <<<<<<<<<<<<<<
+ * """Set the style that the hover should use
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_144anchor_hover_style_set(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1551
+ *
+ * """
+ * elm_entry_anchor_hover_style_set(self.obj, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def anchor_hover_style_get(self):
+ */
+ elm_entry_anchor_hover_style_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_147anchor_hover_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_146anchor_hover_style_get[] = "Get the style that the hover created by entry will use.\n\n @return: The style to use by the hover. C{None} means the default is used.\n\n @see: L{Object.style_set()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_147anchor_hover_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_146anchor_hover_style_get(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1553
+ * elm_entry_anchor_hover_style_set(self.obj, _cfruni(style))
+ *
+ * def anchor_hover_style_get(self): # <<<<<<<<<<<<<<
+ * """Get the style that the hover created by entry will use.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_146anchor_hover_style_get(struct PyElementaryEntry *__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("anchor_hover_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1561
+ *
+ * """
+ * return _ctouni(elm_entry_anchor_hover_style_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property anchor_hover_style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_entry_anchor_hover_style_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1561; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.anchor_hover_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_18anchor_hover_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_18anchor_hover_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_18anchor_hover_style___get__(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1576
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_entry_anchor_hover_style_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_18anchor_hover_style___get__(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1577
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_entry_anchor_hover_style_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, style):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_entry_anchor_hover_style_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Entry.anchor_hover_style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Entry_18anchor_hover_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Entry_18anchor_hover_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_10elementary_12c_elementary_5Entry_18anchor_hover_style_2__set__(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1579
+ * return _ctouni(elm_entry_anchor_hover_style_get(self.obj))
+ *
+ * def __set__(self, style): # <<<<<<<<<<<<<<
+ * elm_entry_anchor_hover_style_set(self.obj, _cfruni(style))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Entry_18anchor_hover_style_2__set__(struct PyElementaryEntry *__pyx_v_self, PyObject *__pyx_v_style) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1580
+ *
+ * def __set__(self, style):
+ * elm_entry_anchor_hover_style_set(self.obj, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def anchor_hover_end(self):
+ */
+ elm_entry_anchor_hover_style_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_149anchor_hover_end(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_148anchor_hover_end[] = "Ends the hover popup in the entry\n\n When an anchor is clicked, the entry widget will create a hover\n object to use as a popup with user provided content. This function\n terminates this popup, returning the entry to its normal state.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_149anchor_hover_end(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_end (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_148anchor_hover_end(((struct PyElementaryEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1582
+ * elm_entry_anchor_hover_style_set(self.obj, _cfruni(style))
+ *
+ * def anchor_hover_end(self): # <<<<<<<<<<<<<<
+ * """Ends the hover popup in the entry
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_148anchor_hover_end(struct PyElementaryEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("anchor_hover_end", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1590
+ *
+ * """
+ * elm_entry_anchor_hover_end(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ elm_entry_anchor_hover_end(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_151callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_150callback_changed_add[] = "The text within the entry was changed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_151callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[0]; __pyx_lineno = 1592; __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[0]; __pyx_lineno = 1592; __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("elementary.c_elementary.Entry.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_150callback_changed_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1592
+ * elm_entry_anchor_hover_end(self.obj)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The text within the entry was changed."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_150callback_changed_add(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1594
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """The text within the entry was changed."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1594; __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[0]; __pyx_lineno = 1594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_153callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_153callback_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_10elementary_12c_elementary_5Entry_152callback_changed_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1596
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_152callback_changed_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1597
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_user_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1597; __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[0]; __pyx_lineno = 1597; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1597; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_155callback_changed_user_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_154callback_changed_user_add[] = "The text within the entry was changed because of user interaction.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_155callback_changed_user_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_changed_user_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_user_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1599; __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_user_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1599; __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("elementary.c_elementary.Entry.callback_changed_user_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_154callback_changed_user_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1599
+ * self._callback_del("changed", func)
+ *
+ * def callback_changed_user_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The text within the entry was changed because of user interaction."""
+ * self._callback_add("changed,user", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_154callback_changed_user_add(struct PyElementaryEntry *__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_user_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1601
+ * def callback_changed_user_add(self, func, *args, **kwargs):
+ * """The text within the entry was changed because of user interaction."""
+ * self._callback_add("changed,user", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_user_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1601; __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[0]; __pyx_lineno = 1601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_77));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_77));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_77));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_changed_user_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_157callback_changed_user_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_157callback_changed_user_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_changed_user_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_156callback_changed_user_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1603
+ * self._callback_add("changed,user", func, *args, **kwargs)
+ *
+ * def callback_changed_user_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed,user", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_156callback_changed_user_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_user_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1604
+ *
+ * def callback_changed_user_del(self, func):
+ * self._callback_del("changed,user", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1604; __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[0]; __pyx_lineno = 1604; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_77));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_77));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_77));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1604; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_changed_user_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_159callback_activated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_158callback_activated_add[] = "The enter key was pressed on a single line entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_159callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[0]; __pyx_lineno = 1606; __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[0]; __pyx_lineno = 1606; __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("elementary.c_elementary.Entry.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_158callback_activated_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1606
+ * self._callback_del("changed,user", func)
+ *
+ * def callback_activated_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The enter key was pressed on a single line entry."""
+ * self._callback_add("activated", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_158callback_activated_add(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1608
+ * def callback_activated_add(self, func, *args, **kwargs):
+ * """The enter key was pressed on a single line entry."""
+ * self._callback_add("activated", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1608; __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[0]; __pyx_lineno = 1608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__activated));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_161callback_activated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_161callback_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_10elementary_12c_elementary_5Entry_160callback_activated_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1610
+ * self._callback_add("activated", func, *args, **kwargs)
+ *
+ * def callback_activated_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("activated", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_160callback_activated_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_activated_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1611
+ *
+ * def callback_activated_del(self, func):
+ * self._callback_del("activated", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1611; __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[0]; __pyx_lineno = 1611; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__activated));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1611; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_activated_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_163callback_press_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_162callback_press_add[] = "A mouse button has been pressed on the entry.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_163callback_press_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_press_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1613; __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_press_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1613; __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("elementary.c_elementary.Entry.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_162callback_press_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1613
+ * self._callback_del("activated", func)
+ *
+ * def callback_press_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A mouse button has been pressed on the entry."""
+ * self._callback_add("press", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_162callback_press_add(struct PyElementaryEntry *__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_press_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1615
+ * def callback_press_add(self, func, *args, **kwargs):
+ * """A mouse button has been pressed on the entry."""
+ * self._callback_add("press", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __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[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1615; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_165callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_165callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_164callback_press_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1617
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ * def callback_press_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("press", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_164callback_press_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_press_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1618
+ *
+ * def callback_press_del(self, func):
+ * self._callback_del("press", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1618; __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[0]; __pyx_lineno = 1618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_press_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_167callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_166callback_longpressed_add[] = "A mouse button has been pressed and held for a couple seconds.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_167callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1620; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1620; __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("elementary.c_elementary.Entry.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_166callback_longpressed_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1620
+ * self._callback_del("press", func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A mouse button has been pressed and held for a couple seconds."""
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_166callback_longpressed_add(struct PyElementaryEntry *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1622
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * """A mouse button has been pressed and held for a couple seconds."""
+ * self._callback_add("longpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1622; __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[0]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_169callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_169callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_168callback_longpressed_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1624
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("longpressed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_168callback_longpressed_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1625
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del("longpressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1625; __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[0]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1625; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_171callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_170callback_clicked_add[] = "The entry has been clicked (mouse press and release).";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_171callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[0]; __pyx_lineno = 1627; __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[0]; __pyx_lineno = 1627; __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("elementary.c_elementary.Entry.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_170callback_clicked_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1627
+ * self._callback_del("longpressed", func)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been clicked (mouse press and release)."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_170callback_clicked_add(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1629
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The entry has been clicked (mouse press and release)."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __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[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_173callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_173callback_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_10elementary_12c_elementary_5Entry_172callback_clicked_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1631
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_172callback_clicked_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1632
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_double_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1632; __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[0]; __pyx_lineno = 1632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_175callback_double_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_174callback_double_clicked_add[] = "The entry has been double clicked.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_175callback_double_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_double_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_double_clicked_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1634; __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_double_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1634; __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("elementary.c_elementary.Entry.callback_double_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_174callback_double_clicked_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1634
+ * self._callback_del("clicked", func)
+ *
+ * def callback_double_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been double clicked."""
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_174callback_double_clicked_add(struct PyElementaryEntry *__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_double_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1636
+ * def callback_double_clicked_add(self, func, *args, **kwargs):
+ * """The entry has been double clicked."""
+ * self._callback_add("clicked,double", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_double_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1636; __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[0]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_double_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_177callback_double_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_177callback_double_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_double_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_176callback_double_clicked_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1638
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ * def callback_double_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,double", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_176callback_double_clicked_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_double_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1639
+ *
+ * def callback_double_clicked_del(self, func):
+ * self._callback_del("clicked,double", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_triple_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1639; __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[0]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_double_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_179callback_triple_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_178callback_triple_clicked_add[] = "The entry has been triple clicked.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_179callback_triple_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_triple_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_triple_clicked_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1641; __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_triple_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1641; __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("elementary.c_elementary.Entry.callback_triple_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_178callback_triple_clicked_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1641
+ * self._callback_del("clicked,double", func)
+ *
+ * def callback_triple_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been triple clicked."""
+ * self._callback_add("clicked,triple", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_178callback_triple_clicked_add(struct PyElementaryEntry *__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_triple_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1643
+ * def callback_triple_clicked_add(self, func, *args, **kwargs):
+ * """The entry has been triple clicked."""
+ * self._callback_add("clicked,triple", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_triple_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __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[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_79));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_79));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_79));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1643; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_triple_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_181callback_triple_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_181callback_triple_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_triple_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_180callback_triple_clicked_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1645
+ * self._callback_add("clicked,triple", func, *args, **kwargs)
+ *
+ * def callback_triple_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,triple", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_180callback_triple_clicked_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_triple_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1646
+ *
+ * def callback_triple_clicked_del(self, func):
+ * self._callback_del("clicked,triple", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_focused_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1646; __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[0]; __pyx_lineno = 1646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_79));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_79));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_79));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_triple_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_183callback_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_182callback_focused_add[] = "The entry has received focus.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_183callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[0]; __pyx_lineno = 1648; __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[0]; __pyx_lineno = 1648; __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("elementary.c_elementary.Entry.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_182callback_focused_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1648
+ * self._callback_del("clicked,triple", func)
+ *
+ * def callback_focused_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has received focus."""
+ * self._callback_add("focused", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_182callback_focused_add(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1650
+ * def callback_focused_add(self, func, *args, **kwargs):
+ * """The entry has received focus."""
+ * self._callback_add("focused", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_focused_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1650; __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[0]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__focused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__focused));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1650; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_185callback_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_185callback_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_10elementary_12c_elementary_5Entry_184callback_focused_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1652
+ * self._callback_add("focused", func, *args, **kwargs)
+ *
+ * def callback_focused_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("focused", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_184callback_focused_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_focused_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1653
+ *
+ * def callback_focused_del(self, func):
+ * self._callback_del("focused", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1653; __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[0]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__focused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__focused));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_focused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_187callback_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_186callback_unfocused_add[] = "The entry has lost focus.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_187callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[0]; __pyx_lineno = 1655; __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[0]; __pyx_lineno = 1655; __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("elementary.c_elementary.Entry.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_186callback_unfocused_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1655
+ * self._callback_del("focused", func)
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has lost focus."""
+ * self._callback_add("unfocused", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_186callback_unfocused_add(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1657
+ * def callback_unfocused_add(self, func, *args, **kwargs):
+ * """The entry has lost focus."""
+ * self._callback_add("unfocused", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfocused_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __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[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfocused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfocused));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_189callback_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_189callback_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_10elementary_12c_elementary_5Entry_188callback_unfocused_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1659
+ * self._callback_add("unfocused", func, *args, **kwargs)
+ *
+ * def callback_unfocused_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unfocused", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_188callback_unfocused_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unfocused_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1660
+ *
+ * def callback_unfocused_del(self, func):
+ * self._callback_del("unfocused", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_paste_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1660; __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[0]; __pyx_lineno = 1660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfocused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfocused));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_unfocused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_191callback_selection_paste_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_190callback_selection_paste_add[] = "A paste of the clipboard contents was requested.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_191callback_selection_paste_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_paste_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_paste_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1662; __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_selection_paste_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1662; __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("elementary.c_elementary.Entry.callback_selection_paste_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_190callback_selection_paste_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1662
+ * self._callback_del("unfocused", func)
+ *
+ * def callback_selection_paste_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A paste of the clipboard contents was requested."""
+ * self._callback_add("selection,paste", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_190callback_selection_paste_add(struct PyElementaryEntry *__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_selection_paste_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1664
+ * def callback_selection_paste_add(self, func, *args, **kwargs):
+ * """A paste of the clipboard contents was requested."""
+ * self._callback_add("selection,paste", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_paste_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1664; __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[0]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_80));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_80));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_80));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_selection_paste_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_193callback_selection_paste_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_193callback_selection_paste_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_paste_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_192callback_selection_paste_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1666
+ * self._callback_add("selection,paste", func, *args, **kwargs)
+ *
+ * def callback_selection_paste_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,paste", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_192callback_selection_paste_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_paste_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1667
+ *
+ * def callback_selection_paste_del(self, func):
+ * self._callback_del("selection,paste", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_copy_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1667; __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[0]; __pyx_lineno = 1667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_80));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_80));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_80));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_selection_paste_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_195callback_selection_copy_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_194callback_selection_copy_add[] = "A copy of the selected text into the clipboard was requested.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_195callback_selection_copy_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_copy_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_copy_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1669; __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_selection_copy_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1669; __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("elementary.c_elementary.Entry.callback_selection_copy_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_194callback_selection_copy_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1669
+ * self._callback_del("selection,paste", func)
+ *
+ * def callback_selection_copy_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A copy of the selected text into the clipboard was requested."""
+ * self._callback_add("selection,copy", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_194callback_selection_copy_add(struct PyElementaryEntry *__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_selection_copy_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1671
+ * def callback_selection_copy_add(self, func, *args, **kwargs):
+ * """A copy of the selected text into the clipboard was requested."""
+ * self._callback_add("selection,copy", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_copy_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1671; __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[0]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_81));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_81));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_81));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1671; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_selection_copy_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_197callback_selection_copy_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_197callback_selection_copy_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_copy_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_196callback_selection_copy_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1673
+ * self._callback_add("selection,copy", func, *args, **kwargs)
+ *
+ * def callback_selection_copy_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,copy", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_196callback_selection_copy_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_copy_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1674
+ *
+ * def callback_selection_copy_del(self, func):
+ * self._callback_del("selection,copy", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_cut_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1674; __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[0]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_81));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_81));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_81));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_selection_copy_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_199callback_selection_cut_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_198callback_selection_cut_add[] = "A cut of the selected text into the clipboard was requested.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_199callback_selection_cut_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_cut_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_cut_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1676; __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_selection_cut_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1676; __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("elementary.c_elementary.Entry.callback_selection_cut_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_198callback_selection_cut_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1676
+ * self._callback_del("selection,copy", func)
+ *
+ * def callback_selection_cut_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A cut of the selected text into the clipboard was requested."""
+ * self._callback_add("selection,cut", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_198callback_selection_cut_add(struct PyElementaryEntry *__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_selection_cut_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1678
+ * def callback_selection_cut_add(self, func, *args, **kwargs):
+ * """A cut of the selected text into the clipboard was requested."""
+ * self._callback_add("selection,cut", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_cut_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __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[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_82));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_82));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_82));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_selection_cut_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_201callback_selection_cut_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_201callback_selection_cut_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_cut_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_200callback_selection_cut_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1680
+ * self._callback_add("selection,cut", func, *args, **kwargs)
+ *
+ * def callback_selection_cut_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,cut", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_200callback_selection_cut_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_cut_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1681
+ *
+ * def callback_selection_cut_del(self, func):
+ * self._callback_del("selection,cut", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1681; __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[0]; __pyx_lineno = 1681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_82));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_82));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_82));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_selection_cut_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_203callback_selection_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_202callback_selection_start_add[] = "A selection has begun and no previous selection existed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_203callback_selection_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_start_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1683; __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_selection_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1683; __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("elementary.c_elementary.Entry.callback_selection_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_202callback_selection_start_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1683
+ * self._callback_del("selection,cut", func)
+ *
+ * def callback_selection_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A selection has begun and no previous selection existed."""
+ * self._callback_add("selection,start", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_202callback_selection_start_add(struct PyElementaryEntry *__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_selection_start_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1685
+ * def callback_selection_start_add(self, func, *args, **kwargs):
+ * """A selection has begun and no previous selection existed."""
+ * self._callback_add("selection,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1685; __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[0]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_83));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_83));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_83));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_selection_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_205callback_selection_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_205callback_selection_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_start_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_204callback_selection_start_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1687
+ * self._callback_add("selection,start", func, *args, **kwargs)
+ *
+ * def callback_selection_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,start", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_204callback_selection_start_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1688
+ *
+ * def callback_selection_start_del(self, func):
+ * self._callback_del("selection,start", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1688; __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[0]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_83));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_83));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_83));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_selection_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_207callback_selection_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_206callback_selection_changed_add[] = "The current selection has changed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_207callback_selection_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_changed_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1690; __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_selection_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1690; __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("elementary.c_elementary.Entry.callback_selection_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_206callback_selection_changed_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1690
+ * self._callback_del("selection,start", func)
+ *
+ * def callback_selection_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The current selection has changed."""
+ * self._callback_add("selection,changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_206callback_selection_changed_add(struct PyElementaryEntry *__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_selection_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1692
+ * def callback_selection_changed_add(self, func, *args, **kwargs):
+ * """The current selection has changed."""
+ * self._callback_add("selection,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __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[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_84));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_84));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_84));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_selection_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_209callback_selection_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_209callback_selection_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_208callback_selection_changed_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1694
+ * self._callback_add("selection,changed", func, *args, **kwargs)
+ *
+ * def callback_selection_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_208callback_selection_changed_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1695
+ *
+ * def callback_selection_changed_del(self, func):
+ * self._callback_del("selection,changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_cleared_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1695; __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[0]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_84));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_84));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_84));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_selection_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_211callback_selection_cleared_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_210callback_selection_cleared_add[] = "The current selection has been cleared.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_211callback_selection_cleared_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_cleared_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_cleared_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1697; __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_selection_cleared_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1697; __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("elementary.c_elementary.Entry.callback_selection_cleared_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_210callback_selection_cleared_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1697
+ * self._callback_del("selection,changed", func)
+ *
+ * def callback_selection_cleared_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The current selection has been cleared."""
+ * self._callback_add("selection,cleared", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_210callback_selection_cleared_add(struct PyElementaryEntry *__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_selection_cleared_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1699
+ * def callback_selection_cleared_add(self, func, *args, **kwargs):
+ * """The current selection has been cleared."""
+ * self._callback_add("selection,cleared", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_cleared_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __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[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_85));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_85));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_85));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_selection_cleared_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_213callback_selection_cleared_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_213callback_selection_cleared_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_cleared_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_212callback_selection_cleared_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1701
+ * self._callback_add("selection,cleared", func, *args, **kwargs)
+ *
+ * def callback_selection_cleared_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,cleared", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_212callback_selection_cleared_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_cleared_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1702
+ *
+ * def callback_selection_cleared_del(self, func):
+ * self._callback_del("selection,cleared", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_cursor_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1702; __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[0]; __pyx_lineno = 1702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_85));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_85));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_85));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_selection_cleared_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_215callback_cursor_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_214callback_cursor_changed_add[] = "The cursor has changed position.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_215callback_cursor_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_cursor_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_cursor_changed_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1704; __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_cursor_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1704; __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("elementary.c_elementary.Entry.callback_cursor_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_214callback_cursor_changed_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1704
+ * self._callback_del("selection,cleared", func)
+ *
+ * def callback_cursor_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The cursor has changed position."""
+ * self._callback_add("cursor,changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_214callback_cursor_changed_add(struct PyElementaryEntry *__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_cursor_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1706
+ * def callback_cursor_changed_add(self, func, *args, **kwargs):
+ * """The cursor has changed position."""
+ * self._callback_add("cursor,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_cursor_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1706; __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[0]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_86));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_86));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_86));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_cursor_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_217callback_cursor_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_217callback_cursor_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_cursor_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_216callback_cursor_changed_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1708
+ * self._callback_add("cursor,changed", func, *args, **kwargs)
+ *
+ * def callback_cursor_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("cursor,changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_216callback_cursor_changed_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_cursor_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1709
+ *
+ * def callback_cursor_changed_del(self, func):
+ * self._callback_del("cursor,changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1709; __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[0]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_86));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_86));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_86));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_cursor_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_219callback_anchor_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_218callback_anchor_clicked_add[] = "An anchor has been clicked. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_219callback_anchor_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_anchor_clicked_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1711; __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_anchor_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1711; __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("elementary.c_elementary.Entry.callback_anchor_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_218callback_anchor_clicked_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1711
+ * self._callback_del("cursor,changed", func)
+ *
+ * def callback_anchor_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """An anchor has been clicked. The event_info
+ * parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_218callback_anchor_clicked_add(struct PyElementaryEntry *__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_anchor_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1716
+ *
+ * """
+ * self._callback_add_full("anchor,clicked", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1717
+ * """
+ * self._callback_add_full("anchor,clicked", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_clicked_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_87));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_87));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_87));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1716
+ *
+ * """
+ * self._callback_add_full("anchor,clicked", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1717
+ * """
+ * self._callback_add_full("anchor,clicked", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_clicked_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1716; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_anchor_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_221callback_anchor_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_221callback_anchor_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_220callback_anchor_clicked_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1719
+ * func, *args, **kwargs)
+ *
+ * def callback_anchor_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("anchor,clicked", _entryanchor_conv,
+ * func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_220callback_anchor_clicked_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_anchor_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1720
+ *
+ * def callback_anchor_clicked_del(self, func):
+ * self._callback_del_full("anchor,clicked", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1721
+ * def callback_anchor_clicked_del(self, func):
+ * self._callback_del_full("anchor,clicked", _entryanchor_conv,
+ * func) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_in_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_87));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_87));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_87));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1720; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_anchor_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_223callback_anchor_in_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_222callback_anchor_in_add[] = "Mouse cursor has moved into an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_223callback_anchor_in_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_in_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_anchor_in_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1723; __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_anchor_in_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1723; __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("elementary.c_elementary.Entry.callback_anchor_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_222callback_anchor_in_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1723
+ * func)
+ *
+ * def callback_anchor_in_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Mouse cursor has moved into an anchor. The event_info
+ * parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_222callback_anchor_in_add(struct PyElementaryEntry *__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_anchor_in_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1728
+ *
+ * """
+ * self._callback_add_full("anchor,in", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1729
+ * """
+ * self._callback_add_full("anchor,in", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_in_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_88));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_88));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_88));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1728
+ *
+ * """
+ * self._callback_add_full("anchor,in", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1729
+ * """
+ * self._callback_add_full("anchor,in", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_in_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1728; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_anchor_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_225callback_anchor_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_225callback_anchor_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_in_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_224callback_anchor_in_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1731
+ * func, *args, **kwargs)
+ *
+ * def callback_anchor_in_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("anchor,in", _entryanchor_conv,
+ * func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_224callback_anchor_in_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_anchor_in_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1732
+ *
+ * def callback_anchor_in_del(self, func):
+ * self._callback_del_full("anchor,in", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1733
+ * def callback_anchor_in_del(self, func):
+ * self._callback_del_full("anchor,in", _entryanchor_conv,
+ * func) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_out_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_88));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_88));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_88));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1732; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_anchor_in_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_227callback_anchor_out_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_226callback_anchor_out_add[] = "Mouse cursor has moved out of an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_227callback_anchor_out_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_out_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_anchor_out_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1735; __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_anchor_out_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1735; __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("elementary.c_elementary.Entry.callback_anchor_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_226callback_anchor_out_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1735
+ * func)
+ *
+ * def callback_anchor_out_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Mouse cursor has moved out of an anchor. The event_info
+ * parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_226callback_anchor_out_add(struct PyElementaryEntry *__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_anchor_out_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1740
+ *
+ * """
+ * self._callback_add_full("anchor,out", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1741
+ * """
+ * self._callback_add_full("anchor,out", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_out_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_89));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_89));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_89));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1740
+ *
+ * """
+ * self._callback_add_full("anchor,out", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1741
+ * """
+ * self._callback_add_full("anchor,out", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_out_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_anchor_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_229callback_anchor_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_229callback_anchor_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_out_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_228callback_anchor_out_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1743
+ * func, *args, **kwargs)
+ *
+ * def callback_anchor_out_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("anchor,out", _entryanchor_conv,
+ * func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_228callback_anchor_out_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_anchor_out_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1744
+ *
+ * def callback_anchor_out_del(self, func):
+ * self._callback_del_full("anchor,out", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1745
+ * def callback_anchor_out_del(self, func):
+ * self._callback_del_full("anchor,out", _entryanchor_conv,
+ * func) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_up_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_89));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_89));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_89));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1744; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_anchor_out_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_231callback_anchor_up_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_230callback_anchor_up_add[] = "Mouse button has been unpressed on an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_231callback_anchor_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_anchor_up_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1747; __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_anchor_up_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1747; __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("elementary.c_elementary.Entry.callback_anchor_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_230callback_anchor_up_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1747
+ * func)
+ *
+ * def callback_anchor_up_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Mouse button has been unpressed on an anchor. The event_info
+ * parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_230callback_anchor_up_add(struct PyElementaryEntry *__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_anchor_up_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1752
+ *
+ * """
+ * self._callback_add_full("anchor,up", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1753
+ * """
+ * self._callback_add_full("anchor,up", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_up_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_90));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_90));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_90));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1752
+ *
+ * """
+ * self._callback_add_full("anchor,up", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1753
+ * """
+ * self._callback_add_full("anchor,up", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_up_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1752; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_anchor_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_233callback_anchor_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_233callback_anchor_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_up_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_232callback_anchor_up_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1755
+ * func, *args, **kwargs)
+ *
+ * def callback_anchor_up_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("anchor,up", _entryanchor_conv,
+ * func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_232callback_anchor_up_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_anchor_up_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1756
+ *
+ * def callback_anchor_up_del(self, func):
+ * self._callback_del_full("anchor,up", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1757
+ * def callback_anchor_up_del(self, func):
+ * self._callback_del_full("anchor,up", _entryanchor_conv,
+ * func) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_down_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_90));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_90));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_90));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_anchor_up_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_235callback_anchor_down_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_234callback_anchor_down_add[] = "Mouse button has been pressed on an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_235callback_anchor_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_anchor_down_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1759; __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_anchor_down_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1759; __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("elementary.c_elementary.Entry.callback_anchor_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_234callback_anchor_down_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1759
+ * func)
+ *
+ * def callback_anchor_down_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Mouse button has been pressed on an anchor. The event_info
+ * parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_234callback_anchor_down_add(struct PyElementaryEntry *__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_anchor_down_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1764
+ *
+ * """
+ * self._callback_add_full("anchor,down", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1765
+ * """
+ * self._callback_add_full("anchor,down", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_down_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_91));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_91));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_91));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1764
+ *
+ * """
+ * self._callback_add_full("anchor,down", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1765
+ * """
+ * self._callback_add_full("anchor,down", _entryanchor_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_down_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1764; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_anchor_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_237callback_anchor_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_237callback_anchor_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_down_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_236callback_anchor_down_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1767
+ * func, *args, **kwargs)
+ *
+ * def callback_anchor_down_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("anchor,down", _entryanchor_conv,
+ * func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_236callback_anchor_down_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_anchor_down_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1768
+ *
+ * def callback_anchor_down_del(self, func):
+ * self._callback_del_full("anchor,down", _entryanchor_conv, # <<<<<<<<<<<<<<
+ * func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1768; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___entryanchor_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1768; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1769
+ * def callback_anchor_down_del(self, func):
+ * self._callback_del_full("anchor,down", _entryanchor_conv,
+ * func) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_hover_opened_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1768; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_91));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_91));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_91));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1768; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_anchor_down_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_239callback_anchor_hover_opened_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_239callback_anchor_hover_opened_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_hover_opened_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_anchor_hover_opened_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1771; __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_anchor_hover_opened_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1771; __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("elementary.c_elementary.Entry.callback_anchor_hover_opened_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_238callback_anchor_hover_opened_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1771
+ * func)
+ *
+ * def callback_anchor_hover_opened_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("anchor,hover,opened", _entryanchorhover_conv,
+ * func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_238callback_anchor_hover_opened_add(struct PyElementaryEntry *__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_anchor_hover_opened_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1772
+ *
+ * def callback_anchor_hover_opened_add(self, func, *args, **kwargs):
+ * self._callback_add_full("anchor,hover,opened", _entryanchorhover_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_93); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1773
+ * def callback_anchor_hover_opened_add(self, func, *args, **kwargs):
+ * self._callback_add_full("anchor,hover,opened", _entryanchorhover_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_hover_opened_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_92));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_92));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_92));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1772
+ *
+ * def callback_anchor_hover_opened_add(self, func, *args, **kwargs):
+ * self._callback_add_full("anchor,hover,opened", _entryanchorhover_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1773
+ * def callback_anchor_hover_opened_add(self, func, *args, **kwargs):
+ * self._callback_add_full("anchor,hover,opened", _entryanchorhover_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_anchor_hover_opened_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_anchor_hover_opened_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_241callback_anchor_hover_opened_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_241callback_anchor_hover_opened_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_anchor_hover_opened_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_240callback_anchor_hover_opened_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1775
+ * func, *args, **kwargs)
+ *
+ * def callback_anchor_hover_opened_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("anchor,hover,opened", _entryanchorhover_conv,
+ * func)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_240callback_anchor_hover_opened_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_anchor_hover_opened_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1776
+ *
+ * def callback_anchor_hover_opened_del(self, func):
+ * self._callback_del_full("anchor,hover,opened", _entryanchorhover_conv, # <<<<<<<<<<<<<<
+ * func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_93); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1777
+ * def callback_anchor_hover_opened_del(self, func):
+ * self._callback_del_full("anchor,hover,opened", _entryanchorhover_conv,
+ * func) # <<<<<<<<<<<<<<
+ *
+ * def callback_preedit_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_92));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_92));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_92));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1776; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_anchor_hover_opened_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_243callback_preedit_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_242callback_preedit_changed_add[] = "The preedit string has changed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_243callback_preedit_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_preedit_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_preedit_changed_add") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1779; __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_preedit_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1779; __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("elementary.c_elementary.Entry.callback_preedit_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_242callback_preedit_changed_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1779
+ * func)
+ *
+ * def callback_preedit_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The preedit string has changed."""
+ * self._callback_add("preedit,changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_242callback_preedit_changed_add(struct PyElementaryEntry *__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_preedit_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1781
+ * def callback_preedit_changed_add(self, func, *args, **kwargs):
+ * """The preedit string has changed."""
+ * self._callback_add("preedit,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_preedit_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __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[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_94));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_94));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_94));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_preedit_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_245callback_preedit_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_245callback_preedit_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_preedit_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_244callback_preedit_changed_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1783
+ * self._callback_add("preedit,changed", func, *args, **kwargs)
+ *
+ * def callback_preedit_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("preedit,changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_244callback_preedit_changed_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_preedit_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1784
+ *
+ * def callback_preedit_changed_del(self, func):
+ * self._callback_del("preedit,changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1784; __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[0]; __pyx_lineno = 1784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_94));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_94));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_94));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_preedit_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_247callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Entry_246callback_language_changed_add[] = "Program language changed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_247callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[0]; __pyx_lineno = 1786; __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[0]; __pyx_lineno = 1786; __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("elementary.c_elementary.Entry.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_246callback_language_changed_add(((struct PyElementaryEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1786
+ * self._callback_del("preedit,changed", func)
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Program language changed."""
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_246callback_language_changed_add(struct PyElementaryEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1788
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ * """Program language changed."""
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1788; __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[0]; __pyx_lineno = 1788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1788; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Entry.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_249callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Entry_249callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Entry_248callback_language_changed_del(((struct PyElementaryEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1790
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Entry_248callback_language_changed_del(struct PyElementaryEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1791
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("entry", Entry)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1791; __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[0]; __pyx_lineno = 1791; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1791; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Entry.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Bubble_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Bubble___init__[] = "Add a new bubble to the parent\n\n This function adds a text bubble to the given parent evas object.\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: The new object or None if it cannot be created\n @rtype: L{Object}\n\n ";
+struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_6Bubble___init__;
+static int __pyx_pw_10elementary_12c_elementary_6Bubble_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 55; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[26]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Bubble.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Bubble___init__(((struct PyElementaryBubble *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":55
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Add a new bubble to the parent
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Bubble___init__(struct PyElementaryBubble *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":66
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_bubble_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 66; __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[26]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":67
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_bubble_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def pos_set(self, pos):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Bubble *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_bubble_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Bubble.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_3pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Bubble_2pos_set[] = "Set the corner of the bubble\n\n This function sets the corner of the bubble. The corner will be used\n to determine where the arrow in the frame points to and where label,\n icon and info are shown.\n\n @param pos: The given corner for the bubble.\n @type pos: Elm_Bubble_Pos\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_3pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pos_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Bubble_2pos_set(((struct PyElementaryBubble *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":69
+ * self._set_obj(elm_bubble_add(parent.obj))
+ *
+ * def pos_set(self, pos): # <<<<<<<<<<<<<<
+ * """Set the corner of the bubble
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_2pos_set(struct PyElementaryBubble *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Bubble_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pos_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":80
+ *
+ * """
+ * elm_bubble_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def pos_get(self):
+ */
+ __pyx_t_1 = ((Elm_Bubble_Pos)PyInt_AsLong(__pyx_v_pos)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_bubble_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Bubble.pos_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_5pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Bubble_4pos_get[] = "Get the corner of the bubble\n\n This function gets the selected corner of the bubble.\n\n @return: The given corner for the bubble.\n @rtype: Elm_Bubble_Pos\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_5pos_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_10elementary_12c_elementary_6Bubble_4pos_get(((struct PyElementaryBubble *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":82
+ * elm_bubble_pos_set(self.obj, pos)
+ *
+ * def pos_get(self): # <<<<<<<<<<<<<<
+ * """Get the corner of the bubble
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_4pos_get(struct PyElementaryBubble *__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("pos_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":91
+ *
+ * """
+ * return elm_bubble_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property pos:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_bubble_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Bubble.pos_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_3pos_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_3pos_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Bubble_3pos___get__(((struct PyElementaryBubble *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":103
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_bubble_pos_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_3pos___get__(struct PyElementaryBubble *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":104
+ * """
+ * def __get__(self):
+ * return elm_bubble_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_bubble_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Bubble.pos.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_6Bubble_3pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_6Bubble_3pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Bubble_3pos_2__set__(((struct PyElementaryBubble *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":106
+ * return elm_bubble_pos_get(self.obj)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_bubble_pos_set(self.obj, value)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_6Bubble_3pos_2__set__(struct PyElementaryBubble *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Bubble_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":107
+ *
+ * def __set__(self, value):
+ * elm_bubble_pos_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Bubble_Pos)PyInt_AsLong(__pyx_v_value)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_bubble_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Bubble.pos.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_7callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_6Bubble_6callback_clicked_add[] = "This is called when a user has clicked the bubble.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_7callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[26]; __pyx_lineno = 109; __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[26]; __pyx_lineno = 109; __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("elementary.c_elementary.Bubble.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Bubble_6callback_clicked_add(((struct PyElementaryBubble *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":109
+ * elm_bubble_pos_set(self.obj, value)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has clicked the bubble."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_6callback_clicked_add(struct PyElementaryBubble *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":111
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """This is called when a user has clicked the bubble."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 111; __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[26]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Bubble.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_9callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_6Bubble_9callback_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_10elementary_12c_elementary_6Bubble_8callback_clicked_del(((struct PyElementaryBubble *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":113
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_6Bubble_8callback_clicked_del(struct PyElementaryBubble *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":114
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("bubble", Bubble)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 114; __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[26]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Bubble.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 38; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[27]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo___init__(((struct PyElementaryPhoto *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":38
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_photo_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo___init__(struct PyElementaryPhoto *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":39
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_photo_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 39; __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[27]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":40
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_photo_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def file_set(self, filename):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Photo *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_photo_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Photo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_v_filename); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_2file_set[] = "Set the file that will be used as photo\n\n @param file: The path to file that will be used as photo\n @type file: string\n\n @return: (True = success, False = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_v_filename) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_2file_set(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_filename));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":42
+ * self._set_obj(elm_photo_add(parent.obj))
+ *
+ * def file_set(self, filename): # <<<<<<<<<<<<<<
+ * """Set the file that will be used as photo
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_2file_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_filename) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":52
+ *
+ * """
+ * if filename: # <<<<<<<<<<<<<<
+ * return bool(elm_photo_file_set(self.obj, _cfruni(filename)))
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_filename); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":53
+ * """
+ * if filename:
+ * return bool(elm_photo_file_set(self.obj, _cfruni(filename))) # <<<<<<<<<<<<<<
+ * else:
+ * return bool(elm_photo_file_set(self.obj, NULL))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_photo_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":55
+ * return bool(elm_photo_file_set(self.obj, _cfruni(filename)))
+ * else:
+ * return bool(elm_photo_file_set(self.obj, NULL)) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_photo_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, NULL)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_filename); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_filename) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_4file___set__(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_filename));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":63
+ *
+ * """
+ * def __set__(self, filename): # <<<<<<<<<<<<<<
+ * # TODO: check return status
+ * if filename:
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo_4file___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_filename) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":65
+ * def __set__(self, filename):
+ * # TODO: check return status
+ * if filename: # <<<<<<<<<<<<<<
+ * elm_photo_file_set(self.obj, _cfruni(filename))
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_filename); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":66
+ * # TODO: check return status
+ * if filename:
+ * elm_photo_file_set(self.obj, _cfruni(filename)) # <<<<<<<<<<<<<<
+ * else:
+ * elm_photo_file_set(self.obj, NULL)
+ */
+ elm_photo_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename));
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":68
+ * elm_photo_file_set(self.obj, _cfruni(filename))
+ * else:
+ * elm_photo_file_set(self.obj, NULL) # <<<<<<<<<<<<<<
+ *
+ * def thumb_set(self, filename, group = None):
+ */
+ elm_photo_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, NULL);
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_5thumb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_4thumb_set[] = "Set the file that will be used as thumbnail in the photo.\n\n @param file: The path to file that will be used as thumbnail.\n @type file: string\n @param group: The key used in case of an EET file.\n @type group: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_5thumb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_filename = 0;
+ PyObject *__pyx_v_group = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__filename,&__pyx_n_s__group,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("thumb_set (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":70
+ * elm_photo_file_set(self.obj, NULL)
+ *
+ * def thumb_set(self, filename, group = None): # <<<<<<<<<<<<<<
+ * """Set the file that will be used as thumbnail in the photo.
+ *
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__filename);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__group);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "thumb_set") < 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_filename = values[0];
+ __pyx_v_group = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("thumb_set", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[27]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.thumb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_4thumb_set(((struct PyElementaryPhoto *)__pyx_v_self), __pyx_v_filename, __pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_4thumb_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_group) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("thumb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":79
+ *
+ * """
+ * elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * property thumb:
+ */
+ elm_photo_thumb_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_5thumb_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_5thumb_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_5thumb___set__(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":87
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * if isinstance(value, tuple):
+ * filename, group = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo_5thumb___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_filename = NULL;
+ PyObject *__pyx_v_group = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":88
+ * """
+ * def __set__(self, value):
+ * if isinstance(value, tuple): # <<<<<<<<<<<<<<
+ * filename, group = value
+ * else:
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyTuple_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":89
+ * def __set__(self, value):
+ * if isinstance(value, tuple):
+ * filename, group = value # <<<<<<<<<<<<<<
+ * else:
+ * filename = value
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[27]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[27]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 2) < 0) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L5_unpacking_done;
+ __pyx_L4_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[27]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L5_unpacking_done:;
+ }
+ __pyx_v_filename = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_group = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":91
+ * filename, group = value
+ * else:
+ * filename = value # <<<<<<<<<<<<<<
+ * group = None
+ * elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+ */
+ __Pyx_INCREF(__pyx_v_value);
+ __pyx_v_filename = __pyx_v_value;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":92
+ * else:
+ * filename = value
+ * group = None # <<<<<<<<<<<<<<
+ * elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_group = Py_None;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":93
+ * filename = value
+ * group = None
+ * elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group)) # <<<<<<<<<<<<<<
+ *
+ * def size_set(self, size):
+ */
+ elm_photo_thumb_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_group));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.thumb.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_filename);
+ __Pyx_XDECREF(__pyx_v_group);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_7size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_6size_set[] = "Set the size that will be used on the photo.\n\n @param size: The size of the photo\n @type size: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_7size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("size_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_6size_set(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":95
+ * elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+ *
+ * def size_set(self, size): # <<<<<<<<<<<<<<
+ * """Set the size that will be used on the photo.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_6size_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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("size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":102
+ *
+ * """
+ * elm_photo_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * property size:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_4size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_4size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_4size___set__(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":110
+ *
+ * """
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_photo_size_set(self.obj, size)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo_4size___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":111
+ * """
+ * def __set__(self, size):
+ * elm_photo_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def fill_inside_set(self, fill):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_9fill_inside_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_8fill_inside_set[] = "Set if the photo should be completely visible or not.\n\n @param fill: If True the photo will be completely visible.\n @type fill: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_9fill_inside_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("fill_inside_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_8fill_inside_set(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":113
+ * elm_photo_size_set(self.obj, size)
+ *
+ * def fill_inside_set(self, fill): # <<<<<<<<<<<<<<
+ * """Set if the photo should be completely visible or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_8fill_inside_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("fill_inside_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":120
+ *
+ * """
+ * elm_photo_fill_inside_set(self.obj, fill) # <<<<<<<<<<<<<<
+ *
+ * property fill_inside:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fill); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_fill_inside_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.fill_inside_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_11fill_inside_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_11fill_inside_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_11fill_inside___set__(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":128
+ *
+ * """
+ * def __set__(self, fill): # <<<<<<<<<<<<<<
+ * elm_photo_fill_inside_set(self.obj, fill)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo_11fill_inside___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":129
+ * """
+ * def __set__(self, fill):
+ * elm_photo_fill_inside_set(self.obj, fill) # <<<<<<<<<<<<<<
+ *
+ * def editable_set(self, fill):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fill); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_fill_inside_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.fill_inside.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_11editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_10editable_set[] = "Set editability of the photo.\n\n An editable photo can be dragged to or from, and can be cut or\n pasted too. Note that pasting an image or dropping an item on\n the image will delete the existing content.\n\n @param set: To set of clear editability.\n @type set: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_11editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_10editable_set(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":131
+ * elm_photo_fill_inside_set(self.obj, fill)
+ *
+ * def editable_set(self, fill): # <<<<<<<<<<<<<<
+ * """Set editability of the photo.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_10editable_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("editable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":142
+ *
+ * """
+ * elm_photo_editable_set(self.obj, fill) # <<<<<<<<<<<<<<
+ *
+ * property editable:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fill); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.editable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_8editable_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_8editable_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fill) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_8editable___set__(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":154
+ *
+ * """
+ * def __set__(self, fill): # <<<<<<<<<<<<<<
+ * elm_photo_editable_set(self.obj, fill)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo_8editable___set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fill) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":155
+ * """
+ * def __set__(self, fill):
+ * elm_photo_editable_set(self.obj, fill) # <<<<<<<<<<<<<<
+ *
+ * def aspect_fixed_set(self, fixed):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fill); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.editable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_13aspect_fixed_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_12aspect_fixed_set[] = "Set whether the original aspect ratio of the photo should be kept on resize.\n\n The original aspect ratio (width / height) of the photo is usually\n distorted to match the object's size. Enabling this option will fix\n this original aspect, and the way that the photo is fit into\n the object's area\n\n @see: L{aspect_fixed_get()}\n\n @param fixed: C{True} if the photo should fix the aspect,\n C{False} otherwise.\n @type fixed: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_13aspect_fixed_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("aspect_fixed_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed_set(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_fixed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":157
+ * elm_photo_editable_set(self.obj, fill)
+ *
+ * def aspect_fixed_set(self, fixed): # <<<<<<<<<<<<<<
+ * """Set whether the original aspect ratio of the photo should be kept on resize.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed_set(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("aspect_fixed_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":172
+ *
+ * """
+ * elm_photo_aspect_fixed_set(self.obj, fixed) # <<<<<<<<<<<<<<
+ *
+ * def aspect_fixed_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fixed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_aspect_fixed_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.aspect_fixed_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_15aspect_fixed_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_14aspect_fixed_get[] = "Get if the object keeps the original aspect ratio.\n\n @return: C{True} if the object keeps the original aspect, C{False}\n otherwise.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_15aspect_fixed_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("aspect_fixed_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_14aspect_fixed_get(((struct PyElementaryPhoto *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":174
+ * elm_photo_aspect_fixed_set(self.obj, fixed)
+ *
+ * def aspect_fixed_get(self): # <<<<<<<<<<<<<<
+ * """Get if the object keeps the original aspect ratio.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_14aspect_fixed_get(struct PyElementaryPhoto *__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("aspect_fixed_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":182
+ *
+ * """
+ * return elm_photo_aspect_fixed_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property aspect_fixed:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_photo_aspect_fixed_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.aspect_fixed_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_12aspect_fixed_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_12aspect_fixed_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed___get__(((struct PyElementaryPhoto *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":195
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_photo_aspect_fixed_get(self.obj)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed___get__(struct PyElementaryPhoto *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":196
+ * """
+ * def __get__(self):
+ * return elm_photo_aspect_fixed_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, fixed):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_photo_aspect_fixed_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.aspect_fixed.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_5Photo_12aspect_fixed_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_5Photo_12aspect_fixed_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed_2__set__(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_fixed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":198
+ * return elm_photo_aspect_fixed_get(self.obj)
+ *
+ * def __set__(self, fixed): # <<<<<<<<<<<<<<
+ * elm_photo_aspect_fixed_set(self.obj, fixed)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_5Photo_12aspect_fixed_2__set__(struct PyElementaryPhoto *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":199
+ *
+ * def __set__(self, fixed):
+ * elm_photo_aspect_fixed_set(self.obj, fixed) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fixed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photo_aspect_fixed_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photo.aspect_fixed.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_17callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_16callback_clicked_add[] = "This is called when a user has clicked the photo.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_17callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[27]; __pyx_lineno = 201; __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[27]; __pyx_lineno = 201; __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("elementary.c_elementary.Photo.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_16callback_clicked_add(((struct PyElementaryPhoto *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":201
+ * elm_photo_aspect_fixed_set(self.obj, fixed)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has clicked the photo."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_16callback_clicked_add(struct PyElementaryPhoto *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":203
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """This is called when a user has clicked the photo."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 203; __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[27]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photo.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_19callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_19callback_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_10elementary_12c_elementary_5Photo_18callback_clicked_del(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":205
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_18callback_clicked_del(struct PyElementaryPhoto *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":206
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 206; __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[27]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photo.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_21callback_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_20callback_drag_start_add[] = "One has started dragging the inner image out of the photo's\n frame.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_21callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_add") < 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 208; __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_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[27]; __pyx_lineno = 208; __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("elementary.c_elementary.Photo.callback_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_20callback_drag_start_add(((struct PyElementaryPhoto *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":208
+ * self._callback_del("clicked", func)
+ *
+ * def callback_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """One has started dragging the inner image out of the photo's
+ * frame.
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_20callback_drag_start_add(struct PyElementaryPhoto *__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_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":213
+ *
+ * """
+ * self._callback_add("drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 213; __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[27]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_95));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_95));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_95));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photo.callback_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_23callback_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_23callback_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_drag_start_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_22callback_drag_start_del(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":215
+ * self._callback_add("drag,start", func, *args, **kwargs)
+ *
+ * def callback_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("drag,start", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_22callback_drag_start_del(struct PyElementaryPhoto *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":216
+ *
+ * def callback_drag_start_del(self, func):
+ * self._callback_del("drag,start", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_end_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 216; __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[27]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_95));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_95));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_95));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photo.callback_drag_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_25callback_drag_end_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_5Photo_24callback_drag_end_add[] = "One has dropped the dragged image somewhere.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_25callback_drag_end_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_drag_end_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_end_add") < 0)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 218; __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_end_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[27]; __pyx_lineno = 218; __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("elementary.c_elementary.Photo.callback_drag_end_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_24callback_drag_end_add(((struct PyElementaryPhoto *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":218
+ * self._callback_del("drag,start", func)
+ *
+ * def callback_drag_end_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """One has dropped the dragged image somewhere."""
+ * self._callback_add("drag,end", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_24callback_drag_end_add(struct PyElementaryPhoto *__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_end_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":220
+ * def callback_drag_end_add(self, func, *args, **kwargs):
+ * """One has dropped the dragged image somewhere."""
+ * self._callback_add("drag,end", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_end_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 220; __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[27]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_96));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_96));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_96));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photo.callback_drag_end_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_27callback_drag_end_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_5Photo_27callback_drag_end_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_drag_end_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Photo_26callback_drag_end_del(((struct PyElementaryPhoto *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":222
+ * self._callback_add("drag,end", func, *args, **kwargs)
+ *
+ * def callback_drag_end_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("drag,end", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_5Photo_26callback_drag_end_del(struct PyElementaryPhoto *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_end_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":223
+ *
+ * def callback_drag_end_del(self, func):
+ * self._callback_del("drag,end", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("photo", Photo)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 223; __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[27]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_96));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_96));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_96));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photo.callback_drag_end_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_12HoverselItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_12HoverselItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_hoversel = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_icon_file = 0;
+ PyObject *__pyx_v_icon_type = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__hoversel,&__pyx_n_s__label,&__pyx_n_s__icon_file,&__pyx_n_s__icon_type,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[5] = {0,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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__hoversel);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 1); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_file);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 2); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_type);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 3); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 4); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) < 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_hoversel = ((struct PyEvasObject *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_icon_file = values[2];
+ __pyx_v_icon_type = values[3];
+ __pyx_v_callback = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.HoverselItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_hoversel), __pyx_ptype_4evas_6c_evas_Object, 1, "hoversel", 0))) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12HoverselItem___init__(((struct __pyx_obj_10elementary_12c_elementary_HoverselItem *)__pyx_v_self), __pyx_v_hoversel, __pyx_v_label, __pyx_v_icon_file, __pyx_v_icon_type, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":23
+ * """An item for the L{Hoversel} widget."""
+ *
+ * def __init__(self, evasObject hoversel, label, icon_file, icon_type, # <<<<<<<<<<<<<<
+ * callback, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_12HoverselItem___init__(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self, struct PyEvasObject *__pyx_v_hoversel, PyObject *__pyx_v_label, PyObject *__pyx_v_icon_file, PyObject *__pyx_v_icon_type, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Evas_Smart_Cb __pyx_v_cb;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ const char * __pyx_t_5;
+ const char * __pyx_t_6;
+ Elm_Icon_Type __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":25
+ * def __init__(self, evasObject hoversel, label, icon_file, icon_type,
+ * callback, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":27
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if callback: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_callback); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":28
+ *
+ * if callback:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":29
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_97), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 29; __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[28]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":30
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":32
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ * item = elm_hoversel_item_add( hoversel.obj,
+ * _cfruni(label) if label is not None else NULL,
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":34
+ * self.params = (callback, args, kargs)
+ * item = elm_hoversel_item_add( hoversel.obj,
+ * _cfruni(label) if label is not None else NULL, # <<<<<<<<<<<<<<
+ * _cfruni(icon_file) if icon_file is not None else NULL,
+ * icon_type,
+ */
+ __pyx_t_4 = (__pyx_v_label != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label);
+ } else {
+ __pyx_t_5 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":35
+ * item = elm_hoversel_item_add( hoversel.obj,
+ * _cfruni(label) if label is not None else NULL,
+ * _cfruni(icon_file) if icon_file is not None else NULL, # <<<<<<<<<<<<<<
+ * icon_type,
+ * cb,
+ */
+ __pyx_t_4 = (__pyx_v_icon_file != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_6 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_file);
+ } else {
+ __pyx_t_6 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":36
+ * _cfruni(label) if label is not None else NULL,
+ * _cfruni(icon_file) if icon_file is not None else NULL,
+ * icon_type, # <<<<<<<<<<<<<<
+ * cb,
+ * <void*>self)
+ */
+ __pyx_t_7 = ((Elm_Icon_Type)PyInt_AsLong(__pyx_v_icon_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":38
+ * icon_type,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_hoversel_item_add(__pyx_v_hoversel->obj, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":40
+ * <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":41
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_8 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_HoverselItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_8 == 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":43
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def icon_set(self, icon_file, icon_group, icon_type):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L5:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.HoverselItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12HoverselItem_3icon_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_12HoverselItem_2icon_set[] = "This sets the icon for the given hoversel item.\n\n The icon can be loaded from the standard set, from an image file, or\n from an edje file.\n\n @see: L{Hoversel.item_add()}\n\n @param icon_file: An image file path on disk to use for the icon or\n standard icon name\n @type icon_file: string\n @param icon_group: The edje group to use if C{icon_file} is an edje\n file. Set this to None if the icon is not an edje file\n @param icon_type: The icon type\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_12HoverselItem_3icon_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_icon_file = 0;
+ PyObject *__pyx_v_icon_group = 0;
+ PyObject *__pyx_v_icon_type = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__icon_file,&__pyx_n_s__icon_group,&__pyx_n_s__icon_type,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_file);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_group);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("icon_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_type);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("icon_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "icon_set") < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 45; __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_icon_file = values[0];
+ __pyx_v_icon_group = values[1];
+ __pyx_v_icon_type = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("icon_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.HoverselItem.icon_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12HoverselItem_2icon_set(((struct __pyx_obj_10elementary_12c_elementary_HoverselItem *)__pyx_v_self), __pyx_v_icon_file, __pyx_v_icon_group, __pyx_v_icon_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":45
+ * Py_DECREF(self)
+ *
+ * def icon_set(self, icon_file, icon_group, icon_type): # <<<<<<<<<<<<<<
+ * """This sets the icon for the given hoversel item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12HoverselItem_2icon_set(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self, PyObject *__pyx_v_icon_file, PyObject *__pyx_v_icon_group, PyObject *__pyx_v_icon_type) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Icon_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("icon_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":61
+ *
+ * """
+ * elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type) # <<<<<<<<<<<<<<
+ *
+ * def icon_get(self):
+ */
+ __pyx_t_1 = ((Elm_Icon_Type)PyInt_AsLong(__pyx_v_icon_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_hoversel_item_icon_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_file), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_group), __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.HoverselItem.icon_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12HoverselItem_5icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_12HoverselItem_4icon_get[] = "Get the icon object of the hoversel item\n\n @see: L{icon_set()}\n @see: L{Hoversel.item_add()}\n\n @return: The image file path / Standard name, Icon group, Icon type\n @rtype: (string, string, Elm_Icon_Type)\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_12HoverselItem_5icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon_get(((struct __pyx_obj_10elementary_12c_elementary_HoverselItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":63
+ * elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type)
+ *
+ * def icon_get(self): # <<<<<<<<<<<<<<
+ * """Get the icon object of the hoversel item
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon_get(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self) {
+ const char * __pyx_v_cicon_file;
+ const char * __pyx_v_cicon_group;
+ Elm_Icon_Type __pyx_v_cicon_type;
+ 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("icon_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":75
+ * cdef const_char_ptr cicon_file, cicon_group
+ * cdef Elm_Icon_Type cicon_type
+ * elm_hoversel_item_icon_get(self.item, &cicon_file, &cicon_group, &cicon_type) # <<<<<<<<<<<<<<
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+ *
+ */
+ elm_hoversel_item_icon_get(__pyx_v_self->__pyx_base.item, (&__pyx_v_cicon_file), (&__pyx_v_cicon_group), (&__pyx_v_cicon_type));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":76
+ * cdef Elm_Icon_Type cicon_type
+ * elm_hoversel_item_icon_get(self.item, &cicon_file, &cicon_group, &cicon_type)
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type) # <<<<<<<<<<<<<<
+ *
+ * property icon:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_cicon_file)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_cicon_group)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_cicon_type); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 76; __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[28]; __pyx_lineno = 76; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.HoverselItem.icon_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_12HoverselItem_4icon_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_12HoverselItem_4icon_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon___set__(((struct __pyx_obj_10elementary_12c_elementary_HoverselItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":89
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * icon_file, icon_group, icon_type = value
+ * elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type)
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon___set__(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_icon_file = NULL;
+ PyObject *__pyx_v_icon_group = NULL;
+ PyObject *__pyx_v_icon_type = 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 = NULL;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ Elm_Icon_Type __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":90
+ * """
+ * def __set__(self, value):
+ * icon_file, icon_group, icon_type = value # <<<<<<<<<<<<<<
+ * elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[28]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[28]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[28]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_icon_file = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_icon_group = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_icon_type = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":91
+ * def __set__(self, value):
+ * icon_file, icon_group, icon_type = value
+ * elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_6 = ((Elm_Icon_Type)PyInt_AsLong(__pyx_v_icon_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_hoversel_item_icon_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_file), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon_group), __pyx_t_6);
+
+ __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_4);
+ __Pyx_AddTraceback("elementary.c_elementary.HoverselItem.icon.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_icon_file);
+ __Pyx_XDECREF(__pyx_v_icon_group);
+ __Pyx_XDECREF(__pyx_v_icon_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_12HoverselItem_4icon_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_12HoverselItem_4icon_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon_2__get__(((struct __pyx_obj_10elementary_12c_elementary_HoverselItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":93
+ * elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr cicon_file, cicon_group
+ * cdef Elm_Icon_Type cicon_type
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_12HoverselItem_4icon_2__get__(struct __pyx_obj_10elementary_12c_elementary_HoverselItem *__pyx_v_self) {
+ const char * __pyx_v_cicon_file;
+ const char * __pyx_v_cicon_group;
+ Elm_Icon_Type __pyx_v_cicon_type;
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":96
+ * cdef const_char_ptr cicon_file, cicon_group
+ * cdef Elm_Icon_Type cicon_type
+ * elm_hoversel_item_icon_get(self.item, &cicon_file, &cicon_group, &cicon_type) # <<<<<<<<<<<<<<
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+ *
+ */
+ elm_hoversel_item_icon_get(__pyx_v_self->__pyx_base.item, (&__pyx_v_cicon_file), (&__pyx_v_cicon_group), (&__pyx_v_cicon_type));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":97
+ * cdef Elm_Icon_Type cicon_type
+ * elm_hoversel_item_icon_get(self.item, &cicon_file, &cicon_group, &cicon_type)
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Hoversel(Button) [object PyElementaryHoversel, type PyElementaryHoversel_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_cicon_file)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_cicon_group)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_cicon_type); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 97; __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[28]; __pyx_lineno = 97; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.HoverselItem.icon.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Hoversel_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Hoversel_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 125; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel___init__(((struct PyElementaryHoversel *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":125
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_hoversel_add(parent.obj))
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Hoversel___init__(struct PyElementaryHoversel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":126
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_hoversel_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 126; __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[28]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":127
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_hoversel_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, horizontal):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Hoversel *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_hoversel_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Hoversel.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_3horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_2horizontal_set[] = "This sets the hoversel to expand horizontally.\n\n @note: The initial button will display horizontally regardless of this\n setting.\n\n @param horizontal: If True, the hover will expand horizontally to the\n right.\n @type horizontal: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_3horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_2horizontal_set(((struct PyElementaryHoversel *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":129
+ * self._set_obj(elm_hoversel_add(parent.obj))
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """This sets the hoversel to expand horizontally.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_2horizontal_set(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":140
+ *
+ * """
+ * elm_hoversel_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_hoversel_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_5horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_4horizontal_get[] = "This returns whether the hoversel is set to expand horizontally.\n\n @see: L{horizontal_set()}\n\n @return: If True, the hover will expand horizontally to the right.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_5horizontal_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_10elementary_12c_elementary_8Hoversel_4horizontal_get(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":142
+ * elm_hoversel_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """This returns whether the hoversel is set to expand horizontally.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_4horizontal_get(struct PyElementaryHoversel *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":151
+ *
+ * """
+ * return bool(elm_hoversel_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_hoversel_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Hoversel_10horizontal_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Hoversel_10horizontal_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_10horizontal___set__(((struct PyElementaryHoversel *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":162
+ *
+ * """
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_hoversel_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Hoversel_10horizontal___set__(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":163
+ * """
+ * def __set__(self, horizontal):
+ * elm_hoversel_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_hoversel_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_10horizontal_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_10horizontal_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_10horizontal_2__get__(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":165
+ * elm_hoversel_horizontal_set(self.obj, horizontal)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_hoversel_horizontal_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_10horizontal_2__get__(struct PyElementaryHoversel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":166
+ *
+ * def __get__(self):
+ * return bool(elm_hoversel_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def hover_parent_set(self, evasObject parent):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_hoversel_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_7hover_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_6hover_parent_set[] = "Set the Hover parent\n\n Sets the hover parent object, the area that will be darkened when the\n hoversel is clicked. Should probably be the window that the hoversel is\n in. See L{Hover} objects for more information.\n\n @param parent: The parent to use\n @type parent: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_7hover_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_6hover_parent_set(((struct PyElementaryHoversel *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":168
+ * return bool(elm_hoversel_horizontal_get(self.obj))
+ *
+ * def hover_parent_set(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Set the Hover parent
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_6hover_parent_set(struct PyElementaryHoversel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":179
+ *
+ * """
+ * elm_hoversel_hover_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def hover_parent_get(self):
+ */
+ elm_hoversel_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_9hover_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_8hover_parent_get[] = "Get the Hover parent\n\n Gets the hover parent object.\n\n @see: elm_hoversel_hover_parent_set()\n\n @return: The used parent\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_9hover_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_8hover_parent_get(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":181
+ * elm_hoversel_hover_parent_set(self.obj, parent.obj)
+ *
+ * def hover_parent_get(self): # <<<<<<<<<<<<<<
+ * """Get the Hover parent
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_8hover_parent_get(struct PyElementaryHoversel *__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("hover_parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":192
+ *
+ * """
+ * return Object_from_instance(elm_hoversel_hover_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property hover_parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_hoversel_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.hover_parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_8Hoversel_12hover_parent_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_8Hoversel_12hover_parent_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_parent___set__(((struct PyElementaryHoversel *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":204
+ *
+ * """
+ * def __set__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * elm_hoversel_hover_parent_set(self.obj, parent.obj)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_parent___set__(struct PyElementaryHoversel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":205
+ * """
+ * def __set__(self, evasObject parent):
+ * elm_hoversel_hover_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ elm_hoversel_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_12hover_parent_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_12hover_parent_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_parent_2__get__(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":207
+ * elm_hoversel_hover_parent_set(self.obj, parent.obj)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_hoversel_hover_parent_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_parent_2__get__(struct PyElementaryHoversel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":208
+ *
+ * def __get__(self):
+ * return Object_from_instance(elm_hoversel_hover_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def hover_begin(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_hoversel_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.hover_parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_11hover_begin(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_10hover_begin[] = "hover_begin()\n\n This triggers the hoversel popup from code, the same as if the user\n had clicked the button.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_11hover_begin(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_begin (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_10hover_begin(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":210
+ * return Object_from_instance(elm_hoversel_hover_parent_get(self.obj))
+ *
+ * def hover_begin(self): # <<<<<<<<<<<<<<
+ * """hover_begin()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_10hover_begin(struct PyElementaryHoversel *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_begin", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":217
+ *
+ * """
+ * elm_hoversel_hover_begin(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def hover_end(self):
+ */
+ elm_hoversel_hover_begin(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_13hover_end(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_12hover_end[] = "hover_end()\n\n This dismisses the hoversel popup as if the user had clicked outside\n the hover.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_13hover_end(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_end (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_end(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":219
+ * elm_hoversel_hover_begin(self.obj)
+ *
+ * def hover_end(self): # <<<<<<<<<<<<<<
+ * """hover_end()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_12hover_end(struct PyElementaryHoversel *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_end", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":226
+ *
+ * """
+ * elm_hoversel_hover_end(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def expanded_get(self):
+ */
+ elm_hoversel_hover_end(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_15expanded_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_14expanded_get[] = "Returns whether the hoversel is expanded.\n\n @return: This will return True if the hoversel is expanded or\n False if it is not expanded.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_15expanded_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expanded_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_14expanded_get(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":228
+ * elm_hoversel_hover_end(self.obj)
+ *
+ * def expanded_get(self): # <<<<<<<<<<<<<<
+ * """Returns whether the hoversel is expanded.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_14expanded_get(struct PyElementaryHoversel *__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("expanded_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":236
+ *
+ * """
+ * return bool(elm_hoversel_expanded_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property expanded:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_hoversel_expanded_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.expanded_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_8expanded_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_8expanded_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_8expanded___get__(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":244
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_hoversel_expanded_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_8expanded___get__(struct PyElementaryHoversel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":245
+ * """
+ * def __get__(self):
+ * return bool(elm_hoversel_expanded_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_hoversel_expanded_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.expanded.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_17clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_16clear[] = "clear()\n\n This will remove all the children items from the hoversel.\n\n @warning: Should B{not} be called while the hoversel is active; use\n L{expanded_get()} to check first.\n\n @see: L{ObjectItem.delete()}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_17clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_16clear(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":247
+ * return bool(elm_hoversel_expanded_get(self.obj))
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * """clear()
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_16clear(struct PyElementaryHoversel *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":258
+ *
+ * """
+ * elm_hoversel_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def items_get(self):
+ */
+ elm_hoversel_clear(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_19items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_18items_get[] = "Get the list of items within the given hoversel.\n\n @see: L{item_add()}\n\n @return: Returns a list of Elm_Object_Item*\n @rtype: tuple of Elm_Object_Items\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_19items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_18items_get(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":260
+ * elm_hoversel_clear(self.obj)
+ *
+ * def items_get(self): # <<<<<<<<<<<<<<
+ * """Get the list of items within the given hoversel.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_18items_get(struct PyElementaryHoversel *__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("items_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":269
+ *
+ * """
+ * return _object_item_list_to_python(elm_hoversel_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_hoversel_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_5items___get__(((struct PyElementaryHoversel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":279
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_5items___get__(struct PyElementaryHoversel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":280
+ * """
+ * def __get__(self):
+ * return _object_item_list_to_python(elm_hoversel_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_add(self, label = None, icon_file = None, icon_type = ELM_ICON_NONE, callback = None, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_hoversel_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_21item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_20item_add[] = "item_add(label, icon_file=None, icon_type=ELM_ICON_NONE, callback=None, *args, **kwargs)\n\n Add an item to the hoversel button\n\n This adds an item to the hoversel to show when it is clicked. Note:\n if you need to use an icon from an edje file then use\n L{HoverselItem.icon_set()} right after this function, and set\n icon_file to None here.\n\n For more information on what C{icon_file} and C{icon_type} are, see the\n L{Icon} \"icon documentation\".\n\n @param label: The text label to use for the item (None if not desired)\n @type label: string\n @param icon_file: An image file path on disk to use for the icon or\n standard icon name (None if not desired)\n @type icon_file: string\n @param icon_type: The icon type if relevant\n @type icon_type: string\n @param callback: Convenience function to call when this item is selected\n @type callback: function\n\n @return: The item added.\n @rtype: Elm_Object_Item\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_21item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_icon_file = 0;
+ PyObject *__pyx_v_icon_type = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__icon_file,&__pyx_n_s__icon_type,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_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) > 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 NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":282
+ * return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
+ *
+ * def item_add(self, label = None, icon_file = None, icon_type = ELM_ICON_NONE, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_add(label, icon_file=None, icon_type=ELM_ICON_NONE, callback=None, *args, **kwargs)
+ *
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((PyObject *)Py_None);
+ values[2] = __pyx_k_98;
+ 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 (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_file);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon_type);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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, "item_add") < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 282; __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);
+ case 0: break;
+ }
+ }
+ __pyx_v_label = values[0];
+ __pyx_v_icon_file = values[1];
+ __pyx_v_icon_type = values[2];
+ __pyx_v_callback = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Hoversel.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_20item_add(((struct PyElementaryHoversel *)__pyx_v_self), __pyx_v_label, __pyx_v_icon_file, __pyx_v_icon_type, __pyx_v_callback, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_20item_add(struct PyElementaryHoversel *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_icon_file, PyObject *__pyx_v_icon_type, PyObject *__pyx_v_callback, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":309
+ *
+ * """
+ * return HoverselItem(self, label, icon_file, icon_type, callback, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(__pyx_v_icon_file);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_icon_file);
+ __Pyx_GIVEREF(__pyx_v_icon_file);
+ __Pyx_INCREF(__pyx_v_icon_type);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_icon_type);
+ __Pyx_GIVEREF(__pyx_v_icon_type);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_HoverselItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_23callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_22callback_clicked_add[] = "The user clicked the hoversel button and popped up the sel.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_23callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[28]; __pyx_lineno = 311; __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[28]; __pyx_lineno = 311; __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("elementary.c_elementary.Hoversel.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_22callback_clicked_add(((struct PyElementaryHoversel *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":311
+ * return HoverselItem(self, label, icon_file, icon_type, callback, *args, **kwargs)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user clicked the hoversel button and popped up the sel."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_22callback_clicked_add(struct PyElementaryHoversel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":313
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The user clicked the hoversel button and popped up the sel."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 313; __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[28]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Hoversel.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_25callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_25callback_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_10elementary_12c_elementary_8Hoversel_24callback_clicked_del(((struct PyElementaryHoversel *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":315
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_24callback_clicked_del(struct PyElementaryHoversel *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":316
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 316; __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[28]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_27callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_26callback_selected_add[] = "An item in the hoversel list is selected. event_info is the item.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_27callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[28]; __pyx_lineno = 318; __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[28]; __pyx_lineno = 318; __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("elementary.c_elementary.Hoversel.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_26callback_selected_add(((struct PyElementaryHoversel *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":318
+ * self._callback_del("clicked", func)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """An item in the hoversel list is selected. event_info is the item."""
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_26callback_selected_add(struct PyElementaryHoversel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":320
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * """An item in the hoversel list is selected. event_info is the item."""
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 320; __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[28]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Hoversel.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_29callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_29callback_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_10elementary_12c_elementary_8Hoversel_28callback_selected_del(((struct PyElementaryHoversel *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":322
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_28callback_selected_del(struct PyElementaryHoversel *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":323
+ *
+ * def callback_selected_del(self, func):
+ * self._callback_del_full("selected", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_dismissed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 323; __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[28]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_31callback_dismissed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_8Hoversel_30callback_dismissed_add[] = "The hover is dismissed.";
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_31callback_dismissed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_dismissed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_dismissed_add") < 0)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 325; __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_dismissed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[28]; __pyx_lineno = 325; __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("elementary.c_elementary.Hoversel.callback_dismissed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_30callback_dismissed_add(((struct PyElementaryHoversel *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":325
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ * def callback_dismissed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The hover is dismissed."""
+ * self._callback_add("dismissed", func, *args, **kwargs)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_30callback_dismissed_add(struct PyElementaryHoversel *__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_dismissed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":327
+ * def callback_dismissed_add(self, func, *args, **kwargs):
+ * """The hover is dismissed."""
+ * self._callback_add("dismissed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_dismissed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 327; __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[28]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__dismissed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__dismissed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__dismissed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Hoversel.callback_dismissed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_33callback_dismissed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_8Hoversel_33callback_dismissed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_dismissed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Hoversel_32callback_dismissed_del(((struct PyElementaryHoversel *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":329
+ * self._callback_add("dismissed", func, *args, **kwargs)
+ *
+ * def callback_dismissed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("dismissed", func)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_8Hoversel_32callback_dismissed_del(struct PyElementaryHoversel *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_dismissed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":330
+ *
+ * def callback_dismissed_del(self, func):
+ * self._callback_del("dismissed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("hoversel", Hoversel)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 330; __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[28]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__dismissed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__dismissed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__dismissed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Hoversel.callback_dismissed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_16ToolbarItemState_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_16ToolbarItemState_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_it = 0;
+ PyObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__it,&__pyx_n_s__icon,&__pyx_n_s__label,&__pyx_n_s__callback,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);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":26
+ * cdef object params
+ *
+ * def __init__(self, ObjectItem it, icon = None, label = None, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ values[1] = ((PyObject *)Py_None);
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__it);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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[29]; __pyx_lineno = 26; __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_it = ((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)values[0]);
+ __pyx_v_icon = values[1];
+ __pyx_v_label = values[2];
+ __pyx_v_callback = 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[29]; __pyx_lineno = 26; __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("elementary.c_elementary.ToolbarItemState.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_it), __pyx_ptype_10elementary_12c_elementary_ObjectItem, 1, "it", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16ToolbarItemState___init__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)__pyx_v_self), __pyx_v_it, __pyx_v_icon, __pyx_v_label, __pyx_v_callback, __pyx_v_args, __pyx_v_kwargs);
+ 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_10elementary_12c_elementary_16ToolbarItemState___init__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_it, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ Evas_Smart_Cb __pyx_v_cb;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":27
+ *
+ * def __init__(self, ObjectItem it, icon = None, label = None, callback = None, *args, **kwargs):
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":29
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if callback: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_callback); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":30
+ *
+ * if callback:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":31
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_100), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 31; __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[29]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":32
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kwargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":34
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kwargs) # <<<<<<<<<<<<<<
+ *
+ * self.obj = elm_toolbar_item_state_add(it.item, _cfruni(icon), _cfruni(label), cb, <void*>self)
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->params);
+ __Pyx_DECREF(__pyx_v_self->params);
+ __pyx_v_self->params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":36
+ * self.params = (callback, args, kwargs)
+ *
+ * self.obj = elm_toolbar_item_state_add(it.item, _cfruni(icon), _cfruni(label), cb, <void*>self) # <<<<<<<<<<<<<<
+ * if self.obj == NULL:
+ * Py_DECREF(self)
+ */
+ __pyx_v_self->obj = elm_toolbar_item_state_add(__pyx_v_it->item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":37
+ *
+ * self.obj = elm_toolbar_item_state_add(it.item, _cfruni(icon), _cfruni(label), cb, <void*>self)
+ * if self.obj == NULL: # <<<<<<<<<<<<<<
+ * Py_DECREF(self)
+ *
+ */
+ __pyx_t_4 = (__pyx_v_self->obj == NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":38
+ * self.obj = elm_toolbar_item_state_add(it.item, _cfruni(icon), _cfruni(label), cb, <void*>self)
+ * if self.obj == NULL:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * cdef class ToolbarItem(ObjectItem):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItemState.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_toolbar = 0;
+ PyObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__toolbar,&__pyx_n_s__icon,&__pyx_n_s__label,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__toolbar);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 4, 4, 1); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 4, 4, 2); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 4, 4, 3); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ 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_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 44; __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_toolbar = ((struct PyEvasObject *)values[0]);
+ __pyx_v_icon = values[1];
+ __pyx_v_label = values[2];
+ __pyx_v_callback = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_toolbar), __pyx_ptype_4evas_6c_evas_Object, 1, "toolbar", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem___init__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), __pyx_v_toolbar, __pyx_v_icon, __pyx_v_label, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":44
+ * """An item for the L{Toolbar} widget."""
+ *
+ * def __init__(self, evasObject toolbar, icon, label, # <<<<<<<<<<<<<<
+ * callback, *args, **kargs):
+ * cdef Evas_Object *ic = NULL
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem___init__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, struct PyEvasObject *__pyx_v_toolbar, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ CYTHON_UNUSED Evas_Object *__pyx_v_ic;
+ Evas_Smart_Cb __pyx_v_cb;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ const char * __pyx_t_5;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":46
+ * def __init__(self, evasObject toolbar, icon, label,
+ * callback, *args, **kargs):
+ * cdef Evas_Object *ic = NULL # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ __pyx_v_ic = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":47
+ * callback, *args, **kargs):
+ * cdef Evas_Object *ic = NULL
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":49
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if callback: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_callback); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":50
+ *
+ * if callback:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":51
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_101), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 51; __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[29]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":52
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":54
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ *
+ * item = elm_toolbar_item_append(toolbar.obj, icon, _cfruni(label), cb, <void*>self)
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":56
+ * self.params = (callback, args, kargs)
+ *
+ * item = elm_toolbar_item_append(toolbar.obj, icon, _cfruni(label), cb, <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_t_5 = PyBytes_AsString(__pyx_v_icon); if (unlikely((__pyx_t_5 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_item = elm_toolbar_item_append(__pyx_v_toolbar->obj, __pyx_t_5, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":58
+ * item = elm_toolbar_item_append(toolbar.obj, icon, _cfruni(label), cb, <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":59
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_6 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_6 == 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":61
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def next_get(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L5:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_3next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_2next_get[] = "Get the item after C{item} in toolbar.\n\n @note: If it is the last item, C{None} will be returned.\n\n @see: L{Toolbar.item_append()}\n\n @return: The item after C{item}, or C{None} if none or on failure.\n @rtype: L{ToolbarItem}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_3next_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_10elementary_12c_elementary_11ToolbarItem_2next_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":63
+ * Py_DECREF(self)
+ *
+ * def next_get(self): # <<<<<<<<<<<<<<
+ * """Get the item after C{item} in toolbar.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_2next_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":74
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.next_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":86
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_toolbar_item_next_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":87
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_toolbar_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def prev_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_5prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_4prev_get[] = "Get the item before C{item} in toolbar.\n\n @note: If it is the first item, C{None} will be returned.\n\n @see: L{Toolbar.item_prepend()}\n\n @return: The item before C{item}, or C{None} if none or on failure.\n @rtype: L{ToolbarItem}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_5prev_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_10elementary_12c_elementary_11ToolbarItem_4prev_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":89
+ * return _object_item_to_python(elm_toolbar_item_next_get(self.item))
+ *
+ * def prev_get(self): # <<<<<<<<<<<<<<
+ * """Get the item before C{item} in toolbar.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4prev_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":100
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.prev_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":112
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_toolbar_item_prev_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":113
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_toolbar_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def priority_set(self, priority):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_7priority_set(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_6priority_set[] = "Set the priority of a toolbar item.\n\n This is used only when the toolbar shrink mode is set to\n ELM_TOOLBAR_SHRINK_MENU or ELM_TOOLBAR_SHRINK_HIDE. When space is\n less than required, items with low priority will be removed from the\n toolbar and added to a dynamically-created menu, while items with\n higher priority will remain on the toolbar, with the same order they\n were added.\n\n @see: L{priority_get()}\n\n @param priority: The item priority. The default is zero.\n @type priority: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_7priority_set(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("priority_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_6priority_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":115
+ * return _object_item_to_python(elm_toolbar_item_prev_get(self.item))
+ *
+ * def priority_set(self, priority): # <<<<<<<<<<<<<<
+ * """Set the priority of a toolbar item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_6priority_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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("priority_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":131
+ *
+ * """
+ * elm_toolbar_item_priority_set(self.item, priority) # <<<<<<<<<<<<<<
+ *
+ * def priority_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_priority_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.priority_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_9priority_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_8priority_get[] = "Get the priority of a toolbar item.\n\n @see: L{priority_set()} for details.\n\n @return: The item priority, or C{0} on failure.\n @rtype: int\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_9priority_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("priority_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":133
+ * elm_toolbar_item_priority_set(self.item, priority)
+ *
+ * def priority_get(self): # <<<<<<<<<<<<<<
+ * """Get the priority of a toolbar item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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("priority_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":142
+ *
+ * """
+ * return elm_toolbar_item_priority_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property priority:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_item_priority_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.priority_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_8priority_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_8priority_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":157
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_item_priority_get(self.item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":158
+ * """
+ * def __get__(self):
+ * return elm_toolbar_item_priority_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, priority):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_item_priority_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.priority.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8priority_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8priority_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":160
+ * return elm_toolbar_item_priority_get(self.item)
+ *
+ * def __set__(self, priority): # <<<<<<<<<<<<<<
+ * elm_toolbar_item_priority_set(self.item, priority)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8priority_2__set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":161
+ *
+ * def __set__(self, priority):
+ * elm_toolbar_item_priority_set(self.item, priority) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_priority_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.priority.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_11selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_10selected_get[] = "Get whether the item is selected or not.\n\n @see: L{Toolbar.selected_item_get()} for details.\n @see: L{selected_get()}\n\n @return: C{True} means item is selected. C{False} indicates it's not.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_11selected_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_10elementary_12c_elementary_11ToolbarItem_10selected_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":163
+ * elm_toolbar_item_priority_set(self.item, priority)
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the item is selected or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_10selected_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":173
+ *
+ * """
+ * return elm_toolbar_item_selected_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_13selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_12selected_set[] = "Set the selected state of an item.\n\n This sets the selected state of the given item.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n Previously selected item can be get with function\n L{Toolbar.selected_item_get()}.\n\n Selected items will be highlighted.\n\n @see: L{selected_get()}\n @see: L{Toolbar.selected_item_get()}\n\n @param selected: The selected state\n @type selected: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_13selected_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_10elementary_12c_elementary_11ToolbarItem_12selected_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":175
+ * return elm_toolbar_item_selected_get(self.item)
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * """Set the selected state of an item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_12selected_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":194
+ *
+ * """
+ * elm_toolbar_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8selected___set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":213
+ *
+ * """
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * elm_toolbar_item_selected_set(self.item, selected)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":214
+ * """
+ * def __set__(self, selected):
+ * elm_toolbar_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_8selected_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_8selected_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_8selected_2__get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":216
+ * elm_toolbar_item_selected_set(self.item, selected)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_item_selected_get(self.item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_8selected_2__get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":217
+ *
+ * def __get__(self):
+ * return elm_toolbar_item_selected_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def icon_set(self, ic):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_15icon_set(PyObject *__pyx_v_self, PyObject *__pyx_v_ic); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_14icon_set[] = "Set the icon associated with the item.\n\n Toolbar will load icon image from fdo or current theme.\n This behavior can be set by L{Toolbar.icon_order_lookup_set()} function.\n If an absolute path is provided it will load it direct from a file.\n\n @see: L{Toolbar.icon_order_lookup_set()}\n @see: L{Toolbar.icon_order_lookup_get()}\n\n @param icon: A string with icon name or the absolute path of an\n image file.\n @type icon: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_15icon_set(PyObject *__pyx_v_self, PyObject *__pyx_v_ic) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_14icon_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_ic));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":219
+ * return elm_toolbar_item_selected_get(self.item)
+ *
+ * def icon_set(self, ic): # <<<<<<<<<<<<<<
+ * """Set the icon associated with the item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_14icon_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_ic) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":234
+ *
+ * """
+ * elm_toolbar_item_icon_set(self.item, _cfruni(ic)) # <<<<<<<<<<<<<<
+ *
+ * def icon_get(self):
+ */
+ elm_toolbar_item_icon_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_ic));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_17icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_16icon_get[] = "Get the string used to set the icon of item.\n\n @see: L{icon_set()} for details.\n\n @return: The string associated with the icon object.\n @rtype: string\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_17icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_16icon_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":236
+ * elm_toolbar_item_icon_set(self.item, _cfruni(ic))
+ *
+ * def icon_get(self): # <<<<<<<<<<<<<<
+ * """Get the string used to set the icon of item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_16icon_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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("icon_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":245
+ *
+ * """
+ * return _ctouni(elm_toolbar_item_icon_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property icon:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_toolbar_item_icon_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4icon_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4icon_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4icon___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":259
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_toolbar_item_icon_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4icon___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":260
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_toolbar_item_icon_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, ic):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_toolbar_item_icon_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4icon_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_ic); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4icon_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_ic) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4icon_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_ic));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":262
+ * return _ctouni(elm_toolbar_item_icon_get(self.item))
+ *
+ * def __set__(self, ic): # <<<<<<<<<<<<<<
+ * elm_toolbar_item_icon_set(self.item, _cfruni(ic))
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4icon_2__set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_ic) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":263
+ *
+ * def __set__(self, ic):
+ * elm_toolbar_item_icon_set(self.item, _cfruni(ic)) # <<<<<<<<<<<<<<
+ *
+ * def object_get(self):
+ */
+ elm_toolbar_item_icon_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_ic));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_19object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_18object_get[] = "Get the object of item.\n\n @return: The object\n @rtype: L{Object}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_19object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_18object_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":265
+ * elm_toolbar_item_icon_set(self.item, _cfruni(ic))
+ *
+ * def object_get(self): # <<<<<<<<<<<<<<
+ * """Get the object of item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_18object_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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("object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":272
+ *
+ * """
+ * return Object_from_instance(elm_toolbar_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_toolbar_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_6object_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_6object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_6object___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":280
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_toolbar_item_object_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":281
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_toolbar_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def icon_object_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_toolbar_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_21icon_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_20icon_object_get[] = "Get the icon object of item.\n\n @see: L{icon}, L{icon_file}, or L{icon_memfile} for details.\n\n @return: The icon object\n @rtype: L{Icon}\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_21icon_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_20icon_object_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":283
+ * return Object_from_instance(elm_toolbar_item_object_get(self.item))
+ *
+ * def icon_object_get(self): # <<<<<<<<<<<<<<
+ * """Get the icon object of item.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_20icon_object_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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("icon_object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":292
+ *
+ * """
+ * return Object_from_instance(elm_toolbar_item_icon_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property icon_object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_toolbar_item_icon_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_11icon_object_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_11icon_object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_11icon_object___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":302
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_toolbar_item_icon_object_get(self.item))
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_11icon_object___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":303
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_toolbar_item_icon_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def icon_memfile_set(self, img, size, format, key):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_toolbar_item_icon_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_23icon_memfile_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_22icon_memfile_set[] = "Set the icon associated with item to an image in a binary buffer.\n\n @note: The icon image set by this function can be changed by\n L{icon_set()}.\n\n @param img: The binary data that will be used as an image\n @param size: The size of binary data C{img}\n @type size: int\n @param format: Optional format of C{img} to pass to the image loader\n @type format: string\n @param key: Optional key of C{img} to pass to the image loader (eg.\n if C{img} is an edje file)\n @type key: string\n\n @return: (C{True} = success, C{False} = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_23icon_memfile_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_img = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_size = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_format = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_key = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__img,&__pyx_n_s__size,&__pyx_n_s__format,&__pyx_n_s__key,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_memfile_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__img);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__size);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("icon_memfile_set", 1, 4, 4, 1); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__format);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("icon_memfile_set", 1, 4, 4, 2); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__key);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("icon_memfile_set", 1, 4, 4, 3); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "icon_memfile_set") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 305; __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_img = values[0];
+ __pyx_v_size = values[1];
+ __pyx_v_format = values[2];
+ __pyx_v_key = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("icon_memfile_set", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_memfile_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_22icon_memfile_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), __pyx_v_img, __pyx_v_size, __pyx_v_format, __pyx_v_key);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":305
+ * return Object_from_instance(elm_toolbar_item_icon_object_get(self.item))
+ *
+ * def icon_memfile_set(self, img, size, format, key): # <<<<<<<<<<<<<<
+ * """Set the icon associated with item to an image in a binary buffer.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_22icon_memfile_set(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_img, CYTHON_UNUSED PyObject *__pyx_v_size, CYTHON_UNUSED PyObject *__pyx_v_format, CYTHON_UNUSED PyObject *__pyx_v_key) {
+ 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("icon_memfile_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":324
+ *
+ * """
+ * return False # <<<<<<<<<<<<<<
+ * #TODO: return bool(elm_toolbar_item_icon_memfile_set(self.item, img, size, format, key))
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_memfile_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_25icon_file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_24icon_file_set[] = "Set the icon associated with item to an image in a binary buffer.\n\n @note: The icon image set by this function can be changed by\n L{icon_set()}.\n\n @param file: The file that contains the image\n @type file: string\n @param key: Optional key of C{img} to pass to the image loader (eg.\n if C{img} is an edje file)\n @type key: string\n\n @return: (C{True} = success, C{False} = error)\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_25icon_file_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_file = 0;
+ PyObject *__pyx_v_key = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__file,&__pyx_n_s__key,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_file_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__file);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__key);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("icon_file_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "icon_file_set") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 327; __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_file = values[0];
+ __pyx_v_key = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("icon_file_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_24icon_file_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), __pyx_v_file, __pyx_v_key);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":327
+ * #TODO: return bool(elm_toolbar_item_icon_memfile_set(self.item, img, size, format, key))
+ *
+ * def icon_file_set(self, file, key): # <<<<<<<<<<<<<<
+ * """Set the icon associated with item to an image in a binary buffer.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_24icon_file_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_file, PyObject *__pyx_v_key) {
+ 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("icon_file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":343
+ *
+ * """
+ * return bool(elm_toolbar_item_icon_file_set(self.item, _cfruni(file), _cfruni(key))) # <<<<<<<<<<<<<<
+ *
+ * property icon_file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_item_icon_file_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_file), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_key))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ToolbarItem.icon_file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9icon_file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9icon_file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9icon_file___set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":354
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * if isinstance(value, tuple):
+ * file, key = value
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9icon_file___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_file = NULL;
+ PyObject *__pyx_v_key = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *(*__pyx_t_5)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":355
+ * """
+ * def __set__(self, value):
+ * if isinstance(value, tuple): # <<<<<<<<<<<<<<
+ * file, key = value
+ * else:
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyTuple_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":356
+ * def __set__(self, value):
+ * if isinstance(value, tuple):
+ * file, key = value # <<<<<<<<<<<<<<
+ * else:
+ * file = value
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[29]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[29]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 2) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L5_unpacking_done;
+ __pyx_L4_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[29]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L5_unpacking_done:;
+ }
+ __pyx_v_file = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_key = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":358
+ * file, key = value
+ * else:
+ * file = value # <<<<<<<<<<<<<<
+ * key = None
+ * # TODO: check return status
+ */
+ __Pyx_INCREF(__pyx_v_value);
+ __pyx_v_file = __pyx_v_value;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":359
+ * else:
+ * file = value
+ * key = None # <<<<<<<<<<<<<<
+ * # TODO: check return status
+ * elm_toolbar_item_icon_file_set(self.item, _cfruni(file), _cfruni(key))
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_key = Py_None;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":361
+ * key = None
+ * # TODO: check return status
+ * elm_toolbar_item_icon_file_set(self.item, _cfruni(file), _cfruni(key)) # <<<<<<<<<<<<<<
+ *
+ * def separator_set(self, separator):
+ */
+ elm_toolbar_item_icon_file_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_file), __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_key));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.icon_file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_file);
+ __Pyx_XDECREF(__pyx_v_key);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_27separator_set(PyObject *__pyx_v_self, PyObject *__pyx_v_separator); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_26separator_set[] = "Set or unset item as a separator.\n\n Items aren't set as separator by default.\n\n If set as separator it will display separator theme, so won't display\n icons or label.\n\n @see: L{separator_get()}\n\n @param separator: C{True} to set item item as separator or C{False}\n to unset, i.e., item will be used as a regular item.\n @type separator: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_27separator_set(PyObject *__pyx_v_self, PyObject *__pyx_v_separator) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("separator_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_26separator_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_separator));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":363
+ * elm_toolbar_item_icon_file_set(self.item, _cfruni(file), _cfruni(key))
+ *
+ * def separator_set(self, separator): # <<<<<<<<<<<<<<
+ * """Set or unset item as a separator.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_26separator_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_separator) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("separator_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":378
+ *
+ * """
+ * elm_toolbar_item_separator_set(self.item, separator) # <<<<<<<<<<<<<<
+ *
+ * def separator_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_separator); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 378; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_separator_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.separator_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_29separator_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_28separator_get[] = "Get a value whether item is a separator or not.\n\n @see: L{separator_set()} for details.\n\n @return: C{True} means item is a separator. C{False} indicates it's\n not.\n @rtype: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_29separator_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("separator_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_28separator_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":380
+ * elm_toolbar_item_separator_set(self.item, separator)
+ *
+ * def separator_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether item is a separator or not.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_28separator_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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("separator_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":390
+ *
+ * """
+ * return elm_toolbar_item_separator_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property separator:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_item_separator_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.separator_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9separator_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_separator); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9separator_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_separator) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9separator___set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_separator));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":403
+ *
+ * """
+ * def __set__(self, separator): # <<<<<<<<<<<<<<
+ * elm_toolbar_item_separator_set(self.item, separator)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9separator___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_separator) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":404
+ * """
+ * def __set__(self, separator):
+ * elm_toolbar_item_separator_set(self.item, separator) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_separator); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_separator_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.separator.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_9separator_3__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_9separator_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_9separator_2__get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":406
+ * elm_toolbar_item_separator_set(self.item, separator)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_item_separator_get(self.item)
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_9separator_2__get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":407
+ *
+ * def __get__(self):
+ * return elm_toolbar_item_separator_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def menu_set(self, menu):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_item_separator_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.separator.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_31menu_set(PyObject *__pyx_v_self, PyObject *__pyx_v_menu); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_30menu_set[] = "Set whether the toolbar item opens a menu.\n\n A toolbar item can be set to be a menu, using this function.\n\n Once it is set to be a menu, it can be manipulated through the\n menu-like function L{menu_parent_set()} and the other menu\n functions, using the Evas_Object C{menu} returned by\n L{item_menu_get()}.\n\n So, items to be displayed in this item's menu should be added with\n L{Menu.item_add()}.\n\n The following code exemplifies the most basic usage::\n tb = Toolbar(win)\n item = tb.item_append(\"refresh\", \"Menu\")\n item.menu_set(True)\n tb.menu_parent_set(win)\n menu = item.menu_get()\n menu.item_add(None, \"edit-cut\", \"Cut\")\n menu_item = menu.item_add(None, \"edit-copy\", \"Copy\")\n\n @see: L{menu_get()}\n\n @param menu: If C{True}, item will opens a menu when selected.\n @type menu: bool\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_31menu_set(PyObject *__pyx_v_self, PyObject *__pyx_v_menu) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("menu_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_30menu_set(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_menu));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":409
+ * return elm_toolbar_item_separator_get(self.item)
+ *
+ * def menu_set(self, menu): # <<<<<<<<<<<<<<
+ * """Set whether the toolbar item opens a menu.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_30menu_set(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_menu) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("menu_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":437
+ *
+ * """
+ * elm_toolbar_item_menu_set(self.item, menu) # <<<<<<<<<<<<<<
+ *
+ * def menu_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_menu); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_menu_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.menu_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_33menu_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_32menu_get[] = "Get toolbar item's menu.\n\n If item wasn't set as menu item with L{menu_set()}, this function\n will set it.\n\n @see: L{menu_set()} for details.\n\n @return: Item's menu object or C{None} on failure.\n\n ";
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_33menu_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("menu_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_32menu_get(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":439
+ * elm_toolbar_item_menu_set(self.item, menu)
+ *
+ * def menu_get(self): # <<<<<<<<<<<<<<
+ * """Get toolbar item's menu.
+ *
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_32menu_get(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self) {
+ Evas_Object *__pyx_v_menu;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("menu_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":451
+ * """
+ * cdef Evas_Object *menu
+ * menu = elm_toolbar_item_menu_get(self.item) # <<<<<<<<<<<<<<
+ * if menu == NULL:
+ * return None
+ */
+ __pyx_v_menu = elm_toolbar_item_menu_get(__pyx_v_self->__pyx_base.item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":452
+ * cdef Evas_Object *menu
+ * menu = elm_toolbar_item_menu_get(self.item)
+ * if menu == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_menu == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":453
+ * menu = elm_toolbar_item_menu_get(self.item)
+ * if menu == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * else:
+ * return Menu(None, <object>menu)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":455
+ * return None
+ * else:
+ * return Menu(None, <object>menu) # <<<<<<<<<<<<<<
+ *
+ * property menu:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(((PyObject *)__pyx_v_menu));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_menu));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_menu));
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Menu)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.menu_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4menu_1__get__(PyObject *__pyx_v_self); /*proto*/
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_4menu_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4menu___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":483
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *menu
+ * menu = elm_toolbar_item_menu_get(self.item)
+ */
+
+static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_4menu___get__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self) {
+ Evas_Object *__pyx_v_menu;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":485
+ * def __get__(self):
+ * cdef Evas_Object *menu
+ * menu = elm_toolbar_item_menu_get(self.item) # <<<<<<<<<<<<<<
+ * if menu == NULL:
+ * return None
+ */
+ __pyx_v_menu = elm_toolbar_item_menu_get(__pyx_v_self->__pyx_base.item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":486
+ * cdef Evas_Object *menu
+ * menu = elm_toolbar_item_menu_get(self.item)
+ * if menu == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_menu == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":487
+ * menu = elm_toolbar_item_menu_get(self.item)
+ * if menu == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * else:
+ * return Menu(None, <object>menu)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":489
+ * return None
+ * else:
+ * return Menu(None, <object>menu) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, menu):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(((PyObject *)__pyx_v_menu));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_menu));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_menu));
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Menu)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.menu.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4menu_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_menu); /*proto*/
+static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4menu_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_menu) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4menu_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((PyObject *)__pyx_v_menu));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":491
+ * return Menu(None, <object>menu)
+ *
+ * def __set__(self, menu): # <<<<<<<<<<<<<<
+ * elm_toolbar_item_menu_set(self.item, menu)
+ *
+ */
+
+static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_4menu_2__set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_menu) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":492
+ *
+ * def __set__(self, menu):
+ * elm_toolbar_item_menu_set(self.item, menu) # <<<<<<<<<<<<<<
+ *
+ * def state_add(self, icon = None, label = None, func = None, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_menu); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_item_menu_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.menu.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* Python wrapper */
+static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_35state_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_34state_add[] = "state_add(icon=None, label=None, func=None, *args, **kwargs)\n\n Add a new state to C{item}.\n\n Toolbar will load icon image from fdo or current theme. This\n behavior can be set by elm_toolbar_icon_order_lookup_set() function.\n If an absolute path is provided it will load it direct from a file.\n\n States created with this function can be removed with\n elm_toolbar_item_state_del().\n\n @see: L{state)\n\n @param icon: A string with icon name or the absolute path of an\n image file.\n @type icon: string\n @param label: The label of the new state.\n @type label: string\n @param func: The function to call when the item is clicked when this\n state is selected.\n @type func: function\n\n @return: The toolbar item state, or C{None} upon failure.\n @rtype: L{ToolbarItemState}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_35state_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__icon,&__pyx_n_s__label,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":494
+ * elm_toolbar_item_menu_set(self.item, menu)
+ *
+ * def state_add(self, icon = None, label = None, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """state_add(icon=None, label=None, func=None, *args, **kwargs)
+ *
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((PyObject *)Py_None);
+ 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) {
+ default:
+ 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 (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ 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--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "state_add") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ }
+ }
+ __pyx_v_icon = values[0];
+ __pyx_v_label = values[1];
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.ToolbarItem.state_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_34state_add(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), __pyx_v_icon, __pyx_v_label, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_34state_add(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("state_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":521
+ *
+ * """
+ * return ToolbarItemState(self, icon, label, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def state_del(self, ToolbarItemState state):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_icon);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_icon);
+ __Pyx_GIVEREF(__pyx_v_icon);
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ToolbarItemState)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ToolbarItem.state_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_37state_del(PyObject *__pyx_v_self, PyObject *__pyx_v_state); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11ToolbarItem_36state_del[] = "state_del(state)\n\n Delete a previously added state to C{item}.\n\n @see: L{state_add(})\n\n @param state: The state to be deleted.\n @type state: L{ToolbarItemState}\n\n @return: C{True} on success or C{False} on failure.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_37state_del(PyObject *__pyx_v_self, PyObject *__pyx_v_state) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_del (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_state), __pyx_ptype_10elementary_12c_elementary_ToolbarItemState, 1, "state", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_36state_del(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)__pyx_v_state));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":523
+ * return ToolbarItemState(self, icon, label, func, *args, **kwargs)
+ *
+ * def state_del(self, ToolbarItemState state): # <<<<<<<<<<<<<<
+ * """state_del(state)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_36state_del(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *__pyx_v_state) {
+ 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("state_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":537
+ *
+ * """
+ * return bool(elm_toolbar_item_state_del(self.item, state.obj)) # <<<<<<<<<<<<<<
+ *
+ * property state:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_item_state_del(__pyx_v_self->__pyx_base.item, __pyx_v_state->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ToolbarItem.state_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_state); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_state) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_state), __pyx_ptype_10elementary_12c_elementary_ToolbarItemState, 1, "state", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 549; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state___set__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)__pyx_v_state));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":549
+ *
+ * """
+ * def __set__(self, ToolbarItemState state): # <<<<<<<<<<<<<<
+ * # TODO: check return value bool for errors
+ * elm_toolbar_item_state_set(self.item, state.obj)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state___set__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *__pyx_v_state) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":551
+ * def __set__(self, ToolbarItemState state):
+ * # TODO: check return value bool for errors
+ * elm_toolbar_item_state_set(self.item, state.obj) # <<<<<<<<<<<<<<
+ *
+ * def __del__(self):
+ */
+ elm_toolbar_item_state_set(__pyx_v_self->__pyx_base.item, __pyx_v_state->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_3__del__(PyObject *__pyx_v_self); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_3__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state_2__del__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":553
+ * elm_toolbar_item_state_set(self.item, state.obj)
+ *
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * elm_toolbar_item_state_unset(self.item)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state_2__del__(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":554
+ *
+ * def __del__(self):
+ * elm_toolbar_item_state_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ elm_toolbar_item_state_unset(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_5__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_5__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state_4__get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":556
+ * elm_toolbar_item_state_unset(self.item)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return None
+ * # TODO: C api doesn't have data_get() for states so we can't get
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_5state_4__get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":557
+ *
+ * def __get__(self):
+ * return None # <<<<<<<<<<<<<<
+ * # TODO: C api doesn't have data_get() for states so we can't get
+ * # the py object from there. Store it in the item instead?
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_10state_next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_10state_next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_10state_next___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":573
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return None
+ * # TODO: keep a list of the states?
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_10state_next___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":574
+ * """
+ * def __get__(self):
+ * return None # <<<<<<<<<<<<<<
+ * # TODO: keep a list of the states?
+ * #return elm_toolbar_item_state_next(self.item)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_10state_prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11ToolbarItem_10state_prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11ToolbarItem_10state_prev___get__(((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":589
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return None
+ * # TODO: keep a list of the states?
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11ToolbarItem_10state_prev___get__(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":590
+ * """
+ * def __get__(self):
+ * return None # <<<<<<<<<<<<<<
+ * # TODO: keep a list of the states?
+ * #return elm_toolbar_item_state_prev(self.item)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 618; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar___init__(((struct PyElementaryToolbar *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":618
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_toolbar_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar___init__(struct PyElementaryToolbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":619
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_toolbar_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 619; __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[29]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":620
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_toolbar_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def icon_size_set(self, icon_size):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Toolbar *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_toolbar_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Toolbar.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_3icon_size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_size); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_2icon_size_set[] = "Set the icon size, in pixels, to be used by toolbar items.\n\n @note: Default value is C{32}. It reads value from elm config.\n\n @see: L{icon_size_get()}\n\n @param icon_size: The icon size in pixels\n @type icon_size: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_3icon_size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_size) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_size_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_2icon_size_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_icon_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":622
+ * self._set_obj(elm_toolbar_add(parent.obj))
+ *
+ * def icon_size_set(self, icon_size): # <<<<<<<<<<<<<<
+ * """Set the icon size, in pixels, to be used by toolbar items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_2icon_size_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_icon_size) {
+ 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("icon_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":633
+ *
+ * """
+ * elm_toolbar_icon_size_set(self.obj, icon_size) # <<<<<<<<<<<<<<
+ *
+ * def icon_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_icon_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 633; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_icon_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_5icon_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_4icon_size_get[] = "Get the icon size, in pixels, to be used by toolbar items.\n\n @see: L{icon_size_set()} for details.\n\n @return: The icon size in pixels.\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_5icon_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_4icon_size_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":635
+ * elm_toolbar_icon_size_set(self.obj, icon_size)
+ *
+ * def icon_size_get(self): # <<<<<<<<<<<<<<
+ * """Get the icon size, in pixels, to be used by toolbar items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_4icon_size_get(struct PyElementaryToolbar *__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("icon_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":644
+ *
+ * """
+ * return elm_toolbar_icon_size_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property icon_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_icon_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 644; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_size); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_9icon_size___set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_icon_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":654
+ *
+ * """
+ * def __set__(self, icon_size): # <<<<<<<<<<<<<<
+ * elm_toolbar_icon_size_set(self.obj, icon_size)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_9icon_size___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_icon_size) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":655
+ * """
+ * def __set__(self, icon_size):
+ * elm_toolbar_icon_size_set(self.obj, icon_size) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_icon_size); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_icon_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_size_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_size_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_9icon_size_2__get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":657
+ * elm_toolbar_icon_size_set(self.obj, icon_size)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_icon_size_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_9icon_size_2__get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":658
+ *
+ * def __get__(self):
+ * return elm_toolbar_icon_size_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def icon_order_lookup_set(self, order):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_icon_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_7icon_order_lookup_set(PyObject *__pyx_v_self, PyObject *__pyx_v_order); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_6icon_order_lookup_set[] = "Sets icon lookup order, for toolbar items' icons.\n\n Icons added before calling this function will not be affected.\n The default lookup order is ELM_ICON_LOOKUP_THEME_FDO.\n\n @see: L{icon_order_lookup_get()}\n\n @param order: The icon lookup order.\n @type order: Elm_Icon_Lookup_Order\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_7icon_order_lookup_set(PyObject *__pyx_v_self, PyObject *__pyx_v_order) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_order_lookup_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_6icon_order_lookup_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_order));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":660
+ * return elm_toolbar_icon_size_get(self.obj)
+ *
+ * def icon_order_lookup_set(self, order): # <<<<<<<<<<<<<<
+ * """Sets icon lookup order, for toolbar items' icons.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_6icon_order_lookup_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_order) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Icon_Lookup_Order __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("icon_order_lookup_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":672
+ *
+ * """
+ * elm_toolbar_icon_order_lookup_set(self.obj, order) # <<<<<<<<<<<<<<
+ *
+ * def icon_order_lookup_get(self):
+ */
+ __pyx_t_1 = ((Elm_Icon_Lookup_Order)PyInt_AsLong(__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 672; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_icon_order_lookup_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_order_lookup_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_order_lookup_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_8icon_order_lookup_get[] = "Gets the icon lookup order.\n\n @see: L{icon_order_lookup_set()} for details.\n\n @return: The icon lookup order.\n @rtype: Elm_Icon_Lookup_Order\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_order_lookup_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_order_lookup_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_8icon_order_lookup_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":674
+ * elm_toolbar_icon_order_lookup_set(self.obj, order)
+ *
+ * def icon_order_lookup_get(self): # <<<<<<<<<<<<<<
+ * """Gets the icon lookup order.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_8icon_order_lookup_get(struct PyElementaryToolbar *__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("icon_order_lookup_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":683
+ *
+ * """
+ * return elm_toolbar_icon_order_lookup_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property icon_order_lookup:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_icon_order_lookup_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 683; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_order_lookup_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_order); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_order) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_17icon_order_lookup___set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_order));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":694
+ *
+ * """
+ * def __set__(self, order): # <<<<<<<<<<<<<<
+ * elm_toolbar_icon_order_lookup_set(self.obj, order)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_17icon_order_lookup___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_order) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Icon_Lookup_Order __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":695
+ * """
+ * def __set__(self, order):
+ * elm_toolbar_icon_order_lookup_set(self.obj, order) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = ((Elm_Icon_Lookup_Order)PyInt_AsLong(__pyx_v_order)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_icon_order_lookup_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_order_lookup.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_2__get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":697
+ * elm_toolbar_icon_order_lookup_set(self.obj, order)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_icon_order_lookup_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_2__get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":698
+ *
+ * def __get__(self):
+ * return elm_toolbar_icon_order_lookup_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, icon, label, callback = None, *args, **kargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_icon_order_lookup_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.icon_order_lookup.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_10item_append[] = "item_append(icon, label, callback, *args, **kargs)\n\n Append item to the toolbar.\n\n A new item will be created and appended to the toolbar, i.e., will\n be set as B{last} item.\n\n Items created with this method can be deleted with\n L{ObjectItem.delete()}.\n\n If a function is passed as argument, it will be called every time\n this item is selected, i.e., the user clicks over an unselected item.\n If such function isn't needed, just passing C{None} as C{func} is\n enough. The same should be done for C{data}.\n\n Toolbar will load icon image from fdo or current theme. This\n behavior can be set by L{icon_order_lookup} function.\n If an absolute path is provided it will load it direct from a file.\n\n @see: L{ToolbarItem.icon}\n @see: L{ObjectItem.delete()}\n\n @param icon: A string with icon name or the absolute path of an image file.\n @type icon: string\n @param label: The label of the item.\n @type label: string\n @param callback: The function to call when the item is clicked.\n @type callback: function\n\n @return: The created item or C{None} upon failure.\n @rtype: ToolbarItem\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__icon,&__pyx_n_s__label,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":700
+ * return elm_toolbar_icon_order_lookup_get(self.obj)
+ *
+ * def item_append(self, icon, label, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_append(icon, label, callback, *args, **kargs)
+ *
+ */
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 2, 3, 1); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_icon = values[0];
+ __pyx_v_label = values[1];
+ __pyx_v_callback = 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[29]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_10item_append(((struct PyElementaryToolbar *)__pyx_v_self), __pyx_v_icon, __pyx_v_label, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_10item_append(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":736
+ * # Everything is done in the ToolbarItem class, because of wrapping the
+ * # C structures in python classes
+ * return ToolbarItem(self, icon, label, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * #TODO: def item_prepend(self, icon, label, callback = None, *args, **kargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_icon);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_icon);
+ __Pyx_GIVEREF(__pyx_v_icon);
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ToolbarItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Toolbar.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_13first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_12first_item_get[] = "Get the first item in the given toolbar widget's list of items.\n\n @see: L{item_append()}\n @see: L{last_item_get()}\n\n @return: The first item or C{None}, if it has no items (and on errors)\n @rtype: L{ToolbarItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_13first_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_10elementary_12c_elementary_7Toolbar_12first_item_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":841
+ * #return ToolbarItem(self, icon, label, callback, *args, **kargs)
+ *
+ * def first_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the first item in the given toolbar widget's list of items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_12first_item_get(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":851
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 851; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.first_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_10first_item___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":862
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_toolbar_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_10first_item___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":863
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_toolbar_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def last_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_15last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_14last_item_get[] = "Get the last item in the given toolbar widget's list of items.\n\n @see: L{item_prepend()}\n @see: L{first_item_get()}\n\n @return: The last item or C{None}, if it has no items (and on errors)\n @rtype: L{ToolbarItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_15last_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_10elementary_12c_elementary_7Toolbar_14last_item_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":865
+ * return _object_item_to_python(elm_toolbar_first_item_get(self.obj))
+ *
+ * def last_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the last item in the given toolbar widget's list of items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_14last_item_get(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":875
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.last_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_9last_item___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":886
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_toolbar_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_9last_item___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":887
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_toolbar_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_find_by_label(self, label):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_17item_find_by_label(PyObject *__pyx_v_self, PyObject *__pyx_v_label); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_16item_find_by_label[] = "item_find_by_label(label)\n\n Returns a toolbar item by its label.\n\n @param label: The label of the item to find.\n @type label: string\n @return: The toolbar item matching C{label} or C{None} on failure.\n @rtype: L{ToolbarItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_17item_find_by_label(PyObject *__pyx_v_self, PyObject *__pyx_v_label) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_find_by_label (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_16item_find_by_label(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_label));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":889
+ * return _object_item_to_python(elm_toolbar_last_item_get(self.obj))
+ *
+ * def item_find_by_label(self, label): # <<<<<<<<<<<<<<
+ * """item_find_by_label(label)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_16item_find_by_label(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_label) {
+ 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("item_find_by_label", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":900
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_item_find_by_label(self.obj, _cfruni(label))) # <<<<<<<<<<<<<<
+ *
+ * def selected_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_item_find_by_label(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 900; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.item_find_by_label", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_19selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_18selected_item_get[] = "Get the selected item.\n\n The selected item can be unselected with function\n elm_toolbar_item_selected_set().\n\n The selected item always will be highlighted on toolbar.\n\n @see: L{selected_items_get()}\n\n @return: The selected toolbar item.\n @rtype: L{ToolbarItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_19selected_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_10elementary_12c_elementary_7Toolbar_18selected_item_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":902
+ * return _object_item_to_python(elm_toolbar_item_find_by_label(self.obj, _cfruni(label)))
+ *
+ * def selected_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the selected item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_18selected_item_get(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":916
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 916; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_13selected_item___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":930
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_toolbar_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_13selected_item___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":931
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_toolbar_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def more_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 931; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_21more_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_20more_item_get[] = "Get the more item.\n\n The more item can be changed with function\n L{ObjectItem.text_set()} and L{ObjectItem.content_set()}.\n\n @return: The toolbar more item.\n @rtype: L{ToolbarItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_21more_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("more_item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_20more_item_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":933
+ * return _object_item_to_python(elm_toolbar_selected_item_get(self.obj))
+ *
+ * def more_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the more item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_20more_item_get(struct PyElementaryToolbar *__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("more_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":943
+ *
+ * """
+ * return _object_item_to_python(elm_toolbar_more_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property more_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_more_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 943; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.more_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9more_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_9more_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_9more_item___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":954
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_toolbar_more_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_9more_item___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":955
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_toolbar_more_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def shrink_mode_set(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_toolbar_more_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 955; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.more_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_23shrink_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_22shrink_mode_set[] = "Set the shrink state of toolbar.\n\n The toolbar won't scroll if ELM_TOOLBAR_SHRINK_NONE, but will\n enforce a minimum size so all the items will fit, won't scroll and\n won't show the items that don't fit if ELM_TOOLBAR_SHRINK_HIDE, will\n scroll if ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to pop\n up excess elements with ELM_TOOLBAR_SHRINK_MENU.\n\n @param shrink_mode: Toolbar's items display behavior.\n @type shrink_mode: Elm_Toolbar_Shrink_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_23shrink_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("shrink_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_22shrink_mode_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":957
+ * return _object_item_to_python(elm_toolbar_more_item_get(self.obj))
+ *
+ * def shrink_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set the shrink state of toolbar.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_22shrink_mode_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Toolbar_Shrink_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("shrink_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":970
+ *
+ * """
+ * elm_toolbar_shrink_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def shrink_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Toolbar_Shrink_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_shrink_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.shrink_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_25shrink_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_24shrink_mode_get[] = "Get the shrink mode of toolbar.\n\n @see: L{shrink_mode_set()} for details.\n\n @return: Toolbar's items display behavior.\n @rtype: Elm_Toolbar_Shrink_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_25shrink_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("shrink_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_24shrink_mode_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":972
+ * elm_toolbar_shrink_mode_set(self.obj, mode)
+ *
+ * def shrink_mode_get(self): # <<<<<<<<<<<<<<
+ * """Get the shrink mode of toolbar.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_24shrink_mode_get(struct PyElementaryToolbar *__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("shrink_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":981
+ *
+ * """
+ * return elm_toolbar_shrink_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property shrink_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_shrink_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.shrink_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11shrink_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11shrink_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_11shrink_mode___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":995
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_shrink_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11shrink_mode___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":996
+ * """
+ * def __get__(self):
+ * return elm_toolbar_shrink_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_shrink_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 996; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.shrink_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11shrink_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11shrink_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_10elementary_12c_elementary_7Toolbar_11shrink_mode_2__set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":998
+ * return elm_toolbar_shrink_mode_get(self.obj)
+ *
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_toolbar_shrink_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11shrink_mode_2__set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Toolbar_Shrink_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":999
+ *
+ * def __set__(self, mode):
+ * elm_toolbar_shrink_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_set(self, homogeneous):
+ */
+ __pyx_t_1 = ((Elm_Toolbar_Shrink_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 999; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_shrink_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.shrink_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_27homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_26homogeneous_set[] = "Enable/disable homogeneous mode.\n\n This will enable the homogeneous mode where items are of the same size.\n\n @see: L{homogeneous_get()}\n\n @param homogeneous: Assume the items within the toolbar are of the\n same size (True = on, False = off). Default is C{False}.\n @type homogeneous: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_27homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_26homogeneous_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_homogeneous));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1001
+ * elm_toolbar_shrink_mode_set(self.obj, mode)
+ *
+ * def homogeneous_set(self, homogeneous): # <<<<<<<<<<<<<<
+ * """Enable/disable homogeneous mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_26homogeneous_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("homogeneous_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1013
+ *
+ * """
+ * elm_toolbar_homogeneous_set(self.obj, homogeneous) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_homogeneous); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1013; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.homogeneous_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_29homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_28homogeneous_get[] = "Get whether the homogeneous mode is enabled.\n\n @see: L{homogeneous_set()}\n\n @return: Assume the items within the toolbar are of the same height\n and width (True = on, False = off).\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_29homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_28homogeneous_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1015
+ * elm_toolbar_homogeneous_set(self.obj, homogeneous)
+ *
+ * def homogeneous_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the homogeneous mode is enabled.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_28homogeneous_get(struct PyElementaryToolbar *__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("homogeneous_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1025
+ *
+ * """
+ * return elm_toolbar_homogeneous_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property homogeneous:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1025; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.homogeneous_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11homogeneous_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11homogeneous_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_11homogeneous___set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_homogeneous));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1035
+ *
+ * """
+ * def __set__(self, homogeneous): # <<<<<<<<<<<<<<
+ * elm_toolbar_homogeneous_set(self.obj, homogeneous)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11homogeneous___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1036
+ * """
+ * def __set__(self, homogeneous):
+ * elm_toolbar_homogeneous_set(self.obj, homogeneous) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_homogeneous); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1036; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.homogeneous.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11homogeneous_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11homogeneous_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_11homogeneous_2__get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1038
+ * elm_toolbar_homogeneous_set(self.obj, homogeneous)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_homogeneous_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11homogeneous_2__get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1039
+ *
+ * def __get__(self):
+ * return elm_toolbar_homogeneous_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def menu_parent_set(self, evasObject parent):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.homogeneous.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_31menu_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_30menu_parent_set[] = "Set the parent object of the toolbar items' menus.\n\n Each item can be set as item menu, with L{ToolbarItem.menu_set()}.\n\n For more details about setting the parent for toolbar menus, see\n L{Menu.parent_set()}.\n\n @see: L{Menu.parent_set()} for details.\n @see: L{ToolbarItem.menu_set()} for details.\n\n @param parent: The parent of the menu objects.\n @type parent: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_31menu_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("menu_parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1041; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_30menu_parent_set(((struct PyElementaryToolbar *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1041
+ * return elm_toolbar_homogeneous_get(self.obj)
+ *
+ * def menu_parent_set(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Set the parent object of the toolbar items' menus.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_30menu_parent_set(struct PyElementaryToolbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("menu_parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1056
+ *
+ * """
+ * elm_toolbar_menu_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def menu_parent_get(self):
+ */
+ elm_toolbar_menu_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_33menu_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_32menu_parent_get[] = "Get the parent object of the toolbar items' menus.\n\n @see: L{Menu.parent_set()} for details.\n\n @return: The parent of the menu objects.\n @rtype: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_33menu_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("menu_parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_32menu_parent_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1058
+ * elm_toolbar_menu_parent_set(self.obj, parent.obj)
+ *
+ * def menu_parent_get(self): # <<<<<<<<<<<<<<
+ * """Get the parent object of the toolbar items' menus.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_32menu_parent_get(struct PyElementaryToolbar *__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("menu_parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1067
+ *
+ * """
+ * return Object_from_instance(elm_toolbar_menu_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property menu_parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_toolbar_menu_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1067; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.menu_parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11menu_parent_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11menu_parent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_11menu_parent___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1083
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_toolbar_menu_parent_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11menu_parent___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1084
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_toolbar_menu_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, evasObject parent):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_toolbar_menu_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.menu_parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11menu_parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11menu_parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_11menu_parent_2__set__(((struct PyElementaryToolbar *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1086
+ * return Object_from_instance(elm_toolbar_menu_parent_get(self.obj))
+ *
+ * def __set__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * elm_toolbar_menu_parent_set(self.obj, parent.obj)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11menu_parent_2__set__(struct PyElementaryToolbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1087
+ *
+ * def __set__(self, evasObject parent):
+ * elm_toolbar_menu_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def align_set(self, align):
+ */
+ elm_toolbar_menu_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_35align_set(PyObject *__pyx_v_self, PyObject *__pyx_v_align); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_34align_set[] = "Set the alignment of the items.\n\n Alignment of toolbar items, from C{0.0} to indicates to align\n left, to C{1.0}, to align to right. C{0.5} centralize\n items.\n\n Centered items by default.\n\n @see: L{align_get()}\n\n @param align: The new alignment, a float between C{0.0} and C{1.0}.\n @type align: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_35align_set(PyObject *__pyx_v_self, PyObject *__pyx_v_align) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("align_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_34align_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_align));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1089
+ * elm_toolbar_menu_parent_set(self.obj, parent.obj)
+ *
+ * def align_set(self, align): # <<<<<<<<<<<<<<
+ * """Set the alignment of the items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_34align_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_align) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("align_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1104
+ *
+ * """
+ * elm_toolbar_align_set(self.obj, align) # <<<<<<<<<<<<<<
+ *
+ * def align_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_align); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_align_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_37align_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_36align_get[] = "Get the alignment of the items.\n\n @see: L{align_set()} for details.\n\n @return: toolbar items alignment, a float between C{0.0} and C{1.0}.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_37align_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_10elementary_12c_elementary_7Toolbar_36align_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1106
+ * elm_toolbar_align_set(self.obj, align)
+ *
+ * def align_get(self): # <<<<<<<<<<<<<<
+ * """Get the alignment of the items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_36align_get(struct PyElementaryToolbar *__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("align_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1115
+ *
+ * """
+ * return elm_toolbar_align_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property align:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_toolbar_align_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.align_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_5align_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_align); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_5align_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_align) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_5align___set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_align));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1129
+ *
+ * """
+ * def __set__(self, align): # <<<<<<<<<<<<<<
+ * elm_toolbar_align_set(self.obj, align)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_5align___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_align) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1130
+ * """
+ * def __set__(self, align):
+ * elm_toolbar_align_set(self.obj, align) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_align); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_align_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.align.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_5align_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_5align_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_5align_2__get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1132
+ * elm_toolbar_align_set(self.obj, align)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_align_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_5align_2__get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1133
+ *
+ * def __get__(self):
+ * return elm_toolbar_align_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, horizontal):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_toolbar_align_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.align.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_39horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_38horizontal_set[] = "Change a toolbar's orientation\n\n By default, a toolbar will be horizontal. Use this function to\n create a vertical toolbar.\n\n @param horizontal: If C{True}, the toolbar is horizontal\n @type horizontal: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_39horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_38horizontal_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1135
+ * return elm_toolbar_align_get(self.obj)
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """Change a toolbar's orientation
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_38horizontal_set(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1145
+ *
+ * """
+ * elm_toolbar_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_41horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_40horizontal_get[] = "Get a toolbar's orientation\n\n By default, a toolbar will be horizontal. Use this function to\n determine whether a toolbar is vertical.\n\n @return: If C{True}, the toolbar is horizontal\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_41horizontal_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_10elementary_12c_elementary_7Toolbar_40horizontal_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1147
+ * elm_toolbar_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Get a toolbar's orientation
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_40horizontal_get(struct PyElementaryToolbar *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1157
+ *
+ * """
+ * return elm_toolbar_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_10horizontal_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_10horizontal_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_10horizontal___set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1168
+ *
+ * """
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_toolbar_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_10horizontal___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1169
+ * """
+ * def __set__(self, horizontal):
+ * elm_toolbar_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_10horizontal_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_10horizontal_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_10horizontal_2__get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1171
+ * elm_toolbar_horizontal_set(self.obj, horizontal)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_horizontal_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_10horizontal_2__get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1172
+ *
+ * def __get__(self):
+ * return elm_toolbar_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def items_count(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_toolbar_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_43items_count(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_42items_count[] = "Get the number of items in a toolbar\n\n @return: The number of items in toolbar\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_43items_count(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_count (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_42items_count(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1174
+ * return elm_toolbar_horizontal_get(self.obj)
+ *
+ * def items_count(self): # <<<<<<<<<<<<<<
+ * """Get the number of items in a toolbar
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_42items_count(struct PyElementaryToolbar *__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("items_count", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1181
+ *
+ * """
+ * return elm_toolbar_items_count(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property standard_priority:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyLong_FromUnsignedLong(elm_toolbar_items_count(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.items_count", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_17standard_priority_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_17standard_priority_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_17standard_priority___set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1193
+ *
+ * """
+ * def __set__(self, priority): # <<<<<<<<<<<<<<
+ * elm_toolbar_standard_priority_set(self.obj, priority)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_17standard_priority___set__(struct PyElementaryToolbar *__pyx_v_self, PyObject *__pyx_v_priority) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1194
+ * """
+ * def __set__(self, priority):
+ * elm_toolbar_standard_priority_set(self.obj, priority) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_toolbar_standard_priority_get(self.obj)
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_priority); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_standard_priority_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.standard_priority.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_17standard_priority_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_17standard_priority_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_17standard_priority_2__get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1195
+ * def __set__(self, priority):
+ * elm_toolbar_standard_priority_set(self.obj, priority)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_standard_priority_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_17standard_priority_2__get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1196
+ * elm_toolbar_standard_priority_set(self.obj, priority)
+ * def __get__(self):
+ * return elm_toolbar_standard_priority_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_set(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_standard_priority_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.standard_priority.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_45select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_44select_mode_set[] = "Set the toolbar select mode.\n\n This function changes the item select mode in the toolbar widget.\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\n mode.\n - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if\n selected, every click will make the selected callbacks be called.\n - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability\n to select items entirely and they will neither appear selected\n nor call selected callback functions.\n\n @see: L{select_mode_get()}\n\n @param mode: The select mode\n @type mode: Elm_Object_Select_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_45select_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_10elementary_12c_elementary_7Toolbar_44select_mode_set(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1198
+ * return elm_toolbar_standard_priority_get(self.obj)
+ *
+ * def select_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set the toolbar select mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_44select_mode_set(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1218
+ *
+ * """
+ * elm_toolbar_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_47select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_46select_mode_get[] = "Get the toolbar select mode.\n\n @see: L{select_mode_set()}\n\n @return: The select mode (ELM_OBJECT_SELECT_MODE_MAX on failure)\n @rtype: Elm_Object_Select_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_47select_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_10elementary_12c_elementary_7Toolbar_46select_mode_get(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1220
+ * elm_toolbar_select_mode_set(self.obj, mode)
+ *
+ * def select_mode_get(self): # <<<<<<<<<<<<<<
+ * """Get the toolbar select mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_46select_mode_get(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1229
+ *
+ * """
+ * return elm_toolbar_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property select_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.select_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11select_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_11select_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_11select_mode___get__(((struct PyElementaryToolbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1248
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_toolbar_select_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_11select_mode___get__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1249
+ * """
+ * def __get__(self):
+ * return elm_toolbar_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_toolbar_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.select_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Toolbar_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_10elementary_12c_elementary_7Toolbar_11select_mode_2__set__(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1251
+ * return elm_toolbar_select_mode_get(self.obj)
+ *
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_toolbar_select_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Toolbar_11select_mode_2__set__(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1252
+ *
+ * def __set__(self, mode):
+ * elm_toolbar_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_toolbar_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Toolbar.select_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_49callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_48callback_clicked_add[] = "When the user clicks on a toolbar item and becomes selected.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_49callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[29]; __pyx_lineno = 1254; __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[29]; __pyx_lineno = 1254; __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("elementary.c_elementary.Toolbar.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_48callback_clicked_add(((struct PyElementaryToolbar *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1254
+ * elm_toolbar_select_mode_set(self.obj, mode)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user clicks on a toolbar item and becomes selected."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_48callback_clicked_add(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1256
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """When the user clicks on a toolbar item and becomes selected."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1256; __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[29]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Toolbar.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_51callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_51callback_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_10elementary_12c_elementary_7Toolbar_50callback_clicked_del(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1258
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_50callback_clicked_del(struct PyElementaryToolbar *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1259
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1259; __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[29]; __pyx_lineno = 1259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Toolbar.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_53callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_52callback_longpressed_add[] = "When the toolbar is pressed for a certain amount of time.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_53callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1261; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1261; __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("elementary.c_elementary.Toolbar.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_52callback_longpressed_add(((struct PyElementaryToolbar *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1261
+ * self._callback_del("clicked", func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the toolbar is pressed for a certain amount of time."""
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_52callback_longpressed_add(struct PyElementaryToolbar *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1263
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * """When the toolbar is pressed for a certain amount of time."""
+ * self._callback_add("longpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1263; __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[29]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Toolbar.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_55callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_55callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_54callback_longpressed_del(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1265
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("longpressed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_54callback_longpressed_del(struct PyElementaryToolbar *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1266
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del("longpressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1266; __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[29]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Toolbar.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_57callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Toolbar_56callback_language_changed_add[] = "When the program language changes.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_57callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[29]; __pyx_lineno = 1268; __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[29]; __pyx_lineno = 1268; __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("elementary.c_elementary.Toolbar.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_56callback_language_changed_add(((struct PyElementaryToolbar *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1268
+ * self._callback_del("longpressed", func)
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the program language changes."""
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_56callback_language_changed_add(struct PyElementaryToolbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1270
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ * """When the program language changes."""
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1270; __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[29]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Toolbar.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_59callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Toolbar_59callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Toolbar_58callback_language_changed_del(((struct PyElementaryToolbar *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1272
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Toolbar_58callback_language_changed_del(struct PyElementaryToolbar *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1273
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("toolbar", Toolbar)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1273; __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[29]; __pyx_lineno = 1273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Toolbar.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8ListItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8ListItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_kind = 0;
+ struct PyEvasObject *__pyx_v_list = 0;
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct PyEvasObject *__pyx_v_end = 0;
+ struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_before_after = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__kind,&__pyx_n_s__list,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__end,&__pyx_n_s__before_after,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 7) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 7, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[7] = {0,0,0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":30
+ * """An item for the list widget."""
+ *
+ * def __init__(self, kind, evasObject list, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, ListItem before_after = None,
+ * callback = None, *args, **kargs):
+ */
+ values[3] = (PyObject *)((struct PyEvasObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":31
+ *
+ * def __init__(self, kind, evasObject list, label, evasObject icon = None,
+ * evasObject end = None, ListItem before_after = None, # <<<<<<<<<<<<<<
+ * callback = None, *args, **kargs):
+ *
+ */
+ values[4] = (PyObject *)((struct PyEvasObject *)Py_None);
+ values[5] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_ListItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":32
+ * def __init__(self, kind, evasObject list, label, evasObject icon = None,
+ * evasObject end = None, ListItem before_after = None,
+ * callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ *
+ * cdef Evas_Object* icon_obj = NULL
+ */
+ values[6] = ((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 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__kind);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__list);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 7, 1); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 7, 2); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__end);
+ if (value) { values[4] = value; kw_args--; }
+ }
+ case 5:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before_after);
+ if (value) { values[5] = value; kw_args--; }
+ }
+ case 6:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[6] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 7) ? pos_args : 7;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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);
+ values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ case 2:
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_kind = values[0];
+ __pyx_v_list = ((struct PyEvasObject *)values[1]);
+ __pyx_v_label = values[2];
+ __pyx_v_icon = ((struct PyEvasObject *)values[3]);
+ __pyx_v_end = ((struct PyEvasObject *)values[4]);
+ __pyx_v_before_after = ((struct __pyx_obj_10elementary_12c_elementary_ListItem *)values[5]);
+ __pyx_v_callback = values[6];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 7, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_list), __pyx_ptype_4evas_6c_evas_Object, 1, "list", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before_after), __pyx_ptype_10elementary_12c_elementary_ListItem, 1, "before_after", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem___init__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self), __pyx_v_kind, __pyx_v_list, __pyx_v_label, __pyx_v_icon, __pyx_v_end, __pyx_v_before_after, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":30
+ * """An item for the list widget."""
+ *
+ * def __init__(self, kind, evasObject list, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, ListItem before_after = None,
+ * callback = None, *args, **kargs):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8ListItem___init__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_kind, struct PyEvasObject *__pyx_v_list, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_before_after, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Evas_Object *__pyx_v_icon_obj;
+ Evas_Object *__pyx_v_end_obj;
+ Evas_Smart_Cb __pyx_v_cb;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":34
+ * callback = None, *args, **kargs):
+ *
+ * cdef Evas_Object* icon_obj = NULL # <<<<<<<<<<<<<<
+ * cdef Evas_Object* end_obj = NULL
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+ __pyx_v_icon_obj = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":35
+ *
+ * cdef Evas_Object* icon_obj = NULL
+ * cdef Evas_Object* end_obj = NULL # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ __pyx_v_end_obj = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":36
+ * cdef Evas_Object* icon_obj = NULL
+ * cdef Evas_Object* end_obj = NULL
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if icon is not None:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":38
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if icon is not None: # <<<<<<<<<<<<<<
+ * icon_obj = icon.obj
+ * if end is not None:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_icon) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":39
+ *
+ * if icon is not None:
+ * icon_obj = icon.obj # <<<<<<<<<<<<<<
+ * if end is not None:
+ * end_obj = end.obj
+ */
+ __pyx_v_icon_obj = __pyx_v_icon->obj;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":40
+ * if icon is not None:
+ * icon_obj = icon.obj
+ * if end is not None: # <<<<<<<<<<<<<<
+ * end_obj = end.obj
+ *
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_end) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":41
+ * icon_obj = icon.obj
+ * if end is not None:
+ * end_obj = end.obj # <<<<<<<<<<<<<<
+ *
+ * if callback is not None:
+ */
+ __pyx_v_end_obj = __pyx_v_end->obj;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":43
+ * end_obj = end.obj
+ *
+ * if callback is not None: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = (__pyx_v_callback != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":44
+ *
+ * if callback is not None:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":45
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_102), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 45; __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[30]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L6;
+ }
+ __pyx_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":46
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":48
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ *
+ * if kind == ELM_LIST_ITEM_INSERT_APPEND:
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":50
+ * self.params = (callback, args, kargs)
+ *
+ * if kind == ELM_LIST_ITEM_INSERT_APPEND: # <<<<<<<<<<<<<<
+ * item = elm_list_item_append( list.obj,
+ * _cfruni(label),
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_APPEND); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_3, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":56
+ * end_obj,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ *
+ * elif kind == ELM_LIST_ITEM_INSERT_PREPEND:
+ */
+ __pyx_v_item = elm_list_item_append(__pyx_v_list->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_icon_obj, __pyx_v_end_obj, __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L7;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":58
+ * <void*>self)
+ *
+ * elif kind == ELM_LIST_ITEM_INSERT_PREPEND: # <<<<<<<<<<<<<<
+ * item = elm_list_item_prepend( list.obj,
+ * _cfruni(label),
+ */
+ __pyx_t_2 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_PREPEND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_2, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":64
+ * end_obj,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ *
+ * #elif kind == ELM_LIST_ITEM_INSERT_SORTED:
+ */
+ __pyx_v_item = elm_list_item_prepend(__pyx_v_list->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_icon_obj, __pyx_v_end_obj, __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L7;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":76
+ *
+ * else:
+ * if before_after == None: # <<<<<<<<<<<<<<
+ * raise ValueError("need a valid after object to add an item before/after another item")
+ *
+ */
+ __pyx_t_3 = PyObject_RichCompare(((PyObject *)__pyx_v_before_after), Py_None, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":77
+ * else:
+ * if before_after == None:
+ * raise ValueError("need a valid after object to add an item before/after another item") # <<<<<<<<<<<<<<
+ *
+ * if kind == ELM_LIST_ITEM_INSERT_BEFORE:
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_k_tuple_104), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 77; __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[30]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L8;
+ }
+ __pyx_L8:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":79
+ * raise ValueError("need a valid after object to add an item before/after another item")
+ *
+ * if kind == ELM_LIST_ITEM_INSERT_BEFORE: # <<<<<<<<<<<<<<
+ * item = elm_list_item_insert_before(list.obj,
+ * before_after.item,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_BEFORE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_3, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":86
+ * end_obj,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ *
+ * else:
+ */
+ __pyx_v_item = elm_list_item_insert_before(__pyx_v_list->obj, __pyx_v_before_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_icon_obj, __pyx_v_end_obj, __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L9;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":95
+ * end_obj,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * self._set_obj(item)
+ */
+ __pyx_v_item = elm_list_item_insert_after(__pyx_v_list->obj, __pyx_v_before_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_icon_obj, __pyx_v_end_obj, __pyx_v_cb, ((void *)__pyx_v_self));
+ }
+ __pyx_L9:;
+ }
+ __pyx_L7:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":96
+ * cb,
+ * <void*>self)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":97
+ * <void*>self)
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_ListItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L10;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":99
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L10:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_3__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_3__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_2__str__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":101
+ * Py_DECREF(self)
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return ("%s(label=%r, icon=%s, end=%s, "
+ * "callback=%r, args=%r, kargs=%s)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_2__str__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":102
+ *
+ * def __str__(self):
+ * return ("%s(label=%r, icon=%s, end=%s, " # <<<<<<<<<<<<<<
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), bool(self.part_content_get("icon")),
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":104
+ * return ("%s(label=%r, icon=%s, end=%s, "
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), bool(self.part_content_get("icon")), # <<<<<<<<<<<<<<
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__part_content_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_4 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_106), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":105
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), bool(self.part_content_get("icon")),
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__part_content_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_5 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_k_tuple_107), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_6) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_7) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = PyTuple_New(7); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_8, 5, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_8, 6, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_105), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_7);
+ __pyx_t_7 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_5__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_5__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_4__repr__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":107
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "label=%r, icon=%s, end=%s, "
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_4__repr__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = NULL;
+ PyObject *__pyx_t_11 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":108
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, " # <<<<<<<<<<<<<<
+ * "label=%r, icon=%s, end=%s, "
+ * "callback=%r, args=%r, kargs=%s)") % \
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":111
+ * "label=%r, icon=%s, end=%s, "
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, <unsigned long><void *>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), bool(self.part_content_get("icon")),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":112
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, <unsigned long><void *>self,
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item, # <<<<<<<<<<<<<<
+ * self.text_get(), bool(self.part_content_get("icon")),
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":113
+ * (self.__class__.__name__, <unsigned long><void *>self,
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), bool(self.part_content_get("icon")), # <<<<<<<<<<<<<<
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ *
+ */
+ __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__part_content_get); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_7 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_k_tuple_109), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":114
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), bool(self.part_content_get("icon")),
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2]) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__part_content_get); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_8 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_k_tuple_110), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_8);
+ __Pyx_GIVEREF(__pyx_t_8);
+ __pyx_t_8 = 0;
+ __pyx_t_8 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_9 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_9) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_10) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __pyx_t_11 = PyTuple_New(10); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_11);
+ PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_11, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_11, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_11, 4, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_11, 5, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ PyTuple_SET_ITEM(__pyx_t_11, 6, __pyx_t_8);
+ __Pyx_GIVEREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_11, 7, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_11, 8, __pyx_t_9);
+ __Pyx_GIVEREF(__pyx_t_9);
+ PyTuple_SET_ITEM(__pyx_t_11, 9, __pyx_t_10);
+ __Pyx_GIVEREF(__pyx_t_10);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_8 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_9 = 0;
+ __pyx_t_10 = 0;
+ __pyx_t_10 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_108), ((PyObject *)__pyx_t_11)); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_10));
+ __Pyx_DECREF(((PyObject *)__pyx_t_11)); __pyx_t_11 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_10);
+ __pyx_t_10 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_XDECREF(__pyx_t_11);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_7selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_6selected_set[] = "Set the selected state of an item.\n\n This sets the selected state of the given item.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected,\n unless multiple selection is enabled with L{List.multi_select_set()}.\n Previously selected item can be get with function\n L{List.selected_item_get()}.\n\n Selected items will be highlighted.\n\n @see: L{selected_get()}\n @see: L{List.selected_item_get()}\n @see: L{List.multi_select_set()}\n\n @param selected: The selected state\n @type selected: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_7selected_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_10elementary_12c_elementary_8ListItem_6selected_set(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":116
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * """Set the selected state of an item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_6selected_set(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":137
+ *
+ * """
+ * elm_list_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_9selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_8selected_get[] = "Get whether the item is selected or not.\n\n @see: L{List.selected_item_get()}\n @see: L{selected_set()} for details.\n\n @return: C{True} means item is selected. C{False} indicates it's not.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_9selected_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_10elementary_12c_elementary_8ListItem_8selected_get(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":139
+ * elm_list_item_selected_set(self.item, selected)
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the item is selected or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_8selected_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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("selected_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":149
+ *
+ * """
+ * return bool(elm_list_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ListItem.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_8selected___get__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":170
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_list_item_selected_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":171
+ * """
+ * def __get__(self):
+ * return bool(elm_list_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, selected):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ListItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8ListItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8ListItem_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_10elementary_12c_elementary_8ListItem_8selected_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":173
+ * return bool(elm_list_item_selected_get(self.item))
+ *
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * elm_list_item_selected_set(self.item, selected)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8ListItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":174
+ *
+ * def __set__(self, selected):
+ * elm_list_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def separator_set(self, separator):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_11separator_set(PyObject *__pyx_v_self, PyObject *__pyx_v_separator); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_10separator_set[] = "Set or unset item as a separator.\n\n Items aren't set as separator by default.\n\n If set as separator it will display separator theme, so won't display\n icons or label.\n\n @see: L{separator_get()}\n\n @param setting: C{True} to set item as separator or C{False} to\n unset, i.e., item will be used as a regular item.\n @type setting: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_11separator_set(PyObject *__pyx_v_self, PyObject *__pyx_v_separator) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("separator_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_10separator_set(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self), ((PyObject *)__pyx_v_separator));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":176
+ * elm_list_item_selected_set(self.item, selected)
+ *
+ * def separator_set(self, separator): # <<<<<<<<<<<<<<
+ * """Set or unset item as a separator.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_10separator_set(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_separator) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("separator_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":191
+ *
+ * """
+ * elm_list_item_separator_set(self.item, separator) # <<<<<<<<<<<<<<
+ *
+ * def separator_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_separator); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_item_separator_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.separator_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_13separator_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_12separator_get[] = "Get a value whether item is a separator or not.\n\n @see: L{separator_set()} for details.\n\n @return: C{True} means item is a separator. C{False} indicates it's not.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_13separator_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("separator_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_12separator_get(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":193
+ * elm_list_item_separator_set(self.item, separator)
+ *
+ * def separator_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether item is a separator or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_12separator_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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("separator_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":202
+ *
+ * """
+ * return bool(elm_list_item_separator_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property separator:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_item_separator_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ListItem.separator_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_9separator_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_9separator_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_9separator___get__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":215
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_list_item_separator_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_9separator___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":216
+ * """
+ * def __get__(self):
+ * return bool(elm_list_item_separator_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, separator):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_item_separator_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.ListItem.separator.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8ListItem_9separator_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_separator); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8ListItem_9separator_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_separator) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_9separator_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self), ((PyObject *)__pyx_v_separator));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":218
+ * return bool(elm_list_item_separator_get(self.item))
+ *
+ * def __set__(self, separator): # <<<<<<<<<<<<<<
+ * elm_list_item_separator_set(self.item, separator)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8ListItem_9separator_2__set__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self, PyObject *__pyx_v_separator) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":219
+ *
+ * def __set__(self, separator):
+ * elm_list_item_separator_set(self.item, separator) # <<<<<<<<<<<<<<
+ *
+ * def show(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_separator); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_item_separator_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.separator.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_15show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_14show[] = "show()\n\n Show the item in the list view.\n\n It won't animate list until item is visible. If such behavior is wanted,\n use L{bring_in()} instead.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_15show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_14show(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":221
+ * elm_list_item_separator_set(self.item, separator)
+ *
+ * def show(self): # <<<<<<<<<<<<<<
+ * """show()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_14show(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":230
+ *
+ * """
+ * elm_list_item_show(self.item) # <<<<<<<<<<<<<<
+ *
+ * def bring_in(self):
+ */
+ elm_list_item_show(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_17bring_in(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_16bring_in[] = "bring_in()\n\n Bring in the given item to list view.\n\n This causes list to jump to the given item and show it\n (by scrolling), if it is not fully visible.\n\n This may use animation to do so and take a period of time.\n\n If animation isn't wanted, L{show()} can be used.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_17bring_in(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bring_in (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_16bring_in(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":232
+ * elm_list_item_show(self.item)
+ *
+ * def bring_in(self): # <<<<<<<<<<<<<<
+ * """bring_in()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_16bring_in(struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bring_in", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":245
+ *
+ * """
+ * elm_list_item_bring_in(self.item) # <<<<<<<<<<<<<<
+ *
+ * def object_get(self):
+ */
+ elm_list_item_bring_in(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_19object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_18object_get[] = "Returns the base object set for this list item.\n\n Base object is the one that visually represents the list item\n row. It must not be changed in a way that breaks the list\n behavior (like deleting the base!), but it might be used to\n feed Edje signals to add more features to row representation.\n\n @rtype: edje.Edje\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_19object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_18object_get(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":247
+ * elm_list_item_bring_in(self.item)
+ *
+ * def object_get(self): # <<<<<<<<<<<<<<
+ * """Returns the base object set for this list item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_18object_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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("object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":258
+ *
+ * """
+ * return Object_from_instance(elm_list_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_list_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_6object_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_6object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_6object___get__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":271
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_list_item_object_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":272
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_list_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def prev_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_list_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_21prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_20prev_get[] = "Get the item before this item in the list.\n\n @note: If it is the first item, C{None} will be returned.\n\n @see: L{List.item_append()}\n @see: L{List.items_get()}\n\n @return: The item before this item, or C{None} if none or on failure.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_21prev_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_10elementary_12c_elementary_8ListItem_20prev_get(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":274
+ * return Object_from_instance(elm_list_item_object_get(self.item))
+ *
+ * def prev_get(self): # <<<<<<<<<<<<<<
+ * """Get the item before this item in the list.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_20prev_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":286
+ *
+ * """
+ * return _object_item_to_python(elm_list_item_prev(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_item_prev(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.prev_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":299
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_list_item_prev(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":300
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_list_item_prev(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def next_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_item_prev(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_23next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8ListItem_22next_get[] = "Get the item after this item in the list.\n\n @note: If it is the last item, C{None} will be returned.\n\n @see: L{List.item_append()}\n @see: L{List.items_get()}\n\n @return: The item after this item, or C{None} if none or on failure.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_23next_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_10elementary_12c_elementary_8ListItem_22next_get(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":302
+ * return _object_item_to_python(elm_list_item_prev(self.item))
+ *
+ * def next_get(self): # <<<<<<<<<<<<<<
+ * """Get the item after this item in the list.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_22next_get(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":314
+ *
+ * """
+ * return _object_item_to_python(elm_list_item_next(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_item_next(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.next_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8ListItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8ListItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_ListItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":327
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_list_item_next(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8ListItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_ListItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":328
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_list_item_next(self.item)) # <<<<<<<<<<<<<<
+ *
+ * cdef public class List(Object) [object PyElementaryList, type PyElementaryList_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_item_next(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.ListItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 367; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List___init__(((struct PyElementaryList *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":367
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_list_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List___init__(struct PyElementaryList *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":368
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_list_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 368; __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[30]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":369
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_list_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def go(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_List *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_list_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.List.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_3go(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_2go[] = "go()\n\n Starts the list.\n\n Example::\n li = List(win)\n li.item_append(\"First\", None, None, None)\n li.item_append(\"Second\", None, None, None)\n li.go()\n li.show()\n\n @note: Call before running show() on the list object.\n @warning: If not called, it won't display the list properly.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_3go(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("go (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_2go(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":371
+ * self._set_obj(elm_list_add(parent.obj))
+ *
+ * def go(self): # <<<<<<<<<<<<<<
+ * """go()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_2go(struct PyElementaryList *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("go", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":387
+ *
+ * """
+ * elm_list_go(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def multi_select_set(self, multi):
+ */
+ elm_list_go(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_5multi_select_set(PyObject *__pyx_v_self, PyObject *__pyx_v_multi); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_4multi_select_set[] = "Enable or disable multiple items selection on the list object.\n\n Disabled by default. If disabled, the user can select a single item of\n the list each time. Selected items are highlighted on list.\n If enabled, many items can be selected.\n\n If a selected item is selected again, it will be unselected.\n\n @see: L{multi_select_get()}\n\n @param multi: C{True} to enable multi selection or C{False} to\n disable it.\n @type multi: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_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_10elementary_12c_elementary_4List_4multi_select_set(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_multi));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":389
+ * elm_list_go(self.obj)
+ *
+ * def multi_select_set(self, multi): # <<<<<<<<<<<<<<
+ * """Enable or disable multiple items selection on the list object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_4multi_select_set(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_multi) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("multi_select_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":405
+ *
+ * """
+ * elm_list_multi_select_set(self.obj, multi) # <<<<<<<<<<<<<<
+ *
+ * def multi_select_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_multi); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_multi_select_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.multi_select_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_7multi_select_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_6multi_select_get[] = "Get a value whether multiple items selection is enabled or not.\n\n @see: L{multi_select_set()} for details.\n\n @return: C{True} means multiple items selection is enabled.\n C{False} indicates it's disabled.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_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_10elementary_12c_elementary_4List_6multi_select_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":407
+ * elm_list_multi_select_set(self.obj, multi)
+ *
+ * def multi_select_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether multiple items selection is enabled or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_6multi_select_get(struct PyElementaryList *__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("multi_select_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":417
+ *
+ * """
+ * return bool(elm_list_multi_select_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property multi_select:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_multi_select_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.multi_select_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_12multi_select_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_12multi_select_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_12multi_select___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":431
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_list_multi_select_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_12multi_select___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":432
+ * """
+ * def __get__(self):
+ * return elm_list_multi_select_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, multi):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_multi_select_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.multi_select.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_12multi_select_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_multi); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_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_10elementary_12c_elementary_4List_12multi_select_2__set__(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_multi));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":434
+ * return elm_list_multi_select_get(self.obj)
+ *
+ * def __set__(self, multi): # <<<<<<<<<<<<<<
+ * elm_list_multi_select_set(self.obj, multi)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List_12multi_select_2__set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_multi) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":435
+ *
+ * def __set__(self, multi):
+ * elm_list_multi_select_set(self.obj, multi) # <<<<<<<<<<<<<<
+ *
+ * def mode_set(self, Elm_List_Mode mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_multi); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_multi_select_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.multi_select.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_9mode_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_8mode_set[] = "Set which mode to use for the list object.\n\n Set list's resize behavior, transverse axis scroll and\n items cropping. See each mode's description for more details.\n\n Only one can be set, if a previous one was set, it will be changed\n by the new mode set. Bitmask won't work as well.\n\n @see: L{mode_get()}\n\n @note: Default value is ELM_LIST_SCROLL.\n\n @param mode: One of: ELM_LIST_COMPRESS, ELM_LIST_SCROLL, ELM_LIST_LIMIT or ELM_LIST_EXPAND.\n @type mode: Elm_List_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_9mode_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_mode) {
+ Elm_List_Mode __pyx_v_mode;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_set (wrapper)", 0);
+ assert(__pyx_arg_mode); {
+ __pyx_v_mode = ((Elm_List_Mode)PyInt_AsLong(__pyx_arg_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_8mode_set(((struct PyElementaryList *)__pyx_v_self), ((Elm_List_Mode)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":437
+ * elm_list_multi_select_set(self.obj, multi)
+ *
+ * def mode_set(self, Elm_List_Mode mode): # <<<<<<<<<<<<<<
+ * """Set which mode to use for the list object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_8mode_set(struct PyElementaryList *__pyx_v_self, Elm_List_Mode __pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":454
+ *
+ * """
+ * elm_list_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def mode_get(self):
+ */
+ elm_list_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_mode);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_11mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_10mode_get[] = "Get the mode the list is at.\n\n @see: L{mode_set()} for more information.\n\n @return: One of: ELM_LIST_COMPRESS, ELM_LIST_SCROLL, ELM_LIST_LIMIT, ELM_LIST_EXPAND or ELM_LIST_LAST on errors.\n @rtype: Elm_List_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_11mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_10mode_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":456
+ * elm_list_mode_set(self.obj, mode)
+ *
+ * def mode_get(self): # <<<<<<<<<<<<<<
+ * """Get the mode the list is at.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_10mode_get(struct PyElementaryList *__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("mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":465
+ *
+ * """
+ * return elm_list_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_list_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_4mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_4mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_4mode___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":481
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_list_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_4mode___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":482
+ * """
+ * def __get__(self):
+ * return elm_list_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, Elm_List_Mode mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_list_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_4mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_4mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_arg_mode) {
+ Elm_List_Mode __pyx_v_mode;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ assert(__pyx_arg_mode); {
+ __pyx_v_mode = ((Elm_List_Mode)PyInt_AsLong(__pyx_arg_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 484; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_4mode_2__set__(((struct PyElementaryList *)__pyx_v_self), ((Elm_List_Mode)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":484
+ * return elm_list_mode_get(self.obj)
+ *
+ * def __set__(self, Elm_List_Mode mode): # <<<<<<<<<<<<<<
+ * elm_list_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List_4mode_2__set__(struct PyElementaryList *__pyx_v_self, Elm_List_Mode __pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":485
+ *
+ * def __set__(self, Elm_List_Mode mode):
+ * elm_list_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ elm_list_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_mode);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_10horizontal___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":500
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_list_horizontal_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_10horizontal___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":501
+ * """
+ * def __get__(self):
+ * return elm_list_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, horizontal):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_list_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_10horizontal_2__set__(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":503
+ * return elm_list_horizontal_get(self.obj)
+ *
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_list_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List_10horizontal_2__set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":504
+ *
+ * def __set__(self, horizontal):
+ * elm_list_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_set(self, mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_13select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_12select_mode_set[] = "Set the list select mode.\n\n select_mode_set() changes item select mode in the list widget.\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\n select mode.\n - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if\n selected, every click will make the selected callbacks be called.\n - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability\n to select items entirely and they will neither appear\n selected nor call selected callback functions.\n\n @see: L{select_mode_get()}\n\n @param mode: The select mode\n @type mode: Elm_Object_Select_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_13select_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_10elementary_12c_elementary_4List_12select_mode_set(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":506
+ * elm_list_horizontal_set(self.obj, horizontal)
+ *
+ * def select_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set the list select mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_12select_mode_set(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":526
+ *
+ * """
+ * elm_list_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_15select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_14select_mode_get[] = "Get the list select mode.\n\n @see: L{select_mode_set()}\n\n @return: The select mode (If getting mode is failed,\n it returns ELM_OBJECT_SELECT_MODE_MAX)\n @rtype: Elm_Object_Select_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_15select_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_10elementary_12c_elementary_4List_14select_mode_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":528
+ * elm_list_select_mode_set(self.obj, mode)
+ *
+ * def select_mode_get(self): # <<<<<<<<<<<<<<
+ * """Get the list select mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_14select_mode_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":538
+ *
+ * """
+ * return elm_list_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property select_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_list_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.select_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_11select_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_11select_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_11select_mode___set__(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":558
+ *
+ * """
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_list_select_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List_11select_mode___set__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":559
+ * """
+ * def __set__(self, mode):
+ * elm_list_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 559; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_list_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.select_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_11select_mode_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_11select_mode_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_11select_mode_2__get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":561
+ * elm_list_select_mode_set(self.obj, mode)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_list_select_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_11select_mode_2__get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":562
+ *
+ * def __get__(self):
+ * return elm_list_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def bounce_set(self, h, v):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_list_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 562; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.select_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_17bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_16bounce_set[] = "Set bouncing behaviour when the scrolled content reaches an edge.\n\n Tell the internal scroller object whether it should bounce or not\n when it reaches the respective edges for each axis.\n\n @see: L{Scroller.bounce_set()}\n\n @param h_bounce: Whether to bounce or not in the horizontal axis.\n @type h_bounce: bool\n @param v_bounce: Whether to bounce or not in the vertical axis.\n @type v_bounce: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_17bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h = 0;
+ PyObject *__pyx_v_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h,&__pyx_n_s__v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bounce_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 564; __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[30]; __pyx_lineno = 564; __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[30]; __pyx_lineno = 564; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_16bounce_set(((struct PyElementaryList *)__pyx_v_self), __pyx_v_h, __pyx_v_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":564
+ * return elm_list_select_mode_get(self.obj)
+ *
+ * def bounce_set(self, h, v): # <<<<<<<<<<<<<<
+ * """Set bouncing behaviour when the scrolled content reaches an edge.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_16bounce_set(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":578
+ *
+ * """
+ * elm_scroller_bounce_set(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * def bounce_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_19bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_18bounce_get[] = "Get the bouncing behaviour of the internal scroller.\n\n Get whether the internal scroller should bounce when the edge of each\n axis is reached scrolling.\n\n @see: L{Scroller.bounce_get()}\n @see: L{bounce_set()}\n\n @return: The bounce states of horizontal axis and vertical axis.\n @rtype: tuple of bools\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_19bounce_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_10elementary_12c_elementary_4List_18bounce_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":580
+ * elm_scroller_bounce_set(self.obj, h, v)
+ *
+ * def bounce_get(self): # <<<<<<<<<<<<<<
+ * """Get the bouncing behaviour of the internal scroller.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_18bounce_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":594
+ * """
+ * 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.obj, (&__pyx_v_h), (&__pyx_v_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":595
+ * cdef Eina_Bool h, v
+ * elm_scroller_bounce_get(self.obj, &h, &v)
+ * return (h, v) # <<<<<<<<<<<<<<
+ *
+ * property bounce:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 595; __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[30]; __pyx_lineno = 595; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.bounce_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_6bounce_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_6bounce_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_6bounce___set__(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":606
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * h, v = value
+ * elm_scroller_bounce_set(self.obj, h, v)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List_6bounce___set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_h = NULL;
+ PyObject *__pyx_v_v = 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 *);
+ Eina_Bool __pyx_t_5;
+ Eina_Bool __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":607
+ * """
+ * def __set__(self, value):
+ * h, v = value # <<<<<<<<<<<<<<
+ * elm_scroller_bounce_set(self.obj, h, v)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[30]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[30]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 607; __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[30]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[30]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_h = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_v = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":608
+ * def __set__(self, value):
+ * h, v = value
+ * elm_scroller_bounce_set(self.obj, h, v) # <<<<<<<<<<<<<<
+ *
+ * def scroller_policy_set(self, policy_h, policy_v):
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 608; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.List.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_h);
+ __Pyx_XDECREF(__pyx_v_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_21scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_20scroller_policy_set[] = "Set the scrollbar policy.\n\n This sets the scrollbar visibility policy for the given scroller.\n ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it\n is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns\n it on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.\n This applies respectively for the horizontal and vertical scrollbars.\n\n The both are disabled by default, i.e., are set to\n ELM_SCROLLER_POLICY_OFF.\n\n @param policy_h: Horizontal scrollbar policy.\n @type policy_h: Elm_Scroller_Policy\n @param policy_v: Vertical scrollbar policy.\n @type policy_v: Elm_Scroller_Policy\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_21scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_policy_h = 0;
+ PyObject *__pyx_v_policy_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__policy_h,&__pyx_n_s__policy_v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroller_policy_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("scroller_policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 610; __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[30]; __pyx_lineno = 610; __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[30]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_20scroller_policy_set(((struct PyElementaryList *)__pyx_v_self), __pyx_v_policy_h, __pyx_v_policy_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":610
+ * elm_scroller_bounce_set(self.obj, h, v)
+ *
+ * def scroller_policy_set(self, policy_h, policy_v): # <<<<<<<<<<<<<<
+ * """Set the scrollbar policy.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_20scroller_policy_set(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":628
+ *
+ * """
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * 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[30]; __pyx_lineno = 628; __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[30]; __pyx_lineno = 628; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.List.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_23scroller_policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_22scroller_policy_get[] = "Get the scrollbar visibility policy.\n\n @see: L{scroller_policy_get()} for details.\n\n @return: Policy for horizontal axis and vertical axis.\n @rtype: Elm_Scroller_Policy\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_23scroller_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_10elementary_12c_elementary_4List_22scroller_policy_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":630
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ * def scroller_policy_get(self): # <<<<<<<<<<<<<<
+ * """Get the scrollbar visibility policy.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_22scroller_policy_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":640
+ * """
+ * 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.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":641
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ * return (policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * property scroller_policy:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 641; __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[30]; __pyx_lineno = 641; __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[30]; __pyx_lineno = 641; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.scroller_policy_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4List_15scroller_policy_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4List_15scroller_policy_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_15scroller_policy___set__(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":658
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * policy_h, policy_v = value
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4List_15scroller_policy___set__(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_policy_h = NULL;
+ PyObject *__pyx_v_policy_v = 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 *);
+ Elm_Scroller_Policy __pyx_t_5;
+ Elm_Scroller_Policy __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":659
+ * """
+ * def __set__(self, value):
+ * policy_h, policy_v = value # <<<<<<<<<<<<<<
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[30]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[30]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 659; __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[30]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[30]; __pyx_lineno = 659; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_policy_h = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_policy_v = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":660
+ * def __set__(self, value):
+ * policy_h, policy_v = value
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_5 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_policy_h)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_policy_v)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.List.scroller_policy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_policy_h);
+ __Pyx_XDECREF(__pyx_v_policy_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_15scroller_policy_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_15scroller_policy_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_15scroller_policy_2__get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":662
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_15scroller_policy_2__get__(struct PyElementaryList *__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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":664
+ * def __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.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":665
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ * return (policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label, evasObject icon = None,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 665; __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[30]; __pyx_lineno = 665; __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[30]; __pyx_lineno = 665; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.scroller_policy.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_25item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_24item_append[] = "item_append(label, icon=None, end=None, callback=None, *args, **kargs)\n\n Append a new item to the list object.\n\n A new item will be created and appended to the list, i.e., will\n be set as B{last} item.\n\n Items created with this method can be deleted with L{ObjectItem.delete()}.\n\n If a function is passed as argument, it will be called every time this item\n is selected, i.e., the user clicks over an unselected item.\n If always select is enabled it will call this function every time\n user clicks over an item (already selected or not).\n If such function isn't needed, just passing\n C{None} as C{func} is enough.\n\n Simple example (with no function callback or data associated)::\n li = List(win)\n ic = Icon(win)\n ic.file_set(\"path/to/image\")\n ic.resizable_set(True, True)\n li.item_append(\"label\", ic, None, None)\n li.go()\n li.show()\n\n @see: L{select_mode_set()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n @see: L{Icon}\n\n @param label: The label of the list item.\n @type label: string\n @param icon: The icon object to use for the left side of the item. An\n icon can be any Evas object, but usually it is an L{Icon}.\n @type icon: L{Object}\n @param end: The icon object to use for the right side of the item. An\n icon can be any Evas object.\n @type end: L{Object}\n @param callback: The function to call when the item is clicked.\n @type callback: function\n\n @return: The created item or C{None} upon failure.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_25item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct PyEvasObject *__pyx_v_end = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__end,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":667
+ * return (policy_h, policy_v)
+ *
+ * def item_append(self, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_append(label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+ values[1] = (PyObject *)((struct PyEvasObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":668
+ *
+ * def item_append(self, label, evasObject icon = None,
+ * evasObject end = None, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_append(label, icon=None, end=None, callback=None, *args, **kargs)
+ *
+ */
+ values[2] = (PyObject *)((struct PyEvasObject *)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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__end);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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_kargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 667; __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_label = values[0];
+ __pyx_v_icon = ((struct PyEvasObject *)values[1]);
+ __pyx_v_end = ((struct PyEvasObject *)values[2]);
+ __pyx_v_callback = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 1, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.List.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_24item_append(((struct PyElementaryList *)__pyx_v_self), __pyx_v_label, __pyx_v_icon, __pyx_v_end, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":667
+ * return (policy_h, policy_v)
+ *
+ * def item_append(self, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_append(label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_24item_append(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":714
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_APPEND, self, label, icon, end, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_APPEND); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":715
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_APPEND, self, label, icon, end,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, label, evasObject icon = None,
+ */
+ __pyx_t_2 = PyTuple_New(7); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(((PyObject *)__pyx_v_end));
+ PyTuple_SET_ITEM(__pyx_t_2, 4, ((PyObject *)__pyx_v_end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_end));
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 5, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 6, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":714
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_APPEND, self, label, icon, end, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":715
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_APPEND, self, label, icon, end,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, label, evasObject icon = None,
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ListItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 714; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_27item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_26item_prepend[] = "item_prepend(label, icon=None, end=None, callback=None, *args, **kargs)\n\n Prepend a new item to the list object.\n\n A new item will be created and prepended to the list, i.e., will\n be set as B{first} item.\n\n Items created with this method can be deleted with\n L{ObjectItem.delete()}.\n\n If a function is passed as argument, it will be called every time\n this item is selected, i.e., the user clicks over an unselected item.\n If always select is enabled it will call this function every time\n user clicks over an item (already selected or not). If such function\n isn't needed, just passing C{None} as C{func} is enough.\n\n @see: L{item_append()} for a simple code example.\n @see: L{select_mode_set()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n @see: L{Icon}\n\n @param label: The label of the list item.\n @type label: string\n @param icon: The icon object to use for the left side of the item. An\n icon can be any Evas object, but usually it is an L{Icon}.\n @type icon: L{Object}\n @param end: The icon object to use for the right side of the item. An\n icon can be any Evas object.\n @type end: L{Object}\n @param callback: The function to call when the item is clicked.\n @type callback: function\n\n @return: The created item or C{None} upon failure.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_27item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct PyEvasObject *__pyx_v_end = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__end,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_prepend (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":717
+ * None, callback, *args, **kargs)
+ *
+ * def item_prepend(self, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_prepend(label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+ values[1] = (PyObject *)((struct PyEvasObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":718
+ *
+ * def item_prepend(self, label, evasObject icon = None,
+ * evasObject end = None, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_prepend(label, icon=None, end=None, callback=None, *args, **kargs)
+ *
+ */
+ values[2] = (PyObject *)((struct PyEvasObject *)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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__end);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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_kargs, values, used_pos_args, "item_prepend") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 717; __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_label = values[0];
+ __pyx_v_icon = ((struct PyEvasObject *)values[1]);
+ __pyx_v_end = ((struct PyEvasObject *)values[2]);
+ __pyx_v_callback = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 1, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.List.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_26item_prepend(((struct PyElementaryList *)__pyx_v_self), __pyx_v_label, __pyx_v_icon, __pyx_v_end, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":717
+ * None, callback, *args, **kargs)
+ *
+ * def item_prepend(self, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_prepend(label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_26item_prepend(struct PyElementaryList *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":756
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_PREPEND, self, label, icon, end, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_PREPEND); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":757
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_PREPEND, self, label, icon, end,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, ListItem before, label, evasObject icon = None,
+ */
+ __pyx_t_2 = PyTuple_New(7); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(((PyObject *)__pyx_v_end));
+ PyTuple_SET_ITEM(__pyx_t_2, 4, ((PyObject *)__pyx_v_end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_end));
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 5, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 6, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":756
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_PREPEND, self, label, icon, end, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":757
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_PREPEND, self, label, icon, end,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, ListItem before, label, evasObject icon = None,
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ListItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 756; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_29item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_28item_insert_before[] = "item_insert_before(before, label, icon=None, end=None, callback=None, *args, **kargs)\n\n Insert a new item into the list object before item C{before}.\n\n A new item will be created and added to the list. Its position in\n this list will be just before item C{before}.\n\n Items created with this method can be deleted with\n L{ObjectItem.delete()}.\n\n If a function is passed as argument, it will be called every time\n this item is selected, i.e., the user clicks over an unselected item.\n If always select is enabled it will call this function every time\n user clicks over an item (already selected or not). If such function\n isn't needed, just passing C{None} as C{func} is enough.\n\n @see: L{item_append()} for a simple code example.\n @see: L{select_mode_set()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n @see: L{Icon}\n\n @param before: The list item to insert before.\n @type before: L{ListItem}\n @param label: The label of the list item.\n @type label: string\n @param icon: The icon object to use for the left side of the item. An\n icon can be any Evas object, but usually it is an L{Icon}.\n @type icon: L{Object}\n @param end: The icon object to use for the right side of the item. An\n icon can be any Evas object.\n @type end: L{Object}\n @param callback: The function to call when the item is clicked.\n @type callback: function\n\n @return: The created item or C{None} upon failure.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_29item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_before = 0;
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct PyEvasObject *__pyx_v_end = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__before,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__end,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_before (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":759
+ * None, callback, *args, **kargs)
+ *
+ * def item_insert_before(self, ListItem before, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_insert_before(before, label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+ values[2] = (PyObject *)((struct PyEvasObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":760
+ *
+ * def item_insert_before(self, ListItem before, label, evasObject icon = None,
+ * evasObject end = None, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_insert_before(before, label, icon=None, end=None, callback=None, *args, **kargs)
+ *
+ */
+ values[3] = (PyObject *)((struct PyEvasObject *)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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 5, 1); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 759; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__end);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[4] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_insert_before") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 759; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_before = ((struct __pyx_obj_10elementary_12c_elementary_ListItem *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_icon = ((struct PyEvasObject *)values[2]);
+ __pyx_v_end = ((struct PyEvasObject *)values[3]);
+ __pyx_v_callback = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __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_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.List.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_before), __pyx_ptype_10elementary_12c_elementary_ListItem, 1, "before", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 759; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 759; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 760; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_28item_insert_before(((struct PyElementaryList *)__pyx_v_self), __pyx_v_before, __pyx_v_label, __pyx_v_icon, __pyx_v_end, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":759
+ * None, callback, *args, **kargs)
+ *
+ * def item_insert_before(self, ListItem before, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_insert_before(before, label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_28item_insert_before(struct PyElementaryList *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_before, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":800
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_BEFORE, self, label, icon, end, # <<<<<<<<<<<<<<
+ * before, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_BEFORE); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":801
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_BEFORE, self, label, icon, end,
+ * before, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, ListItem after, label, evasObject icon = None,
+ */
+ __pyx_t_2 = PyTuple_New(7); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(((PyObject *)__pyx_v_end));
+ PyTuple_SET_ITEM(__pyx_t_2, 4, ((PyObject *)__pyx_v_end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_end));
+ __Pyx_INCREF(((PyObject *)__pyx_v_before));
+ PyTuple_SET_ITEM(__pyx_t_2, 5, ((PyObject *)__pyx_v_before));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_before));
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 6, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":800
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_BEFORE, self, label, icon, end, # <<<<<<<<<<<<<<
+ * before, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":801
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_BEFORE, self, label, icon, end,
+ * before, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, ListItem after, label, evasObject icon = None,
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ListItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_31item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_30item_insert_after[] = "item_insert_after(after, label, icon=None, end=None, callback=None, *args, **kargs)\n\n Insert a new item into the list object after item C{after}.\n\n A new item will be created and added to the list. Its position in\n this list will be just after item C{after}.\n\n Items created with this method can be deleted with\n L{ObjectItem.delete()}.\n\n If a function is passed as argument, it will be called every time\n this item is selected, i.e., the user clicks over an unselected item.\n If always select is enabled it will call this function every time\n user clicks over an item (already selected or not). If such function\n isn't needed, just passing C{None} as C{func} is enough.\n\n @see: L{item_append()} for a simple code example.\n @see: L{select_mode_set()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n @see: L{Icon}\n\n @param after: The list item to insert after.\n @type after: L{ListItem}\n @param label: The label of the list item.\n @type label: string\n @param icon: The icon object to use for the left side of the item. An\n icon can be any Evas object, but usually it is an L{Icon}.\n @type icon: L{Object}\n @param end: The icon object to use for the right side of the item. An\n icon can be any Evas object.\n @type end: L{Object}\n @param callback: The function to call when the item is clicked.\n @type callback: function\n\n @return: The created item or C{None} upon failure.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_31item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_after = 0;
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct PyEvasObject *__pyx_v_end = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__after,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__end,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_after (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":803
+ * before, callback, *args, **kargs)
+ *
+ * def item_insert_after(self, ListItem after, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_insert_after(after, label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+ values[2] = (PyObject *)((struct PyEvasObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":804
+ *
+ * def item_insert_after(self, ListItem after, label, evasObject icon = None,
+ * evasObject end = None, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_insert_after(after, label, icon=None, end=None, callback=None, *args, **kargs)
+ *
+ */
+ values[3] = (PyObject *)((struct PyEvasObject *)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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__after);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 5, 1); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__end);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[4] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_insert_after") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_after = ((struct __pyx_obj_10elementary_12c_elementary_ListItem *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_icon = ((struct PyEvasObject *)values[2]);
+ __pyx_v_end = ((struct PyEvasObject *)values[3]);
+ __pyx_v_callback = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.List.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_after), __pyx_ptype_10elementary_12c_elementary_ListItem, 1, "after", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_end), __pyx_ptype_4evas_6c_evas_Object, 1, "end", 0))) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 804; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_30item_insert_after(((struct PyElementaryList *)__pyx_v_self), __pyx_v_after, __pyx_v_label, __pyx_v_icon, __pyx_v_end, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":803
+ * before, callback, *args, **kargs)
+ *
+ * def item_insert_after(self, ListItem after, label, evasObject icon = None, # <<<<<<<<<<<<<<
+ * evasObject end = None, callback = None, *args, **kargs):
+ * """item_insert_after(after, label, icon=None, end=None, callback=None, *args, **kargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_30item_insert_after(struct PyElementaryList *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_ListItem *__pyx_v_after, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, struct PyEvasObject *__pyx_v_end, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_insert_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":844
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_AFTER, self, label, icon, end, # <<<<<<<<<<<<<<
+ * after, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_LIST_ITEM_INSERT_AFTER); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":845
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_AFTER, self, label, icon, end,
+ * after, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * #def item_sorted_insert(self, label, evasObject icon = None,
+ */
+ __pyx_t_2 = PyTuple_New(7); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(((PyObject *)__pyx_v_end));
+ PyTuple_SET_ITEM(__pyx_t_2, 4, ((PyObject *)__pyx_v_end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_end));
+ __Pyx_INCREF(((PyObject *)__pyx_v_after));
+ PyTuple_SET_ITEM(__pyx_t_2, 5, ((PyObject *)__pyx_v_after));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_after));
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 6, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":844
+ *
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_AFTER, self, label, icon, end, # <<<<<<<<<<<<<<
+ * after, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":845
+ * """
+ * return ListItem(ELM_LIST_ITEM_INSERT_AFTER, self, label, icon, end,
+ * after, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * #def item_sorted_insert(self, label, evasObject icon = None,
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ListItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.List.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_33clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_32clear[] = "clear()\n\n Remove all list's items.\n\n @see: L{ObjectItem.delete()}\n @see: L{item_append()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_33clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_32clear(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":901
+ * #None, callback, *args, **kargs)
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * """clear()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_32clear(struct PyElementaryList *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":910
+ *
+ * """
+ * elm_list_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def items_get(self):
+ */
+ elm_list_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_35items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_34items_get[] = "Get a list of all the list items.\n\n @see: L{item_append()}\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n\n @return: A tuple of list items, or C{None} on failure.\n @rtype: tuple of L{ListItem}s\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_35items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_34items_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":912
+ * elm_list_clear(self.obj)
+ *
+ * def items_get(self): # <<<<<<<<<<<<<<
+ * """Get a list of all the list items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_34items_get(struct PyElementaryList *__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("items_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":923
+ *
+ * """
+ * return _object_item_list_to_python(elm_list_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_list_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 923; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_5items___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":935
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_list_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_5items___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":936
+ * """
+ * def __get__(self):
+ * return _object_item_list_to_python(elm_list_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def selected_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_list_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 936; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_37selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_36selected_item_get[] = "Get the selected item.\n\n The selected item can be unselected with function\n L{ListItem.selected_set()}.\n\n The selected item always will be highlighted on list.\n\n @see: L{selected_items_get()}\n\n @return: The selected list item.\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_37selected_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_10elementary_12c_elementary_4List_36selected_item_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":938
+ * return _object_item_list_to_python(elm_list_items_get(self.obj))
+ *
+ * def selected_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the selected item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_36selected_item_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":952
+ *
+ * """
+ * return _object_item_to_python(elm_list_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 952; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_13selected_item___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":967
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_list_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_13selected_item___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":968
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_list_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def selected_items_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 968; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_39selected_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_38selected_items_get[] = "Return a list of the currently selected list items.\n\n Multiple items can be selected if multi select is enabled. It can be\n done with L{multi_select_set()}.\n\n @see: L{selected_item_get()}\n @see: L{multi_select_set()}\n\n @return: A tuple of list items, or C{None} on failure.\n @rtype: tuple of L{ListItem}s\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_39selected_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_10elementary_12c_elementary_4List_38selected_items_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":970
+ * return _object_item_to_python(elm_list_selected_item_get(self.obj))
+ *
+ * def selected_items_get(self): # <<<<<<<<<<<<<<
+ * """Return a list of the currently selected list items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_38selected_items_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":983
+ *
+ * """
+ * return _object_item_list_to_python(elm_list_selected_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_list_selected_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 983; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.selected_items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_14selected_items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_14selected_items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_14selected_items___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":997
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_list_selected_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_14selected_items___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":998
+ * """
+ * def __get__(self):
+ * return _object_item_list_to_python(elm_list_selected_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def first_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_list_selected_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.selected_items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_41first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_40first_item_get[] = "Get the first item in the list\n\n This returns the first item in the list.\n\n @return: The first item, or None\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_41first_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_10elementary_12c_elementary_4List_40first_item_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1000
+ * return _object_item_list_to_python(elm_list_selected_items_get(self.obj))
+ *
+ * def first_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the first item in the list
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_40first_item_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1009
+ *
+ * """
+ * return _object_item_to_python(elm_list_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.first_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_10first_item___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1017
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_list_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_10first_item___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1018
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_list_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def last_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_43last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_42last_item_get[] = "Get the last item in the list\n\n This returns the last item in the list.\n\n @return: The last item, or None\n @rtype: L{ListItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_43last_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_10elementary_12c_elementary_4List_42last_item_get(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1020
+ * return _object_item_to_python(elm_list_first_item_get(self.obj))
+ *
+ * def last_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the last item in the list
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_42last_item_get(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1029
+ *
+ * """
+ * return _object_item_to_python(elm_list_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1029; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.last_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_9last_item___get__(((struct PyElementaryList *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1037
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_list_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_9last_item___get__(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1038
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_list_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_list_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1038; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.List.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_45callback_activated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_44callback_activated_add[] = "The user has double-clicked or pressed (enter|return|spacebar) on\n an item. The C{event_info} parameter is the item that was activated.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_45callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1040; __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[30]; __pyx_lineno = 1040; __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("elementary.c_elementary.List.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_44callback_activated_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1040
+ * return _object_item_to_python(elm_list_last_item_get(self.obj))
+ *
+ * def callback_activated_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has double-clicked or pressed (enter|return|spacebar) on
+ * an item. The C{event_info} parameter is the item that was activated."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_44callback_activated_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1043
+ * """The user has double-clicked or pressed (enter|return|spacebar) on
+ * an item. The C{event_info} parameter is the item that was activated."""
+ * self._callback_add_full("activated", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1044
+ * an item. The C{event_info} parameter is the item that was activated."""
+ * 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[30]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1043
+ * """The user has double-clicked or pressed (enter|return|spacebar) on
+ * an item. The C{event_info} parameter is the item that was activated."""
+ * self._callback_add_full("activated", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1043; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1044
+ * an item. The C{event_info} parameter is the item that was activated."""
+ * self._callback_add_full("activated", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __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(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.List.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_47callback_activated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_47callback_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_10elementary_12c_elementary_4List_46callback_activated_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1046
+ * func, *args, **kwargs)
+ *
+ * def callback_activated_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("activated", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_46callback_activated_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_activated_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1047
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1047; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1047; __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[30]; __pyx_lineno = 1047; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1047; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_activated_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_49callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_48callback_clicked_double_add[] = "The user has double-clicked an item. The C{event_info} parameter\n is the item that was double-clicked.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_49callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1049; __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[30]; __pyx_lineno = 1049; __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("elementary.c_elementary.List.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_48callback_clicked_double_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1049
+ * self._callback_del_full("activated", _cb_object_item_conv, func)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has double-clicked an item. The C{event_info} parameter
+ * is the item that was double-clicked."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_48callback_clicked_double_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1052
+ * """The user has double-clicked an item. The C{event_info} parameter
+ * is the item that was double-clicked."""
+ * self._callback_add_full("clicked,double", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1053
+ * is the item that was double-clicked."""
+ * 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[30]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1052
+ * """The user has double-clicked an item. The C{event_info} parameter
+ * is the item that was double-clicked."""
+ * self._callback_add_full("clicked,double", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1053
+ * is the item that was double-clicked."""
+ * self._callback_add_full("clicked,double", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1052; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.List.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_51callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_51callback_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_10elementary_12c_elementary_4List_50callback_clicked_double_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1055
+ * func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("clicked,double", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_50callback_clicked_double_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1056
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del_full("clicked,double", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1056; __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[30]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1056; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_53callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_52callback_selected_add[] = "When the user selected an item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_53callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1058; __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[30]; __pyx_lineno = 1058; __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("elementary.c_elementary.List.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_52callback_selected_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1058
+ * self._callback_del_full("clicked,double", _cb_object_item_conv, func)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user selected an item."""
+ * self._callback_add_full("selected", _cb_object_item_conv,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_52callback_selected_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1060
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * """When the user selected an item."""
+ * self._callback_add_full("selected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1061
+ * """When the user selected an item."""
+ * 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[30]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1060
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * """When the user selected an item."""
+ * self._callback_add_full("selected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1061
+ * """When the user selected an item."""
+ * self._callback_add_full("selected", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.List.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_55callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_55callback_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_10elementary_12c_elementary_4List_54callback_selected_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1063
+ * func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_54callback_selected_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1064
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1064; __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[30]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1064; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_57callback_unselected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_56callback_unselected_add[] = "When the user unselected an item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_57callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1066; __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[30]; __pyx_lineno = 1066; __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("elementary.c_elementary.List.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_56callback_unselected_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1066
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ * def callback_unselected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user unselected an item."""
+ * self._callback_add_full("unselected", _cb_object_item_conv,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_56callback_unselected_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1068
+ * def callback_unselected_add(self, func, *args, **kwargs):
+ * """When the user unselected an item."""
+ * self._callback_add_full("unselected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1069
+ * """When the user unselected an item."""
+ * 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[30]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unselected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unselected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1068
+ * def callback_unselected_add(self, func, *args, **kwargs):
+ * """When the user unselected an item."""
+ * self._callback_add_full("unselected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1069
+ * """When the user unselected an item."""
+ * self._callback_add_full("unselected", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unselected_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1068; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.List.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_59callback_unselected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_59callback_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_10elementary_12c_elementary_4List_58callback_unselected_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1071
+ * func, *args, **kwargs)
+ *
+ * def callback_unselected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("unselected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_58callback_unselected_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unselected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1072
+ *
+ * def callback_unselected_del(self, func):
+ * self._callback_del_full("unselected", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1072; __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[30]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unselected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unselected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_unselected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_61callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_60callback_longpressed_add[] = "An item in the list is long-pressed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_61callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1074; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1074; __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("elementary.c_elementary.List.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_60callback_longpressed_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1074
+ * self._callback_del_full("unselected", _cb_object_item_conv, func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """An item in the list is long-pressed."""
+ * self._callback_add_full("longpressed", _cb_object_item_conv,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_60callback_longpressed_add(struct PyElementaryList *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1076
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * """An item in the list is long-pressed."""
+ * self._callback_add_full("longpressed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1077
+ * """An item in the list is long-pressed."""
+ * self._callback_add_full("longpressed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1076
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * """An item in the list is long-pressed."""
+ * self._callback_add_full("longpressed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1077
+ * """An item in the list is long-pressed."""
+ * self._callback_add_full("longpressed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1076; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.List.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_63callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_63callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_62callback_longpressed_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1079
+ * func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("longpressed", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_62callback_longpressed_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1080
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del_full("longpressed", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_top_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1080; __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[30]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1080; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_65callback_edge_top_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_64callback_edge_top_add[] = "The list is scrolled until the top edge.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_65callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1082; __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[30]; __pyx_lineno = 1082; __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("elementary.c_elementary.List.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_64callback_edge_top_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1082
+ * self._callback_del_full("longpressed", _cb_object_item_conv, func)
+ *
+ * def callback_edge_top_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The list is scrolled until the top edge."""
+ * self._callback_add("edge,top", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_64callback_edge_top_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1084
+ * def callback_edge_top_add(self, func, *args, **kwargs):
+ * """The list is scrolled until the top edge."""
+ * self._callback_add("edge,top", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_top_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1084; __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[30]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_67));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_67));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_67));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1084; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.List.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_67callback_edge_top_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_67callback_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_10elementary_12c_elementary_4List_66callback_edge_top_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1086
+ * self._callback_add("edge,top", func, *args, **kwargs)
+ *
+ * def callback_edge_top_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,top", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_66callback_edge_top_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_top_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1087
+ *
+ * def callback_edge_top_del(self, func):
+ * self._callback_del("edge,top", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1087; __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[30]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_67));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_67));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_67));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_edge_top_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_69callback_edge_bottom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_68callback_edge_bottom_add[] = "The list is scrolled until the bottom edge.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_69callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1089; __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[30]; __pyx_lineno = 1089; __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("elementary.c_elementary.List.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_68callback_edge_bottom_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1089
+ * self._callback_del("edge,top", func)
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The list is scrolled until the bottom edge."""
+ * self._callback_add("edge,bottom", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_68callback_edge_bottom_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1091
+ * def callback_edge_bottom_add(self, func, *args, **kwargs):
+ * """The list is scrolled until the bottom edge."""
+ * self._callback_add("edge,bottom", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_bottom_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1091; __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[30]; __pyx_lineno = 1091; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_68));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_68));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_68));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1091; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1091; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1091; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.List.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_71callback_edge_bottom_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_71callback_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_10elementary_12c_elementary_4List_70callback_edge_bottom_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1093
+ * self._callback_add("edge,bottom", func, *args, **kwargs)
+ *
+ * def callback_edge_bottom_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,bottom", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_70callback_edge_bottom_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_bottom_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1094
+ *
+ * def callback_edge_bottom_del(self, func):
+ * self._callback_del("edge,bottom", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1094; __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[30]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_68));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_68));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_68));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_edge_bottom_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_73callback_edge_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_72callback_edge_left_add[] = "The list is scrolled until the left edge.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_73callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1096; __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[30]; __pyx_lineno = 1096; __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("elementary.c_elementary.List.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_72callback_edge_left_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1096
+ * self._callback_del("edge,bottom", func)
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The list is scrolled until the left edge."""
+ * self._callback_add("edge,left", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_72callback_edge_left_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1098
+ * def callback_edge_left_add(self, func, *args, **kwargs):
+ * """The list is scrolled until the left edge."""
+ * self._callback_add("edge,left", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_left_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1098; __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[30]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_65));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_65));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_65));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1098; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.List.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_75callback_edge_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_75callback_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_10elementary_12c_elementary_4List_74callback_edge_left_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1100
+ * self._callback_add("edge,left", func, *args, **kwargs)
+ *
+ * def callback_edge_left_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,left", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_74callback_edge_left_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_left_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1101
+ *
+ * def callback_edge_left_del(self, func):
+ * self._callback_del("edge,left", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1101; __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[30]; __pyx_lineno = 1101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_65));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_65));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_65));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_edge_left_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_77callback_edge_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_76callback_edge_right_add[] = "The list is scrolled until the right edge.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_77callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1103; __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[30]; __pyx_lineno = 1103; __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("elementary.c_elementary.List.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_76callback_edge_right_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1103
+ * self._callback_del("edge,left", func)
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The list is scrolled until the right edge."""
+ * self._callback_add("edge,right", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_76callback_edge_right_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1105
+ * def callback_edge_right_add(self, func, *args, **kwargs):
+ * """The list is scrolled until the right edge."""
+ * self._callback_add("edge,right", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_right_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1105; __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[30]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_66));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_66));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_66));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.List.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_79callback_edge_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_79callback_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_10elementary_12c_elementary_4List_78callback_edge_right_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1107
+ * self._callback_add("edge,right", func, *args, **kwargs)
+ *
+ * def callback_edge_right_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,right", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_78callback_edge_right_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_right_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1108
+ *
+ * def callback_edge_right_del(self, func):
+ * self._callback_del("edge,right", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1108; __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[30]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_66));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_66));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_66));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_edge_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_81callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4List_80callback_language_changed_add[] = "The program's language changed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_81callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[30]; __pyx_lineno = 1110; __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[30]; __pyx_lineno = 1110; __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("elementary.c_elementary.List.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_80callback_language_changed_add(((struct PyElementaryList *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1110
+ * self._callback_del("edge,right", func)
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The program's language changed."""
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_80callback_language_changed_add(struct PyElementaryList *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1112
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ * """The program's language changed."""
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1112; __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[30]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.List.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_83callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4List_83callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4List_82callback_language_changed_del(((struct PyElementaryList *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1114
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4List_82callback_language_changed_del(struct PyElementaryList *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1115
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("list", List)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1115; __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[30]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.List.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 66; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[31]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider___init__(((struct PyElementarySlider *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":66
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_slider_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider___init__(struct PyElementarySlider *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":67
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_slider_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 67; __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[31]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":68
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_slider_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def span_size_set(self, size):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Slider *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_slider_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Slider.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_3span_size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_2span_size_set[] = "Set the (exact) length of the bar region of a given slider widget.\n\n This sets the minimum width (when in horizontal mode) or height\n (when in vertical mode) of the actual bar area of the slider. This\n in turn affects the object's minimum size. Use this when you're not\n setting other size hints expanding on the given direction (like\n weight and alignment hints) and you would like it to have a specific\n size.\n\n @note: Icon, end, label, indicator and unit text around the object\n will require their own space, which will make the object to\n require more the C{size}, actually.\n\n @see: L{span_size_get()}\n\n @param size: The length of the slider's bar region.\n @type size: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_3span_size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("span_size_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_2span_size_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":70
+ * self._set_obj(elm_slider_add(parent.obj))
+ *
+ * def span_size_set(self, size): # <<<<<<<<<<<<<<
+ * """Set the (exact) length of the bar region of a given slider widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_2span_size_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("span_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":90
+ *
+ * """
+ * elm_slider_span_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def span_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_span_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.span_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_5span_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_4span_size_get[] = "Get the length set for the bar region of a given slider widget\n\n If that size was not set previously, with L{span_size_set()}, this\n call will return C{0}.\n\n @return: The length of the slider's bar region.\n @rtype: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_5span_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("span_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_4span_size_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":92
+ * elm_slider_span_size_set(self.obj, size)
+ *
+ * def span_size_get(self): # <<<<<<<<<<<<<<
+ * """Get the length set for the bar region of a given slider widget
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_4span_size_get(struct PyElementarySlider *__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("span_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":102
+ *
+ * """
+ * return elm_slider_span_size_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property span_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_slider_span_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.span_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_9span_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_9span_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_9span_size___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":121
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_slider_span_size_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_9span_size___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":122
+ * """
+ * def __get__(self):
+ * return elm_slider_span_size_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, size):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_slider_span_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.span_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_9span_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_9span_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_9span_size_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":124
+ * return elm_slider_span_size_get(self.obj)
+ *
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_slider_span_size_set(self.obj, size)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_9span_size_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":125
+ *
+ * def __set__(self, size):
+ * elm_slider_span_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def unit_format_set(self, format):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_span_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.span_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_7unit_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_6unit_format_set[] = "Set the format string for the unit label.\n\n Unit label is displayed all the time, if set, after slider's bar.\n In horizontal mode, at right and in vertical mode, at bottom.\n\n If C{None}, unit label won't be visible. If not it sets the format\n string for the label text. To the label text is provided a floating point\n value, so the label text can display up to 1 floating point value.\n Note that this is optional.\n\n Use a format string such as \"%1.2f meters\" for example, and it will\n display values like: \"3.14 meters\" for a value equal to 3.14159.\n\n Default is unit label disabled.\n\n @see: L{indicator_format_get()}\n\n @param format: The format string for the unit display.\n @type format: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_7unit_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unit_format_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_6unit_format_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":127
+ * elm_slider_span_size_set(self.obj, size)
+ *
+ * def unit_format_set(self, format): # <<<<<<<<<<<<<<
+ * """Set the format string for the unit label.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_6unit_format_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unit_format_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":149
+ *
+ * """
+ * elm_slider_unit_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * def unit_format_get(self):
+ */
+ elm_slider_unit_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_9unit_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_8unit_format_get[] = "Get the unit label format of the slider.\n\n Unit label is displayed all the time, if set, after slider's bar.\n In horizontal mode, at right and in vertical mode, at bottom.\n\n @see: L{unit_format_set()} for more information on how this works.\n\n @return: The unit label format string in UTF-8.\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_9unit_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unit_format_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_8unit_format_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":151
+ * elm_slider_unit_format_set(self.obj, _cfruni(format))
+ *
+ * def unit_format_get(self): # <<<<<<<<<<<<<<
+ * """Get the unit label format of the slider.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_8unit_format_get(struct PyElementarySlider *__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("unit_format_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":163
+ *
+ * """
+ * return _ctouni(elm_slider_unit_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property unit_format:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_slider_unit_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.unit_format_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_11unit_format_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_11unit_format_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_11unit_format___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":184
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_slider_unit_format_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_11unit_format___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":185
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_slider_unit_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, format):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_slider_unit_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.unit_format.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_11unit_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_11unit_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_11unit_format_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":187
+ * return _ctouni(elm_slider_unit_format_get(self.obj))
+ *
+ * def __set__(self, format): # <<<<<<<<<<<<<<
+ * elm_slider_unit_format_set(self.obj, _cfruni(format))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_11unit_format_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":188
+ *
+ * def __set__(self, format):
+ * elm_slider_unit_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * def indicator_format_set(self, format):
+ */
+ elm_slider_unit_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_11indicator_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_10indicator_format_set[] = "Set the format string for the indicator label.\n\n The slider may display its value somewhere else then unit label, for\n example, above the slider knob that is dragged around. This function\n sets the format string used for this.\n\n If C{None}, indicator label won't be visible. If not it sets the\n format string for the label text. To the label text is provided a\n floating point value, so the label text can display up to 1 floating\n point value. Note that this is optional.\n\n Use a format string such as \"%1.2f meters\" for example, and it will\n display values like: \"3.14 meters\" for a value equal to 3.14159.\n\n Default is indicator label disabled.\n\n @see: L{indicator_format_get()}\n\n @param indicator: The format string for the indicator display.\n @type indicator: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_11indicator_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_format_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_10indicator_format_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":190
+ * elm_slider_unit_format_set(self.obj, _cfruni(format))
+ *
+ * def indicator_format_set(self, format): # <<<<<<<<<<<<<<
+ * """Set the format string for the indicator label.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_10indicator_format_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_format_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":213
+ *
+ * """
+ * elm_slider_indicator_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * def indicator_format_get(self):
+ */
+ elm_slider_indicator_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_13indicator_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_12indicator_format_get[] = "Get the indicator label format of the slider.\n\n The slider may display its value somewhere else then unit label, for\n example, above the slider knob that is dragged around. This function\n gets the format string used for this.\n\n @see: L{indicator_format_set()} for more information on how this works.\n\n @return: The indicator label format string in UTF-8.\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_13indicator_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_format_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_12indicator_format_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":215
+ * elm_slider_indicator_format_set(self.obj, _cfruni(format))
+ *
+ * def indicator_format_get(self): # <<<<<<<<<<<<<<
+ * """Get the indicator label format of the slider.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_12indicator_format_get(struct PyElementarySlider *__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("indicator_format_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":228
+ *
+ * """
+ * return _ctouni(elm_slider_indicator_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property indicator_format:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_slider_indicator_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.indicator_format_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_16indicator_format_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_16indicator_format_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_16indicator_format___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":250
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_slider_indicator_format_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_16indicator_format___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":251
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_slider_indicator_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, format):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_slider_indicator_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.indicator_format.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_16indicator_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_16indicator_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_16indicator_format_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":253
+ * return _ctouni(elm_slider_indicator_format_get(self.obj))
+ *
+ * def __set__(self, format): # <<<<<<<<<<<<<<
+ * elm_slider_indicator_format_set(self.obj, _cfruni(format))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_16indicator_format_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":254
+ *
+ * def __set__(self, format):
+ * elm_slider_indicator_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * #TODO: def indicator_format_function_set(self, func, free_func)
+ */
+ elm_slider_indicator_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_15horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_14horizontal_set[] = "Set the orientation of a given slider widget.\n\n Use this function to change how your slider is to be\n disposed: vertically or horizontally.\n\n By default it's displayed horizontally.\n\n @see: L{horizontal_get()}\n\n @param horizontal: Use C{True} to make the object be B{horizontal},\n C{False} to make it B{vertical}.\n @type horizontal: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_15horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_14horizontal_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":286
+ * #elm_slider_units_format_function_set(self.obj, char(*func)(double val), void (*free_func)(charstr))
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """Set the orientation of a given slider widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_14horizontal_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":301
+ *
+ * """
+ * elm_slider_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_17horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_16horizontal_get[] = "Retrieve the orientation of a given slider widget\n\n @see: L{horizontal_set()} for more details.\n\n @return: C{True}, if the object is set to be B{horizontal}, C{False}\n if it's B{vertical} (and on errors).\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_17horizontal_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_10elementary_12c_elementary_6Slider_16horizontal_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":303
+ * elm_slider_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve the orientation of a given slider widget
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_16horizontal_get(struct PyElementarySlider *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":313
+ *
+ * """
+ * return bool(elm_slider_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slider_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_10horizontal___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":326
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_slider_horizontal_get(self.obj))
+ * def __set__(self, horizontal):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_10horizontal___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":327
+ * """
+ * def __get__(self):
+ * return bool(elm_slider_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, horizontal):
+ * elm_slider_horizontal_set(self.obj, horizontal)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slider_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_10horizontal_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":328
+ * def __get__(self):
+ * return bool(elm_slider_horizontal_get(self.obj))
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_slider_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_10horizontal_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":329
+ * return bool(elm_slider_horizontal_get(self.obj))
+ * def __set__(self, horizontal):
+ * elm_slider_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def min_max_set(self, min, max):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_19min_max_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_18min_max_set[] = "Set the minimum and maximum values for the slider.\n\n Define the allowed range of values to be selected by the user.\n\n If actual value is less than C{min}, it will be updated to C{min}. If it\n is bigger then C{max}, will be updated to C{max}. Actual value can be\n get with L{value_get()}.\n\n By default, min is equal to 0.0, and max is equal to 1.0.\n\n @warning: Maximum must be greater than minimum, otherwise behavior\n is undefined.\n\n @see: L{min_max_get()}\n\n @param min: The minimum value.\n @type min: float\n @param max: The maximum value.\n @type max: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_19min_max_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_min = 0;
+ PyObject *__pyx_v_max = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__min,&__pyx_n_s__max,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("min_max_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__min);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__max);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("min_max_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[31]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "min_max_set") < 0)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 331; __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_min = values[0];
+ __pyx_v_max = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("min_max_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[31]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.min_max_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_18min_max_set(((struct PyElementarySlider *)__pyx_v_self), __pyx_v_min, __pyx_v_max);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":331
+ * elm_slider_horizontal_set(self.obj, horizontal)
+ *
+ * def min_max_set(self, min, max): # <<<<<<<<<<<<<<
+ * """Set the minimum and maximum values for the slider.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_18min_max_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_min, PyObject *__pyx_v_max) {
+ 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("min_max_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":353
+ *
+ * """
+ * elm_slider_min_max_set(self.obj, min, max) # <<<<<<<<<<<<<<
+ *
+ * def min_max_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_min); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_max); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_min_max_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.min_max_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_21min_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_20min_max_get[] = "Get the minimum and maximum values of the slider.\n\n @note: If only one value is needed, the other pointer can be passed\n as C{None}.\n\n @see: L{min_max_set()} for details.\n\n @return: The minimum and maximum values\n @rtype: tuple of floats\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_21min_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("min_max_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_20min_max_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":355
+ * elm_slider_min_max_set(self.obj, min, max)
+ *
+ * def min_max_get(self): # <<<<<<<<<<<<<<
+ * """Get the minimum and maximum values of the slider.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_20min_max_get(struct PyElementarySlider *__pyx_v_self) {
+ double __pyx_v_min;
+ double __pyx_v_max;
+ 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("min_max_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":368
+ * """
+ * cdef double min, max
+ * elm_slider_min_max_get(self.obj, &min, &max) # <<<<<<<<<<<<<<
+ * return (min, max)
+ *
+ */
+ elm_slider_min_max_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_min), (&__pyx_v_max));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":369
+ * cdef double min, max
+ * elm_slider_min_max_get(self.obj, &min, &max)
+ * return (min, max) # <<<<<<<<<<<<<<
+ *
+ * property min_max:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_min); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_max); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __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[31]; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.min_max_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_7min_max_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_7min_max_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_7min_max___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":386
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef double min, max
+ * elm_slider_min_max_get(self.obj, &min, &max)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_7min_max___get__(struct PyElementarySlider *__pyx_v_self) {
+ double __pyx_v_min;
+ double __pyx_v_max;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":388
+ * def __get__(self):
+ * cdef double min, max
+ * elm_slider_min_max_get(self.obj, &min, &max) # <<<<<<<<<<<<<<
+ * return (min, max)
+ *
+ */
+ elm_slider_min_max_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_min), (&__pyx_v_max));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":389
+ * cdef double min, max
+ * elm_slider_min_max_get(self.obj, &min, &max)
+ * return (min, max) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_min); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_max); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 389; __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[31]; __pyx_lineno = 389; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.min_max.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_7min_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_7min_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_7min_max_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":391
+ * return (min, max)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * min, max = value
+ * elm_slider_min_max_set(self.obj, min, max)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_7min_max_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_min = NULL;
+ PyObject *__pyx_v_max = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":392
+ *
+ * def __set__(self, value):
+ * min, max = value # <<<<<<<<<<<<<<
+ * elm_slider_min_max_set(self.obj, min, max)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[31]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[31]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 392; __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[31]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[31]; __pyx_lineno = 392; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_min = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_max = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":393
+ * def __set__(self, value):
+ * min, max = value
+ * elm_slider_min_max_set(self.obj, min, max) # <<<<<<<<<<<<<<
+ *
+ * def value_set(self, value):
+ */
+ __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_v_min); if (unlikely((__pyx_t_5 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_v_max); if (unlikely((__pyx_t_6 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_min_max_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Slider.min_max.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_min);
+ __Pyx_XDECREF(__pyx_v_max);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_23value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_22value_set[] = "Set the value the slider displays.\n\n Value will be presented on the unit label following format specified\n with L{unit_format_set()} and on indicator with\n L{indicator_format_set()}.\n\n @warning: The value must to be between min and max values. These\n values are set by L{min_max_set()}.\n\n @see: L{value_get()}\n @see: L{unit_format_set()}\n @see: L{indicator_format_set()}\n @see: L{min_max_set()}\n\n @param val: The value to be displayed.\n @type val: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_23value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_22value_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":395
+ * elm_slider_min_max_set(self.obj, min, max)
+ *
+ * def value_set(self, value): # <<<<<<<<<<<<<<
+ * """Set the value the slider displays.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_22value_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("value_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":414
+ *
+ * """
+ * elm_slider_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def value_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.value_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_25value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_24value_get[] = "Get the value displayed by the spinner.\n\n @see: L{value_set()} for details.\n\n @return: The value displayed.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_25value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_24value_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":416
+ * elm_slider_value_set(self.obj, value)
+ *
+ * def value_get(self): # <<<<<<<<<<<<<<
+ * """Get the value displayed by the spinner.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_24value_get(struct PyElementarySlider *__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("value_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":425
+ *
+ * """
+ * return elm_slider_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property value:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_slider_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.value_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_5value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_5value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_5value___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":444
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_slider_value_get(self.obj)
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_5value___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":445
+ * """
+ * def __get__(self):
+ * return elm_slider_value_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * elm_slider_value_set(self.obj, value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_slider_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_5value_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":446
+ * def __get__(self):
+ * return elm_slider_value_get(self.obj)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_slider_value_set(self.obj, value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_5value_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":447
+ * return elm_slider_value_get(self.obj)
+ * def __set__(self, value):
+ * elm_slider_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def inverted_set(self, inverted):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_27inverted_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_26inverted_set[] = "Invert a given slider widget's displaying values order\n\n A slider may be B{inverted}, in which state it gets its\n values inverted, with high vales being on the left or top and\n low values on the right or bottom, as opposed to normally have\n the low values on the former and high values on the latter,\n respectively, for horizontal and vertical modes.\n\n @see: L{inverted_get()}\n\n @param inverted: Use C{True} to make the object inverted, C{False} to\n bring it back to default, non-inverted values.\n @type inverted: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_27inverted_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inverted_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_26inverted_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_inverted));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":449
+ * elm_slider_value_set(self.obj, value)
+ *
+ * def inverted_set(self, inverted): # <<<<<<<<<<<<<<
+ * """Invert a given slider widget's displaying values order
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_26inverted_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("inverted_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":465
+ *
+ * """
+ * elm_slider_inverted_set(self.obj, inverted) # <<<<<<<<<<<<<<
+ *
+ * def inverted_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inverted); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_inverted_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.inverted_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_29inverted_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_28inverted_get[] = "Get whether a given slider widget's displaying values are\n inverted or not.\n\n @see: L{inverted_set()} for more details.\n\n @return: C{True}, if the object has inverted values, C{False}\n otherwise (and on errors).\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_29inverted_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inverted_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_28inverted_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":467
+ * elm_slider_inverted_set(self.obj, inverted)
+ *
+ * def inverted_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given slider widget's displaying values are
+ * inverted or not.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_28inverted_get(struct PyElementarySlider *__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("inverted_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":478
+ *
+ * """
+ * return bool(elm_slider_inverted_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property inverted:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slider_inverted_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.inverted_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_8inverted_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_8inverted_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_8inverted___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":492
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_slider_inverted_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_8inverted___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":493
+ * """
+ * def __get__(self):
+ * return bool(elm_slider_inverted_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, inverted):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slider_inverted_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.inverted.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_8inverted_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_8inverted_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_8inverted_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_inverted));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":495
+ * return bool(elm_slider_inverted_get(self.obj))
+ *
+ * def __set__(self, inverted): # <<<<<<<<<<<<<<
+ * elm_slider_inverted_set(self.obj, inverted)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_8inverted_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":496
+ *
+ * def __set__(self, inverted):
+ * elm_slider_inverted_set(self.obj, inverted) # <<<<<<<<<<<<<<
+ *
+ * def indicator_show_set(self, show):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inverted); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_inverted_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.inverted.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_31indicator_show_set(PyObject *__pyx_v_self, PyObject *__pyx_v_show); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_30indicator_show_set[] = "Set whether to enlarge slider indicator (augmented knob) or not.\n\n By default, indicator will be bigger while dragged by the user.\n\n @warning: It won't display values set with\n L{indicator_format_set()} if you disable indicator.\n\n @param show: C{True} will make it enlarge, C{False} will let the\n knob always at default size.\n @type show: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_31indicator_show_set(PyObject *__pyx_v_self, PyObject *__pyx_v_show) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_show_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_30indicator_show_set(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_show));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":498
+ * elm_slider_inverted_set(self.obj, inverted)
+ *
+ * def indicator_show_set(self, show): # <<<<<<<<<<<<<<
+ * """Set whether to enlarge slider indicator (augmented knob) or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_30indicator_show_set(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_show) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("indicator_show_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":511
+ *
+ * """
+ * elm_slider_indicator_show_set(self.obj, show) # <<<<<<<<<<<<<<
+ *
+ * def indicator_show_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_show); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_indicator_show_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.indicator_show_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_33indicator_show_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_32indicator_show_get[] = "Get whether a given slider widget's enlarging indicator or not.\n\n @see: L{indicator_show_set()} for details.\n\n @return: C{True}, if the object is enlarging indicator, or C{False}\n otherwise (and on errors).\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_33indicator_show_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_show_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_32indicator_show_get(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":513
+ * elm_slider_indicator_show_set(self.obj, show)
+ *
+ * def indicator_show_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given slider widget's enlarging indicator or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_32indicator_show_get(struct PyElementarySlider *__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("indicator_show_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":523
+ *
+ * """
+ * return bool(elm_slider_indicator_show_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property indicator_show:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slider_indicator_show_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.indicator_show_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_14indicator_show_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_14indicator_show_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_14indicator_show___get__(((struct PyElementarySlider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":536
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_slider_indicator_show_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_14indicator_show___get__(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":537
+ * """
+ * def __get__(self):
+ * return bool(elm_slider_indicator_show_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, show):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slider_indicator_show_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.indicator_show.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_14indicator_show_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_show); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Slider_14indicator_show_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_show) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_14indicator_show_2__set__(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_show));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":539
+ * return bool(elm_slider_indicator_show_get(self.obj))
+ *
+ * def __set__(self, show): # <<<<<<<<<<<<<<
+ * elm_slider_indicator_show_set(self.obj, show)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Slider_14indicator_show_2__set__(struct PyElementarySlider *__pyx_v_self, PyObject *__pyx_v_show) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":540
+ *
+ * def __set__(self, show):
+ * elm_slider_indicator_show_set(self.obj, show) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_show); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 540; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slider_indicator_show_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slider.indicator_show.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_35callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_34callback_changed_add[] = "Whenever the slider value is changed by the user.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_35callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[31]; __pyx_lineno = 542; __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[31]; __pyx_lineno = 542; __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("elementary.c_elementary.Slider.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_34callback_changed_add(((struct PyElementarySlider *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":542
+ * elm_slider_indicator_show_set(self.obj, show)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Whenever the slider value is changed by the user."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_34callback_changed_add(struct PyElementarySlider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":544
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """Whenever the slider value is changed by the user."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 544; __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[31]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 544; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Slider.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_37callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_37callback_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_10elementary_12c_elementary_6Slider_36callback_changed_del(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":546
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_36callback_changed_del(struct PyElementarySlider *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":547
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_slider_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 547; __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[31]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_39callback_slider_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_38callback_slider_drag_start_add[] = "Dragging the slider indicator around has started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_39callback_slider_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_slider_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_slider_drag_start_add") < 0)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 549; __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_slider_drag_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[31]; __pyx_lineno = 549; __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("elementary.c_elementary.Slider.callback_slider_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_38callback_slider_drag_start_add(((struct PyElementarySlider *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":549
+ * self._callback_del("changed", func)
+ *
+ * def callback_slider_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the slider indicator around has started."""
+ * self._callback_add("slider,drag,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_38callback_slider_drag_start_add(struct PyElementarySlider *__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_slider_drag_start_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":551
+ * def callback_slider_drag_start_add(self, func, *args, **kwargs):
+ * """Dragging the slider indicator around has started."""
+ * self._callback_add("slider,drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_slider_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 551; __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[31]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_111));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_111));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_111));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Slider.callback_slider_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_41callback_slider_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_41callback_slider_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_slider_drag_start_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_40callback_slider_drag_start_del(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":553
+ * self._callback_add("slider,drag,start", func, *args, **kwargs)
+ *
+ * def callback_slider_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("slider,drag,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_40callback_slider_drag_start_del(struct PyElementarySlider *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_slider_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":554
+ *
+ * def callback_slider_drag_start_del(self, func):
+ * self._callback_del("slider,drag,start", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_slider_drag_stop_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 554; __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[31]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_111));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_111));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_111));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.callback_slider_drag_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_43callback_slider_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_42callback_slider_drag_stop_add[] = "Dragging the slider indicator around has stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_43callback_slider_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_slider_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_slider_drag_stop_add") < 0)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 556; __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_slider_drag_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[31]; __pyx_lineno = 556; __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("elementary.c_elementary.Slider.callback_slider_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_42callback_slider_drag_stop_add(((struct PyElementarySlider *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":556
+ * self._callback_del("slider,drag,start", func)
+ *
+ * def callback_slider_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the slider indicator around has stopped."""
+ * self._callback_add("slider,drag,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_42callback_slider_drag_stop_add(struct PyElementarySlider *__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_slider_drag_stop_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":558
+ * def callback_slider_drag_stop_add(self, func, *args, **kwargs):
+ * """Dragging the slider indicator around has stopped."""
+ * self._callback_add("slider,drag,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_slider_drag_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 558; __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[31]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_112));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_112));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_112));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Slider.callback_slider_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_45callback_slider_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_45callback_slider_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_slider_drag_stop_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_44callback_slider_drag_stop_del(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":560
+ * self._callback_add("slider,drag,stop", func, *args, **kwargs)
+ *
+ * def callback_slider_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("slider,drag,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_44callback_slider_drag_stop_del(struct PyElementarySlider *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_slider_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":561
+ *
+ * def callback_slider_drag_stop_del(self, func):
+ * self._callback_del("slider,drag,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_delay_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 561; __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[31]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_112));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_112));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_112));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.callback_slider_drag_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_47callback_delay_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Slider_46callback_delay_changed_add[] = "A short time after the value is changed by the user. This will be\n called only when the user stops dragging for a very short period or\n when they release their finger/mouse, so it avoids possibly\n expensive reactions to the value change.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_47callback_delay_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delay_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_delay_changed_add") < 0)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 563; __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_delay_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[31]; __pyx_lineno = 563; __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("elementary.c_elementary.Slider.callback_delay_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_46callback_delay_changed_add(((struct PyElementarySlider *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":563
+ * self._callback_del("slider,drag,stop", func)
+ *
+ * def callback_delay_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A short time after the value is changed by the user. This will be
+ * called only when the user stops dragging for a very short period or
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_46callback_delay_changed_add(struct PyElementarySlider *__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_delay_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":570
+ *
+ * """
+ * self._callback_add("delay,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_delay_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 570; __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[31]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_113));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_113));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_113));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Slider.callback_delay_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_49callback_delay_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Slider_49callback_delay_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delay_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Slider_48callback_delay_changed_del(((struct PyElementarySlider *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":572
+ * self._callback_add("delay,changed", func, *args, **kwargs)
+ *
+ * def callback_delay_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("delay,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Slider_48callback_delay_changed_del(struct PyElementarySlider *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_delay_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":573
+ *
+ * def callback_delay_changed_del(self, func):
+ * self._callback_del("delay,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("slider", Slider)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 573; __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[31]; __pyx_lineno = 573; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_113));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_113));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_113));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 573; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Slider.callback_delay_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_1item_pop_to(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_1item_pop_to(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_pop_to (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_item_pop_to(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":24
+ * """An item for the Naviframe widget."""
+ *
+ * def item_pop_to(self): # <<<<<<<<<<<<<<
+ * _METHOD_DEPRECATED(self, "pop_to")
+ * elm_naviframe_item_pop_to(self.item)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_item_pop_to(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ struct __pyx_opt_args_10elementary_12c_elementary__METHOD_DEPRECATED __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_pop_to", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":25
+ *
+ * def item_pop_to(self):
+ * _METHOD_DEPRECATED(self, "pop_to") # <<<<<<<<<<<<<<
+ * elm_naviframe_item_pop_to(self.item)
+ *
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_n_s__pop_to);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_3.__pyx_n = 1;
+ __pyx_t_3.replacement = __pyx_t_1;
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__METHOD_DEPRECATED(((PyObject *)__pyx_v_self), &__pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 25; __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_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":26
+ * def item_pop_to(self):
+ * _METHOD_DEPRECATED(self, "pop_to")
+ * elm_naviframe_item_pop_to(self.item) # <<<<<<<<<<<<<<
+ *
+ * def pop_to(self):
+ */
+ elm_naviframe_item_pop_to(__pyx_v_self->__pyx_base.item);
+
+ __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_AddTraceback("elementary.c_elementary.NaviframeItem.item_pop_to", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_3pop_to(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13NaviframeItem_2pop_to[] = "item_pop_to()\n\n Pop the items between the top and the above one on the given item.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_3pop_to(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pop_to (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_2pop_to(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":28
+ * elm_naviframe_item_pop_to(self.item)
+ *
+ * def pop_to(self): # <<<<<<<<<<<<<<
+ * """item_pop_to()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_2pop_to(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pop_to", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":34
+ *
+ * """
+ * elm_naviframe_item_pop_to(self.item) # <<<<<<<<<<<<<<
+ *
+ * def item_promote(self):
+ */
+ elm_naviframe_item_pop_to(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_5item_promote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_5item_promote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_promote (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_4item_promote(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":36
+ * elm_naviframe_item_pop_to(self.item)
+ *
+ * def item_promote(self): # <<<<<<<<<<<<<<
+ * _METHOD_DEPRECATED(self, "promote")
+ * elm_naviframe_item_promote(self.item)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_4item_promote(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ struct __pyx_opt_args_10elementary_12c_elementary__METHOD_DEPRECATED __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_promote", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":37
+ *
+ * def item_promote(self):
+ * _METHOD_DEPRECATED(self, "promote") # <<<<<<<<<<<<<<
+ * elm_naviframe_item_promote(self.item)
+ *
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_n_s__promote);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_3.__pyx_n = 1;
+ __pyx_t_3.replacement = __pyx_t_1;
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__METHOD_DEPRECATED(((PyObject *)__pyx_v_self), &__pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 37; __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_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":38
+ * def item_promote(self):
+ * _METHOD_DEPRECATED(self, "promote")
+ * elm_naviframe_item_promote(self.item) # <<<<<<<<<<<<<<
+ *
+ * def promote(self):
+ */
+ elm_naviframe_item_promote(__pyx_v_self->__pyx_base.item);
+
+ __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_AddTraceback("elementary.c_elementary.NaviframeItem.item_promote", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_7promote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13NaviframeItem_6promote[] = "item_promote()\n\n Promote an item already in the naviframe stack to the top of the stack\n\n This will take the indicated item and promote it to the top of the stack\n as if it had been pushed there. The item must already be inside the\n naviframe stack to work.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_7promote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("promote (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_6promote(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":40
+ * elm_naviframe_item_promote(self.item)
+ *
+ * def promote(self): # <<<<<<<<<<<<<<
+ * """item_promote()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_6promote(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("promote", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":50
+ *
+ * """
+ * elm_naviframe_item_promote(self.item) # <<<<<<<<<<<<<<
+ *
+ * def style_set(self, style):
+ */
+ elm_naviframe_item_promote(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_9style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13NaviframeItem_8style_set[] = "Set an item style\n\n The following styles are available for this item:\n - C{\"default\"}\n\n @see: L{style_get()}\n\n @param item_style: The item style name. C{None} would be default\n @type item_style: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_9style_set(PyObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("style_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_8style_set(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":52
+ * elm_naviframe_item_promote(self.item)
+ *
+ * def style_set(self, style): # <<<<<<<<<<<<<<
+ * """Set an item style
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_8style_set(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":64
+ *
+ * """
+ * elm_naviframe_item_style_set(self.item, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def style_get(self):
+ */
+ elm_naviframe_item_style_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_11style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13NaviframeItem_10style_get[] = "Get an item style\n\n @see: L{style_set()}\n\n @return: The current item style name\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_11style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_10style_get(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":66
+ * elm_naviframe_item_style_set(self.item, _cfruni(style))
+ *
+ * def style_get(self): # <<<<<<<<<<<<<<
+ * """Get an item style
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_10style_get(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__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("style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":75
+ *
+ * """
+ * return _ctouni(elm_naviframe_item_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_naviframe_item_style_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.NaviframeItem.style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_5style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_5style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_5style___get__(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":86
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_naviframe_item_style_get(self.item))
+ * def __set__(self, style):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_5style___get__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":87
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_naviframe_item_style_get(self.item)) # <<<<<<<<<<<<<<
+ * def __set__(self, style):
+ * elm_naviframe_item_style_set(self.item, _cfruni(style))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_naviframe_item_style_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.NaviframeItem.style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_13NaviframeItem_5style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_style); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_13NaviframeItem_5style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_style) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_5style_2__set__(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self), ((PyObject *)__pyx_v_style));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":88
+ * def __get__(self):
+ * return _ctouni(elm_naviframe_item_style_get(self.item))
+ * def __set__(self, style): # <<<<<<<<<<<<<<
+ * elm_naviframe_item_style_set(self.item, _cfruni(style))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_13NaviframeItem_5style_2__set__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":89
+ * return _ctouni(elm_naviframe_item_style_get(self.item))
+ * def __set__(self, style):
+ * elm_naviframe_item_style_set(self.item, _cfruni(style)) # <<<<<<<<<<<<<<
+ *
+ * def title_visible_set(self, visible):
+ */
+ elm_naviframe_item_style_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_set(PyObject *__pyx_v_self, PyObject *__pyx_v_visible); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13NaviframeItem_12title_visible_set[] = "Show/Hide the title area\n\n When the title area is invisible, then the controls would be hidden\n so as to expand the content area to full-size.\n\n @see: L{title_visible_get()}\n\n @param visible: If C{True}, title area will be visible, hidden\n otherwise\n @type visible: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_set(PyObject *__pyx_v_self, PyObject *__pyx_v_visible) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("title_visible_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_12title_visible_set(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self), ((PyObject *)__pyx_v_visible));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":91
+ * elm_naviframe_item_style_set(self.item, _cfruni(style))
+ *
+ * def title_visible_set(self, visible): # <<<<<<<<<<<<<<
+ * """Show/Hide the title area
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_12title_visible_set(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_visible) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("title_visible_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":104
+ *
+ * """
+ * elm_naviframe_item_title_visible_set(self.item, visible) # <<<<<<<<<<<<<<
+ *
+ * def title_visible_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_visible); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_item_title_visible_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.NaviframeItem.title_visible_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_15title_visible_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13NaviframeItem_14title_visible_get[] = "Get a value whether title area is visible or not.\n\n @see: L{title_visible_set()}\n\n @return: If C{True}, title area is visible\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_15title_visible_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("title_visible_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_14title_visible_get(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":106
+ * elm_naviframe_item_title_visible_set(self.item, visible)
+ *
+ * def title_visible_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether title area is visible or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_14title_visible_get(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__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("title_visible_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":114
+ *
+ * """
+ * return bool(elm_naviframe_item_title_visible_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property title_visible:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_item_title_visible_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.NaviframeItem.title_visible_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_13title_visible___get__(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":125
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_naviframe_item_title_visible_get(self.item))
+ * def __set__(self, visible):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13NaviframeItem_13title_visible___get__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":126
+ * """
+ * def __get__(self):
+ * return bool(elm_naviframe_item_title_visible_get(self.item)) # <<<<<<<<<<<<<<
+ * def __set__(self, visible):
+ * elm_naviframe_item_title_visible_set(self.item, visible)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_item_title_visible_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.NaviframeItem.title_visible.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_visible); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_visible) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13NaviframeItem_13title_visible_2__set__(((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_v_self), ((PyObject *)__pyx_v_visible));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":127
+ * def __get__(self):
+ * return bool(elm_naviframe_item_title_visible_get(self.item))
+ * def __set__(self, visible): # <<<<<<<<<<<<<<
+ * elm_naviframe_item_title_visible_set(self.item, visible)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_13NaviframeItem_13title_visible_2__set__(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_self, PyObject *__pyx_v_visible) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":128
+ * return bool(elm_naviframe_item_title_visible_get(self.item))
+ * def __set__(self, visible):
+ * elm_naviframe_item_title_visible_set(self.item, visible) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Naviframe(LayoutClass) [object PyElementaryNaviframe, type PyElementaryNaviframe_Type]:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_visible); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_item_title_visible_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.NaviframeItem.title_visible.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 198; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe___init__(((struct PyElementaryNaviframe *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":198
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_naviframe_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Naviframe___init__(struct PyElementaryNaviframe *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":199
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_naviframe_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 199; __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[32]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":200
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_naviframe_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_push(self, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Naviframe *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_naviframe_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Naviframe.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_3item_push(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_2item_push[] = "item_push(title_label, prev_btn, next_btn, content, item_style)\n\n Push a new item to the top of the naviframe stack (and show it).\n\n The item pushed becomes one page of the naviframe, this item will be\n deleted when it is popped.\n\n The following styles are available for this item:\n - C{\"default\"}\n\n @see: L{NaviframeItem.style_set()}\n @see: L{NaviframeItem.insert_before()}\n @see: L{NaviframeItem.insert_after()}\n\n @param title_label: The label in the title area. The name of the title\n label part is \"elm.text.title\"\n @type title_label: string\n @param prev_btn: The button to go to the previous item. If it is None,\n then naviframe will create a back button automatically. The name of\n the prev_btn part is \"elm.swallow.prev_btn\"\n @type prev_btn: L{Button}\n @param next_btn: The button to go to the next item. Or It could be just an\n extra function button. The name of the next_btn part is\n \"elm.swallow.next_btn\"\n @type next_btn: L{Button}\n @param content: The main content object. The name of content part is\n \"elm.swallow.content\"\n @type content: L{Object}\n @param item_style: The current item style name. C{None} would be default.\n @type item_style: string\n\n @return: The created item or C{None} upon failure.\n @rtype: L{NaviframeItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_3item_push(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_title_label = 0;
+ struct PyEvasObject *__pyx_v_prev_btn = 0;
+ struct PyEvasObject *__pyx_v_next_btn = 0;
+ struct PyEvasObject *__pyx_v_content = 0;
+ const char * __pyx_v_item_style;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__title_label,&__pyx_n_s__prev_btn,&__pyx_n_s__next_btn,&__pyx_n_s__content,&__pyx_n_s__item_style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_push (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__title_label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__prev_btn);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_push", 1, 5, 5, 1); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__next_btn);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_push", 1, 5, 5, 2); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__content);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_push", 1, 5, 5, 3); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_style);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_push", 1, 5, 5, 4); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __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_push") < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_title_label = values[0];
+ __pyx_v_prev_btn = ((struct PyEvasObject *)values[1]);
+ __pyx_v_next_btn = ((struct PyEvasObject *)values[2]);
+ __pyx_v_content = ((struct PyEvasObject *)values[3]);
+ __pyx_v_item_style = PyBytes_AsString(values[4]); if (unlikely((__pyx_v_item_style == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_push", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.item_push", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_prev_btn), __pyx_ptype_4evas_6c_evas_Object, 1, "prev_btn", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_next_btn), __pyx_ptype_4evas_6c_evas_Object, 1, "next_btn", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_2item_push(((struct PyElementaryNaviframe *)__pyx_v_self), __pyx_v_title_label, __pyx_v_prev_btn, __pyx_v_next_btn, __pyx_v_content, __pyx_v_item_style);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":202
+ * self._set_obj(elm_naviframe_add(parent.obj))
+ *
+ * def item_push(self, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style): # <<<<<<<<<<<<<<
+ * """item_push(title_label, prev_btn, next_btn, content, item_style)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_2item_push(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_title_label, struct PyEvasObject *__pyx_v_prev_btn, struct PyEvasObject *__pyx_v_next_btn, struct PyEvasObject *__pyx_v_content, const char * __pyx_v_item_style) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Evas_Object *__pyx_t_2;
+ int __pyx_t_3;
+ Evas_Object *__pyx_t_4;
+ Evas_Object *__pyx_t_5;
+ const char * __pyx_t_6;
+ int __pyx_t_7;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_push", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":238
+ *
+ * """
+ * cdef NaviframeItem ret = NaviframeItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_NaviframeItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":242
+ *
+ * item = elm_naviframe_item_push(self.obj, _cfruni(title_label),
+ * prev_btn.obj if prev_btn else NULL, # <<<<<<<<<<<<<<
+ * next_btn.obj if next_btn else NULL,
+ * content.obj if content else NULL,
+ */
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_prev_btn)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_3) {
+ __pyx_t_2 = __pyx_v_prev_btn->obj;
+ } else {
+ __pyx_t_2 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":243
+ * item = elm_naviframe_item_push(self.obj, _cfruni(title_label),
+ * prev_btn.obj if prev_btn else NULL,
+ * next_btn.obj if next_btn else NULL, # <<<<<<<<<<<<<<
+ * content.obj if content else NULL,
+ * _cfruni(item_style) if item_style else NULL)
+ */
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_next_btn)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_3) {
+ __pyx_t_4 = __pyx_v_next_btn->obj;
+ } else {
+ __pyx_t_4 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":244
+ * prev_btn.obj if prev_btn else NULL,
+ * next_btn.obj if next_btn else NULL,
+ * content.obj if content else NULL, # <<<<<<<<<<<<<<
+ * _cfruni(item_style) if item_style else NULL)
+ * if item != NULL:
+ */
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_content)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_3) {
+ __pyx_t_5 = __pyx_v_content->obj;
+ } else {
+ __pyx_t_5 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":245
+ * next_btn.obj if next_btn else NULL,
+ * content.obj if content else NULL,
+ * _cfruni(item_style) if item_style else NULL) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ if ((__pyx_v_item_style != 0)) {
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_item_style); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_6 = __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ } else {
+ __pyx_t_6 = NULL;
+ }
+ __pyx_v_item = elm_naviframe_item_push(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title_label), __pyx_t_2, __pyx_t_4, __pyx_t_5, __pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":246
+ * content.obj if content else NULL,
+ * _cfruni(item_style) if item_style else NULL)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":247
+ * _cfruni(item_style) if item_style else NULL)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_7 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_7 == 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":248
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":250
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, NaviframeItem before, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.item_push", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_5item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_4item_insert_before[] = "item_push(before, title_label, prev_btn, next_btn, content, item_style)\n\n Insert a new item into the naviframe before item C{before}.\n\n The item is inserted into the naviframe straight away without any\n transition operations. This item will be deleted when it is popped.\n\n The following styles are available for this item:\n - C{\"default\"}\n\n @see: L{NaviframeItem.style_set()}\n @see: L{NaviframeItem.push()}\n @see: L{NaviframeItem.insert_after()}\n\n @param before: The naviframe item to insert before.\n @type before: L{NaviframeItem}\n @param title_label: The label in the title area. The name of the title\n label part is \"elm.text.title\"\n @type title_label: string\n @param prev_btn: The button to go to the previous item. If it is None,\n then naviframe will create a back button automatically. The name of\n the prev_btn part is \"elm.swallow.prev_btn\"\n @type prev_btn: L{Button}\n @param next_btn: The button to go to the next item. Or It could be just an\n extra function button. The name of the next_btn part is\n \"elm.swallow.next_btn\"\n @type next_btn: L{Button}\n @param content: The main content object. The name of content part is\n \"elm.swallow.content\"\n @type content: L{Object}\n @param item_style: The current item style name. C{None} would be default.\n @type item_style: string\n @return: The created item or C{None} upon failure.\n @rtype: L{NaviframeItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_5item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_before = 0;
+ PyObject *__pyx_v_title_label = 0;
+ struct PyEvasObject *__pyx_v_prev_btn = 0;
+ struct PyEvasObject *__pyx_v_next_btn = 0;
+ struct PyEvasObject *__pyx_v_content = 0;
+ const char * __pyx_v_item_style;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__before,&__pyx_n_s__title_label,&__pyx_n_s__prev_btn,&__pyx_n_s__next_btn,&__pyx_n_s__content,&__pyx_n_s__item_style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_before (wrapper)", 0);
+ {
+ PyObject* values[6] = {0,0,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 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__title_label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 1, 6, 6, 1); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__prev_btn);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 1, 6, 6, 2); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__next_btn);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 1, 6, 6, 3); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__content);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 1, 6, 6, 4); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 5:
+ values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_style);
+ if (likely(values[5])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 1, 6, 6, 5); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __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_insert_before") < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 6) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ }
+ __pyx_v_before = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)values[0]);
+ __pyx_v_title_label = values[1];
+ __pyx_v_prev_btn = ((struct PyEvasObject *)values[2]);
+ __pyx_v_next_btn = ((struct PyEvasObject *)values[3]);
+ __pyx_v_content = ((struct PyEvasObject *)values[4]);
+ __pyx_v_item_style = PyBytes_AsString(values[5]); if (unlikely((__pyx_v_item_style == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 1, 6, 6, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.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_before), __pyx_ptype_10elementary_12c_elementary_NaviframeItem, 1, "before", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_prev_btn), __pyx_ptype_4evas_6c_evas_Object, 1, "prev_btn", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_next_btn), __pyx_ptype_4evas_6c_evas_Object, 1, "next_btn", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_4item_insert_before(((struct PyElementaryNaviframe *)__pyx_v_self), __pyx_v_before, __pyx_v_title_label, __pyx_v_prev_btn, __pyx_v_next_btn, __pyx_v_content, __pyx_v_item_style);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":252
+ * return None
+ *
+ * def item_insert_before(self, NaviframeItem before, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style): # <<<<<<<<<<<<<<
+ * """item_push(before, title_label, prev_btn, next_btn, content, item_style)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_4item_insert_before(struct PyElementaryNaviframe *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_before, PyObject *__pyx_v_title_label, struct PyEvasObject *__pyx_v_prev_btn, struct PyEvasObject *__pyx_v_next_btn, struct PyEvasObject *__pyx_v_content, const char * __pyx_v_item_style) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":289
+ *
+ * """
+ * cdef NaviframeItem ret = NaviframeItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_NaviframeItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":292
+ * cdef Elm_Object_Item *item
+ *
+ * item = elm_naviframe_item_insert_before(self.obj, before.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style)) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_item_style); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_v_item = elm_naviframe_item_insert_before(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_before->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title_label), __pyx_v_prev_btn->obj, __pyx_v_next_btn->obj, __pyx_v_content->obj, __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1)));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":293
+ *
+ * item = elm_naviframe_item_insert_before(self.obj, before.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style))
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_item != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":294
+ * item = elm_naviframe_item_insert_before(self.obj, before.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style))
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_3 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_3 == 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":295
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":297
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, NaviframeItem after, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_7item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_6item_insert_after[] = "item_push(after, title_label, prev_btn, next_btn, content, item_style)\n\n Insert a new item into the naviframe after item C{after}.\n\n The item is inserted into the naviframe straight away without any\n transition operations. This item will be deleted when it is popped.\n\n The following styles are available for this item:\n - C{\"default\"}\n\n @see: L{NaviframeItem.style_set()}\n @see: L{NaviframeItem.push()}\n @see: L{NaviframeItem.insert_before()}\n\n @param after: The naviframe item to insert after.\n @type after: L{NaviframeItem}\n @param title_label: The label in the title area. The name of the title\n label part is \"elm.text.title\"\n @type title_label: string\n @param prev_btn: The button to go to the previous item. If it is None,\n then naviframe will create a back button automatically. The name of\n the prev_btn part is \"elm.swallow.prev_btn\"\n @type prev_btn: L{Button}\n @param next_btn: The button to go to the next item. Or It could be just an\n extra function button. The name of the next_btn part is\n \"elm.swallow.next_btn\"\n @type next_btn: L{Button}\n @param content: The main content object. The name of content part is\n \"elm.swallow.content\"\n @type content: L{Object}\n @param item_style: The current item style name. C{None} would be default.\n @type item_style: string\n @return: The created item or C{None} upon failure.\n @rtype: L{NaviframeItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_7item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_after = 0;
+ PyObject *__pyx_v_title_label = 0;
+ struct PyEvasObject *__pyx_v_prev_btn = 0;
+ struct PyEvasObject *__pyx_v_next_btn = 0;
+ struct PyEvasObject *__pyx_v_content = 0;
+ const char * __pyx_v_item_style;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__after,&__pyx_n_s__title_label,&__pyx_n_s__prev_btn,&__pyx_n_s__next_btn,&__pyx_n_s__content,&__pyx_n_s__item_style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_after (wrapper)", 0);
+ {
+ PyObject* values[6] = {0,0,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 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__after);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__title_label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 1, 6, 6, 1); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__prev_btn);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 1, 6, 6, 2); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__next_btn);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 1, 6, 6, 3); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__content);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 1, 6, 6, 4); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 5:
+ values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_style);
+ if (likely(values[5])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 1, 6, 6, 5); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __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_insert_after") < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 6) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ }
+ __pyx_v_after = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)values[0]);
+ __pyx_v_title_label = values[1];
+ __pyx_v_prev_btn = ((struct PyEvasObject *)values[2]);
+ __pyx_v_next_btn = ((struct PyEvasObject *)values[3]);
+ __pyx_v_content = ((struct PyEvasObject *)values[4]);
+ __pyx_v_item_style = PyBytes_AsString(values[5]); if (unlikely((__pyx_v_item_style == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 1, 6, 6, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.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_after), __pyx_ptype_10elementary_12c_elementary_NaviframeItem, 1, "after", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_prev_btn), __pyx_ptype_4evas_6c_evas_Object, 1, "prev_btn", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_next_btn), __pyx_ptype_4evas_6c_evas_Object, 1, "next_btn", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_6item_insert_after(((struct PyElementaryNaviframe *)__pyx_v_self), __pyx_v_after, __pyx_v_title_label, __pyx_v_prev_btn, __pyx_v_next_btn, __pyx_v_content, __pyx_v_item_style);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":299
+ * return None
+ *
+ * def item_insert_after(self, NaviframeItem after, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style): # <<<<<<<<<<<<<<
+ * """item_push(after, title_label, prev_btn, next_btn, content, item_style)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_6item_insert_after(struct PyElementaryNaviframe *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_after, PyObject *__pyx_v_title_label, struct PyEvasObject *__pyx_v_prev_btn, struct PyEvasObject *__pyx_v_next_btn, struct PyEvasObject *__pyx_v_content, const char * __pyx_v_item_style) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":336
+ *
+ * """
+ * cdef NaviframeItem ret = NaviframeItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_NaviframeItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":339
+ * cdef Elm_Object_Item *item
+ *
+ * item = elm_naviframe_item_insert_after(self.obj, after.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style)) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_item_style); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_v_item = elm_naviframe_item_insert_after(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title_label), __pyx_v_prev_btn->obj, __pyx_v_next_btn->obj, __pyx_v_content->obj, __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1)));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":340
+ *
+ * item = elm_naviframe_item_insert_after(self.obj, after.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style))
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_item != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":341
+ * item = elm_naviframe_item_insert_after(self.obj, after.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style))
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_3 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_3 == 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":342
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":344
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_pop(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_9item_pop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_8item_pop[] = "item_pop()\n\n Pop an item that is on top of the stack\n\n This pops an item that is on the top (visible) of the naviframe,\n makes it disappear, then deletes the item. The item that was\n underneath it on the stack will become visible.\n\n @see: L{content_preserve_on_pop_get()}\n\n @return: C{None} or the content object(if the\n L{content_preserve_on_pop_get} is True).\n @rtype: L{NaviframeItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_9item_pop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_pop (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_8item_pop(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":346
+ * return None
+ *
+ * def item_pop(self): # <<<<<<<<<<<<<<
+ * """item_pop()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_8item_pop(struct PyElementaryNaviframe *__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("item_pop", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":362
+ *
+ * """
+ * return Object_from_instance(elm_naviframe_item_pop(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def content_preserve_on_pop_set(self, preserve):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_naviframe_item_pop(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.item_pop", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_11content_preserve_on_pop_set(PyObject *__pyx_v_self, PyObject *__pyx_v_preserve); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_10content_preserve_on_pop_set[] = "Preserve the content objects when items are popped.\n\n @see: L{content_preserve_on_pop_get()}\n\n @param preserve: Enable the preserve mode if True, disable otherwise\n @type preserve: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_11content_preserve_on_pop_set(PyObject *__pyx_v_self, PyObject *__pyx_v_preserve) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_preserve_on_pop_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_10content_preserve_on_pop_set(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_preserve));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":364
+ * return Object_from_instance(elm_naviframe_item_pop(self.obj))
+ *
+ * def content_preserve_on_pop_set(self, preserve): # <<<<<<<<<<<<<<
+ * """Preserve the content objects when items are popped.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_10content_preserve_on_pop_set(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_preserve) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("content_preserve_on_pop_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":373
+ *
+ * """
+ * elm_naviframe_content_preserve_on_pop_set(self.obj, preserve) # <<<<<<<<<<<<<<
+ *
+ * def content_preserve_on_pop_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_preserve); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_content_preserve_on_pop_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.content_preserve_on_pop_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_13content_preserve_on_pop_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_12content_preserve_on_pop_get[] = "Get a value whether preserve mode is enabled or not.\n\n @see: L{content_preserve_on_pop_set()}\n\n @return: If C{True}, preserve mode is enabled\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_13content_preserve_on_pop_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_preserve_on_pop_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_12content_preserve_on_pop_get(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":375
+ * elm_naviframe_content_preserve_on_pop_set(self.obj, preserve)
+ *
+ * def content_preserve_on_pop_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether preserve mode is enabled or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_12content_preserve_on_pop_get(struct PyElementaryNaviframe *__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("content_preserve_on_pop_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":384
+ *
+ * """
+ * return bool(elm_naviframe_content_preserve_on_pop_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property content_preserve_on_pop:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_content_preserve_on_pop_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.content_preserve_on_pop_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop___get__(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":392
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_naviframe_content_preserve_on_pop_get(self.obj))
+ * def __set__(self, preserve):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop___get__(struct PyElementaryNaviframe *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":393
+ * """
+ * def __get__(self):
+ * return bool(elm_naviframe_content_preserve_on_pop_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, preserve):
+ * elm_naviframe_content_preserve_on_pop_set(self.obj, preserve)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_content_preserve_on_pop_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.content_preserve_on_pop.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_preserve); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_preserve) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_2__set__(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_preserve));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":394
+ * def __get__(self):
+ * return bool(elm_naviframe_content_preserve_on_pop_get(self.obj))
+ * def __set__(self, preserve): # <<<<<<<<<<<<<<
+ * elm_naviframe_content_preserve_on_pop_set(self.obj, preserve)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_2__set__(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_preserve) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":395
+ * return bool(elm_naviframe_content_preserve_on_pop_get(self.obj))
+ * def __set__(self, preserve):
+ * elm_naviframe_content_preserve_on_pop_set(self.obj, preserve) # <<<<<<<<<<<<<<
+ *
+ * def top_item_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_preserve); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_content_preserve_on_pop_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.content_preserve_on_pop.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_15top_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_14top_item_get[] = "Get a top item on the naviframe stack\n\n @return: The top item on the naviframe stack or C{None}, if the\n stack is empty\n @rtype: L{NaviframeItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_15top_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("top_item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_14top_item_get(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":397
+ * elm_naviframe_content_preserve_on_pop_set(self.obj, preserve)
+ *
+ * def top_item_get(self): # <<<<<<<<<<<<<<
+ * """Get a top item on the naviframe stack
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_14top_item_get(struct PyElementaryNaviframe *__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("top_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":405
+ *
+ * """
+ * return _object_item_to_python(elm_naviframe_top_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property top_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_naviframe_top_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.top_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_8top_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_8top_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_8top_item___get__(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":413
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_naviframe_top_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_8top_item___get__(struct PyElementaryNaviframe *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":414
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_naviframe_top_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def bottom_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_naviframe_top_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.top_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_17bottom_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_16bottom_item_get[] = "Get a bottom item on the naviframe stack\n\n @return: The bottom item on the naviframe stack or C{None}, if the\n stack is empty\n @rtype: L{NaviframeItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_17bottom_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bottom_item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_16bottom_item_get(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":416
+ * return _object_item_to_python(elm_naviframe_top_item_get(self.obj))
+ *
+ * def bottom_item_get(self): # <<<<<<<<<<<<<<
+ * """Get a bottom item on the naviframe stack
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_16bottom_item_get(struct PyElementaryNaviframe *__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("bottom_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":424
+ *
+ * """
+ * return _object_item_to_python(elm_naviframe_bottom_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property bottom_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_naviframe_bottom_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.bottom_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_11bottom_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_11bottom_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_11bottom_item___get__(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":432
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_naviframe_bottom_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_11bottom_item___get__(struct PyElementaryNaviframe *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":433
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_naviframe_bottom_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def prev_btn_auto_pushed_set(self, auto_pushed):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_naviframe_bottom_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.bottom_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_19prev_btn_auto_pushed_set(PyObject *__pyx_v_self, PyObject *__pyx_v_auto_pushed); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_18prev_btn_auto_pushed_set[] = "Set creating prev button automatically or not\n\n @see: L{item_push()}\n\n @param auto_pushed: If C{True}, the previous button(back button) will\n be created internally when you pass the C{None} to the prev_btn\n parameter in L{item_push}\n @type auto_pushed: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_19prev_btn_auto_pushed_set(PyObject *__pyx_v_self, PyObject *__pyx_v_auto_pushed) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prev_btn_auto_pushed_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_18prev_btn_auto_pushed_set(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_auto_pushed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":435
+ * return _object_item_to_python(elm_naviframe_bottom_item_get(self.obj))
+ *
+ * def prev_btn_auto_pushed_set(self, auto_pushed): # <<<<<<<<<<<<<<
+ * """Set creating prev button automatically or not
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_18prev_btn_auto_pushed_set(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_auto_pushed) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("prev_btn_auto_pushed_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":446
+ *
+ * """
+ * elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed) # <<<<<<<<<<<<<<
+ *
+ * def prev_btn_auto_pushed_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_auto_pushed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_prev_btn_auto_pushed_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.prev_btn_auto_pushed_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_21prev_btn_auto_pushed_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_get[] = "Get a value whether prev button(back button) will be auto pushed or\n not.\n\n @see: L{item_push()}\n @see: L{prev_btn_auto_pushed_set()}\n\n @return: If C{True}, prev button will be auto pushed.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_21prev_btn_auto_pushed_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prev_btn_auto_pushed_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_get(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":448
+ * elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed)
+ *
+ * def prev_btn_auto_pushed_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether prev button(back button) will be auto pushed or
+ * not.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_get(struct PyElementaryNaviframe *__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("prev_btn_auto_pushed_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":459
+ *
+ * """
+ * return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property prev_btn_auto_pushed:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_prev_btn_auto_pushed_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.prev_btn_auto_pushed_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed___get__(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":470
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj))
+ * def __set__(self, auto_pushed):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed___get__(struct PyElementaryNaviframe *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":471
+ * """
+ * def __get__(self):
+ * return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, auto_pushed):
+ * elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_prev_btn_auto_pushed_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 471; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.prev_btn_auto_pushed.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_auto_pushed); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_auto_pushed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_2__set__(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_auto_pushed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":472
+ * def __get__(self):
+ * return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj))
+ * def __set__(self, auto_pushed): # <<<<<<<<<<<<<<
+ * elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_2__set__(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_auto_pushed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":473
+ * return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj))
+ * def __set__(self, auto_pushed):
+ * elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed) # <<<<<<<<<<<<<<
+ *
+ * def items_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_auto_pushed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_prev_btn_auto_pushed_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.prev_btn_auto_pushed.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_23items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_22items_get[] = "Get a list of all the naviframe items.\n\n @return: A tuple of naviframe items or C{None} on failure.\n @rtype: tuple of L{NaviframeItem}s\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_23items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_22items_get(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":475
+ * elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed)
+ *
+ * def items_get(self): # <<<<<<<<<<<<<<
+ * """Get a list of all the naviframe items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_22items_get(struct PyElementaryNaviframe *__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("items_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":482
+ *
+ * """
+ * return _object_item_list_to_python(elm_naviframe_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_naviframe_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_5items___get__(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":490
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_naviframe_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_5items___get__(struct PyElementaryNaviframe *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":491
+ * """
+ * def __get__(self):
+ * return _object_item_list_to_python(elm_naviframe_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def event_enabled_set(self, enabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_naviframe_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_25event_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_24event_enabled_set[] = "Set the event enabled when pushing/popping items\n\n If C{enabled} is True, the contents of the naviframe item will\n receives events from mouse and keyboard during view changing such as\n item push/pop.\n\n @warning: Events will be blocked by calling\n L{freeze_events_set()} internally. So don't call the API\n while pushing/popping items.\n\n @see: L{event_enabled_get()}\n @see: L{evasObject.freeze_events_set()}\n\n @param enabled: Events are received when enabled is C{True}, and\n ignored otherwise.\n @type enabled: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_25event_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("event_enabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_24event_enabled_set(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":493
+ * return _object_item_list_to_python(elm_naviframe_items_get(self.obj))
+ *
+ * def event_enabled_set(self, enabled): # <<<<<<<<<<<<<<
+ * """Set the event enabled when pushing/popping items
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_24event_enabled_set(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("event_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":512
+ *
+ * """
+ * elm_naviframe_event_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def event_enabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_event_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.event_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_27event_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_26event_enabled_get[] = "Get the value of event enabled status.\n\n @see: L{event_enabled_set()}\n\n @return: True, when event is enabled\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_27event_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("event_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_26event_enabled_get(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":514
+ * elm_naviframe_event_enabled_set(self.obj, enabled)
+ *
+ * def event_enabled_get(self): # <<<<<<<<<<<<<<
+ * """Get the value of event enabled status.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_26event_enabled_get(struct PyElementaryNaviframe *__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("event_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":523
+ *
+ * """
+ * return bool(elm_naviframe_event_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property event_enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_event_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.event_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_13event_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_13event_enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_13event_enabled___get__(((struct PyElementaryNaviframe *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":540
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_naviframe_event_enabled_get(self.obj))
+ * def __set__(self, enabled):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_13event_enabled___get__(struct PyElementaryNaviframe *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":541
+ * """
+ * def __get__(self):
+ * return bool(elm_naviframe_event_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, enabled):
+ * elm_naviframe_event_enabled_set(self.obj, enabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_naviframe_event_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 541; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.event_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_13event_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Naviframe_13event_enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_13event_enabled_2__set__(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":542
+ * def __get__(self):
+ * return bool(elm_naviframe_event_enabled_get(self.obj))
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_naviframe_event_enabled_set(self.obj, enabled)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Naviframe_13event_enabled_2__set__(struct PyElementaryNaviframe *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":543
+ * return bool(elm_naviframe_event_enabled_get(self.obj))
+ * def __set__(self, enabled):
+ * elm_naviframe_event_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def item_simple_push(self, evasObject content):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_naviframe_event_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.event_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_29item_simple_push(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_28item_simple_push[] = "item_simple_push(content)\n\n Simple version of item_push.\n\n @see: L{item_push}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_29item_simple_push(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_simple_push (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_28item_simple_push(((struct PyElementaryNaviframe *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":545
+ * elm_naviframe_event_enabled_set(self.obj, enabled)
+ *
+ * def item_simple_push(self, evasObject content): # <<<<<<<<<<<<<<
+ * """item_simple_push(content)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_28item_simple_push(struct PyElementaryNaviframe *__pyx_v_self, struct PyEvasObject *__pyx_v_content) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_simple_push", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":553
+ *
+ * """
+ * cdef NaviframeItem ret = NaviframeItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_NaviframeItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":556
+ * cdef Elm_Object_Item *item
+ *
+ * item = elm_naviframe_item_simple_push(self.obj, content.obj) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_naviframe_item_simple_push(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_content->obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":557
+ *
+ * item = elm_naviframe_item_simple_push(self.obj, content.obj)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_item != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":558
+ * item = elm_naviframe_item_simple_push(self.obj, content.obj)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_3 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_3 == 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":559
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":561
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_simple_promote(self, evasObject content):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Naviframe.item_simple_push", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_31item_simple_promote(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_30item_simple_promote[] = "item_simple_promote(content)\n\n Simple version of item_promote.\n\n @see: L{NaviframeItem.item_promote}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_31item_simple_promote(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_simple_promote (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 563; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_30item_simple_promote(((struct PyElementaryNaviframe *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":563
+ * return None
+ *
+ * def item_simple_promote(self, evasObject content): # <<<<<<<<<<<<<<
+ * """item_simple_promote(content)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_30item_simple_promote(struct PyElementaryNaviframe *__pyx_v_self, struct PyEvasObject *__pyx_v_content) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_simple_promote", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":571
+ *
+ * """
+ * elm_naviframe_item_simple_promote(self.obj, content.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_transition_finished_add(self, func, *args, **kwargs):
+ */
+ elm_naviframe_item_simple_promote(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_content->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_33callback_transition_finished_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_32callback_transition_finished_add[] = "When the transition is finished in changing the item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_33callback_transition_finished_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_transition_finished_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_transition_finished_add") < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 573; __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_transition_finished_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 573; __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("elementary.c_elementary.Naviframe.callback_transition_finished_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_32callback_transition_finished_add(((struct PyElementaryNaviframe *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":573
+ * elm_naviframe_item_simple_promote(self.obj, content.obj)
+ *
+ * def callback_transition_finished_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the transition is finished in changing the item."""
+ * self._callback_add("transition,finished", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_32callback_transition_finished_add(struct PyElementaryNaviframe *__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_transition_finished_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":575
+ * def callback_transition_finished_add(self, func, *args, **kwargs):
+ * """When the transition is finished in changing the item."""
+ * self._callback_add("transition,finished", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_transition_finished_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 575; __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[32]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_114));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_114));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_114));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Naviframe.callback_transition_finished_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_35callback_transition_finished_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_35callback_transition_finished_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_transition_finished_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_34callback_transition_finished_del(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":577
+ * self._callback_add("transition,finished", func, *args, **kwargs)
+ *
+ * def callback_transition_finished_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("transition,finished", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_34callback_transition_finished_del(struct PyElementaryNaviframe *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_transition_finished_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":578
+ *
+ * def callback_transition_finished_del(self, func):
+ * self._callback_del("transition,finished", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_title_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 578; __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[32]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_114));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_114));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_114));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.callback_transition_finished_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_37callback_title_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Naviframe_36callback_title_clicked_add[] = "User clicked title area.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_37callback_title_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_title_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_title_clicked_add") < 0)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 580; __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_title_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[32]; __pyx_lineno = 580; __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("elementary.c_elementary.Naviframe.callback_title_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_36callback_title_clicked_add(((struct PyElementaryNaviframe *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":580
+ * self._callback_del("transition,finished", func)
+ *
+ * def callback_title_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """User clicked title area."""
+ * self._callback_add("title,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_36callback_title_clicked_add(struct PyElementaryNaviframe *__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_title_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":582
+ * def callback_title_clicked_add(self, func, *args, **kwargs):
+ * """User clicked title area."""
+ * self._callback_add("title,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_title_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 582; __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[32]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_115));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_115));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_115));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Naviframe.callback_title_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_39callback_title_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Naviframe_39callback_title_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_title_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Naviframe_38callback_title_clicked_del(((struct PyElementaryNaviframe *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":584
+ * self._callback_add("title,clicked", func, *args, **kwargs)
+ *
+ * def callback_title_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("title,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Naviframe_38callback_title_clicked_del(struct PyElementaryNaviframe *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_title_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":585
+ *
+ * def callback_title_clicked_del(self, func):
+ * self._callback_del("title,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("naviframe", Naviframe)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 585; __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[32]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_115));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_115));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_115));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Naviframe.callback_title_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Radio_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Radio_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ PyObject *__pyx_v_obj = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,&__pyx_n_s__obj,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":59
+ * """
+ *
+ * def __init__(self, evasObject parent, obj=None): # <<<<<<<<<<<<<<
+ * if obj is None:
+ * Object.__init__(self, parent.evas)
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (value) { values[1] = 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[33]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_parent = ((struct PyEvasObject *)values[0]);
+ __pyx_v_obj = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[33]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio___init__(((struct PyElementaryRadio *)__pyx_v_self), __pyx_v_parent, __pyx_v_obj);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static int __pyx_pf_10elementary_12c_elementary_5Radio___init__(struct PyElementaryRadio *__pyx_v_self, struct PyEvasObject *__pyx_v_parent, PyObject *__pyx_v_obj) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":60
+ *
+ * def __init__(self, evasObject parent, obj=None):
+ * if obj is None: # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_radio_add(parent.obj))
+ */
+ __pyx_t_1 = (__pyx_v_obj == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":61
+ * def __init__(self, evasObject parent, obj=None):
+ * if obj is None:
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_radio_add(parent.obj))
+ * else:
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 61; __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[33]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":62
+ * if obj is None:
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_radio_add(parent.obj)) # <<<<<<<<<<<<<<
+ * else:
+ * self._set_obj(<Evas_Object*>obj)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Radio *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_radio_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":64
+ * self._set_obj(elm_radio_add(parent.obj))
+ * else:
+ * self._set_obj(<Evas_Object*>obj) # <<<<<<<<<<<<<<
+ *
+ * def group_add(self, evasObject group):
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Radio *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), ((Evas_Object *)__pyx_v_obj)); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_3group_add(PyObject *__pyx_v_self, PyObject *__pyx_v_group); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_2group_add[] = "group_add(group)\n\n Add this radio to a group of other radio objects\n\n Radio objects work in groups. Each member should have a different integer\n value assigned. In order to have them work as a group, they need to know\n about each other. This adds the given radio object to the group of which\n the group object indicated is a member.\n\n @param group: Any object whose group the object is to join.\n @type group: L{Radio}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_3group_add(PyObject *__pyx_v_self, PyObject *__pyx_v_group) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("group_add (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_group), __pyx_ptype_4evas_6c_evas_Object, 1, "group", 0))) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_2group_add(((struct PyElementaryRadio *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_group));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":66
+ * self._set_obj(<Evas_Object*>obj)
+ *
+ * def group_add(self, evasObject group): # <<<<<<<<<<<<<<
+ * """group_add(group)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_2group_add(struct PyElementaryRadio *__pyx_v_self, struct PyEvasObject *__pyx_v_group) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("group_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":80
+ *
+ * """
+ * elm_radio_group_add(self.obj, group.obj) # <<<<<<<<<<<<<<
+ *
+ * def state_value_set(self, value):
+ */
+ elm_radio_group_add(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_group->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_5state_value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_4state_value_set[] = "Set the integer value that this radio object represents\n\n This sets the value of the radio.\n\n @param value: The value to use if this radio object is selected\n @type value: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_5state_value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_value_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_4state_value_set(((struct PyElementaryRadio *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":82
+ * elm_radio_group_add(self.obj, group.obj)
+ *
+ * def state_value_set(self, value): # <<<<<<<<<<<<<<
+ * """Set the integer value that this radio object represents
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_4state_value_set(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value) {
+ 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("state_value_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":91
+ *
+ * """
+ * elm_radio_state_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def state_value_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_radio_state_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.state_value_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_7state_value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_6state_value_get[] = "Get the integer value that this radio object represents\n\n This gets the value of the radio.\n @see: L{value_set()}\n\n @return: The value used if this radio object is selected\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_7state_value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_value_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_6state_value_get(((struct PyElementaryRadio *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":93
+ * elm_radio_state_value_set(self.obj, value)
+ *
+ * def state_value_get(self): # <<<<<<<<<<<<<<
+ * """Get the integer value that this radio object represents
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_6state_value_get(struct PyElementaryRadio *__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("state_value_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":103
+ *
+ * """
+ * return elm_radio_state_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property state_value:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_radio_state_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.state_value_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_11state_value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_11state_value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_11state_value___get__(((struct PyElementaryRadio *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":111
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_radio_state_value_get(self.obj)
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_11state_value___get__(struct PyElementaryRadio *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":112
+ * """
+ * def __get__(self):
+ * return elm_radio_state_value_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * elm_radio_state_value_set(self.obj, value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_radio_state_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.state_value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Radio_11state_value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Radio_11state_value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_11state_value_2__set__(((struct PyElementaryRadio *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":113
+ * def __get__(self):
+ * return elm_radio_state_value_get(self.obj)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_radio_state_value_set(self.obj, value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Radio_11state_value_2__set__(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":114
+ * return elm_radio_state_value_get(self.obj)
+ * def __set__(self, value):
+ * elm_radio_state_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def value_set(self, value):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_radio_state_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.state_value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_9value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_8value_set[] = "Set the value of the radio group.\n\n This sets the value of the radio group and will also set the value if\n pointed to, to the value supplied, but will not call any callbacks.\n\n @param value: The value to use for the group\n @type value: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_9value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_8value_set(((struct PyElementaryRadio *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":116
+ * elm_radio_state_value_set(self.obj, value)
+ *
+ * def value_set(self, value): # <<<<<<<<<<<<<<
+ * """Set the value of the radio group.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_8value_set(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value) {
+ 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("value_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":126
+ *
+ * """
+ * elm_radio_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def value_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_radio_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.value_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_11value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_10value_get[] = "Get the value of the radio group\n\n @return: The integer state\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_11value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_10value_get(((struct PyElementaryRadio *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":128
+ * elm_radio_value_set(self.obj, value)
+ *
+ * def value_get(self): # <<<<<<<<<<<<<<
+ * """Get the value of the radio group
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_10value_get(struct PyElementaryRadio *__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("value_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":135
+ *
+ * """
+ * return elm_radio_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property value:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_radio_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.value_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_5value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_5value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_5value___get__(((struct PyElementaryRadio *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":147
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_radio_value_get(self.obj)
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_5value___get__(struct PyElementaryRadio *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":148
+ * """
+ * def __get__(self):
+ * return elm_radio_value_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * elm_radio_value_set(self.obj, value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_radio_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Radio_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Radio_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_5value_2__set__(((struct PyElementaryRadio *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":149
+ * def __get__(self):
+ * return elm_radio_value_get(self.obj)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_radio_value_set(self.obj, value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Radio_5value_2__set__(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":150
+ * return elm_radio_value_get(self.obj)
+ * def __set__(self, value):
+ * elm_radio_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * #TODO: Check whether this actually works
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_radio_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_13value_pointer_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_12value_pointer_set[] = "Set a convenience pointer to a integer to change when radio group\n value changes.\n\n This sets a pointer to a integer, that, in addition to the radio objects\n state will also be modified directly. To stop setting the object pointed\n to simply use None as the C{valuep} argument. If valuep is not None, then\n when this is called, the radio objects state will also be modified to\n reflect the value of the integer valuep points to, just like calling\n L{value_set()}.\n\n @param valuep: Pointer to the integer to modify\n @type valuep: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_13value_pointer_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_pointer_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_12value_pointer_set(((struct PyElementaryRadio *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":153
+ *
+ * #TODO: Check whether this actually works
+ * def value_pointer_set(self, value): # <<<<<<<<<<<<<<
+ * """Set a convenience pointer to a integer to change when radio group
+ * value changes.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_12value_pointer_set(struct PyElementaryRadio *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_valuep;
+ 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("value_pointer_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":168
+ *
+ * """
+ * cdef int valuep = value # <<<<<<<<<<<<<<
+ * elm_radio_value_pointer_set(self.obj, &valuep)
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_valuep = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":169
+ * """
+ * cdef int valuep = value
+ * elm_radio_value_pointer_set(self.obj, &valuep) # <<<<<<<<<<<<<<
+ *
+ * def selected_object_get(self):
+ */
+ elm_radio_value_pointer_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_valuep));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.value_pointer_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_15selected_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_14selected_object_get[] = "Get the selected radio object.\n\n @return: The selected radio object\n @rtype: L{Radio}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_15selected_object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_14selected_object_get(((struct PyElementaryRadio *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":171
+ * elm_radio_value_pointer_set(self.obj, &valuep)
+ *
+ * def selected_object_get(self): # <<<<<<<<<<<<<<
+ * """Get the selected radio object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_14selected_object_get(struct PyElementaryRadio *__pyx_v_self) {
+ struct PyElementaryRadio *__pyx_v_r = 0;
+ Evas_Object *__pyx_v_selected;
+ 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_object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":178
+ *
+ * """
+ * cdef Radio r = Radio() # <<<<<<<<<<<<<<
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ * if selected == NULL:
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Radio)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_r = ((struct PyElementaryRadio *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":179
+ * """
+ * cdef Radio r = Radio()
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj) # <<<<<<<<<<<<<<
+ * if selected == NULL:
+ * return None
+ */
+ __pyx_v_selected = elm_radio_selected_object_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":180
+ * cdef Radio r = Radio()
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ * if selected == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_selected == NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":181
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ * if selected == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * else:
+ * r.obj = selected
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":183
+ * return None
+ * else:
+ * r.obj = selected # <<<<<<<<<<<<<<
+ * return r
+ *
+ */
+ __pyx_v_r->__pyx_base.__pyx_base.__pyx_base.obj = __pyx_v_selected;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":184
+ * else:
+ * r.obj = selected
+ * return r # <<<<<<<<<<<<<<
+ *
+ * property selected_object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_r));
+ __pyx_r = ((PyObject *)__pyx_v_r);
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.selected_object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_r);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_15selected_object_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_15selected_object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_15selected_object___get__(((struct PyElementaryRadio *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":192
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Radio r = Radio()
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_15selected_object___get__(struct PyElementaryRadio *__pyx_v_self) {
+ struct PyElementaryRadio *__pyx_v_r = 0;
+ Evas_Object *__pyx_v_selected;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":193
+ * """
+ * def __get__(self):
+ * cdef Radio r = Radio() # <<<<<<<<<<<<<<
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ * if selected == NULL:
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Radio)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_r = ((struct PyElementaryRadio *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":194
+ * def __get__(self):
+ * cdef Radio r = Radio()
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj) # <<<<<<<<<<<<<<
+ * if selected == NULL:
+ * return None
+ */
+ __pyx_v_selected = elm_radio_selected_object_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":195
+ * cdef Radio r = Radio()
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ * if selected == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_selected == NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":196
+ * cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ * if selected == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * else:
+ * r.obj = selected
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":198
+ * return None
+ * else:
+ * r.obj = selected # <<<<<<<<<<<<<<
+ * return r
+ *
+ */
+ __pyx_v_r->__pyx_base.__pyx_base.__pyx_base.obj = __pyx_v_selected;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":199
+ * else:
+ * r.obj = selected
+ * return r # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_r));
+ __pyx_r = ((PyObject *)__pyx_v_r);
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Radio.selected_object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_r);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_17callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Radio_16callback_changed_add[] = "This is called whenever the user changes the state of one of the\n radio objects within the group of radio objects that work together.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_17callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[33]; __pyx_lineno = 201; __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[33]; __pyx_lineno = 201; __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("elementary.c_elementary.Radio.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Radio_16callback_changed_add(((struct PyElementaryRadio *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":201
+ * return r
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called whenever the user changes the state of one of the
+ * radio objects within the group of radio objects that work together.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_16callback_changed_add(struct PyElementaryRadio *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":206
+ *
+ * """
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 206; __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[33]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Radio.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_19callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Radio_19callback_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_10elementary_12c_elementary_5Radio_18callback_changed_del(((struct PyElementaryRadio *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":208
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Radio_18callback_changed_del(struct PyElementaryRadio *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":209
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("radio", Radio)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 209; __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[33]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Radio.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Check_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Check_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 43; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[34]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Check.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Check___init__(((struct PyElementaryCheck *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":43
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_check_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Check___init__(struct PyElementaryCheck *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":44
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_check_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 44; __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[34]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":45
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_check_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def state_set(self, value):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Check *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_check_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Check.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_3state_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Check_2state_set[] = "Set the on/off state of the check object\n\n This sets the state of the check. Calling this B{doesn't} cause\n the \"changed\" signal to be emitted.\n\n @param state: The state to use (True == on, False == off)\n @type state: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_3state_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Check_2state_set(((struct PyElementaryCheck *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":47
+ * self._set_obj(elm_check_add(parent.obj))
+ *
+ * def state_set(self, value): # <<<<<<<<<<<<<<
+ * """Set the on/off state of the check object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_2state_set(struct PyElementaryCheck *__pyx_v_self, PyObject *__pyx_v_value) {
+ 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("state_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":57
+ *
+ * """
+ * if value: # <<<<<<<<<<<<<<
+ * elm_check_state_set(self.obj, 1)
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":58
+ * """
+ * if value:
+ * elm_check_state_set(self.obj, 1) # <<<<<<<<<<<<<<
+ * else:
+ * elm_check_state_set(self.obj, 0)
+ */
+ elm_check_state_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, 1);
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":60
+ * elm_check_state_set(self.obj, 1)
+ * else:
+ * elm_check_state_set(self.obj, 0) # <<<<<<<<<<<<<<
+ *
+ * def state_get(self):
+ */
+ elm_check_state_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, 0);
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Check.state_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_5state_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Check_4state_get[] = "Get the state of the check object\n\n @return: The boolean state\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_5state_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Check_4state_get(((struct PyElementaryCheck *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":62
+ * elm_check_state_set(self.obj, 0)
+ *
+ * def state_get(self): # <<<<<<<<<<<<<<
+ * """Get the state of the check object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_4state_get(struct PyElementaryCheck *__pyx_v_self) {
+ Eina_Bool __pyx_v_state;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("state_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":70
+ * """
+ * cdef Eina_Bool state
+ * state = elm_check_state_get(self.obj) # <<<<<<<<<<<<<<
+ * if state == 0:
+ * return False
+ */
+ __pyx_v_state = elm_check_state_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":71
+ * cdef Eina_Bool state
+ * state = elm_check_state_get(self.obj)
+ * if state == 0: # <<<<<<<<<<<<<<
+ * return False
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_state == 0);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":72
+ * state = elm_check_state_get(self.obj)
+ * if state == 0:
+ * return False # <<<<<<<<<<<<<<
+ * else:
+ * return True
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":74
+ * return False
+ * else:
+ * return True # <<<<<<<<<<<<<<
+ *
+ * property state:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = __Pyx_PyBool_FromLong(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Check.state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_5state_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_5state_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Check_5state___get__(((struct PyElementaryCheck *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":85
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_check_state_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_5state___get__(struct PyElementaryCheck *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":86
+ * """
+ * def __get__(self):
+ * return bool(elm_check_state_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_check_state_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Check.state.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Check_5state_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Check_5state_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Check_5state_2__set__(((struct PyElementaryCheck *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":88
+ * return bool(elm_check_state_get(self.obj))
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_check_state_set(self.obj, value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Check_5state_2__set__(struct PyElementaryCheck *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":89
+ *
+ * def __set__(self, value):
+ * elm_check_state_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_value); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_check_state_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Check.state.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_7callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Check_6callback_changed_add[] = "This is called whenever the user changes the state of the check\n objects.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_7callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[34]; __pyx_lineno = 91; __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[34]; __pyx_lineno = 91; __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("elementary.c_elementary.Check.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Check_6callback_changed_add(((struct PyElementaryCheck *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":91
+ * elm_check_state_set(self.obj, value)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called whenever the user changes the state of the check
+ * objects."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_6callback_changed_add(struct PyElementaryCheck *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":94
+ * """This is called whenever the user changes the state of the check
+ * objects."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 94; __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[34]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Check.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_9callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Check_9callback_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_10elementary_12c_elementary_5Check_8callback_changed_del(((struct PyElementaryCheck *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":96
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Check_8callback_changed_del(struct PyElementaryCheck *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":97
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("check", Check)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 97; __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[34]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Check.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":22
+ * import traceback
+ *
+ * cdef _py_elm_genlist_item_call(func, Evas_Object *obj, part, data) with gil: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+
+ static PyObject *__pyx_f_10elementary_12c_elementary__py_elm_genlist_item_call(PyObject *__pyx_v_func, Evas_Object *__pyx_v_obj, PyObject *__pyx_v_part, PyObject *__pyx_v_data) {
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ 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;
+ const char * __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ int __pyx_t_7;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_genlist_item_call", 0);
+ __Pyx_INCREF(__pyx_v_func);
+ __Pyx_INCREF(__pyx_v_part);
+ __Pyx_INCREF(__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":23
+ *
+ * cdef _py_elm_genlist_item_call(func, Evas_Object *obj, part, data) with gil:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * return func(o, _ctouni(part), data)
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_1);
+ __Pyx_XGOTREF(__pyx_t_2);
+ __Pyx_XGOTREF(__pyx_t_3);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":24
+ * cdef _py_elm_genlist_item_call(func, Evas_Object *obj, part, data) with gil:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * return func(o, _ctouni(part), data)
+ * except Exception as e:
+ */
+ __pyx_t_4 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":25
+ * try:
+ * o = Object_from_instance(obj)
+ * return func(o, _ctouni(part), data) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_5 = PyBytes_AsString(__pyx_v_part); if (unlikely((__pyx_t_5 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_t_4 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_data);
+ PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_v_data);
+ __Pyx_GIVEREF(__pyx_v_data);
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __pyx_r = __pyx_t_4;
+ __pyx_t_4 = 0;
+ goto __pyx_L7_try_return;
+ }
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L10_try_end;
+ __pyx_L7_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L3_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":26
+ * o = Object_from_instance(obj)
+ * return func(o, _ctouni(part), data)
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return None
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_genlist_item_call", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":27
+ * return func(o, _ctouni(part), data)
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":28
+ * except Exception as e:
+ * traceback.print_exc()
+ * return None # <<<<<<<<<<<<<<
+ *
+ * cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_except_return;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L4_exception_handled;
+ }
+ __pyx_L5_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L1_error;
+ __pyx_L6_except_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L4_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ __pyx_L10_try_end:;
+ }
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_genlist_item_call", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_part);
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":30
+ * return None
+ *
+ * cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil: # <<<<<<<<<<<<<<
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static char *__pyx_f_10elementary_12c_elementary__py_elm_genlist_item_text_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, const char * __pyx_v_part) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ char *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = 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_genlist_item_text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":31
+ *
+ * cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GenlistItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef GenlistItemClass itc = params[0]
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GenlistItem))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":32
+ * cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef GenlistItemClass itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":33
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params
+ * cdef GenlistItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._text_get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 33; __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_10elementary_12c_elementary_GenlistItemClass))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":35
+ * cdef GenlistItemClass itc = params[0]
+ *
+ * func = itc._text_get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return NULL
+ */
+ __Pyx_INCREF(__pyx_v_itc->_text_get_func);
+ __pyx_v_func = __pyx_v_itc->_text_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":36
+ *
+ * func = itc._text_get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return NULL
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":37
+ * func = itc._text_get_func
+ * if func is None:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":39
+ * return NULL
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * return strdup(_fruni(ret))
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_call(__pyx_v_func, __pyx_v_obj, ((PyObject *)__pyx_t_1), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":40
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * return strdup(_fruni(ret))
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":41
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ * if ret is not None:
+ * return strdup(_fruni(ret)) # <<<<<<<<<<<<<<
+ * else:
+ * return NULL
+ */
+ __pyx_r = strdup(__pyx_f_10elementary_12c_elementary__fruni(__pyx_v_ret));
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":43
+ * return strdup(_fruni(ret))
+ * else:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_genlist_item_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":45
+ * return NULL
+ *
+ * cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil: # <<<<<<<<<<<<<<
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static Evas_Object *__pyx_f_10elementary_12c_elementary__py_elm_genlist_item_content_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, const char * __pyx_v_part) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ Evas_Object *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ int __pyx_t_8;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_genlist_item_content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":46
+ *
+ * cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GenlistItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef evasObject icon
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GenlistItem))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":47
+ * cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef evasObject icon
+ * cdef GenlistItemClass itc = params[0]
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":49
+ * cdef object params = item.params
+ * cdef evasObject icon
+ * cdef GenlistItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._content_get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 49; __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_10elementary_12c_elementary_GenlistItemClass))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":51
+ * cdef GenlistItemClass itc = params[0]
+ *
+ * func = itc._content_get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return NULL
+ */
+ __Pyx_INCREF(__pyx_v_itc->_content_get_func);
+ __pyx_v_func = __pyx_v_itc->_content_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":52
+ *
+ * func = itc._content_get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return NULL
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":53
+ * func = itc._content_get_func
+ * if func is None:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":55
+ * return NULL
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * try:
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_call(__pyx_v_func, __pyx_v_obj, ((PyObject *)__pyx_t_1), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":56
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * try:
+ * icon = ret
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":57
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ * if ret is not None:
+ * try: # <<<<<<<<<<<<<<
+ * icon = ret
+ * return icon.obj
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":58
+ * if ret is not None:
+ * try:
+ * icon = ret # <<<<<<<<<<<<<<
+ * return icon.obj
+ * except Exception as e:
+ */
+ if (!(likely(((__pyx_v_ret) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_ret, __pyx_ptype_4evas_6c_evas_Object))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_v_icon = ((struct PyEvasObject *)__pyx_v_ret);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":59
+ * try:
+ * icon = ret
+ * return icon.obj # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_r = __pyx_v_icon->obj;
+ goto __pyx_L9_try_return;
+ }
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L9_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ goto __pyx_L0;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":60
+ * icon = ret
+ * return icon.obj
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return NULL
+ */
+ __pyx_t_8 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_8) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_genlist_item_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_1) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_v_e = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":61
+ * return icon.obj
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return NULL
+ * else:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":62
+ * except Exception as e:
+ * traceback.print_exc()
+ * return NULL # <<<<<<<<<<<<<<
+ * else:
+ * return NULL
+ */
+ __pyx_r = NULL;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L8_except_return;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ goto __pyx_L1_error;
+ __pyx_L8_except_return:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ goto __pyx_L0;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ __pyx_L12_try_end:;
+ }
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":64
+ * return NULL
+ * else:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_genlist_item_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_icon);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":66
+ * return NULL
+ *
+ * cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil: # <<<<<<<<<<<<<<
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static Eina_Bool __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_state_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, const char * __pyx_v_part) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ Eina_Bool __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ Eina_Bool __pyx_t_5;
+ 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_genlist_item_state_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":67
+ *
+ * cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GenlistItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef GenlistItemClass itc = params[0]
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GenlistItem))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":68
+ * cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef GenlistItemClass itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":69
+ * cdef GenlistItem item = <object>data
+ * cdef object params = item.params
+ * cdef GenlistItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._state_get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __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_10elementary_12c_elementary_GenlistItemClass))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":71
+ * cdef GenlistItemClass itc = params[0]
+ *
+ * func = itc._state_get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return False
+ */
+ __Pyx_INCREF(__pyx_v_itc->_state_get_func);
+ __pyx_v_func = __pyx_v_itc->_state_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":72
+ *
+ * func = itc._state_get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return False
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":73
+ * func = itc._state_get_func
+ * if func is None:
+ * return False # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":75
+ * return False
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * return bool(ret)
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_call(__pyx_v_func, __pyx_v_obj, ((PyObject *)__pyx_t_1), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":76
+ *
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * return bool(ret)
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":77
+ * ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ * if ret is not None:
+ * return bool(ret) # <<<<<<<<<<<<<<
+ * else:
+ * return False
+ */
+ __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_ret);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_ret);
+ __Pyx_GIVEREF(__pyx_v_ret);
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_3); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_5;
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":79
+ * return bool(ret)
+ * else:
+ * return False # <<<<<<<<<<<<<<
+ *
+ * cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) with gil:
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_genlist_item_state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":81
+ * return False
+ *
+ * cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) with gil: # <<<<<<<<<<<<<<
+ * cdef GenlistItem item = <object>data
+ * cdef object params
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__py_elm_genlist_object_item_del(void *__pyx_v_data, Evas_Object *__pyx_v_obj) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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_t_7;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_genlist_object_item_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":82
+ *
+ * cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) with gil:
+ * cdef GenlistItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params
+ * cdef GenlistItemClass itc
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GenlistItem))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":86
+ * cdef GenlistItemClass itc
+ *
+ * if item is None: # <<<<<<<<<<<<<<
+ * return
+ *
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_item) == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":87
+ *
+ * if item is None:
+ * return # <<<<<<<<<<<<<<
+ *
+ * params = item.params
+ */
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":89
+ * return
+ *
+ * params = item.params # <<<<<<<<<<<<<<
+ * itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":90
+ *
+ * params = item.params
+ * itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._del_func
+ */
+ __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_10elementary_12c_elementary_GenlistItemClass))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":92
+ * itc = params[0]
+ *
+ * func = itc._del_func # <<<<<<<<<<<<<<
+ * if func is not None:
+ * try:
+ */
+ __Pyx_INCREF(__pyx_v_itc->_del_func);
+ __pyx_v_func = __pyx_v_itc->_del_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":93
+ *
+ * func = itc._del_func
+ * if func is not None: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+ __pyx_t_1 = (__pyx_v_func != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":94
+ * func = itc._del_func
+ * if func is not None:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * func(o, params[1])
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_5);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":95
+ * if func is not None:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * func(o, params[1])
+ * except Exception as e:
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":96
+ * try:
+ * o = Object_from_instance(obj)
+ * func(o, params[1]) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ }
+ __Pyx_XDECREF(__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;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":97
+ * o = Object_from_instance(obj)
+ * func(o, params[1])
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * item._unset_obj()
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_genlist_object_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":98
+ * func(o, params[1])
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * item._unset_obj()
+ * Py_DECREF(item)
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ __pyx_L12_try_end:;
+ }
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":99
+ * except Exception as e:
+ * traceback.print_exc()
+ * item._unset_obj() # <<<<<<<<<<<<<<
+ * Py_DECREF(item)
+ *
+ */
+ ((struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem *)__pyx_v_item->__pyx_base.__pyx_vtab)->_unset_obj(__pyx_v_item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":100
+ * traceback.print_exc()
+ * item._unset_obj()
+ * Py_DECREF(item) # <<<<<<<<<<<<<<
+ *
+ * cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_item));
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_genlist_object_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":102
+ * Py_DECREF(item)
+ *
+ * cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * cdef GenlistItem item = <object>data
+ * cdef object func = item.params[2]
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_func(void *__pyx_v_data, Evas_Object *__pyx_v_obj, CYTHON_UNUSED void *__pyx_v_event_info) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_func = 0;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_genlist_item_func", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":103
+ *
+ * cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ * cdef GenlistItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object func = item.params[2]
+ *
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GenlistItem))))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":104
+ * cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ * cdef GenlistItem item = <object>data
+ * cdef object func = item.params[2] # <<<<<<<<<<<<<<
+ *
+ * if func is not None:
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_item->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_func = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":106
+ * cdef object func = item.params[2]
+ *
+ * if func is not None: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+ __pyx_t_2 = (__pyx_v_func != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":107
+ *
+ * if func is not None:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * func(item, o, item.params[1])
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_5);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":108
+ * if func is not None:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * func(item, o, item.params[1])
+ * except Exception as e:
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":109
+ * try:
+ * o = Object_from_instance(obj)
+ * func(item, o, item.params[1]) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_item->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item));
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ }
+ __Pyx_XDECREF(__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;
+ goto __pyx_L11_try_end;
+ __pyx_L4_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":110
+ * o = Object_from_instance(obj)
+ * func(item, o, item.params[1])
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_genlist_item_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":111
+ * func(item, o, item.params[1])
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef class GenlistItemClass:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L5_exception_handled;
+ }
+ __pyx_L6_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ goto __pyx_L1_error;
+ __pyx_L5_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ __pyx_L11_try_end:;
+ }
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_genlist_item_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_a = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_ka = 0;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
+ if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 1))) return -1;
+ __pyx_v_ka = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
+ if (unlikely(!__pyx_v_ka)) return -1;
+ __Pyx_GOTREF(__pyx_v_ka);
+ __Pyx_INCREF(__pyx_args);
+ __pyx_v_a = __pyx_args;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass___cinit__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self), __pyx_v_a, __pyx_v_ka);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":132
+ * cdef readonly object _del_func
+ *
+ * def __cinit__(self, *a, **ka): # <<<<<<<<<<<<<<
+ * self._item_style = "default"
+ * self._text_get_func = None
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16GenlistItemClass___cinit__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":133
+ *
+ * def __cinit__(self, *a, **ka):
+ * self._item_style = "default" # <<<<<<<<<<<<<<
+ * self._text_get_func = None
+ * self._content_get_func = None
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__default));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__default));
+ __Pyx_GOTREF(__pyx_v_self->_item_style);
+ __Pyx_DECREF(__pyx_v_self->_item_style);
+ __pyx_v_self->_item_style = ((PyObject *)__pyx_n_s__default);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":134
+ * def __cinit__(self, *a, **ka):
+ * self._item_style = "default"
+ * self._text_get_func = None # <<<<<<<<<<<<<<
+ * self._content_get_func = None
+ * self._state_get_func = None
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_text_get_func);
+ __Pyx_DECREF(__pyx_v_self->_text_get_func);
+ __pyx_v_self->_text_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":135
+ * self._item_style = "default"
+ * self._text_get_func = None
+ * self._content_get_func = None # <<<<<<<<<<<<<<
+ * self._state_get_func = None
+ * self._del_func = None
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_content_get_func);
+ __Pyx_DECREF(__pyx_v_self->_content_get_func);
+ __pyx_v_self->_content_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":136
+ * self._text_get_func = None
+ * self._content_get_func = None
+ * self._state_get_func = None # <<<<<<<<<<<<<<
+ * self._del_func = None
+ *
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_state_get_func);
+ __Pyx_DECREF(__pyx_v_self->_state_get_func);
+ __pyx_v_self->_state_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":137
+ * self._content_get_func = None
+ * self._state_get_func = None
+ * self._del_func = None # <<<<<<<<<<<<<<
+ *
+ * self.obj.item_style = NULL
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_del_func);
+ __Pyx_DECREF(__pyx_v_self->_del_func);
+ __pyx_v_self->_del_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":139
+ * self._del_func = None
+ *
+ * self.obj.item_style = NULL # <<<<<<<<<<<<<<
+ * self.obj.func.text_get = _py_elm_genlist_item_text_get
+ * self.obj.func.content_get = _py_elm_genlist_item_content_get
+ */
+ __pyx_v_self->obj.item_style = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":140
+ *
+ * self.obj.item_style = NULL
+ * self.obj.func.text_get = _py_elm_genlist_item_text_get # <<<<<<<<<<<<<<
+ * self.obj.func.content_get = _py_elm_genlist_item_content_get
+ * self.obj.func.state_get = _py_elm_genlist_item_state_get
+ */
+ __pyx_v_self->obj.func.text_get = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_text_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":141
+ * self.obj.item_style = NULL
+ * self.obj.func.text_get = _py_elm_genlist_item_text_get
+ * self.obj.func.content_get = _py_elm_genlist_item_content_get # <<<<<<<<<<<<<<
+ * self.obj.func.state_get = _py_elm_genlist_item_state_get
+ * self.obj.func.del_ = _py_elm_genlist_object_item_del
+ */
+ __pyx_v_self->obj.func.content_get = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_content_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":142
+ * self.obj.func.text_get = _py_elm_genlist_item_text_get
+ * self.obj.func.content_get = _py_elm_genlist_item_content_get
+ * self.obj.func.state_get = _py_elm_genlist_item_state_get # <<<<<<<<<<<<<<
+ * self.obj.func.del_ = _py_elm_genlist_object_item_del
+ *
+ */
+ __pyx_v_self->obj.func.state_get = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_state_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":143
+ * self.obj.func.content_get = _py_elm_genlist_item_content_get
+ * self.obj.func.state_get = _py_elm_genlist_item_state_get
+ * self.obj.func.del_ = _py_elm_genlist_object_item_del # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, item_style=None, text_get_func=None,
+ */
+ __pyx_v_self->obj.func.del = __pyx_f_10elementary_12c_elementary__py_elm_genlist_object_item_del;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GenlistItemClass_2__init__[] = "GenlistItemClass constructor.\n\n @param item_style: the string that defines the genlist 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 L{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 C{func(obj, part, item_data) -> str}\n\n @param content_get_func: if provided will override the behavior\n defined by L{content_get()} in this class. Its purpose is\n to return the icon object to be used (swalloed) by a\n given part and row. This function should have the\n signature:\n C{func(obj, part, item_data) -> obj}\n\n @param state_get_func: if provided will override the\n behavior defined by L{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 C{func(obj, part, item_data) -> bool}\n\n @param del_func: if provided will override the behavior\n defined by C{delete()} in this class. Its purpose is to be\n called when row is deleted, thus finalizing resouces\n and similar. This function should have the signature:\n C{func(obj, part, item_data) -> str}\n\n @note: In all these signatures, 'obj' means Genlist and\n 'item_data' is the value given to Genlist item append/prepend\n methods, it should represent your row model as you want.\n ";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_16GenlistItemClass_2__init__;
+ static int __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_3__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;
+ 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};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":145
+ * self.obj.func.del_ = _py_elm_genlist_object_item_del
+ *
+ * def __init__(self, item_style=None, text_get_func=None, # <<<<<<<<<<<<<<
+ * content_get_func=None, state_get_func=None, del_func=None):
+ * """GenlistItemClass constructor.
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((PyObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":146
+ *
+ * def __init__(self, item_style=None, text_get_func=None,
+ * content_get_func=None, state_get_func=None, del_func=None): # <<<<<<<<<<<<<<
+ * """GenlistItemClass 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[3]; __pyx_lineno = 145; __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[3]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_2__init__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__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);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":145
+ * self.obj.func.del_ = _py_elm_genlist_object_item_del
+ *
+ * def __init__(self, item_style=None, text_get_func=None, # <<<<<<<<<<<<<<
+ * content_get_func=None, state_get_func=None, del_func=None):
+ * """GenlistItemClass constructor.
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_2__init__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__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;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_t_9;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":184
+ * methods, it should represent your row model as you want.
+ * """
+ * if item_style: # <<<<<<<<<<<<<<
+ * self._item_style = item_style
+ *
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_item_style); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":185
+ * """
+ * if item_style:
+ * self._item_style = item_style # <<<<<<<<<<<<<<
+ *
+ * if text_get_func and not callable(text_get_func):
+ */
+ __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;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":187
+ * self._item_style = item_style
+ *
+ * if text_get_func and not callable(text_get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("text_get_func is not callable!")
+ * elif text_get_func:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_text_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_text_get_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_text_get_func);
+ __Pyx_GIVEREF(__pyx_v_text_get_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_5 = (!__pyx_t_4);
+ __pyx_t_4 = __pyx_t_5;
+ } else {
+ __pyx_t_4 = __pyx_t_1;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":188
+ *
+ * if text_get_func and not callable(text_get_func):
+ * raise TypeError("text_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif text_get_func:
+ * self._text_get_func = text_get_func
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_117), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __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[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":189
+ * if text_get_func and not callable(text_get_func):
+ * raise TypeError("text_get_func is not callable!")
+ * elif text_get_func: # <<<<<<<<<<<<<<
+ * self._text_get_func = text_get_func
+ * else:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_text_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":190
+ * raise TypeError("text_get_func is not callable!")
+ * elif text_get_func:
+ * self._text_get_func = text_get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._text_get_func = self.text_get
+ */
+ __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*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":192
+ * self._text_get_func = text_get_func
+ * else:
+ * self._text_get_func = self.text_get # <<<<<<<<<<<<<<
+ *
+ * if content_get_func and not callable(content_get_func):
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 192; __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_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":194
+ * self._text_get_func = self.text_get
+ *
+ * if content_get_func and not callable(content_get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("content_get_func is not callable!")
+ * elif content_get_func:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_content_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_content_get_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_content_get_func);
+ __Pyx_GIVEREF(__pyx_v_content_get_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_5 = (!__pyx_t_1);
+ __pyx_t_1 = __pyx_t_5;
+ } else {
+ __pyx_t_1 = __pyx_t_4;
+ }
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":195
+ *
+ * if content_get_func and not callable(content_get_func):
+ * raise TypeError("content_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif content_get_func:
+ * self._content_get_func = content_get_func
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_119), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":196
+ * if content_get_func and not callable(content_get_func):
+ * raise TypeError("content_get_func is not callable!")
+ * elif content_get_func: # <<<<<<<<<<<<<<
+ * self._content_get_func = content_get_func
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_content_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":197
+ * raise TypeError("content_get_func is not callable!")
+ * elif content_get_func:
+ * self._content_get_func = content_get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._content_get_func = self.content_get
+ */
+ __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_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":199
+ * self._content_get_func = content_get_func
+ * else:
+ * self._content_get_func = self.content_get # <<<<<<<<<<<<<<
+ *
+ * if state_get_func and not callable(state_get_func):
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_get); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_v_self->_content_get_func);
+ __Pyx_DECREF(__pyx_v_self->_content_get_func);
+ __pyx_v_self->_content_get_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":201
+ * self._content_get_func = self.content_get
+ *
+ * if state_get_func and not callable(state_get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("state_get_func is not callable!")
+ * elif state_get_func:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_state_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_state_get_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_state_get_func);
+ __Pyx_GIVEREF(__pyx_v_state_get_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_5 = (!__pyx_t_4);
+ __pyx_t_4 = __pyx_t_5;
+ } else {
+ __pyx_t_4 = __pyx_t_1;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":202
+ *
+ * if state_get_func and not callable(state_get_func):
+ * raise TypeError("state_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif state_get_func:
+ * self._state_get_func = state_get_func
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_121), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 202; __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[3]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L6;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":203
+ * if state_get_func and not callable(state_get_func):
+ * raise TypeError("state_get_func is not callable!")
+ * elif state_get_func: # <<<<<<<<<<<<<<
+ * self._state_get_func = state_get_func
+ * else:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_state_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":204
+ * raise TypeError("state_get_func is not callable!")
+ * elif state_get_func:
+ * self._state_get_func = state_get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._state_get_func = self.state_get
+ */
+ __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_L6;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":206
+ * self._state_get_func = state_get_func
+ * else:
+ * self._state_get_func = self.state_get # <<<<<<<<<<<<<<
+ *
+ * if del_func and not callable(del_func):
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__state_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 206; __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_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":208
+ * self._state_get_func = self.state_get
+ *
+ * if del_func and not callable(del_func): # <<<<<<<<<<<<<<
+ * raise TypeError("del_func is not callable!")
+ * elif del_func:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_del_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_del_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_del_func);
+ __Pyx_GIVEREF(__pyx_v_del_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_5 = (!__pyx_t_1);
+ __pyx_t_1 = __pyx_t_5;
+ } else {
+ __pyx_t_1 = __pyx_t_4;
+ }
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":209
+ *
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!") # <<<<<<<<<<<<<<
+ * elif del_func:
+ * self._del_func = del_func
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_123), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L7;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":210
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!")
+ * elif del_func: # <<<<<<<<<<<<<<
+ * self._del_func = del_func
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_del_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":211
+ * raise TypeError("del_func is not callable!")
+ * elif del_func:
+ * self._del_func = del_func # <<<<<<<<<<<<<<
+ * else:
+ * try:
+ */
+ __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_L7;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":213
+ * self._del_func = del_func
+ * else:
+ * try: # <<<<<<<<<<<<<<
+ * self._del_func = self.delete
+ * except AttributeError:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_8);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":214
+ * else:
+ * try:
+ * self._del_func = self.delete # <<<<<<<<<<<<<<
+ * except AttributeError:
+ * pass
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__delete); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_v_self->_del_func);
+ __Pyx_DECREF(__pyx_v_self->_del_func);
+ __pyx_v_self->_del_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L15_try_end;
+ __pyx_L8_error:;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":215
+ * try:
+ * self._del_func = self.delete
+ * except AttributeError: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+ __pyx_t_9 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
+ if (__pyx_t_9) {
+ PyErr_Restore(0,0,0);
+ goto __pyx_L9_exception_handled;
+ }
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ goto __pyx_L1_error;
+ __pyx_L9_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ __pyx_L15_try_end:;
+ }
+ }
+ __pyx_L7:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":218
+ * pass
+ *
+ * self.obj.item_style = _fruni(self._item_style) # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ __pyx_t_2 = __pyx_v_self->_item_style;
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_v_self->obj.item_style = __pyx_f_10elementary_12c_elementary__fruni(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_5__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_5__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_4__str__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":220
+ * self.obj.item_style = _fruni(self._item_style)
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, "
+ * "state_get_func=%s, del_func=%s)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_4__str__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__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("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":221
+ *
+ * def __str__(self):
+ * return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, " # <<<<<<<<<<<<<<
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":223
+ * return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, "
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self._item_style,
+ * self._text_get_func,
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":228
+ * self._content_get_func,
+ * self._state_get_func,
+ * self._del_func) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_1 = PyTuple_New(6); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->_item_style);
+ __Pyx_GIVEREF(__pyx_v_self->_item_style);
+ __Pyx_INCREF(__pyx_v_self->_text_get_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __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_1, 3, __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_1, 4, __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_1, 5, __pyx_v_self->_del_func);
+ __Pyx_GIVEREF(__pyx_v_self->_del_func);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_124), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItemClass.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_7__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_7__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_6__repr__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":230
+ * self._del_func)
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Genlist_Item_Class=%#x, "
+ * "item_style=%r, text_get_func=%s, content_get_func=%s, "
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_6__repr__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":231
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Genlist_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":234
+ * "item_style=%r, text_get_func=%s, content_get_func=%s, "
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":235
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void *>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>&self.obj,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":236
+ * (self.__class__.__name__,
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>&self.obj,
+ * self._item_style,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":237
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>&self.obj, # <<<<<<<<<<<<<<
+ * self._item_style,
+ * self._text_get_func,
+ */
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)(&__pyx_v_self->obj))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":242
+ * self._content_get_func,
+ * self._state_get_func,
+ * self._del_func) # <<<<<<<<<<<<<<
+ *
+ * property item_style:
+ */
+ __pyx_t_5 = PyTuple_New(9); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ PyTuple_SET_ITEM(__pyx_t_5, 4, __pyx_v_self->_item_style);
+ __Pyx_GIVEREF(__pyx_v_self->_item_style);
+ __Pyx_INCREF(__pyx_v_self->_text_get_func);
+ PyTuple_SET_ITEM(__pyx_t_5, 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_5, 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_5, 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_5, 8, __pyx_v_self->_del_func);
+ __Pyx_GIVEREF(__pyx_v_self->_del_func);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_125), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_10item_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_10item_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_10item_style___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":245
+ *
+ * property item_style:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self._item_style
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_10item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":246
+ * property item_style:
+ * def __get__(self):
+ * return self._item_style # <<<<<<<<<<<<<<
+ *
+ * def text_get(self, evasObject obj, part, item_data):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ __pyx_r = __pyx_v_self->_item_style;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_9text_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GenlistItemClass_8text_get[] = "To be called by Genlist for each row to get its label.\n\n @param obj: the Genlist instance\n @param part: the part that is being handled.\n @param item_data: the value given to genlist append/prepend.\n\n @return: label to be used.\n @rtype: str or None\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_9text_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_part = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__part,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 248; __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[3]; __pyx_lineno = 248; __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 PyEvasObject *)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[3]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_8text_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":248
+ * return self._item_style
+ *
+ * def text_get(self, evasObject obj, part, item_data): # <<<<<<<<<<<<<<
+ * """To be called by Genlist for each row to get its label.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_8text_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":258
+ * @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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_11content_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GenlistItemClass_10content_get[] = "To be called by Genlist for each row to get its icon.\n\n @param obj: the Genlist instance\n @param part: the part that is being handled.\n @param item_data: the value given to genlist append/prepend.\n\n @return: icon object to be used and swallowed.\n @rtype: evas Object or None\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_11content_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_part = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__part,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 260; __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[3]; __pyx_lineno = 260; __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 PyEvasObject *)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[3]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_10content_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":260
+ * return None
+ *
+ * def content_get(self, evasObject obj, part, item_data): # <<<<<<<<<<<<<<
+ * """To be called by Genlist for each row to get its icon.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_10content_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":270
+ * @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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_13state_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GenlistItemClass_12state_get[] = "To be called by Genlist for each row to get its state.\n\n @param obj: the Genlist instance\n @param part: the part that is being handled.\n @param item_data: the value given to genlist append/prepend.\n\n @return: state to be used.\n @rtype: bool or None\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_13state_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_part = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__part,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 272; __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[3]; __pyx_lineno = 272; __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 PyEvasObject *)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[3]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_12state_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":272
+ * return None
+ *
+ * def state_get(self, evasObject obj, part, item_data): # <<<<<<<<<<<<<<
+ * """To be called by Genlist for each row to get its state.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_12state_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data) {
+ 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("state_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":282
+ * @rtype: bool or None
+ * """
+ * return False # <<<<<<<<<<<<<<
+ *
+ * cdef class GenlistItem(ObjectItem):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); 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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItemClass.state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_11_item_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_11_item_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_11_item_style___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":126
+ * """
+ * cdef Elm_Genlist_Item_Class obj
+ * cdef readonly object _item_style # <<<<<<<<<<<<<<
+ * cdef readonly object _text_get_func
+ * cdef readonly object _content_get_func
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_11_item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ __pyx_r = __pyx_v_self->_item_style;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_14_text_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_14_text_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_14_text_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":127
+ * cdef Elm_Genlist_Item_Class obj
+ * cdef readonly object _item_style
+ * cdef readonly object _text_get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _content_get_func
+ * cdef readonly object _state_get_func
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_14_text_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_text_get_func);
+ __pyx_r = __pyx_v_self->_text_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_17_content_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_17_content_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_17_content_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":128
+ * cdef readonly object _item_style
+ * cdef readonly object _text_get_func
+ * cdef readonly object _content_get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _state_get_func
+ * cdef readonly object _del_func
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_17_content_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_content_get_func);
+ __pyx_r = __pyx_v_self->_content_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_15_state_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_15_state_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_15_state_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":129
+ * cdef readonly object _text_get_func
+ * cdef readonly object _content_get_func
+ * cdef readonly object _state_get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _del_func
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_15_state_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_state_get_func);
+ __pyx_r = __pyx_v_self->_state_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_9_del_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_9_del_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GenlistItemClass_9_del_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":130
+ * cdef readonly object _content_get_func
+ * cdef readonly object _state_get_func
+ * cdef readonly object _del_func # <<<<<<<<<<<<<<
+ *
+ * def __cinit__(self, *a, **ka):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GenlistItemClass_9_del_func___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_del_func);
+ __pyx_r = __pyx_v_self->_del_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":288
+ * """An item for the L{Genlist} widget."""
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0: # <<<<<<<<<<<<<<
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ */
+
+ int __pyx_f_10elementary_12c_elementary_11GenlistItem__set_obj(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, Elm_Object_Item *__pyx_v_item, struct __pyx_opt_args_10elementary_12c_elementary_11GenlistItem__set_obj *__pyx_optional_args) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_set_obj", 0);
+ if (__pyx_optional_args) {
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":289
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0:
+ * assert self.item == NULL, "Object must be clean" # <<<<<<<<<<<<<<
+ * self.item = item
+ * Py_INCREF(self)
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_self->item == NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_39));
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":290
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0:
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ * return 1
+ */
+ __pyx_v_self->item = __pyx_v_item;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":291
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ * return 1
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":292
+ * self.item = item
+ * Py_INCREF(self)
+ * return 1 # <<<<<<<<<<<<<<
+ *
+ * cdef void _unset_obj(self):
+ */
+ __pyx_r = 1;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ int __pyx_f_10elementary_12c_elementary_11GenlistItem__set_obj__pyx_wrap_1(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, Elm_Object_Item *__pyx_v_item) {
+ return __pyx_f_10elementary_12c_elementary_11GenlistItem__set_obj(__pyx_v_self, __pyx_v_item, NULL);
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":294
+ * return 1
+ *
+ * cdef void _unset_obj(self): # <<<<<<<<<<<<<<
+ * assert self.item != NULL, "Object must wrap something"
+ * self.item = NULL
+ */
+
+ static void __pyx_f_10elementary_12c_elementary_11GenlistItem__unset_obj(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_unset_obj", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":295
+ *
+ * cdef void _unset_obj(self):
+ * assert self.item != NULL, "Object must wrap something" # <<<<<<<<<<<<<<
+ * self.item = NULL
+ *
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_self->__pyx_base.item != NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_126));
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":296
+ * cdef void _unset_obj(self):
+ * assert self.item != NULL, "Object must wrap something"
+ * self.item = NULL # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ __pyx_v_self->__pyx_base.item = NULL;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_WriteUnraisable("elementary.c_elementary.GenlistItem._unset_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_1__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_1__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem___str__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":298
+ * self.item = NULL
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem___str__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":299
+ *
+ * def __str__(self):
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \ # <<<<<<<<<<<<<<
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":300
+ * def __str__(self):
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":301
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[2],
+ * self.params[1])
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____class__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s____name__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":302
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__,
+ * self.params[2], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":303
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_4) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_127), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_3__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_3__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_2__repr__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":305
+ * self.params[1])
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_2__repr__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":306
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, " # <<<<<<<<<<<<<<
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":308
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":309
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":310
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>self.item,
+ * self.params[0].__class__.__name__,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":311
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item, # <<<<<<<<<<<<<<
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ */
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":312
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item,
+ * self.params[0].__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[2],
+ * self.params[1])
+ */
+ __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s____class__); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_GetAttr(__pyx_t_6, __pyx_n_s____name__); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":313
+ * <unsigned long>self.item,
+ * self.params[0].__class__.__name__,
+ * self.params[2], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_6) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":314
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * def data_get(self):
+ */
+ __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_7) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = PyTuple_New(7); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_8, 5, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_8, 6, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_128), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_7);
+ __pyx_t_7 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_5data_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_5data_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_10elementary_12c_elementary_11GenlistItem_4data_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":316
+ * self.params[1])
+ *
+ * def data_get(self): # <<<<<<<<<<<<<<
+ * return self.params[1]
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4data_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("data_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":317
+ *
+ * def data_get(self):
+ * return self.params[1] # <<<<<<<<<<<<<<
+ *
+ * property data:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.data_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_4data_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_4data_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_4data___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":320
+ *
+ * property data:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.data_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4data___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":321
+ * property data:
+ * def __get__(self):
+ * return self.data_get() # <<<<<<<<<<<<<<
+ *
+ * def next_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__data_get); 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_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 321; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.data.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_7next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_7next_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_10elementary_12c_elementary_11GenlistItem_6next_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":323
+ * return self.data_get()
+ *
+ * def next_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_item_next_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_6next_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":324
+ *
+ * def next_get(self):
+ * return _object_item_to_python(elm_genlist_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.next_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":327
+ *
+ * property next:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.next_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":328
+ * property next:
+ * def __get__(self):
+ * return self.next_get() # <<<<<<<<<<<<<<
+ *
+ * def prev_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__next_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 328; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_9prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_9prev_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_10elementary_12c_elementary_11GenlistItem_8prev_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":330
+ * return self.next_get()
+ *
+ * def prev_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_item_prev_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_8prev_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":331
+ *
+ * def prev_get(self):
+ * return _object_item_to_python(elm_genlist_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.prev_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":334
+ *
+ * property prev:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.prev_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":335
+ * property prev:
+ * def __get__(self):
+ * return self.prev_get() # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__prev_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 335; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_11selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_11selected_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_10elementary_12c_elementary_11GenlistItem_10selected_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":337
+ * return self.prev_get()
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * elm_genlist_item_selected_set(self.item, bool(selected))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_10selected_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":338
+ *
+ * def selected_set(self, selected):
+ * elm_genlist_item_selected_set(self.item, bool(selected)) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_selected);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_selected);
+ __Pyx_GIVEREF(__pyx_v_selected);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_genlist_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_13selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_13selected_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_10elementary_12c_elementary_11GenlistItem_12selected_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":340
+ * elm_genlist_item_selected_set(self.item, bool(selected))
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_item_selected_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_12selected_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("selected_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":341
+ *
+ * def selected_get(self):
+ * return bool(elm_genlist_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_8selected___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":344
+ *
+ * property selected:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":345
+ * property selected:
+ * def __get__(self):
+ * return self.selected_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, selected):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_get); 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); 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_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GenlistItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GenlistItem_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_10elementary_12c_elementary_11GenlistItem_8selected_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":347
+ * return self.selected_get()
+ *
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * self.selected_set(selected)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GenlistItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":348
+ *
+ * def __set__(self, selected):
+ * self.selected_set(selected) # <<<<<<<<<<<<<<
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_selected);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_selected);
+ __Pyx_GIVEREF(__pyx_v_selected);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GenlistItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_15show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_15show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_scrollto_type = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__scrollto_type,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+ values[0] = __pyx_k_129;
+ 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[3]; __pyx_lineno = 350; __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[3]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_14show(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_scrollto_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":350
+ * self.selected_set(selected)
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_genlist_item_show(self.item, scrollto_type)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_14show(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":351
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ * elm_genlist_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[3]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_item_show(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_17bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_17bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_scrollto_type = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__scrollto_type,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bring_in (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+ values[0] = __pyx_k_130;
+ 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[3]; __pyx_lineno = 353; __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[3]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_16bring_in(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_scrollto_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":353
+ * elm_genlist_item_show(self.item, scrollto_type)
+ *
+ * def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_genlist_item_bring_in(self.item, scrollto_type)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_16bring_in(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":354
+ *
+ * def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ * elm_genlist_item_bring_in(self.item, scrollto_type) # <<<<<<<<<<<<<<
+ *
+ * def update(self):
+ */
+ __pyx_t_1 = ((Elm_Genlist_Item_Scrollto_Type)PyInt_AsLong(__pyx_v_scrollto_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_item_bring_in(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_19update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_19update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("update (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_18update(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":356
+ * elm_genlist_item_bring_in(self.item, scrollto_type)
+ *
+ * def update(self): # <<<<<<<<<<<<<<
+ * elm_genlist_item_update(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_18update(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("update", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":357
+ *
+ * def update(self):
+ * elm_genlist_item_update(self.item) # <<<<<<<<<<<<<<
+ *
+ * #def item_class_update(self, Elm_Genlist_Item_Class itc):
+ */
+ elm_genlist_item_update(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_21index_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_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_10elementary_12c_elementary_11GenlistItem_20index_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":365
+ * #return elm_genlist_item_item_class_get(self.item)
+ *
+ * def index_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_item_index_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_20index_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":366
+ *
+ * def index_get(self):
+ * return elm_genlist_item_index_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_text_set(self, char *text):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_genlist_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.index_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_23tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_text); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_22tooltip_text_set[] = " Set the text to be shown in the tooltip object\n\n Setup the text as tooltip object. The object can have only one\n tooltip, so any previous tooltip data is removed.\n Internally, this method calls L{tooltip_content_cb_set}\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_23tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_text) {
+ char *__pyx_v_text;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_text_set (wrapper)", 0);
+ assert(__pyx_arg_text); {
+ __pyx_v_text = PyBytes_AsString(__pyx_arg_text); if (unlikely((!__pyx_v_text) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_22tooltip_text_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((char *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":368
+ * return elm_genlist_item_index_get(self.item)
+ *
+ * def tooltip_text_set(self, char *text): # <<<<<<<<<<<<<<
+ * """ Set the text to be shown in the tooltip object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_22tooltip_text_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, char *__pyx_v_text) {
+ 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("tooltip_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":375
+ * Internally, this method calls L{tooltip_content_cb_set}
+ * """
+ * elm_genlist_item_tooltip_text_set(self.item, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs):
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_text); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ elm_genlist_item_tooltip_text_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1)));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_text_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_25tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_24tooltip_content_cb_set[] = " Set the content to be shown in the tooltip object\n\n Setup the tooltip to object. The object can have only one tooltip,\n so any previews tooltip data is removed. C{func(args,kargs)} will\n be called every time that need show the tooltip and it should return a\n valid Evas_Object. This object is then managed fully by tooltip system\n and is deleted when the tooltip is gone.\n\n @param func: Function to be create tooltip content, called when\n need show tooltip.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_25tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_kargs, values, used_pos_args, "tooltip_content_cb_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 377; __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("tooltip_content_cb_set", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_24tooltip_content_cb_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":377
+ * elm_genlist_item_tooltip_text_set(self.item, _cfruni(text))
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """ Set the content to be shown in the tooltip object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_24tooltip_content_cb_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ void *__pyx_v_cbdata;
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":389
+ * need show tooltip.
+ * """
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":390
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_131), NULL); 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);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":394
+ * cdef void *cbdata
+ *
+ * data = (func, self, args, kargs) # <<<<<<<<<<<<<<
+ * Py_INCREF(data)
+ * cbdata = <void *>data
+ */
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":395
+ *
+ * data = (func, self, args, kargs)
+ * Py_INCREF(data) # <<<<<<<<<<<<<<
+ * cbdata = <void *>data
+ * elm_genlist_item_tooltip_content_cb_set(self.item,
+ */
+ Py_INCREF(((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":396
+ * data = (func, self, args, kargs)
+ * Py_INCREF(data)
+ * cbdata = <void *>data # <<<<<<<<<<<<<<
+ * elm_genlist_item_tooltip_content_cb_set(self.item,
+ * _tooltip_item_content_create,
+ */
+ __pyx_v_cbdata = ((void *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":400
+ * _tooltip_item_content_create,
+ * cbdata,
+ * _tooltip_item_data_del_cb) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_unset(self):
+ */
+ elm_genlist_item_tooltip_content_cb_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__tooltip_item_content_create, __pyx_v_cbdata, __pyx_f_10elementary_12c_elementary__tooltip_item_data_del_cb);
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_27tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_26tooltip_unset[] = " Unset tooltip from object\n\n Remove tooltip from object. If used the L{tooltip_text_set} the internal\n copy of label will be removed correctly. If used\n L{tooltip_content_cb_set}, the data will be unreferred but no freed.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_27tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_26tooltip_unset(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":402
+ * _tooltip_item_data_del_cb)
+ *
+ * def tooltip_unset(self): # <<<<<<<<<<<<<<
+ * """ Unset tooltip from object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_26tooltip_unset(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":409
+ * L{tooltip_content_cb_set}, the data will be unreferred but no freed.
+ * """
+ * elm_genlist_item_tooltip_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_set(self, style=None):
+ */
+ elm_genlist_item_tooltip_unset(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_29tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_28tooltip_style_set[] = " Sets a different style for this object tooltip.\n\n @note: before you set a style you should define a tooltip with\n elm_genlist_item_tooltip_content_cb_set() or\n elm_genlist_item_tooltip_text_set()\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_29tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":411
+ * elm_genlist_item_tooltip_unset(self.item)
+ *
+ * def tooltip_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """ Sets a different style for this object tooltip.
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "tooltip_style_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 411; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("tooltip_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_28tooltip_style_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_28tooltip_style_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ 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("tooltip_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":418
+ * elm_genlist_item_tooltip_text_set()
+ * """
+ * if style: # <<<<<<<<<<<<<<
+ * elm_genlist_item_tooltip_style_set(self.item, _cfruni(style))
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_style); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":419
+ * """
+ * if style:
+ * elm_genlist_item_tooltip_style_set(self.item, _cfruni(style)) # <<<<<<<<<<<<<<
+ * else:
+ * elm_genlist_item_tooltip_style_set(self.item, NULL)
+ */
+ elm_genlist_item_tooltip_style_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":421
+ * elm_genlist_item_tooltip_style_set(self.item, _cfruni(style))
+ * else:
+ * elm_genlist_item_tooltip_style_set(self.item, NULL) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_get(self):
+ */
+ elm_genlist_item_tooltip_style_set(__pyx_v_self->__pyx_base.item, NULL);
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_31tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_30tooltip_style_get[] = " Get the style for this object tooltip.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_31tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_30tooltip_style_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":423
+ * elm_genlist_item_tooltip_style_set(self.item, NULL)
+ *
+ * def tooltip_style_get(self): # <<<<<<<<<<<<<<
+ * """ Get the style for this object tooltip.
+ * """
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_30tooltip_style_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("tooltip_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":426
+ * """ Get the style for this object tooltip.
+ * """
+ * return _ctouni(elm_genlist_item_tooltip_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_set(self, disable):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_genlist_item_tooltip_style_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_33tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_33tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_32tooltip_window_mode_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_disable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":428
+ * return _ctouni(elm_genlist_item_tooltip_style_get(self.item))
+ *
+ * def tooltip_window_mode_set(self, disable): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_item_tooltip_window_mode_set(self.item, disable))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_32tooltip_window_mode_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ 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("tooltip_window_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":429
+ *
+ * def tooltip_window_mode_set(self, disable):
+ * return bool(elm_genlist_item_tooltip_window_mode_set(self.item, disable)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_item_tooltip_window_mode_set(__pyx_v_self->__pyx_base.item, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_window_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_35tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_35tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_34tooltip_window_mode_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":431
+ * return bool(elm_genlist_item_tooltip_window_mode_set(self.item, disable))
+ *
+ * def tooltip_window_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_item_tooltip_window_mode_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_34tooltip_window_mode_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("tooltip_window_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":432
+ *
+ * def tooltip_window_mode_get(self):
+ * return bool(elm_genlist_item_tooltip_window_mode_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_set(self, cursor):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_item_tooltip_window_mode_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.tooltip_window_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_37cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_v_cursor); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_36cursor_set[] = " Set the cursor to be shown when mouse is over the genlist item\n\n Set the cursor that will be displayed when mouse is over the\n item. The item can have only one cursor set to it, so if\n this function is called twice for an item, the previous set\n will be unset.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_37cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_v_cursor) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_36cursor_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_cursor));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":434
+ * return bool(elm_genlist_item_tooltip_window_mode_get(self.item))
+ *
+ * def cursor_set(self, cursor): # <<<<<<<<<<<<<<
+ * """ Set the cursor to be shown when mouse is over the genlist item
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_36cursor_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_cursor) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":442
+ * will be unset.
+ * """
+ * elm_genlist_item_cursor_set(self.item, _cfruni(cursor)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_get(self):
+ */
+ elm_genlist_item_cursor_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_cursor));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_39cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_39cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_38cursor_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":444
+ * elm_genlist_item_cursor_set(self.item, _cfruni(cursor))
+ *
+ * def cursor_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_genlist_item_cursor_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_38cursor_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("cursor_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":445
+ *
+ * def cursor_get(self):
+ * return _ctouni(elm_genlist_item_cursor_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_genlist_item_cursor_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.cursor_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_41cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_40cursor_unset[] = " Unset the cursor to be shown when mouse is over the genlist item\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_41cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_40cursor_unset(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":447
+ * return _ctouni(elm_genlist_item_cursor_get(self.item))
+ *
+ * def cursor_unset(self): # <<<<<<<<<<<<<<
+ * """ Unset the cursor to be shown when mouse is over the genlist item
+ * """
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_40cursor_unset(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":450
+ * """ Unset the cursor to be shown when mouse is over the genlist item
+ * """
+ * elm_genlist_item_cursor_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_set(self, style=None):
+ */
+ elm_genlist_item_cursor_unset(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_43cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_42cursor_style_set[] = " Sets a different style for this object cursor.\n\n @note: before you set a style you should define a cursor with\n elm_genlist_item_cursor_set()\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_43cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":452
+ * elm_genlist_item_cursor_unset(self.item)
+ *
+ * def cursor_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """ Sets a different style for this object cursor.
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "cursor_style_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 452; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("cursor_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_42cursor_style_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_42cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ 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("cursor_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":458
+ * elm_genlist_item_cursor_set()
+ * """
+ * if style: # <<<<<<<<<<<<<<
+ * elm_genlist_item_cursor_style_set(self.item, _cfruni(style))
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_style); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":459
+ * """
+ * if style:
+ * elm_genlist_item_cursor_style_set(self.item, _cfruni(style)) # <<<<<<<<<<<<<<
+ * else:
+ * elm_genlist_item_cursor_style_set(self.item, NULL)
+ */
+ elm_genlist_item_cursor_style_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":461
+ * elm_genlist_item_cursor_style_set(self.item, _cfruni(style))
+ * else:
+ * elm_genlist_item_cursor_style_set(self.item, NULL) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_get(self):
+ */
+ elm_genlist_item_cursor_style_set(__pyx_v_self->__pyx_base.item, NULL);
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_45cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_44cursor_style_get[] = " Get the style for this object cursor.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_45cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_44cursor_style_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":463
+ * elm_genlist_item_cursor_style_set(self.item, NULL)
+ *
+ * def cursor_style_get(self): # <<<<<<<<<<<<<<
+ * """ Get the style for this object cursor.
+ * """
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_44cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("cursor_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":466
+ * """ Get the style for this object cursor.
+ * """
+ * return _ctouni(elm_genlist_item_cursor_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_set(self, engine_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_genlist_item_cursor_style_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.cursor_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_47cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_46cursor_engine_only_set[] = " Sets cursor engine only usage for this object.\n\n @note: before you set engine only usage you should define a cursor with\n elm_genlist_item_cursor_set()\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_47cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_46cursor_engine_only_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_engine_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":468
+ * return _ctouni(elm_genlist_item_cursor_style_get(self.item))
+ *
+ * def cursor_engine_only_set(self, engine_only): # <<<<<<<<<<<<<<
+ * """ Sets cursor engine only usage for this object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_46cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cursor_engine_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":474
+ * elm_genlist_item_cursor_set()
+ * """
+ * elm_genlist_item_cursor_engine_only_set(self.item, bool(engine_only)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_engine_only);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_engine_only);
+ __Pyx_GIVEREF(__pyx_v_engine_only);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 474; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_genlist_item_cursor_engine_only_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.cursor_engine_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_49cursor_engine_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GenlistItem_48cursor_engine_only_get[] = " Get the engine only usage for this object.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_49cursor_engine_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_48cursor_engine_only_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":476
+ * elm_genlist_item_cursor_engine_only_set(self.item, bool(engine_only))
+ *
+ * def cursor_engine_only_get(self): # <<<<<<<<<<<<<<
+ * """ Get the engine only usage for this object.
+ * """
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_48cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("cursor_engine_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":479
+ * """ Get the engine only usage for this object.
+ * """
+ * return elm_genlist_item_cursor_engine_only_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def parent_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_item_cursor_engine_only_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.cursor_engine_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_51parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_51parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_50parent_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":481
+ * return elm_genlist_item_cursor_engine_only_get(self.item)
+ *
+ * def parent_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_item_parent_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_50parent_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":482
+ *
+ * def parent_get(self):
+ * return _object_item_to_python(elm_genlist_item_parent_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_item_parent_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_6parent_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_6parent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_6parent___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":485
+ *
+ * property parent:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.parent_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_6parent___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":486
+ * property parent:
+ * def __get__(self):
+ * return self.parent_get() # <<<<<<<<<<<<<<
+ *
+ * def subitems_clear(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__parent_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 486; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_53subitems_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_53subitems_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("subitems_clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_52subitems_clear(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":488
+ * return self.parent_get()
+ *
+ * def subitems_clear(self): # <<<<<<<<<<<<<<
+ * elm_genlist_item_subitems_clear(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_52subitems_clear(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("subitems_clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":489
+ *
+ * def subitems_clear(self):
+ * elm_genlist_item_subitems_clear(self.item) # <<<<<<<<<<<<<<
+ *
+ * def expanded_set(self, expanded):
+ */
+ elm_genlist_item_subitems_clear(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_55expanded_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expanded); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_55expanded_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expanded) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expanded_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_54expanded_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_expanded));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":491
+ * elm_genlist_item_subitems_clear(self.item)
+ *
+ * def expanded_set(self, expanded): # <<<<<<<<<<<<<<
+ * elm_genlist_item_expanded_set(self.item, bool(expanded))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_54expanded_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_expanded) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("expanded_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":492
+ *
+ * def expanded_set(self, expanded):
+ * elm_genlist_item_expanded_set(self.item, bool(expanded)) # <<<<<<<<<<<<<<
+ *
+ * def expanded_get(self, ):
+ */
+ __pyx_t_1 = PyTuple_New(1); 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_INCREF(__pyx_v_expanded);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_expanded);
+ __Pyx_GIVEREF(__pyx_v_expanded);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); 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);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-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;
+ elm_genlist_item_expanded_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.expanded_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_57expanded_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_57expanded_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expanded_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_56expanded_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":494
+ * elm_genlist_item_expanded_set(self.item, bool(expanded))
+ *
+ * def expanded_get(self, ): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_item_expanded_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_56expanded_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("expanded_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":495
+ *
+ * def expanded_get(self, ):
+ * return bool(elm_genlist_item_expanded_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property expanded:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_item_expanded_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.expanded_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_8expanded_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_8expanded_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_8expanded___get__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":498
+ *
+ * property expanded:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.expanded_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_8expanded___get__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":499
+ * property expanded:
+ * def __get__(self):
+ * return self.expanded_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, expanded):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__expanded_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 499; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 499; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.expanded.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GenlistItem_8expanded_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expanded); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GenlistItem_8expanded_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expanded) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_8expanded_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_expanded));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":501
+ * return self.expanded_get()
+ *
+ * def __set__(self, expanded): # <<<<<<<<<<<<<<
+ * self.expanded_set(expanded)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GenlistItem_8expanded_2__set__(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_expanded) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":502
+ *
+ * def __set__(self, expanded):
+ * self.expanded_set(expanded) # <<<<<<<<<<<<<<
+ *
+ * def expanded_depth_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__expanded_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_expanded);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_expanded);
+ __Pyx_GIVEREF(__pyx_v_expanded);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 502; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GenlistItem.expanded.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_59expanded_depth_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_59expanded_depth_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expanded_depth_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_58expanded_depth_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":504
+ * self.expanded_set(expanded)
+ *
+ * def expanded_depth_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_item_expanded_depth_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_58expanded_depth_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("expanded_depth_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":505
+ *
+ * def expanded_depth_get(self):
+ * return elm_genlist_item_expanded_depth_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def all_contents_unset(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_genlist_item_expanded_depth_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.expanded_depth_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_61all_contents_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_61all_contents_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("all_contents_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_60all_contents_unset(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":507
+ * return elm_genlist_item_expanded_depth_get(self.item)
+ *
+ * def all_contents_unset(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ * elm_genlist_item_all_contents_unset(self.item, &lst)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_60all_contents_unset(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ 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("all_contents_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":509
+ * def all_contents_unset(self):
+ * cdef Eina_List *lst
+ * elm_genlist_item_all_contents_unset(self.item, &lst) # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(lst)
+ *
+ */
+ elm_genlist_item_all_contents_unset(__pyx_v_self->__pyx_base.item, (&__pyx_v_lst));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":510
+ * cdef Eina_List *lst
+ * elm_genlist_item_all_contents_unset(self.item, &lst)
+ * return _object_item_list_to_python(lst) # <<<<<<<<<<<<<<
+ *
+ * def promote(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(__pyx_v_lst); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.all_contents_unset", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_63promote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_63promote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("promote (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_62promote(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":512
+ * return _object_item_list_to_python(lst)
+ *
+ * def promote(self): # <<<<<<<<<<<<<<
+ * elm_genlist_item_promote(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_62promote(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("promote", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":513
+ *
+ * def promote(self):
+ * elm_genlist_item_promote(self.item) # <<<<<<<<<<<<<<
+ *
+ * def demote(self):
+ */
+ elm_genlist_item_promote(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_65demote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_65demote(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("demote (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_64demote(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":515
+ * elm_genlist_item_promote(self.item)
+ *
+ * def demote(self): # <<<<<<<<<<<<<<
+ * elm_genlist_item_demote(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_64demote(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("demote", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":516
+ *
+ * def demote(self):
+ * elm_genlist_item_demote(self.item) # <<<<<<<<<<<<<<
+ *
+ * def fields_update(self, parts, itf):
+ */
+ elm_genlist_item_demote(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_67fields_update(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_67fields_update(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_parts = 0;
+ PyObject *__pyx_v_itf = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parts,&__pyx_n_s__itf,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("fields_update (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parts);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__itf);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("fields_update", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fields_update") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 518; __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_parts = values[0];
+ __pyx_v_itf = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("fields_update", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.fields_update", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_66fields_update(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_parts, __pyx_v_itf);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":518
+ * elm_genlist_item_demote(self.item)
+ *
+ * def fields_update(self, parts, itf): # <<<<<<<<<<<<<<
+ * elm_genlist_item_fields_update(self.item, _cfruni(parts), itf)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_66fields_update(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_parts, PyObject *__pyx_v_itf) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Genlist_Item_Field_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("fields_update", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":519
+ *
+ * def fields_update(self, parts, itf):
+ * elm_genlist_item_fields_update(self.item, _cfruni(parts), itf) # <<<<<<<<<<<<<<
+ *
+ * def decorate_mode_set(self, decorate_it_type, decorate_it_set):
+ */
+ __pyx_t_1 = ((Elm_Genlist_Item_Field_Type)PyInt_AsLong(__pyx_v_itf)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 519; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_item_fields_update(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_parts), __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.fields_update", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_69decorate_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_69decorate_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_decorate_it_type = 0;
+ PyObject *__pyx_v_decorate_it_set = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__decorate_it_type,&__pyx_n_s__decorate_it_set,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("decorate_mode_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__decorate_it_type);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__decorate_it_set);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("decorate_mode_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "decorate_mode_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 521; __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_decorate_it_type = values[0];
+ __pyx_v_decorate_it_set = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("decorate_mode_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.decorate_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_68decorate_mode_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), __pyx_v_decorate_it_type, __pyx_v_decorate_it_set);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":521
+ * elm_genlist_item_fields_update(self.item, _cfruni(parts), itf)
+ *
+ * def decorate_mode_set(self, decorate_it_type, decorate_it_set): # <<<<<<<<<<<<<<
+ * elm_genlist_item_decorate_mode_set(self.item, _cfruni(decorate_it_type), decorate_it_set)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_68decorate_mode_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_decorate_it_type, PyObject *__pyx_v_decorate_it_set) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("decorate_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":522
+ *
+ * def decorate_mode_set(self, decorate_it_type, decorate_it_set):
+ * elm_genlist_item_decorate_mode_set(self.item, _cfruni(decorate_it_type), decorate_it_set) # <<<<<<<<<<<<<<
+ *
+ * def decorate_mode_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_decorate_it_set); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_item_decorate_mode_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_decorate_it_type), __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.decorate_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_71decorate_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_71decorate_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("decorate_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_70decorate_mode_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":524
+ * elm_genlist_item_decorate_mode_set(self.item, _cfruni(decorate_it_type), decorate_it_set)
+ *
+ * def decorate_mode_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_genlist_item_decorate_mode_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_70decorate_mode_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("decorate_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":525
+ *
+ * def decorate_mode_get(self):
+ * return _ctouni(elm_genlist_item_decorate_mode_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def type_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_genlist_item_decorate_mode_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.decorate_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_73type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_73type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("type_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_72type_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":527
+ * return _ctouni(elm_genlist_item_decorate_mode_get(self.item))
+ *
+ * def type_get(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Genlist_Item_Type ittype = elm_genlist_item_type_get(self.item)
+ * return <Elm_Genlist_Item_Type>ittype
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_72type_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self) {
+ Elm_Genlist_Item_Type __pyx_v_ittype;
+ 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("type_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":528
+ *
+ * def type_get(self):
+ * cdef Elm_Genlist_Item_Type ittype = elm_genlist_item_type_get(self.item) # <<<<<<<<<<<<<<
+ * return <Elm_Genlist_Item_Type>ittype
+ *
+ */
+ __pyx_v_ittype = elm_genlist_item_type_get(__pyx_v_self->__pyx_base.item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":529
+ * def type_get(self):
+ * cdef Elm_Genlist_Item_Type ittype = elm_genlist_item_type_get(self.item)
+ * return <Elm_Genlist_Item_Type>ittype # <<<<<<<<<<<<<<
+ *
+ * def flip_set(self, flip):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(((Elm_Genlist_Item_Type)__pyx_v_ittype)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.type_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_75flip_set(PyObject *__pyx_v_self, PyObject *__pyx_v_flip); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_75flip_set(PyObject *__pyx_v_self, PyObject *__pyx_v_flip) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("flip_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_74flip_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_flip));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":531
+ * return <Elm_Genlist_Item_Type>ittype
+ *
+ * def flip_set(self, flip): # <<<<<<<<<<<<<<
+ * elm_genlist_item_flip_set(self.item, flip)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_74flip_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_self, PyObject *__pyx_v_flip) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("flip_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":532
+ *
+ * def flip_set(self, flip):
+ * elm_genlist_item_flip_set(self.item, flip) # <<<<<<<<<<<<<<
+ *
+ * def flip_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_flip); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 532; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_item_flip_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.flip_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_77flip_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_77flip_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("flip_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GenlistItem_76flip_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":534
+ * elm_genlist_item_flip_set(self.item, flip)
+ *
+ * def flip_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_item_flip_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_76flip_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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("flip_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":535
+ *
+ * def flip_get(self):
+ * return bool(elm_genlist_item_flip_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_set(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_item_flip_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GenlistItem.flip_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_79select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_79select_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_10elementary_12c_elementary_11GenlistItem_78select_mode_set(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":537
+ * return bool(elm_genlist_item_flip_get(self.item))
+ *
+ * def select_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * elm_genlist_item_select_mode_set(self.item, mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_78select_mode_set(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":538
+ *
+ * def select_mode_set(self, mode):
+ * elm_genlist_item_select_mode_set(self.item, mode) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_item_select_mode_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_81select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GenlistItem_81select_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_10elementary_12c_elementary_11GenlistItem_80select_mode_get(((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":540
+ * elm_genlist_item_select_mode_set(self.item, mode)
+ *
+ * def select_mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_item_select_mode_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GenlistItem_80select_mode_get(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":541
+ *
+ * def select_mode_get(self):
+ * return elm_genlist_item_select_mode_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Genlist(Object) [object PyElementaryGenlist, type PyElementaryGenlist_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_genlist_item_select_mode_get(__pyx_v_self->__pyx_base.item)); 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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GenlistItem.select_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Genlist_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Genlist_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 552; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist___init__(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":552
+ *
+ * """
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_genlist_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Genlist___init__(struct PyElementaryGenlist *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":553
+ * """
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_genlist_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 553; __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 = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":554
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_genlist_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Genlist *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_genlist_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 554; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Genlist.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_2clear(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":556
+ * self._set_obj(elm_genlist_add(parent.obj))
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * elm_genlist_clear(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_2clear(struct PyElementaryGenlist *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":557
+ *
+ * def clear(self):
+ * elm_genlist_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def multi_select_set(self, multi):
+ */
+ elm_genlist_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_5multi_select_set(PyObject *__pyx_v_self, PyObject *__pyx_v_multi); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_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_10elementary_12c_elementary_7Genlist_4multi_select_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_multi));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":559
+ * elm_genlist_clear(self.obj)
+ *
+ * def multi_select_set(self, multi): # <<<<<<<<<<<<<<
+ * elm_genlist_multi_select_set(self.obj, bool(multi))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_4multi_select_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_multi) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("multi_select_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":560
+ *
+ * def multi_select_set(self, multi):
+ * elm_genlist_multi_select_set(self.obj, bool(multi)) # <<<<<<<<<<<<<<
+ *
+ * def multi_select_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_multi);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_multi);
+ __Pyx_GIVEREF(__pyx_v_multi);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 560; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_genlist_multi_select_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.multi_select_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_7multi_select_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_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_10elementary_12c_elementary_7Genlist_6multi_select_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":562
+ * elm_genlist_multi_select_set(self.obj, bool(multi))
+ *
+ * def multi_select_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_multi_select_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_6multi_select_get(struct PyElementaryGenlist *__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("multi_select_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":563
+ *
+ * def multi_select_get(self):
+ * return bool(elm_genlist_multi_select_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def mode_set(self, mode = ELM_LIST_COMPRESS):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_multi_select_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 563; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 563; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 563; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.multi_select_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_9mode_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_9mode_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_mode = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__mode,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+ values[0] = __pyx_k_132;
+ 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__mode);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "mode_set") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 565; __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_mode = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("mode_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 565; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_8mode_set(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_mode);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":565
+ * return bool(elm_genlist_multi_select_get(self.obj))
+ *
+ * def mode_set(self, mode = ELM_LIST_COMPRESS): # <<<<<<<<<<<<<<
+ * elm_genlist_mode_set(self.obj, mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_8mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_List_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":566
+ *
+ * def mode_set(self, mode = ELM_LIST_COMPRESS):
+ * elm_genlist_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_List_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_11mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_11mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_10mode_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":568
+ * elm_genlist_mode_set(self.obj, mode)
+ *
+ * def mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_10mode_get(struct PyElementaryGenlist *__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("mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":569
+ *
+ * def mode_get(self):
+ * return elm_genlist_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def bounce_set(self, h_bounce, v_bounce):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_genlist_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 569; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_13bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_13bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_bounce = 0;
+ PyObject *__pyx_v_v_bounce = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_bounce,&__pyx_n_s__v_bounce,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bounce_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_bounce);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_bounce);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 571; __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 = 571; __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_bounce = values[0];
+ __pyx_v_v_bounce = 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 = 571; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_12bounce_set(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_h_bounce, __pyx_v_v_bounce);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":571
+ * return elm_genlist_mode_get(self.obj)
+ *
+ * def bounce_set(self, h_bounce, v_bounce): # <<<<<<<<<<<<<<
+ * elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_12bounce_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_h_bounce, PyObject *__pyx_v_v_bounce) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ Eina_Bool __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("bounce_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":572
+ *
+ * def bounce_set(self, h_bounce, v_bounce):
+ * elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce)) # <<<<<<<<<<<<<<
+ *
+ * def bounce_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_h_bounce);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_h_bounce);
+ __Pyx_GIVEREF(__pyx_v_h_bounce);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_v_bounce);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_v_bounce);
+ __Pyx_GIVEREF(__pyx_v_v_bounce);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_1); if (unlikely((__pyx_t_4 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3, __pyx_t_4);
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_15bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_15bounce_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_10elementary_12c_elementary_7Genlist_14bounce_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":574
+ * elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce))
+ *
+ * def bounce_get(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_14bounce_get(struct PyElementaryGenlist *__pyx_v_self) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":576
+ * def bounce_get(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce) # <<<<<<<<<<<<<<
+ * return (h_bounce, v_bounce)
+ *
+ */
+ elm_scroller_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_bounce), (&__pyx_v_v_bounce));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":577
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ * return (h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 577; __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 = 577; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.bounce_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_17item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Genlist_16item_append[] = "Append a new item (add as last row) to this genlist.\n\n @param item_class: a valid instance that defines the\n behavior of this row. See L{GenlistItemClass}.\n @param item_data: some data that defines the model of this\n row. This value will be given to methods of\n C{item_class} such as\n L{GenlistItemClass.text_get()}. It will also be\n provided to C{func} as its last parameter.\n @param parent_item: if this is a tree child, then the\n parent item must be given here, otherwise it may be\n None. The parent must have the flag\n C{ELM_GENLIST_ITEM_SUBITEMS} set.\n @param flags: defines special behavior of this item:\n - ELM_GENLIST_ITEM_NONE = 0\n - ELM_GENLIST_ITEM_SUBITEMS = 1\n - ELM_GENLIST_ITEM_GROUP = 2\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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_17item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_parent_item = 0;
+ int __pyx_v_flags;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__item_data,&__pyx_n_s__parent_item,&__pyx_n_s__flags,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":582
+ * GenlistItemClass item_class not None,
+ * item_data,
+ * GenlistItem parent_item=None, # <<<<<<<<<<<<<<
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None):
+ */
+ values[2] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":584
+ * GenlistItem parent_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None): # <<<<<<<<<<<<<<
+ * """Append a new item (add as last row) to this genlist.
+ *
+ */
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 2, 5, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent_item);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flags);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__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, "item_append") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (values[3]) {
+ } else {
+ __pyx_v_flags = __pyx_k_133;
+ }
+ } 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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_item_class = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)values[0]);
+ __pyx_v_item_data = values[1];
+ __pyx_v_parent_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)values[2]);
+ if (values[3]) {
+ __pyx_v_flags = __Pyx_PyInt_AsInt(values[3]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ } else {
+ __pyx_v_flags = __pyx_k_133;
+ }
+ __pyx_v_func = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 2, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.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_10elementary_12c_elementary_GenlistItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent_item), __pyx_ptype_10elementary_12c_elementary_GenlistItem, 1, "parent_item", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 582; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_16item_append(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_parent_item, __pyx_v_flags, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":579
+ * return (h_bounce, v_bounce)
+ *
+ * def item_append(self, # <<<<<<<<<<<<<<
+ * GenlistItemClass item_class not None,
+ * item_data,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_16item_append(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_parent_item, int __pyx_v_flags, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_parent;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Object_Item *__pyx_t_2;
+ int __pyx_t_3;
+ Elm_Object_Item *__pyx_t_4;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":610
+ * value given as parameter to this function.
+ * """
+ * cdef GenlistItem ret = GenlistItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item, *parent
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GenlistItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":614
+ * cdef Evas_Smart_Cb cb
+ *
+ * parent = _object_item_from_python(parent_item) if parent_item is not None else NULL # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_3 = (((PyObject *)__pyx_v_parent_item) != Py_None);
+ if (__pyx_t_3) {
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__object_item_from_python(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_parent_item)); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 614; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_t_4;
+ } else {
+ __pyx_t_2 = NULL;
+ }
+ __pyx_v_parent = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":616
+ * parent = _object_item_from_python(parent_item) if parent_item is not None else NULL
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_3 = (__pyx_v_func == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":617
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":618
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_genlist_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_5 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":619
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":621
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_5 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_135), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":623
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_genlist_item_append( self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":630
+ * <Elm_Genlist_Item_Type>flags,
+ * cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_genlist_item_append(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_parent, ((Elm_Genlist_Item_Type)__pyx_v_flags), __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":631
+ * cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":632
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_6 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->_set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item, NULL); if (unlikely(__pyx_t_6 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":633
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":635
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":636
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_prepend( self,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_19item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Genlist_18item_prepend[] = "Prepend a new item (add as first row) to this genlist.\n\n @param item_class: a valid instance that defines the\n behavior of this row. See L{GenlistItemClass}.\n @param item_data: some data that defines the model of this\n row. This value will be given to methods of\n C{item_class} such as\n L{GenlistItemClass.text_get()}. It will also be\n provided to C{func} as its last parameter.\n @param parent_item: if this is a tree child, then the\n parent item must be given here, otherwise it may be\n None. The parent must have the flag\n C{ELM_GENLIST_ITEM_SUBITEMS} set.\n @param flags: defines special behavior of this item:\n - ELM_GENLIST_ITEM_NONE = 0\n - ELM_GENLIST_ITEM_SUBITEMS = 1\n - ELM_GENLIST_ITEM_GROUP = 2\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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_19item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_parent_item = 0;
+ int __pyx_v_flags;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__item_data,&__pyx_n_s__parent_item,&__pyx_n_s__flags,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_prepend (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":641
+ * GenlistItemClass item_class not None,
+ * item_data,
+ * GenlistItem parent_item=None, # <<<<<<<<<<<<<<
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None):
+ */
+ values[2] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":643
+ * GenlistItem parent_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None): # <<<<<<<<<<<<<<
+ * """Prepend a new item (add as first row) to this genlist.
+ *
+ */
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 2, 5, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent_item);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flags);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__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, "item_prepend") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (values[3]) {
+ } else {
+ __pyx_v_flags = __pyx_k_136;
+ }
+ } 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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_item_class = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)values[0]);
+ __pyx_v_item_data = values[1];
+ __pyx_v_parent_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)values[2]);
+ if (values[3]) {
+ __pyx_v_flags = __Pyx_PyInt_AsInt(values[3]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 642; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ } else {
+ __pyx_v_flags = __pyx_k_136;
+ }
+ __pyx_v_func = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 2, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 638; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.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_10elementary_12c_elementary_GenlistItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent_item), __pyx_ptype_10elementary_12c_elementary_GenlistItem, 1, "parent_item", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_18item_prepend(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_parent_item, __pyx_v_flags, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":638
+ * return None
+ *
+ * def item_prepend( self, # <<<<<<<<<<<<<<
+ * GenlistItemClass item_class not None,
+ * item_data,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_18item_prepend(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_parent_item, int __pyx_v_flags, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_parent;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Object_Item *__pyx_t_2;
+ int __pyx_t_3;
+ Elm_Object_Item *__pyx_t_4;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":669
+ * value given as parameter to this function.
+ * """
+ * cdef GenlistItem ret = GenlistItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item, *parent
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GenlistItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":673
+ * cdef Evas_Smart_Cb cb
+ *
+ * parent = _object_item_from_python(parent_item) if parent_item is not None else NULL # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_3 = (((PyObject *)__pyx_v_parent_item) != Py_None);
+ if (__pyx_t_3) {
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__object_item_from_python(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_parent_item)); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_t_4;
+ } else {
+ __pyx_t_2 = NULL;
+ }
+ __pyx_v_parent = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":675
+ * parent = _object_item_from_python(parent_item) if parent_item is not None else NULL
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_3 = (__pyx_v_func == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":676
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":677
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_genlist_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_5 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 677; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":678
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":680
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_5 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_137), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":682
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_genlist_item_prepend(self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":689
+ * <Elm_Genlist_Item_Type>flags,
+ * cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_genlist_item_prepend(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_parent, ((Elm_Genlist_Item_Type)__pyx_v_flags), __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":690
+ * cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":691
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_6 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->_set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item, NULL); if (unlikely(__pyx_t_6 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":692
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":694
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":695
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before( self,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_21item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Genlist_20item_insert_before[] = "Insert a new item (row) before another item in this genlist.\n\n @param item_class: a valid instance that defines the\n behavior of this row. See L{GenlistItemClass}.\n @param item_data: some data that defines the model of this\n row. This value will be given to methods of\n C{item_class} such as\n L{GenlistItemClass.text_get()}. It will also be\n provided to C{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 flags: defines special behavior of this item:\n - ELM_GENLIST_ITEM_NONE = 0\n - ELM_GENLIST_ITEM_SUBITEMS = 1\n - ELM_GENLIST_ITEM_GROUP = 2\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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_21item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_before_item = 0;
+ int __pyx_v_flags;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__item_data,&__pyx_n_s__before_item,&__pyx_n_s__flags,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_before (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":701
+ * item_data,
+ * #API XXX: parent
+ * GenlistItem before_item=None, # <<<<<<<<<<<<<<
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None
+ */
+ values[2] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":703
+ * GenlistItem before_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None # <<<<<<<<<<<<<<
+ * #API XXX: *args, **kwargs
+ * ):
+ */
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 5, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 697; __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__flags);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__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, "item_insert_before") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (values[3]) {
+ } else {
+ __pyx_v_flags = __pyx_k_138;
+ }
+ } 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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_item_class = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)values[0]);
+ __pyx_v_item_data = values[1];
+ __pyx_v_before_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)values[2]);
+ if (values[3]) {
+ __pyx_v_flags = __Pyx_PyInt_AsInt(values[3]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 702; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ } else {
+ __pyx_v_flags = __pyx_k_138;
+ }
+ __pyx_v_func = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.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_10elementary_12c_elementary_GenlistItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 698; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before_item), __pyx_ptype_10elementary_12c_elementary_GenlistItem, 1, "before_item", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 701; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_20item_insert_before(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_before_item, __pyx_v_flags, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":697
+ * return None
+ *
+ * def item_insert_before( self, # <<<<<<<<<<<<<<
+ * GenlistItemClass item_class not None,
+ * item_data,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_20item_insert_before(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_before_item, int __pyx_v_flags, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_before;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Object_Item *__pyx_t_2;
+ int __pyx_t_3;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":729
+ * value given as parameter to this function.
+ * """
+ * cdef GenlistItem ret = GenlistItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item, *before
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GenlistItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 729; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":733
+ * cdef Evas_Smart_Cb cb
+ *
+ * before = _object_item_from_python(before_item) # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_from_python(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_before_item)); if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 733; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_before = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":735
+ * before = _object_item_from_python(before_item)
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_3 = (__pyx_v_func == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":736
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":737
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_genlist_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":738
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":740
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_139), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":742
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_genlist_item_insert_before( self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 742; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":749
+ * before,
+ * <Elm_Genlist_Item_Type>flags, cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_genlist_item_insert_before(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), NULL, __pyx_v_before, ((Elm_Genlist_Item_Type)__pyx_v_flags), __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":750
+ * <Elm_Genlist_Item_Type>flags, cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":751
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->_set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item, NULL); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":752
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":754
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":755
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after( self,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_23item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Genlist_22item_insert_after[] = "Insert a new item (row) after another item in this genlist.\n\n @param item_class: a valid instance that defines the\n behavior of this row. See L{GenlistItemClass}.\n @param item_data: some data that defines the model of this\n row. This value will be given to methods of\n C{item_class} such as\n L{GenlistItemClass.text_get()}. It will also be\n provided to C{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 flags: defines special behavior of this item:\n - ELM_GENLIST_ITEM_NONE = 0\n - ELM_GENLIST_ITEM_SUBITEMS = 1\n - ELM_GENLIST_ITEM_GROUP = 2\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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_23item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_after_item = 0;
+ int __pyx_v_flags;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__item_data,&__pyx_n_s__after_item,&__pyx_n_s__flags,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_after (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":761
+ * item_data,
+ * #API XXX: parent
+ * GenlistItem after_item=None, # <<<<<<<<<<<<<<
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None
+ */
+ values[2] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":763
+ * GenlistItem after_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE,
+ * func=None # <<<<<<<<<<<<<<
+ * #API XXX: *args, **kwargs
+ * ):
+ */
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 5, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __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__flags);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__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, "item_insert_after") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (values[3]) {
+ } else {
+ __pyx_v_flags = __pyx_k_140;
+ }
+ } 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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_item_class = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)values[0]);
+ __pyx_v_item_data = values[1];
+ __pyx_v_after_item = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)values[2]);
+ if (values[3]) {
+ __pyx_v_flags = __Pyx_PyInt_AsInt(values[3]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 762; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ } else {
+ __pyx_v_flags = __pyx_k_140;
+ }
+ __pyx_v_func = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.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_10elementary_12c_elementary_GenlistItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 758; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_after_item), __pyx_ptype_10elementary_12c_elementary_GenlistItem, 1, "after_item", 0))) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 761; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_22item_insert_after(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_after_item, __pyx_v_flags, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":757
+ * return None
+ *
+ * def item_insert_after( self, # <<<<<<<<<<<<<<
+ * GenlistItemClass item_class not None,
+ * item_data,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_22item_insert_after(struct PyElementaryGenlist *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_after_item, int __pyx_v_flags, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_after;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Object_Item *__pyx_t_2;
+ int __pyx_t_3;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":789
+ * value given as parameter to this function.
+ * """
+ * cdef GenlistItem ret = GenlistItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item, *after
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GenlistItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 789; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":793
+ * cdef Evas_Smart_Cb cb
+ *
+ * after = _object_item_from_python(after_item) # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_from_python(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_after_item)); if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_after = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":795
+ * after = _object_item_from_python(after_item)
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_3 = (__pyx_v_func == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":796
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":797
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_genlist_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); 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_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":798
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_genlist_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_genlist_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":800
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_141), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ {__pyx_filename = __pyx_f[3]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":802
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_genlist_item_insert_after(self.obj, &item_class.obj,
+ * <void*>ret,
+ */
+ __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 802; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":808
+ * after,
+ * <Elm_Genlist_Item_Type>flags, cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_genlist_item_insert_after(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), NULL, __pyx_v_after, ((Elm_Genlist_Item_Type)__pyx_v_flags), __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":809
+ * <Elm_Genlist_Item_Type>flags, cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":810
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->_set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item, NULL); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 810; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":811
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":813
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":814
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * #Elm_Object_Item *elm_genlist_item_sorted_insert(self.obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, void *func_data)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_25selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_25selected_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_10elementary_12c_elementary_7Genlist_24selected_item_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":818
+ * #Elm_Object_Item *elm_genlist_item_sorted_insert(self.obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, void *func_data)
+ *
+ * def selected_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_24selected_item_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":819
+ *
+ * def selected_item_get(self):
+ * return _object_item_to_python(elm_genlist_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 819; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_13selected_item___get__(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":822
+ *
+ * property selected_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_13selected_item___get__(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":823
+ * property selected_item:
+ * def __get__(self):
+ * return self.selected_item_get() # <<<<<<<<<<<<<<
+ *
+ * def selected_items_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 823; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_27selected_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_27selected_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_10elementary_12c_elementary_7Genlist_26selected_items_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":825
+ * return self.selected_item_get()
+ *
+ * def selected_items_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_genlist_selected_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_26selected_items_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":826
+ *
+ * def selected_items_get(self):
+ * return _object_item_list_to_python(elm_genlist_selected_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def realized_items_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_genlist_selected_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 826; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.selected_items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_29realized_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_29realized_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_10elementary_12c_elementary_7Genlist_28realized_items_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":828
+ * return _object_item_list_to_python(elm_genlist_selected_items_get(self.obj))
+ *
+ * def realized_items_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_genlist_realized_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_28realized_items_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":829
+ *
+ * def realized_items_get(self):
+ * return _object_item_list_to_python(elm_genlist_realized_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def first_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_genlist_realized_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); 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_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.realized_items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_31first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_31first_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_10elementary_12c_elementary_7Genlist_30first_item_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":831
+ * return _object_item_list_to_python(elm_genlist_realized_items_get(self.obj))
+ *
+ * def first_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_30first_item_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":832
+ *
+ * def first_item_get(self):
+ * return _object_item_to_python(elm_genlist_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); 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_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.first_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_10first_item___get__(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":835
+ *
+ * property first_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_10first_item___get__(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":836
+ * property first_item:
+ * def __get__(self):
+ * return _object_item_to_python(elm_genlist_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def last_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 836; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_33last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_33last_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_10elementary_12c_elementary_7Genlist_32last_item_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":838
+ * return _object_item_to_python(elm_genlist_first_item_get(self.obj))
+ *
+ * def last_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_32last_item_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":839
+ *
+ * def last_item_get(self):
+ * return _object_item_to_python(elm_genlist_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.last_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_9last_item___get__(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":842
+ *
+ * property last_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_9last_item___get__(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":843
+ * property last_item:
+ * def __get__(self):
+ * return _object_item_to_python(elm_genlist_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def scroller_policy_set(self, policy_h, policy_v):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 843; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_35scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_35scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_policy_h = 0;
+ PyObject *__pyx_v_policy_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__policy_h,&__pyx_n_s__policy_v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroller_policy_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("scroller_policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 845; __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 = 845; __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 = 845; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_34scroller_policy_set(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_policy_h, __pyx_v_policy_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":845
+ * return _object_item_to_python(elm_genlist_last_item_get(self.obj))
+ *
+ * def scroller_policy_set(self, policy_h, policy_v): # <<<<<<<<<<<<<<
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_34scroller_policy_set(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":846
+ *
+ * def scroller_policy_set(self, policy_h, policy_v):
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * 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 = 846; __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 = 846; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_37scroller_policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_37scroller_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_10elementary_12c_elementary_7Genlist_36scroller_policy_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":848
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ * def scroller_policy_get(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_36scroller_policy_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":850
+ * 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.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":851
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ * return (policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * def realized_items_update(self):
+ */
+ __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 = 851; __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 = 851; __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 = 851; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.scroller_policy_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_39realized_items_update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_39realized_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_10elementary_12c_elementary_7Genlist_38realized_items_update(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":853
+ * return (policy_h, policy_v)
+ *
+ * def realized_items_update(self): # <<<<<<<<<<<<<<
+ * elm_genlist_realized_items_update(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_38realized_items_update(struct PyElementaryGenlist *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("realized_items_update", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":854
+ *
+ * def realized_items_update(self):
+ * elm_genlist_realized_items_update(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def items_count(self):
+ */
+ elm_genlist_realized_items_update(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_41items_count(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_41items_count(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_count (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_40items_count(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":856
+ * elm_genlist_realized_items_update(self.obj)
+ *
+ * def items_count(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_items_count(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_40items_count(struct PyElementaryGenlist *__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("items_count", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":857
+ *
+ * def items_count(self):
+ * return elm_genlist_items_count(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_set(self, homogeneous):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyLong_FromUnsignedLong(elm_genlist_items_count(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 857; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.items_count", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_43homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_43homogeneous_set(PyObject *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_42homogeneous_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_homogeneous));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":859
+ * return elm_genlist_items_count(self.obj)
+ *
+ * def homogeneous_set(self, homogeneous): # <<<<<<<<<<<<<<
+ * elm_genlist_homogeneous_set(self.obj, bool(homogeneous))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_42homogeneous_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_homogeneous) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("homogeneous_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":860
+ *
+ * def homogeneous_set(self, homogeneous):
+ * elm_genlist_homogeneous_set(self.obj, bool(homogeneous)) # <<<<<<<<<<<<<<
+ *
+ * def homogeneous_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_homogeneous);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_homogeneous);
+ __Pyx_GIVEREF(__pyx_v_homogeneous);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_genlist_homogeneous_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.homogeneous_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_45homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_45homogeneous_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("homogeneous_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_44homogeneous_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":862
+ * elm_genlist_homogeneous_set(self.obj, bool(homogeneous))
+ *
+ * def homogeneous_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_homogeneous_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_44homogeneous_get(struct PyElementaryGenlist *__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("homogeneous_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":863
+ *
+ * def homogeneous_get(self):
+ * return bool(elm_genlist_homogeneous_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def block_count_set(self, int n):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_homogeneous_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.homogeneous_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_47block_count_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_n); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_47block_count_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_n) {
+ int __pyx_v_n;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("block_count_set (wrapper)", 0);
+ assert(__pyx_arg_n); {
+ __pyx_v_n = __Pyx_PyInt_AsInt(__pyx_arg_n); if (unlikely((__pyx_v_n == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 865; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.block_count_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_46block_count_set(((struct PyElementaryGenlist *)__pyx_v_self), ((int)__pyx_v_n));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":865
+ * return bool(elm_genlist_homogeneous_get(self.obj))
+ *
+ * def block_count_set(self, int n): # <<<<<<<<<<<<<<
+ * elm_genlist_block_count_set(self.obj, n)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_46block_count_set(struct PyElementaryGenlist *__pyx_v_self, int __pyx_v_n) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("block_count_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":866
+ *
+ * def block_count_set(self, int n):
+ * elm_genlist_block_count_set(self.obj, n) # <<<<<<<<<<<<<<
+ *
+ * def block_count_get(self):
+ */
+ elm_genlist_block_count_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_n);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_49block_count_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_49block_count_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("block_count_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_48block_count_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":868
+ * elm_genlist_block_count_set(self.obj, n)
+ *
+ * def block_count_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_block_count_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_48block_count_get(struct PyElementaryGenlist *__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("block_count_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":869
+ *
+ * def block_count_get(self):
+ * return elm_genlist_block_count_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def longpress_timeout_set(self, timeout):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_genlist_block_count_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); 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_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.block_count_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_51longpress_timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_51longpress_timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("longpress_timeout_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_50longpress_timeout_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":871
+ * return elm_genlist_block_count_get(self.obj)
+ *
+ * def longpress_timeout_set(self, timeout): # <<<<<<<<<<<<<<
+ * elm_genlist_longpress_timeout_set(self.obj, timeout)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_50longpress_timeout_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("longpress_timeout_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":872
+ *
+ * def longpress_timeout_set(self, timeout):
+ * elm_genlist_longpress_timeout_set(self.obj, timeout) # <<<<<<<<<<<<<<
+ *
+ * def longpress_timeout_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_timeout); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 872; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_longpress_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.longpress_timeout_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_53longpress_timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_53longpress_timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("longpress_timeout_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_52longpress_timeout_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":874
+ * elm_genlist_longpress_timeout_set(self.obj, timeout)
+ *
+ * def longpress_timeout_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_longpress_timeout_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_52longpress_timeout_get(struct PyElementaryGenlist *__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("longpress_timeout_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":875
+ *
+ * def longpress_timeout_get(self):
+ * return elm_genlist_longpress_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def at_xy_item_get(self, int x, int y):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_genlist_longpress_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.longpress_timeout_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_55at_xy_item_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_55at_xy_item_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ int __pyx_v_x;
+ int __pyx_v_y;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("at_xy_item_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("at_xy_item_get", 1, 2, 2, 1); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __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 = 877; __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_AsInt(values[0]); if (unlikely((__pyx_v_x == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_y = __Pyx_PyInt_AsInt(values[1]); if (unlikely((__pyx_v_y == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 877; __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 = 877; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.at_xy_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_54at_xy_item_get(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_x, __pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":877
+ * return elm_genlist_longpress_timeout_get(self.obj)
+ *
+ * def at_xy_item_get(self, int x, int y): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_at_xy_item_get(self.obj, x, y, NULL))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_54at_xy_item_get(struct PyElementaryGenlist *__pyx_v_self, int __pyx_v_x, int __pyx_v_y) {
+ 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("at_xy_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":878
+ *
+ * def at_xy_item_get(self, int x, int y):
+ * return _object_item_to_python(elm_genlist_at_xy_item_get(self.obj, x, y, NULL)) # <<<<<<<<<<<<<<
+ *
+ * def decorated_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_at_xy_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_x, __pyx_v_y, NULL)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 878; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.at_xy_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_57decorated_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_57decorated_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("decorated_item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_56decorated_item_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":880
+ * return _object_item_to_python(elm_genlist_at_xy_item_get(self.obj, x, y, NULL))
+ *
+ * def decorated_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_genlist_decorated_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_56decorated_item_get(struct PyElementaryGenlist *__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("decorated_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":881
+ *
+ * def decorated_item_get(self):
+ * return _object_item_to_python(elm_genlist_decorated_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def reorder_mode_set(self, reorder_mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_genlist_decorated_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 881; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.decorated_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_59reorder_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_reorder_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_59reorder_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_reorder_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("reorder_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_58reorder_mode_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_reorder_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":883
+ * return _object_item_to_python(elm_genlist_decorated_item_get(self.obj))
+ *
+ * def reorder_mode_set(self, reorder_mode): # <<<<<<<<<<<<<<
+ * elm_genlist_reorder_mode_set(self.obj, reorder_mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_58reorder_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_reorder_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("reorder_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":884
+ *
+ * def reorder_mode_set(self, reorder_mode):
+ * elm_genlist_reorder_mode_set(self.obj, reorder_mode) # <<<<<<<<<<<<<<
+ *
+ * def reorder_mode_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_reorder_mode); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 884; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_reorder_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.reorder_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_61reorder_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_61reorder_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("reorder_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_60reorder_mode_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":886
+ * elm_genlist_reorder_mode_set(self.obj, reorder_mode)
+ *
+ * def reorder_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_reorder_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_60reorder_mode_get(struct PyElementaryGenlist *__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("reorder_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":887
+ *
+ * def reorder_mode_get(self):
+ * return bool(elm_genlist_reorder_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def decorate_mode_set(self, decorated):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_reorder_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.reorder_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_63decorate_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_decorated); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_63decorate_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_decorated) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("decorate_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_62decorate_mode_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_decorated));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":889
+ * return bool(elm_genlist_reorder_mode_get(self.obj))
+ *
+ * def decorate_mode_set(self, decorated): # <<<<<<<<<<<<<<
+ * elm_genlist_decorate_mode_set(self.obj, decorated)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_62decorate_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_decorated) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("decorate_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":890
+ *
+ * def decorate_mode_set(self, decorated):
+ * elm_genlist_decorate_mode_set(self.obj, decorated) # <<<<<<<<<<<<<<
+ *
+ * def decorate_mode_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_decorated); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_decorate_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.decorate_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_65decorate_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_65decorate_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("decorate_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_64decorate_mode_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":892
+ * elm_genlist_decorate_mode_set(self.obj, decorated)
+ *
+ * def decorate_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_decorate_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_64decorate_mode_get(struct PyElementaryGenlist *__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("decorate_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":893
+ *
+ * def decorate_mode_get(self):
+ * return bool(elm_genlist_decorate_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def tree_effect_enabled_set(self, enabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_decorate_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); 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(1); 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);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); 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_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.decorate_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_67tree_effect_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_67tree_effect_enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tree_effect_enabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_66tree_effect_enabled_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":895
+ * return bool(elm_genlist_decorate_mode_get(self.obj))
+ *
+ * def tree_effect_enabled_set(self, enabled): # <<<<<<<<<<<<<<
+ * elm_genlist_tree_effect_enabled_set(self.obj, enabled)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_66tree_effect_enabled_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tree_effect_enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":896
+ *
+ * def tree_effect_enabled_set(self, enabled):
+ * elm_genlist_tree_effect_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def tree_effect_enabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_tree_effect_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.tree_effect_enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_69tree_effect_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_69tree_effect_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tree_effect_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_68tree_effect_enabled_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":898
+ * elm_genlist_tree_effect_enabled_set(self.obj, enabled)
+ *
+ * def tree_effect_enabled_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_tree_effect_enabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_68tree_effect_enabled_get(struct PyElementaryGenlist *__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("tree_effect_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":899
+ *
+ * def tree_effect_enabled_get(self):
+ * return bool(elm_genlist_tree_effect_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def highlight_mode_set(self, highlight):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_tree_effect_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 899; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 899; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 899; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.tree_effect_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_71highlight_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_highlight); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_71highlight_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_10elementary_12c_elementary_7Genlist_70highlight_mode_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_highlight));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":901
+ * return bool(elm_genlist_tree_effect_enabled_get(self.obj))
+ *
+ * def highlight_mode_set(self, highlight): # <<<<<<<<<<<<<<
+ * elm_genlist_highlight_mode_set(self.obj, highlight)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_70highlight_mode_set(struct PyElementaryGenlist *__pyx_v_self, PyObject *__pyx_v_highlight) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("highlight_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":902
+ *
+ * def highlight_mode_set(self, highlight):
+ * elm_genlist_highlight_mode_set(self.obj, highlight) # <<<<<<<<<<<<<<
+ *
+ * def highlight_mode_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_highlight); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 902; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_highlight_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.highlight_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_73highlight_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_73highlight_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("highlight_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_72highlight_mode_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":904
+ * elm_genlist_highlight_mode_set(self.obj, highlight)
+ *
+ * def highlight_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_genlist_highlight_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_72highlight_mode_get(struct PyElementaryGenlist *__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("highlight_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":905
+ *
+ * def highlight_mode_get(self):
+ * return bool(elm_genlist_highlight_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_set(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_genlist_highlight_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.highlight_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_75select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_75select_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_10elementary_12c_elementary_7Genlist_74select_mode_set(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":907
+ * return bool(elm_genlist_highlight_mode_get(self.obj))
+ *
+ * def select_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * elm_genlist_select_mode_set(self.obj, mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_74select_mode_set(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":908
+ *
+ * def select_mode_set(self, mode):
+ * elm_genlist_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 908; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_genlist_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_77select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_77select_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_10elementary_12c_elementary_7Genlist_76select_mode_get(((struct PyElementaryGenlist *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":910
+ * elm_genlist_select_mode_set(self.obj, mode)
+ *
+ * def select_mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_genlist_select_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_76select_mode_get(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":911
+ *
+ * def select_mode_get(self):
+ * return elm_genlist_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_genlist_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 911; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Genlist.select_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_79callback_activated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_79callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 913; __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 = 913; __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("elementary.c_elementary.Genlist.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_78callback_activated_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":913
+ * return elm_genlist_select_mode_get(self.obj)
+ *
+ * def callback_activated_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("activated", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_78callback_activated_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":914
+ *
+ * def callback_activated_add(self, func, *args, **kwargs):
+ * self._callback_add_full("activated", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":915
+ * 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 = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":914
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":915
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 914; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_81callback_activated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_81callback_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_10elementary_12c_elementary_7Genlist_80callback_activated_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":917
+ * func, *args, **kwargs)
+ *
+ * def callback_activated_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("activated", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_80callback_activated_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_activated_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":918
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 918; __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 = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_activated_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_83callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_83callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 920; __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 = 920; __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("elementary.c_elementary.Genlist.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_82callback_clicked_double_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":920
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_82callback_clicked_double_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":921
+ *
+ * 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 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":922
+ * 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 = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":921
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":922
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_85callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_85callback_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_10elementary_12c_elementary_7Genlist_84callback_clicked_double_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":924
+ * func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("clicked,double", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_84callback_clicked_double_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":925
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del_full("clicked,double", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); 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 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); 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_t_3 = PyTuple_New(3); 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_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); 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(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_87callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_87callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 927; __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 = 927; __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("elementary.c_elementary.Genlist.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_86callback_selected_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":927
+ * self._callback_del_full("clicked,double", _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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_86callback_selected_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":928
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * self._callback_add_full("selected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); 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_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":929
+ * 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 = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":928
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":929
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 928; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_89callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_89callback_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_10elementary_12c_elementary_7Genlist_88callback_selected_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":931
+ * func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_88callback_selected_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":932
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 932; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 932; __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 = 932; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 932; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_91callback_unselected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_91callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 934; __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 = 934; __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("elementary.c_elementary.Genlist.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_90callback_unselected_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":934
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_90callback_unselected_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":935
+ *
+ * def callback_unselected_add(self, func, *args, **kwargs):
+ * self._callback_add_full("unselected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":936
+ * 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 = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unselected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unselected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":935
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":936
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_93callback_unselected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_93callback_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_10elementary_12c_elementary_7Genlist_92callback_unselected_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":938
+ * func, *args, **kwargs)
+ *
+ * def callback_unselected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("unselected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_92callback_unselected_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unselected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":939
+ *
+ * def callback_unselected_del(self, func):
+ * self._callback_del_full("unselected", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 939; __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 = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unselected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unselected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_unselected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_95callback_expanded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_95callback_expanded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expanded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_expanded_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 941; __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_expanded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 941; __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("elementary.c_elementary.Genlist.callback_expanded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_94callback_expanded_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":941
+ * self._callback_del_full("unselected", _cb_object_item_conv, func)
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("expanded", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_94callback_expanded_add(struct PyElementaryGenlist *__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_expanded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":942
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expanded", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((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_GetName(__pyx_m, __pyx_n_s_99); 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":943
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expanded", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_expanded_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(((PyObject *)__pyx_n_s__expanded));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__expanded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__expanded));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":942
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expanded", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__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(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__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(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":943
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expanded", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_expanded_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__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(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_expanded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_97callback_expanded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_97callback_expanded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expanded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_96callback_expanded_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":945
+ * func, *args, **kwargs)
+ *
+ * def callback_expanded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("expanded", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_96callback_expanded_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_expanded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":946
+ *
+ * def callback_expanded_del(self, func):
+ * self._callback_del_full("expanded", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); 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_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); 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 = PyTuple_New(3); 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_INCREF(((PyObject *)__pyx_n_s__expanded));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__expanded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__expanded));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); 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_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_expanded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_99callback_contracted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_99callback_contracted_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_contracted_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_contracted_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_contracted_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("elementary.c_elementary.Genlist.callback_contracted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_98callback_contracted_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":948
+ * self._callback_del_full("expanded", _cb_object_item_conv, func)
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("contracted", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_98callback_contracted_add(struct PyElementaryGenlist *__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_contracted_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":949
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contracted", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":950
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contracted", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_contracted_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__contracted));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__contracted));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__contracted));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":949
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contracted", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":950
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contracted", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_contracted_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 949; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_contracted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_101callback_contracted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_101callback_contracted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_contracted_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_100callback_contracted_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":952
+ * func, *args, **kwargs)
+ *
+ * def callback_contracted_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("contracted", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_100callback_contracted_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_contracted_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":953
+ *
+ * def callback_contracted_del(self, func):
+ * self._callback_del_full("contracted", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_expand_request_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 953; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 953; __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 = 953; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__contracted));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__contracted));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__contracted));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 953; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_contracted_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_103callback_expand_request_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_103callback_expand_request_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expand_request_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_expand_request_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 955; __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_expand_request_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 955; __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("elementary.c_elementary.Genlist.callback_expand_request_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_102callback_expand_request_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":955
+ * self._callback_del_full("contracted", _cb_object_item_conv, func)
+ *
+ * def callback_expand_request_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("expand,request", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_102callback_expand_request_add(struct PyElementaryGenlist *__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_expand_request_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":956
+ *
+ * def callback_expand_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expand,request", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":957
+ * def callback_expand_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expand,request", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_expand_request_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_142));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_142));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_142));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":956
+ *
+ * def callback_expand_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expand,request", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":957
+ * def callback_expand_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("expand,request", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_expand_request_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_expand_request_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_105callback_expand_request_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_105callback_expand_request_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expand_request_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_104callback_expand_request_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":959
+ * func, *args, **kwargs)
+ *
+ * def callback_expand_request_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("expand,request", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_104callback_expand_request_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_expand_request_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":960
+ *
+ * def callback_expand_request_del(self, func):
+ * self._callback_del_full("expand,request", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_contract_request_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 960; __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 = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_142));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_142));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_142));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 960; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_expand_request_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_107callback_contract_request_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_107callback_contract_request_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_contract_request_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_contract_request_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 962; __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_contract_request_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 962; __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("elementary.c_elementary.Genlist.callback_contract_request_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_106callback_contract_request_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":962
+ * self._callback_del_full("expand,request", _cb_object_item_conv, func)
+ *
+ * def callback_contract_request_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("contract,request", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_106callback_contract_request_add(struct PyElementaryGenlist *__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_contract_request_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":963
+ *
+ * def callback_contract_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contract,request", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":964
+ * def callback_contract_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contract,request", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_contract_request_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_143));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_143));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_143));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":963
+ *
+ * def callback_contract_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contract,request", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":964
+ * def callback_contract_request_add(self, func, *args, **kwargs):
+ * self._callback_add_full("contract,request", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_contract_request_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 963; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_contract_request_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_109callback_contract_request_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_109callback_contract_request_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_contract_request_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_108callback_contract_request_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":966
+ * func, *args, **kwargs)
+ *
+ * def callback_contract_request_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("contract,request", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_108callback_contract_request_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_contract_request_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":967
+ *
+ * def callback_contract_request_del(self, func):
+ * self._callback_del_full("contract,request", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_realized_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 967; __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 = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_143));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_143));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_143));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 967; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_contract_request_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_111callback_realized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_111callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 969; __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 = 969; __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("elementary.c_elementary.Genlist.callback_realized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_110callback_realized_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":969
+ * self._callback_del_full("contract,request", _cb_object_item_conv, func)
+ *
+ * def callback_realized_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("realized", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_110callback_realized_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":970
+ *
+ * def callback_realized_add(self, func, *args, **kwargs):
+ * self._callback_add_full("realized", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":971
+ * def callback_realized_add(self, func, *args, **kwargs):
+ * 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 = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__realized));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__realized));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":970
+ *
+ * def callback_realized_add(self, func, *args, **kwargs):
+ * self._callback_add_full("realized", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":971
+ * def callback_realized_add(self, func, *args, **kwargs):
+ * self._callback_add_full("realized", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_realized_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 970; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_realized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_113callback_realized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_113callback_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_10elementary_12c_elementary_7Genlist_112callback_realized_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":973
+ * func, *args, **kwargs)
+ *
+ * def callback_realized_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("realized", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_112callback_realized_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_realized_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":974
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 974; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 974; __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 = 974; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__realized));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__realized));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 974; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_realized_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_115callback_unrealized_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_115callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 976; __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 = 976; __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("elementary.c_elementary.Genlist.callback_unrealized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_114callback_unrealized_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":976
+ * self._callback_del_full("realized", _cb_object_item_conv, func)
+ *
+ * def callback_unrealized_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("unrealized", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_114callback_unrealized_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":977
+ *
+ * def callback_unrealized_add(self, func, *args, **kwargs):
+ * self._callback_add_full("unrealized", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":978
+ * def callback_unrealized_add(self, func, *args, **kwargs):
+ * 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 = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unrealized));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unrealized));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":977
+ *
+ * def callback_unrealized_add(self, func, *args, **kwargs):
+ * self._callback_add_full("unrealized", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":978
+ * def callback_unrealized_add(self, func, *args, **kwargs):
+ * self._callback_add_full("unrealized", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unrealized_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_unrealized_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_117callback_unrealized_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_117callback_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_10elementary_12c_elementary_7Genlist_116callback_unrealized_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":980
+ * func, *args, **kwargs)
+ *
+ * def callback_unrealized_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("unrealized", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_116callback_unrealized_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unrealized_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":981
+ *
+ * def callback_unrealized_del(self, func):
+ * self._callback_del_full("unrealized", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_up_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 981; __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 = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unrealized));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unrealized));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_unrealized_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_119callback_drag_start_up_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_119callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 983; __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 = 983; __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("elementary.c_elementary.Genlist.callback_drag_start_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_118callback_drag_start_up_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":983
+ * self._callback_del_full("unrealized", _cb_object_item_conv, func)
+ *
+ * def callback_drag_start_up_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("drag,start,up", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_118callback_drag_start_up_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":984
+ *
+ * def callback_drag_start_up_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,up", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":985
+ * def callback_drag_start_up_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,up", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_up_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_144));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_144));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_144));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":984
+ *
+ * def callback_drag_start_up_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,up", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":985
+ * def callback_drag_start_up_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,up", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_up_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_121callback_drag_start_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_121callback_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_10elementary_12c_elementary_7Genlist_120callback_drag_start_up_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":987
+ * func, *args, **kwargs)
+ *
+ * def callback_drag_start_up_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drag,start,up", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_120callback_drag_start_up_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_start_up_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":988
+ *
+ * def callback_drag_start_up_del(self, func):
+ * self._callback_del_full("drag,start,up", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_down_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 988; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 988; __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 = 988; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_144));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_144));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_144));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 988; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_123callback_drag_start_down_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_123callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 990; __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 = 990; __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("elementary.c_elementary.Genlist.callback_drag_start_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_122callback_drag_start_down_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":990
+ * self._callback_del_full("drag,start,up", _cb_object_item_conv, func)
+ *
+ * def callback_drag_start_down_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("drag,start,down", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_122callback_drag_start_down_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":991
+ *
+ * def callback_drag_start_down_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,down", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":992
+ * def callback_drag_start_down_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,down", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_down_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_145));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_145));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_145));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":991
+ *
+ * def callback_drag_start_down_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,down", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":992
+ * def callback_drag_start_down_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,down", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_down_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_125callback_drag_start_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_125callback_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_10elementary_12c_elementary_7Genlist_124callback_drag_start_down_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":994
+ * func, *args, **kwargs)
+ *
+ * def callback_drag_start_down_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drag,start,down", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_124callback_drag_start_down_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_start_down_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":995
+ *
+ * def callback_drag_start_down_del(self, func):
+ * self._callback_del_full("drag,start,down", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_left_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 995; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 995; __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 = 995; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_145));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_145));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_145));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 995; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_127callback_drag_start_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_127callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 997; __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 = 997; __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("elementary.c_elementary.Genlist.callback_drag_start_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_126callback_drag_start_left_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":997
+ * self._callback_del_full("drag,start,down", _cb_object_item_conv, func)
+ *
+ * def callback_drag_start_left_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("drag,start,left", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_126callback_drag_start_left_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":998
+ *
+ * def callback_drag_start_left_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,left", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":999
+ * def callback_drag_start_left_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,left", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_left_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_146));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_146));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_146));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":998
+ *
+ * def callback_drag_start_left_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,left", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":999
+ * def callback_drag_start_left_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,left", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_left_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_129callback_drag_start_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_129callback_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_10elementary_12c_elementary_7Genlist_128callback_drag_start_left_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1001
+ * func, *args, **kwargs)
+ *
+ * def callback_drag_start_left_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drag,start,left", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_128callback_drag_start_left_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_start_left_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1002
+ *
+ * def callback_drag_start_left_del(self, func):
+ * self._callback_del_full("drag,start,left", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_right_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); 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_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); 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 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1002; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_146));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_146));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_146));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); 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_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_131callback_drag_start_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_131callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 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_drag_start_right_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("elementary.c_elementary.Genlist.callback_drag_start_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_130callback_drag_start_right_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1004
+ * self._callback_del_full("drag,start,left", _cb_object_item_conv, func)
+ *
+ * def callback_drag_start_right_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("drag,start,right", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_130callback_drag_start_right_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1005
+ *
+ * def callback_drag_start_right_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,right", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1006
+ * def callback_drag_start_right_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,right", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_right_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_147));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_147));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_147));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1005
+ *
+ * def callback_drag_start_right_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,right", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1006
+ * def callback_drag_start_right_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,start,right", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_start_right_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_133callback_drag_start_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_133callback_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_10elementary_12c_elementary_7Genlist_132callback_drag_start_right_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1008
+ * func, *args, **kwargs)
+ *
+ * def callback_drag_start_right_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drag,start,right", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_132callback_drag_start_right_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_start_right_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1009
+ *
+ * def callback_drag_start_right_del(self, func):
+ * self._callback_del_full("drag,start,right", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_stop_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1009; __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 = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_147));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_147));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_147));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1009; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_135callback_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_135callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1011; __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 = 1011; __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("elementary.c_elementary.Genlist.callback_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_134callback_drag_stop_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1011
+ * self._callback_del_full("drag,start,right", _cb_object_item_conv, func)
+ *
+ * def callback_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("drag,stop", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_134callback_drag_stop_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1012
+ *
+ * def callback_drag_stop_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,stop", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1013
+ * def callback_drag_stop_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,stop", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_stop_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_148));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_148));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_148));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1012
+ *
+ * def callback_drag_stop_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,stop", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1013
+ * def callback_drag_stop_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag,stop", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_stop_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_137callback_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_137callback_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_10elementary_12c_elementary_7Genlist_136callback_drag_stop_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1015
+ * func, *args, **kwargs)
+ *
+ * def callback_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drag,stop", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_136callback_drag_stop_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1016
+ *
+ * def callback_drag_stop_del(self, func):
+ * self._callback_del_full("drag,stop", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1016; __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 = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_148));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_148));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_148));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1016; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_drag_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_139callback_drag_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_139callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1018; __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 = 1018; __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("elementary.c_elementary.Genlist.callback_drag_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_138callback_drag_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1018
+ * self._callback_del_full("drag,stop", _cb_object_item_conv, func)
+ *
+ * def callback_drag_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("drag", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_138callback_drag_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1019
+ *
+ * def callback_drag_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1020
+ * def callback_drag_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__drag));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__drag));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__drag));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1019
+ *
+ * def callback_drag_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1020
+ * def callback_drag_add(self, func, *args, **kwargs):
+ * self._callback_add_full("drag", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_drag_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1019; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_drag_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_141callback_drag_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_141callback_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_10elementary_12c_elementary_7Genlist_140callback_drag_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1022
+ * func, *args, **kwargs)
+ *
+ * def callback_drag_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("drag", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_140callback_drag_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_drag_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1023
+ *
+ * def callback_drag_del(self, func):
+ * self._callback_del_full("drag", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1023; __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 = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__drag));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__drag));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__drag));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_drag_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_143callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_143callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1025; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1025; __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("elementary.c_elementary.Genlist.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_142callback_longpressed_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1025
+ * self._callback_del_full("drag", _cb_object_item_conv, func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("longpressed", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_142callback_longpressed_add(struct PyElementaryGenlist *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1026
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("longpressed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1027
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("longpressed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1026
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("longpressed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1027
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("longpressed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1026; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_145callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_145callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_144callback_longpressed_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1029
+ * func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("longpressed", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_144callback_longpressed_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1030
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del_full("longpressed", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1030; __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 = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1030; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_147callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_147callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1032; __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 = 1032; __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("elementary.c_elementary.Genlist.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_146callback_scroll_anim_start_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1032
+ * self._callback_del_full("longpressed", _cb_object_item_conv, func)
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_146callback_scroll_anim_start_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1033
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1033; __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 = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1033; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_149callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_149callback_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_10elementary_12c_elementary_7Genlist_148callback_scroll_anim_start_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1035
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_148callback_scroll_anim_start_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1036
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1036; __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 = 1036; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1036; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_151callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_151callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1038; __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 = 1038; __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("elementary.c_elementary.Genlist.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_150callback_scroll_anim_stop_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1038
+ * self._callback_del("scroll,anim,start", func)
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_150callback_scroll_anim_stop_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1039
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1039; __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 = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1039; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_153callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_153callback_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_10elementary_12c_elementary_7Genlist_152callback_scroll_anim_stop_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1041
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_152callback_scroll_anim_stop_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1042
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ * self._callback_del("scroll,anim,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1042; __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 = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_155callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_155callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1044; __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 = 1044; __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("elementary.c_elementary.Genlist.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_154callback_scroll_drag_start_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1044
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_154callback_scroll_drag_start_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1045
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1045; __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 = 1045; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1045; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1045; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1045; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_157callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_157callback_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_10elementary_12c_elementary_7Genlist_156callback_scroll_drag_start_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1047
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_156callback_scroll_drag_start_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1048
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1048; __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 = 1048; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1048; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_159callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_159callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1050; __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 = 1050; __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("elementary.c_elementary.Genlist.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_158callback_scroll_drag_stop_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1050
+ * self._callback_del("scroll,drag,start", func)
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_158callback_scroll_drag_stop_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1051
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1051; __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 = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_161callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_161callback_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_10elementary_12c_elementary_7Genlist_160callback_scroll_drag_stop_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1053
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_160callback_scroll_drag_stop_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1054
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1054; __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 = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1054; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_163callback_edge_top_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_163callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1056; __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 = 1056; __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("elementary.c_elementary.Genlist.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_162callback_edge_top_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1056
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ * def callback_edge_top_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("edge,top", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_162callback_edge_top_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1057
+ *
+ * def callback_edge_top_add(self, func, *args, **kwargs):
+ * self._callback_add("edge,top", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_top_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1057; __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 = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_67));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_67));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_67));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1057; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_edge_top_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_165callback_edge_top_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_165callback_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_10elementary_12c_elementary_7Genlist_164callback_edge_top_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1059
+ * self._callback_add("edge,top", func, *args, **kwargs)
+ *
+ * def callback_edge_top_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,top", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_164callback_edge_top_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_top_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1060
+ *
+ * def callback_edge_top_del(self, func):
+ * self._callback_del("edge,top", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); 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 = PyTuple_New(2); 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);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_67));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_67));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_67));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); 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_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_edge_top_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_167callback_edge_bottom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_167callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1062; __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 = 1062; __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("elementary.c_elementary.Genlist.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_166callback_edge_bottom_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1062
+ * self._callback_del("edge,top", func)
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("edge,bottom", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_166callback_edge_bottom_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1063
+ *
+ * def callback_edge_bottom_add(self, func, *args, **kwargs):
+ * self._callback_add("edge,bottom", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_bottom_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __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 = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_68));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_68));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_68));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1063; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_edge_bottom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_169callback_edge_bottom_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_169callback_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_10elementary_12c_elementary_7Genlist_168callback_edge_bottom_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1065
+ * self._callback_add("edge,bottom", func, *args, **kwargs)
+ *
+ * def callback_edge_bottom_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,bottom", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_168callback_edge_bottom_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_bottom_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1066
+ *
+ * def callback_edge_bottom_del(self, func):
+ * self._callback_del("edge,bottom", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __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 = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_68));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_68));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_68));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1066; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_edge_bottom_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_171callback_edge_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_171callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1068; __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 = 1068; __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("elementary.c_elementary.Genlist.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_170callback_edge_left_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1068
+ * self._callback_del("edge,bottom", func)
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("edge,left", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_170callback_edge_left_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1069
+ *
+ * def callback_edge_left_add(self, func, *args, **kwargs):
+ * self._callback_add("edge,left", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_left_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1069; __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 = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_65));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_65));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_65));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_edge_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_173callback_edge_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_173callback_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_10elementary_12c_elementary_7Genlist_172callback_edge_left_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1071
+ * self._callback_add("edge,left", func, *args, **kwargs)
+ *
+ * def callback_edge_left_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,left", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_172callback_edge_left_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_left_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1072
+ *
+ * def callback_edge_left_del(self, func):
+ * self._callback_del("edge,left", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1072; __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 = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_65));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_65));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_65));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1072; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_edge_left_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_175callback_edge_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_175callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1074; __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 = 1074; __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("elementary.c_elementary.Genlist.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_174callback_edge_right_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1074
+ * self._callback_del("edge,left", func)
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("edge,right", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_174callback_edge_right_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1075
+ *
+ * def callback_edge_right_add(self, func, *args, **kwargs):
+ * self._callback_add("edge,right", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_edge_right_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1075; __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 = 1075; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_66));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_66));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_66));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1075; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1075; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1075; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_edge_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_177callback_edge_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_177callback_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_10elementary_12c_elementary_7Genlist_176callback_edge_right_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1077
+ * self._callback_add("edge,right", func, *args, **kwargs)
+ *
+ * def callback_edge_right_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("edge,right", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_176callback_edge_right_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_edge_right_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1078
+ *
+ * def callback_edge_right_del(self, func):
+ * self._callback_del("edge,right", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_left_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1078; __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 = 1078; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_66));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_66));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_66));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1078; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_edge_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_179callback_multi_swipe_left_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_179callback_multi_swipe_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_multi_swipe_left_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1080; __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_multi_swipe_left_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1080; __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("elementary.c_elementary.Genlist.callback_multi_swipe_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_178callback_multi_swipe_left_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1080
+ * self._callback_del("edge,right", func)
+ *
+ * def callback_multi_swipe_left_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("multi,swipe,left", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_178callback_multi_swipe_left_add(struct PyElementaryGenlist *__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_multi_swipe_left_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1081
+ *
+ * def callback_multi_swipe_left_add(self, func, *args, **kwargs):
+ * self._callback_add("multi,swipe,left", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_left_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1081; __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 = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_149));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_149));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_149));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1081; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_multi_swipe_left_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_181callback_multi_swipe_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_181callback_multi_swipe_left_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_left_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_180callback_multi_swipe_left_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1083
+ * self._callback_add("multi,swipe,left", func, *args, **kwargs)
+ *
+ * def callback_multi_swipe_left_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("multi,swipe,left", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_180callback_multi_swipe_left_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_multi_swipe_left_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1084
+ *
+ * def callback_multi_swipe_left_del(self, func):
+ * self._callback_del("multi,swipe,left", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_right_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); 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_2 = PyTuple_New(2); 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_INCREF(((PyObject *)__pyx_kp_s_149));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_149));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_149));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); 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_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_multi_swipe_left_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_183callback_multi_swipe_right_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_183callback_multi_swipe_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_multi_swipe_right_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __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_multi_swipe_right_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1086; __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("elementary.c_elementary.Genlist.callback_multi_swipe_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_182callback_multi_swipe_right_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1086
+ * self._callback_del("multi,swipe,left", func)
+ *
+ * def callback_multi_swipe_right_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("multi,swipe,right", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_182callback_multi_swipe_right_add(struct PyElementaryGenlist *__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_multi_swipe_right_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1087
+ *
+ * def callback_multi_swipe_right_add(self, func, *args, **kwargs):
+ * self._callback_add("multi,swipe,right", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_right_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __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 = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_150));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_150));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_150));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1087; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_multi_swipe_right_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_185callback_multi_swipe_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_185callback_multi_swipe_right_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_right_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_184callback_multi_swipe_right_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1089
+ * self._callback_add("multi,swipe,right", func, *args, **kwargs)
+ *
+ * def callback_multi_swipe_right_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("multi,swipe,right", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_184callback_multi_swipe_right_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_multi_swipe_right_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1090
+ *
+ * def callback_multi_swipe_right_del(self, func):
+ * self._callback_del("multi,swipe,right", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_up_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1090; __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 = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_150));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_150));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_150));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1090; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_multi_swipe_right_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_187callback_multi_swipe_up_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_187callback_multi_swipe_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_multi_swipe_up_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1092; __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_multi_swipe_up_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1092; __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("elementary.c_elementary.Genlist.callback_multi_swipe_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_186callback_multi_swipe_up_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1092
+ * self._callback_del("multi,swipe,right", func)
+ *
+ * def callback_multi_swipe_up_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("multi,swipe,up", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_186callback_multi_swipe_up_add(struct PyElementaryGenlist *__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_multi_swipe_up_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1093
+ *
+ * def callback_multi_swipe_up_add(self, func, *args, **kwargs):
+ * self._callback_add("multi,swipe,up", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_up_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); 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 = PyTuple_New(2); 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_INCREF(((PyObject *)__pyx_kp_s_151));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_151));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_151));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1093; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1093; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); 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_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_multi_swipe_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_189callback_multi_swipe_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_189callback_multi_swipe_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_up_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_188callback_multi_swipe_up_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1095
+ * self._callback_add("multi,swipe,up", func, *args, **kwargs)
+ *
+ * def callback_multi_swipe_up_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("multi,swipe,up", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_188callback_multi_swipe_up_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_multi_swipe_up_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1096
+ *
+ * def callback_multi_swipe_up_del(self, func):
+ * self._callback_del("multi,swipe,up", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_down_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1096; __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 = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_151));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_151));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_151));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1096; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_multi_swipe_up_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_191callback_multi_swipe_down_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_191callback_multi_swipe_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_multi_swipe_down_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1098; __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_multi_swipe_down_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1098; __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("elementary.c_elementary.Genlist.callback_multi_swipe_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_190callback_multi_swipe_down_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1098
+ * self._callback_del("multi,swipe,up", func)
+ *
+ * def callback_multi_swipe_down_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("multi,swipe,down", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_190callback_multi_swipe_down_add(struct PyElementaryGenlist *__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_multi_swipe_down_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1099
+ *
+ * def callback_multi_swipe_down_add(self, func, *args, **kwargs):
+ * self._callback_add("multi,swipe,down", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_swipe_down_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1099; __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 = 1099; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_152));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_152));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_152));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1099; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1099; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1099; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_multi_swipe_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_193callback_multi_swipe_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_193callback_multi_swipe_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_swipe_down_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_192callback_multi_swipe_down_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1101
+ * self._callback_add("multi,swipe,down", func, *args, **kwargs)
+ *
+ * def callback_multi_swipe_down_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("multi,swipe,down", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_192callback_multi_swipe_down_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_multi_swipe_down_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1102
+ *
+ * def callback_multi_swipe_down_del(self, func):
+ * self._callback_del("multi,swipe,down", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_pinch_out_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1102; __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 = 1102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_152));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_152));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_152));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_multi_swipe_down_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_195callback_multi_pinch_out_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_195callback_multi_pinch_out_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_pinch_out_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_multi_pinch_out_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1104; __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_multi_pinch_out_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1104; __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("elementary.c_elementary.Genlist.callback_multi_pinch_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_194callback_multi_pinch_out_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1104
+ * self._callback_del("multi,swipe,down", func)
+ *
+ * def callback_multi_pinch_out_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("multi,pinch,out", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_194callback_multi_pinch_out_add(struct PyElementaryGenlist *__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_multi_pinch_out_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1105
+ *
+ * def callback_multi_pinch_out_add(self, func, *args, **kwargs):
+ * self._callback_add("multi,pinch,out", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_pinch_out_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1105; __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 = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_153));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_153));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_153));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_multi_pinch_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_197callback_multi_pinch_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_197callback_multi_pinch_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_pinch_out_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_196callback_multi_pinch_out_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1107
+ * self._callback_add("multi,pinch,out", func, *args, **kwargs)
+ *
+ * def callback_multi_pinch_out_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("multi,pinch,out", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_196callback_multi_pinch_out_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_multi_pinch_out_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1108
+ *
+ * def callback_multi_pinch_out_del(self, func):
+ * self._callback_del("multi,pinch,out", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_pinch_in_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1108; __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 = 1108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_153));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_153));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_153));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_multi_pinch_out_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_199callback_multi_pinch_in_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_199callback_multi_pinch_in_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_pinch_in_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_multi_pinch_in_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1110; __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_multi_pinch_in_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1110; __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("elementary.c_elementary.Genlist.callback_multi_pinch_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_198callback_multi_pinch_in_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1110
+ * self._callback_del("multi,pinch,out", func)
+ *
+ * def callback_multi_pinch_in_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("multi,pinch,in", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_198callback_multi_pinch_in_add(struct PyElementaryGenlist *__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_multi_pinch_in_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1111
+ *
+ * def callback_multi_pinch_in_add(self, func, *args, **kwargs):
+ * self._callback_add("multi,pinch,in", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_multi_pinch_in_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1111; __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 = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_154));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_154));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_154));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_multi_pinch_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_201callback_multi_pinch_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_201callback_multi_pinch_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_multi_pinch_in_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_200callback_multi_pinch_in_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1113
+ * self._callback_add("multi,pinch,in", func, *args, **kwargs)
+ *
+ * def callback_multi_pinch_in_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("multi,pinch,in", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_200callback_multi_pinch_in_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_multi_pinch_in_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1114
+ *
+ * def callback_multi_pinch_in_del(self, func):
+ * self._callback_del("multi,pinch,in", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_swipe_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1114; __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 = 1114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_154));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_154));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_154));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_multi_pinch_in_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_203callback_swipe_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_203callback_swipe_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_swipe_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_swipe_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1116; __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_swipe_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1116; __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("elementary.c_elementary.Genlist.callback_swipe_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_202callback_swipe_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1116
+ * self._callback_del("multi,pinch,in", func)
+ *
+ * def callback_swipe_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("swipe", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_202callback_swipe_add(struct PyElementaryGenlist *__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_swipe_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1117
+ *
+ * def callback_swipe_add(self, func, *args, **kwargs):
+ * self._callback_add("swipe", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_swipe_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1117; __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 = 1117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__swipe));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__swipe));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__swipe));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_swipe_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_205callback_swipe_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_205callback_swipe_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_swipe_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_204callback_swipe_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1119
+ * self._callback_add("swipe", func, *args, **kwargs)
+ *
+ * def callback_swipe_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("swipe", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_204callback_swipe_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_swipe_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1120
+ *
+ * def callback_swipe_del(self, func):
+ * self._callback_del("swipe", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1120; __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 = 1120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__swipe));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__swipe));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__swipe));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_swipe_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_207callback_moved_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_207callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1122; __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 = 1122; __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("elementary.c_elementary.Genlist.callback_moved_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_206callback_moved_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1122
+ * self._callback_del("swipe", func)
+ *
+ * def callback_moved_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("moved", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_206callback_moved_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1123
+ *
+ * def callback_moved_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1124
+ * def callback_moved_add(self, func, *args, **kwargs):
+ * 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 = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__moved));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__moved));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1123
+ *
+ * def callback_moved_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1124
+ * def callback_moved_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_moved_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_209callback_moved_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_209callback_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_10elementary_12c_elementary_7Genlist_208callback_moved_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1126
+ * func, *args, **kwargs)
+ *
+ * def callback_moved_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("moved", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_208callback_moved_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_moved_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1127
+ *
+ * def callback_moved_del(self, func):
+ * self._callback_del_full("moved", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_after_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1127; __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 = 1127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__moved));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__moved));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_moved_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_211callback_moved_after_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_211callback_moved_after_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_moved_after_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_after_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1129; __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_after_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1129; __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("elementary.c_elementary.Genlist.callback_moved_after_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_210callback_moved_after_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1129
+ * self._callback_del_full("moved", _cb_object_item_conv, func)
+ *
+ * def callback_moved_after_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("moved,after", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_210callback_moved_after_add(struct PyElementaryGenlist *__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_after_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1130
+ *
+ * def callback_moved_after_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,after", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1131
+ * def callback_moved_after_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,after", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_after_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_155));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_155));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_155));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1130
+ *
+ * def callback_moved_after_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,after", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1131
+ * def callback_moved_after_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,after", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_after_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_moved_after_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_213callback_moved_after_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_213callback_moved_after_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_moved_after_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_212callback_moved_after_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1133
+ * func, *args, **kwargs)
+ *
+ * def callback_moved_after_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("moved,after", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_212callback_moved_after_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_moved_after_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1134
+ *
+ * def callback_moved_after_del(self, func):
+ * self._callback_del_full("moved,after", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_before_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1134; __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 = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_155));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_155));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_155));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_moved_after_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_215callback_moved_before_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_215callback_moved_before_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_moved_before_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_before_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1136; __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_before_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1136; __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("elementary.c_elementary.Genlist.callback_moved_before_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_214callback_moved_before_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1136
+ * self._callback_del_full("moved,after", _cb_object_item_conv, func)
+ *
+ * def callback_moved_before_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("moved,before", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_214callback_moved_before_add(struct PyElementaryGenlist *__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_before_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1137
+ *
+ * def callback_moved_before_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,before", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1138
+ * def callback_moved_before_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,before", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_before_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_156));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_156));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_156));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1137
+ *
+ * def callback_moved_before_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,before", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1138
+ * def callback_moved_before_add(self, func, *args, **kwargs):
+ * self._callback_add_full("moved,before", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_before_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_moved_before_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_217callback_moved_before_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_217callback_moved_before_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_moved_before_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_216callback_moved_before_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1140
+ * func, *args, **kwargs)
+ *
+ * def callback_moved_before_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("moved,before", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_216callback_moved_before_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_moved_before_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1141
+ *
+ * def callback_moved_before_del(self, func):
+ * self._callback_del_full("moved,before", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1141; __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 = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_156));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_156));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_156));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_moved_before_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_219callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_219callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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 = 1143; __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 = 1143; __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("elementary.c_elementary.Genlist.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_218callback_language_changed_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1143
+ * self._callback_del_full("moved,before", _cb_object_item_conv, func)
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_218callback_language_changed_add(struct PyElementaryGenlist *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1144
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1144; __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 = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_221callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_221callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_220callback_language_changed_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1146
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_220callback_language_changed_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1147
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_tree_effect_finished_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1147; __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 = 1147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_223callback_tree_effect_finished_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_223callback_tree_effect_finished_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tree_effect_finished_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_tree_effect_finished_add") < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1149; __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_tree_effect_finished_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1149; __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("elementary.c_elementary.Genlist.callback_tree_effect_finished_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_222callback_tree_effect_finished_add(((struct PyElementaryGenlist *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1149
+ * self._callback_del("language,changed", func)
+ *
+ * def callback_tree_effect_finished_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("tree,effect,finished", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_222callback_tree_effect_finished_add(struct PyElementaryGenlist *__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_tree_effect_finished_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1150
+ *
+ * def callback_tree_effect_finished_add(self, func, *args, **kwargs):
+ * self._callback_add("tree,effect,finished", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_tree_effect_finished_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1150; __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 = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_157));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_157));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_157));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Genlist.callback_tree_effect_finished_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_225callback_tree_effect_finished_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Genlist_225callback_tree_effect_finished_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tree_effect_finished_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Genlist_224callback_tree_effect_finished_del(((struct PyElementaryGenlist *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1152
+ * self._callback_add("tree,effect,finished", func, *args, **kwargs)
+ *
+ * def callback_tree_effect_finished_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("tree,effect,finished", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Genlist_224callback_tree_effect_finished_del(struct PyElementaryGenlist *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_tree_effect_finished_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1153
+ *
+ * def callback_tree_effect_finished_del(self, func):
+ * self._callback_del("tree,effect,finished", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("genlist", Genlist)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1153; __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 = 1153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_157));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_157));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_157));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Genlist.callback_tree_effect_finished_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":21
+ * import traceback
+ *
+ * cdef _py_elm_gengrid_item_call(func, Evas_Object *obj, part, data) with gil: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+
+ static PyObject *__pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_call(PyObject *__pyx_v_func, Evas_Object *__pyx_v_obj, PyObject *__pyx_v_part, PyObject *__pyx_v_data) {
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ 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;
+ const char * __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ int __pyx_t_7;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_call", 0);
+ __Pyx_INCREF(__pyx_v_func);
+ __Pyx_INCREF(__pyx_v_part);
+ __Pyx_INCREF(__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":22
+ *
+ * cdef _py_elm_gengrid_item_call(func, Evas_Object *obj, part, data) with gil:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * return func(o, _ctouni(part), data)
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_1);
+ __Pyx_XGOTREF(__pyx_t_2);
+ __Pyx_XGOTREF(__pyx_t_3);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":23
+ * cdef _py_elm_gengrid_item_call(func, Evas_Object *obj, part, data) with gil:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * return func(o, _ctouni(part), data)
+ * except Exception as e:
+ */
+ __pyx_t_4 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":24
+ * try:
+ * o = Object_from_instance(obj)
+ * return func(o, _ctouni(part), data) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_5 = PyBytes_AsString(__pyx_v_part); if (unlikely((__pyx_t_5 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_t_4 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_data);
+ PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_v_data);
+ __Pyx_GIVEREF(__pyx_v_data);
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __pyx_r = __pyx_t_4;
+ __pyx_t_4 = 0;
+ goto __pyx_L7_try_return;
+ }
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L10_try_end;
+ __pyx_L7_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L3_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":25
+ * o = Object_from_instance(obj)
+ * return func(o, _ctouni(part), data)
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return None
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_gengrid_item_call", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":26
+ * return func(o, _ctouni(part), data)
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":27
+ * except Exception as e:
+ * traceback.print_exc()
+ * return None # <<<<<<<<<<<<<<
+ *
+ * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_except_return;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L4_exception_handled;
+ }
+ __pyx_L5_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L1_error;
+ __pyx_L6_except_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L4_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ __pyx_L10_try_end:;
+ }
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_gengrid_item_call", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_part);
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":29
+ * return None
+ *
+ * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil: # <<<<<<<<<<<<<<
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static char *__pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_text_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, const char * __pyx_v_part) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ char *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = 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_text_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":30
+ *
+ * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GengridItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef GengridItemClass itc = params[0]
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GengridItem))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":31
+ * cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef GengridItemClass itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":32
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params
+ * cdef GengridItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._text_get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 32; __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_10elementary_12c_elementary_GengridItemClass))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":34
+ * cdef GengridItemClass itc = params[0]
+ *
+ * func = itc._text_get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return NULL
+ */
+ __Pyx_INCREF(__pyx_v_itc->_text_get_func);
+ __pyx_v_func = __pyx_v_itc->_text_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":35
+ *
+ * func = itc._text_get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return NULL
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":36
+ * func = itc._text_get_func
+ * if func is None:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":38
+ * return NULL
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * return strdup(_fruni(ret))
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_call(__pyx_v_func, __pyx_v_obj, ((PyObject *)__pyx_t_1), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":39
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * return strdup(_fruni(ret))
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":40
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ * if ret is not None:
+ * return strdup(_fruni(ret)) # <<<<<<<<<<<<<<
+ * else:
+ * return NULL
+ */
+ __pyx_r = strdup(__pyx_f_10elementary_12c_elementary__fruni(__pyx_v_ret));
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":42
+ * return strdup(_fruni(ret))
+ * else:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_gengrid_item_text_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":44
+ * return NULL
+ *
+ * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil: # <<<<<<<<<<<<<<
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static Evas_Object *__pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_content_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, const char * __pyx_v_part) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ Evas_Object *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ int __pyx_t_8;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":45
+ *
+ * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GengridItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef evasObject icon
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GengridItem))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":46
+ * cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef evasObject icon
+ * cdef GengridItemClass itc = params[0]
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":48
+ * cdef object params = item.params
+ * cdef evasObject icon
+ * cdef GengridItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._content_get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 48; __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_10elementary_12c_elementary_GengridItemClass))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":50
+ * cdef GengridItemClass itc = params[0]
+ *
+ * func = itc._content_get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return NULL
+ */
+ __Pyx_INCREF(__pyx_v_itc->_content_get_func);
+ __pyx_v_func = __pyx_v_itc->_content_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":51
+ *
+ * func = itc._content_get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return NULL
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":52
+ * func = itc._content_get_func
+ * if func is None:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":54
+ * return NULL
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * try:
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_call(__pyx_v_func, __pyx_v_obj, ((PyObject *)__pyx_t_1), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":55
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * try:
+ * icon = ret
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":56
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ * if ret is not None:
+ * try: # <<<<<<<<<<<<<<
+ * icon = ret
+ * return icon.obj
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":57
+ * if ret is not None:
+ * try:
+ * icon = ret # <<<<<<<<<<<<<<
+ * return icon.obj
+ * except Exception as e:
+ */
+ if (!(likely(((__pyx_v_ret) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_ret, __pyx_ptype_4evas_6c_evas_Object))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_v_icon = ((struct PyEvasObject *)__pyx_v_ret);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":58
+ * try:
+ * icon = ret
+ * return icon.obj # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_r = __pyx_v_icon->obj;
+ goto __pyx_L9_try_return;
+ }
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L9_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ goto __pyx_L0;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":59
+ * icon = ret
+ * return icon.obj
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return NULL
+ */
+ __pyx_t_8 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_8) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_gengrid_item_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_1) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_v_e = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":60
+ * return icon.obj
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return NULL
+ * else:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":61
+ * except Exception as e:
+ * traceback.print_exc()
+ * return NULL # <<<<<<<<<<<<<<
+ * else:
+ * return NULL
+ */
+ __pyx_r = NULL;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L8_except_return;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ goto __pyx_L1_error;
+ __pyx_L8_except_return:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ goto __pyx_L0;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
+ __pyx_L12_try_end:;
+ }
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":63
+ * return NULL
+ * else:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_gengrid_item_content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_icon);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":65
+ * return NULL
+ *
+ * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil: # <<<<<<<<<<<<<<
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static Eina_Bool __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_state_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj, const char * __pyx_v_part) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ Eina_Bool __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ Eina_Bool __pyx_t_5;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":66
+ *
+ * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GengridItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef GengridItemClass itc = params[0]
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GengridItem))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":67
+ * cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef GengridItemClass itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":68
+ * cdef GengridItem item = <object>data
+ * cdef object params = item.params
+ * cdef GengridItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._state_get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 68; __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_10elementary_12c_elementary_GengridItemClass))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":70
+ * cdef GengridItemClass itc = params[0]
+ *
+ * func = itc._state_get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return False
+ */
+ __Pyx_INCREF(__pyx_v_itc->_state_get_func);
+ __pyx_v_func = __pyx_v_itc->_state_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":71
+ *
+ * func = itc._state_get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return False
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":72
+ * func = itc._state_get_func
+ * if func is None:
+ * return False # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":74
+ * return False
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * return bool(ret)
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_part); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_call(__pyx_v_func, __pyx_v_obj, ((PyObject *)__pyx_t_1), __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":75
+ *
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * return bool(ret)
+ * else:
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":76
+ * ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ * if ret is not None:
+ * return bool(ret) # <<<<<<<<<<<<<<
+ * else:
+ * return False
+ */
+ __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_ret);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_ret);
+ __Pyx_GIVEREF(__pyx_v_ret);
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_3); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_5;
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":78
+ * return bool(ret)
+ * else:
+ * return False # <<<<<<<<<<<<<<
+ *
+ * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_gengrid_item_state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":80
+ * return False
+ *
+ * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil: # <<<<<<<<<<<<<<
+ * cdef GengridItem item = <object>data
+ * cdef object params
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__py_elm_gengrid_object_item_del(void *__pyx_v_data, Evas_Object *__pyx_v_obj) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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_t_7;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":81
+ *
+ * cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:
+ * cdef GengridItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params
+ * cdef GengridItemClass itc
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GengridItem))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":85
+ * cdef GengridItemClass itc
+ *
+ * if item is None: # <<<<<<<<<<<<<<
+ * return
+ *
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_item) == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":86
+ *
+ * if item is None:
+ * return # <<<<<<<<<<<<<<
+ *
+ * params = item.params
+ */
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":88
+ * return
+ *
+ * params = item.params # <<<<<<<<<<<<<<
+ * itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":89
+ *
+ * params = item.params
+ * itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._del_func
+ */
+ __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_10elementary_12c_elementary_GengridItemClass))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":91
+ * itc = params[0]
+ *
+ * func = itc._del_func # <<<<<<<<<<<<<<
+ * if func is not None:
+ * try:
+ */
+ __Pyx_INCREF(__pyx_v_itc->_del_func);
+ __pyx_v_func = __pyx_v_itc->_del_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":92
+ *
+ * func = itc._del_func
+ * if func is not None: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+ __pyx_t_1 = (__pyx_v_func != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":93
+ * func = itc._del_func
+ * if func is not None:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * func(o, params[1])
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_5);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":94
+ * if func is not None:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * func(o, params[1])
+ * except Exception as e:
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":95
+ * try:
+ * o = Object_from_instance(obj)
+ * func(o, params[1]) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_2) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ }
+ __Pyx_XDECREF(__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;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":96
+ * o = Object_from_instance(obj)
+ * func(o, params[1])
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * item._unset_obj()
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_gengrid_object_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":97
+ * func(o, params[1])
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * item._unset_obj()
+ * Py_DECREF(item)
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ __pyx_L12_try_end:;
+ }
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":98
+ * except Exception as e:
+ * traceback.print_exc()
+ * item._unset_obj() # <<<<<<<<<<<<<<
+ * Py_DECREF(item)
+ *
+ */
+ ((struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem *)__pyx_v_item->__pyx_base.__pyx_vtab)->_unset_obj(__pyx_v_item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":99
+ * traceback.print_exc()
+ * item._unset_obj()
+ * Py_DECREF(item) # <<<<<<<<<<<<<<
+ *
+ * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_item));
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_gengrid_object_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":101
+ * Py_DECREF(item)
+ *
+ * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil: # <<<<<<<<<<<<<<
+ * cdef GengridItem item = <object>data
+ * cdef object func = item.params[2]
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_func(void *__pyx_v_data, Evas_Object *__pyx_v_obj, CYTHON_UNUSED void *__pyx_v_event_info) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_func = 0;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":102
+ *
+ * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ * cdef GengridItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object func = item.params[2]
+ *
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_GengridItem))))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":103
+ * cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ * cdef GengridItem item = <object>data
+ * cdef object func = item.params[2] # <<<<<<<<<<<<<<
+ *
+ * if func is not None:
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_item->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_func = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":105
+ * cdef object func = item.params[2]
+ *
+ * if func is not None: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+ __pyx_t_2 = (__pyx_v_func != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":106
+ *
+ * if func is not None:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * func(item, o, item.params[1])
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_5);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":107
+ * if func is not None:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * func(item, o, item.params[1])
+ * except Exception as e:
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":108
+ * try:
+ * o = Object_from_instance(obj)
+ * func(item, o, item.params[1]) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_item->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item));
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ }
+ __Pyx_XDECREF(__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;
+ goto __pyx_L11_try_end;
+ __pyx_L4_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":109
+ * o = Object_from_instance(obj)
+ * func(item, o, item.params[1])
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_gengrid_item_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":110
+ * func(item, o, item.params[1])
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef class GengridItemClass:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L5_exception_handled;
+ }
+ __pyx_L6_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ goto __pyx_L1_error;
+ __pyx_L5_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ __pyx_L11_try_end:;
+ }
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_gengrid_item_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16GengridItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16GengridItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_a = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_ka = 0;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
+ if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 1))) return -1;
+ __pyx_v_ka = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
+ if (unlikely(!__pyx_v_ka)) return -1;
+ __Pyx_GOTREF(__pyx_v_ka);
+ __Pyx_INCREF(__pyx_args);
+ __pyx_v_a = __pyx_args;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass___cinit__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self), __pyx_v_a, __pyx_v_ka);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":131
+ * cdef readonly object _del_func
+ *
+ * def __cinit__(self, *a, **ka): # <<<<<<<<<<<<<<
+ * self._item_style = "default"
+ * self._text_get_func = None
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16GengridItemClass___cinit__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":132
+ *
+ * def __cinit__(self, *a, **ka):
+ * self._item_style = "default" # <<<<<<<<<<<<<<
+ * self._text_get_func = None
+ * self._content_get_func = None
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__default));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__default));
+ __Pyx_GOTREF(__pyx_v_self->_item_style);
+ __Pyx_DECREF(__pyx_v_self->_item_style);
+ __pyx_v_self->_item_style = ((PyObject *)__pyx_n_s__default);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":133
+ * def __cinit__(self, *a, **ka):
+ * self._item_style = "default"
+ * self._text_get_func = None # <<<<<<<<<<<<<<
+ * self._content_get_func = None
+ * self._state_get_func = None
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_text_get_func);
+ __Pyx_DECREF(__pyx_v_self->_text_get_func);
+ __pyx_v_self->_text_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":134
+ * self._item_style = "default"
+ * self._text_get_func = None
+ * self._content_get_func = None # <<<<<<<<<<<<<<
+ * self._state_get_func = None
+ * self._del_func = None
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_content_get_func);
+ __Pyx_DECREF(__pyx_v_self->_content_get_func);
+ __pyx_v_self->_content_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":135
+ * self._text_get_func = None
+ * self._content_get_func = None
+ * self._state_get_func = None # <<<<<<<<<<<<<<
+ * self._del_func = None
+ *
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_state_get_func);
+ __Pyx_DECREF(__pyx_v_self->_state_get_func);
+ __pyx_v_self->_state_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":136
+ * self._content_get_func = None
+ * self._state_get_func = None
+ * self._del_func = None # <<<<<<<<<<<<<<
+ *
+ * self.obj.item_style = NULL
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_del_func);
+ __Pyx_DECREF(__pyx_v_self->_del_func);
+ __pyx_v_self->_del_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":138
+ * self._del_func = None
+ *
+ * self.obj.item_style = NULL # <<<<<<<<<<<<<<
+ * self.obj.func.text_get = _py_elm_gengrid_item_text_get
+ * self.obj.func.content_get = _py_elm_gengrid_item_content_get
+ */
+ __pyx_v_self->obj.item_style = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":139
+ *
+ * self.obj.item_style = NULL
+ * self.obj.func.text_get = _py_elm_gengrid_item_text_get # <<<<<<<<<<<<<<
+ * self.obj.func.content_get = _py_elm_gengrid_item_content_get
+ * self.obj.func.state_get = _py_elm_gengrid_item_state_get
+ */
+ __pyx_v_self->obj.func.text_get = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_text_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":140
+ * self.obj.item_style = NULL
+ * self.obj.func.text_get = _py_elm_gengrid_item_text_get
+ * self.obj.func.content_get = _py_elm_gengrid_item_content_get # <<<<<<<<<<<<<<
+ * self.obj.func.state_get = _py_elm_gengrid_item_state_get
+ * self.obj.func.del_ = _py_elm_gengrid_object_item_del
+ */
+ __pyx_v_self->obj.func.content_get = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_content_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":141
+ * self.obj.func.text_get = _py_elm_gengrid_item_text_get
+ * self.obj.func.content_get = _py_elm_gengrid_item_content_get
+ * self.obj.func.state_get = _py_elm_gengrid_item_state_get # <<<<<<<<<<<<<<
+ * self.obj.func.del_ = _py_elm_gengrid_object_item_del
+ *
+ */
+ __pyx_v_self->obj.func.state_get = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_state_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":142
+ * self.obj.func.content_get = _py_elm_gengrid_item_content_get
+ * self.obj.func.state_get = _py_elm_gengrid_item_state_get
+ * self.obj.func.del_ = _py_elm_gengrid_object_item_del # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, item_style=None, text_get_func=None,
+ */
+ __pyx_v_self->obj.func.del = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_object_item_del;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16GengridItemClass_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GengridItemClass_2__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 L{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 C{func(obj, part, item_data) -> str}\n\n @param content_get_func: if provided will override the behavior\n defined by L{content_get()} in this class. Its purpose is\n to return the icon object to be used (swalloed) by a\n given part and row. This function should have the\n signature:\n C{func(obj, part, item_data) -> obj}\n\n @param state_get_func: if provided will override the\n behavior defined by L{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 C{func(obj, part, item_data) -> bool}\n\n @param del_func: if provided will override the behavior\n defined by C{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 C{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 ";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_16GengridItemClass_2__init__;
+ static int __pyx_pw_10elementary_12c_elementary_16GengridItemClass_3__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;
+ 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};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":144
+ * self.obj.func.del_ = _py_elm_gengrid_object_item_del
+ *
+ * def __init__(self, item_style=None, text_get_func=None, # <<<<<<<<<<<<<<
+ * content_get_func=None, state_get_func=None, del_func=None):
+ * """GengridItemClass constructor.
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((PyObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":145
+ *
+ * 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[35]; __pyx_lineno = 144; __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[35]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_2__init__(((struct __pyx_obj_10elementary_12c_elementary_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);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":144
+ * self.obj.func.del_ = _py_elm_gengrid_object_item_del
+ *
+ * def __init__(self, item_style=None, text_get_func=None, # <<<<<<<<<<<<<<
+ * content_get_func=None, state_get_func=None, del_func=None):
+ * """GengridItemClass constructor.
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16GengridItemClass_2__init__(struct __pyx_obj_10elementary_12c_elementary_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;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_t_9;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":183
+ * methods, it should represent your item model as you want.
+ * """
+ * if item_style: # <<<<<<<<<<<<<<
+ * self._item_style = item_style
+ *
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_item_style); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":184
+ * """
+ * if item_style:
+ * self._item_style = item_style # <<<<<<<<<<<<<<
+ *
+ * if text_get_func and not callable(text_get_func):
+ */
+ __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;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":186
+ * self._item_style = item_style
+ *
+ * if text_get_func and not callable(text_get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("text_get_func is not callable!")
+ * elif text_get_func:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_text_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_text_get_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_text_get_func);
+ __Pyx_GIVEREF(__pyx_v_text_get_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_5 = (!__pyx_t_4);
+ __pyx_t_4 = __pyx_t_5;
+ } else {
+ __pyx_t_4 = __pyx_t_1;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":187
+ *
+ * if text_get_func and not callable(text_get_func):
+ * raise TypeError("text_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif text_get_func:
+ * self._text_get_func = text_get_func
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_158), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 187; __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[35]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":188
+ * if text_get_func and not callable(text_get_func):
+ * raise TypeError("text_get_func is not callable!")
+ * elif text_get_func: # <<<<<<<<<<<<<<
+ * self._text_get_func = text_get_func
+ * else:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_text_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":189
+ * raise TypeError("text_get_func is not callable!")
+ * elif text_get_func:
+ * self._text_get_func = text_get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._text_get_func = self.text_get
+ */
+ __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*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":191
+ * self._text_get_func = text_get_func
+ * else:
+ * self._text_get_func = self.text_get # <<<<<<<<<<<<<<
+ *
+ * if content_get_func and not callable(content_get_func):
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 191; __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_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":193
+ * self._text_get_func = self.text_get
+ *
+ * if content_get_func and not callable(content_get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("content_get_func is not callable!")
+ * elif content_get_func:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_content_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_content_get_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_content_get_func);
+ __Pyx_GIVEREF(__pyx_v_content_get_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_5 = (!__pyx_t_1);
+ __pyx_t_1 = __pyx_t_5;
+ } else {
+ __pyx_t_1 = __pyx_t_4;
+ }
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":194
+ *
+ * if content_get_func and not callable(content_get_func):
+ * raise TypeError("content_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif content_get_func:
+ * self._content_get_func = content_get_func
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_159), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":195
+ * if content_get_func and not callable(content_get_func):
+ * raise TypeError("content_get_func is not callable!")
+ * elif content_get_func: # <<<<<<<<<<<<<<
+ * self._content_get_func = content_get_func
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_content_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":196
+ * raise TypeError("content_get_func is not callable!")
+ * elif content_get_func:
+ * self._content_get_func = content_get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._content_get_func = self.content_get
+ */
+ __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_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":198
+ * self._content_get_func = content_get_func
+ * else:
+ * self._content_get_func = self.content_get # <<<<<<<<<<<<<<
+ *
+ * if state_get_func and not callable(state_get_func):
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_get); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_v_self->_content_get_func);
+ __Pyx_DECREF(__pyx_v_self->_content_get_func);
+ __pyx_v_self->_content_get_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":200
+ * self._content_get_func = self.content_get
+ *
+ * if state_get_func and not callable(state_get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("state_get_func is not callable!")
+ * elif state_get_func:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_state_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_state_get_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_state_get_func);
+ __Pyx_GIVEREF(__pyx_v_state_get_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_5 = (!__pyx_t_4);
+ __pyx_t_4 = __pyx_t_5;
+ } else {
+ __pyx_t_4 = __pyx_t_1;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":201
+ *
+ * if state_get_func and not callable(state_get_func):
+ * raise TypeError("state_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif state_get_func:
+ * self._state_get_func = state_get_func
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_160), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 201; __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[35]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L6;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":202
+ * if state_get_func and not callable(state_get_func):
+ * raise TypeError("state_get_func is not callable!")
+ * elif state_get_func: # <<<<<<<<<<<<<<
+ * self._state_get_func = state_get_func
+ * else:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_state_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":203
+ * raise TypeError("state_get_func is not callable!")
+ * elif state_get_func:
+ * self._state_get_func = state_get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._state_get_func = self.state_get
+ */
+ __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_L6;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":205
+ * self._state_get_func = state_get_func
+ * else:
+ * self._state_get_func = self.state_get # <<<<<<<<<<<<<<
+ *
+ * if del_func and not callable(del_func):
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__state_get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 205; __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_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":207
+ * self._state_get_func = self.state_get
+ *
+ * if del_func and not callable(del_func): # <<<<<<<<<<<<<<
+ * raise TypeError("del_func is not callable!")
+ * elif del_func:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_del_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_del_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_del_func);
+ __Pyx_GIVEREF(__pyx_v_del_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_5 = (!__pyx_t_1);
+ __pyx_t_1 = __pyx_t_5;
+ } else {
+ __pyx_t_1 = __pyx_t_4;
+ }
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":208
+ *
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!") # <<<<<<<<<<<<<<
+ * elif del_func:
+ * self._del_func = del_func
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_161), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L7;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":209
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!")
+ * elif del_func: # <<<<<<<<<<<<<<
+ * self._del_func = del_func
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_del_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":210
+ * raise TypeError("del_func is not callable!")
+ * elif del_func:
+ * self._del_func = del_func # <<<<<<<<<<<<<<
+ * else:
+ * try:
+ */
+ __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_L7;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":212
+ * self._del_func = del_func
+ * else:
+ * try: # <<<<<<<<<<<<<<
+ * self._del_func = self.delete
+ * except AttributeError:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_8);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":213
+ * else:
+ * try:
+ * self._del_func = self.delete # <<<<<<<<<<<<<<
+ * except AttributeError:
+ * pass
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__delete); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L8_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_v_self->_del_func);
+ __Pyx_DECREF(__pyx_v_self->_del_func);
+ __pyx_v_self->_del_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L15_try_end;
+ __pyx_L8_error:;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":214
+ * try:
+ * self._del_func = self.delete
+ * except AttributeError: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+ __pyx_t_9 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
+ if (__pyx_t_9) {
+ PyErr_Restore(0,0,0);
+ goto __pyx_L9_exception_handled;
+ }
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ goto __pyx_L1_error;
+ __pyx_L9_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ __pyx_L15_try_end:;
+ }
+ }
+ __pyx_L7:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":217
+ * pass
+ *
+ * self.obj.item_style = _cfruni(self._item_style) # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ __pyx_t_2 = __pyx_v_self->_item_style;
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_v_self->obj.item_style = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_5__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_5__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_4__str__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":219
+ * self.obj.item_style = _cfruni(self._item_style)
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, "
+ * "state_get_func=%s, del_func=%s)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_4__str__(struct __pyx_obj_10elementary_12c_elementary_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("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":220
+ *
+ * def __str__(self):
+ * return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, " # <<<<<<<<<<<<<<
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":222
+ * return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, "
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self._item_style,
+ * self._text_get_func,
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":227
+ * self._content_get_func,
+ * self._state_get_func,
+ * self._del_func) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_1 = PyTuple_New(6); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->_item_style);
+ __Pyx_GIVEREF(__pyx_v_self->_item_style);
+ __Pyx_INCREF(__pyx_v_self->_text_get_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __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_1, 3, __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_1, 4, __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_1, 5, __pyx_v_self->_del_func);
+ __Pyx_GIVEREF(__pyx_v_self->_del_func);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_124), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItemClass.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_7__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_7__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_6__repr__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":229
+ * self._del_func)
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Gengrid_Item_Class=%#x, "
+ * "item_style=%r, text_get_func=%s, content_get_func=%s, "
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_6__repr__(struct __pyx_obj_10elementary_12c_elementary_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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":230
+ *
+ * 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":233
+ * "item_style=%r, text_get_func=%s, content_get_func=%s, "
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":234
+ * "state_get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void *>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>&self.obj,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":235
+ * (self.__class__.__name__,
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>&self.obj,
+ * self._item_style,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":236
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>&self.obj, # <<<<<<<<<<<<<<
+ * self._item_style,
+ * self._text_get_func,
+ */
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)(&__pyx_v_self->obj))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":241
+ * self._content_get_func,
+ * self._state_get_func,
+ * self._del_func) # <<<<<<<<<<<<<<
+ *
+ * property item_style:
+ */
+ __pyx_t_5 = PyTuple_New(9); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ PyTuple_SET_ITEM(__pyx_t_5, 4, __pyx_v_self->_item_style);
+ __Pyx_GIVEREF(__pyx_v_self->_item_style);
+ __Pyx_INCREF(__pyx_v_self->_text_get_func);
+ PyTuple_SET_ITEM(__pyx_t_5, 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_5, 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_5, 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_5, 8, __pyx_v_self->_del_func);
+ __Pyx_GIVEREF(__pyx_v_self->_del_func);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_162), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItemClass.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_10item_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_10item_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_10item_style___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":244
+ *
+ * property item_style:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self._item_style
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_10item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":245
+ * property item_style:
+ * def __get__(self):
+ * return self._item_style # <<<<<<<<<<<<<<
+ *
+ * def text_get(self, evasObject obj, part, item_data):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ __pyx_r = __pyx_v_self->_item_style;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_9text_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GengridItemClass_8text_get[] = "To 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_10elementary_12c_elementary_16GengridItemClass_9text_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_part = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__part,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("text_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("text_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 247; __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[35]; __pyx_lineno = 247; __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 PyEvasObject *)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[35]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_8text_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":247
+ * return self._item_style
+ *
+ * def text_get(self, evasObject obj, part, item_data): # <<<<<<<<<<<<<<
+ * """To be called by Gengrid for each item to get its label.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_8text_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":257
+ * @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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_11content_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GengridItemClass_10content_get[] = "To 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_10elementary_12c_elementary_16GengridItemClass_11content_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_part = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__part,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("content_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 259; __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[35]; __pyx_lineno = 259; __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 PyEvasObject *)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[35]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_10content_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":259
+ * return None
+ *
+ * def content_get(self, evasObject obj, part, item_data): # <<<<<<<<<<<<<<
+ * """To be called by Gengrid for each item to get its icon.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_10content_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":269
+ * @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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_13state_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16GengridItemClass_12state_get[] = "To 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_10elementary_12c_elementary_16GengridItemClass_13state_get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_part = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__part,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("state_get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__part);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("state_get", 1, 3, 3, 2); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 271; __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[35]; __pyx_lineno = 271; __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 PyEvasObject *)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[35]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_12state_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_part, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":271
+ * return None
+ *
+ * def state_get(self, evasObject obj, part, item_data): # <<<<<<<<<<<<<<
+ * """To be called by Gengrid for each item to get its state.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_12state_get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_part, CYTHON_UNUSED PyObject *__pyx_v_item_data) {
+ 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("state_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":281
+ * @rtype: bool or None
+ * """
+ * return False # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItemClass.state_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_11_item_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_11_item_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_11_item_style___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":125
+ * """
+ * cdef Elm_Gengrid_Item_Class obj
+ * cdef readonly object _item_style # <<<<<<<<<<<<<<
+ * cdef readonly object _text_get_func
+ * cdef readonly object _content_get_func
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_11_item_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_item_style);
+ __pyx_r = __pyx_v_self->_item_style;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_14_text_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_14_text_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_14_text_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":126
+ * cdef Elm_Gengrid_Item_Class obj
+ * cdef readonly object _item_style
+ * cdef readonly object _text_get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _content_get_func
+ * cdef readonly object _state_get_func
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_14_text_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_text_get_func);
+ __pyx_r = __pyx_v_self->_text_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_17_content_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_17_content_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_17_content_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":127
+ * cdef readonly object _item_style
+ * cdef readonly object _text_get_func
+ * cdef readonly object _content_get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _state_get_func
+ * cdef readonly object _del_func
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_17_content_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_content_get_func);
+ __pyx_r = __pyx_v_self->_content_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_15_state_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_15_state_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_15_state_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":128
+ * cdef readonly object _text_get_func
+ * cdef readonly object _content_get_func
+ * cdef readonly object _state_get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _del_func
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_15_state_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_state_get_func);
+ __pyx_r = __pyx_v_self->_state_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_9_del_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16GengridItemClass_9_del_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16GengridItemClass_9_del_func___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":129
+ * cdef readonly object _content_get_func
+ * cdef readonly object _state_get_func
+ * cdef readonly object _del_func # <<<<<<<<<<<<<<
+ *
+ * def __cinit__(self, *a, **ka):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16GengridItemClass_9_del_func___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_del_func);
+ __pyx_r = __pyx_v_self->_del_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":288
+ * """An item for the L{Gengrid} widget."""
+ *
+ * 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_10elementary_12c_elementary_11GengridItem__set_obj(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":289
+ *
+ * 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(!(__pyx_v_self->__pyx_base.item == NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_39));
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":290
+ * 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":291
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ * return 1
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":292
+ * self.item = item
+ * Py_INCREF(self)
+ * return 1 # <<<<<<<<<<<<<<
+ *
+ * cdef void _unset_obj(self):
+ */
+ __pyx_r = 1;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":294
+ * return 1
+ *
+ * cdef void _unset_obj(self): # <<<<<<<<<<<<<<
+ * assert self.item != NULL, "Object must wrap something"
+ * self.item = NULL
+ */
+
+ static void __pyx_f_10elementary_12c_elementary_11GengridItem__unset_obj(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_unset_obj", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":295
+ *
+ * cdef void _unset_obj(self):
+ * assert self.item != NULL, "Object must wrap something" # <<<<<<<<<<<<<<
+ * self.item = NULL
+ *
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_self->__pyx_base.item != NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_126));
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":296
+ * cdef void _unset_obj(self):
+ * assert self.item != NULL, "Object must wrap something"
+ * self.item = NULL # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ __pyx_v_self->__pyx_base.item = NULL;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_WriteUnraisable("elementary.c_elementary.GengridItem._unset_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_1__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_1__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem___str__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":298
+ * self.item = NULL
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem___str__(struct __pyx_obj_10elementary_12c_elementary_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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":299
+ *
+ * def __str__(self):
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \ # <<<<<<<<<<<<<<
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":300
+ * def __str__(self):
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":301
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[2],
+ * self.params[1])
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____class__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s____name__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":302
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__,
+ * self.params[2], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":303
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_4) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_127), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_3__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_3__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_2__repr__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":305
+ * self.params[1])
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_2__repr__(struct __pyx_obj_10elementary_12c_elementary_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;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":306
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, " # <<<<<<<<<<<<<<
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":308
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":309
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":310
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>self.item,
+ * self.params[0].__class__.__name__,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":311
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item, # <<<<<<<<<<<<<<
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ */
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":312
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item,
+ * self.params[0].__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[2],
+ * self.params[1])
+ */
+ __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s____class__); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_GetAttr(__pyx_t_6, __pyx_n_s____name__); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":313
+ * <unsigned long>self.item,
+ * self.params[0].__class__.__name__,
+ * self.params[2], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_6) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":314
+ * self.params[0].__class__.__name__,
+ * self.params[2],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * def data_get(self):
+ */
+ __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_7) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = PyTuple_New(7); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_8, 5, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_8, 6, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_128), ((PyObject *)__pyx_t_8)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_7);
+ __pyx_t_7 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_5data_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_5data_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_10elementary_12c_elementary_11GengridItem_4data_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":316
+ * self.params[1])
+ *
+ * def data_get(self): # <<<<<<<<<<<<<<
+ * (item_class, item_data, func) = self.params
+ * return item_data
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4data_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self) {
+ CYTHON_UNUSED PyObject *__pyx_v_item_class = NULL;
+ PyObject *__pyx_v_item_data = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_func = NULL;
+ 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)(PyObject *);
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("data_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":317
+ *
+ * def data_get(self):
+ * (item_class, item_data, func) = self.params # <<<<<<<<<<<<<<
+ * return item_data
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_self->__pyx_base.params))) || (PyList_CheckExact(__pyx_v_self->__pyx_base.params))) {
+ PyObject* sequence = __pyx_v_self->__pyx_base.params;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_self->__pyx_base.params); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_item_class = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_item_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_func = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":318
+ * def data_get(self):
+ * (item_class, item_data, func) = self.params
+ * return item_data # <<<<<<<<<<<<<<
+ *
+ * property data:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_item_data);
+ __pyx_r = __pyx_v_item_data;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.GengridItem.data_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_item_class);
+ __Pyx_XDECREF(__pyx_v_item_data);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_4data_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_4data_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_4data___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":321
+ *
+ * property data:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.data_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4data___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":322
+ * property data:
+ * def __get__(self):
+ * return self.data_get() # <<<<<<<<<<<<<<
+ *
+ * def next_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__data_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 322; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.data.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_7next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_7next_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_10elementary_12c_elementary_11GengridItem_6next_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":324
+ * return self.data_get()
+ *
+ * def next_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_gengrid_item_next_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_6next_get(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":325
+ *
+ * def next_get(self):
+ * return _object_item_to_python(elm_gengrid_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_gengrid_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.next_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":328
+ *
+ * property next:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.next_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":329
+ * property next:
+ * def __get__(self):
+ * return self.next_get() # <<<<<<<<<<<<<<
+ *
+ * def prev_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__next_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 329; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_9prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_9prev_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_10elementary_12c_elementary_11GengridItem_8prev_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":331
+ * return self.next_get()
+ *
+ * def prev_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_8prev_get(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":332
+ *
+ * def prev_get(self):
+ * return _object_item_to_python(elm_gengrid_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_gengrid_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.prev_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":335
+ *
+ * property prev:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.prev_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":336
+ * property prev:
+ * def __get__(self):
+ * return self.prev_get() # <<<<<<<<<<<<<<
+ *
+ * def gengrid_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__prev_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 336; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_11gengrid_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_11gengrid_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("gengrid_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_10gengrid_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":338
+ * return self.prev_get()
+ *
+ * def gengrid_get(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_object_item_widget_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_10gengrid_get(struct __pyx_obj_10elementary_12c_elementary_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("gengrid_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":339
+ *
+ * def gengrid_get(self):
+ * return Object_from_instance(elm_object_item_widget_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property gengrid:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_object_item_widget_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.gengrid_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_7gengrid_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_7gengrid_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_7gengrid___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":342
+ *
+ * property gengrid:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.gengrid_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_7gengrid___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":343
+ * property gengrid:
+ * def __get__(self):
+ * return self.gengrid_get() # <<<<<<<<<<<<<<
+ *
+ * def index_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__gengrid_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 343; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.gengrid.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_13index_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_13index_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_10elementary_12c_elementary_11GengridItem_12index_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":345
+ * return self.gengrid_get()
+ *
+ * def index_get(self): # <<<<<<<<<<<<<<
+ * return elm_gengrid_item_index_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_12index_get(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":346
+ *
+ * def index_get(self):
+ * return elm_gengrid_item_index_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property index:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_gengrid_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.index_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_5index_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_5index_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_5index___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":349
+ *
+ * property index:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.index_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_5index___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":350
+ * property index:
+ * def __get__(self):
+ * return self.index_get() # <<<<<<<<<<<<<<
+ *
+ * def delete(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__index_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 350; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.index.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_15delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_15delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_14delete(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":352
+ * return self.index_get()
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * elm_object_item_del(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_14delete(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":353
+ *
+ * def delete(self):
+ * elm_object_item_del(self.item) # <<<<<<<<<<<<<<
+ *
+ * def update(self):
+ */
+ elm_object_item_del(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_17update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_17update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("update (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_16update(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":355
+ * elm_object_item_del(self.item)
+ *
+ * def update(self): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_update(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_16update(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("update", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":356
+ *
+ * def update(self):
+ * elm_gengrid_item_update(self.item) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ elm_gengrid_item_update(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_19selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_19selected_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_10elementary_12c_elementary_11GengridItem_18selected_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":358
+ * elm_gengrid_item_update(self.item)
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_selected_set(self.item, bool(selected))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_18selected_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":359
+ *
+ * def selected_set(self, selected):
+ * elm_gengrid_item_selected_set(self.item, bool(selected)) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_selected);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_selected);
+ __Pyx_GIVEREF(__pyx_v_selected);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_21selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_21selected_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_10elementary_12c_elementary_11GengridItem_20selected_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":361
+ * elm_gengrid_item_selected_set(self.item, bool(selected))
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_item_selected_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_20selected_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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("selected_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":362
+ *
+ * def selected_get(self):
+ * return bool(elm_gengrid_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_8selected___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":365
+ *
+ * property selected:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":366
+ * property selected:
+ * def __get__(self):
+ * return self.selected_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, selected):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 366; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_11GengridItem_8selected_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":368
+ * return self.selected_get()
+ *
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * self.selected_set(selected)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":369
+ *
+ * def __set__(self, selected):
+ * self.selected_set(selected) # <<<<<<<<<<<<<<
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_selected);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_selected);
+ __Pyx_GIVEREF(__pyx_v_selected);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_23show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_23show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_scrollto_type = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__scrollto_type,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+ values[0] = __pyx_k_163;
+ 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[35]; __pyx_lineno = 371; __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[35]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_22show(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), __pyx_v_scrollto_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":371
+ * self.selected_set(selected)
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_show(self.item, scrollto_type)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_22show(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":372
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ * 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[35]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_item_show(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_25bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_25bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_scrollto_type = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__scrollto_type,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bring_in (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+ values[0] = __pyx_k_164;
+ 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[35]; __pyx_lineno = 374; __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[35]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_24bring_in(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), __pyx_v_scrollto_type);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":374
+ * elm_gengrid_item_show(self.item, scrollto_type)
+ *
+ * def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_bring_in(self.item, scrollto_type)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_24bring_in(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":375
+ *
+ * def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ * elm_gengrid_item_bring_in(self.item, scrollto_type) # <<<<<<<<<<<<<<
+ *
+ * def pos_get(self):
+ */
+ __pyx_t_1 = ((Elm_Genlist_Item_Scrollto_Type)PyInt_AsLong(__pyx_v_scrollto_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_item_bring_in(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_27pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_27pos_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_10elementary_12c_elementary_11GengridItem_26pos_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":377
+ * elm_gengrid_item_bring_in(self.item, scrollto_type)
+ *
+ * def pos_get(self): # <<<<<<<<<<<<<<
+ * cdef unsigned int x, y
+ * elm_gengrid_item_pos_get(self.item, &x, &y)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_26pos_get(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":379
+ * 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));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":380
+ * 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 = PyLong_FromUnsignedLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 380; __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[35]; __pyx_lineno = 380; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.pos_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_29tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_28tooltip_text_set[] = "Set the text to be shown in the tooltip object\n\n Setup the text as tooltip object. The object can have only one\n tooltip, so any previous tooltip data is removed.\n Internaly, this method call L{tooltip_content_cb_set}\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_29tooltip_text_set(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_text_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_28tooltip_text_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_text));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":386
+ * # XXX TODO elm_gengrid_item_item_class_get
+ *
+ * def tooltip_text_set(self, text): # <<<<<<<<<<<<<<
+ * """Set the text to be shown in the tooltip object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_28tooltip_text_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_text) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_text_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":393
+ * Internaly, this method call L{tooltip_content_cb_set}
+ * """
+ * elm_gengrid_item_tooltip_text_set(self.item, _cfruni(text)) # <<<<<<<<<<<<<<
+ *
+ * property tooltip_text:
+ */
+ elm_gengrid_item_tooltip_text_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_text));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_12tooltip_text_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_12tooltip_text_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_12tooltip_text___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":396
+ *
+ * property tooltip_text:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tooltip_text_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_12tooltip_text___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":397
+ * property tooltip_text:
+ * def __get__(self):
+ * return self.tooltip_text_get() # <<<<<<<<<<<<<<
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__tooltip_text_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 397; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.tooltip_text.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_31tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_30tooltip_content_cb_set[] = "Set the content to be shown in the tooltip object\n\n Setup the tooltip to object. The object can have only one tooltip,\n so any previews tooltip data is removed. C{func(args, kargs)} will\n be called every time that need show the tooltip and it should return a\n valid Evas_Object. This object is then managed fully by tooltip system\n and is deleted when the tooltip is gone.\n\n @param func: Function to be create tooltip content, called when\n need show tooltip.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_31tooltip_content_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_kargs, values, used_pos_args, "tooltip_content_cb_set") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 399; __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("tooltip_content_cb_set", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_30tooltip_content_cb_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":399
+ * return self.tooltip_text_get()
+ *
+ * def tooltip_content_cb_set(self, func, *args, **kargs): # <<<<<<<<<<<<<<
+ * """Set the content to be shown in the tooltip object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_30tooltip_content_cb_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ void *__pyx_v_cbdata;
+ PyObject *__pyx_v_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tooltip_content_cb_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":411
+ * need show tooltip.
+ * """
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":412
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_165), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":416
+ * cdef void *cbdata
+ *
+ * data = (func, self, args, kargs) # <<<<<<<<<<<<<<
+ * Py_INCREF(data)
+ * cbdata = <void *>data
+ */
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":417
+ *
+ * data = (func, self, args, kargs)
+ * Py_INCREF(data) # <<<<<<<<<<<<<<
+ * cbdata = <void *>data
+ * elm_gengrid_item_tooltip_content_cb_set(self.item,
+ */
+ Py_INCREF(((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":418
+ * data = (func, self, args, kargs)
+ * Py_INCREF(data)
+ * cbdata = <void *>data # <<<<<<<<<<<<<<
+ * elm_gengrid_item_tooltip_content_cb_set(self.item,
+ * _tooltip_item_content_create,
+ */
+ __pyx_v_cbdata = ((void *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":422
+ * _tooltip_item_content_create,
+ * cbdata,
+ * _tooltip_item_data_del_cb) # <<<<<<<<<<<<<<
+ *
+ * def item_tooltip_unset(self):
+ */
+ elm_gengrid_item_tooltip_content_cb_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__tooltip_item_content_create, __pyx_v_cbdata, __pyx_f_10elementary_12c_elementary__tooltip_item_data_del_cb);
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.tooltip_content_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_33item_tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_32item_tooltip_unset[] = " Unset tooltip from object\n\n Remove tooltip from object. If used the L{tooltip_text_set} the internal\n copy of label will be removed correctly. If used\n L{tooltip_content_cb_set}, the data will be unreferred but no freed.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_33item_tooltip_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_tooltip_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_32item_tooltip_unset(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":424
+ * _tooltip_item_data_del_cb)
+ *
+ * def item_tooltip_unset(self): # <<<<<<<<<<<<<<
+ * """ Unset tooltip from object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_32item_tooltip_unset(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_tooltip_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":431
+ * L{tooltip_content_cb_set}, the data will be unreferred but no freed.
+ * """
+ * elm_gengrid_item_tooltip_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_set(self, style=None):
+ */
+ elm_gengrid_item_tooltip_unset(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_35tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_34tooltip_style_set[] = " Sets a different style for this object tooltip.\n\n @note: before you set a style you should define a tooltip with\n elm_gengrid_item_tooltip_content_cb_set() or\n elm_gengrid_item_tooltip_text_set()\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_35tooltip_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":433
+ * elm_gengrid_item_tooltip_unset(self.item)
+ *
+ * def tooltip_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """ Sets a different style for this object tooltip.
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "tooltip_style_set") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 433; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("tooltip_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.tooltip_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_34tooltip_style_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_34tooltip_style_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ 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("tooltip_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":440
+ * elm_gengrid_item_tooltip_text_set()
+ * """
+ * if style: # <<<<<<<<<<<<<<
+ * elm_gengrid_item_tooltip_style_set(self.item, _cfruni(style))
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_style); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":441
+ * """
+ * if style:
+ * elm_gengrid_item_tooltip_style_set(self.item, _cfruni(style)) # <<<<<<<<<<<<<<
+ * else:
+ * elm_gengrid_item_tooltip_style_set(self.item, NULL)
+ */
+ elm_gengrid_item_tooltip_style_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":443
+ * elm_gengrid_item_tooltip_style_set(self.item, _cfruni(style))
+ * else:
+ * elm_gengrid_item_tooltip_style_set(self.item, NULL) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_style_get(self):
+ */
+ elm_gengrid_item_tooltip_style_set(__pyx_v_self->__pyx_base.item, NULL);
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.tooltip_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_37tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_36tooltip_style_get[] = " Get the style for this object tooltip.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_37tooltip_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_36tooltip_style_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":445
+ * elm_gengrid_item_tooltip_style_set(self.item, NULL)
+ *
+ * def tooltip_style_get(self): # <<<<<<<<<<<<<<
+ * """ Get the style for this object tooltip.
+ * """
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_36tooltip_style_get(struct __pyx_obj_10elementary_12c_elementary_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("tooltip_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":448
+ * """ Get the style for this object tooltip.
+ * """
+ * return _ctouni(elm_gengrid_item_tooltip_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property tooltip_style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_gengrid_item_tooltip_style_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.tooltip_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_13tooltip_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_13tooltip_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_13tooltip_style___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":451
+ *
+ * property tooltip_style:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tooltip_style_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_13tooltip_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":452
+ * property tooltip_style:
+ * def __get__(self):
+ * return self.tooltip_style_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__tooltip_style_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 452; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.tooltip_style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_13tooltip_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_13tooltip_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_13tooltip_style_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":454
+ * return self.tooltip_style_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.tooltip_style_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_13tooltip_style_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":455
+ *
+ * def __set__(self, value):
+ * self.tooltip_style_set(value) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_set(self, disable):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__tooltip_style_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 455; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.tooltip_style.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_39tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_39tooltip_window_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_38tooltip_window_mode_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_disable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":457
+ * self.tooltip_style_set(value)
+ *
+ * def tooltip_window_mode_set(self, disable): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_tooltip_window_mode_set(self.item, bool(disable))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_38tooltip_window_mode_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_disable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("tooltip_window_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":458
+ *
+ * def tooltip_window_mode_set(self, disable):
+ * elm_gengrid_item_tooltip_window_mode_set(self.item, bool(disable)) # <<<<<<<<<<<<<<
+ *
+ * def tooltip_window_mode_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_disable);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_disable);
+ __Pyx_GIVEREF(__pyx_v_disable);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_item_tooltip_window_mode_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.tooltip_window_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_41tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_41tooltip_window_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tooltip_window_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_40tooltip_window_mode_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":460
+ * elm_gengrid_item_tooltip_window_mode_set(self.item, bool(disable))
+ *
+ * def tooltip_window_mode_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_item_tooltip_window_mode_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_40tooltip_window_mode_get(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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("tooltip_window_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":461
+ *
+ * def tooltip_window_mode_get(self):
+ * return bool(elm_gengrid_item_tooltip_window_mode_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property tooltip_window_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_item_tooltip_window_mode_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.tooltip_window_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":464
+ *
+ * property tooltip_window_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tooltip_window_mode_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":465
+ * property tooltip_window_mode:
+ * def __get__(self):
+ * return self.tooltip_window_mode_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_28); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 465; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.tooltip_window_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":467
+ * return self.tooltip_window_mode_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.tooltip_window_mode_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":468
+ *
+ * def __set__(self, value):
+ * self.tooltip_window_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * def cursor_set(self, char *cursor):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_29); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.tooltip_window_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_43cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_cursor); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_42cursor_set[] = "Set the cursor to be shown when mouse is over the gengrid item\n\n Set the cursor that will be displayed when mouse is over the\n item. The item can have only one cursor set to it, so if\n this function is called twice for an item, the previous set\n will be unset.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_43cursor_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_cursor) {
+ char *__pyx_v_cursor;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_set (wrapper)", 0);
+ assert(__pyx_arg_cursor); {
+ __pyx_v_cursor = PyBytes_AsString(__pyx_arg_cursor); if (unlikely((!__pyx_v_cursor) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_42cursor_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((char *)__pyx_v_cursor));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":470
+ * self.tooltip_window_mode_set(value)
+ *
+ * def cursor_set(self, char *cursor): # <<<<<<<<<<<<<<
+ * """Set the cursor to be shown when mouse is over the gengrid item
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_42cursor_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, char *__pyx_v_cursor) {
+ 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("cursor_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":478
+ * will be unset.
+ * """
+ * elm_gengrid_item_cursor_set(self.item, _cfruni(cursor)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_get(self):
+ */
+ __pyx_t_1 = PyBytes_FromString(__pyx_v_cursor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ elm_gengrid_item_cursor_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(((PyObject *)__pyx_t_1)));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_45cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_45cursor_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_44cursor_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":480
+ * elm_gengrid_item_cursor_set(self.item, _cfruni(cursor))
+ *
+ * def cursor_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_gengrid_item_cursor_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_44cursor_get(struct __pyx_obj_10elementary_12c_elementary_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("cursor_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":481
+ *
+ * def cursor_get(self):
+ * return _ctouni(elm_gengrid_item_cursor_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property cursor:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_gengrid_item_cursor_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 481; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_6cursor_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_6cursor_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_6cursor___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":484
+ *
+ * property cursor:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.cursor_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_6cursor___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":485
+ * property cursor:
+ * def __get__(self):
+ * return self.cursor_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.cursor.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_6cursor_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_6cursor_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_6cursor_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":487
+ * return self.cursor_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.cursor_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_6cursor_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":488
+ *
+ * def __set__(self, value):
+ * self.cursor_set(value) # <<<<<<<<<<<<<<
+ *
+ * def cursor_unset(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 488; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.cursor.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_47cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_46cursor_unset[] = "Unset the cursor to be shown when mouse is over the gengrid item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_47cursor_unset(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_46cursor_unset(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":490
+ * self.cursor_set(value)
+ *
+ * def cursor_unset(self): # <<<<<<<<<<<<<<
+ * """Unset the cursor to be shown when mouse is over the gengrid item."""
+ * elm_gengrid_item_cursor_unset(self.item)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_46cursor_unset(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":492
+ * def cursor_unset(self):
+ * """Unset the cursor to be shown when mouse is over the gengrid item."""
+ * elm_gengrid_item_cursor_unset(self.item) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_set(self, style=None):
+ */
+ elm_gengrid_item_cursor_unset(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_49cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_48cursor_style_set[] = " Sets a different style for this object cursor.\n\n @note: before you set a style you should define a cursor with\n L{cursor_set()}\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_49cursor_style_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_style = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__style,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_set (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":494
+ * elm_gengrid_item_cursor_unset(self.item)
+ *
+ * def cursor_style_set(self, style=None): # <<<<<<<<<<<<<<
+ * """ Sets a different style for this object cursor.
+ *
+ */
+ values[0] = ((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 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__style);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "cursor_style_set") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 494; __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_style = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("cursor_style_set", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_48cursor_style_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), __pyx_v_style);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_48cursor_style_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_style) {
+ 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("cursor_style_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":500
+ * L{cursor_set()}
+ * """
+ * if style: # <<<<<<<<<<<<<<
+ * elm_gengrid_item_cursor_style_set(self.item, _cfruni(style))
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_style); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":501
+ * """
+ * if style:
+ * elm_gengrid_item_cursor_style_set(self.item, _cfruni(style)) # <<<<<<<<<<<<<<
+ * else:
+ * elm_gengrid_item_cursor_style_set(self.item, NULL)
+ */
+ elm_gengrid_item_cursor_style_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_style));
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":503
+ * elm_gengrid_item_cursor_style_set(self.item, _cfruni(style))
+ * else:
+ * elm_gengrid_item_cursor_style_set(self.item, NULL) # <<<<<<<<<<<<<<
+ *
+ * def cursor_style_get(self):
+ */
+ elm_gengrid_item_cursor_style_set(__pyx_v_self->__pyx_base.item, NULL);
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_style_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_51cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_50cursor_style_get[] = "Get the style for this object cursor.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_51cursor_style_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_style_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_50cursor_style_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":505
+ * elm_gengrid_item_cursor_style_set(self.item, NULL)
+ *
+ * def cursor_style_get(self): # <<<<<<<<<<<<<<
+ * """Get the style for this object cursor."""
+ * return _ctouni(elm_gengrid_item_cursor_style_get(self.item))
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_50cursor_style_get(struct __pyx_obj_10elementary_12c_elementary_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("cursor_style_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":507
+ * def cursor_style_get(self):
+ * """Get the style for this object cursor."""
+ * return _ctouni(elm_gengrid_item_cursor_style_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property cursor_style:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_gengrid_item_cursor_style_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_style_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_12cursor_style_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_12cursor_style_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_12cursor_style___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":510
+ *
+ * property cursor_style:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.cursor_style_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_12cursor_style___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":511
+ * property cursor_style:
+ * def __get__(self):
+ * return self.cursor_style_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_style_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 511; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.cursor_style.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_12cursor_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_12cursor_style_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_12cursor_style_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":513
+ * return self.cursor_style_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.cursor_style_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_12cursor_style_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":514
+ *
+ * def __set__(self, value):
+ * self.cursor_style_set(value) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_set(self, engine_only):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__cursor_style_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.cursor_style.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_53cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_52cursor_engine_only_set[] = "Sets cursor engine only usage for this object.\n\n @note: before you set engine only usage you should define a cursor with\n L{cursor_set()}\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_53cursor_engine_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_52cursor_engine_only_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_engine_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":516
+ * self.cursor_style_set(value)
+ *
+ * def cursor_engine_only_set(self, engine_only): # <<<<<<<<<<<<<<
+ * """Sets cursor engine only usage for this object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_52cursor_engine_only_set(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_engine_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("cursor_engine_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":522
+ * L{cursor_set()}
+ * """
+ * elm_gengrid_item_cursor_engine_only_set(self.item, bool(engine_only)) # <<<<<<<<<<<<<<
+ *
+ * def cursor_engine_only_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_engine_only);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_engine_only);
+ __Pyx_GIVEREF(__pyx_v_engine_only);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_item_cursor_engine_only_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.cursor_engine_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_55cursor_engine_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11GengridItem_54cursor_engine_only_get[] = "Get the engine only usage for this object.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_55cursor_engine_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("cursor_engine_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_54cursor_engine_only_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":524
+ * elm_gengrid_item_cursor_engine_only_set(self.item, bool(engine_only))
+ *
+ * def cursor_engine_only_get(self): # <<<<<<<<<<<<<<
+ * """Get the engine only usage for this object."""
+ * return elm_gengrid_item_cursor_engine_only_get(self.item)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_54cursor_engine_only_get(struct __pyx_obj_10elementary_12c_elementary_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("cursor_engine_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":526
+ * def cursor_engine_only_get(self):
+ * """Get the engine only usage for this object."""
+ * return elm_gengrid_item_cursor_engine_only_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property cursor_engine_only:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_item_cursor_engine_only_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.cursor_engine_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_18cursor_engine_only___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":529
+ *
+ * property cursor_engine_only:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.cursor_engine_only_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_18cursor_engine_only___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":530
+ * property cursor_engine_only:
+ * def __get__(self):
+ * return self.cursor_engine_only_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_166); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 530; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 530; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.cursor_engine_only.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":532
+ * return self.cursor_engine_only_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.cursor_engine_only_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":533
+ *
+ * def __set__(self, value):
+ * self.cursor_engine_only_set(value) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_set(self, mode):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_167); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 533; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.cursor_engine_only.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_57select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_57select_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_10elementary_12c_elementary_11GengridItem_56select_mode_set(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":535
+ * self.cursor_engine_only_set(value)
+ *
+ * def select_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_select_mode_set(self.item, mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_56select_mode_set(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":536
+ *
+ * def select_mode_set(self, mode):
+ * elm_gengrid_item_select_mode_set(self.item, mode) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_item_select_mode_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_59select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_59select_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_10elementary_12c_elementary_11GengridItem_58select_mode_get(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":538
+ * elm_gengrid_item_select_mode_set(self.item, mode)
+ *
+ * def select_mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_gengrid_item_select_mode_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_58select_mode_get(struct __pyx_obj_10elementary_12c_elementary_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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":539
+ *
+ * def select_mode_get(self):
+ * return elm_gengrid_item_select_mode_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property select_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[35]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.GengridItem.select_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_11select_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11GengridItem_11select_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_11select_mode___get__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":542
+ *
+ * property select_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.select_mode_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11GengridItem_11select_mode___get__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":543
+ * property select_mode:
+ * def __get__(self):
+ * return self.select_mode_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__select_mode_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 543; __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;
+
+ __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_AddTraceback("elementary.c_elementary.GengridItem.select_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11GengridItem_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11GengridItem_11select_mode_2__set__(((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":545
+ * return self.select_mode_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.select_mode_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11GengridItem_11select_mode_2__set__(struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":546
+ *
+ * def __set__(self, value):
+ * self.select_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Gengrid(Object) [object PyElementaryGengrid, type PyElementaryGengrid_Type]:
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__select_mode_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.GengridItem.select_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 556; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid___init__(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":556
+ *
+ * """
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_gengrid_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid___init__(struct PyElementaryGengrid *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":557
+ * """
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_gengrid_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 557; __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[35]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":558
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_gengrid_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Gengrid *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_gengrid_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Gengrid.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_2clear(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":560
+ * self._set_obj(elm_gengrid_add(parent.obj))
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * elm_gengrid_clear(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_2clear(struct PyElementaryGengrid *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":561
+ *
+ * def clear(self):
+ * elm_gengrid_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def multi_select_set(self, multi):
+ */
+ elm_gengrid_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_5multi_select_set(PyObject *__pyx_v_self, PyObject *__pyx_v_multi); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_4multi_select_set(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_multi));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":563
+ * elm_gengrid_clear(self.obj)
+ *
+ * def multi_select_set(self, multi): # <<<<<<<<<<<<<<
+ * elm_gengrid_multi_select_set(self.obj, bool(multi))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_4multi_select_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_multi) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("multi_select_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":564
+ *
+ * def multi_select_set(self, multi):
+ * elm_gengrid_multi_select_set(self.obj, bool(multi)) # <<<<<<<<<<<<<<
+ *
+ * def multi_select_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_multi);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_multi);
+ __Pyx_GIVEREF(__pyx_v_multi);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 564; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_multi_select_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.multi_select_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_7multi_select_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_6multi_select_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":566
+ * elm_gengrid_multi_select_set(self.obj, bool(multi))
+ *
+ * def multi_select_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_multi_select_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_6multi_select_get(struct PyElementaryGengrid *__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("multi_select_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":567
+ *
+ * def multi_select_get(self):
+ * return bool(elm_gengrid_multi_select_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property multi_select:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_multi_select_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 567; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.multi_select_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_12multi_select_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_12multi_select_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_12multi_select___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":570
+ *
+ * property multi_select:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.multi_select_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12multi_select___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":571
+ * property multi_select:
+ * def __get__(self):
+ * return self.multi_select_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__multi_select_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 571; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 571; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.multi_select.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_12multi_select_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_12multi_select_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_12multi_select_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":573
+ * return self.multi_select_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.multi_select_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_12multi_select_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":574
+ *
+ * def __set__(self, value):
+ * self.multi_select_set(value) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, setting):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__multi_select_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.multi_select.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_setting); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_8horizontal_set(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_setting));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":576
+ * self.multi_select_set(value)
+ *
+ * def horizontal_set(self, setting): # <<<<<<<<<<<<<<
+ * elm_gengrid_horizontal_set(self.obj, bool(setting))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_8horizontal_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_setting) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":577
+ *
+ * def horizontal_set(self, setting):
+ * elm_gengrid_horizontal_set(self.obj, bool(setting)) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_setting);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_setting);
+ __Pyx_GIVEREF(__pyx_v_setting);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 577; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_11horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_10horizontal_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":579
+ * elm_gengrid_horizontal_set(self.obj, bool(setting))
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_horizontal_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal_get(struct PyElementaryGengrid *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":580
+ *
+ * def horizontal_get(self):
+ * return bool(elm_gengrid_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 580; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":583
+ *
+ * property horizontal:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.horizontal_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":584
+ * property horizontal:
+ * def __get__(self):
+ * return self.horizontal_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__horizontal_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 584; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":586
+ * return self.horizontal_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.horizontal_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_10horizontal_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":587
+ *
+ * def __set__(self, value):
+ * self.horizontal_set(value) # <<<<<<<<<<<<<<
+ *
+ * def bounce_set(self, h_bounce, v_bounce):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__horizontal_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_13bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_13bounce_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_bounce = 0;
+ PyObject *__pyx_v_v_bounce = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_bounce,&__pyx_n_s__v_bounce,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("bounce_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_bounce);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_bounce);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("bounce_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __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, "bounce_set") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 589; __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_bounce = values[0];
+ __pyx_v_v_bounce = 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[35]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_12bounce_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_h_bounce, __pyx_v_v_bounce);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":589
+ * self.horizontal_set(value)
+ *
+ * def bounce_set(self, h_bounce, v_bounce): # <<<<<<<<<<<<<<
+ * elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12bounce_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_bounce, PyObject *__pyx_v_v_bounce) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ Eina_Bool __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("bounce_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":590
+ *
+ * def bounce_set(self, h_bounce, v_bounce):
+ * elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce)) # <<<<<<<<<<<<<<
+ *
+ * def bounce_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_h_bounce);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_h_bounce);
+ __Pyx_GIVEREF(__pyx_v_h_bounce);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_v_bounce);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_v_bounce);
+ __Pyx_GIVEREF(__pyx_v_v_bounce);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_1); if (unlikely((__pyx_t_4 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 590; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3, __pyx_t_4);
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.bounce_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_15bounce_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_15bounce_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_10elementary_12c_elementary_7Gengrid_14bounce_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":592
+ * elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce))
+ *
+ * def bounce_get(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14bounce_get(struct PyElementaryGengrid *__pyx_v_self) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":594
+ * def bounce_get(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce) # <<<<<<<<<<<<<<
+ * return (h_bounce, v_bounce)
+ *
+ */
+ elm_scroller_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_bounce), (&__pyx_v_v_bounce));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":595
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ * return (h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * property bounce:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 595; __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[35]; __pyx_lineno = 595; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.bounce_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_6bounce_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_6bounce_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_6bounce___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":598
+ *
+ * property bounce:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.bouce_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_6bounce___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":599
+ * property bounce:
+ * def __get__(self):
+ * return self.bouce_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__bouce_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 599; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 599; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.bounce.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_6bounce_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_6bounce_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":601
+ * return self.bouce_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.bouce_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_6bounce_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":602
+ *
+ * def __set__(self, value):
+ * self.bouce_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, GengridItemClass item_class not None,
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__bouce_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 602; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 602; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 602; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_17item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Gengrid_16item_append[] = "Append 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 L{GengridItemClass}.\n @param item_data: some data that defines the model of this\n item. This value will be given to methods of\n C{item_class} such as\n L{GengridItemClass.text_get()}. It will also be\n provided to C{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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_17item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__item_data,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (wrapper)", 0);
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":605
+ *
+ * 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 2, 3, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 604; __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[35]; __pyx_lineno = 604; __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_10elementary_12c_elementary_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[35]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_10elementary_12c_elementary_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 604; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_16item_append(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":604
+ * self.bouce_set(*value)
+ *
+ * def item_append(self, GengridItemClass item_class not None, # <<<<<<<<<<<<<<
+ * item_data, func=None):
+ * """Append a new item (add as last item) to this gengrid.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_16item_append(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":623
+ * value given as parameter to this function.
+ * """
+ * cdef GengridItem ret = GengridItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GengridItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 623; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":627
+ * cdef Evas_Smart_Cb cb
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":628
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":629
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":630
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":632
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_168), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 632; __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[35]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":634
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_gengrid_item_append( self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":639
+ * <void*>ret,
+ * cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_gengrid_item_append(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":641
+ * <void*>ret)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_item != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":642
+ *
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 642; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":643
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":645
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":646
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, GengridItemClass item_class not None,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_19item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Gengrid_18item_prepend[] = "Prepend 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 L{GengridItemClass}.\n @param item_data: some data that defines the model of this\n item. This value will be given to methods of\n C{item_class} such as\n L{GengridItemClass.text_get()}. It will also be\n provided to C{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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_19item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ PyObject *__pyx_v_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__item_data,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_prepend (wrapper)", 0);
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":649
+ *
+ * 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 2, 3, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 648; __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[35]; __pyx_lineno = 648; __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_10elementary_12c_elementary_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[35]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_10elementary_12c_elementary_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_18item_prepend(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":648
+ * return None
+ *
+ * def item_prepend(self, GengridItemClass item_class not None, # <<<<<<<<<<<<<<
+ * item_data, func=None):
+ * """Prepend a new item (add as first item) to this gengrid.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_18item_prepend(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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("item_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":667
+ * value given as parameter to this function.
+ * """
+ * cdef GengridItem ret = GengridItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GengridItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":671
+ * cdef Evas_Smart_Cb cb
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":672
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":673
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":674
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":676
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_169), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 676; __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[35]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":678
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_gengrid_item_prepend(self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":683
+ * <void*>ret,
+ * cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_gengrid_item_prepend(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":684
+ * cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_item != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":685
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":686
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":688
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":689
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, GengridItemClass item_class not None,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_21item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Gengrid_20item_insert_before[] = "Insert 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 L{GengridItemClass}.\n @param item_data: some data that defines the model of this\n item. This value will be given to methods of\n C{item_class} such as\n L{GengridItemClass.text_get()}. It will also be\n provided to C{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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_21item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_before_item = 0;
+ PyObject *__pyx_v_func = 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 *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_before (wrapper)", 0);
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":692
+ *
+ * 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_10elementary_12c_elementary_GengridItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":693
+ * 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 4, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 691; __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[35]; __pyx_lineno = 691; __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_10elementary_12c_elementary_GengridItemClass *)values[0]);
+ __pyx_v_item_data = values[1];
+ __pyx_v_before_item = ((struct __pyx_obj_10elementary_12c_elementary_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[35]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_10elementary_12c_elementary_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before_item), __pyx_ptype_10elementary_12c_elementary_GengridItem, 1, "before_item", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 692; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_20item_insert_before(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_before_item, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":691
+ * return None
+ *
+ * def item_insert_before(self, GengridItemClass item_class not None, # <<<<<<<<<<<<<<
+ * item_data, GengridItem before_item=None,
+ * func=None):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_20item_insert_before(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_before_item, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_before;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Object_Item *__pyx_t_2;
+ int __pyx_t_3;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":713
+ * value given as parameter to this function.
+ * """
+ * cdef GengridItem ret = GengridItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item, *before
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GengridItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 713; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":717
+ * cdef Evas_Smart_Cb cb
+ *
+ * before = _object_item_from_python(before_item) # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_from_python(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_before_item)); if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_before = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":719
+ * before = _object_item_from_python(before_item)
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_3 = (__pyx_v_func == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":720
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":721
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":722
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":724
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * (item_class, item_data, func)
+ */
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_170), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":726
+ * raise TypeError("func is not None or callable")
+ *
+ * (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_gengrid_item_insert_before( self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 726; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":732
+ * before,
+ * cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_gengrid_item_insert_before(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_before, __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":733
+ * cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":734
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 734; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":735
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":737
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":738
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, GengridItemClass item_class not None,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_23item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Gengrid_22item_insert_after[] = "Insert 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 L{GengridItemClass}.\n @param item_data: some data that defines the model of this\n item. This value will be given to methods of\n C{item_class} such as\n L{GengridItemClass.text_get()}. It will also be\n provided to C{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 C{func(item, obj, item_data)}\n Where C{item} is the handle, C{obj} is the Evas object\n that represents this item, and C{item_data} is the\n value given as parameter to this function.\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_23item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_item_data = 0;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_after_item = 0;
+ PyObject *__pyx_v_func = 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 *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_after (wrapper)", 0);
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":741
+ *
+ * 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_10elementary_12c_elementary_GengridItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":742
+ * 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 4, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 740; __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[35]; __pyx_lineno = 740; __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_10elementary_12c_elementary_GengridItemClass *)values[0]);
+ __pyx_v_item_data = values[1];
+ __pyx_v_after_item = ((struct __pyx_obj_10elementary_12c_elementary_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[35]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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_10elementary_12c_elementary_GengridItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_after_item), __pyx_ptype_10elementary_12c_elementary_GengridItem, 1, "after_item", 0))) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_22item_insert_after(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_item_class, __pyx_v_item_data, __pyx_v_after_item, __pyx_v_func);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":740
+ * return None
+ *
+ * def item_insert_after(self, GengridItemClass item_class not None, # <<<<<<<<<<<<<<
+ * item_data, GengridItem after_item=None,
+ * func=None):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_22item_insert_after(struct PyElementaryGengrid *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *__pyx_v_item_class, PyObject *__pyx_v_item_data, struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_after_item, PyObject *__pyx_v_func) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_after;
+ Evas_Smart_Cb __pyx_v_cb;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Object_Item *__pyx_t_2;
+ int __pyx_t_3;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":762
+ * value given as parameter to this function.
+ * """
+ * cdef GengridItem ret = GengridItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item, *after
+ * cdef Evas_Smart_Cb cb
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GengridItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 762; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":766
+ * cdef Evas_Smart_Cb cb
+ *
+ * after = _object_item_from_python(after_item) # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_from_python(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_after_item)); if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_after = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":768
+ * after = _object_item_from_python(after_item)
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_3 = (__pyx_v_func == Py_None);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":769
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":770
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 770; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":771
+ * cb = NULL
+ * elif callable(func):
+ * cb = _py_elm_gengrid_item_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__py_elm_gengrid_item_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":773
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_171), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 773; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ {__pyx_filename = __pyx_f[35]; __pyx_lineno = 773; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":775
+ * raise TypeError("func is not None or callable")
+ *
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_gengrid_item_insert_after( self.obj,
+ * &item_class.obj,
+ */
+ __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(__pyx_v_item_data);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_item_data);
+ __Pyx_GIVEREF(__pyx_v_item_data);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":781
+ * after,
+ * cb,
+ * <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_gengrid_item_insert_after(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_after, __pyx_v_cb, ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":782
+ * cb,
+ * <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":783
+ * <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 783; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":784
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(ret)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":786
+ * return ret
+ * else:
+ * Py_DECREF(ret) # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":787
+ * else:
+ * Py_DECREF(ret)
+ * return None # <<<<<<<<<<<<<<
+ *
+ * # XXX TODO elm_gengrid_item_sorted_insert()
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_25selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_25selected_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_10elementary_12c_elementary_7Gengrid_24selected_item_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":791
+ * # XXX TODO elm_gengrid_item_sorted_insert()
+ *
+ * def selected_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_24selected_item_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":792
+ *
+ * def selected_item_get(self):
+ * return _object_item_to_python(elm_gengrid_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_gengrid_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 792; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_13selected_item___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":795
+ *
+ * property selected_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_13selected_item___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":796
+ * property selected_item:
+ * def __get__(self):
+ * return self.selected_item_get() # <<<<<<<<<<<<<<
+ *
+ * def selected_items_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 796; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 796; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_27selected_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_27selected_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_10elementary_12c_elementary_7Gengrid_26selected_items_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":798
+ * return self.selected_item_get()
+ *
+ * def selected_items_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_26selected_items_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":799
+ *
+ * def selected_items_get(self):
+ * return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_gengrid_selected_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 799; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.selected_items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_14selected_items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_14selected_items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_14selected_items___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":802
+ *
+ * property selected_items:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_items_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14selected_items___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":803
+ * property selected_items:
+ * def __get__(self):
+ * return self.selected_items_get() # <<<<<<<<<<<<<<
+ *
+ * def realized_items_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_items_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 803; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 803; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.selected_items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_29realized_items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_29realized_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_10elementary_12c_elementary_7Gengrid_28realized_items_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":805
+ * return self.selected_items_get()
+ *
+ * def realized_items_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_28realized_items_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":806
+ *
+ * def realized_items_get(self):
+ * return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property realized_items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_gengrid_realized_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 806; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.realized_items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_14realized_items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_14realized_items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_14realized_items___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":809
+ *
+ * property realized_items:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.realized_items_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14realized_items___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":810
+ * property realized_items:
+ * def __get__(self):
+ * return self.realized_items_get() # <<<<<<<<<<<<<<
+ *
+ * def realized_items_update(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__realized_items_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 810; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 810; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.realized_items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_31realized_items_update(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_31realized_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_10elementary_12c_elementary_7Gengrid_30realized_items_update(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":812
+ * return self.realized_items_get()
+ *
+ * def realized_items_update(self): # <<<<<<<<<<<<<<
+ * elm_gengrid_realized_items_update(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_30realized_items_update(struct PyElementaryGengrid *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("realized_items_update", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":813
+ *
+ * def realized_items_update(self):
+ * elm_gengrid_realized_items_update(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def first_item_get(self):
+ */
+ elm_gengrid_realized_items_update(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_33first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_33first_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_10elementary_12c_elementary_7Gengrid_32first_item_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":815
+ * elm_gengrid_realized_items_update(self.obj)
+ *
+ * def first_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_32first_item_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":816
+ *
+ * def first_item_get(self):
+ * return _object_item_to_python(elm_gengrid_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_gengrid_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 816; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.first_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_10first_item___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":819
+ *
+ * property first_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.first_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_10first_item___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":820
+ * property first_item:
+ * def __get__(self):
+ * return self.first_item_get() # <<<<<<<<<<<<<<
+ *
+ * def last_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__first_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 820; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 820; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_35last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_35last_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_10elementary_12c_elementary_7Gengrid_34last_item_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":822
+ * return self.first_item_get()
+ *
+ * def last_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_34last_item_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":823
+ *
+ * def last_item_get(self):
+ * return _object_item_to_python(elm_gengrid_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_gengrid_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 823; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.last_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_9last_item___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":826
+ *
+ * property last_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.last_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_9last_item___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":827
+ * property last_item:
+ * def __get__(self):
+ * return self.last_item_get() # <<<<<<<<<<<<<<
+ *
+ * def scroller_policy_set(self, policy_h, policy_v):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__last_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 827; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 827; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_37scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_37scroller_policy_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_policy_h = 0;
+ PyObject *__pyx_v_policy_v = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__policy_h,&__pyx_n_s__policy_v,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("scroller_policy_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_h);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__policy_v);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("scroller_policy_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 829; __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[35]; __pyx_lineno = 829; __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[35]; __pyx_lineno = 829; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_36scroller_policy_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_policy_h, __pyx_v_policy_v);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":829
+ * return self.last_item_get()
+ *
+ * def scroller_policy_set(self, policy_h, policy_v): # <<<<<<<<<<<<<<
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_36scroller_policy_set(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":830
+ *
+ * def scroller_policy_set(self, policy_h, policy_v):
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * 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[35]; __pyx_lineno = 830; __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[35]; __pyx_lineno = 830; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.scroller_policy_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_39scroller_policy_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_39scroller_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_10elementary_12c_elementary_7Gengrid_38scroller_policy_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":832
+ * elm_scroller_policy_set(self.obj, policy_h, policy_v)
+ *
+ * def scroller_policy_get(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_38scroller_policy_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":834
+ * 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.obj, (&__pyx_v_policy_h), (&__pyx_v_policy_v));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":835
+ * cdef Elm_Scroller_Policy policy_h, policy_v
+ * elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ * return (policy_h, policy_v) # <<<<<<<<<<<<<<
+ *
+ * property scroller_policy:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_policy_h); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 835; __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[35]; __pyx_lineno = 835; __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[35]; __pyx_lineno = 835; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.scroller_policy_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_15scroller_policy_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_15scroller_policy_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_15scroller_policy___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":838
+ *
+ * property scroller_policy:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.scroller_policy_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_15scroller_policy___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":839
+ * property scroller_policy:
+ * def __get__(self):
+ * return self.scroller_policy_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scroller_policy_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 839; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 839; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.scroller_policy.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_15scroller_policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_15scroller_policy_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":841
+ * return self.scroller_policy_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.scroller_policy_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_15scroller_policy_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":842
+ *
+ * def __set__(self, value):
+ * self.scroller_policy_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def item_size_set(self, w, h):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__scroller_policy_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 842; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.scroller_policy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_41item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_41item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 844; __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[35]; __pyx_lineno = 844; __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[35]; __pyx_lineno = 844; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_40item_size_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":844
+ * self.scroller_policy_set(*value)
+ *
+ * def item_size_set(self, w, h): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_size_set(self.obj, w, h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_40item_size_set(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":845
+ *
+ * def item_size_set(self, w, h):
+ * elm_gengrid_item_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def item_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 845; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_item_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_43item_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_43item_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_10elementary_12c_elementary_7Gengrid_42item_size_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":847
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_42item_size_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":849
+ * 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.obj, (&__pyx_v_x), (&__pyx_v_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":850
+ * cdef Evas_Coord x, y
+ * elm_gengrid_item_size_get(self.obj, &x, &y)
+ * return (x, y) # <<<<<<<<<<<<<<
+ *
+ * def items_count(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 850; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 850; __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[35]; __pyx_lineno = 850; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.item_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_45items_count(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_45items_count(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_count (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_44items_count(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":852
+ * return (x, y)
+ *
+ * def items_count(self): # <<<<<<<<<<<<<<
+ * return elm_gengrid_items_count(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_44items_count(struct PyElementaryGengrid *__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("items_count", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":853
+ *
+ * def items_count(self):
+ * return elm_gengrid_items_count(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property item_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyLong_FromUnsignedLong(elm_gengrid_items_count(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 853; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.items_count", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9item_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9item_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_9item_size___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":856
+ *
+ * property item_size:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.item_size_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_9item_size___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":857
+ * property item_size:
+ * def __get__(self):
+ * return self.item_size_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__item_size_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 857; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 857; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.item_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_9item_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_9item_size_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":859
+ * return self.item_size_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.item_size_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_9item_size_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":860
+ *
+ * def __set__(self, value):
+ * self.item_size_set(value) # <<<<<<<<<<<<<<
+ *
+ * def group_item_size_set(self, w, h):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__item_size_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 860; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.item_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_47group_item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_47group_item_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("group_item_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("group_item_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 862; __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[35]; __pyx_lineno = 862; __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[35]; __pyx_lineno = 862; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.group_item_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_46group_item_size_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":862
+ * self.item_size_set(value)
+ *
+ * def group_item_size_set(self, w, h): # <<<<<<<<<<<<<<
+ * elm_gengrid_group_item_size_set(self.obj, w, h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_46group_item_size_set(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":863
+ *
+ * def group_item_size_set(self, w, h):
+ * elm_gengrid_group_item_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def group_item_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 863; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_group_item_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_49group_item_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_49group_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_10elementary_12c_elementary_7Gengrid_48group_item_size_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":865
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_48group_item_size_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":867
+ * 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.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":868
+ * cdef Evas_Coord w, h
+ * elm_gengrid_group_item_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property group_item_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 868; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 868; __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[35]; __pyx_lineno = 868; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_15group_item_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_15group_item_size___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":871
+ *
+ * property group_item_size:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.group_item_size_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_15group_item_size___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":872
+ * property group_item_size:
+ * def __get__(self):
+ * return self.group_item_size_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__group_item_size_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 872; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 872; __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;
+
+ __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_AddTraceback("elementary.c_elementary.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;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_15group_item_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_15group_item_size_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":874
+ * return self.group_item_size_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.group_item_size_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_15group_item_size_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":875
+ *
+ * def __set__(self, value):
+ * self.group_item_size_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def align_set(self, align_x, align_y):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__group_item_size_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 875; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.group_item_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_51align_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_51align_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_align_x = 0;
+ PyObject *__pyx_v_align_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__align_x,&__pyx_n_s__align_y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("align_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__align_x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__align_y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("align_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 877; __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[35]; __pyx_lineno = 877; __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[35]; __pyx_lineno = 877; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_50align_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_align_x, __pyx_v_align_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":877
+ * self.group_item_size_set(*value)
+ *
+ * def align_set(self, align_x, align_y): # <<<<<<<<<<<<<<
+ * elm_gengrid_align_set(self.obj, align_x, align_y)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_50align_set(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":878
+ *
+ * def align_set(self, align_x, align_y):
+ * elm_gengrid_align_set(self.obj, align_x, align_y) # <<<<<<<<<<<<<<
+ *
+ * def align_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_align_x); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 878; __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[35]; __pyx_lineno = 878; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_align_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.align_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_53align_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_53align_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_10elementary_12c_elementary_7Gengrid_52align_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":880
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_52align_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":882
+ * 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.obj, (&__pyx_v_align_x), (&__pyx_v_align_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":883
+ * cdef double align_x, align_y
+ * elm_gengrid_align_get(self.obj, &align_x, &align_y)
+ * return (align_x, align_y) # <<<<<<<<<<<<<<
+ *
+ * property align:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_align_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 883; __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[35]; __pyx_lineno = 883; __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[35]; __pyx_lineno = 883; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.align_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_5align_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_5align_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_5align___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":886
+ *
+ * property align:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.align_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_5align___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":887
+ * property align:
+ * def __get__(self):
+ * return self.align_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__align_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 887; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 887; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.align.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_5align_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_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_10elementary_12c_elementary_7Gengrid_5align_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":889
+ * return self.align_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.align_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_5align_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":890
+ *
+ * def __set__(self, value):
+ * self.align_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def reorder_mode_set(self, mode):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__align_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 890; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.align.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_55reorder_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_55reorder_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_10elementary_12c_elementary_7Gengrid_54reorder_mode_set(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":892
+ * self.align_set(*value)
+ *
+ * def reorder_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * elm_gengrid_reorder_mode_set(self.obj, bool(mode))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_54reorder_mode_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("reorder_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":893
+ *
+ * def reorder_mode_set(self, mode):
+ * elm_gengrid_reorder_mode_set(self.obj, bool(mode)) # <<<<<<<<<<<<<<
+ *
+ * def reorder_mode_get(self, mode):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_mode);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_mode);
+ __Pyx_GIVEREF(__pyx_v_mode);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 893; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_reorder_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.reorder_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_57reorder_mode_get(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_57reorder_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_10elementary_12c_elementary_7Gengrid_56reorder_mode_get(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":895
+ * elm_gengrid_reorder_mode_set(self.obj, bool(mode))
+ *
+ * def reorder_mode_get(self, mode): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_reorder_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_56reorder_mode_get(struct PyElementaryGengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_mode) {
+ 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("reorder_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":896
+ *
+ * def reorder_mode_get(self, mode):
+ * return bool(elm_gengrid_reorder_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property reorder_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_reorder_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 896; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.reorder_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_12reorder_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_12reorder_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_12reorder_mode___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":899
+ *
+ * property reorder_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.reorder_mode_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12reorder_mode___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":900
+ * property reorder_mode:
+ * def __get__(self):
+ * return self.reorder_mode_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__reorder_mode_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 900; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 900; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.reorder_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_12reorder_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_12reorder_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_12reorder_mode_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":902
+ * return self.reorder_mode_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.reorder_mode_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_12reorder_mode_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":903
+ *
+ * def __set__(self, value):
+ * self.reorder_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * def page_relative_set(self, h_pagerel, v_pagerel):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__reorder_mode_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 903; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 903; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 903; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.reorder_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_59page_relative_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_59page_relative_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagerel = 0;
+ PyObject *__pyx_v_v_pagerel = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagerel,&__pyx_n_s__v_pagerel,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_relative_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagerel);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagerel);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_relative_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_relative_set") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 905; __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_pagerel = values[0];
+ __pyx_v_v_pagerel = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_relative_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 905; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_relative_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_58page_relative_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_h_pagerel, __pyx_v_v_pagerel);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":905
+ * self.reorder_mode_set(value)
+ *
+ * def page_relative_set(self, h_pagerel, v_pagerel): # <<<<<<<<<<<<<<
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_58page_relative_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagerel, PyObject *__pyx_v_v_pagerel) {
+ 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("page_relative_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":906
+ *
+ * def page_relative_set(self, h_pagerel, v_pagerel):
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel) # <<<<<<<<<<<<<<
+ *
+ * def page_relative_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_h_pagerel); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 906; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_v_pagerel); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 906; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_relative_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_relative_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_61page_relative_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_61page_relative_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_relative_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_60page_relative_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":908
+ * elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+ *
+ * def page_relative_get(self): # <<<<<<<<<<<<<<
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_60page_relative_get(struct PyElementaryGengrid *__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("page_relative_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":910
+ * def page_relative_get(self):
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel) # <<<<<<<<<<<<<<
+ * return (h_pagerel, v_pagerel)
+ *
+ */
+ elm_scroller_page_relative_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagerel), (&__pyx_v_v_pagerel));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":911
+ * cdef double h_pagerel, v_pagerel
+ * elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ * return (h_pagerel, v_pagerel) # <<<<<<<<<<<<<<
+ *
+ * property page_relative:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_h_pagerel); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 911; __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[35]; __pyx_lineno = 911; __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[35]; __pyx_lineno = 911; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.page_relative_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_13page_relative_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_13page_relative_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_13page_relative___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":914
+ *
+ * property page_relative:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.page_relative_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_13page_relative___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":915
+ * property page_relative:
+ * def __get__(self):
+ * return self.page_relative_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__page_relative_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 915; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 915; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.page_relative.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_13page_relative_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_13page_relative_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_13page_relative_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":917
+ * return self.page_relative_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.page_relative_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_13page_relative_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":918
+ *
+ * def __set__(self, value):
+ * self.page_relative_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def page_size_set(self, h_pagesize, v_pagesize):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__page_relative_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 918; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.page_relative.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_63page_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_63page_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagesize = 0;
+ PyObject *__pyx_v_v_pagesize = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagesize,&__pyx_n_s__v_pagesize,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagesize);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagesize);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 920; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_size_set") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 920; __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_pagesize = values[0];
+ __pyx_v_v_pagesize = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 920; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_62page_size_set(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_h_pagesize, __pyx_v_v_pagesize);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":920
+ * self.page_relative_set(*value)
+ *
+ * def page_size_set(self, h_pagesize, v_pagesize): # <<<<<<<<<<<<<<
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_62page_size_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagesize, PyObject *__pyx_v_v_pagesize) {
+ 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("page_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":921
+ *
+ * def page_size_set(self, h_pagesize, v_pagesize):
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize) # <<<<<<<<<<<<<<
+ *
+ * def current_page_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h_pagesize); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_v_pagesize); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 921; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_65current_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_65current_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("current_page_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_64current_page_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":923
+ * elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+ *
+ * def current_page_get(self): # <<<<<<<<<<<<<<
+ * cdef int h_pagenum, v_pagenum
+ * elm_scroller_current_page_get(self.obj, &h_pagenum, &v_pagenum)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_64current_page_get(struct PyElementaryGengrid *__pyx_v_self) {
+ int __pyx_v_h_pagenum;
+ int __pyx_v_v_pagenum;
+ 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("current_page_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":925
+ * def current_page_get(self):
+ * cdef int h_pagenum, v_pagenum
+ * elm_scroller_current_page_get(self.obj, &h_pagenum, &v_pagenum) # <<<<<<<<<<<<<<
+ * return (h_pagenum, v_pagenum)
+ *
+ */
+ elm_scroller_current_page_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagenum), (&__pyx_v_v_pagenum));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":926
+ * cdef int h_pagenum, v_pagenum
+ * elm_scroller_current_page_get(self.obj, &h_pagenum, &v_pagenum)
+ * return (h_pagenum, v_pagenum) # <<<<<<<<<<<<<<
+ *
+ * property current_page:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_pagenum); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 926; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_pagenum); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 926; __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[35]; __pyx_lineno = 926; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.current_page_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_12current_page_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_12current_page_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_12current_page___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":929
+ *
+ * property current_page:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.current_page_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_12current_page___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":930
+ * property current_page:
+ * def __get__(self):
+ * return self.current_page_get() # <<<<<<<<<<<<<<
+ *
+ * def last_page_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__current_page_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 930; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 930; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.current_page.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_67last_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_67last_page_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("last_page_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_66last_page_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":932
+ * return self.current_page_get()
+ *
+ * def last_page_get(self): # <<<<<<<<<<<<<<
+ * cdef int h_pagenum, v_pagenum
+ * elm_scroller_last_page_get(self.obj, &h_pagenum, &v_pagenum)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_66last_page_get(struct PyElementaryGengrid *__pyx_v_self) {
+ int __pyx_v_h_pagenum;
+ int __pyx_v_v_pagenum;
+ 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("last_page_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":934
+ * def last_page_get(self):
+ * cdef int h_pagenum, v_pagenum
+ * elm_scroller_last_page_get(self.obj, &h_pagenum, &v_pagenum) # <<<<<<<<<<<<<<
+ * return (h_pagenum, v_pagenum)
+ *
+ */
+ elm_scroller_last_page_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_pagenum), (&__pyx_v_v_pagenum));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":935
+ * cdef int h_pagenum, v_pagenum
+ * elm_scroller_last_page_get(self.obj, &h_pagenum, &v_pagenum)
+ * return (h_pagenum, v_pagenum) # <<<<<<<<<<<<<<
+ *
+ * property last_page:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_pagenum); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 935; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_pagenum); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 935; __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[35]; __pyx_lineno = 935; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.last_page_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9last_page_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_9last_page_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_9last_page___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":938
+ *
+ * property last_page:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.last_page_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_9last_page___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":939
+ * property last_page:
+ * def __get__(self):
+ * return self.last_page_get() # <<<<<<<<<<<<<<
+ *
+ * def page_show(self, h_pagenum, v_pagenum):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__last_page_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 939; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 939; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.last_page.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_69page_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_69page_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagenum = 0;
+ PyObject *__pyx_v_v_pagenum = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagenum,&__pyx_n_s__v_pagenum,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_show (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagenum);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagenum);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_show", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_show") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 941; __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_pagenum = values[0];
+ __pyx_v_v_pagenum = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_show", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 941; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_68page_show(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_h_pagenum, __pyx_v_v_pagenum);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":941
+ * return self.last_page_get()
+ *
+ * def page_show(self, h_pagenum, v_pagenum): # <<<<<<<<<<<<<<
+ * elm_gengrid_page_show(self.obj, h_pagenum, v_pagenum)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_68page_show(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagenum, PyObject *__pyx_v_v_pagenum) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("page_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":942
+ *
+ * def page_show(self, h_pagenum, v_pagenum):
+ * elm_gengrid_page_show(self.obj, h_pagenum, v_pagenum) # <<<<<<<<<<<<<<
+ *
+ * def page_bring_in(self, h_pagenum, v_pagenum):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_h_pagenum); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_v_pagenum); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 942; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_page_show(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_71page_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_71page_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_h_pagenum = 0;
+ PyObject *__pyx_v_v_pagenum = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__h_pagenum,&__pyx_n_s__v_pagenum,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("page_bring_in (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h_pagenum);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__v_pagenum);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("page_bring_in", 1, 2, 2, 1); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "page_bring_in") < 0)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 944; __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_pagenum = values[0];
+ __pyx_v_v_pagenum = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("page_bring_in", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[35]; __pyx_lineno = 944; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_70page_bring_in(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_h_pagenum, __pyx_v_v_pagenum);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":944
+ * elm_gengrid_page_show(self.obj, h_pagenum, v_pagenum)
+ *
+ * def page_bring_in(self, h_pagenum, v_pagenum): # <<<<<<<<<<<<<<
+ * elm_scroller_page_bring_in(self.obj, h_pagenum, v_pagenum)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_70page_bring_in(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_h_pagenum, PyObject *__pyx_v_v_pagenum) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("page_bring_in", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":945
+ *
+ * def page_bring_in(self, h_pagenum, v_pagenum):
+ * elm_scroller_page_bring_in(self.obj, h_pagenum, v_pagenum) # <<<<<<<<<<<<<<
+ *
+ * def filled_set(self, fill):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_h_pagenum); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_v_pagenum); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_page_bring_in(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.page_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_73filled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_73filled_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_10elementary_12c_elementary_7Gengrid_72filled_set(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":947
+ * elm_scroller_page_bring_in(self.obj, h_pagenum, v_pagenum)
+ *
+ * def filled_set(self, fill): # <<<<<<<<<<<<<<
+ * elm_gengrid_filled_set(self.obj, bool(fill))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_72filled_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_fill) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("filled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":948
+ *
+ * def filled_set(self, fill):
+ * elm_gengrid_filled_set(self.obj, bool(fill)) # <<<<<<<<<<<<<<
+ *
+ * def filled_get(self, fill):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 948; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_fill);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_fill);
+ __Pyx_GIVEREF(__pyx_v_fill);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 948; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 948; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_filled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.filled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_75filled_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_75filled_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_10elementary_12c_elementary_7Gengrid_74filled_get(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":950
+ * elm_gengrid_filled_set(self.obj, bool(fill))
+ *
+ * def filled_get(self, fill): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_filled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_74filled_get(struct PyElementaryGengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill) {
+ 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("filled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":951
+ *
+ * def filled_get(self, fill):
+ * return bool(elm_gengrid_filled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property filled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_filled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 951; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.filled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_6filled_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_6filled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_6filled___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":954
+ *
+ * property filled:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.filled_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_6filled___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":955
+ * property filled:
+ * def __get__(self):
+ * return self.filled_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__filled_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 955; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 955; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.filled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_6filled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_6filled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_6filled_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":957
+ * return self.filled_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.filled_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_6filled_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":958
+ *
+ * def __set__(self, value):
+ * self.filled_set(value) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_set(self, mode):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__filled_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 958; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.filled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_77select_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_77select_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_10elementary_12c_elementary_7Gengrid_76select_mode_set(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":960
+ * self.filled_set(value)
+ *
+ * def select_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * elm_gengrid_select_mode_set(self.obj, mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_76select_mode_set(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":961
+ *
+ * def select_mode_set(self, mode):
+ * elm_gengrid_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def select_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Object_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 961; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_gengrid_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.select_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_79select_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_79select_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_10elementary_12c_elementary_7Gengrid_78select_mode_get(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":963
+ * elm_gengrid_select_mode_set(self.obj, mode)
+ *
+ * def select_mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_gengrid_select_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_78select_mode_get(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":964
+ *
+ * def select_mode_get(self):
+ * return elm_gengrid_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property select_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_gengrid_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 964; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Gengrid.select_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_11select_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_11select_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_11select_mode___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":967
+ *
+ * property select_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.select_mode_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_11select_mode___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":968
+ * property select_mode:
+ * def __get__(self):
+ * return self.select_mode_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__select_mode_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 968; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 968; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.select_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_11select_mode_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":970
+ * return self.select_mode_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.select_mode_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_11select_mode_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":971
+ *
+ * def __set__(self, value):
+ * self.select_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * def highlight_mode_set(self, highlight):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__select_mode_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 971; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.select_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_81highlight_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_highlight); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_81highlight_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_10elementary_12c_elementary_7Gengrid_80highlight_mode_set(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_highlight));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":973
+ * self.select_mode_set(value)
+ *
+ * def highlight_mode_set(self, highlight): # <<<<<<<<<<<<<<
+ * elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_80highlight_mode_set(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_highlight) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("highlight_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":974
+ *
+ * def highlight_mode_set(self, highlight):
+ * elm_gengrid_highlight_mode_set(self.obj, bool(highlight)) # <<<<<<<<<<<<<<
+ *
+ * def highlight_mode_get(self, fill):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 974; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_highlight);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_highlight);
+ __Pyx_GIVEREF(__pyx_v_highlight);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 974; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 974; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_gengrid_highlight_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.highlight_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_83highlight_mode_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fill); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_83highlight_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_10elementary_12c_elementary_7Gengrid_82highlight_mode_get(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_fill));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":976
+ * elm_gengrid_highlight_mode_set(self.obj, bool(highlight))
+ *
+ * def highlight_mode_get(self, fill): # <<<<<<<<<<<<<<
+ * return bool(elm_gengrid_highlight_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_82highlight_mode_get(struct PyElementaryGengrid *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_fill) {
+ 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("highlight_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":977
+ *
+ * def highlight_mode_get(self, fill):
+ * return bool(elm_gengrid_highlight_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property highlight_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_gengrid_highlight_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 977; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.highlight_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_14highlight_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_14highlight_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_14highlight_mode___get__(((struct PyElementaryGengrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":980
+ *
+ * property highlight_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.highlight_mode_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_14highlight_mode___get__(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":981
+ * property highlight_mode:
+ * def __get__(self):
+ * return self.highlight_mode_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__highlight_mode_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 981; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 981; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.highlight_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_14highlight_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Gengrid_14highlight_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_14highlight_mode_2__set__(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":983
+ * return self.highlight_mode_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.highlight_mode_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Gengrid_14highlight_mode_2__set__(struct PyElementaryGengrid *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":984
+ *
+ * def __set__(self, value):
+ * self.highlight_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__highlight_mode_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 984; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.highlight_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_85callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_85callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[35]; __pyx_lineno = 986; __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[35]; __pyx_lineno = 986; __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("elementary.c_elementary.Gengrid.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_84callback_clicked_double_add(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":986
+ * self.highlight_mode_set(value)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("clicked,double", _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_84callback_clicked_double_add(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":987
+ *
+ * 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 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":988
+ * 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[35]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":987
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":988
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 987; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_87callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_87callback_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_10elementary_12c_elementary_7Gengrid_86callback_clicked_double_del(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":990
+ * func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("clicked,double", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_86callback_clicked_double_del(struct PyElementaryGengrid *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":991
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 991; __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[35]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 991; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_89callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_89callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[35]; __pyx_lineno = 993; __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[35]; __pyx_lineno = 993; __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("elementary.c_elementary.Gengrid.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_88callback_clicked_add(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":993
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_88callback_clicked_add(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":994
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * self._callback_add_full("clicked", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":995
+ * 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[35]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":994
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":995
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 994; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_91callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_91callback_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_10elementary_12c_elementary_7Gengrid_90callback_clicked_del(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":997
+ * func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("clicked", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_90callback_clicked_del(struct PyElementaryGengrid *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":998
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del_full("clicked", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 998; __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[35]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 998; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_93callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_93callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[35]; __pyx_lineno = 1000; __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[35]; __pyx_lineno = 1000; __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("elementary.c_elementary.Gengrid.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_92callback_selected_add(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1000
+ * self._callback_del_full("clicked", _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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_92callback_selected_add(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1001
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * self._callback_add_full("selected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1002
+ * 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[35]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1001
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1002
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1001; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_95callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_95callback_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_10elementary_12c_elementary_7Gengrid_94callback_selected_del(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1004
+ * func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_94callback_selected_del(struct PyElementaryGengrid *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1005
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1005; __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[35]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_97callback_unselected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_97callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[35]; __pyx_lineno = 1007; __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[35]; __pyx_lineno = 1007; __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("elementary.c_elementary.Gengrid.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Gengrid_96callback_unselected_add(((struct PyElementaryGengrid *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1007
+ * 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)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_96callback_unselected_add(struct PyElementaryGengrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1008
+ *
+ * def callback_unselected_add(self, func, *args, **kwargs):
+ * self._callback_add_full("unselected", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1009
+ * 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[35]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unselected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unselected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1008
+ *
+ * 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1009
+ * 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 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1008; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Gengrid.callback_unselected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_99callback_unselected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Gengrid_99callback_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_10elementary_12c_elementary_7Gengrid_98callback_unselected_del(((struct PyElementaryGengrid *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1011
+ * func, *args, **kwargs)
+ *
+ * def callback_unselected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("unselected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Gengrid_98callback_unselected_del(struct PyElementaryGengrid *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unselected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1012
+ *
+ * def callback_unselected_del(self, func):
+ * self._callback_del_full("unselected", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("gengrid", Gengrid)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1012; __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[35]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unselected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__unselected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1012; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Gengrid.callback_unselected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 48; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[36]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner___init__(((struct PyElementarySpinner *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":48
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_spinner_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner___init__(struct PyElementarySpinner *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":49
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_spinner_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 49; __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[36]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":50
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_spinner_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def label_format_set(self, format):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Spinner *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_spinner_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Spinner.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_3label_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_2label_format_set[] = "Set the format string of the displayed label.\n\n If C{None}, this sets the format to \"%.0f\". If not it sets the format\n string for the label text. The label text is provided a floating point\n value, so the label text can display up to 1 floating point value.\n Note that this is optional.\n\n Use a format string such as \"%1.2f meters\" for example, and it will\n display values like: \"3.14 meters\" for a value equal to 3.14159.\n\n Default is \"%0.f\".\n\n @see: L{label_format_get()}\n\n @param fmt: The format string for the label display.\n @type fmt: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_3label_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("label_format_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_2label_format_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":52
+ * self._set_obj(elm_spinner_add(parent.obj))
+ *
+ * def label_format_set(self, format): # <<<<<<<<<<<<<<
+ * """Set the format string of the displayed label.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_2label_format_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("label_format_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":71
+ *
+ * """
+ * elm_spinner_label_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * def label_format_get(self):
+ */
+ elm_spinner_label_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_5label_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_4label_format_get[] = "Get the label format of the spinner.\n\n @see: L{label_format_set()} for details.\n\n @return: The text label format string in UTF-8.\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_5label_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("label_format_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4label_format_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":73
+ * elm_spinner_label_format_set(self.obj, _cfruni(format))
+ *
+ * def label_format_get(self): # <<<<<<<<<<<<<<
+ * """Get the label format of the spinner.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4label_format_get(struct PyElementarySpinner *__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("label_format_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":82
+ *
+ * """
+ * return _ctouni(elm_spinner_label_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property label_format:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_spinner_label_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.label_format_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_12label_format_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_12label_format_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_12label_format___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":100
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_spinner_label_format_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_12label_format___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":101
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_spinner_label_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, format):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_spinner_label_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.label_format.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_12label_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_12label_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_12label_format_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":103
+ * return _ctouni(elm_spinner_label_format_get(self.obj))
+ *
+ * def __set__(self, format): # <<<<<<<<<<<<<<
+ * elm_spinner_label_format_set(self.obj, _cfruni(format))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_12label_format_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":104
+ *
+ * def __set__(self, format):
+ * elm_spinner_label_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * def min_max_set(self, min, max):
+ */
+ elm_spinner_label_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_6min_max_set[] = "Set the minimum and maximum values for the spinner.\n\n Define the allowed range of values to be selected by the user.\n\n If actual value is less than C{min}, it will be updated to C{min}.\n If it is bigger then C{max}, will be updated to C{max}. Actual value\n can be get with L{value_get()}.\n\n By default, min is equal to 0, and max is equal to 100.\n\n @warning: Maximum must be greater than minimum.\n\n @see: L{min_max_get()}\n\n @param min: The minimum value.\n @type min: float\n @param max: The maximum value.\n @type max: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_min = 0;
+ PyObject *__pyx_v_max = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__min,&__pyx_n_s__max,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("min_max_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__min);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__max);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("min_max_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[36]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "min_max_set") < 0)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 106; __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_min = values[0];
+ __pyx_v_max = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("min_max_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[36]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.min_max_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_6min_max_set(((struct PyElementarySpinner *)__pyx_v_self), __pyx_v_min, __pyx_v_max);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":106
+ * elm_spinner_label_format_set(self.obj, _cfruni(format))
+ *
+ * def min_max_set(self, min, max): # <<<<<<<<<<<<<<
+ * """Set the minimum and maximum values for the spinner.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_6min_max_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_min, PyObject *__pyx_v_max) {
+ 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("min_max_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":127
+ *
+ * """
+ * elm_spinner_min_max_set(self.obj, min, max) # <<<<<<<<<<<<<<
+ *
+ * def min_max_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_min); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_max); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_min_max_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.min_max_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_9min_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_8min_max_get[] = "Get the minimum and maximum values of the spinner.\n\n @note: If only one value is needed, the other pointer can be passed\n as C{None}.\n\n @see: L{min_max_set()} for details.\n\n @return: The minimum and maximum values\n @rtype: tuple of floats\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_9min_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("min_max_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_8min_max_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":129
+ * elm_spinner_min_max_set(self.obj, min, max)
+ *
+ * def min_max_get(self): # <<<<<<<<<<<<<<
+ * """Get the minimum and maximum values of the spinner.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_8min_max_get(struct PyElementarySpinner *__pyx_v_self) {
+ double __pyx_v_min;
+ double __pyx_v_max;
+ 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("min_max_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":142
+ * """
+ * cdef double min, max
+ * elm_spinner_min_max_get(self.obj, &min, &max) # <<<<<<<<<<<<<<
+ * return (min, max)
+ *
+ */
+ elm_spinner_min_max_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_min), (&__pyx_v_max));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":143
+ * cdef double min, max
+ * elm_spinner_min_max_get(self.obj, &min, &max)
+ * return (min, max) # <<<<<<<<<<<<<<
+ *
+ * property min_max:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_min); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_max); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 143; __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[36]; __pyx_lineno = 143; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Spinner.min_max_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_7min_max___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":159
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef double min, max
+ * elm_spinner_min_max_get(self.obj, &min, &max)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_7min_max___get__(struct PyElementarySpinner *__pyx_v_self) {
+ double __pyx_v_min;
+ double __pyx_v_max;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":161
+ * def __get__(self):
+ * cdef double min, max
+ * elm_spinner_min_max_get(self.obj, &min, &max) # <<<<<<<<<<<<<<
+ * return (min, max)
+ *
+ */
+ elm_spinner_min_max_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_min), (&__pyx_v_max));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":162
+ * cdef double min, max
+ * elm_spinner_min_max_get(self.obj, &min, &max)
+ * return (min, max) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_min); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_max); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 162; __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[36]; __pyx_lineno = 162; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Spinner.min_max.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_7min_max_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":164
+ * return (min, max)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * min, max = value
+ * elm_spinner_min_max_set(self.obj, min, max)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_7min_max_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_min = NULL;
+ PyObject *__pyx_v_max = 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":165
+ *
+ * def __set__(self, value):
+ * min, max = value # <<<<<<<<<<<<<<
+ * elm_spinner_min_max_set(self.obj, min, max)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[36]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[36]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 165; __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[36]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[36]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_min = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_max = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":166
+ * def __set__(self, value):
+ * min, max = value
+ * elm_spinner_min_max_set(self.obj, min, max) # <<<<<<<<<<<<<<
+ *
+ * def step_set(self, step):
+ */
+ __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_v_min); if (unlikely((__pyx_t_5 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_v_max); if (unlikely((__pyx_t_6 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_min_max_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Spinner.min_max.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_min);
+ __Pyx_XDECREF(__pyx_v_max);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_11step_set(PyObject *__pyx_v_self, PyObject *__pyx_v_step); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_10step_set[] = "Set the step used to increment or decrement the spinner value.\n\n This value will be incremented or decremented to the displayed value.\n It will be incremented while the user keep right or top arrow\n pressed, and will be decremented while the user keep left or bottom\n arrow pressed.\n\n The interval to increment / decrement can be set with\n L{interval_set()}.\n\n By default step value is equal to 1.\n\n @see: L{step_get()}\n\n @param step: The step value.\n @type step: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_11step_set(PyObject *__pyx_v_self, PyObject *__pyx_v_step) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("step_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_10step_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_step));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":168
+ * elm_spinner_min_max_set(self.obj, min, max)
+ *
+ * def step_set(self, step): # <<<<<<<<<<<<<<
+ * """Set the step used to increment or decrement the spinner value.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_10step_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_step) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("step_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":187
+ *
+ * """
+ * elm_spinner_step_set(self.obj, step) # <<<<<<<<<<<<<<
+ *
+ * def step_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_step); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_step_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.step_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_13step_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_12step_get[] = "Get the step used to increment or decrement the spinner value.\n\n @see: L{step_get()} for more details.\n\n @return: The step value.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_13step_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("step_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_12step_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":189
+ * elm_spinner_step_set(self.obj, step)
+ *
+ * def step_get(self): # <<<<<<<<<<<<<<
+ * """Get the step used to increment or decrement the spinner value.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_12step_get(struct PyElementarySpinner *__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("step_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":198
+ *
+ * """
+ * return elm_spinner_step_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property step:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_step_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.step_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_4step_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_4step_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4step___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":216
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_step_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4step___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":217
+ * """
+ * def __get__(self):
+ * return elm_spinner_step_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, step):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_step_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.step.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_4step_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_step); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_4step_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_step) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4step_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_step));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":219
+ * return elm_spinner_step_get(self.obj)
+ *
+ * def __set__(self, step): # <<<<<<<<<<<<<<
+ * elm_spinner_step_set(self.obj, step)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_4step_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_step) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":220
+ *
+ * def __set__(self, step):
+ * elm_spinner_step_set(self.obj, step) # <<<<<<<<<<<<<<
+ *
+ * def value_set(self, value):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_step); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_step_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.step.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_15value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_14value_set[] = "Set the value the spinner displays.\n\n Value will be presented on the label following format specified with\n L{format_set()}.\n\n @warning: The value must to be between min and max values. This values\n are set by L{min_max_set()}.\n\n @see: L{value_get()}\n @see: L{format_set()}\n @see: L{min_max_set()}\n\n @param val: The value to be displayed.\n @type val: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_15value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_14value_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":222
+ * elm_spinner_step_set(self.obj, step)
+ *
+ * def value_set(self, value): # <<<<<<<<<<<<<<
+ * """Set the value the spinner displays.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_14value_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("value_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":239
+ *
+ * """
+ * elm_spinner_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def value_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.value_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_17value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_16value_get[] = "Get the value displayed by the spinner.\n\n @see: L{value_set()} for details.\n\n @return: The value displayed.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_17value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_16value_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":241
+ * elm_spinner_value_set(self.obj, value)
+ *
+ * def value_get(self): # <<<<<<<<<<<<<<
+ * """Get the value displayed by the spinner.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_16value_get(struct PyElementarySpinner *__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("value_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":250
+ *
+ * """
+ * return elm_spinner_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property value:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.value_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_5value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_5value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_5value___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":267
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_value_get(self.obj)
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_5value___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":268
+ * """
+ * def __get__(self):
+ * return elm_spinner_value_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * elm_spinner_value_set(self.obj, value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_5value_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":269
+ * def __get__(self):
+ * return elm_spinner_value_get(self.obj)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_spinner_value_set(self.obj, value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_5value_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":270
+ * return elm_spinner_value_get(self.obj)
+ * def __set__(self, value):
+ * elm_spinner_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def wrap_set(self, wrap):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_19wrap_set(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_18wrap_set[] = "Set whether the spinner should wrap when it reaches its\n minimum or maximum value.\n\n Disabled by default. If disabled, when the user tries to increment\n the value, but displayed value plus step value is bigger than\n maximum value, the spinner won't allow it. The same happens when the\n user tries to decrement it, but the value less step is less than\n minimum value.\n\n When wrap is enabled, in such situations it will allow these changes,\n but will get the value that would be less than minimum and subtracts\n from maximum. Or add the value that would be more than maximum to\n the minimum.\n\n E.g.:\n - min value = 10\n - max value = 50\n - step value = 20\n - displayed value = 20\n\n When the user decrement value (using left or bottom arrow), it will\n display C{40}, because max - (min - (displayed - step)) is\n C{50} - (C{10} - (C{20} - C{20})) = C{40}.\n\n @see: L{wrap_get()}\n\n @param wrap: C{True} to enable wrap or C{False} to disable it.\n @type wrap: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_19wrap_set(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wrap_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_18wrap_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":272
+ * elm_spinner_value_set(self.obj, value)
+ *
+ * def wrap_set(self, wrap): # <<<<<<<<<<<<<<
+ * """Set whether the spinner should wrap when it reaches its
+ * minimum or maximum value.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_18wrap_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("wrap_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":303
+ *
+ * """
+ * elm_spinner_wrap_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ *
+ * def wrap_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_wrap); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_wrap_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.wrap_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_21wrap_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_20wrap_get[] = "Get whether the spinner should wrap when it reaches its minimum\n or maximum value.\n\n @see: L{wrap_set()} for details.\n\n @return: C{True} means wrap is enabled. C{False} indicates it's\n disabled.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_21wrap_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wrap_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_20wrap_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":305
+ * elm_spinner_wrap_set(self.obj, wrap)
+ *
+ * def wrap_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the spinner should wrap when it reaches its minimum
+ * or maximum value.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_20wrap_get(struct PyElementarySpinner *__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("wrap_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":316
+ *
+ * """
+ * return elm_spinner_wrap_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property wrap:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_spinner_wrap_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.wrap_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_4wrap_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_4wrap_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4wrap___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":346
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_wrap_get(self.obj)
+ * def __set__(self, wrap):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4wrap___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":347
+ * """
+ * def __get__(self):
+ * return elm_spinner_wrap_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, wrap):
+ * elm_spinner_wrap_set(self.obj, wrap)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_spinner_wrap_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.wrap.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_4wrap_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_4wrap_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4wrap_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":348
+ * def __get__(self):
+ * return elm_spinner_wrap_get(self.obj)
+ * def __set__(self, wrap): # <<<<<<<<<<<<<<
+ * elm_spinner_wrap_set(self.obj, wrap)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_4wrap_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":349
+ * return elm_spinner_wrap_get(self.obj)
+ * def __set__(self, wrap):
+ * elm_spinner_wrap_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ *
+ * def editable_set(self, editable):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_wrap); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_wrap_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.wrap.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_23editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_editable); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_22editable_set[] = "Set whether the spinner can be directly edited by the user or not.\n\n Spinner objects can have edition B{disabled}, in which state they\n will be changed only by arrows. Useful for contexts where you don't\n want your users to interact with it writing the value. Specially\n when using special values, the user can see real value instead of\n special label on edition.\n\n It's enabled by default.\n\n @see: L{editable_get()}\n\n @param editable: C{True} to allow users to edit it or C{False} to\n don't allow users to edit it directly.\n @type editable: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_23editable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_editable) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_22editable_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_editable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":351
+ * elm_spinner_wrap_set(self.obj, wrap)
+ *
+ * def editable_set(self, editable): # <<<<<<<<<<<<<<
+ * """Set whether the spinner can be directly edited by the user or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_22editable_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_editable) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("editable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":369
+ *
+ * """
+ * elm_spinner_editable_set(self.obj, editable) # <<<<<<<<<<<<<<
+ *
+ * def editable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_editable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_editable_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.editable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_25editable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_24editable_get[] = "Get whether the spinner can be directly edited by the user or not.\n\n @see: L{editable_set()} for details.\n\n @return: C{True} means edition is enabled. C{False} indicates it's\n disabled.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_25editable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("editable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_24editable_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":371
+ * elm_spinner_editable_set(self.obj, editable)
+ *
+ * def editable_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the spinner can be directly edited by the user or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_24editable_get(struct PyElementarySpinner *__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("editable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":381
+ *
+ * """
+ * return elm_spinner_editable_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property editable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_spinner_editable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.editable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_8editable_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_8editable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_8editable___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":397
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_editable_get(self.obj)
+ * def __set__(self, editable):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_8editable___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":398
+ * """
+ * def __get__(self):
+ * return elm_spinner_editable_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, editable):
+ * elm_spinner_editable_set(self.obj, editable)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_spinner_editable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.editable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_8editable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_editable); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_8editable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_editable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_8editable_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_editable));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":399
+ * def __get__(self):
+ * return elm_spinner_editable_get(self.obj)
+ * def __set__(self, editable): # <<<<<<<<<<<<<<
+ * elm_spinner_editable_set(self.obj, editable)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_8editable_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_editable) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":400
+ * return elm_spinner_editable_get(self.obj)
+ * def __set__(self, editable):
+ * elm_spinner_editable_set(self.obj, editable) # <<<<<<<<<<<<<<
+ *
+ * def special_value_add(self, value, label):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_editable); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_editable_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.editable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_27special_value_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_26special_value_add[] = "special_value_add(value, label)\n\n Set a special string to display in the place of the numerical value.\n\n It's useful for cases when a user should select an item that is\n better indicated by a label than a value. For example, weekdays or months.\n\n E.g.::\n sp = Spinner(win)\n sp.min_max_set(1, 3)\n sp.special_value_add(1, \"January\")\n sp.special_value_add(2, \"February\")\n sp.special_value_add(3, \"March\")\n sp.show()\n\n @param value: The value to be replaced.\n @type value: float\n @param label: The label to be used.\n @type label: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_27special_value_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_value = 0;
+ PyObject *__pyx_v_label = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__value,&__pyx_n_s__label,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("special_value_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__value);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("special_value_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[36]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "special_value_add") < 0)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 402; __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_value = values[0];
+ __pyx_v_label = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("special_value_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[36]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.special_value_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_26special_value_add(((struct PyElementarySpinner *)__pyx_v_self), __pyx_v_value, __pyx_v_label);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":402
+ * elm_spinner_editable_set(self.obj, editable)
+ *
+ * def special_value_add(self, value, label): # <<<<<<<<<<<<<<
+ * """special_value_add(value, label)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_26special_value_add(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_value, PyObject *__pyx_v_label) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("special_value_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":424
+ *
+ * """
+ * elm_spinner_special_value_add(self.obj, value, _cfruni(label)) # <<<<<<<<<<<<<<
+ *
+ * def interval_set(self, interval):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_special_value_add(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.special_value_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_29interval_set(PyObject *__pyx_v_self, PyObject *__pyx_v_interval); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_28interval_set[] = "Set the interval on time updates for an user mouse button hold\n on spinner widgets' arrows.\n\n This interval value is B{decreased} while the user holds the\n mouse pointer either incrementing or decrementing spinner's value.\n\n This helps the user to get to a given value distant from the\n current one easier/faster, as it will start to change quicker and\n quicker on mouse button holds.\n\n The calculation for the next change interval value, starting from\n the one set with this call, is the previous interval divided by\n C{1.05}, so it decreases a little bit.\n\n The default starting interval value for automatic changes is\n C{0.85} seconds.\n\n @see: L{interval_get()}\n\n @param interval: The (first) interval value in seconds.\n @type interval: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_29interval_set(PyObject *__pyx_v_self, PyObject *__pyx_v_interval) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interval_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_28interval_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_interval));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":426
+ * elm_spinner_special_value_add(self.obj, value, _cfruni(label))
+ *
+ * def interval_set(self, interval): # <<<<<<<<<<<<<<
+ * """Set the interval on time updates for an user mouse button hold
+ * on spinner widgets' arrows.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_28interval_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_interval) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("interval_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":450
+ *
+ * """
+ * elm_spinner_interval_set(self.obj, interval) # <<<<<<<<<<<<<<
+ *
+ * def interval_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_interval); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_interval_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.interval_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_31interval_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_30interval_get[] = "Get the interval on time updates for an user mouse button hold\n on spinner widgets' arrows.\n\n @see: L{interval_set()} for more details.\n\n @return: The (first) interval value, in seconds, set on it.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_31interval_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("interval_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_30interval_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":452
+ * elm_spinner_interval_set(self.obj, interval)
+ *
+ * def interval_get(self): # <<<<<<<<<<<<<<
+ * """Get the interval on time updates for an user mouse button hold
+ * on spinner widgets' arrows.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_30interval_get(struct PyElementarySpinner *__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("interval_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":462
+ *
+ * """
+ * return elm_spinner_interval_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property interval:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_interval_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 462; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.interval_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_8interval_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_8interval_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_8interval___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":485
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_interval_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_8interval___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":486
+ * """
+ * def __get__(self):
+ * return elm_spinner_interval_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, interval):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_interval_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.interval.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_8interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_8interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_8interval_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_interval));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":488
+ * return elm_spinner_interval_get(self.obj)
+ *
+ * def __set__(self, interval): # <<<<<<<<<<<<<<
+ * elm_spinner_interval_set(self.obj, interval)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_8interval_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":489
+ *
+ * def __set__(self, interval):
+ * elm_spinner_interval_set(self.obj, interval) # <<<<<<<<<<<<<<
+ *
+ * def base_set(self, base):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_interval); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_interval_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.interval.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_33base_set(PyObject *__pyx_v_self, PyObject *__pyx_v_base); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_32base_set[] = "Set the base for rounding\n\n Rounding works as follows:\n\n C{rounded_val = base + (double)(((value - base) / round) round)}\n\n Where rounded_val, value and base are doubles, and round is an integer.\n\n This means that things will be rounded to increments (or decrements)\n of \"round\" starting from value C{base}. The default base for\n rounding is 0.\n\n Example: round = 3, base = 2\n Values: 3, 6, 9, 12, 15, ...\n\n Example: round = 2, base = 5.5\n Values: 5.5, 7.5, 9.5, 11.5, ...\n\n @see: L{round_get()}\n @see: L{base_get()} too.\n\n @param base: The base value\n @type base: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_33base_set(PyObject *__pyx_v_self, PyObject *__pyx_v_base) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("base_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_32base_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_base));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":491
+ * elm_spinner_interval_set(self.obj, interval)
+ *
+ * def base_set(self, base): # <<<<<<<<<<<<<<
+ * """Set the base for rounding
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_32base_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_base) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("base_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":517
+ *
+ * """
+ * elm_spinner_base_set(self.obj, base) # <<<<<<<<<<<<<<
+ *
+ * def base_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_base); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_base_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.base_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_35base_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_34base_get[] = "Get the base for rounding\n\n This returns the base for rounding.\n\n @see: L{round_set()} too.\n @see: L{base_set()} too.\n\n @return: The base rounding value\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_35base_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("base_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_34base_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":519
+ * elm_spinner_base_set(self.obj, base)
+ *
+ * def base_get(self): # <<<<<<<<<<<<<<
+ * """Get the base for rounding
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_34base_get(struct PyElementarySpinner *__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("base_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":531
+ *
+ * """
+ * return elm_spinner_base_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property base:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_base_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.base_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_4base_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_4base_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4base___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":557
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_base_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_4base___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":558
+ * """
+ * def __get__(self):
+ * return elm_spinner_base_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, base):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_spinner_base_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.base.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_4base_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_base); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_4base_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_base) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_4base_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_base));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":560
+ * return elm_spinner_base_get(self.obj)
+ *
+ * def __set__(self, base): # <<<<<<<<<<<<<<
+ * elm_spinner_base_set(self.obj, base)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_4base_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_base) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":561
+ *
+ * def __set__(self, base):
+ * elm_spinner_base_set(self.obj, base) # <<<<<<<<<<<<<<
+ *
+ * def round_set(self, rnd):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_base); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 561; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_base_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.base.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_37round_set(PyObject *__pyx_v_self, PyObject *__pyx_v_rnd); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_36round_set[] = "Set the round value for rounding\n\n Sets the rounding value used for value rounding in the spinner.\n\n @see: L{round_get()}\n @see: L{base_set()}\n\n @param rnd: The rounding value\n @type rnd: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_37round_set(PyObject *__pyx_v_self, PyObject *__pyx_v_rnd) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("round_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_36round_set(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_rnd));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":563
+ * elm_spinner_base_set(self.obj, base)
+ *
+ * def round_set(self, rnd): # <<<<<<<<<<<<<<
+ * """Set the round value for rounding
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_36round_set(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_rnd) {
+ 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("round_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":575
+ *
+ * """
+ * elm_spinner_round_set(self.obj, rnd) # <<<<<<<<<<<<<<
+ *
+ * def round_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_rnd); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_round_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.round_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_39round_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_38round_get[] = "Get the round value for rounding\n\n This returns the round value for rounding.\n\n @see: L{round_set()} too.\n @see: L{base_set()} too.\n\n @return: The rounding value\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_39round_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("round_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_38round_get(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":577
+ * elm_spinner_round_set(self.obj, rnd)
+ *
+ * def round_get(self): # <<<<<<<<<<<<<<
+ * """Get the round value for rounding
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_38round_get(struct PyElementarySpinner *__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("round_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":589
+ *
+ * """
+ * return elm_spinner_round_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property round:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_spinner_round_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.round_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_5round_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_5round_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_5round___get__(((struct PyElementarySpinner *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":599
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_spinner_round_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_5round___get__(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":600
+ * """
+ * def __get__(self):
+ * return elm_spinner_round_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, rnd):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_spinner_round_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 600; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.round.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_5round_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_rnd); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Spinner_5round_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_rnd) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_5round_2__set__(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_rnd));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":602
+ * return elm_spinner_round_get(self.obj)
+ *
+ * def __set__(self, rnd): # <<<<<<<<<<<<<<
+ * elm_spinner_round_set(self.obj, rnd)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Spinner_5round_2__set__(struct PyElementarySpinner *__pyx_v_self, PyObject *__pyx_v_rnd) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":603
+ *
+ * def __set__(self, rnd):
+ * elm_spinner_round_set(self.obj, rnd) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_rnd); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 603; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_spinner_round_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Spinner.round.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_41callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_40callback_changed_add[] = "Whenever the spinner value is changed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_41callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[36]; __pyx_lineno = 605; __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[36]; __pyx_lineno = 605; __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("elementary.c_elementary.Spinner.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_40callback_changed_add(((struct PyElementarySpinner *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":605
+ * elm_spinner_round_set(self.obj, rnd)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Whenever the spinner value is changed."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_40callback_changed_add(struct PyElementarySpinner *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":607
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """Whenever the spinner value is changed."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 607; __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[36]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Spinner.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_43callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_43callback_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_10elementary_12c_elementary_7Spinner_42callback_changed_del(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":609
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_42callback_changed_del(struct PyElementarySpinner *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":610
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_delay_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 610; __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[36]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 610; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Spinner.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_45callback_delay_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Spinner_44callback_delay_changed_add[] = "A short time after the value is changed by the user. This will\n be called only when the user stops dragging for a very short period\n or when they release their finger/mouse, so it avoids possibly\n expensive reactions to the value change.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_45callback_delay_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delay_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_delay_changed_add") < 0)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 612; __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_delay_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[36]; __pyx_lineno = 612; __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("elementary.c_elementary.Spinner.callback_delay_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_44callback_delay_changed_add(((struct PyElementarySpinner *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":612
+ * self._callback_del("changed", func)
+ *
+ * def callback_delay_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A short time after the value is changed by the user. This will
+ * be called only when the user stops dragging for a very short period
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_44callback_delay_changed_add(struct PyElementarySpinner *__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_delay_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":619
+ *
+ * """
+ * self._callback_add("delay,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_delay_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 619; __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[36]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_113));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_113));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_113));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Spinner.callback_delay_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_47callback_delay_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Spinner_47callback_delay_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delay_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Spinner_46callback_delay_changed_del(((struct PyElementarySpinner *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":621
+ * self._callback_add("delay,changed", func, *args, **kwargs)
+ *
+ * def callback_delay_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("delay,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Spinner_46callback_delay_changed_del(struct PyElementarySpinner *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_delay_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":622
+ *
+ * def callback_delay_changed_del(self, func):
+ * self._callback_del("delay,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("spinner", Spinner)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 622; __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[36]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_113));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_113));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_113));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 622; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Spinner.callback_delay_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 35; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[37]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify___init__(((struct PyElementaryNotify *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":35
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_notify_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Notify___init__(struct PyElementaryNotify *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":36
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_notify_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 36; __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[37]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":37
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_notify_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def parent_set(self, evasObject parent):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Notify *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_notify_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Notify.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_3parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_2parent_set[] = "Set the notify parent.\n\n Once the parent object is set, a previously set one will be disconnected\n and replaced.\n\n @param parent: The new parent\n @type parent: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_3parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_2parent_set(((struct PyElementaryNotify *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":39
+ * self._set_obj(elm_notify_add(parent.obj))
+ *
+ * def parent_set(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Set the notify parent.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_2parent_set(struct PyElementaryNotify *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ Evas_Object *__pyx_v_o;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":50
+ * """
+ * cdef Evas_Object *o
+ * if parent is not None: # <<<<<<<<<<<<<<
+ * o = parent.obj
+ * else:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_parent) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":51
+ * cdef Evas_Object *o
+ * if parent is not None:
+ * o = parent.obj # <<<<<<<<<<<<<<
+ * else:
+ * o = NULL
+ */
+ __pyx_v_o = __pyx_v_parent->obj;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":53
+ * o = parent.obj
+ * else:
+ * o = NULL # <<<<<<<<<<<<<<
+ * elm_notify_parent_set(self.obj, o)
+ *
+ */
+ __pyx_v_o = NULL;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":54
+ * else:
+ * o = NULL
+ * elm_notify_parent_set(self.obj, o) # <<<<<<<<<<<<<<
+ *
+ * def parent_get(self):
+ */
+ elm_notify_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_o);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_5parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_4parent_get[] = "Get the notify parent\n\n @see: L{parent_set()}\n\n @return: The parent\n @rtype: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_5parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_4parent_get(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":56
+ * elm_notify_parent_set(self.obj, o)
+ *
+ * def parent_get(self): # <<<<<<<<<<<<<<
+ * """Get the notify parent
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_4parent_get(struct PyElementaryNotify *__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("parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":65
+ *
+ * """
+ * return Object_from_instance(elm_notify_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_notify_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_6parent_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_6parent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_6parent___get__(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":76
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_notify_parent_get(self.obj))
+ * def __set__(self, evasObject parent):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_6parent___get__(struct PyElementaryNotify *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":77
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_notify_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, evasObject parent):
+ * cdef Evas_Object *o
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_notify_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_6parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_6parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_6parent_2__set__(((struct PyElementaryNotify *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":78
+ * def __get__(self):
+ * return Object_from_instance(elm_notify_parent_get(self.obj))
+ * def __set__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *o
+ * if parent is not None:
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Notify_6parent_2__set__(struct PyElementaryNotify *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ Evas_Object *__pyx_v_o;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":80
+ * def __set__(self, evasObject parent):
+ * cdef Evas_Object *o
+ * if parent is not None: # <<<<<<<<<<<<<<
+ * o = parent.obj
+ * else:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_parent) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":81
+ * cdef Evas_Object *o
+ * if parent is not None:
+ * o = parent.obj # <<<<<<<<<<<<<<
+ * else:
+ * o = NULL
+ */
+ __pyx_v_o = __pyx_v_parent->obj;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":83
+ * o = parent.obj
+ * else:
+ * o = NULL # <<<<<<<<<<<<<<
+ * elm_notify_parent_set(self.obj, o)
+ *
+ */
+ __pyx_v_o = NULL;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":84
+ * else:
+ * o = NULL
+ * elm_notify_parent_set(self.obj, o) # <<<<<<<<<<<<<<
+ *
+ * def orient_set(self, int orient):
+ */
+ elm_notify_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_o);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_7orient_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_orient); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_6orient_set[] = "Set the orientation.\n\n Sets the position in which the notify will appear in its parent.\n\n @param orient: The new orientation\n @type orient: Elm_Notify_Orient\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_7orient_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_orient) {
+ int __pyx_v_orient;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_set (wrapper)", 0);
+ assert(__pyx_arg_orient); {
+ __pyx_v_orient = __Pyx_PyInt_AsInt(__pyx_arg_orient); if (unlikely((__pyx_v_orient == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.orient_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_6orient_set(((struct PyElementaryNotify *)__pyx_v_self), ((int)__pyx_v_orient));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":86
+ * elm_notify_parent_set(self.obj, o)
+ *
+ * def orient_set(self, int orient): # <<<<<<<<<<<<<<
+ * """Set the orientation.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_6orient_set(struct PyElementaryNotify *__pyx_v_self, int __pyx_v_orient) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":95
+ *
+ * """
+ * elm_notify_orient_set(self.obj, orient) # <<<<<<<<<<<<<<
+ *
+ * def orient_get(self):
+ */
+ elm_notify_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_orient);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_9orient_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_8orient_get[] = "Return the orientation\n\n @see: L{orient_set()}\n\n @return: The orientation of the notification\n @rtype: Elm_Notify_Orient\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_9orient_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_8orient_get(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":97
+ * elm_notify_orient_set(self.obj, orient)
+ *
+ * def orient_get(self): # <<<<<<<<<<<<<<
+ * """Return the orientation
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_8orient_get(struct PyElementaryNotify *__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("orient_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":106
+ *
+ * """
+ * return elm_notify_orient_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property orient:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_notify_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.orient_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_6orient_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_6orient_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_6orient___get__(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":114
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_notify_orient_get(self.obj)
+ * def __set__(self, orient):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_6orient___get__(struct PyElementaryNotify *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":115
+ * """
+ * def __get__(self):
+ * return elm_notify_orient_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, orient):
+ * elm_notify_orient_set(self.obj, orient)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_notify_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.orient.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_6orient_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orient); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_6orient_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orient) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_6orient_2__set__(((struct PyElementaryNotify *)__pyx_v_self), ((PyObject *)__pyx_v_orient));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":116
+ * def __get__(self):
+ * return elm_notify_orient_get(self.obj)
+ * def __set__(self, orient): # <<<<<<<<<<<<<<
+ * elm_notify_orient_set(self.obj, orient)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Notify_6orient_2__set__(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_orient) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":117
+ * return elm_notify_orient_get(self.obj)
+ * def __set__(self, orient):
+ * elm_notify_orient_set(self.obj, orient) # <<<<<<<<<<<<<<
+ *
+ * def timeout_set(self, double timeout):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_orient); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_notify_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.orient.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_11timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_timeout); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_10timeout_set[] = "Set the time interval after which the notify window is going to be\n hidden.\n\n This function sets a timeout and starts the timer controlling when the\n notify is hidden. Since calling L{show()} on a notify restarts\n the timer controlling when the notify is hidden, setting this before the\n notify is shown will in effect mean starting the timer when the notify is\n shown.\n\n @note: Set a value <= 0.0 to disable a running timer.\n\n @note: If the value > 0.0 and the notify is previously visible, the\n timer will be started with this value, canceling any running timer.\n\n @param timeout: The timeout in seconds\n @type timeout: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_11timeout_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_timeout) {
+ double __pyx_v_timeout;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("timeout_set (wrapper)", 0);
+ assert(__pyx_arg_timeout); {
+ __pyx_v_timeout = __pyx_PyFloat_AsDouble(__pyx_arg_timeout); if (unlikely((__pyx_v_timeout == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.timeout_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_10timeout_set(((struct PyElementaryNotify *)__pyx_v_self), ((double)__pyx_v_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":119
+ * elm_notify_orient_set(self.obj, orient)
+ *
+ * def timeout_set(self, double timeout): # <<<<<<<<<<<<<<
+ * """Set the time interval after which the notify window is going to be
+ * hidden.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_10timeout_set(struct PyElementaryNotify *__pyx_v_self, double __pyx_v_timeout) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("timeout_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":138
+ *
+ * """
+ * elm_notify_timeout_set(self.obj, timeout) # <<<<<<<<<<<<<<
+ *
+ * def timeout_get(self):
+ */
+ elm_notify_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_timeout);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_13timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_12timeout_get[] = "Return the timeout value (in seconds).\n\n @see: L{timeout_set()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_13timeout_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("timeout_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_12timeout_get(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":140
+ * elm_notify_timeout_set(self.obj, timeout)
+ *
+ * def timeout_get(self): # <<<<<<<<<<<<<<
+ * """Return the timeout value (in seconds).
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_12timeout_get(struct PyElementaryNotify *__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("timeout_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":146
+ *
+ * """
+ * return elm_notify_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property timeout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_notify_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.timeout_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_7timeout_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_7timeout_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_7timeout___get__(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":166
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_notify_timeout_get(self.obj)
+ * def __set__(self, timeout):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_7timeout___get__(struct PyElementaryNotify *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":167
+ * """
+ * def __get__(self):
+ * return elm_notify_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, timeout):
+ * elm_notify_timeout_set(self.obj, timeout)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_notify_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_7timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_7timeout_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_7timeout_2__set__(((struct PyElementaryNotify *)__pyx_v_self), ((PyObject *)__pyx_v_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":168
+ * def __get__(self):
+ * return elm_notify_timeout_get(self.obj)
+ * def __set__(self, timeout): # <<<<<<<<<<<<<<
+ * elm_notify_timeout_set(self.obj, timeout)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Notify_7timeout_2__set__(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":169
+ * return elm_notify_timeout_get(self.obj)
+ * def __set__(self, timeout):
+ * elm_notify_timeout_set(self.obj, timeout) # <<<<<<<<<<<<<<
+ *
+ * def allow_events_set(self, repeat):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_timeout); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_notify_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_15allow_events_set(PyObject *__pyx_v_self, PyObject *__pyx_v_repeat); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_14allow_events_set[] = "Sets whether events should be passed to by a click outside its area.\n\n When True if the user clicks outside the window the events will be caught\n by the others widgets, else the events are blocked.\n\n @note: The default value is True.\n\n @param allow: True if events are allowed, otherwise not\n @type allow: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_15allow_events_set(PyObject *__pyx_v_self, PyObject *__pyx_v_repeat) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("allow_events_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_14allow_events_set(((struct PyElementaryNotify *)__pyx_v_self), ((PyObject *)__pyx_v_repeat));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":171
+ * elm_notify_timeout_set(self.obj, timeout)
+ *
+ * def allow_events_set(self, repeat): # <<<<<<<<<<<<<<
+ * """Sets whether events should be passed to by a click outside its area.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_14allow_events_set(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_repeat) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("allow_events_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":183
+ *
+ * """
+ * elm_notify_allow_events_set(self.obj, repeat) # <<<<<<<<<<<<<<
+ *
+ * def allow_events_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_repeat); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_notify_allow_events_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.allow_events_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_17allow_events_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_16allow_events_get[] = "Return true if events are allowed below the notify object\n\n @see: L{allow_events_set()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_17allow_events_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("allow_events_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_16allow_events_get(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":185
+ * elm_notify_allow_events_set(self.obj, repeat)
+ *
+ * def allow_events_get(self): # <<<<<<<<<<<<<<
+ * """Return true if events are allowed below the notify object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_16allow_events_get(struct PyElementaryNotify *__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("allow_events_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":191
+ *
+ * """
+ * return bool(elm_notify_allow_events_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property allow_events:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_notify_allow_events_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Notify.allow_events_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_12allow_events_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_12allow_events_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_12allow_events___get__(((struct PyElementaryNotify *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":204
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_notify_allow_events_get(self.obj))
+ * def __set__(self, allow_events):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_12allow_events___get__(struct PyElementaryNotify *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":205
+ * """
+ * def __get__(self):
+ * return bool(elm_notify_allow_events_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, allow_events):
+ * elm_notify_allow_events_set(self.obj, allow_events)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_notify_allow_events_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Notify.allow_events.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_12allow_events_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_allow_events); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Notify_12allow_events_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_allow_events) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_12allow_events_2__set__(((struct PyElementaryNotify *)__pyx_v_self), ((PyObject *)__pyx_v_allow_events));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":206
+ * def __get__(self):
+ * return bool(elm_notify_allow_events_get(self.obj))
+ * def __set__(self, allow_events): # <<<<<<<<<<<<<<
+ * elm_notify_allow_events_set(self.obj, allow_events)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Notify_12allow_events_2__set__(struct PyElementaryNotify *__pyx_v_self, PyObject *__pyx_v_allow_events) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":207
+ * return bool(elm_notify_allow_events_get(self.obj))
+ * def __set__(self, allow_events):
+ * elm_notify_allow_events_set(self.obj, allow_events) # <<<<<<<<<<<<<<
+ *
+ * def callback_timeout_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_allow_events); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_notify_allow_events_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Notify.allow_events.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_19callback_timeout_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_18callback_timeout_add[] = "When timeout happens on notify and it's hidden.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_19callback_timeout_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_timeout_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_timeout_add") < 0)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 209; __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_timeout_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[37]; __pyx_lineno = 209; __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("elementary.c_elementary.Notify.callback_timeout_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_18callback_timeout_add(((struct PyElementaryNotify *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":209
+ * elm_notify_allow_events_set(self.obj, allow_events)
+ *
+ * def callback_timeout_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When timeout happens on notify and it's hidden."""
+ * self._callback_add("timeout", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_18callback_timeout_add(struct PyElementaryNotify *__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_timeout_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":211
+ * def callback_timeout_add(self, func, *args, **kwargs):
+ * """When timeout happens on notify and it's hidden."""
+ * self._callback_add("timeout", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_timeout_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 211; __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[37]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__timeout));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__timeout));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__timeout));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Notify.callback_timeout_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_21callback_timeout_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_21callback_timeout_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_timeout_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_20callback_timeout_del(((struct PyElementaryNotify *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":213
+ * self._callback_add("timeout", func, *args, **kwargs)
+ *
+ * def callback_timeout_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("timeout", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_20callback_timeout_del(struct PyElementaryNotify *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_timeout_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":214
+ *
+ * def callback_timeout_del(self, func):
+ * self._callback_del("timeout", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_block_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 214; __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[37]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__timeout));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__timeout));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__timeout));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Notify.callback_timeout_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_23callback_block_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Notify_22callback_block_clicked_add[] = "When a click outside of the notify happens.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_23callback_block_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_block_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_block_clicked_add") < 0)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 216; __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_block_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[37]; __pyx_lineno = 216; __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("elementary.c_elementary.Notify.callback_block_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_22callback_block_clicked_add(((struct PyElementaryNotify *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":216
+ * self._callback_del("timeout", func)
+ *
+ * def callback_block_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When a click outside of the notify happens."""
+ * self._callback_add("block,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_22callback_block_clicked_add(struct PyElementaryNotify *__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_block_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":218
+ * def callback_block_clicked_add(self, func, *args, **kwargs):
+ * """When a click outside of the notify happens."""
+ * self._callback_add("block,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_block_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 218; __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[37]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_172));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_172));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_172));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Notify.callback_block_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_25callback_block_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Notify_25callback_block_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_block_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Notify_24callback_block_clicked_del(((struct PyElementaryNotify *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":220
+ * self._callback_add("block,clicked", func, *args, **kwargs)
+ *
+ * def callback_block_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("block,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Notify_24callback_block_clicked_del(struct PyElementaryNotify *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_block_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":221
+ *
+ * def callback_block_clicked_del(self, func):
+ * self._callback_del("block,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("notify", Notify)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 221; __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[37]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_172));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_172));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_172));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Notify.callback_block_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector___init__[] = "Add a new file selector widget to the given parent Elementary\n (container) object\n\n This function inserts a new file selector widget on the canvas.\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: a new file selector widget handle or C{None}, on errors\n @rtype: L{Object}\n\n ";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_12Fileselector___init__;
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 61; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[38]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector___init__(((struct PyElementaryFileselector *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":61
+ * cdef object _cbs
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Add a new file selector widget to the given parent Elementary
+ * (container) object
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector___init__(struct PyElementaryFileselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":73
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_fileselector_add(parent.obj))
+ * self._cbs = {}
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 73; __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[38]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":74
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_fileselector_add(parent.obj)) # <<<<<<<<<<<<<<
+ * self._cbs = {}
+ *
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Fileselector *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_fileselector_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":75
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_fileselector_add(parent.obj))
+ * self._cbs = {} # <<<<<<<<<<<<<<
+ *
+ * def is_save_set(self, is_save):
+ */
+ __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->_cbs);
+ __Pyx_DECREF(__pyx_v_self->_cbs);
+ __pyx_v_self->_cbs = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Fileselector.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_3is_save_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_2is_save_set[] = "Enable/disable the file name entry box where the user can type\n in a name for a file, in a given file selector widget\n\n Having the entry editable is useful on file saving dialogs on\n applications, where one gives a file name to save contents to,\n in a given directory in the system. This custom file name will\n be reported on the C{\"done\"} smart callback.\n\n @see: L{is_save_get()}\n\n @param is_save: C{True} to make the file selector a \"saving\n dialog\", C{False} otherwise\n @type is_save: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_3is_save_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_save_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_2is_save_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_is_save));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":77
+ * self._cbs = {}
+ *
+ * def is_save_set(self, is_save): # <<<<<<<<<<<<<<
+ * """Enable/disable the file name entry box where the user can type
+ * in a name for a file, in a given file selector widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_2is_save_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("is_save_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":93
+ *
+ * """
+ * elm_fileselector_is_save_set(self.obj, is_save) # <<<<<<<<<<<<<<
+ *
+ * def is_save_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_save); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_is_save_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.is_save_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_5is_save_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_4is_save_get[] = "Get whether the given file selector is in \"saving dialog\" mode\n\n @see: L{is_save_set()} for more details\n\n @return: C{True}, if the file selector is in \"saving dialog\"\n mode, C{False} otherwise (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_5is_save_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_save_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_4is_save_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":95
+ * elm_fileselector_is_save_set(self.obj, is_save)
+ *
+ * def is_save_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the given file selector is in "saving dialog" mode
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_4is_save_get(struct PyElementaryFileselector *__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("is_save_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":105
+ *
+ * """
+ * return elm_fileselector_is_save_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property is_save:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_is_save_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.is_save_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_7is_save_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_7is_save_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_7is_save___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":119
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_fileselector_is_save_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_7is_save___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":120
+ * """
+ * def __get__(self):
+ * return elm_fileselector_is_save_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, is_save):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_is_save_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.is_save.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_7is_save_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_7is_save_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_7is_save_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_is_save));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":122
+ * return elm_fileselector_is_save_get(self.obj)
+ *
+ * def __set__(self, is_save): # <<<<<<<<<<<<<<
+ * elm_fileselector_is_save_set(self.obj, is_save)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_7is_save_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":123
+ *
+ * def __set__(self, is_save):
+ * elm_fileselector_is_save_set(self.obj, is_save) # <<<<<<<<<<<<<<
+ *
+ * def folder_only_set(self, folder_only):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_save); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_is_save_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.is_save.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_7folder_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_6folder_only_set[] = "Enable/disable folder-only view for a given file selector widget\n\n If enabled, the widget's view will only display folder items,\n naturally.\n\n @see: L{folder_only_get()}\n\n @param only: C{True} to make C{obj} only display directories, C{False}\n to make files to be displayed in it too\n @type only: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_7folder_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("folder_only_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_6folder_only_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_folder_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":125
+ * elm_fileselector_is_save_set(self.obj, is_save)
+ *
+ * def folder_only_set(self, folder_only): # <<<<<<<<<<<<<<
+ * """Enable/disable folder-only view for a given file selector widget
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_6folder_only_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("folder_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":138
+ *
+ * """
+ * elm_fileselector_folder_only_set(self.obj, folder_only) # <<<<<<<<<<<<<<
+ *
+ * def folder_only_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_folder_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_folder_only_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.folder_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_9folder_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_8folder_only_get[] = "Get whether folder-only view is set for a given file selector\n widget\n\n @see: elm_fileselector_folder_only_get()\n\n @return: C{True} if the widget is only displaying directories, C{False}\n if files are being displayed in it too (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_9folder_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("folder_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_8folder_only_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":140
+ * elm_fileselector_folder_only_set(self.obj, folder_only)
+ *
+ * def folder_only_get(self): # <<<<<<<<<<<<<<
+ * """Get whether folder-only view is set for a given file selector
+ * widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_8folder_only_get(struct PyElementaryFileselector *__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("folder_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":151
+ *
+ * """
+ * return elm_fileselector_folder_only_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property folder_only:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_folder_only_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.folder_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_11folder_only_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_11folder_only_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_11folder_only___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":162
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_fileselector_folder_only_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_11folder_only___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":163
+ * """
+ * def __get__(self):
+ * return elm_fileselector_folder_only_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, folder_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_folder_only_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.folder_only.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_11folder_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_11folder_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_11folder_only_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_folder_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":165
+ * return elm_fileselector_folder_only_get(self.obj)
+ *
+ * def __set__(self, folder_only): # <<<<<<<<<<<<<<
+ * elm_fileselector_folder_only_set(self.obj, folder_only)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_11folder_only_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":166
+ *
+ * def __set__(self, folder_only):
+ * elm_fileselector_folder_only_set(self.obj, folder_only) # <<<<<<<<<<<<<<
+ *
+ * def buttons_ok_cancel_set(self, buttons):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_folder_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_folder_only_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.folder_only.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_11buttons_ok_cancel_set(PyObject *__pyx_v_self, PyObject *__pyx_v_buttons); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_10buttons_ok_cancel_set[] = "Enable/disable the \"ok\" and \"cancel\" buttons on a given file\n selector widget\n\n @note: A file selector without those buttons will never emit the\n C{\"done\"} smart event, and is only usable if one is just hooking\n to the other two events.\n\n @see: L{buttons_ok_cancel_get()}\n\n @param buttons: C{True} to show buttons, C{False} to hide.\n @type buttons: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_11buttons_ok_cancel_set(PyObject *__pyx_v_self, PyObject *__pyx_v_buttons) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("buttons_ok_cancel_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_10buttons_ok_cancel_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_buttons));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":168
+ * elm_fileselector_folder_only_set(self.obj, folder_only)
+ *
+ * def buttons_ok_cancel_set(self, buttons): # <<<<<<<<<<<<<<
+ * """Enable/disable the "ok" and "cancel" buttons on a given file
+ * selector widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_10buttons_ok_cancel_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_buttons) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("buttons_ok_cancel_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":182
+ *
+ * """
+ * elm_fileselector_buttons_ok_cancel_set(self.obj, buttons) # <<<<<<<<<<<<<<
+ *
+ * def buttons_ok_cancel_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_buttons); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_buttons_ok_cancel_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.buttons_ok_cancel_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_13buttons_ok_cancel_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_12buttons_ok_cancel_get[] = "Get whether the \"ok\" and \"cancel\" buttons on a given file\n selector widget are being shown.\n\n @see: L{buttons_ok_cancel_set()} for more details\n\n @return: C{True} if they are being shown, C{False} otherwise\n (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_13buttons_ok_cancel_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("buttons_ok_cancel_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_12buttons_ok_cancel_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":184
+ * elm_fileselector_buttons_ok_cancel_set(self.obj, buttons)
+ *
+ * def buttons_ok_cancel_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the "ok" and "cancel" buttons on a given file
+ * selector widget are being shown.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_12buttons_ok_cancel_get(struct PyElementaryFileselector *__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("buttons_ok_cancel_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":195
+ *
+ * """
+ * return elm_fileselector_buttons_ok_cancel_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property buttons_ok_cancel:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_buttons_ok_cancel_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.buttons_ok_cancel_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":208
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_fileselector_buttons_ok_cancel_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":209
+ * """
+ * def __get__(self):
+ * return elm_fileselector_buttons_ok_cancel_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, buttons):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_buttons_ok_cancel_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.buttons_ok_cancel.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_buttons); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_buttons) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_buttons));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":211
+ * return elm_fileselector_buttons_ok_cancel_get(self.obj)
+ *
+ * def __set__(self, buttons): # <<<<<<<<<<<<<<
+ * elm_fileselector_buttons_ok_cancel_set(self.obj, buttons)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_buttons) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":212
+ *
+ * def __set__(self, buttons):
+ * elm_fileselector_buttons_ok_cancel_set(self.obj, buttons) # <<<<<<<<<<<<<<
+ *
+ * def expandable_set(self, expand):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_buttons); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_buttons_ok_cancel_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.buttons_ok_cancel.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_15expandable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expand); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_14expandable_set[] = "Enable/disable a tree view in the given file selector widget,\n B{if it's in C{ELM_FILESELECTOR_LIST} mode}\n\n In a tree view, arrows are created on the sides of directories,\n allowing them to expand in place.\n\n @note: If it's in other mode, the changes made by this function\n will only be visible when one switches back to \"list\" mode.\n\n @see: L{expandable_get()}\n\n @param expand: C{True} to enable tree view, C{False} to disable\n @type expand: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_15expandable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expand) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expandable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_14expandable_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_expand));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":214
+ * elm_fileselector_buttons_ok_cancel_set(self.obj, buttons)
+ *
+ * def expandable_set(self, expand): # <<<<<<<<<<<<<<
+ * """Enable/disable a tree view in the given file selector widget,
+ * B{if it's in C{ELM_FILESELECTOR_LIST} mode}
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_14expandable_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_expand) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("expandable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":230
+ *
+ * """
+ * elm_fileselector_expandable_set(self.obj, expand) # <<<<<<<<<<<<<<
+ *
+ * def expandable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_expand); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_expandable_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.expandable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_17expandable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_16expandable_get[] = "Get whether tree view is enabled for the given file selector\n widget\n\n @see: L{expandable_set()} for more details\n\n @return: C{True} if in tree view, C{False} otherwise (and or errors)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_17expandable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expandable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_16expandable_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":232
+ * elm_fileselector_expandable_set(self.obj, expand)
+ *
+ * def expandable_get(self): # <<<<<<<<<<<<<<
+ * """Get whether tree view is enabled for the given file selector
+ * widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_16expandable_get(struct PyElementaryFileselector *__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("expandable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":241
+ *
+ * """
+ * return elm_fileselector_expandable_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property expandable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_expandable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.expandable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_10expandable_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_10expandable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_10expandable___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":256
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_fileselector_expandable_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_10expandable___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":257
+ * """
+ * def __get__(self):
+ * return elm_fileselector_expandable_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, expand):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_expandable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.expandable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_10expandable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expand); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_10expandable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expand) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_10expandable_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_expand));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":259
+ * return elm_fileselector_expandable_get(self.obj)
+ *
+ * def __set__(self, expand): # <<<<<<<<<<<<<<
+ * elm_fileselector_expandable_set(self.obj, expand)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_10expandable_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_expand) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":260
+ *
+ * def __set__(self, expand):
+ * elm_fileselector_expandable_set(self.obj, expand) # <<<<<<<<<<<<<<
+ *
+ * def path_set(self, path):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_expand); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_expandable_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.expandable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_19path_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_18path_set[] = "Set, programmatically, the B{directory} that a given file\n selector widget will display contents from\n\n This will change the B{directory} displayed. It\n will also clear the text entry area on the object, which\n displays select files' names.\n\n @see: L{path_get()}\n\n @param path: The path to display\n @type path: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_19path_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_18path_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":262
+ * elm_fileselector_expandable_set(self.obj, expand)
+ *
+ * def path_set(self, path): # <<<<<<<<<<<<<<
+ * """Set, programmatically, the B{directory} that a given file
+ * selector widget will display contents from
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_18path_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":276
+ *
+ * """
+ * elm_fileselector_path_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def path_get(self):
+ */
+ elm_fileselector_path_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_21path_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_20path_get[] = "Get the parent directory's path that a given file selector\n widget is displaying\n\n @see: L{path_set()}\n\n @return: The (full) path of the directory the file selector is\n displaying\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_21path_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_20path_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":278
+ * elm_fileselector_path_set(self.obj, _cfruni(path))
+ *
+ * def path_get(self): # <<<<<<<<<<<<<<
+ * """Get the parent directory's path that a given file selector
+ * widget is displaying
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_20path_get(struct PyElementaryFileselector *__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("path_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":289
+ *
+ * """
+ * return _ctouni(elm_fileselector_path_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property path:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_path_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_4path_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_4path_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_4path___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":302
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_path_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_4path___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":303
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_path_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, path):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_path_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.path.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_4path_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_4path_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_4path_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":305
+ * return _ctouni(elm_fileselector_path_get(self.obj))
+ *
+ * def __set__(self, path): # <<<<<<<<<<<<<<
+ * elm_fileselector_path_set(self.obj, _cfruni(path))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_4path_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":306
+ *
+ * def __set__(self, path):
+ * elm_fileselector_path_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, path):
+ */
+ elm_fileselector_path_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_23selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_22selected_set[] = "Set, programmatically, the currently selected file/directory in\n the given file selector widget\n\n @see: L{selected_get()}\n\n @param path: The (full) path to a file or directory\n @type path: string\n @return: C{True} on success, C{False} on failure. The latter case occurs\n if the directory or file pointed to do not exist.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_23selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_22selected_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":308
+ * elm_fileselector_path_set(self.obj, _cfruni(path))
+ *
+ * def selected_set(self, path): # <<<<<<<<<<<<<<
+ * """Set, programmatically, the currently selected file/directory in
+ * the given file selector widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_22selected_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path) {
+ 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_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":321
+ *
+ * """
+ * return elm_fileselector_selected_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_selected_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_25selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_24selected_get[] = "Get the currently selected item's (full) path, in the given file\n selector widget\n\n @note: Custom editions on object's text entry, if made,\n will appear on the return string of this function, naturally.\n\n @see: L{selected_set()} for more details\n\n @return: The absolute path of the selected item\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_25selected_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_10elementary_12c_elementary_12Fileselector_24selected_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":323
+ * return elm_fileselector_selected_set(self.obj, _cfruni(path))
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * """Get the currently selected item's (full) path, in the given file
+ * selector widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_24selected_get(struct PyElementaryFileselector *__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_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":336
+ *
+ * """
+ * return _ctouni(elm_fileselector_selected_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_selected_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_8selected___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":345
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_selected_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_8selected___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":346
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_selected_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, path):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_selected_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_8selected_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":348
+ * return _ctouni(elm_fileselector_selected_get(self.obj))
+ *
+ * def __set__(self, path): # <<<<<<<<<<<<<<
+ * #TODO: Check return value for success
+ * elm_fileselector_selected_set(self.obj, _cfruni(path))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_8selected_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":350
+ * def __set__(self, path):
+ * #TODO: Check return value for success
+ * elm_fileselector_selected_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def mode_set(self, mode):
+ */
+ elm_fileselector_selected_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_27mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_26mode_set[] = "Set the mode in which a given file selector widget will display\n (layout) file system entries in its view\n\n @note: By using L{expandable_set()}, the user may\n trigger a tree view for that list.\n\n @note: If Elementary is built with support of the Ethumb\n thumbnailing library, the second form of view will display\n preview thumbnails of files which it supports. You must have\n elm_need_ethumb() called in your Elementary for thumbnailing to\n work, though.\n\n @see: L{expandable_set()}\n @see: L{mode_get()}\n\n @param mode: The mode of the fileselector, being it one of\n ELM_FILESELECTOR_LIST (default) or ELM_FILESELECTOR_GRID. The first\n one, naturally, will display the files in a list. The latter will\n make the widget to display its entries in a grid form.\n @type mode: Elm_Fileselector_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_27mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_26mode_set(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":352
+ * elm_fileselector_selected_set(self.obj, _cfruni(path))
+ *
+ * def mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set the mode in which a given file selector widget will display
+ * (layout) file system entries in its view
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_26mode_set(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Fileselector_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":375
+ *
+ * """
+ * elm_fileselector_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Fileselector_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_29mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_28mode_get[] = "Get the mode in which a given file selector widget is displaying\n (layouting) file system entries in its view\n\n @see: L{mode_set()} for more details\n\n @return: The mode in which the fileselector is at\n @rtype: Elm_Fileselector_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_29mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_28mode_get(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":377
+ * elm_fileselector_mode_set(self.obj, mode)
+ *
+ * def mode_get(self): # <<<<<<<<<<<<<<
+ * """Get the mode in which a given file selector widget is displaying
+ * (layouting) file system entries in its view
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_28mode_get(struct PyElementaryFileselector *__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("mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":387
+ *
+ * """
+ * return elm_fileselector_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_fileselector_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_4mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_4mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_4mode___get__(((struct PyElementaryFileselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":407
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_fileselector_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_4mode___get__(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":408
+ * """
+ * def __get__(self):
+ * return elm_fileselector_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_fileselector_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_4mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Fileselector_4mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_4mode_2__set__(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":410
+ * return elm_fileselector_mode_get(self.obj)
+ *
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_fileselector_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Fileselector_4mode_2__set__(struct PyElementaryFileselector *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Fileselector_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":411
+ *
+ * def __set__(self, mode):
+ * elm_fileselector_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Fileselector_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Fileselector.mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_31callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_30callback_selected_add[] = "The user has clicked on a file (when not in folders-only mode) or\n directory (when in folders-only mode). Parameter C{event_info}\n contains the selected file or directory.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_31callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[38]; __pyx_lineno = 413; __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[38]; __pyx_lineno = 413; __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("elementary.c_elementary.Fileselector.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_30callback_selected_add(((struct PyElementaryFileselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":413
+ * elm_fileselector_mode_set(self.obj, mode)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has clicked on a file (when not in folders-only mode) or
+ * directory (when in folders-only mode). Parameter C{event_info}
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_30callback_selected_add(struct PyElementaryFileselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":417
+ * directory (when in folders-only mode). Parameter C{event_info}
+ * contains the selected file or directory."""
+ * self._callback_add_full("selected", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":418
+ * contains the selected file or directory."""
+ * self._callback_add_full("selected", _cb_string_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[38]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":417
+ * directory (when in folders-only mode). Parameter C{event_info}
+ * contains the selected file or directory."""
+ * self._callback_add_full("selected", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":418
+ * contains the selected file or directory."""
+ * self._callback_add_full("selected", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Fileselector.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_33callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_33callback_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_10elementary_12c_elementary_12Fileselector_32callback_selected_del(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":420
+ * func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_32callback_selected_del(struct PyElementaryFileselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":421
+ *
+ * def callback_selected_del(self, func):
+ * self._callback_del_full("selected", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_directory_open_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 421; __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[38]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Fileselector.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_35callback_directory_open_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_34callback_directory_open_add[] = "The list has been populated with new content (C{event_info} is\n the directory's path).";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_35callback_directory_open_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_directory_open_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_directory_open_add") < 0)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 423; __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_directory_open_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[38]; __pyx_lineno = 423; __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("elementary.c_elementary.Fileselector.callback_directory_open_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_34callback_directory_open_add(((struct PyElementaryFileselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":423
+ * self._callback_del_full("selected", _cb_string_conv, func)
+ *
+ * def callback_directory_open_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The list has been populated with new content (C{event_info} is
+ * the directory's path)."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_34callback_directory_open_add(struct PyElementaryFileselector *__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_directory_open_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":426
+ * """The list has been populated with new content (C{event_info} is
+ * the directory's path)."""
+ * self._callback_add_full("directory,open", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":427
+ * the directory's path)."""
+ * self._callback_add_full("directory,open", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_directory_open_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_173));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_173));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_173));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":426
+ * """The list has been populated with new content (C{event_info} is
+ * the directory's path)."""
+ * self._callback_add_full("directory,open", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":427
+ * the directory's path)."""
+ * self._callback_add_full("directory,open", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_directory_open_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Fileselector.callback_directory_open_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_37callback_directory_open_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_37callback_directory_open_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_directory_open_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_36callback_directory_open_del(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":429
+ * func, *args, **kwargs)
+ *
+ * def callback_directory_open_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("directory,open", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_36callback_directory_open_del(struct PyElementaryFileselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_directory_open_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":430
+ *
+ * def callback_directory_open_del(self, func):
+ * self._callback_del_full("directory,open", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_done_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 430; __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[38]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_173));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_173));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_173));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Fileselector.callback_directory_open_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_39callback_done_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Fileselector_38callback_done_add[] = "The user has clicked on the \"ok\" or \"cancel\" buttons\n (C{event_info} is a pointer to the selection's path).";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_39callback_done_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_done_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_done_add") < 0)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 432; __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_done_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[38]; __pyx_lineno = 432; __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("elementary.c_elementary.Fileselector.callback_done_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_38callback_done_add(((struct PyElementaryFileselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":432
+ * self._callback_del_full("directory,open", _cb_string_conv, func)
+ *
+ * def callback_done_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has clicked on the "ok" or "cancel" buttons
+ * (C{event_info} is a pointer to the selection's path)."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_38callback_done_add(struct PyElementaryFileselector *__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_done_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":435
+ * """The user has clicked on the "ok" or "cancel" buttons
+ * (C{event_info} is a pointer to the selection's path)."""
+ * self._callback_add_full("done", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":436
+ * (C{event_info} is a pointer to the selection's path)."""
+ * self._callback_add_full("done", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_done_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__done));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__done));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__done));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":435
+ * """The user has clicked on the "ok" or "cancel" buttons
+ * (C{event_info} is a pointer to the selection's path)."""
+ * self._callback_add_full("done", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":436
+ * (C{event_info} is a pointer to the selection's path)."""
+ * self._callback_add_full("done", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_done_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 435; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Fileselector.callback_done_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_41callback_done_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Fileselector_41callback_done_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_done_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Fileselector_40callback_done_del(((struct PyElementaryFileselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":438
+ * func, *args, **kwargs)
+ *
+ * def callback_done_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("done", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Fileselector_40callback_done_del(struct PyElementaryFileselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_done_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":439
+ *
+ * def callback_done_del(self, func):
+ * self._callback_del_full("done", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("fileselector", Fileselector)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 439; __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[38]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__done));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__done));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__done));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Fileselector.callback_done_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry___init__[] = "Add a new file selector entry widget to the given parent\n Elementary (container) object\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: a new file selector entry widget handle or C{None}, on errors\n @rtype: L{Object}\n\n ";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_17FileselectorEntry___init__;
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 70; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry___init__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":70
+ * cdef object _cbs
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Add a new file selector entry widget to the given parent
+ * Elementary (container) object
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry___init__(struct PyElementaryFileselectorEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":80
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_fileselector_entry_add(parent.obj))
+ * self._cbs = {}
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 80; __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[39]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":81
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_fileselector_entry_add(parent.obj)) # <<<<<<<<<<<<<<
+ * self._cbs = {}
+ *
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorEntry *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_fileselector_entry_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":82
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_fileselector_entry_add(parent.obj))
+ * self._cbs = {} # <<<<<<<<<<<<<<
+ *
+ * def window_title_set(self, title):
+ */
+ __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->_cbs);
+ __Pyx_DECREF(__pyx_v_self->_cbs);
+ __pyx_v_self->_cbs = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_3window_title_set(PyObject *__pyx_v_self, PyObject *__pyx_v_title); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_2window_title_set[] = "Set the title for a given file selector entry widget's window\n\n This will change the window's title, when the file selector pops\n out after a click on the entry's button. Those windows have the\n default (unlocalized) value of C{\"Select a file\"} as titles.\n\n @note: It will only take any effect if the file selector\n entry widget is B{not} under \"inwin mode\".\n\n @see: L{window_title_get()}\n\n @param title: The title string\n @type title: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_3window_title_set(PyObject *__pyx_v_self, PyObject *__pyx_v_title) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_title_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_2window_title_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_title));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":84
+ * self._cbs = {}
+ *
+ * def window_title_set(self, title): # <<<<<<<<<<<<<<
+ * """Set the title for a given file selector entry widget's window
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_2window_title_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_title) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_title_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":100
+ *
+ * """
+ * elm_fileselector_entry_window_title_set(self.obj, _cfruni(title)) # <<<<<<<<<<<<<<
+ *
+ * def window_title_get(self):
+ */
+ elm_fileselector_entry_window_title_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_5window_title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_4window_title_get[] = "Get the title set for a given file selector entry widget's window\n\n @see: L{window_title_get()} for more details\n\n @return: Title of the file selector entry's window\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_5window_title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_title_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4window_title_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":102
+ * elm_fileselector_entry_window_title_set(self.obj, _cfruni(title))
+ *
+ * def window_title_get(self): # <<<<<<<<<<<<<<
+ * """Get the title set for a given file selector entry widget's window
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4window_title_get(struct PyElementaryFileselectorEntry *__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("window_title_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":111
+ *
+ * """
+ * return _ctouni(elm_fileselector_entry_window_title_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property window_title:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_entry_window_title_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.window_title_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_12window_title_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_12window_title_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12window_title___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":126
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_entry_window_title_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12window_title___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":127
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_entry_window_title_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, title):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_entry_window_title_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.window_title.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_12window_title_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_title); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_12window_title_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_title) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12window_title_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_title));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":129
+ * return _ctouni(elm_fileselector_entry_window_title_get(self.obj))
+ *
+ * def __set__(self, title): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_window_title_set(self.obj, _cfruni(title))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12window_title_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_title) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":130
+ *
+ * def __set__(self, title):
+ * elm_fileselector_entry_window_title_set(self.obj, _cfruni(title)) # <<<<<<<<<<<<<<
+ *
+ * def window_size_set(self, width, height):
+ */
+ elm_fileselector_entry_window_title_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7window_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_6window_size_set[] = "Set the size of a given file selector entry widget's window,\n holding the file selector itself.\n\n @note: it will only take any effect if the file selector entry\n widget is B{not} under \"inwin mode\". The default size for the\n window (when applicable) is 400x400 pixels.\n\n @see: L{window_size_get()}\n\n @param width: The window's width\n @type width: Evas_Coord (int)\n @param height: The window's height\n @type height: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7window_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_width = 0;
+ PyObject *__pyx_v_height = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__width,&__pyx_n_s__height,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__width);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__height);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("window_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "window_size_set") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 132; __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_width = values[0];
+ __pyx_v_height = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("window_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.window_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_6window_size_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_width, __pyx_v_height);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":132
+ * elm_fileselector_entry_window_title_set(self.obj, _cfruni(title))
+ *
+ * def window_size_set(self, width, height): # <<<<<<<<<<<<<<
+ * """Set the size of a given file selector entry widget's window,
+ * holding the file selector itself.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_6window_size_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
+ 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("window_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":148
+ *
+ * """
+ * elm_fileselector_entry_window_size_set(self.obj, width, height) # <<<<<<<<<<<<<<
+ *
+ * def window_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_width); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_height); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_window_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.window_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_9window_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_8window_size_get[] = "Get the size of a given file selector entry widget's window,\n holding the file selector itself.\n\n @see: L{window_size_set()}, for more details\n\n @return: The width and height\n @rtype: tuple of Evas_Coords (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_9window_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8window_size_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":150
+ * elm_fileselector_entry_window_size_set(self.obj, width, height)
+ *
+ * def window_size_get(self): # <<<<<<<<<<<<<<
+ * """Get the size of a given file selector entry widget's window,
+ * holding the file selector itself.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8window_size_get(struct PyElementaryFileselectorEntry *__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("window_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":162
+ * cdef Evas_Coord w
+ * cdef Evas_Coord h
+ * elm_fileselector_entry_window_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_fileselector_entry_window_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":163
+ * cdef Evas_Coord h
+ * elm_fileselector_entry_window_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property window_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 163; __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[39]; __pyx_lineno = 163; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.window_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11window_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11window_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11window_size___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":176
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * elm_fileselector_entry_window_size_get(self.obj, &w, &h)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11window_size___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":178
+ * def __get__(self):
+ * cdef Evas_Coord w, h
+ * elm_fileselector_entry_window_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_fileselector_entry_window_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":179
+ * cdef Evas_Coord w, h
+ * elm_fileselector_entry_window_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 179; __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[39]; __pyx_lineno = 179; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.window_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11window_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11window_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_10elementary_12c_elementary_17FileselectorEntry_11window_size_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":181
+ * return (w, h)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * w, h = value
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11window_size_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_value) {
+ Evas_Coord __pyx_v_w;
+ Evas_Coord __pyx_v_h;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":183
+ * def __set__(self, value):
+ * cdef Evas_Coord w, h
+ * w, h = value # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_window_size_set(self.obj, w, h)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[39]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[39]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 183; __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[39]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[39]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_t_1); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_t_2); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_w = __pyx_t_5;
+ __pyx_v_h = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":184
+ * cdef Evas_Coord w, h
+ * w, h = value
+ * elm_fileselector_entry_window_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def path_set(self, path):
+ */
+ elm_fileselector_entry_window_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_w, __pyx_v_h);
+
+ __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("elementary.c_elementary.FileselectorEntry.window_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11path_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_10path_set[] = "Set the initial file system path and the entry's path string for\n a given file selector entry widget\n\n It must be a B{directory} path, which will have the contents\n displayed initially in the file selector's view. The default initial\n path is the C{\"HOME\"} environment variable's value.\n\n @see: L{path_get()}\n\n @param path: The path string\n @type path: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11path_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10path_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":186
+ * elm_fileselector_entry_window_size_set(self.obj, w, h)
+ *
+ * def path_set(self, path): # <<<<<<<<<<<<<<
+ * """Set the initial file system path and the entry's path string for
+ * a given file selector entry widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10path_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":200
+ *
+ * """
+ * elm_fileselector_entry_path_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def path_get(self):
+ */
+ elm_fileselector_entry_path_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_13path_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_12path_get[] = "Get the entry's path string for a given file selector entry\n widget\n\n @see: L{path_set()} for more details\n\n @return: path The path string\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_13path_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12path_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":202
+ * elm_fileselector_entry_path_set(self.obj, _cfruni(path))
+ *
+ * def path_get(self): # <<<<<<<<<<<<<<
+ * """Get the entry's path string for a given file selector entry
+ * widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_12path_get(struct PyElementaryFileselectorEntry *__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("path_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":212
+ *
+ * """
+ * return _ctouni(elm_fileselector_entry_path_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property path:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_entry_path_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_4path_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_4path_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4path___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":225
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_entry_path_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4path___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":226
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_entry_path_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, path):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_entry_path_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.path.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_4path_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_4path_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4path_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":228
+ * return _ctouni(elm_fileselector_entry_path_get(self.obj))
+ *
+ * def __set__(self, path): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_path_set(self.obj, _cfruni(path))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_4path_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":229
+ *
+ * def __set__(self, path):
+ * elm_fileselector_entry_path_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def expandable_set(self, expand):
+ */
+ elm_fileselector_entry_path_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_15expandable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expand); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_14expandable_set[] = "Enable/disable a tree view in the given file selector entry\n widget's internal file selector\n\n This has the same effect as L{Fileselector.expandable_set()},\n but now applied to a file selector entry's internal file\n selector.\n\n @note: There's no way to put a file selector entry's internal\n file selector in \"grid mode\", as one may do with \"pure\" file\n selectors.\n\n @see: L{expandable_get()}\n\n @param value: C{True} to enable tree view, C{False} to disable\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_15expandable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expand) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expandable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_14expandable_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_expand));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":231
+ * elm_fileselector_entry_path_set(self.obj, _cfruni(path))
+ *
+ * def expandable_set(self, expand): # <<<<<<<<<<<<<<
+ * """Enable/disable a tree view in the given file selector entry
+ * widget's internal file selector
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_14expandable_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_expand) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("expandable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":249
+ *
+ * """
+ * elm_fileselector_entry_expandable_set(self.obj, expand) # <<<<<<<<<<<<<<
+ *
+ * def expandable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_expand); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_expandable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.expandable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_17expandable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_16expandable_get[] = "Get whether tree view is enabled for the given file selector\n entry widget's internal file selector\n\n @see: L{expandable_set()} for more details\n\n @return: C{True} if widget's internal file selector\n is in tree view, C{False} otherwise (and or errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_17expandable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expandable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_16expandable_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":251
+ * elm_fileselector_entry_expandable_set(self.obj, expand)
+ *
+ * def expandable_get(self): # <<<<<<<<<<<<<<
+ * """Get whether tree view is enabled for the given file selector
+ * entry widget's internal file selector
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_16expandable_get(struct PyElementaryFileselectorEntry *__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("expandable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":262
+ *
+ * """
+ * return bool(elm_fileselector_entry_expandable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property expandable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_expandable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.expandable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10expandable_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10expandable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10expandable___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":279
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_entry_expandable_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10expandable___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":280
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_entry_expandable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, expand):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_expandable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.expandable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10expandable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expand); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10expandable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expand) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10expandable_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_expand));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":282
+ * return bool(elm_fileselector_entry_expandable_get(self.obj))
+ *
+ * def __set__(self, expand): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_expandable_set(self.obj, expand)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10expandable_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_expand) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":283
+ *
+ * def __set__(self, expand):
+ * elm_fileselector_entry_expandable_set(self.obj, expand) # <<<<<<<<<<<<<<
+ *
+ * def folder_only_set(self, folder_only):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_expand); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_expandable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.expandable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_19folder_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_18folder_only_set[] = "Set whether a given file selector entry widget's internal file\n selector is to display folders only or the directory contents,\n as well.\n\n This has the same effect as L{Fileselector.folder_only_set()},\n but now applied to a file selector entry's internal file\n selector.\n\n @see: L{folder_only_get()}\n\n @param value: C{True} to make widget's internal file\n selector only display directories, C{False} to make files\n to be displayed in it too\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_19folder_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("folder_only_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_18folder_only_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_folder_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":285
+ * elm_fileselector_entry_expandable_set(self.obj, expand)
+ *
+ * def folder_only_set(self, folder_only): # <<<<<<<<<<<<<<
+ * """Set whether a given file selector entry widget's internal file
+ * selector is to display folders only or the directory contents,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_18folder_only_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("folder_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":302
+ *
+ * """
+ * elm_fileselector_entry_folder_only_set(self.obj, folder_only) # <<<<<<<<<<<<<<
+ *
+ * def folder_only_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_folder_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_folder_only_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.folder_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_21folder_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_20folder_only_get[] = "Get whether a given file selector entry widget's internal file\n selector is displaying folders only or the directory contents,\n as well.\n\n @see: L{folder_only_set()} for more details\n\n @return: C{True} if widget's internal file\n selector is only displaying directories, C{False} if files\n are being displayed in it too (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_21folder_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("folder_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_20folder_only_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":304
+ * elm_fileselector_entry_folder_only_set(self.obj, folder_only)
+ *
+ * def folder_only_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given file selector entry widget's internal file
+ * selector is displaying folders only or the directory contents,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_20folder_only_get(struct PyElementaryFileselectorEntry *__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("folder_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":317
+ *
+ * """
+ * return bool(elm_fileselector_entry_folder_only_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property folder_only:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_folder_only_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.folder_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11folder_only_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11folder_only_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11folder_only___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":331
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_entry_folder_only_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11folder_only___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":332
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_entry_folder_only_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, folder_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_folder_only_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.folder_only.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11folder_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11folder_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11folder_only_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_folder_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":334
+ * return bool(elm_fileselector_entry_folder_only_get(self.obj))
+ *
+ * def __set__(self, folder_only): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_folder_only_set(self.obj, folder_only)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_11folder_only_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":335
+ *
+ * def __set__(self, folder_only):
+ * elm_fileselector_entry_folder_only_set(self.obj, folder_only) # <<<<<<<<<<<<<<
+ *
+ * def is_save_set(self, is_save):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_folder_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_folder_only_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.folder_only.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_23is_save_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_22is_save_set[] = "Enable/disable the file name entry box where the user can type\n in a name for a file, in a given file selector entry widget's\n internal file selector.\n\n This has the same effect as L{Fileselector.is_save_set()},\n but now applied to a file selector entry's internal file\n selector.\n\n @see: L{is_save_get()}\n\n @param value: C{True} to make widget's internal\n file selector a \"saving dialog\", C{False} otherwise\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_23is_save_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_save_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_22is_save_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_is_save));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":337
+ * elm_fileselector_entry_folder_only_set(self.obj, folder_only)
+ *
+ * def is_save_set(self, is_save): # <<<<<<<<<<<<<<
+ * """Enable/disable the file name entry box where the user can type
+ * in a name for a file, in a given file selector entry widget's
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_22is_save_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("is_save_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":353
+ *
+ * """
+ * elm_fileselector_entry_is_save_set(self.obj, is_save) # <<<<<<<<<<<<<<
+ *
+ * def is_save_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_save); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_is_save_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.is_save_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_25is_save_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_24is_save_get[] = "Get whether the given file selector entry widget's internal\n file selector is in \"saving dialog\" mode\n\n @see: L{is_save_set()} for more details\n\n @return: C{True}, if widget's internal file selector\n is in \"saving dialog\" mode, C{False} otherwise (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_25is_save_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_save_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_24is_save_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":355
+ * elm_fileselector_entry_is_save_set(self.obj, is_save)
+ *
+ * def is_save_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the given file selector entry widget's internal
+ * file selector is in "saving dialog" mode
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_24is_save_get(struct PyElementaryFileselectorEntry *__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("is_save_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":366
+ *
+ * """
+ * return bool(elm_fileselector_entry_is_save_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property is_save:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_is_save_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.is_save_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7is_save_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7is_save_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_7is_save___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":380
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_entry_is_save_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_7is_save___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":381
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_entry_is_save_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, is_save):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_is_save_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.is_save.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7is_save_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7is_save_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_7is_save_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_is_save));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":383
+ * return bool(elm_fileselector_entry_is_save_get(self.obj))
+ *
+ * def __set__(self, is_save): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_is_save_set(self.obj, is_save)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_7is_save_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":384
+ *
+ * def __set__(self, is_save):
+ * elm_fileselector_entry_is_save_set(self.obj, is_save) # <<<<<<<<<<<<<<
+ *
+ * def inwin_mode_set(self, inwin_mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_save); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_is_save_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.is_save.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_27inwin_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_26inwin_mode_set[] = "Set whether a given file selector entry widget's internal file\n selector will raise an Elementary \"inner window\", instead of a\n dedicated Elementary window. By default, it won't.\n\n @see: L{Inwin} for more information on inner windows\n @see: L{inwin_mode_get()}\n\n @param value: C{True} to make it use an inner window, C{False} to make\n it use a dedicated window\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_27inwin_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inwin_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_26inwin_mode_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_inwin_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":386
+ * elm_fileselector_entry_is_save_set(self.obj, is_save)
+ *
+ * def inwin_mode_set(self, inwin_mode): # <<<<<<<<<<<<<<
+ * """Set whether a given file selector entry widget's internal file
+ * selector will raise an Elementary "inner window", instead of a
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_26inwin_mode_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("inwin_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":399
+ *
+ * """
+ * elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode) # <<<<<<<<<<<<<<
+ *
+ * def inwin_mode_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inwin_mode); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_inwin_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.inwin_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_29inwin_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_28inwin_mode_get[] = "Get whether a given file selector entry widget's internal file\n selector will raise an Elementary \"inner window\", instead of a\n dedicated Elementary window.\n\n @see: L{inwin_mode_set()} for more details\n\n @return: C{True} if will use an inner window, C{False}\n if it will use a dedicated window\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_29inwin_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inwin_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_28inwin_mode_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":401
+ * elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode)
+ *
+ * def inwin_mode_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given file selector entry widget's internal file
+ * selector will raise an Elementary "inner window", instead of a
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_28inwin_mode_get(struct PyElementaryFileselectorEntry *__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("inwin_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":413
+ *
+ * """
+ * return bool(elm_fileselector_entry_inwin_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property inwin_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_inwin_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.inwin_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":425
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_entry_inwin_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":426
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_entry_inwin_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, inwin_mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_entry_inwin_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.inwin_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_inwin_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":428
+ * return bool(elm_fileselector_entry_inwin_mode_get(self.obj))
+ *
+ * def __set__(self, inwin_mode): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":429
+ *
+ * def __set__(self, inwin_mode):
+ * elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, path):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inwin_mode); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_entry_inwin_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.inwin_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_31selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_30selected_set[] = "Set the initial file system path for a given file selector entry\n widget\n\n It must be a B{directory} path, which will have the contents\n displayed initially in the file selector's view. The default initial\n path is the C{\"HOME\"} environment variable's value.\n\n @see: L{selected_get()}\n\n @param path: The path string\n @type path: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_31selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_30selected_set(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":431
+ * elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode)
+ *
+ * def selected_set(self, path): # <<<<<<<<<<<<<<
+ * """Set the initial file system path for a given file selector entry
+ * widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_30selected_set(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":445
+ *
+ * """
+ * elm_fileselector_entry_selected_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ elm_fileselector_entry_selected_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_33selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_32selected_get[] = "Get the parent directory's path to the latest file selection on\n a given filer selector entry widget\n\n @see: L{selected_set()}\n\n @return: The (full) path of the directory of the last selection\n on the widget\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_33selected_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_10elementary_12c_elementary_17FileselectorEntry_32selected_get(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":447
+ * elm_fileselector_entry_selected_set(self.obj, _cfruni(path))
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * """Get the parent directory's path to the latest file selection on
+ * a given filer selector entry widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_32selected_get(struct PyElementaryFileselectorEntry *__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_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":458
+ *
+ * """
+ * return _ctouni(elm_fileselector_entry_selected_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_entry_selected_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8selected___get__(((struct PyElementaryFileselectorEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":471
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_entry_selected_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8selected___get__(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":472
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_entry_selected_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, path):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_entry_selected_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorEntry.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8selected_2__set__(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":474
+ * return _ctouni(elm_fileselector_entry_selected_get(self.obj))
+ *
+ * def __set__(self, path): # <<<<<<<<<<<<<<
+ * elm_fileselector_entry_selected_set(self.obj, _cfruni(path))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_8selected_2__set__(struct PyElementaryFileselectorEntry *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":475
+ *
+ * def __set__(self, path):
+ * elm_fileselector_entry_selected_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ elm_fileselector_entry_selected_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_35callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_34callback_changed_add[] = "The text within the entry was changed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_35callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[39]; __pyx_lineno = 477; __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[39]; __pyx_lineno = 477; __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("elementary.c_elementary.FileselectorEntry.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_34callback_changed_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":477
+ * elm_fileselector_entry_selected_set(self.obj, _cfruni(path))
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The text within the entry was changed."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_34callback_changed_add(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":479
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """The text within the entry was changed."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 479; __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[39]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 479; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_37callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_37callback_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_10elementary_12c_elementary_17FileselectorEntry_36callback_changed_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":481
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_36callback_changed_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":482
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 482; __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[39]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_39callback_activated_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_38callback_activated_add[] = "The entry has had editing finished and changes are to be committed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_39callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[39]; __pyx_lineno = 484; __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[39]; __pyx_lineno = 484; __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("elementary.c_elementary.FileselectorEntry.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_38callback_activated_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":484
+ * self._callback_del("changed", func)
+ *
+ * def callback_activated_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has had editing finished and changes are to be committed."""
+ * self._callback_add("activated", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_38callback_activated_add(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":486
+ * def callback_activated_add(self, func, *args, **kwargs):
+ * """The entry has had editing finished and changes are to be committed."""
+ * self._callback_add("activated", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_activated_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 486; __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[39]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__activated));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_activated_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_41callback_activated_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_41callback_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_10elementary_12c_elementary_17FileselectorEntry_40callback_activated_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":488
+ * self._callback_add("activated", func, *args, **kwargs)
+ *
+ * def callback_activated_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("activated", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_40callback_activated_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_activated_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":489
+ *
+ * def callback_activated_del(self, func):
+ * self._callback_del("activated", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 489; __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[39]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__activated));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__activated));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__activated));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_activated_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_43callback_press_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_42callback_press_add[] = "The entry has been clicked.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_43callback_press_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_press_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 491; __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_press_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 491; __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("elementary.c_elementary.FileselectorEntry.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_42callback_press_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":491
+ * self._callback_del("activated", func)
+ *
+ * def callback_press_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been clicked."""
+ * self._callback_add("press", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_42callback_press_add(struct PyElementaryFileselectorEntry *__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_press_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":493
+ * def callback_press_add(self, func, *args, **kwargs):
+ * """The entry has been clicked."""
+ * self._callback_add("press", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 493; __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[39]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 493; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_45callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_45callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_44callback_press_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":495
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ * def callback_press_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("press", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_44callback_press_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_press_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":496
+ *
+ * def callback_press_del(self, func):
+ * self._callback_del("press", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 496; __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[39]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_press_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_47callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_46callback_longpressed_add[] = "The entry has been clicked (and held) for a couple seconds.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_47callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 498; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 498; __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("elementary.c_elementary.FileselectorEntry.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_46callback_longpressed_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":498
+ * self._callback_del("press", func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been clicked (and held) for a couple seconds."""
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_46callback_longpressed_add(struct PyElementaryFileselectorEntry *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":500
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * """The entry has been clicked (and held) for a couple seconds."""
+ * self._callback_add("longpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 500; __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[39]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_49callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_49callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_48callback_longpressed_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":502
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("longpressed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_48callback_longpressed_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":503
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del("longpressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 503; __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[39]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_51callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_50callback_clicked_add[] = "The entry has been clicked.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_51callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[39]; __pyx_lineno = 505; __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[39]; __pyx_lineno = 505; __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("elementary.c_elementary.FileselectorEntry.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_50callback_clicked_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":505
+ * self._callback_del("longpressed", func)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been clicked."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_50callback_clicked_add(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":507
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The entry has been clicked."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 507; __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[39]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_53callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_53callback_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_10elementary_12c_elementary_17FileselectorEntry_52callback_clicked_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":509
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_52callback_clicked_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":510
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 510; __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[39]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_55callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_54callback_clicked_double_add[] = "The entry has been double clicked.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_55callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[39]; __pyx_lineno = 512; __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[39]; __pyx_lineno = 512; __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("elementary.c_elementary.FileselectorEntry.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_54callback_clicked_double_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":512
+ * self._callback_del("clicked", func)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has been double clicked."""
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_54callback_clicked_double_add(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":514
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ * """The entry has been double clicked."""
+ * self._callback_add("clicked,double", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 514; __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[39]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 514; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_57callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_57callback_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_10elementary_12c_elementary_17FileselectorEntry_56callback_clicked_double_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":516
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,double", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_56callback_clicked_double_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":517
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del("clicked,double", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_focused_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 517; __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[39]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 517; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_59callback_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_58callback_focused_add[] = "The entry has received focus.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_59callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[39]; __pyx_lineno = 519; __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[39]; __pyx_lineno = 519; __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("elementary.c_elementary.FileselectorEntry.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_58callback_focused_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":519
+ * self._callback_del("clicked,double", func)
+ *
+ * def callback_focused_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has received focus."""
+ * self._callback_add("focused", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_58callback_focused_add(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":521
+ * def callback_focused_add(self, func, *args, **kwargs):
+ * """The entry has received focus."""
+ * self._callback_add("focused", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_focused_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 521; __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[39]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__focused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__focused));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 521; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_61callback_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_61callback_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_10elementary_12c_elementary_17FileselectorEntry_60callback_focused_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":523
+ * self._callback_add("focused", func, *args, **kwargs)
+ *
+ * def callback_focused_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("focused", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_60callback_focused_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_focused_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":524
+ *
+ * def callback_focused_del(self, func):
+ * self._callback_del("focused", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 524; __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[39]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__focused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__focused));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_focused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_63callback_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_62callback_unfocused_add[] = "The entry has lost focus.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_63callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[39]; __pyx_lineno = 526; __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[39]; __pyx_lineno = 526; __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("elementary.c_elementary.FileselectorEntry.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_62callback_unfocused_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":526
+ * self._callback_del("focused", func)
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The entry has lost focus."""
+ * self._callback_add("unfocused", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_62callback_unfocused_add(struct PyElementaryFileselectorEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":528
+ * def callback_unfocused_add(self, func, *args, **kwargs):
+ * """The entry has lost focus."""
+ * self._callback_add("unfocused", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfocused_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 528; __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[39]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfocused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfocused));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 528; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_65callback_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_65callback_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_10elementary_12c_elementary_17FileselectorEntry_64callback_unfocused_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":530
+ * self._callback_add("unfocused", func, *args, **kwargs)
+ *
+ * def callback_unfocused_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unfocused", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_64callback_unfocused_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unfocused_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":531
+ *
+ * def callback_unfocused_del(self, func):
+ * self._callback_del("unfocused", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_paste_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 531; __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[39]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfocused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfocused));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_unfocused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_67callback_selection_paste_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_66callback_selection_paste_add[] = "A paste action has occurred on the entry.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_67callback_selection_paste_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_paste_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_paste_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 533; __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_selection_paste_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 533; __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("elementary.c_elementary.FileselectorEntry.callback_selection_paste_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_66callback_selection_paste_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":533
+ * self._callback_del("unfocused", func)
+ *
+ * def callback_selection_paste_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A paste action has occurred on the entry."""
+ * self._callback_add("selection,paste", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_66callback_selection_paste_add(struct PyElementaryFileselectorEntry *__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_selection_paste_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":535
+ * def callback_selection_paste_add(self, func, *args, **kwargs):
+ * """A paste action has occurred on the entry."""
+ * self._callback_add("selection,paste", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_paste_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 535; __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[39]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_80));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_80));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_80));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_selection_paste_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_69callback_selection_paste_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_69callback_selection_paste_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_paste_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_68callback_selection_paste_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":537
+ * self._callback_add("selection,paste", func, *args, **kwargs)
+ *
+ * def callback_selection_paste_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,paste", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_68callback_selection_paste_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_paste_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":538
+ *
+ * def callback_selection_paste_del(self, func):
+ * self._callback_del("selection,paste", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_copy_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 538; __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[39]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_80));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_80));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_80));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 538; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_selection_paste_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_71callback_selection_copy_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_70callback_selection_copy_add[] = "A copy action has occurred on the entry.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_71callback_selection_copy_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_copy_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_copy_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 540; __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_selection_copy_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 540; __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("elementary.c_elementary.FileselectorEntry.callback_selection_copy_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_70callback_selection_copy_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":540
+ * self._callback_del("selection,paste", func)
+ *
+ * def callback_selection_copy_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A copy action has occurred on the entry."""
+ * self._callback_add("selection,copy", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_70callback_selection_copy_add(struct PyElementaryFileselectorEntry *__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_selection_copy_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":542
+ * def callback_selection_copy_add(self, func, *args, **kwargs):
+ * """A copy action has occurred on the entry."""
+ * self._callback_add("selection,copy", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_copy_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 542; __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[39]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_81));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_81));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_81));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_selection_copy_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_73callback_selection_copy_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_73callback_selection_copy_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_copy_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_72callback_selection_copy_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":544
+ * self._callback_add("selection,copy", func, *args, **kwargs)
+ *
+ * def callback_selection_copy_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,copy", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_72callback_selection_copy_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_copy_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":545
+ *
+ * def callback_selection_copy_del(self, func):
+ * self._callback_del("selection,copy", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_cut_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 545; __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[39]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_81));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_81));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_81));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 545; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_selection_copy_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_75callback_selection_cut_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_74callback_selection_cut_add[] = "A cut action has occurred on the entry.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_75callback_selection_cut_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_cut_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selection_cut_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 547; __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_selection_cut_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 547; __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("elementary.c_elementary.FileselectorEntry.callback_selection_cut_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_74callback_selection_cut_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":547
+ * self._callback_del("selection,copy", func)
+ *
+ * def callback_selection_cut_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """A cut action has occurred on the entry."""
+ * self._callback_add("selection,cut", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_74callback_selection_cut_add(struct PyElementaryFileselectorEntry *__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_selection_cut_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":549
+ * def callback_selection_cut_add(self, func, *args, **kwargs):
+ * """A cut action has occurred on the entry."""
+ * self._callback_add("selection,cut", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selection_cut_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 549; __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[39]; __pyx_lineno = 549; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_82));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_82));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_82));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 549; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 549; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 549; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_selection_cut_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_77callback_selection_cut_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_77callback_selection_cut_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_selection_cut_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_76callback_selection_cut_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":551
+ * self._callback_add("selection,cut", func, *args, **kwargs)
+ *
+ * def callback_selection_cut_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selection,cut", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_76callback_selection_cut_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selection_cut_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":552
+ *
+ * def callback_selection_cut_del(self, func):
+ * self._callback_del("selection,cut", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_unpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 552; __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[39]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_82));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_82));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_82));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_selection_cut_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_79callback_unpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_78callback_unpressed_add[] = "The file selector entry's button was released after being pressed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_79callback_unpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_unpressed_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 554; __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_unpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 554; __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("elementary.c_elementary.FileselectorEntry.callback_unpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_78callback_unpressed_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":554
+ * self._callback_del("selection,cut", func)
+ *
+ * def callback_unpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The file selector entry's button was released after being pressed."""
+ * self._callback_add("unpressed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_78callback_unpressed_add(struct PyElementaryFileselectorEntry *__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_unpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":556
+ * def callback_unpressed_add(self, func, *args, **kwargs):
+ * """The file selector entry's button was released after being pressed."""
+ * self._callback_add("unpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 556; __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[39]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_unpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_81callback_unpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_81callback_unpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_80callback_unpressed_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":558
+ * self._callback_add("unpressed", func, *args, **kwargs)
+ *
+ * def callback_unpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unpressed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_80callback_unpressed_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":559
+ *
+ * def callback_unpressed_del(self, func):
+ * self._callback_del("unpressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_file_chosen_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 559; __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[39]; __pyx_lineno = 559; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 559; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_unpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_83callback_file_chosen_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17FileselectorEntry_82callback_file_chosen_add[] = "The user has selected a path via the file selector entry's internal\n file selector, whose string comes as the C{event_info} data.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_83callback_file_chosen_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_file_chosen_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_file_chosen_add") < 0)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 561; __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_file_chosen_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[39]; __pyx_lineno = 561; __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("elementary.c_elementary.FileselectorEntry.callback_file_chosen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_82callback_file_chosen_add(((struct PyElementaryFileselectorEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":561
+ * self._callback_del("unpressed", func)
+ *
+ * def callback_file_chosen_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has selected a path via the file selector entry's internal
+ * file selector, whose string comes as the C{event_info} data.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_82callback_file_chosen_add(struct PyElementaryFileselectorEntry *__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_file_chosen_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":566
+ *
+ * """
+ * self._callback_add_full("file,chosen", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":567
+ * """
+ * self._callback_add_full("file,chosen", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_file_chosen_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_174));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_174));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_174));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":566
+ *
+ * """
+ * self._callback_add_full("file,chosen", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":567
+ * """
+ * self._callback_add_full("file,chosen", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_file_chosen_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.FileselectorEntry.callback_file_chosen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_85callback_file_chosen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_85callback_file_chosen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_file_chosen_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17FileselectorEntry_84callback_file_chosen_del(((struct PyElementaryFileselectorEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":569
+ * func, *args, **kwargs)
+ *
+ * def callback_file_chosen_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("file,chosen", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17FileselectorEntry_84callback_file_chosen_del(struct PyElementaryFileselectorEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_file_chosen_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":570
+ *
+ * def callback_file_chosen_del(self, func):
+ * self._callback_del_full("file,chosen", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("fileselector_entry", FileselectorEntry)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 570; __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[39]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_174));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_174));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_174));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorEntry.callback_file_chosen_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton___init__[] = "Add a new file selector button widget to the given parent\n Elementary (container) object\n\n @param parent: The parent object\n @type parent: L{Object}\n @return: a new file selector button widget handle or C{None}, on errors\n @rtype: L{Object}\n\n ";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_18FileselectorButton___init__;
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 54; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[40]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton___init__(((struct PyElementaryFileselectorButton *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":54
+ * cdef object _cbs
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Add a new file selector button widget to the given parent
+ * Elementary (container) object
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton___init__(struct PyElementaryFileselectorButton *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":64
+ *
+ * """
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_fileselector_button_add(parent.obj))
+ * self._cbs = {}
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 64; __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[40]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":65
+ * """
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_fileselector_button_add(parent.obj)) # <<<<<<<<<<<<<<
+ * self._cbs = {}
+ *
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorButton *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_fileselector_button_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":66
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_fileselector_button_add(parent.obj))
+ * self._cbs = {} # <<<<<<<<<<<<<<
+ *
+ * def window_title_set(self, title):
+ */
+ __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->_cbs);
+ __Pyx_DECREF(__pyx_v_self->_cbs);
+ __pyx_v_self->_cbs = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.FileselectorButton.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_3window_title_set(PyObject *__pyx_v_self, PyObject *__pyx_v_title); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_2window_title_set[] = "Set the title for a given file selector button widget's window\n\n This will change the popup window's title, when the file selector pops\n out after a click on the button. Those windows have the default\n (unlocalized) value of C{\"Select a file\"} as titles.\n\n @note: It will only take effect if the file selector\n button widget is B{not} under \"inwin mode\".\n\n @see: L{window_title_get()}\n\n @param title: The title string\n @type title: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_3window_title_set(PyObject *__pyx_v_self, PyObject *__pyx_v_title) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_title_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_2window_title_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_title));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":68
+ * self._cbs = {}
+ *
+ * def window_title_set(self, title): # <<<<<<<<<<<<<<
+ * """Set the title for a given file selector button widget's window
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_2window_title_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_title) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_title_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":84
+ *
+ * """
+ * elm_fileselector_button_window_title_set(self.obj, _cfruni(title)) # <<<<<<<<<<<<<<
+ *
+ * def window_title_get(self):
+ */
+ elm_fileselector_button_window_title_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_5window_title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_4window_title_get[] = "Get the title for a given file selector button widget's window\n\n @see: L{window_title_get()} for more details\n\n @return: Title of the file selector button's window\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_5window_title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_title_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_4window_title_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":86
+ * elm_fileselector_button_window_title_set(self.obj, _cfruni(title))
+ *
+ * def window_title_get(self): # <<<<<<<<<<<<<<
+ * """Get the title for a given file selector button widget's window
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_4window_title_get(struct PyElementaryFileselectorButton *__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("window_title_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":95
+ *
+ * """
+ * return _ctouni(elm_fileselector_button_window_title_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property window_title:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_button_window_title_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.window_title_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_12window_title_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_12window_title_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_12window_title___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":110
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_button_window_title_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_12window_title___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":111
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_button_window_title_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, title):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_button_window_title_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.window_title.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_12window_title_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_title); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_12window_title_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_title) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_12window_title_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_title));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":113
+ * return _ctouni(elm_fileselector_button_window_title_get(self.obj))
+ *
+ * def __set__(self, title): # <<<<<<<<<<<<<<
+ * elm_fileselector_button_window_title_set(self.obj, _cfruni(title))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_12window_title_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_title) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":114
+ *
+ * def __set__(self, title):
+ * elm_fileselector_button_window_title_set(self.obj, _cfruni(title)) # <<<<<<<<<<<<<<
+ *
+ * def window_size_set(self, width, height):
+ */
+ elm_fileselector_button_window_title_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_title));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_7window_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_6window_size_set[] = "Set the size of a given file selector button widget's window,\n holding the file selector itself.\n\n @note: it will only take any effect if the file selector button\n widget is B{not} under \"inwin mode\". The default size for the\n window (when applicable) is 400x400 pixels.\n\n @see: L{window_size_get()}\n\n @param width: The window's width\n @type width: Evas_Coord (int)\n @param height: The window's height\n @type height: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_7window_size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_width = 0;
+ PyObject *__pyx_v_height = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__width,&__pyx_n_s__height,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__width);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__height);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("window_size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[40]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "window_size_set") < 0)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 116; __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_width = values[0];
+ __pyx_v_height = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("window_size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[40]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.window_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_6window_size_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), __pyx_v_width, __pyx_v_height);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":116
+ * elm_fileselector_button_window_title_set(self.obj, _cfruni(title))
+ *
+ * def window_size_set(self, width, height): # <<<<<<<<<<<<<<
+ * """Set the size of a given file selector button widget's window,
+ * holding the file selector itself.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_6window_size_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_width, PyObject *__pyx_v_height) {
+ 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("window_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":132
+ *
+ * """
+ * elm_fileselector_button_window_size_set(self.obj, width, height) # <<<<<<<<<<<<<<
+ *
+ * def window_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_width); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_height); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_window_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.window_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_9window_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_8window_size_get[] = "Get the size of a given file selector button widget's window,\n holding the file selector itself.\n\n @see: L{window_size_set()}, for more details\n\n @return: Width and height of the window\n @rtype: tuple of Evas_Coords (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_9window_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("window_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_8window_size_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":134
+ * elm_fileselector_button_window_size_set(self.obj, width, height)
+ *
+ * def window_size_get(self): # <<<<<<<<<<<<<<
+ * """Get the size of a given file selector button widget's window,
+ * holding the file selector itself.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_8window_size_get(struct PyElementaryFileselectorButton *__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("window_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":145
+ * """
+ * cdef Evas_Coord w, h
+ * elm_fileselector_button_window_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_fileselector_button_window_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":146
+ * cdef Evas_Coord w, h
+ * elm_fileselector_button_window_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property window_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 146; __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[40]; __pyx_lineno = 146; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.window_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11window_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11window_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11window_size___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":159
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * elm_fileselector_button_window_size_get(self.obj, &w, &h)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_11window_size___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":161
+ * def __get__(self):
+ * cdef Evas_Coord w, h
+ * elm_fileselector_button_window_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_fileselector_button_window_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":162
+ * cdef Evas_Coord w, h
+ * elm_fileselector_button_window_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 162; __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[40]; __pyx_lineno = 162; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.window_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11window_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11window_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_10elementary_12c_elementary_18FileselectorButton_11window_size_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":164
+ * return (w, h)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * w, h = value
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11window_size_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_value) {
+ Evas_Coord __pyx_v_w;
+ Evas_Coord __pyx_v_h;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":166
+ * def __set__(self, value):
+ * cdef Evas_Coord w, h
+ * w, h = value # <<<<<<<<<<<<<<
+ * elm_fileselector_button_window_size_set(self.obj, w, h)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[40]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[40]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 166; __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[40]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[40]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_t_1); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_t_2); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_w = __pyx_t_5;
+ __pyx_v_h = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":167
+ * cdef Evas_Coord w, h
+ * w, h = value
+ * elm_fileselector_button_window_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def path_set(self, path):
+ */
+ elm_fileselector_button_window_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_w, __pyx_v_h);
+
+ __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("elementary.c_elementary.FileselectorButton.window_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11path_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_10path_set[] = "Set the initial file system path for a given file selector\n button widget\n\n It must be a B{directory} path, which will have the contents\n displayed initially in the file selector's view. The default initial\n path is the C{\"HOME\"} environment variable's value.\n\n @see: L{path_get()}\n\n @param path: The path string\n @type path: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11path_set(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10path_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":169
+ * elm_fileselector_button_window_size_set(self.obj, w, h)
+ *
+ * def path_set(self, path): # <<<<<<<<<<<<<<
+ * """Set the initial file system path for a given file selector
+ * button widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_10path_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_path) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":183
+ *
+ * """
+ * elm_fileselector_button_path_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def path_get(self):
+ */
+ elm_fileselector_button_path_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_13path_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_12path_get[] = "Get the initial file system path set for a given file selector\n button widget\n\n @see: L{path_set()} for more details\n\n @return: The path string\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_13path_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("path_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_12path_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":185
+ * elm_fileselector_button_path_set(self.obj, _cfruni(path))
+ *
+ * def path_get(self): # <<<<<<<<<<<<<<
+ * """Get the initial file system path set for a given file selector
+ * button widget
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_12path_get(struct PyElementaryFileselectorButton *__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("path_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":195
+ *
+ * """
+ * return _ctouni(elm_fileselector_button_path_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property path:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_button_path_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.path_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_4path_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_4path_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_4path___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":208
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_fileselector_button_path_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_4path___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":209
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_fileselector_button_path_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, path):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_fileselector_button_path_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.path.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_4path_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_4path_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_4path_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_path));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":211
+ * return _ctouni(elm_fileselector_button_path_get(self.obj))
+ *
+ * def __set__(self, path): # <<<<<<<<<<<<<<
+ * elm_fileselector_button_path_set(self.obj, _cfruni(path))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_4path_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_path) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":212
+ *
+ * def __set__(self, path):
+ * elm_fileselector_button_path_set(self.obj, _cfruni(path)) # <<<<<<<<<<<<<<
+ *
+ * def expandable_set(self, expand):
+ */
+ elm_fileselector_button_path_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_path));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_15expandable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expand); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_14expandable_set[] = "Enable/disable a tree view in the given file selector button\n widget's internal file selector\n\n This has the same effect as L{Fileselector.expandable_set()},\n but now applied to a file selector button's internal file\n selector.\n\n @note: There's no way to put a file selector button's internal\n file selector in \"grid mode\", as one may do with \"pure\" file\n selectors.\n\n @see: L{expandable_get()}\n\n @param value: C{True} to enable tree view, C{False} to disable\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_15expandable_set(PyObject *__pyx_v_self, PyObject *__pyx_v_expand) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expandable_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_14expandable_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_expand));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":214
+ * elm_fileselector_button_path_set(self.obj, _cfruni(path))
+ *
+ * def expandable_set(self, expand): # <<<<<<<<<<<<<<
+ * """Enable/disable a tree view in the given file selector button
+ * widget's internal file selector
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_14expandable_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_expand) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("expandable_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":232
+ *
+ * """
+ * elm_fileselector_button_expandable_set(self.obj, expand) # <<<<<<<<<<<<<<
+ *
+ * def expandable_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_expand); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_expandable_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.expandable_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_17expandable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_16expandable_get[] = "Get whether tree view is enabled for the given file selector\n button widget's internal file selector\n\n @see: L{expandable_set()} for more details\n\n @return: C{True} if widget's internal file selector\n is in tree view, C{False} otherwise (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_17expandable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expandable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_16expandable_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":234
+ * elm_fileselector_button_expandable_set(self.obj, expand)
+ *
+ * def expandable_get(self): # <<<<<<<<<<<<<<
+ * """Get whether tree view is enabled for the given file selector
+ * button widget's internal file selector
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_16expandable_get(struct PyElementaryFileselectorButton *__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("expandable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":245
+ *
+ * """
+ * return bool(elm_fileselector_button_expandable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property expandable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_expandable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.expandable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_10expandable_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_10expandable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10expandable___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":262
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_button_expandable_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_10expandable___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":263
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_button_expandable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, expand):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_expandable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.expandable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10expandable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expand); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10expandable_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_expand) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10expandable_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_expand));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":265
+ * return bool(elm_fileselector_button_expandable_get(self.obj))
+ *
+ * def __set__(self, expand): # <<<<<<<<<<<<<<
+ * elm_fileselector_button_expandable_set(self.obj, expand)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10expandable_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_expand) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":266
+ *
+ * def __set__(self, expand):
+ * elm_fileselector_button_expandable_set(self.obj, expand) # <<<<<<<<<<<<<<
+ *
+ * def folder_only_set(self, folder_only):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_expand); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_expandable_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.expandable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_19folder_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_18folder_only_set[] = "Set whether a given file selector button widget's internal file\n selector is to display folders only or the directory contents,\n as well.\n\n This has the same effect as L{Fileselector.folder_only_set()},\n but now applied to a file selector button's internal file\n selector.\n\n @see: L{folder_only_get()}\n\n @param value: C{True} to make widget's internal file\n selector only display directories, C{False} to make files\n to be displayed in it too\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_19folder_only_set(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("folder_only_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_18folder_only_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_folder_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":268
+ * elm_fileselector_button_expandable_set(self.obj, expand)
+ *
+ * def folder_only_set(self, folder_only): # <<<<<<<<<<<<<<
+ * """Set whether a given file selector button widget's internal file
+ * selector is to display folders only or the directory contents,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_18folder_only_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("folder_only_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":285
+ *
+ * """
+ * elm_fileselector_button_folder_only_set(self.obj, folder_only) # <<<<<<<<<<<<<<
+ *
+ * def folder_only_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_folder_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_folder_only_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.folder_only_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_21folder_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_20folder_only_get[] = "Get whether a given file selector button widget's internal file\n selector is displaying folders only or the directory contents,\n as well.\n\n @see: L{folder_only_set()} for more details\n\n @return: C{True} if widget's internal file\n selector is only displaying directories, C{False} if files\n are being displayed in it too (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_21folder_only_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("folder_only_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_20folder_only_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":287
+ * elm_fileselector_button_folder_only_set(self.obj, folder_only)
+ *
+ * def folder_only_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given file selector button widget's internal file
+ * selector is displaying folders only or the directory contents,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_20folder_only_get(struct PyElementaryFileselectorButton *__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("folder_only_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":300
+ *
+ * """
+ * return bool(elm_fileselector_button_folder_only_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property folder_only:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_folder_only_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.folder_only_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11folder_only_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11folder_only_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11folder_only___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":314
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_button_folder_only_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_11folder_only___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":315
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_button_folder_only_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, folder_only):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_folder_only_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.folder_only.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11folder_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11folder_only_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11folder_only_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_folder_only));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":317
+ * return bool(elm_fileselector_button_folder_only_get(self.obj))
+ *
+ * def __set__(self, folder_only): # <<<<<<<<<<<<<<
+ * elm_fileselector_button_folder_only_set(self.obj, folder_only)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_11folder_only_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_folder_only) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":318
+ *
+ * def __set__(self, folder_only):
+ * elm_fileselector_button_folder_only_set(self.obj, folder_only) # <<<<<<<<<<<<<<
+ *
+ * def is_save_set(self, is_save):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_folder_only); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_folder_only_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.folder_only.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_23is_save_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_22is_save_set[] = "Enable/disable the file name entry box where the user can type\n in a name for a file, in a given file selector button widget's\n internal file selector.\n\n This has the same effect as L{Fileselector.is_save_set()},\n but now applied to a file selector button's internal file\n selector.\n\n @see: L{is_save_get()}\n\n @param value: C{True} to make widget's internal\n file selector a \"saving dialog\", C{False} otherwise\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_23is_save_set(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_save_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_22is_save_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_is_save));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":320
+ * elm_fileselector_button_folder_only_set(self.obj, folder_only)
+ *
+ * def is_save_set(self, is_save): # <<<<<<<<<<<<<<
+ * """Enable/disable the file name entry box where the user can type
+ * in a name for a file, in a given file selector button widget's
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_22is_save_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("is_save_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":336
+ *
+ * """
+ * elm_fileselector_button_is_save_set(self.obj, is_save) # <<<<<<<<<<<<<<
+ *
+ * def is_save_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_save); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_is_save_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.is_save_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_25is_save_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_24is_save_get[] = "Get whether the given file selector button widget's internal\n file selector is in \"saving dialog\" mode\n\n @see: L{is_save_set()} for more details\n\n @return: C{True}, if widget's internal file selector is in\n \"saving dialog\" mode, C{False} otherwise (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_25is_save_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_save_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_24is_save_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":338
+ * elm_fileselector_button_is_save_set(self.obj, is_save)
+ *
+ * def is_save_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the given file selector button widget's internal
+ * file selector is in "saving dialog" mode
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_24is_save_get(struct PyElementaryFileselectorButton *__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("is_save_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":349
+ *
+ * """
+ * return bool(elm_fileselector_button_is_save_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property is_save:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_is_save_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.is_save_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_7is_save_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_7is_save_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_7is_save___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":363
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_button_is_save_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_7is_save___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":364
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_button_is_save_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, is_save):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_is_save_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.is_save.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_7is_save_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_7is_save_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_7is_save_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_is_save));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":366
+ * return bool(elm_fileselector_button_is_save_get(self.obj))
+ *
+ * def __set__(self, is_save): # <<<<<<<<<<<<<<
+ * elm_fileselector_button_is_save_set(self.obj, is_save)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_7is_save_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_is_save) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":367
+ *
+ * def __set__(self, is_save):
+ * elm_fileselector_button_is_save_set(self.obj, is_save) # <<<<<<<<<<<<<<
+ *
+ * def inwin_mode_set(self, inwin_mode):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_is_save); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_is_save_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.is_save.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_27inwin_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_26inwin_mode_set[] = "Set whether a given file selector button widget's internal file\n selector will raise an Elementary \"inner window\", instead of a\n dedicated Elementary window. By default, it won't.\n\n @see: L{InnerWindow} for more information on inner windows\n @see: L{inwin_mode_get()}\n\n @param value: C{True} to make it use an inner window, C{False} to make\n it use a dedicated window\n @type value: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_27inwin_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inwin_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_26inwin_mode_set(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_inwin_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":369
+ * elm_fileselector_button_is_save_set(self.obj, is_save)
+ *
+ * def inwin_mode_set(self, inwin_mode): # <<<<<<<<<<<<<<
+ * """Set whether a given file selector button widget's internal file
+ * selector will raise an Elementary "inner window", instead of a
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_26inwin_mode_set(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("inwin_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":382
+ *
+ * """
+ * elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode) # <<<<<<<<<<<<<<
+ *
+ * def inwin_mode_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inwin_mode); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_inwin_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.inwin_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_29inwin_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_28inwin_mode_get[] = "Get whether a given file selector button widget's internal file\n selector will raise an Elementary \"inner window\", instead of a\n dedicated Elementary window.\n\n @see: L{inwin_mode_set()} for more details\n\n @return: C{True} if will use an inner window, C{False}\n if it will use a dedicated window\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_29inwin_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inwin_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_28inwin_mode_get(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":384
+ * elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode)
+ *
+ * def inwin_mode_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given file selector button widget's internal file
+ * selector will raise an Elementary "inner window", instead of a
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_28inwin_mode_get(struct PyElementaryFileselectorButton *__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("inwin_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":395
+ *
+ * """
+ * return bool(elm_fileselector_button_inwin_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property inwin_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_inwin_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.inwin_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10inwin_mode___get__(((struct PyElementaryFileselectorButton *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":407
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_fileselector_button_inwin_mode_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_10inwin_mode___get__(struct PyElementaryFileselectorButton *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":408
+ * """
+ * def __get__(self):
+ * return bool(elm_fileselector_button_inwin_mode_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, inwin_mode):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_fileselector_button_inwin_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.inwin_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_2__set__(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_inwin_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":410
+ * return bool(elm_fileselector_button_inwin_mode_get(self.obj))
+ *
+ * def __set__(self, inwin_mode): # <<<<<<<<<<<<<<
+ * elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_2__set__(struct PyElementaryFileselectorButton *__pyx_v_self, PyObject *__pyx_v_inwin_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":411
+ *
+ * def __set__(self, inwin_mode):
+ * elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode) # <<<<<<<<<<<<<<
+ *
+ * def callback_file_chosen_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inwin_mode); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_fileselector_button_inwin_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FileselectorButton.inwin_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_31callback_file_chosen_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18FileselectorButton_30callback_file_chosen_add[] = "The user has selected a path which comes as the C{event_info} data.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_31callback_file_chosen_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_file_chosen_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_file_chosen_add") < 0)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 413; __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_file_chosen_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[40]; __pyx_lineno = 413; __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("elementary.c_elementary.FileselectorButton.callback_file_chosen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_30callback_file_chosen_add(((struct PyElementaryFileselectorButton *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":413
+ * elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode)
+ *
+ * def callback_file_chosen_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user has selected a path which comes as the C{event_info} data."""
+ * self._callback_add_full("file,chosen", _cb_string_conv,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_30callback_file_chosen_add(struct PyElementaryFileselectorButton *__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_file_chosen_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":415
+ * def callback_file_chosen_add(self, func, *args, **kwargs):
+ * """The user has selected a path which comes as the C{event_info} data."""
+ * self._callback_add_full("file,chosen", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":416
+ * """The user has selected a path which comes as the C{event_info} data."""
+ * self._callback_add_full("file,chosen", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_file_chosen_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_174));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_174));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_174));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":415
+ * def callback_file_chosen_add(self, func, *args, **kwargs):
+ * """The user has selected a path which comes as the C{event_info} data."""
+ * self._callback_add_full("file,chosen", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":416
+ * """The user has selected a path which comes as the C{event_info} data."""
+ * self._callback_add_full("file,chosen", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_file_chosen_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.FileselectorButton.callback_file_chosen_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_33callback_file_chosen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18FileselectorButton_33callback_file_chosen_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_file_chosen_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18FileselectorButton_32callback_file_chosen_del(((struct PyElementaryFileselectorButton *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":418
+ * func, *args, **kwargs)
+ *
+ * def callback_file_chosen_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("file,chosen", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18FileselectorButton_32callback_file_chosen_del(struct PyElementaryFileselectorButton *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_file_chosen_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":419
+ *
+ * def callback_file_chosen_del(self, func):
+ * self._callback_del_full("file,chosen", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("fileselector_button", FileselectorButton)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 419; __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[40]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_174));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_174));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_174));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 419; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FileselectorButton.callback_file_chosen_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Separator_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Separator_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 29; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[41]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Separator.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Separator___init__(((struct PyElementarySeparator *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":29
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * self._set_obj(elm_separator_add(parent.obj))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Separator___init__(struct PyElementarySeparator *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":30
+ *
+ * def __init__(self, evasObject parent):
+ * self._set_obj(elm_separator_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, b):
+ */
+ __pyx_t_1 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Separator *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_separator_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_1 == 0)) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Separator.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Separator_3horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_b); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Separator_2horizontal_set[] = "Set the horizontal mode of a separator object\n\n @param horizontal: If True, the separator is horizontal\n @type horizontal: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Separator_3horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_b) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Separator_2horizontal_set(((struct PyElementarySeparator *)__pyx_v_self), ((PyObject *)__pyx_v_b));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":32
+ * self._set_obj(elm_separator_add(parent.obj))
+ *
+ * def horizontal_set(self, b): # <<<<<<<<<<<<<<
+ * """Set the horizontal mode of a separator object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Separator_2horizontal_set(struct PyElementarySeparator *__pyx_v_self, PyObject *__pyx_v_b) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":39
+ *
+ * """
+ * elm_separator_horizontal_set(self.obj, b) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_b); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_separator_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Separator.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Separator_5horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Separator_4horizontal_get[] = "Get the horizontal mode of a separator object\n\n @see: L{horizontal_set()}\n\n @return: If True, the separator is horizontal\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Separator_5horizontal_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_10elementary_12c_elementary_9Separator_4horizontal_get(((struct PyElementarySeparator *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":41
+ * elm_separator_horizontal_set(self.obj, b)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Get the horizontal mode of a separator object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Separator_4horizontal_get(struct PyElementarySeparator *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":50
+ *
+ * """
+ * return elm_separator_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_separator_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Separator.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Separator_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Separator_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Separator_10horizontal___get__(((struct PyElementarySeparator *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":58
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_separator_horizontal_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Separator_10horizontal___get__(struct PyElementarySeparator *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":59
+ * """
+ * def __get__(self):
+ * return elm_separator_horizontal_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, b):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_separator_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Separator.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Separator_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_b); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Separator_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_b) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Separator_10horizontal_2__set__(((struct PyElementarySeparator *)__pyx_v_self), ((PyObject *)__pyx_v_b));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":61
+ * return elm_separator_horizontal_get(self.obj)
+ *
+ * def __set__(self, b): # <<<<<<<<<<<<<<
+ * elm_separator_horizontal_set(self.obj, b)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Separator_10horizontal_2__set__(struct PyElementarySeparator *__pyx_v_self, PyObject *__pyx_v_b) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":62
+ *
+ * def __set__(self, b):
+ * elm_separator_horizontal_set(self.obj, b) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("separator", Separator)
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_b); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_separator_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Separator.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 59; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[42]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar___init__(((struct PyElementaryProgressbar *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":59
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_progressbar_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar___init__(struct PyElementaryProgressbar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":60
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_progressbar_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 60; __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[42]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":61
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_progressbar_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def pulse_set(self, pulse):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Progressbar *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_progressbar_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Progressbar.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_3pulse_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pulse); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_2pulse_set[] = "Set whether a given progress bar widget is at \"pulsing mode\" or not.\n\n By default, progress bars will display values from the low to high\n value boundaries. There are, though, contexts in which the progress\n of a given task is B{unknown}. For such cases, one can set a\n progress bar widget to a \"pulsing state\", to give the user an idea\n that some computation is being held, but without exact progress\n values. In the default theme, it will animate its bar with the\n contents filling in constantly and back to non-filled, in a loop. To\n start and stop this pulsing animation, one has to explicitly call\n L{pulse()}.\n\n @see: L{pulse_get()}\n @see: L{pulse()}\n\n @param pulse: C{True} to put the object in pulsing mode,\n C{False} to put it back to its default one\n @type pulse: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_3pulse_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pulse) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pulse_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_2pulse_set(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_pulse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":63
+ * self._set_obj(elm_progressbar_add(parent.obj))
+ *
+ * def pulse_set(self, pulse): # <<<<<<<<<<<<<<
+ * """Set whether a given progress bar widget is at "pulsing mode" or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_2pulse_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_pulse) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pulse_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":84
+ *
+ * """
+ * elm_progressbar_pulse_set(self.obj, pulse) # <<<<<<<<<<<<<<
+ *
+ * def pulse_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_pulse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_pulse_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.pulse_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_5pulse_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_4pulse_get[] = "Get whether a given progress bar widget is at \"pulsing mode\" or not.\n\n @return: C{True}, if the object is in pulsing mode, C{False}\n if it's in the default one (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_5pulse_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pulse_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_4pulse_get(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":86
+ * elm_progressbar_pulse_set(self.obj, pulse)
+ *
+ * def pulse_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given progress bar widget is at "pulsing mode" or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_4pulse_get(struct PyElementaryProgressbar *__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("pulse_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":94
+ *
+ * """
+ * return elm_progressbar_pulse_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def pulse(self, state):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_progressbar_pulse_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.pulse_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_7pulse(PyObject *__pyx_v_self, PyObject *__pyx_v_state); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_6pulse[] = "Start/stop a given progress bar \"pulsing\" animation, if its\n under that mode\n\n @note: This call won't do anything if the object is not under \"pulsing mode\".\n\n @see: L{pulse_set()} for more details.\n\n @param state: C{True}, to B{start} the pulsing animation, C{False} to\n B{stop} it\n @type state: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_7pulse(PyObject *__pyx_v_self, PyObject *__pyx_v_state) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pulse (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_6pulse(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_state));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":96
+ * return elm_progressbar_pulse_get(self.obj)
+ *
+ * def pulse(self, state): # <<<<<<<<<<<<<<
+ * """Start/stop a given progress bar "pulsing" animation, if its
+ * under that mode
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_6pulse(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_state) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pulse", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":109
+ *
+ * """
+ * elm_progressbar_pulse(self.obj, state) # <<<<<<<<<<<<<<
+ *
+ * def value_set(self, value):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_state); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_pulse(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.pulse", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_9value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_8value_set[] = "Set the progress value (in percentage) on a given progress bar\n widget.\n\n Use this call to set progress bar levels.\n\n @note: If you pass a value out of the specified range for C{val},\n it will be interpreted as the B{closest} of the B{boundary}\n values in the range.\n\n @param val: The progress value (B{must} be between C{0.0} and C{1.0})\n @type val: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_9value_set(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_8value_set(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":111
+ * elm_progressbar_pulse(self.obj, state)
+ *
+ * def value_set(self, value): # <<<<<<<<<<<<<<
+ * """Set the progress value (in percentage) on a given progress bar
+ * widget.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_8value_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("value_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":125
+ *
+ * """
+ * elm_progressbar_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def value_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.value_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_11value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_10value_get[] = "Get the progress value (in percentage) on a given progress bar\n widget.\n\n @see: L{value_set()} for more details\n\n @return: The value of the progressbar\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_11value_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("value_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_10value_get(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":127
+ * elm_progressbar_value_set(self.obj, value)
+ *
+ * def value_get(self): # <<<<<<<<<<<<<<
+ * """Get the progress value (in percentage) on a given progress bar
+ * widget.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_10value_get(struct PyElementaryProgressbar *__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("value_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":137
+ *
+ * """
+ * return elm_progressbar_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property value:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_progressbar_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.value_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_5value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_5value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_5value___get__(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":151
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_progressbar_value_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_5value___get__(struct PyElementaryProgressbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":152
+ * """
+ * def __get__(self):
+ * return elm_progressbar_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_progressbar_value_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_5value_2__set__(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":154
+ * return elm_progressbar_value_get(self.obj)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * elm_progressbar_value_set(self.obj, value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar_5value_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":155
+ *
+ * def __set__(self, value):
+ * elm_progressbar_value_set(self.obj, value) # <<<<<<<<<<<<<<
+ *
+ * def span_size_set(self, size):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_value); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_value_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_13span_size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_12span_size_set[] = "Set the (exact) length of the bar region of a given progress bar\n widget.\n\n This sets the minimum width (when in horizontal mode) or height\n (when in vertical mode) of the actual bar area of the progress bar.\n This in turn affects the object's minimum size. Use this when you're\n not setting other size hints expanding on the given direction (like\n weight and alignment hints) and you would like it to have a specific\n size.\n\n @note: Icon, label and unit text around the object will require their\n own space, which will make the object to actually require more size.\n\n @see: L{span_size_get()}\n\n @param size: The length of the progress bar's bar region\n @type size: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_13span_size_set(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("span_size_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_12span_size_set(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":157
+ * elm_progressbar_value_set(self.obj, value)
+ *
+ * def span_size_set(self, size): # <<<<<<<<<<<<<<
+ * """Set the (exact) length of the bar region of a given progress bar
+ * widget.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_12span_size_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_size) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("span_size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":177
+ *
+ * """
+ * elm_progressbar_span_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def span_size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_span_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.span_size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_15span_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_14span_size_get[] = "Get the length set for the bar region of a given progress bar\n widget.\n\n If that size was not set previously, with L{span_size_set()}, this\n call will return C{0}.\n\n @return: The length of the progress bar's bar region\n @rtype: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_15span_size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("span_size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_14span_size_get(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":179
+ * elm_progressbar_span_size_set(self.obj, size)
+ *
+ * def span_size_get(self): # <<<<<<<<<<<<<<
+ * """Get the length set for the bar region of a given progress bar
+ * widget.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_14span_size_get(struct PyElementaryProgressbar *__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("span_size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":190
+ *
+ * """
+ * return elm_progressbar_span_size_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property span_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_progressbar_span_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.span_size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_9span_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_9span_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_9span_size___get__(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":208
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_progressbar_span_size_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_9span_size___get__(struct PyElementaryProgressbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":209
+ * """
+ * def __get__(self):
+ * return elm_progressbar_span_size_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, size):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(elm_progressbar_span_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.span_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_9span_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_9span_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_9span_size_2__set__(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":211
+ * return elm_progressbar_span_size_get(self.obj)
+ *
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_progressbar_span_size_set(self.obj, size)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar_9span_size_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":212
+ *
+ * def __set__(self, size):
+ * elm_progressbar_span_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * def unit_format_set(self, format):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_size); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_span_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.span_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_17unit_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_16unit_format_set[] = "Set the format string for a given progress bar widget's units\n label.\n\n If C{None} is passed on C{format}, it will make the objects units\n area to be hidden completely. If not, it'll set the B{format string}\n for the units label's B{text}. The units label is provided a\n floating point value, so the units text is up display at most one\n floating point value. Note that the units label is optional. Use a\n format string such as \"%1.2f meters\" for example.\n\n @note: The default format string for a progress bar is an integer\n percentage, as in C{\"%.0f %%\"}.\n\n @see: L{unit_format_get()}\n\n @param format: The format string for objects units label\n @type format: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_17unit_format_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unit_format_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_16unit_format_set(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":214
+ * elm_progressbar_span_size_set(self.obj, size)
+ *
+ * def unit_format_set(self, format): # <<<<<<<<<<<<<<
+ * """Set the format string for a given progress bar widget's units
+ * label.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_16unit_format_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_format) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("unit_format_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":234
+ *
+ * """
+ * if format is None: # <<<<<<<<<<<<<<
+ * elm_progressbar_unit_format_set(self.obj, NULL)
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_format == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":235
+ * """
+ * if format is None:
+ * elm_progressbar_unit_format_set(self.obj, NULL) # <<<<<<<<<<<<<<
+ * else:
+ * elm_progressbar_unit_format_set(self.obj, _cfruni(format))
+ */
+ elm_progressbar_unit_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, NULL);
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":237
+ * elm_progressbar_unit_format_set(self.obj, NULL)
+ * else:
+ * elm_progressbar_unit_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * def unit_format_get(self):
+ */
+ elm_progressbar_unit_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_19unit_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_18unit_format_get[] = "Retrieve the format string set for a given progress bar widget's\n units label.\n\n @see: L{unit_format_set()} for more details\n\n @return: The format set string for the objects units label or\n C{None}, if none was set (and on errors)\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_19unit_format_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unit_format_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_18unit_format_get(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":239
+ * elm_progressbar_unit_format_set(self.obj, _cfruni(format))
+ *
+ * def unit_format_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve the format string set for a given progress bar widget's
+ * units label.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_18unit_format_get(struct PyElementaryProgressbar *__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("unit_format_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":250
+ *
+ * """
+ * return _ctouni(elm_progressbar_unit_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property unit_format:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_progressbar_unit_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.unit_format_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_11unit_format_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_11unit_format_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_11unit_format___get__(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":268
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_progressbar_unit_format_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_11unit_format___get__(struct PyElementaryProgressbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":269
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_progressbar_unit_format_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, format):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_progressbar_unit_format_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.unit_format.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_11unit_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_11unit_format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_11unit_format_2__set__(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_format));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":271
+ * return _ctouni(elm_progressbar_unit_format_get(self.obj))
+ *
+ * def __set__(self, format): # <<<<<<<<<<<<<<
+ * if format is None:
+ * elm_progressbar_unit_format_set(self.obj, NULL)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar_11unit_format_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_format) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":272
+ *
+ * def __set__(self, format):
+ * if format is None: # <<<<<<<<<<<<<<
+ * elm_progressbar_unit_format_set(self.obj, NULL)
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_format == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":273
+ * def __set__(self, format):
+ * if format is None:
+ * elm_progressbar_unit_format_set(self.obj, NULL) # <<<<<<<<<<<<<<
+ * else:
+ * elm_progressbar_unit_format_set(self.obj, _cfruni(format))
+ */
+ elm_progressbar_unit_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, NULL);
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":275
+ * elm_progressbar_unit_format_set(self.obj, NULL)
+ * else:
+ * elm_progressbar_unit_format_set(self.obj, _cfruni(format)) # <<<<<<<<<<<<<<
+ *
+ * property unit_format_function:
+ */
+ elm_progressbar_unit_format_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_format));
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_20unit_format_function_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_20unit_format_function_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(((PyObject *)__pyx_v_func) == Py_None)) {
+ PyErr_Format(PyExc_TypeError, "Argument 'func' must not be None"); {__pyx_filename = __pyx_f[42]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_20unit_format_function___set__(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":285
+ *
+ * """
+ * def __set__(self, func not None): # <<<<<<<<<<<<<<
+ * pass
+ * #if not callable(func):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar_20unit_format_function___set__(CYTHON_UNUSED struct PyElementaryProgressbar *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_21horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_20horizontal_set[] = "Set the orientation of a given progress bar widget.\n\n Use this function to change how your progress bar is to be\n disposed: vertically or horizontally.\n\n @see: L{horizontal_get()}\n\n @param horizontal: Use C{True} to make the object to be\n B{horizontal}, C{False} to make it B{vertical}.\n @type horizontal: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_21horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_20horizontal_set(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":292
+ * #elm_progressbar_unit_format_function_set(self.obj, func, NULL)
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """Set the orientation of a given progress bar widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_20horizontal_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":305
+ *
+ * """
+ * elm_progressbar_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_23horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_22horizontal_get[] = "Retrieve the orientation of a given progress bar widget.\n\n @see: L{horizontal_set()} for more details\n\n @return: C{True}, if the object is set to be B{horizontal},\n C{False} if it's B{vertical} (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_23horizontal_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_10elementary_12c_elementary_11Progressbar_22horizontal_get(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":307
+ * elm_progressbar_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Retrieve the orientation of a given progress bar widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_22horizontal_get(struct PyElementaryProgressbar *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":317
+ *
+ * """
+ * return bool(elm_progressbar_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_progressbar_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Progressbar.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_10horizontal___get__(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":328
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_progressbar_horizontal_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_10horizontal___get__(struct PyElementaryProgressbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":329
+ * """
+ * def __get__(self):
+ * return bool(elm_progressbar_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, horizontal):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_progressbar_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Progressbar.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_10horizontal_2__set__(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":331
+ * return bool(elm_progressbar_horizontal_get(self.obj))
+ *
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_progressbar_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar_10horizontal_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":332
+ *
+ * def __set__(self, horizontal):
+ * elm_progressbar_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def inverted_set(self, inverted):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_25inverted_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_24inverted_set[] = "Invert a given progress bar widget's displaying values order.\n\n A progress bar may be B{inverted}, in which state it gets its values\n inverted, with high values being on the left or top and low values\n on the right or bottom, as opposed to normally have the low values\n on the former and high values on the latter, respectively, for\n horizontal and vertical modes.\n\n @see: L{inverted_get()}\n\n @param inverted: Use C{True} to make the object inverted,\n C{False} to bring it back to default, non-inverted values.\n @type inverted: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_25inverted_set(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inverted_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_24inverted_set(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_inverted));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":334
+ * elm_progressbar_horizontal_set(self.obj, horizontal)
+ *
+ * def inverted_set(self, inverted): # <<<<<<<<<<<<<<
+ * """Invert a given progress bar widget's displaying values order.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_24inverted_set(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("inverted_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":350
+ *
+ * """
+ * elm_progressbar_inverted_set(self.obj, inverted) # <<<<<<<<<<<<<<
+ *
+ * def inverted_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inverted); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_inverted_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.inverted_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_27inverted_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_26inverted_get[] = "Get whether a given progress bar widget's displaying values are\n inverted or not.\n\n @see: L{inverted_set()} for more details\n\n @return: C{True}, if the object has inverted values,\n C{False} otherwise (and on errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_27inverted_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("inverted_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_26inverted_get(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":352
+ * elm_progressbar_inverted_set(self.obj, inverted)
+ *
+ * def inverted_get(self): # <<<<<<<<<<<<<<
+ * """Get whether a given progress bar widget's displaying values are
+ * inverted or not.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_26inverted_get(struct PyElementaryProgressbar *__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("inverted_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":363
+ *
+ * """
+ * return bool(elm_progressbar_inverted_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property inverted:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_progressbar_inverted_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Progressbar.inverted_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_8inverted_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_8inverted_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_8inverted___get__(((struct PyElementaryProgressbar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":378
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_progressbar_inverted_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_8inverted___get__(struct PyElementaryProgressbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":379
+ * """
+ * def __get__(self):
+ * return bool(elm_progressbar_inverted_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, inverted):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_progressbar_inverted_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Progressbar.inverted.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_8inverted_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Progressbar_8inverted_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_8inverted_2__set__(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_inverted));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":381
+ * return bool(elm_progressbar_inverted_get(self.obj))
+ *
+ * def __set__(self, inverted): # <<<<<<<<<<<<<<
+ * elm_progressbar_inverted_set(self.obj, inverted)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Progressbar_8inverted_2__set__(struct PyElementaryProgressbar *__pyx_v_self, PyObject *__pyx_v_inverted) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":382
+ *
+ * def __set__(self, inverted):
+ * elm_progressbar_inverted_set(self.obj, inverted) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_inverted); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_progressbar_inverted_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Progressbar.inverted.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_29callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Progressbar_28callback_changed_add[] = "When the value is changed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_29callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[42]; __pyx_lineno = 384; __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[42]; __pyx_lineno = 384; __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("elementary.c_elementary.Progressbar.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Progressbar_28callback_changed_add(((struct PyElementaryProgressbar *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":384
+ * elm_progressbar_inverted_set(self.obj, inverted)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the value is changed."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_28callback_changed_add(struct PyElementaryProgressbar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":386
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """When the value is changed."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 386; __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[42]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Progressbar.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_31callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Progressbar_31callback_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_10elementary_12c_elementary_11Progressbar_30callback_changed_del(((struct PyElementaryProgressbar *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":388
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Progressbar_30callback_changed_del(struct PyElementaryProgressbar *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":389
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("progressbar", Progressbar)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 389; __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[42]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Progressbar.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8MenuItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8MenuItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_menu = 0;
+ struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_parent = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__menu,&__pyx_n_s__parent,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":25
+ * def __init__( self,
+ * evasObject menu,
+ * MenuItem parent = None, # <<<<<<<<<<<<<<
+ * label = None,
+ * icon = None,
+ */
+ values[1] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":26
+ * evasObject menu,
+ * MenuItem parent = None,
+ * label = None, # <<<<<<<<<<<<<<
+ * icon = None,
+ * callback = None,
+ */
+ values[2] = ((PyObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":27
+ * MenuItem parent = None,
+ * label = None,
+ * icon = None, # <<<<<<<<<<<<<<
+ * callback = None,
+ * *args, **kargs):
+ */
+ values[3] = ((PyObject *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":28
+ * label = None,
+ * icon = None,
+ * callback = None, # <<<<<<<<<<<<<<
+ * *args, **kargs):
+ *
+ */
+ 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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__menu);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[4] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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);
+ break;
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_menu = ((struct PyEvasObject *)values[0]);
+ __pyx_v_parent = ((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)values[1]);
+ __pyx_v_label = values[2];
+ __pyx_v_icon = values[3];
+ __pyx_v_callback = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_menu), __pyx_ptype_4evas_6c_evas_Object, 1, "menu", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_10elementary_12c_elementary_MenuItem, 1, "parent", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem___init__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self), __pyx_v_menu, __pyx_v_parent, __pyx_v_label, __pyx_v_icon, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":23
+ * """An item for the L{Menu} widget."""
+ *
+ * def __init__( self, # <<<<<<<<<<<<<<
+ * evasObject menu,
+ * MenuItem parent = None,
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8MenuItem___init__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, struct PyEvasObject *__pyx_v_menu, struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_parent, PyObject *__pyx_v_label, PyObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Elm_Object_Item *__pyx_v_item;
+ Elm_Object_Item *__pyx_v_parent_obj;
+ Evas_Smart_Cb __pyx_v_cb;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Object_Item *__pyx_t_1;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ const char * __pyx_t_6;
+ const char * __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":31
+ * *args, **kargs):
+ *
+ * cdef Elm_Object_Item *item, *parent_obj = NULL # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ __pyx_v_parent_obj = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":32
+ *
+ * cdef Elm_Object_Item *item, *parent_obj = NULL
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * parent_obj = parent.item if parent is not None else NULL
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":34
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * parent_obj = parent.item if parent is not None else NULL # <<<<<<<<<<<<<<
+ *
+ * if callback is not None:
+ */
+ __pyx_t_2 = (((PyObject *)__pyx_v_parent) != Py_None);
+ if (__pyx_t_2) {
+ __pyx_t_1 = __pyx_v_parent->__pyx_base.item;
+ } else {
+ __pyx_t_1 = NULL;
+ }
+ __pyx_v_parent_obj = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":36
+ * parent_obj = parent.item if parent is not None else NULL
+ *
+ * if callback is not None: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_2 = (__pyx_v_callback != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":37
+ *
+ * if callback is not None:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_5 = (!__pyx_t_2);
+ if (__pyx_t_5) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":38
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_4 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_175), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ {__pyx_filename = __pyx_f[4]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":39
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":41
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ * item = elm_menu_item_add( menu.obj,
+ * parent_obj,
+ */
+ __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_4, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_4));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":44
+ * item = elm_menu_item_add( menu.obj,
+ * parent_obj,
+ * _cfruni(icon) if icon is not None else NULL, # <<<<<<<<<<<<<<
+ * _cfruni(label) if label is not None else NULL,
+ * cb,
+ */
+ __pyx_t_5 = (__pyx_v_icon != Py_None);
+ if (__pyx_t_5) {
+ __pyx_t_6 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon);
+ } else {
+ __pyx_t_6 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":45
+ * parent_obj,
+ * _cfruni(icon) if icon is not None else NULL,
+ * _cfruni(label) if label is not None else NULL, # <<<<<<<<<<<<<<
+ * cb,
+ * <void*>self)
+ */
+ __pyx_t_5 = (__pyx_v_label != Py_None);
+ if (__pyx_t_5) {
+ __pyx_t_7 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label);
+ } else {
+ __pyx_t_7 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":47
+ * _cfruni(label) if label is not None else NULL,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_menu_item_add(__pyx_v_menu->obj, __pyx_v_parent_obj, __pyx_t_6, __pyx_t_7, __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":49
+ * <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_5 = (__pyx_v_item != NULL);
+ if (__pyx_t_5) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":50
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_8 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_MenuItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_8 == 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":52
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def object_get(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L5:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_3object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_2object_get[] = "Get the Evas_Object of an Elm_Object_Item\n\n @warning: Don't manipulate this object!\n\n @return: The edje object containing the swallowed content\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_3object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_2object_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":54
+ * Py_DECREF(self)
+ *
+ * def object_get(self): # <<<<<<<<<<<<<<
+ * """Get the Evas_Object of an Elm_Object_Item
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_2object_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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("object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":62
+ *
+ * """
+ * return Object_from_instance(elm_menu_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def icon_name_set(self, icon):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_menu_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_5icon_name_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_4icon_name_set[] = "Set the icon of a menu item to the standard icon with name C{icon}\n\n Once this icon is set, any previously set icon will be deleted.\n\n @param icon: The name of icon object to set for the content of item\n @type icon: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_5icon_name_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_name_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_4icon_name_set(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self), ((PyObject *)__pyx_v_icon));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":64
+ * return Object_from_instance(elm_menu_item_object_get(self.item))
+ *
+ * def icon_name_set(self, icon): # <<<<<<<<<<<<<<
+ * """Set the icon of a menu item to the standard icon with name C{icon}
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_4icon_name_set(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_icon) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_name_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":73
+ *
+ * """
+ * elm_menu_item_icon_name_set(self.item, _cfruni(icon)) # <<<<<<<<<<<<<<
+ *
+ * def icon_name_get(self):
+ */
+ elm_menu_item_icon_name_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_7icon_name_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_6icon_name_get[] = "Get the string representation from the icon of a menu item\n\n @see: L{icon_name_set()}\n\n @return: The string representation of item's icon or None\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_7icon_name_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_name_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_6icon_name_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":75
+ * elm_menu_item_icon_name_set(self.item, _cfruni(icon))
+ *
+ * def icon_name_get(self): # <<<<<<<<<<<<<<
+ * """Get the string representation from the icon of a menu item
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_6icon_name_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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("icon_name_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":84
+ *
+ * """
+ * return _ctouni(elm_menu_item_icon_name_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property icon_name:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_menu_item_icon_name_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.icon_name_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_9icon_name_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_9icon_name_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_9icon_name___get__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":94
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_menu_item_icon_name_get(self.item))
+ * def __set__(self, icon):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_9icon_name___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":95
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_menu_item_icon_name_get(self.item)) # <<<<<<<<<<<<<<
+ * def __set__(self, icon):
+ * elm_menu_item_icon_name_set(self.item, _cfruni(icon))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_menu_item_icon_name_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.icon_name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8MenuItem_9icon_name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8MenuItem_9icon_name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_9icon_name_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self), ((PyObject *)__pyx_v_icon));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":96
+ * def __get__(self):
+ * return _ctouni(elm_menu_item_icon_name_get(self.item))
+ * def __set__(self, icon): # <<<<<<<<<<<<<<
+ * elm_menu_item_icon_name_set(self.item, _cfruni(icon))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8MenuItem_9icon_name_2__set__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_icon) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":97
+ * return _ctouni(elm_menu_item_icon_name_get(self.item))
+ * def __set__(self, icon):
+ * elm_menu_item_icon_name_set(self.item, _cfruni(icon)) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ elm_menu_item_icon_name_set(__pyx_v_self->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_icon));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_9selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_8selected_set[] = "Set the selected state of the item.\n\n @param selected: The selected/unselected state of the item\n @type selected: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_9selected_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_10elementary_12c_elementary_8MenuItem_8selected_set(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":99
+ * elm_menu_item_icon_name_set(self.item, _cfruni(icon))
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * """Set the selected state of the item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_8selected_set(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":106
+ *
+ * """
+ * elm_menu_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_menu_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_11selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_10selected_get[] = "Get the selected state of the item.\n\n @see: L{selected_set()}\n\n @return: The selected/unselected state of the item\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_11selected_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_10elementary_12c_elementary_8MenuItem_10selected_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":108
+ * elm_menu_item_selected_set(self.item, selected)
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * """Get the selected state of the item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_10selected_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":117
+ *
+ * """
+ * return elm_menu_item_selected_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_menu_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_8selected___get__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":125
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_menu_item_selected_get(self.item)
+ * def __set__(self, selected):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":126
+ * """
+ * def __get__(self):
+ * return elm_menu_item_selected_get(self.item) # <<<<<<<<<<<<<<
+ * def __set__(self, selected):
+ * elm_menu_item_selected_set(self.item, selected)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_menu_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8MenuItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8MenuItem_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_10elementary_12c_elementary_8MenuItem_8selected_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":127
+ * def __get__(self):
+ * return elm_menu_item_selected_get(self.item)
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * elm_menu_item_selected_set(self.item, selected)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8MenuItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":128
+ * return elm_menu_item_selected_get(self.item)
+ * def __set__(self, selected):
+ * elm_menu_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def is_separator(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_menu_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_13is_separator(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_12is_separator[] = "is_separator()\n\n Returns whether the item is a separator.\n\n @see: L{Menu.item_separator_add()}\n\n @return: If True, the item is a separator\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_13is_separator(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_separator (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_12is_separator(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":130
+ * elm_menu_item_selected_set(self.item, selected)
+ *
+ * def is_separator(self): # <<<<<<<<<<<<<<
+ * """is_separator()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_12is_separator(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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("is_separator", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":141
+ *
+ * """
+ * return False # <<<<<<<<<<<<<<
+ *
+ * def subitems_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.is_separator", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_15subitems_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_14subitems_get[] = "Returns a list of item's subitems.\n\n @return: A tuple of item's subitems\n @rtype: tuple of L{MenuItem}s\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_15subitems_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("subitems_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_14subitems_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":143
+ * return False
+ *
+ * def subitems_get(self): # <<<<<<<<<<<<<<
+ * """Returns a list of item's subitems.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_14subitems_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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("subitems_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":150
+ *
+ * """
+ * return _object_item_list_to_python(elm_menu_item_subitems_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property subitems:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_menu_item_subitems_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.subitems_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_8subitems_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_8subitems_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_8subitems___get__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":158
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_menu_item_subitems_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_8subitems___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":159
+ * """
+ * def __get__(self):
+ * return _object_item_list_to_python(elm_menu_item_subitems_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def index_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_menu_item_subitems_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.subitems.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_17index_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_16index_get[] = "Get the position of a menu item\n\n This function returns the index position of a menu item in a menu.\n For a sub-menu, this number is relative to the first item in the sub-menu.\n\n @note: Index values begin with 0\n\n @return: The item's index\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_17index_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_10elementary_12c_elementary_8MenuItem_16index_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":161
+ * return _object_item_list_to_python(elm_menu_item_subitems_get(self.item))
+ *
+ * def index_get(self): # <<<<<<<<<<<<<<
+ * """Get the position of a menu item
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_16index_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":173
+ *
+ * """
+ * return elm_menu_item_index_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property index:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_menu_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.index_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_5index_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_5index_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_5index___get__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":187
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_menu_item_index_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_5index___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":188
+ * """
+ * def __get__(self):
+ * return elm_menu_item_index_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def next_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_menu_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.index.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_19next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_18next_get[] = "Get the next item in the menu.\n\n @return: The item after it, or None\n @rtype: L{MenuItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_19next_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_10elementary_12c_elementary_8MenuItem_18next_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":190
+ * return elm_menu_item_index_get(self.item)
+ *
+ * def next_get(self): # <<<<<<<<<<<<<<
+ * """Get the next item in the menu.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_18next_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":197
+ *
+ * """
+ * return _object_item_to_python(elm_menu_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.next_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":205
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_menu_item_next_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":206
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_menu_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def prev_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_21prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8MenuItem_20prev_get[] = "Get the previous item in the menu.\n\n @return: The item before it, or None\n @rtype: L{MenuItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_21prev_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_10elementary_12c_elementary_8MenuItem_20prev_get(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":208
+ * return _object_item_to_python(elm_menu_item_next_get(self.item))
+ *
+ * def prev_get(self): # <<<<<<<<<<<<<<
+ * """Get the previous item in the menu.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_20prev_get(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":215
+ *
+ * """
+ * return _object_item_to_python(elm_menu_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.prev_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MenuItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MenuItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":223
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_menu_item_prev_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MenuItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_MenuItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":224
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_menu_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * cdef class MenuSeparatorItem(ObjectItem):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17MenuSeparatorItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17MenuSeparatorItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_menu = 0;
+ struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__menu,&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__menu);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 227; __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_menu = ((struct PyEvasObject *)values[0]);
+ __pyx_v_parent = ((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MenuSeparatorItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_menu), __pyx_ptype_4evas_6c_evas_Object, 1, "menu", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_10elementary_12c_elementary_MenuItem, 1, "parent", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17MenuSeparatorItem___init__(((struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *)__pyx_v_self), __pyx_v_menu, __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":227
+ *
+ * cdef class MenuSeparatorItem(ObjectItem):
+ * def __init__(self, evasObject menu, MenuItem parent): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *parent_obj = NULL
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17MenuSeparatorItem___init__(struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *__pyx_v_self, struct PyEvasObject *__pyx_v_menu, struct __pyx_obj_10elementary_12c_elementary_MenuItem *__pyx_v_parent) {
+ Elm_Object_Item *__pyx_v_parent_obj;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":228
+ * cdef class MenuSeparatorItem(ObjectItem):
+ * def __init__(self, evasObject menu, MenuItem parent):
+ * cdef Elm_Object_Item *parent_obj = NULL # <<<<<<<<<<<<<<
+ *
+ * if parent:
+ */
+ __pyx_v_parent_obj = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":230
+ * cdef Elm_Object_Item *parent_obj = NULL
+ *
+ * if parent: # <<<<<<<<<<<<<<
+ * parent_obj = parent.item
+ * item = elm_menu_item_separator_add(menu.obj, parent_obj)
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_parent)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":231
+ *
+ * if parent:
+ * parent_obj = parent.item # <<<<<<<<<<<<<<
+ * item = elm_menu_item_separator_add(menu.obj, parent_obj)
+ * if not item:
+ */
+ __pyx_v_parent_obj = __pyx_v_parent->__pyx_base.item;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":232
+ * if parent:
+ * parent_obj = parent.item
+ * item = elm_menu_item_separator_add(menu.obj, parent_obj) # <<<<<<<<<<<<<<
+ * if not item:
+ * raise RuntimeError("Error creating separator")
+ */
+ __pyx_v_item = elm_menu_item_separator_add(__pyx_v_menu->obj, __pyx_v_parent_obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":233
+ * parent_obj = parent.item
+ * item = elm_menu_item_separator_add(menu.obj, parent_obj)
+ * if not item: # <<<<<<<<<<<<<<
+ * raise RuntimeError("Error creating separator")
+ *
+ */
+ __pyx_t_1 = (!(__pyx_v_item != 0));
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":234
+ * item = elm_menu_item_separator_add(menu.obj, parent_obj)
+ * if not item:
+ * raise RuntimeError("Error creating separator") # <<<<<<<<<<<<<<
+ *
+ * self._set_obj(item)
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_RuntimeError, ((PyObject *)__pyx_k_tuple_177), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[4]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":236
+ * raise RuntimeError("Error creating separator")
+ *
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ *
+ * def is_separator(self):
+ */
+ __pyx_t_3 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_MenuSeparatorItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_3 == 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuSeparatorItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17MenuSeparatorItem_3is_separator(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_17MenuSeparatorItem_2is_separator[] = "Returns whether the item is a separator.\n\n @see: L{Menu.item_separator_add()}\n\n @return: If True, the item is a separator\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17MenuSeparatorItem_3is_separator(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_separator (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17MenuSeparatorItem_2is_separator(((struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":238
+ * self._set_obj(item)
+ *
+ * def is_separator(self): # <<<<<<<<<<<<<<
+ * """Returns whether the item is a separator.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17MenuSeparatorItem_2is_separator(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *__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("is_separator", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":247
+ *
+ * """
+ * return True # <<<<<<<<<<<<<<
+ *
+ * cdef public class Menu(Object) [object PyElementaryMenu, type PyElementaryMenu_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyBool_FromLong(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MenuSeparatorItem.is_separator", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4Menu_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4Menu_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ PyObject *__pyx_v_obj = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,&__pyx_n_s__obj,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":268
+ * """
+ *
+ * def __init__(self, evasObject parent, obj = None): # <<<<<<<<<<<<<<
+ * if obj is None:
+ * Object.__init__(self, parent.evas)
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (value) { values[1] = 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[4]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_parent = ((struct PyEvasObject *)values[0]);
+ __pyx_v_obj = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu___init__(((struct PyElementaryMenu *)__pyx_v_self), __pyx_v_parent, __pyx_v_obj);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static int __pyx_pf_10elementary_12c_elementary_4Menu___init__(struct PyElementaryMenu *__pyx_v_self, struct PyEvasObject *__pyx_v_parent, PyObject *__pyx_v_obj) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":269
+ *
+ * def __init__(self, evasObject parent, obj = None):
+ * if obj is None: # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_menu_add(parent.obj))
+ */
+ __pyx_t_1 = (__pyx_v_obj == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":270
+ * def __init__(self, evasObject parent, obj = None):
+ * if obj is None:
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_menu_add(parent.obj))
+ * else:
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 270; __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[4]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_4 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":271
+ * if obj is None:
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_menu_add(parent.obj)) # <<<<<<<<<<<<<<
+ * else:
+ * self._set_obj(<Evas_Object*>obj)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Menu *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_menu_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":273
+ * self._set_obj(elm_menu_add(parent.obj))
+ * else:
+ * self._set_obj(<Evas_Object*>obj) # <<<<<<<<<<<<<<
+ *
+ * def parent_set(self, evasObject parent):
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Menu *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), ((Evas_Object *)__pyx_v_obj)); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_3parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_2parent_set[] = "Set the parent for the given menu widget\n\n @param parent: The new parent.\n @type parent: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_3parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_2parent_set(((struct PyElementaryMenu *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":275
+ * self._set_obj(<Evas_Object*>obj)
+ *
+ * def parent_set(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Set the parent for the given menu widget
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_2parent_set(struct PyElementaryMenu *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":282
+ *
+ * """
+ * elm_menu_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def parent_get(self):
+ */
+ elm_menu_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_5parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_4parent_get[] = "Get the parent for the given menu widget\n\n @see: L{parent_set()}\n\n @return: The parent.\n @rtype: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_5parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_4parent_get(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":284
+ * elm_menu_parent_set(self.obj, parent.obj)
+ *
+ * def parent_get(self): # <<<<<<<<<<<<<<
+ * """Get the parent for the given menu widget
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_4parent_get(struct PyElementaryMenu *__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("parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":293
+ *
+ * """
+ * return Object_from_instance(elm_menu_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_menu_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_6parent_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_6parent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_6parent___get__(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":301
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_menu_parent_get(self.obj))
+ * def __set__(self, evasObject parent):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_6parent___get__(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":302
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_menu_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, evasObject parent):
+ * elm_menu_parent_set(self.obj, parent.obj)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_menu_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4Menu_6parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4Menu_6parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_6parent_2__set__(((struct PyElementaryMenu *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":303
+ * def __get__(self):
+ * return Object_from_instance(elm_menu_parent_get(self.obj))
+ * def __set__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * elm_menu_parent_set(self.obj, parent.obj)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4Menu_6parent_2__set__(struct PyElementaryMenu *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":304
+ * return Object_from_instance(elm_menu_parent_get(self.obj))
+ * def __set__(self, evasObject parent):
+ * elm_menu_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def move(self, x, y):
+ */
+ elm_menu_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_7move(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_6move[] = "move(x, y)\n\n Move the menu to a new position\n\n Sets the top-left position of the menu to (C{x},C{y}).\n\n @note: C{x} and C{y} coordinates are relative to parent.\n\n @param x: The new position.\n @type x: Evas_Coord (int)\n @param y: The new position.\n @type y: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_7move(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("move (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("move", 1, 2, 2, 1); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "move") < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 306; __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 = values[0];
+ __pyx_v_y = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("move", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.move", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_6move(((struct PyElementaryMenu *)__pyx_v_self), __pyx_v_x, __pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":306
+ * elm_menu_parent_set(self.obj, parent.obj)
+ *
+ * def move(self, x, y): # <<<<<<<<<<<<<<
+ * """move(x, y)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_6move(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
+ 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("move", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":321
+ *
+ * """
+ * elm_menu_move(self.obj, x, y) # <<<<<<<<<<<<<<
+ *
+ * def close(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_menu_move(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.move", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_9close(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_8close[] = "close()\n\n Close a opened menu\n\n Hides the menu and all it's sub-menus.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_9close(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("close (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_8close(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":323
+ * elm_menu_move(self.obj, x, y)
+ *
+ * def close(self): # <<<<<<<<<<<<<<
+ * """close()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_8close(struct PyElementaryMenu *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("close", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":331
+ *
+ * """
+ * elm_menu_close(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def items_get(self):
+ */
+ elm_menu_close(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_11items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_10items_get[] = "Returns a list of C{item}'s items.\n\n @return: A tuple of C{item}'s items\n @rtype: tuple of L{Object}s\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_11items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_10items_get(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":333
+ * elm_menu_close(self.obj)
+ *
+ * def items_get(self): # <<<<<<<<<<<<<<
+ * """Returns a list of C{item}'s items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_10items_get(struct PyElementaryMenu *__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("items_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":340
+ *
+ * """
+ * return _object_item_list_to_python(elm_menu_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_menu_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_5items___get__(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":348
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_menu_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_5items___get__(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":349
+ * """
+ * def __get__(self):
+ * return _object_item_list_to_python(elm_menu_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_add(self, parent = None, label = None, icon = None, callback = None, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_menu_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_13item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_12item_add[] = "item_add(parent=None, label=None, icon=None, callback=None, *args, **kwargs)\n\n Add an item at the end of the given menu widget\n\n @param parent: The parent menu item (optional)\n @type parent: L{Object}\n @param icon: An icon display on the item. The icon will be destroyed by the menu.\n @type icon: string\n @param label: The label of the item.\n @type label: string\n @param callback: Function called when the user select the item.\n @type callback: function\n\n @return: Returns the new item.\n @rtype: L{MenuItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_13item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_parent = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_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) > 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 NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":351
+ * return _object_item_list_to_python(elm_menu_items_get(self.obj))
+ *
+ * def item_add(self, parent = None, label = None, icon = None, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_add(parent=None, label=None, icon=None, callback=None, *args, **kwargs)
+ *
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((PyObject *)Py_None);
+ 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 (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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, "item_add") < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 351; __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);
+ case 0: break;
+ }
+ }
+ __pyx_v_parent = values[0];
+ __pyx_v_label = values[1];
+ __pyx_v_icon = values[2];
+ __pyx_v_callback = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_12item_add(((struct PyElementaryMenu *)__pyx_v_self), __pyx_v_parent, __pyx_v_label, __pyx_v_icon, __pyx_v_callback, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_12item_add(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_parent, PyObject *__pyx_v_label, PyObject *__pyx_v_icon, PyObject *__pyx_v_callback, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":369
+ *
+ * """
+ * return MenuItem(self, parent, label, icon, callback, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_separator_add(self, parent = None):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_parent);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_parent);
+ __Pyx_GIVEREF(__pyx_v_parent);
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(__pyx_v_icon);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_icon);
+ __Pyx_GIVEREF(__pyx_v_icon);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MenuItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Menu.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_15item_separator_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_14item_separator_add[] = "item_separator_add(parent=None)\n\n Add a separator item to menu under C{parent}.\n\n This item is a L{Separator}.\n\n @param parent: The item to add the separator under\n @type parent: L{Object}\n @return: The created item or None on failure\n @rtype: L{MenuSeparatorItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_15item_separator_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_separator_add (wrapper)", 0);
+ {
+ PyObject* values[1] = {0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":371
+ * return MenuItem(self, parent, label, icon, callback, *args, **kwargs)
+ *
+ * def item_separator_add(self, parent = None): # <<<<<<<<<<<<<<
+ * """item_separator_add(parent=None)
+ *
+ */
+ values[0] = ((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 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__parent);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_separator_add") < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 371; __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_parent = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_separator_add", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[4]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.item_separator_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_14item_separator_add(((struct PyElementaryMenu *)__pyx_v_self), __pyx_v_parent);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_14item_separator_add(struct PyElementaryMenu *__pyx_v_self, PyObject *__pyx_v_parent) {
+ 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("item_separator_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":384
+ *
+ * """
+ * return MenuSeparatorItem(self, parent) # <<<<<<<<<<<<<<
+ *
+ * def selected_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_parent);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_parent);
+ __Pyx_GIVEREF(__pyx_v_parent);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MenuSeparatorItem)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Menu.item_separator_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_17selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_16selected_item_get[] = "Get the selected item in the menu\n\n @see: L{MenuItem.selected_get()}\n @see: L{MenuItem.selected_set()}\n\n @return: The selected item, or None\n @rtype: L{MenuItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_17selected_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_10elementary_12c_elementary_4Menu_16selected_item_get(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":386
+ * return MenuSeparatorItem(self, parent)
+ *
+ * def selected_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the selected item in the menu
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_16selected_item_get(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":396
+ *
+ * """
+ * return _object_item_to_python(elm_menu_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_13selected_item___get__(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":406
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_menu_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_13selected_item___get__(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":407
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_menu_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def last_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_19last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_18last_item_get[] = "Get the last item in the menu\n\n @return: The last item, or None\n @rtype: L{MenuItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_19last_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_10elementary_12c_elementary_4Menu_18last_item_get(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":409
+ * return _object_item_to_python(elm_menu_selected_item_get(self.obj))
+ *
+ * def last_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the last item in the menu
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_18last_item_get(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":416
+ *
+ * """
+ * return _object_item_to_python(elm_menu_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.last_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_9last_item___get__(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":424
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_menu_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_9last_item___get__(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":425
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_menu_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def first_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_21first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_20first_item_get[] = "Get the first item in the menu\n\n @return: The first item, or None\n @rtype: MenuItem\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_21first_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_10elementary_12c_elementary_4Menu_20first_item_get(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":427
+ * return _object_item_to_python(elm_menu_last_item_get(self.obj))
+ *
+ * def first_item_get(self): # <<<<<<<<<<<<<<
+ * """Get the first item in the menu
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_20first_item_get(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":434
+ *
+ * """
+ * return _object_item_to_python(elm_menu_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.first_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_10first_item___get__(((struct PyElementaryMenu *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":442
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_menu_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_10first_item___get__(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":443
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_menu_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_menu_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 443; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Menu.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_23callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Menu_22callback_clicked_add[] = "The user clicked the empty space in the menu to dismiss.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_23callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[4]; __pyx_lineno = 445; __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[4]; __pyx_lineno = 445; __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("elementary.c_elementary.Menu.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Menu_22callback_clicked_add(((struct PyElementaryMenu *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":445
+ * return _object_item_to_python(elm_menu_first_item_get(self.obj))
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The user clicked the empty space in the menu to dismiss."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_22callback_clicked_add(struct PyElementaryMenu *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":447
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The user clicked the empty space in the menu to dismiss."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 447; __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[4]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Menu.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_25callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Menu_25callback_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_10elementary_12c_elementary_4Menu_24callback_clicked_del(((struct PyElementaryMenu *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":449
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Menu_24callback_clicked_del(struct PyElementaryMenu *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":450
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("menu", Menu)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 450; __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[4]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 450; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Menu.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panel_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panel_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 36; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[43]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel___init__(((struct PyElementaryPanel *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":36
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_panel_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panel___init__(struct PyElementaryPanel *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":37
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_panel_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 37; __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[43]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":38
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_panel_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def orient_set(self, orient):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Panel *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_panel_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Panel.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_3orient_set(PyObject *__pyx_v_self, PyObject *__pyx_v_orient); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panel_2orient_set[] = "Sets the orientation of the panel\n\n Sets from where the panel will (dis)appear.\n\n @param orient: The panel orientation.\n @type orient: Elm_Panel_Orient\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_3orient_set(PyObject *__pyx_v_self, PyObject *__pyx_v_orient) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_2orient_set(((struct PyElementaryPanel *)__pyx_v_self), ((PyObject *)__pyx_v_orient));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":40
+ * self._set_obj(elm_panel_add(parent.obj))
+ *
+ * def orient_set(self, orient): # <<<<<<<<<<<<<<
+ * """Sets the orientation of the panel
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_2orient_set(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_orient) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Panel_Orient __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("orient_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":49
+ *
+ * """
+ * elm_panel_orient_set(self.obj, orient) # <<<<<<<<<<<<<<
+ *
+ * def orient_get(self):
+ */
+ __pyx_t_1 = ((Elm_Panel_Orient)PyInt_AsLong(__pyx_v_orient)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panel_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.orient_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_5orient_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panel_4orient_get[] = "Get the orientation of the panel.\n\n @return: The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.\n @rtype: Elm_Panel_Orient\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_5orient_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("orient_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_4orient_get(((struct PyElementaryPanel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":51
+ * elm_panel_orient_set(self.obj, orient)
+ *
+ * def orient_get(self): # <<<<<<<<<<<<<<
+ * """Get the orientation of the panel.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_4orient_get(struct PyElementaryPanel *__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("orient_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":58
+ *
+ * """
+ * return elm_panel_orient_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property orient:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_panel_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.orient_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panel_6orient_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orient); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panel_6orient_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orient) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_6orient___set__(((struct PyElementaryPanel *)__pyx_v_self), ((PyObject *)__pyx_v_orient));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":70
+ *
+ * """
+ * def __set__(self, orient): # <<<<<<<<<<<<<<
+ * elm_panel_orient_set(self.obj, orient)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panel_6orient___set__(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_orient) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Panel_Orient __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":71
+ * """
+ * def __set__(self, orient):
+ * elm_panel_orient_set(self.obj, orient) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_panel_orient_get(self.obj)
+ */
+ __pyx_t_1 = ((Elm_Panel_Orient)PyInt_AsLong(__pyx_v_orient)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panel_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.orient.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_6orient_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_6orient_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_6orient_2__get__(((struct PyElementaryPanel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":72
+ * def __set__(self, orient):
+ * elm_panel_orient_set(self.obj, orient)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_panel_orient_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_6orient_2__get__(struct PyElementaryPanel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":73
+ * elm_panel_orient_set(self.obj, orient)
+ * def __get__(self):
+ * return elm_panel_orient_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def hidden_set(self, hidden):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_panel_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[43]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.orient.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_7hidden_set(PyObject *__pyx_v_self, PyObject *__pyx_v_hidden); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panel_6hidden_set[] = "Set the hidden state of the panel.\n\n @param hidden: If True, the panel will run the animation to disappear.\n @type hidden: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_7hidden_set(PyObject *__pyx_v_self, PyObject *__pyx_v_hidden) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hidden_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_6hidden_set(((struct PyElementaryPanel *)__pyx_v_self), ((PyObject *)__pyx_v_hidden));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":75
+ * return elm_panel_orient_get(self.obj)
+ *
+ * def hidden_set(self, hidden): # <<<<<<<<<<<<<<
+ * """Set the hidden state of the panel.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_6hidden_set(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_hidden) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Panel_Orient __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("hidden_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":82
+ *
+ * """
+ * elm_panel_orient_set(self.obj, hidden) # <<<<<<<<<<<<<<
+ *
+ * def hidden_get(self):
+ */
+ __pyx_t_1 = ((Elm_Panel_Orient)PyInt_AsLong(__pyx_v_hidden)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panel_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.hidden_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_9hidden_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panel_8hidden_get[] = "Get the hidden state of the panel.\n\n @return: True if it is hidden state\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_9hidden_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hidden_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_8hidden_get(((struct PyElementaryPanel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":84
+ * elm_panel_orient_set(self.obj, hidden)
+ *
+ * def hidden_get(self): # <<<<<<<<<<<<<<
+ * """Get the hidden state of the panel.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_8hidden_get(struct PyElementaryPanel *__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("hidden_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":90
+ *
+ * """
+ * return elm_panel_hidden_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property hidden:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_panel_hidden_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.hidden_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panel_6hidden_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_hidden); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panel_6hidden_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_hidden) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_6hidden___set__(((struct PyElementaryPanel *)__pyx_v_self), ((PyObject *)__pyx_v_hidden));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":98
+ *
+ * """
+ * def __set__(self, hidden): # <<<<<<<<<<<<<<
+ * elm_panel_hidden_set(self.obj, hidden)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panel_6hidden___set__(struct PyElementaryPanel *__pyx_v_self, PyObject *__pyx_v_hidden) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":99
+ * """
+ * def __set__(self, hidden):
+ * elm_panel_hidden_set(self.obj, hidden) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_panel_hidden_get(self.obj)
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_hidden); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panel_hidden_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.hidden.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_6hidden_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_6hidden_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_6hidden_2__get__(((struct PyElementaryPanel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":100
+ * def __set__(self, hidden):
+ * elm_panel_hidden_set(self.obj, hidden)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_panel_hidden_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_6hidden_2__get__(struct PyElementaryPanel *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":101
+ * elm_panel_hidden_set(self.obj, hidden)
+ * def __get__(self):
+ * return elm_panel_hidden_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def toggle(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_panel_hidden_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Panel.hidden.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_11toggle(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panel_10toggle[] = "toggle()\n\n Toggle the hidden state of the panel from code.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panel_11toggle(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("toggle (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panel_10toggle(((struct PyElementaryPanel *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":103
+ * return elm_panel_hidden_get(self.obj)
+ *
+ * def toggle(self): # <<<<<<<<<<<<<<
+ * """toggle()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panel_10toggle(struct PyElementaryPanel *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("toggle", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":109
+ *
+ * """
+ * elm_panel_toggle(self.obj) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("panel", Panel)
+ */
+ elm_panel_toggle(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_79_web_double_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+ static PyMethodDef __pyx_mdef_10elementary_12c_elementary_79_web_double_conv = {__Pyx_NAMESTR("_web_double_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_79_web_double_conv, METH_O, __Pyx_DOCSTR(0)};
+ static PyObject *__pyx_pw_10elementary_12c_elementary_79_web_double_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_web_double_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._web_double_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_78_web_double_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":20
+ * #
+ *
+ * def _web_double_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef double *info = <double *>addr
+ * if info == NULL:
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_78_web_double_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr) {
+ double *__pyx_v_info;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_web_double_conv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":21
+ *
+ * def _web_double_conv(long addr):
+ * cdef double *info = <double *>addr # <<<<<<<<<<<<<<
+ * if info == NULL:
+ * return None
+ */
+ __pyx_v_info = ((double *)__pyx_v_addr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":22
+ * def _web_double_conv(long addr):
+ * cdef double *info = <double *>addr
+ * if info == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * return info[0]
+ */
+ __pyx_t_1 = (__pyx_v_info == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":23
+ * cdef double *info = <double *>addr
+ * if info == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * return info[0]
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":24
+ * if info == NULL:
+ * return None
+ * return info[0] # <<<<<<<<<<<<<<
+ *
+ * def _web_load_frame_error_conv(long addr):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyFloat_FromDouble((__pyx_v_info[0])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary._web_double_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_81_web_load_frame_error_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+ static PyMethodDef __pyx_mdef_10elementary_12c_elementary_81_web_load_frame_error_conv = {__Pyx_NAMESTR("_web_load_frame_error_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_81_web_load_frame_error_conv, METH_O, __Pyx_DOCSTR(0)};
+ static PyObject *__pyx_pw_10elementary_12c_elementary_81_web_load_frame_error_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_web_load_frame_error_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._web_load_frame_error_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_80_web_load_frame_error_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":26
+ * return info[0]
+ *
+ * def _web_load_frame_error_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr
+ * if err == NULL:
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_80_web_load_frame_error_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr) {
+ Elm_Web_Frame_Load_Error *__pyx_v_err;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("_web_load_frame_error_conv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":27
+ *
+ * def _web_load_frame_error_conv(long addr):
+ * cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr # <<<<<<<<<<<<<<
+ * if err == NULL:
+ * return None
+ */
+ __pyx_v_err = ((Elm_Web_Frame_Load_Error *)__pyx_v_addr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":28
+ * def _web_load_frame_error_conv(long addr):
+ * cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr
+ * if err == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * ret = {
+ */
+ __pyx_t_1 = (__pyx_v_err == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":29
+ * cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr
+ * if err == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * ret = {
+ * "code": err.code,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":30
+ * if err == NULL:
+ * return None
+ * ret = { # <<<<<<<<<<<<<<
+ * "code": err.code,
+ * "is_cancellation": bool(err.is_cancellation),
+ */
+ __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":31
+ * return None
+ * ret = {
+ * "code": err.code, # <<<<<<<<<<<<<<
+ * "is_cancellation": bool(err.is_cancellation),
+ * }
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_err->code); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__code), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":32
+ * ret = {
+ * "code": err.code,
+ * "is_cancellation": bool(err.is_cancellation), # <<<<<<<<<<<<<<
+ * }
+ * if err.domain:
+ */
+ __pyx_t_3 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_err->is_cancellation); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 32; __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 = 0;
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__is_cancellation), __pyx_t_3) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_ret = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":34
+ * "is_cancellation": bool(err.is_cancellation),
+ * }
+ * if err.domain: # <<<<<<<<<<<<<<
+ * ret["domain"] = err.domain
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_err->domain != 0);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":35
+ * }
+ * if err.domain:
+ * ret["domain"] = err.domain # <<<<<<<<<<<<<<
+ * else:
+ * ret["domain"] = None
+ */
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_err->domain); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__domain), ((PyObject *)__pyx_t_2)) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":37
+ * ret["domain"] = err.domain
+ * else:
+ * ret["domain"] = None # <<<<<<<<<<<<<<
+ *
+ * if err.description:
+ */
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__domain), Py_None) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":39
+ * ret["domain"] = None
+ *
+ * if err.description: # <<<<<<<<<<<<<<
+ * ret["description"] = err.description
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_err->description != 0);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":40
+ *
+ * if err.description:
+ * ret["description"] = err.description # <<<<<<<<<<<<<<
+ * else:
+ * ret["description"] = None
+ */
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_err->description); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__description), ((PyObject *)__pyx_t_2)) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":42
+ * ret["description"] = err.description
+ * else:
+ * ret["description"] = None # <<<<<<<<<<<<<<
+ *
+ * if err.failing_url:
+ */
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__description), Py_None) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":44
+ * ret["description"] = None
+ *
+ * if err.failing_url: # <<<<<<<<<<<<<<
+ * ret["failing_url"] = err.failing_url
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_err->failing_url != 0);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":45
+ *
+ * if err.failing_url:
+ * ret["failing_url"] = err.failing_url # <<<<<<<<<<<<<<
+ * else:
+ * ret["failing_url"] = None
+ */
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_err->failing_url); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__failing_url), ((PyObject *)__pyx_t_2)) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ goto __pyx_L6;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":47
+ * ret["failing_url"] = err.failing_url
+ * else:
+ * ret["failing_url"] = None # <<<<<<<<<<<<<<
+ *
+ * if err.frame:
+ */
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__failing_url), Py_None) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":49
+ * ret["failing_url"] = None
+ *
+ * if err.frame: # <<<<<<<<<<<<<<
+ * ret["frame"] = Object_from_instance(err.frame)
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_err->frame != 0);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":50
+ *
+ * if err.frame:
+ * ret["frame"] = Object_from_instance(err.frame) # <<<<<<<<<<<<<<
+ * else:
+ * ret["frame"] = None
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_err->frame)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__frame), __pyx_t_2) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ goto __pyx_L7;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":52
+ * ret["frame"] = Object_from_instance(err.frame)
+ * else:
+ * ret["frame"] = None # <<<<<<<<<<<<<<
+ *
+ * return ret
+ */
+ if (PyDict_SetItem(((PyObject *)__pyx_v_ret), ((PyObject *)__pyx_n_s__frame), Py_None) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L7:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":54
+ * ret["frame"] = None
+ *
+ * return ret # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary._web_load_frame_error_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_83_web_link_hover_in_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr); /*proto*/
+ static PyMethodDef __pyx_mdef_10elementary_12c_elementary_83_web_link_hover_in_conv = {__Pyx_NAMESTR("_web_link_hover_in_conv"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_83_web_link_hover_in_conv, METH_O, __Pyx_DOCSTR(0)};
+ static PyObject *__pyx_pw_10elementary_12c_elementary_83_web_link_hover_in_conv(PyObject *__pyx_self, PyObject *__pyx_arg_addr) {
+ long __pyx_v_addr;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("_web_link_hover_in_conv (wrapper)", 0);
+ __pyx_self = __pyx_self;
+ assert(__pyx_arg_addr); {
+ __pyx_v_addr = __Pyx_PyInt_AsLong(__pyx_arg_addr); if (unlikely((__pyx_v_addr == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary._web_link_hover_in_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_82_web_link_hover_in_conv(__pyx_self, ((long)__pyx_v_addr));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":57
+ *
+ *
+ * def _web_link_hover_in_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef char **info = <char **>addr
+ * if info == NULL:
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_82_web_link_hover_in_conv(CYTHON_UNUSED PyObject *__pyx_self, long __pyx_v_addr) {
+ char **__pyx_v_info;
+ PyObject *__pyx_v_url = NULL;
+ PyObject *__pyx_v_title = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_web_link_hover_in_conv", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":58
+ *
+ * def _web_link_hover_in_conv(long addr):
+ * cdef char **info = <char **>addr # <<<<<<<<<<<<<<
+ * if info == NULL:
+ * url = title = None
+ */
+ __pyx_v_info = ((char **)__pyx_v_addr);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":59
+ * def _web_link_hover_in_conv(long addr):
+ * cdef char **info = <char **>addr
+ * if info == NULL: # <<<<<<<<<<<<<<
+ * url = title = None
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_info == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":60
+ * cdef char **info = <char **>addr
+ * if info == NULL:
+ * url = title = None # <<<<<<<<<<<<<<
+ * else:
+ * if info[0] == NULL:
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_url = Py_None;
+ __Pyx_INCREF(Py_None);
+ __pyx_v_title = Py_None;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":62
+ * url = title = None
+ * else:
+ * if info[0] == NULL: # <<<<<<<<<<<<<<
+ * url = None
+ * else:
+ */
+ __pyx_t_1 = ((__pyx_v_info[0]) == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":63
+ * else:
+ * if info[0] == NULL:
+ * url = None # <<<<<<<<<<<<<<
+ * else:
+ * url = info[0]
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_url = Py_None;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":65
+ * url = None
+ * else:
+ * url = info[0] # <<<<<<<<<<<<<<
+ *
+ * if info[1] == NULL:
+ */
+ __pyx_t_2 = PyBytes_FromString((__pyx_v_info[0])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_v_url = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":67
+ * url = info[0]
+ *
+ * if info[1] == NULL: # <<<<<<<<<<<<<<
+ * title = None
+ * else:
+ */
+ __pyx_t_1 = ((__pyx_v_info[1]) == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":68
+ *
+ * if info[1] == NULL:
+ * title = None # <<<<<<<<<<<<<<
+ * else:
+ * title = info[1]
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_title = Py_None;
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":70
+ * title = None
+ * else:
+ * title = info[1] # <<<<<<<<<<<<<<
+ * return (url, title)
+ *
+ */
+ __pyx_t_2 = PyBytes_FromString((__pyx_v_info[1])); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_v_title = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ }
+ __pyx_L5:;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":71
+ * else:
+ * title = info[1]
+ * return (url, title) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_url);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_url);
+ __Pyx_GIVEREF(__pyx_v_url);
+ __Pyx_INCREF(__pyx_v_title);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_title);
+ __Pyx_GIVEREF(__pyx_v_title);
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary._web_link_hover_in_conv", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_url);
+ __Pyx_XDECREF(__pyx_v_title);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":74
+ *
+ *
+ * cdef void _web_console_message_hook(void *data, Evas_Object *obj, const_char_ptr message, unsigned int line_number, const_char_ptr source_id) with gil: # <<<<<<<<<<<<<<
+ * cdef Web self = <Web>data
+ *
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__web_console_message_hook(void *__pyx_v_data, CYTHON_UNUSED Evas_Object *__pyx_v_obj, const char * __pyx_v_message, unsigned int __pyx_v_line_number, const char * __pyx_v_source_id) {
+ struct PyElementaryWeb *__pyx_v_self = 0;
+ PyObject *__pyx_v_m = NULL;
+ PyObject *__pyx_v_s = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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_t_7;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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("_web_console_message_hook", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":75
+ *
+ * cdef void _web_console_message_hook(void *data, Evas_Object *obj, const_char_ptr message, unsigned int line_number, const_char_ptr source_id) with gil:
+ * cdef Web self = <Web>data # <<<<<<<<<<<<<<
+ *
+ * if message == NULL:
+ */
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryWeb *)__pyx_v_data)));
+ __pyx_v_self = ((struct PyElementaryWeb *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":77
+ * cdef Web self = <Web>data
+ *
+ * if message == NULL: # <<<<<<<<<<<<<<
+ * m = None
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_message == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":78
+ *
+ * if message == NULL:
+ * m = None # <<<<<<<<<<<<<<
+ * else:
+ * m = message
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_m = Py_None;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":80
+ * m = None
+ * else:
+ * m = message # <<<<<<<<<<<<<<
+ *
+ * if source_id == NULL:
+ */
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_message); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_v_m = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":82
+ * m = message
+ *
+ * if source_id == NULL: # <<<<<<<<<<<<<<
+ * s = None
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_source_id == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":83
+ *
+ * if source_id == NULL:
+ * s = None # <<<<<<<<<<<<<<
+ * else:
+ * s = source_id
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_s = Py_None;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":85
+ * s = None
+ * else:
+ * s = source_id # <<<<<<<<<<<<<<
+ *
+ * try:
+ */
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_source_id); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_v_s = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":87
+ * s = source_id
+ *
+ * try: # <<<<<<<<<<<<<<
+ * self._console_message_hook(self, m, line_number, s)
+ * except Exception, e:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_5);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":88
+ *
+ * try:
+ * self._console_message_hook(self, m, line_number, s) # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_t_2 = PyLong_FromUnsignedLong(__pyx_v_line_number); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_m);
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_m);
+ __Pyx_GIVEREF(__pyx_v_m);
+ PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_s);
+ PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_v_s);
+ __Pyx_GIVEREF(__pyx_v_s);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_v_self->_console_message_hook, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ }
+ __Pyx_XDECREF(__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;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":89
+ * try:
+ * self._console_message_hook(self, m, line_number, s)
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._web_console_message_hook", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":90
+ * self._console_message_hook(self, m, line_number, s)
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef public class Web(Object) [object PyElementaryWeb, type PyElementaryWeb_Type]:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ __pyx_L12_try_end:;
+ }
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._web_console_message_hook", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_self);
+ __Pyx_XDECREF(__pyx_v_m);
+ __Pyx_XDECREF(__pyx_v_s);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Web_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Web_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 95; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Web.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web___init__(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":95
+ * cdef object _console_message_hook
+ *
+ * def __init__(self,evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_web_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Web___init__(struct PyElementaryWeb *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":96
+ *
+ * def __init__(self,evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_web_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 96; __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[44]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":97
+ * def __init__(self,evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_web_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * # XXX TODO: complete all callbacks from elm_web.h
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Web *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_web_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Web.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_3callback_uri_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_3callback_uri_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_uri_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_uri_changed_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 100; __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_uri_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 100; __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("elementary.c_elementary.Web.callback_uri_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_2callback_uri_changed_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":100
+ *
+ * # XXX TODO: complete all callbacks from elm_web.h
+ * def callback_uri_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("uri,changed", _cb_string_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_2callback_uri_changed_add(struct PyElementaryWeb *__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_uri_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":101
+ * # XXX TODO: complete all callbacks from elm_web.h
+ * def callback_uri_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("uri,changed", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":102
+ * def callback_uri_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("uri,changed", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_uri_changed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_178));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_178));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_178));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":101
+ * # XXX TODO: complete all callbacks from elm_web.h
+ * def callback_uri_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("uri,changed", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":102
+ * def callback_uri_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("uri,changed", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_uri_changed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.callback_uri_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_5callback_uri_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_5callback_uri_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_uri_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_4callback_uri_changed_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":104
+ * func, *args, **kwargs)
+ *
+ * def callback_uri_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("uri,changed", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_4callback_uri_changed_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_uri_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":105
+ *
+ * def callback_uri_changed_del(self, func):
+ * self._callback_del_full("uri,changed", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_title_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 105; __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[44]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_178));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_178));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_178));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_uri_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_7callback_title_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_7callback_title_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_title_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_title_changed_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 107; __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_title_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 107; __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("elementary.c_elementary.Web.callback_title_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_6callback_title_changed_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":107
+ * self._callback_del_full("uri,changed", _cb_string_conv, func)
+ *
+ * def callback_title_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("title,changed", _cb_string_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_6callback_title_changed_add(struct PyElementaryWeb *__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_title_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":108
+ *
+ * def callback_title_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("title,changed", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":109
+ * def callback_title_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("title,changed", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_title_changed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_179));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_179));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_179));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":108
+ *
+ * def callback_title_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("title,changed", _cb_string_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":109
+ * def callback_title_changed_add(self, func, *args, **kwargs):
+ * self._callback_add_full("title,changed", _cb_string_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_title_changed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.callback_title_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_9callback_title_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_9callback_title_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_title_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_8callback_title_changed_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":111
+ * func, *args, **kwargs)
+ *
+ * def callback_title_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("title,changed", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_8callback_title_changed_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_title_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":112
+ *
+ * def callback_title_changed_del(self, func):
+ * self._callback_del_full("title,changed", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_link_hover_in_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 112; __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[44]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_179));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_179));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_179));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_title_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_11callback_link_hover_in_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_11callback_link_hover_in_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_link_hover_in_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_link_hover_in_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 114; __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_link_hover_in_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 114; __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("elementary.c_elementary.Web.callback_link_hover_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_10callback_link_hover_in_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":114
+ * self._callback_del_full("title,changed", _cb_string_conv, func)
+ *
+ * def callback_link_hover_in_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("link,hover,in", _web_link_hover_in_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_10callback_link_hover_in_add(struct PyElementaryWeb *__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_link_hover_in_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":115
+ *
+ * def callback_link_hover_in_add(self, func, *args, **kwargs):
+ * self._callback_add_full("link,hover,in", _web_link_hover_in_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_181); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":116
+ * def callback_link_hover_in_add(self, func, *args, **kwargs):
+ * self._callback_add_full("link,hover,in", _web_link_hover_in_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_link_hover_in_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_180));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_180));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_180));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":115
+ *
+ * def callback_link_hover_in_add(self, func, *args, **kwargs):
+ * self._callback_add_full("link,hover,in", _web_link_hover_in_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":116
+ * def callback_link_hover_in_add(self, func, *args, **kwargs):
+ * self._callback_add_full("link,hover,in", _web_link_hover_in_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_link_hover_in_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.callback_link_hover_in_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_13callback_link_hover_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_13callback_link_hover_in_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_link_hover_in_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_12callback_link_hover_in_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":118
+ * func, *args, **kwargs)
+ *
+ * def callback_link_hover_in_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("link,hover,in", _web_link_hover_in_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_12callback_link_hover_in_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_link_hover_in_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":119
+ *
+ * def callback_link_hover_in_del(self, func):
+ * self._callback_del_full("link,hover,in", _web_link_hover_in_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_link_hover_out_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_181); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 119; __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[44]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_180));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_180));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_180));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_link_hover_in_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_15callback_link_hover_out_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_15callback_link_hover_out_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_link_hover_out_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_link_hover_out_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 121; __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_link_hover_out_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 121; __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("elementary.c_elementary.Web.callback_link_hover_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_14callback_link_hover_out_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":121
+ * self._callback_del_full("link,hover,in", _web_link_hover_in_conv, func)
+ *
+ * def callback_link_hover_out_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("link,hover,out", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_14callback_link_hover_out_add(struct PyElementaryWeb *__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_link_hover_out_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":122
+ *
+ * def callback_link_hover_out_add(self, func, *args, **kwargs):
+ * self._callback_add("link,hover,out", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_link_hover_out_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 122; __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[44]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_182));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_182));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_182));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Web.callback_link_hover_out_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_17callback_link_hover_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_17callback_link_hover_out_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_link_hover_out_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_16callback_link_hover_out_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":124
+ * self._callback_add("link,hover,out", func, *args, **kwargs)
+ *
+ * def callback_link_hover_out_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("link,hover,out", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_16callback_link_hover_out_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_link_hover_out_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":125
+ *
+ * def callback_link_hover_out_del(self, func):
+ * self._callback_del("link,hover,out", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 125; __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[44]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_182));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_182));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_182));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_link_hover_out_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_19callback_load_error_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_19callback_load_error_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_error_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_error_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 127; __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_load_error_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 127; __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("elementary.c_elementary.Web.callback_load_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_18callback_load_error_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":127
+ * self._callback_del("link,hover,out", func)
+ *
+ * def callback_load_error_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("load,error", _web_load_frame_error_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_18callback_load_error_add(struct PyElementaryWeb *__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_load_error_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":128
+ *
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,error", _web_load_frame_error_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_184); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":129
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,error", _web_load_frame_error_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_error_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_183));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_183));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_183));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":128
+ *
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,error", _web_load_frame_error_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":129
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,error", _web_load_frame_error_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_error_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.callback_load_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_21callback_load_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_21callback_load_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_error_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_20callback_load_error_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":131
+ * func, *args, **kwargs)
+ *
+ * def callback_load_error_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("load,error", _web_load_frame_error_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_20callback_load_error_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_error_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":132
+ *
+ * def callback_load_error_del(self, func):
+ * self._callback_del_full("load,error", _web_load_frame_error_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_finished_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_184); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 132; __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[44]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_183));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_183));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_183));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_load_error_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_23callback_load_finished_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_23callback_load_finished_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_finished_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_finished_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 134; __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_load_finished_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 134; __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("elementary.c_elementary.Web.callback_load_finished_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_22callback_load_finished_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":134
+ * self._callback_del_full("load,error", _web_load_frame_error_conv, func)
+ *
+ * def callback_load_finished_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("load,finished", _web_load_frame_error_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_22callback_load_finished_add(struct PyElementaryWeb *__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_load_finished_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":135
+ *
+ * def callback_load_finished_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,finished", _web_load_frame_error_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_184); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":136
+ * def callback_load_finished_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,finished", _web_load_frame_error_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_finished_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_185));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_185));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_185));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":135
+ *
+ * def callback_load_finished_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,finished", _web_load_frame_error_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":136
+ * def callback_load_finished_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,finished", _web_load_frame_error_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_finished_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.callback_load_finished_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_25callback_load_finished_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_25callback_load_finished_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_finished_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_24callback_load_finished_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":138
+ * func, *args, **kwargs)
+ *
+ * def callback_load_finished_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("load,finished",
+ * _web_load_frame_error_conv, func)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_24callback_load_finished_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_finished_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":139
+ *
+ * def callback_load_finished_del(self, func):
+ * self._callback_del_full("load,finished", # <<<<<<<<<<<<<<
+ * _web_load_frame_error_conv, func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":140
+ * def callback_load_finished_del(self, func):
+ * self._callback_del_full("load,finished",
+ * _web_load_frame_error_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_progress_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_184); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 140; __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[44]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_185));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_185));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_185));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_load_finished_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_27callback_load_progress_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_27callback_load_progress_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_progress_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_progress_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 142; __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_load_progress_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 142; __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("elementary.c_elementary.Web.callback_load_progress_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_26callback_load_progress_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":142
+ * _web_load_frame_error_conv, func)
+ *
+ * def callback_load_progress_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add_full("load,progress", _web_double_conv,
+ * func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_26callback_load_progress_add(struct PyElementaryWeb *__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_load_progress_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":143
+ *
+ * def callback_load_progress_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,progress", _web_double_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___web_double_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":144
+ * def callback_load_progress_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,progress", _web_double_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_progress_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_186));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_186));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_186));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":143
+ *
+ * def callback_load_progress_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,progress", _web_double_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":144
+ * def callback_load_progress_add(self, func, *args, **kwargs):
+ * self._callback_add_full("load,progress", _web_double_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_progress_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.callback_load_progress_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_29callback_load_progress_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_29callback_load_progress_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_progress_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_28callback_load_progress_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":146
+ * func, *args, **kwargs)
+ *
+ * def callback_load_progress_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("load,progress", _web_double_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_28callback_load_progress_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_progress_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":147
+ *
+ * def callback_load_progress_del(self, func):
+ * self._callback_del_full("load,progress", _web_double_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_provisional_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___web_double_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 147; __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[44]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_186));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_186));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_186));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_load_progress_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_31callback_load_provisional_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_31callback_load_provisional_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_provisional_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_provisional_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 149; __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_load_provisional_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 149; __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("elementary.c_elementary.Web.callback_load_provisional_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_30callback_load_provisional_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":149
+ * self._callback_del_full("load,progress", _web_double_conv, func)
+ *
+ * def callback_load_provisional_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("load,provisional", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_30callback_load_provisional_add(struct PyElementaryWeb *__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_load_provisional_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":150
+ *
+ * def callback_load_provisional_add(self, func, *args, **kwargs):
+ * self._callback_add("load,provisional", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_provisional_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 150; __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[44]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_187));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_187));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_187));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Web.callback_load_provisional_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_33callback_load_provisional_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_33callback_load_provisional_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_provisional_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_32callback_load_provisional_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":152
+ * self._callback_add("load,provisional", func, *args, **kwargs)
+ *
+ * def callback_load_provisional_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("load,provisional", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_32callback_load_provisional_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_provisional_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":153
+ *
+ * def callback_load_provisional_del(self, func):
+ * self._callback_del("load,provisional", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_started_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 153; __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[44]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_187));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_187));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_187));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_load_provisional_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_35callback_load_started_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_35callback_load_started_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_started_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_started_add") < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 155; __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_load_started_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[44]; __pyx_lineno = 155; __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("elementary.c_elementary.Web.callback_load_started_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_34callback_load_started_add(((struct PyElementaryWeb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":155
+ * self._callback_del("load,provisional", func)
+ *
+ * def callback_load_started_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("load,started", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_34callback_load_started_add(struct PyElementaryWeb *__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_load_started_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":156
+ *
+ * def callback_load_started_add(self, func, *args, **kwargs):
+ * self._callback_add("load,started", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_started_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 156; __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[44]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_188));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_188));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_188));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Web.callback_load_started_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_37callback_load_started_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_37callback_load_started_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_started_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_36callback_load_started_del(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":158
+ * self._callback_add("load,started", func, *args, **kwargs)
+ *
+ * def callback_load_started_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("load,started", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_36callback_load_started_del(struct PyElementaryWeb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_started_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":159
+ *
+ * def callback_load_started_del(self, func):
+ * self._callback_del("load,started", func) # <<<<<<<<<<<<<<
+ *
+ * def history_enabled_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 159; __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[44]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_188));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_188));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_188));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.callback_load_started_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_39history_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_39history_enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("history_enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_38history_enabled_get(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":161
+ * self._callback_del("load,started", func)
+ *
+ * def history_enabled_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_web_history_enabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_38history_enabled_get(struct PyElementaryWeb *__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("history_enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":162
+ *
+ * def history_enabled_get(self):
+ * return bool(elm_web_history_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def webkit_view_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_web_history_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.history_enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_41webkit_view_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_41webkit_view_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("webkit_view_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_40webkit_view_get(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":164
+ * return bool(elm_web_history_enabled_get(self.obj))
+ *
+ * def webkit_view_get(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = elm_web_webkit_view_get(self.obj)
+ * return Object_from_instance(obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_40webkit_view_get(struct PyElementaryWeb *__pyx_v_self) {
+ Evas_Object *__pyx_v_obj;
+ 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("webkit_view_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":165
+ *
+ * def webkit_view_get(self):
+ * cdef Evas_Object *obj = elm_web_webkit_view_get(self.obj) # <<<<<<<<<<<<<<
+ * return Object_from_instance(obj)
+ *
+ */
+ __pyx_v_obj = elm_web_webkit_view_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":166
+ * def webkit_view_get(self):
+ * cdef Evas_Object *obj = elm_web_webkit_view_get(self.obj)
+ * return Object_from_instance(obj) # <<<<<<<<<<<<<<
+ *
+ * def uri_set(self, uri):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Web.webkit_view_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_43uri_set(PyObject *__pyx_v_self, PyObject *__pyx_v_uri); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_43uri_set(PyObject *__pyx_v_self, PyObject *__pyx_v_uri) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("uri_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_42uri_set(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_uri));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":168
+ * return Object_from_instance(obj)
+ *
+ * def uri_set(self, uri): # <<<<<<<<<<<<<<
+ * return bool(elm_web_uri_set(self.obj, uri))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_42uri_set(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_uri) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ char *__pyx_t_1;
+ 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("uri_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":169
+ *
+ * def uri_set(self, uri):
+ * return bool(elm_web_uri_set(self.obj, uri)) # <<<<<<<<<<<<<<
+ *
+ * def uri_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_uri); if (unlikely((!__pyx_t_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_web_uri_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 169; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Web.uri_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_45uri_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_45uri_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("uri_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_44uri_get(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":171
+ * return bool(elm_web_uri_set(self.obj, uri))
+ *
+ * def uri_get(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr l
+ * l = elm_web_uri_get(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_44uri_get(struct PyElementaryWeb *__pyx_v_self) {
+ const char * __pyx_v_l;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("uri_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":173
+ * def uri_get(self):
+ * cdef const_char_ptr l
+ * l = elm_web_uri_get(self.obj) # <<<<<<<<<<<<<<
+ * if l == NULL:
+ * return None
+ */
+ __pyx_v_l = elm_web_uri_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":174
+ * cdef const_char_ptr l
+ * l = elm_web_uri_get(self.obj)
+ * if l == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * return l
+ */
+ __pyx_t_1 = (__pyx_v_l == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":175
+ * l = elm_web_uri_get(self.obj)
+ * if l == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * return l
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":176
+ * if l == NULL:
+ * return None
+ * return l # <<<<<<<<<<<<<<
+ *
+ * property uri:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_l); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Web.uri_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_3uri_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_3uri_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_3uri___get__(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":179
+ *
+ * property uri:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.uri_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_3uri___get__(struct PyElementaryWeb *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":180
+ * property uri:
+ * def __get__(self):
+ * return self.uri_get() # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__uri_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 180; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Web.uri.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Web_3uri_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Web_3uri_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_3uri_2__set__(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":182
+ * return self.uri_get()
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.uri_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Web_3uri_2__set__(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":183
+ *
+ * def __set__(self, value):
+ * self.uri_set(value) # <<<<<<<<<<<<<<
+ *
+ * def useragent_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__uri_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Web.uri.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_47useragent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_47useragent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("useragent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_46useragent_get(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":185
+ * self.uri_set(value)
+ *
+ * def useragent_get(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr l
+ * l = elm_web_useragent_get(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_46useragent_get(struct PyElementaryWeb *__pyx_v_self) {
+ const char * __pyx_v_l;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("useragent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":187
+ * def useragent_get(self):
+ * cdef const_char_ptr l
+ * l = elm_web_useragent_get(self.obj) # <<<<<<<<<<<<<<
+ * if l == NULL:
+ * return None
+ */
+ __pyx_v_l = elm_web_useragent_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":188
+ * cdef const_char_ptr l
+ * l = elm_web_useragent_get(self.obj)
+ * if l == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * return l
+ */
+ __pyx_t_1 = (__pyx_v_l == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":189
+ * l = elm_web_useragent_get(self.obj)
+ * if l == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * return l
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":190
+ * if l == NULL:
+ * return None
+ * return l # <<<<<<<<<<<<<<
+ *
+ * def zoom_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_2 = PyBytes_FromString(__pyx_v_l); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Web.useragent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_49zoom_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_49zoom_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_48zoom_get(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":192
+ * return l
+ *
+ * def zoom_get(self): # <<<<<<<<<<<<<<
+ * return elm_web_zoom_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_48zoom_get(struct PyElementaryWeb *__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("zoom_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":193
+ *
+ * def zoom_get(self):
+ * return elm_web_zoom_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def zoom_mode_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_web_zoom_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Web.zoom_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_51zoom_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_51zoom_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_50zoom_mode_get(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":195
+ * return elm_web_zoom_get(self.obj)
+ *
+ * def zoom_mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_web_zoom_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_50zoom_mode_get(struct PyElementaryWeb *__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("zoom_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":196
+ *
+ * def zoom_mode_get(self):
+ * return elm_web_zoom_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def back(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_web_zoom_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Web.zoom_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_53back(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_53back(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("back (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_52back(((struct PyElementaryWeb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":198
+ * return elm_web_zoom_mode_get(self.obj)
+ *
+ * def back(self): # <<<<<<<<<<<<<<
+ * return bool(elm_web_back(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_52back(struct PyElementaryWeb *__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("back", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":199
+ *
+ * def back(self):
+ * return bool(elm_web_back(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def console_message_hook_set(self, func):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_web_back(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Web.back", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_55console_message_hook_set(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Web_55console_message_hook_set(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("console_message_hook_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Web_54console_message_hook_set(((struct PyElementaryWeb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":201
+ * return bool(elm_web_back(self.obj))
+ *
+ * def console_message_hook_set(self, func): # <<<<<<<<<<<<<<
+ * self._console_message_hook = func
+ * if func:
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Web_54console_message_hook_set(struct PyElementaryWeb *__pyx_v_self, PyObject *__pyx_v_func) {
+ 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("console_message_hook_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":202
+ *
+ * def console_message_hook_set(self, func):
+ * self._console_message_hook = func # <<<<<<<<<<<<<<
+ * if func:
+ * elm_web_console_message_hook_set(self.obj,
+ */
+ __Pyx_INCREF(__pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_GOTREF(__pyx_v_self->_console_message_hook);
+ __Pyx_DECREF(__pyx_v_self->_console_message_hook);
+ __pyx_v_self->_console_message_hook = __pyx_v_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":203
+ * def console_message_hook_set(self, func):
+ * self._console_message_hook = func
+ * if func: # <<<<<<<<<<<<<<
+ * elm_web_console_message_hook_set(self.obj,
+ * _web_console_message_hook,
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":206
+ * elm_web_console_message_hook_set(self.obj,
+ * _web_console_message_hook,
+ * <void *>self) # <<<<<<<<<<<<<<
+ * else:
+ * elm_web_console_message_hook_set(self.obj, NULL, NULL)
+ */
+ elm_web_console_message_hook_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__web_console_message_hook, ((void *)__pyx_v_self));
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":208
+ * <void *>self)
+ * else:
+ * elm_web_console_message_hook_set(self.obj, NULL, NULL) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("web", Web)
+ */
+ elm_web_console_message_hook_set(__pyx_v_self->__pyx_base.__pyx_base.obj, NULL, NULL);
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Web.console_message_hook_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 55; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[45]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider___init__(((struct PyElementaryActionslider *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":55
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_actionslider_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Actionslider___init__(struct PyElementaryActionslider *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":56
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_actionslider_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 56; __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[45]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":57
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_actionslider_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def selected_label_get(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Actionslider *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_actionslider_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Actionslider.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_3selected_label_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_2selected_label_get[] = "Get actionslider selected label.\n\n @return: The selected label.\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_3selected_label_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_label_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_2selected_label_get(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":59
+ * self._set_obj(elm_actionslider_add(parent.obj))
+ *
+ * def selected_label_get(self): # <<<<<<<<<<<<<<
+ * """Get actionslider selected label.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_2selected_label_get(struct PyElementaryActionslider *__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_label_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":66
+ *
+ * """
+ * return elm_actionslider_selected_label_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property selected_label:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_actionslider_selected_label_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.selected_label_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_14selected_label_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_14selected_label_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_14selected_label___get__(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":74
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_actionslider_selected_label_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_14selected_label___get__(struct PyElementaryActionslider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":75
+ * """
+ * def __get__(self):
+ * return elm_actionslider_selected_label_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def indicator_pos_set(self, pos):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_actionslider_selected_label_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.selected_label.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_5indicator_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_4indicator_pos_set[] = "Set actionslider indicator position.\n\n @param pos: The position of the indicator.\n @type pos: Elm_Actionslider_Pos\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_5indicator_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_pos_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_4indicator_pos_set(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":77
+ * return elm_actionslider_selected_label_get(self.obj)
+ *
+ * def indicator_pos_set(self, pos): # <<<<<<<<<<<<<<
+ * """Set actionslider indicator position.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_4indicator_pos_set(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Actionslider_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("indicator_pos_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":84
+ *
+ * """
+ * elm_actionslider_indicator_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def indicator_pos_get(self):
+ */
+ __pyx_t_1 = ((Elm_Actionslider_Pos)PyInt_AsLong(__pyx_v_pos)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_actionslider_indicator_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.indicator_pos_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_7indicator_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_6indicator_pos_get[] = "Get actionslider indicator position.\n\n @return: The position of the indicator.\n @rtype: Elm_Actionslider_Pos\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_7indicator_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_pos_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_6indicator_pos_get(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":86
+ * elm_actionslider_indicator_pos_set(self.obj, pos)
+ *
+ * def indicator_pos_get(self): # <<<<<<<<<<<<<<
+ * """Get actionslider indicator position.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_6indicator_pos_get(struct PyElementaryActionslider *__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("indicator_pos_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":93
+ *
+ * """
+ * return elm_actionslider_indicator_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property indicator_pos:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_actionslider_indicator_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.indicator_pos_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_13indicator_pos_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_13indicator_pos_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_13indicator_pos___get__(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":101
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_actionslider_indicator_pos_get(self.obj)
+ * def __set__(self, pos):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_13indicator_pos___get__(struct PyElementaryActionslider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":102
+ * """
+ * def __get__(self):
+ * return elm_actionslider_indicator_pos_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, pos):
+ * elm_actionslider_indicator_pos_set(self.obj, pos)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_actionslider_indicator_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.indicator_pos.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_13indicator_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_13indicator_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_13indicator_pos_2__set__(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":103
+ * def __get__(self):
+ * return elm_actionslider_indicator_pos_get(self.obj)
+ * def __set__(self, pos): # <<<<<<<<<<<<<<
+ * elm_actionslider_indicator_pos_set(self.obj, pos)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Actionslider_13indicator_pos_2__set__(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Actionslider_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":104
+ * return elm_actionslider_indicator_pos_get(self.obj)
+ * def __set__(self, pos):
+ * elm_actionslider_indicator_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def magnet_pos_set(self, pos):
+ */
+ __pyx_t_1 = ((Elm_Actionslider_Pos)PyInt_AsLong(__pyx_v_pos)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_actionslider_indicator_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.indicator_pos.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_9magnet_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_8magnet_pos_set[] = "Set actionslider magnet position. To make multiple positions\n magnets C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |\n ELM_ACTIONSLIDER_RIGHT})\n\n @param pos: Bit mask indicating the magnet positions.\n @type pos: Elm_Actionslider_Pos\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_9magnet_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("magnet_pos_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_8magnet_pos_set(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":106
+ * elm_actionslider_indicator_pos_set(self.obj, pos)
+ *
+ * def magnet_pos_set(self, pos): # <<<<<<<<<<<<<<
+ * """Set actionslider magnet position. To make multiple positions
+ * magnets C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_8magnet_pos_set(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Actionslider_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("magnet_pos_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":115
+ *
+ * """
+ * elm_actionslider_magnet_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def magnet_pos_get(self):
+ */
+ __pyx_t_1 = ((Elm_Actionslider_Pos)PyInt_AsLong(__pyx_v_pos)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_actionslider_magnet_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.magnet_pos_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_11magnet_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_10magnet_pos_get[] = "Get actionslider magnet position.\n\n @return: The positions with magnet property.\n @rtype: Elm_Actionslider_Pos\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_11magnet_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("magnet_pos_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos_get(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":117
+ * elm_actionslider_magnet_pos_set(self.obj, pos)
+ *
+ * def magnet_pos_get(self): # <<<<<<<<<<<<<<
+ * """Get actionslider magnet position.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos_get(struct PyElementaryActionslider *__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("magnet_pos_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":124
+ *
+ * """
+ * return elm_actionslider_magnet_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property magnet_pos:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_actionslider_magnet_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.magnet_pos_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_10magnet_pos_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_10magnet_pos_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos___get__(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":134
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.magnet_pos_get()
+ * def __set__(self, pos):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos___get__(struct PyElementaryActionslider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":135
+ * """
+ * def __get__(self):
+ * return self.magnet_pos_get() # <<<<<<<<<<<<<<
+ * def __set__(self, pos):
+ * self.magnet_pos_set(pos)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__magnet_pos_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 135; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Actionslider.magnet_pos.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_10magnet_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_10magnet_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos_2__set__(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":136
+ * def __get__(self):
+ * return self.magnet_pos_get()
+ * def __set__(self, pos): # <<<<<<<<<<<<<<
+ * self.magnet_pos_set(pos)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Actionslider_10magnet_pos_2__set__(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":137
+ * return self.magnet_pos_get()
+ * def __set__(self, pos):
+ * self.magnet_pos_set(pos) # <<<<<<<<<<<<<<
+ *
+ * def enabled_pos_set(self, pos):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__magnet_pos_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_pos);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_pos);
+ __Pyx_GIVEREF(__pyx_v_pos);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Actionslider.magnet_pos.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_13enabled_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_12enabled_pos_set[] = "Set actionslider enabled position. To set multiple positions as\n enabled C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |\n ELM_ACTIONSLIDER_RIGHT}).\n\n @note: All the positions are enabled by default.\n\n @param pos: Bit mask indicating the enabled positions.\n @type pos: Elm_Actionslider_Pos\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_13enabled_pos_set(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("enabled_pos_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_12enabled_pos_set(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":139
+ * self.magnet_pos_set(pos)
+ *
+ * def enabled_pos_set(self, pos): # <<<<<<<<<<<<<<
+ * """Set actionslider enabled position. To set multiple positions as
+ * enabled C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_12enabled_pos_set(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Actionslider_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("enabled_pos_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":150
+ *
+ * """
+ * elm_actionslider_enabled_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def enabled_pos_get(self):
+ */
+ __pyx_t_1 = ((Elm_Actionslider_Pos)PyInt_AsLong(__pyx_v_pos)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_actionslider_enabled_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.enabled_pos_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_15enabled_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_14enabled_pos_get[] = "Get actionslider enabled position.\n\n @return: The enabled positions.\n @rtype: Elm_Actionslider_Pos\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_15enabled_pos_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("enabled_pos_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_14enabled_pos_get(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":152
+ * elm_actionslider_enabled_pos_set(self.obj, pos)
+ *
+ * def enabled_pos_get(self): # <<<<<<<<<<<<<<
+ * """Get actionslider enabled position.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_14enabled_pos_get(struct PyElementaryActionslider *__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("enabled_pos_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":159
+ *
+ * """
+ * return elm_actionslider_enabled_pos_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property enabled_pos:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_actionslider_enabled_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.enabled_pos_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_11enabled_pos_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_11enabled_pos_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_11enabled_pos___get__(((struct PyElementaryActionslider *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":171
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_actionslider_enabled_pos_get(self.obj)
+ * def __set__(self, pos):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_11enabled_pos___get__(struct PyElementaryActionslider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":172
+ * """
+ * def __get__(self):
+ * return elm_actionslider_enabled_pos_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, pos):
+ * elm_actionslider_enabled_pos_set(self.obj, pos)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_actionslider_enabled_pos_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.enabled_pos.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_11enabled_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Actionslider_11enabled_pos_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_11enabled_pos_2__set__(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_pos));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":173
+ * def __get__(self):
+ * return elm_actionslider_enabled_pos_get(self.obj)
+ * def __set__(self, pos): # <<<<<<<<<<<<<<
+ * elm_actionslider_enabled_pos_set(self.obj, pos)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Actionslider_11enabled_pos_2__set__(struct PyElementaryActionslider *__pyx_v_self, PyObject *__pyx_v_pos) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Actionslider_Pos __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":174
+ * return elm_actionslider_enabled_pos_get(self.obj)
+ * def __set__(self, pos):
+ * elm_actionslider_enabled_pos_set(self.obj, pos) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Actionslider_Pos)PyInt_AsLong(__pyx_v_pos)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_actionslider_enabled_pos_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Actionslider.enabled_pos.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_17callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_16callback_selected_add[] = "Called when user selects an enabled position. The label is passed\n as event info.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_17callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[45]; __pyx_lineno = 176; __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[45]; __pyx_lineno = 176; __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("elementary.c_elementary.Actionslider.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_16callback_selected_add(((struct PyElementaryActionslider *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":176
+ * elm_actionslider_enabled_pos_set(self.obj, pos)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Called when user selects an enabled position. The label is passed
+ * as event info."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_16callback_selected_add(struct PyElementaryActionslider *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":179
+ * """Called when user selects an enabled position. The label is passed
+ * as event info."""
+ * self._callback_add_full("selected", _cb_string_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 179; __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[45]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Actionslider.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_19callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_19callback_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_10elementary_12c_elementary_12Actionslider_18callback_selected_del(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":181
+ * self._callback_add_full("selected", _cb_string_conv, func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_18callback_selected_del(struct PyElementaryActionslider *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":182
+ *
+ * def callback_selected_del(self, func):
+ * self._callback_del_full("selected", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_pos_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 182; __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[45]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Actionslider.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_21callback_pos_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Actionslider_20callback_pos_changed_add[] = "Called when the indicator reaches any of the positions B{left},\n B{right} or B{center}. The label is passed as event info.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_21callback_pos_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_pos_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_pos_changed_add") < 0)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 184; __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_pos_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[45]; __pyx_lineno = 184; __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("elementary.c_elementary.Actionslider.callback_pos_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_20callback_pos_changed_add(((struct PyElementaryActionslider *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":184
+ * self._callback_del_full("selected", _cb_string_conv, func)
+ *
+ * def callback_pos_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Called when the indicator reaches any of the positions B{left},
+ * B{right} or B{center}. The label is passed as event info."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_20callback_pos_changed_add(struct PyElementaryActionslider *__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_pos_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":187
+ * """Called when the indicator reaches any of the positions B{left},
+ * B{right} or B{center}. The label is passed as event info."""
+ * self._callback_add_full("pos_changed", _cb_string_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_pos_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 187; __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[45]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__pos_changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__pos_changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__pos_changed));
+ 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Actionslider.callback_pos_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_23callback_pos_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Actionslider_23callback_pos_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_pos_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Actionslider_22callback_pos_changed_del(((struct PyElementaryActionslider *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":189
+ * self._callback_add_full("pos_changed", _cb_string_conv, func, *args, **kwargs)
+ *
+ * def callback_pos_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("pos_changed", _cb_string_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Actionslider_22callback_pos_changed_del(struct PyElementaryActionslider *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_pos_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":190
+ *
+ * def callback_pos_changed_del(self, func):
+ * self._callback_del_full("pos_changed", _cb_string_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("actionslider", Actionslider)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s___cb_string_conv); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 190; __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[45]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__pos_changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__pos_changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__pos_changed));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Actionslider.callback_pos_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12CalendarMark_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12CalendarMark___init__[] = "@see: L{Calendar.mark_add()}";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_12CalendarMark___init__;
+ static int __pyx_pw_10elementary_12c_elementary_12CalendarMark_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_cal = 0;
+ PyObject *__pyx_v_mark_type = 0;
+ PyObject *__pyx_v_mark_time = 0;
+ PyObject *__pyx_v_repeat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__cal,&__pyx_n_s__mark_type,&__pyx_n_s__mark_time,&__pyx_n_s__repeat,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cal);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mark_type);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mark_time);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__repeat);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 24; __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_cal = ((struct PyEvasObject *)values[0]);
+ __pyx_v_mark_type = values[1];
+ __pyx_v_mark_time = values[2];
+ __pyx_v_repeat = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.CalendarMark.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_cal), __pyx_ptype_4evas_6c_evas_Object, 1, "cal", 0))) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12CalendarMark___init__(((struct __pyx_obj_10elementary_12c_elementary_CalendarMark *)__pyx_v_self), __pyx_v_cal, __pyx_v_mark_type, __pyx_v_mark_time, __pyx_v_repeat);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":24
+ * cdef Elm_Calendar_Mark *obj
+ *
+ * def __init__(self, evasObject cal, mark_type, mark_time, repeat): # <<<<<<<<<<<<<<
+ * """@see: L{Calendar.mark_add()}"""
+ * cdef tm time
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12CalendarMark___init__(struct __pyx_obj_10elementary_12c_elementary_CalendarMark *__pyx_v_self, struct PyEvasObject *__pyx_v_cal, PyObject *__pyx_v_mark_type, PyObject *__pyx_v_mark_time, PyObject *__pyx_v_repeat) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_tmtup = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ Elm_Calendar_Mark_Repeat_Type __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":27
+ * """@see: L{Calendar.mark_add()}"""
+ * cdef tm time
+ * tmtup = mark_time.timetuple() # <<<<<<<<<<<<<<
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_mark_time, __pyx_n_s__timetuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_tmtup = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":28
+ * cdef tm time
+ * tmtup = mark_time.timetuple()
+ * time.tm_mday = tmtup.tm_mday # <<<<<<<<<<<<<<
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_mday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":29
+ * tmtup = mark_time.timetuple()
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1 # <<<<<<<<<<<<<<
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mon); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyNumber_Subtract(__pyx_t_2, __pyx_int_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_time.tm_mon = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":30
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900 # <<<<<<<<<<<<<<
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_year); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyNumber_Subtract(__pyx_t_1, __pyx_int_1900); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_year = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":31
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday # <<<<<<<<<<<<<<
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_wday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_wday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":32
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday # <<<<<<<<<<<<<<
+ * time.tm_isdst = tmtup.tm_isdst
+ * self.obj = elm_calendar_mark_add(cal.obj, _cfruni(mark_type), &time, repeat)
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_yday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_yday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":33
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst # <<<<<<<<<<<<<<
+ * self.obj = elm_calendar_mark_add(cal.obj, _cfruni(mark_type), &time, repeat)
+ *
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_isdst); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_isdst = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":34
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ * self.obj = elm_calendar_mark_add(cal.obj, _cfruni(mark_type), &time, repeat) # <<<<<<<<<<<<<<
+ *
+ * def delete(self):
+ */
+ __pyx_t_4 = ((Elm_Calendar_Mark_Repeat_Type)PyInt_AsLong(__pyx_v_repeat)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_self->obj = elm_calendar_mark_add(__pyx_v_cal->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_mark_type), (&__pyx_v_time), __pyx_t_4);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.CalendarMark.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_tmtup);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12CalendarMark_3delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12CalendarMark_2delete[] = "Delete a mark from the calendar.\n\n If deleting all calendar marks is required, L{marks_clear()}\n should be used instead of getting marks list and deleting each one.\n\n @see: L{mark_add()}\n\n @param mark: The mark to be deleted.\n @type mark: L{CalendarMark}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12CalendarMark_3delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12CalendarMark_2delete(((struct __pyx_obj_10elementary_12c_elementary_CalendarMark *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":36
+ * self.obj = elm_calendar_mark_add(cal.obj, _cfruni(mark_type), &time, repeat)
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * """Delete a mark from the calendar.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12CalendarMark_2delete(struct __pyx_obj_10elementary_12c_elementary_CalendarMark *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":48
+ *
+ * """
+ * elm_calendar_mark_del(self.obj) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Calendar(LayoutClass) [object PyElementaryCalendar, type PyElementaryCalendar_Type]:
+ */
+ elm_calendar_mark_del(__pyx_v_self->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 69; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar___init__(((struct PyElementaryCalendar *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":69
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_calendar_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar___init__(struct PyElementaryCalendar *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":70
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_calendar_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 70; __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[46]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":71
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_calendar_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * property weekdays_names:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Calendar *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_calendar_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Calendar.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_14weekdays_names_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_14weekdays_names_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_14weekdays_names___get__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":93
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr *lst
+ * cdef const_char_ptr weekday
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_14weekdays_names___get__(struct PyElementaryCalendar *__pyx_v_self) {
+ const char * *__pyx_v_lst;
+ const char * __pyx_v_weekday;
+ PyObject *__pyx_v_ret = NULL;
+ long __pyx_v_i;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":96
+ * cdef const_char_ptr *lst
+ * cdef const_char_ptr weekday
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_calendar_weekdays_names_get(self.obj)
+ * for i from 0 <= i < 7:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":97
+ * cdef const_char_ptr weekday
+ * ret = []
+ * lst = elm_calendar_weekdays_names_get(self.obj) # <<<<<<<<<<<<<<
+ * for i from 0 <= i < 7:
+ * weekday = lst[i]
+ */
+ __pyx_v_lst = elm_calendar_weekdays_names_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":98
+ * ret = []
+ * lst = elm_calendar_weekdays_names_get(self.obj)
+ * for i from 0 <= i < 7: # <<<<<<<<<<<<<<
+ * weekday = lst[i]
+ * if weekday != NULL:
+ */
+ for (__pyx_v_i = 0; __pyx_v_i < 7; __pyx_v_i++) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":99
+ * lst = elm_calendar_weekdays_names_get(self.obj)
+ * for i from 0 <= i < 7:
+ * weekday = lst[i] # <<<<<<<<<<<<<<
+ * if weekday != NULL:
+ * ret.append(_ctouni(weekday))
+ */
+ __pyx_v_weekday = (__pyx_v_lst[__pyx_v_i]);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":100
+ * for i from 0 <= i < 7:
+ * weekday = lst[i]
+ * if weekday != NULL: # <<<<<<<<<<<<<<
+ * ret.append(_ctouni(weekday))
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_weekday != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":101
+ * weekday = lst[i]
+ * if weekday != NULL:
+ * ret.append(_ctouni(weekday)) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_weekday)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyList_Append(__pyx_v_ret, __pyx_t_1); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":102
+ * if weekday != NULL:
+ * ret.append(_ctouni(weekday))
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, weekdays):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.weekdays_names.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_14weekdays_names_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_weekdays); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_14weekdays_names_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_weekdays) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_14weekdays_names_2__set__(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_weekdays));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":104
+ * return ret
+ *
+ * def __set__(self, weekdays): # <<<<<<<<<<<<<<
+ * cdef int i, day_len
+ * cdef char **days, *weekday
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_14weekdays_names_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_weekdays) {
+ int __pyx_v_i;
+ int __pyx_v_day_len;
+ char **__pyx_v_days;
+ char *__pyx_v_weekday;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ size_t __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":107
+ * cdef int i, day_len
+ * cdef char **days, *weekday
+ * days = <char **>PyMem_Malloc(7 * sizeof(char*)) # <<<<<<<<<<<<<<
+ * for i from 0 <= i < 7:
+ * weekday = _fruni(weekdays[i])
+ */
+ __pyx_v_days = ((char **)PyMem_Malloc((7 * (sizeof(char *)))));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":108
+ * cdef char **days, *weekday
+ * days = <char **>PyMem_Malloc(7 * sizeof(char*))
+ * for i from 0 <= i < 7: # <<<<<<<<<<<<<<
+ * weekday = _fruni(weekdays[i])
+ * day_len = len(weekday)
+ */
+ for (__pyx_v_i = 0; __pyx_v_i < 7; __pyx_v_i++) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":109
+ * days = <char **>PyMem_Malloc(7 * sizeof(char*))
+ * for i from 0 <= i < 7:
+ * weekday = _fruni(weekdays[i]) # <<<<<<<<<<<<<<
+ * day_len = len(weekday)
+ * days[i] = <char *>PyMem_Malloc(day_len + 1)
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_weekdays, __pyx_v_i, sizeof(int), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_weekday = __pyx_f_10elementary_12c_elementary__fruni(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":110
+ * for i from 0 <= i < 7:
+ * weekday = _fruni(weekdays[i])
+ * day_len = len(weekday) # <<<<<<<<<<<<<<
+ * days[i] = <char *>PyMem_Malloc(day_len + 1)
+ * memcpy(days[i], weekday, day_len + 1)
+ */
+ __pyx_t_2 = strlen(__pyx_v_weekday);
+ __pyx_v_day_len = __pyx_t_2;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":111
+ * weekday = _fruni(weekdays[i])
+ * day_len = len(weekday)
+ * days[i] = <char *>PyMem_Malloc(day_len + 1) # <<<<<<<<<<<<<<
+ * memcpy(days[i], weekday, day_len + 1)
+ * elm_calendar_weekdays_names_set(self.obj, <const_char_ptr *>days)
+ */
+ (__pyx_v_days[__pyx_v_i]) = ((char *)PyMem_Malloc((__pyx_v_day_len + 1)));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":112
+ * day_len = len(weekday)
+ * days[i] = <char *>PyMem_Malloc(day_len + 1)
+ * memcpy(days[i], weekday, day_len + 1) # <<<<<<<<<<<<<<
+ * elm_calendar_weekdays_names_set(self.obj, <const_char_ptr *>days)
+ *
+ */
+ memcpy((__pyx_v_days[__pyx_v_i]), __pyx_v_weekday, (__pyx_v_day_len + 1));
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":113
+ * days[i] = <char *>PyMem_Malloc(day_len + 1)
+ * memcpy(days[i], weekday, day_len + 1)
+ * elm_calendar_weekdays_names_set(self.obj, <const_char_ptr *>days) # <<<<<<<<<<<<<<
+ *
+ * property min_max_year:
+ */
+ elm_calendar_weekdays_names_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, ((const char * *)__pyx_v_days));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.weekdays_names.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_12min_max_year_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_12min_max_year_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_12min_max_year___get__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":130
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int min, max
+ * elm_calendar_min_max_year_get(self.obj, &min, &max)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_12min_max_year___get__(struct PyElementaryCalendar *__pyx_v_self) {
+ int __pyx_v_min;
+ int __pyx_v_max;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":132
+ * def __get__(self):
+ * cdef int min, max
+ * elm_calendar_min_max_year_get(self.obj, &min, &max) # <<<<<<<<<<<<<<
+ * return (min, max)
+ * def __set__(self, value):
+ */
+ elm_calendar_min_max_year_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_min), (&__pyx_v_max));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":133
+ * cdef int min, max
+ * elm_calendar_min_max_year_get(self.obj, &min, &max)
+ * return (min, max) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * cdef int min, max
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_min); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_max); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 133; __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[46]; __pyx_lineno = 133; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Calendar.min_max_year.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_12min_max_year_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_12min_max_year_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_12min_max_year_2__set__(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":134
+ * elm_calendar_min_max_year_get(self.obj, &min, &max)
+ * return (min, max)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int min, max
+ * min, max = value
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_12min_max_year_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_min;
+ int __pyx_v_max;
+ 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 *);
+ int __pyx_t_5;
+ int __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":136
+ * def __set__(self, value):
+ * cdef int min, max
+ * min, max = value # <<<<<<<<<<<<<<
+ * elm_calendar_min_max_year_set(self.obj, min, max)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[46]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[46]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 136; __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[46]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[46]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_5 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_min = __pyx_t_5;
+ __pyx_v_max = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":137
+ * cdef int min, max
+ * min, max = value
+ * elm_calendar_min_max_year_set(self.obj, min, max) # <<<<<<<<<<<<<<
+ *
+ * property select_mode:
+ */
+ elm_calendar_min_max_year_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_min, __pyx_v_max);
+
+ __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("elementary.c_elementary.Calendar.min_max_year.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_11select_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_11select_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_11select_mode___get__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":145
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_calendar_select_mode_get(self.obj)
+ * def __set__(self, mode):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_11select_mode___get__(struct PyElementaryCalendar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":146
+ * """
+ * def __get__(self):
+ * return elm_calendar_select_mode_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, mode):
+ * elm_calendar_select_mode_set(self.obj, mode)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_calendar_select_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.select_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_11select_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_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_10elementary_12c_elementary_8Calendar_11select_mode_2__set__(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":147
+ * def __get__(self):
+ * return elm_calendar_select_mode_get(self.obj)
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_calendar_select_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_11select_mode_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Calendar_Select_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":148
+ * return elm_calendar_select_mode_get(self.obj)
+ * def __set__(self, mode):
+ * elm_calendar_select_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * property selected_time:
+ */
+ __pyx_t_1 = ((Elm_Calendar_Select_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_calendar_select_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.select_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_13selected_time_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_13selected_time_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_13selected_time___get__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":160
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * elm_calendar_selected_time_get(self.obj, &time)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_13selected_time___get__(struct PyElementaryCalendar *__pyx_v_self) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_ret = NULL;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":162
+ * def __get__(self):
+ * cdef tm time
+ * elm_calendar_selected_time_get(self.obj, &time) # <<<<<<<<<<<<<<
+ * ret = date( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ */
+ elm_calendar_selected_time_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":163
+ * cdef tm time
+ * elm_calendar_selected_time_get(self.obj, &time)
+ * ret = date( time.tm_year + 1900, # <<<<<<<<<<<<<<
+ * time.tm_mon + 1,
+ * time.tm_mday)
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__date); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong((__pyx_v_time.tm_year + 1900)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":164
+ * elm_calendar_selected_time_get(self.obj, &time)
+ * ret = date( time.tm_year + 1900,
+ * time.tm_mon + 1, # <<<<<<<<<<<<<<
+ * time.tm_mday)
+ * return ret
+ */
+ __pyx_t_3 = PyInt_FromLong((__pyx_v_time.tm_mon + 1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":165
+ * ret = date( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ * time.tm_mday) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_time.tm_mday); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_5), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_v_ret = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":166
+ * time.tm_mon + 1,
+ * time.tm_mday)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, selected_time):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_r = __pyx_v_ret;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.selected_time.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_13selected_time_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected_time); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_13selected_time_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected_time) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_13selected_time_2__set__(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_selected_time));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":168
+ * return ret
+ *
+ * def __set__(self, selected_time): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * tmtup = selected_time.timetuple()
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_13selected_time_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_selected_time) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_tmtup = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":170
+ * def __set__(self, selected_time):
+ * cdef tm time
+ * tmtup = selected_time.timetuple() # <<<<<<<<<<<<<<
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_selected_time, __pyx_n_s__timetuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_tmtup = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":171
+ * cdef tm time
+ * tmtup = selected_time.timetuple()
+ * time.tm_mday = tmtup.tm_mday # <<<<<<<<<<<<<<
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_mday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":172
+ * tmtup = selected_time.timetuple()
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1 # <<<<<<<<<<<<<<
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mon); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyNumber_Subtract(__pyx_t_2, __pyx_int_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_time.tm_mon = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":173
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900 # <<<<<<<<<<<<<<
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_year); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyNumber_Subtract(__pyx_t_1, __pyx_int_1900); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_year = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":174
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday # <<<<<<<<<<<<<<
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_wday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_wday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":175
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday # <<<<<<<<<<<<<<
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_calendar_selected_time_set(self.obj, &time)
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_yday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_yday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":176
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst # <<<<<<<<<<<<<<
+ * elm_calendar_selected_time_set(self.obj, &time)
+ *
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_isdst); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_isdst = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":177
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_calendar_selected_time_set(self.obj, &time) # <<<<<<<<<<<<<<
+ *
+ * def format_function_set(self, format_func):
+ */
+ elm_calendar_selected_time_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.selected_time.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_tmtup);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_3format_function_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format_func); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Calendar_2format_function_set[] = "Set a function to format the string that will be used to display\n month and year.\n\n By default it uses strftime with \"%B %Y\" format string.\n It should allocate the memory that will be used by the string,\n that will be freed by the widget after usage.\n A pointer to the string and a pointer to the time struct will be provided.\n\n Example::\n static char *\n _format_month_year(struct tm selected_time)\n {\n char buf[32];\n if (!strftime(buf, sizeof(buf), \"%B %Y\", selected_time)) return NULL;\n return strdup(buf);\n }\n\n elm_calendar_format_function_set(calendar, _format_month_year);\n\n @param format_func: Function to set the month-year string given\n the selected date\n @type format_func: function\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_3format_function_set(PyObject *__pyx_v_self, PyObject *__pyx_v_format_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("format_function_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_2format_function_set(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_format_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":179
+ * elm_calendar_selected_time_set(self.obj, &time)
+ *
+ * def format_function_set(self, format_func): # <<<<<<<<<<<<<<
+ * """Set a function to format the string that will be used to display
+ * month and year.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_2format_function_set(CYTHON_UNUSED struct PyElementaryCalendar *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_format_func) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("format_function_set", 0);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_5mark_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Calendar_4mark_add[] = "Add a new mark to the calendar\n\n Add a mark that will be drawn in the calendar respecting the insertion\n time and periodicity. It will emit the type as signal to the widget theme.\n Default theme supports \"holiday\" and \"checked\", but it can be extended.\n\n It won't immediately update the calendar, drawing the marks.\n For this, call L{marks_draw()}. However, when user selects\n next or previous month calendar forces marks drawn.\n\n Marks created with this method can be deleted with L{mark_del()}.\n\n Example::\n struct tm selected_time;\n time_t current_time;\n\n current_time = time(NULL) + 5 84600;\n localtime_r(&current_time, &selected_time);\n elm_calendar_mark_add(cal, \"holiday\", selected_time,\n ELM_CALENDAR_ANNUALLY);\n\n current_time = time(NULL) + 1 84600;\n localtime_r(&current_time, &selected_time);\n elm_calendar_mark_add(cal, \"checked\", selected_time, ELM_CALENDAR_UNIQUE);\n\n elm_calendar_marks_draw(cal);\n\n @see: L{marks_draw()}\n @see L{mark_del()}\n\n @param mark_type: A string used to define the type of mark. It will be\n emitted to the theme, that should display a related modification on these\n days representation.\n @type mark_type: string\n @param mark_time: A time struct to represent the date of inclusion of the\n mark. For marks that repeats it will just be displayed after the inclusion\n date in the calendar.\n @type mark_time: tm struct\n @param repeat: Repeat the event following this periodicity. Can be a unique\n mark (that don't repeat), daily, weekly, monthly or annually.\n @type repeat: Elm_Calendar_Mark_Repeat_Type\n @return: The created mark or C{None} upon failure.\n @rtype: L{CalendarMark}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_5mark_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_mark_type = 0;
+ PyObject *__pyx_v_mark_time = 0;
+ PyObject *__pyx_v_repeat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__mark_type,&__pyx_n_s__mark_time,&__pyx_n_s__repeat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mark_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mark_type);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mark_time);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("mark_add", 1, 3, 3, 1); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__repeat);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("mark_add", 1, 3, 3, 2); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "mark_add") < 0)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 207; __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_mark_type = values[0];
+ __pyx_v_mark_time = values[1];
+ __pyx_v_repeat = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("mark_add", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[46]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.mark_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_4mark_add(((struct PyElementaryCalendar *)__pyx_v_self), __pyx_v_mark_type, __pyx_v_mark_time, __pyx_v_repeat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":207
+ * #elm_calendar_format_function_set(self.obj, format_func)
+ *
+ * def mark_add(self, mark_type, mark_time, repeat): # <<<<<<<<<<<<<<
+ * """Add a new mark to the calendar
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_4mark_add(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_mark_type, PyObject *__pyx_v_mark_time, PyObject *__pyx_v_repeat) {
+ 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("mark_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":253
+ *
+ * """
+ * return CalendarMark(self, mark_type, mark_time, repeat) # <<<<<<<<<<<<<<
+ *
+ * property marks:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_mark_type);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_mark_type);
+ __Pyx_GIVEREF(__pyx_v_mark_type);
+ __Pyx_INCREF(__pyx_v_mark_time);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_mark_time);
+ __Pyx_GIVEREF(__pyx_v_mark_time);
+ __Pyx_INCREF(__pyx_v_repeat);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_repeat);
+ __Pyx_GIVEREF(__pyx_v_repeat);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_CalendarMark)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Calendar.mark_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_5marks_1__del__(PyObject *__pyx_v_self); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_5marks_1__del__(PyObject *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_5marks___del__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":264
+ * #const_Eina_List *elm_calendar_marks_get(self.obj)
+ * #def __set__(self, value):
+ * def __del__(self): # <<<<<<<<<<<<<<
+ * elm_calendar_marks_clear(self.obj)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_5marks___del__(struct PyElementaryCalendar *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":265
+ * #def __set__(self, value):
+ * def __del__(self):
+ * elm_calendar_marks_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def marks_draw(self):
+ */
+ elm_calendar_marks_clear(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_7marks_draw(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Calendar_6marks_draw[] = "Draw calendar marks.\n\n Should be used after adding, removing or clearing marks.\n It will go through the entire marks list updating the calendar.\n If lots of marks will be added, add all the marks and then call\n this function.\n\n When the month is changed, i.e. user selects next or previous month,\n marks will be drawn.\n\n @see: L{mark_add()}\n @see: L{mark_del()}\n @see: L{marks_clear()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_7marks_draw(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("marks_draw (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_6marks_draw(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":267
+ * elm_calendar_marks_clear(self.obj)
+ *
+ * def marks_draw(self): # <<<<<<<<<<<<<<
+ * """Draw calendar marks.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_6marks_draw(struct PyElementaryCalendar *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("marks_draw", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":283
+ *
+ * """
+ * elm_calendar_marks_draw(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property interval:
+ */
+ elm_calendar_marks_draw(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_8interval_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_8interval_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_8interval___get__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":306
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_calendar_interval_get(self.obj)
+ * def __set__(self, interval):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_8interval___get__(struct PyElementaryCalendar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":307
+ * """
+ * def __get__(self):
+ * return elm_calendar_interval_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, interval):
+ * elm_calendar_interval_set(self.obj, interval)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_calendar_interval_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.interval.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_8interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_8interval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_8interval_2__set__(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_interval));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":308
+ * def __get__(self):
+ * return elm_calendar_interval_get(self.obj)
+ * def __set__(self, interval): # <<<<<<<<<<<<<<
+ * elm_calendar_interval_set(self.obj, interval)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_8interval_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":309
+ * return elm_calendar_interval_get(self.obj)
+ * def __set__(self, interval):
+ * elm_calendar_interval_set(self.obj, interval) # <<<<<<<<<<<<<<
+ *
+ * property first_day_of_week:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_interval); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_calendar_interval_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.interval.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_17first_day_of_week_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_17first_day_of_week_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_17first_day_of_week___get__(((struct PyElementaryCalendar *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":317
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_calendar_first_day_of_week_get(self.obj)
+ * def __set__(self, day):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_17first_day_of_week___get__(struct PyElementaryCalendar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":318
+ * """
+ * def __get__(self):
+ * return elm_calendar_first_day_of_week_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, day):
+ * elm_calendar_first_day_of_week_set(self.obj, day)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_calendar_first_day_of_week_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.first_day_of_week.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_17first_day_of_week_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_day); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Calendar_17first_day_of_week_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_day) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_17first_day_of_week_2__set__(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_day));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":319
+ * def __get__(self):
+ * return elm_calendar_first_day_of_week_get(self.obj)
+ * def __set__(self, day): # <<<<<<<<<<<<<<
+ * elm_calendar_first_day_of_week_set(self.obj, day)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Calendar_17first_day_of_week_2__set__(struct PyElementaryCalendar *__pyx_v_self, PyObject *__pyx_v_day) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Calendar_Weekday __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":320
+ * return elm_calendar_first_day_of_week_get(self.obj)
+ * def __set__(self, day):
+ * elm_calendar_first_day_of_week_set(self.obj, day) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Calendar_Weekday)PyInt_AsLong(__pyx_v_day)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_calendar_first_day_of_week_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Calendar.first_day_of_week.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_9callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Calendar_8callback_changed_add[] = "Emitted when the date in the calendar is changed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_9callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[46]; __pyx_lineno = 322; __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[46]; __pyx_lineno = 322; __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("elementary.c_elementary.Calendar.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Calendar_8callback_changed_add(((struct PyElementaryCalendar *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":322
+ * elm_calendar_first_day_of_week_set(self.obj, day)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Emitted when the date in the calendar is changed."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_8callback_changed_add(struct PyElementaryCalendar *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":324
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """Emitted when the date in the calendar is changed."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 324; __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[46]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Calendar.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_11callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Calendar_11callback_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_10elementary_12c_elementary_8Calendar_10callback_changed_del(((struct PyElementaryCalendar *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":326
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Calendar_10callback_changed_del(struct PyElementaryCalendar *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":327
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("calendar", Calendar)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 327; __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[46]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Calendar.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_cs = 0;
+ PyObject *__pyx_v_r = 0;
+ PyObject *__pyx_v_g = 0;
+ PyObject *__pyx_v_b = 0;
+ PyObject *__pyx_v_a = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__cs,&__pyx_n_s__r,&__pyx_n_s__g,&__pyx_n_s__b,&__pyx_n_s__a,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cs);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__r);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 1); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__g);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 2); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__b);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 3); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__a);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 4); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_cs = ((struct PyEvasObject *)values[0]);
+ __pyx_v_r = values[1];
+ __pyx_v_g = values[2];
+ __pyx_v_b = values[3];
+ __pyx_v_a = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_cs), __pyx_ptype_4evas_6c_evas_Object, 1, "cs", 0))) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem___init__(((struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *)__pyx_v_self), __pyx_v_cs, __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":23
+ * """An item for the L{Colorselector} widget."""
+ *
+ * def __init__(self, evasObject cs, r, g, b, a): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item = elm_colorselector_palette_color_add(cs.obj, r, g, b, a)
+ * if item != NULL:
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem___init__(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self, struct PyEvasObject *__pyx_v_cs, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a) {
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":24
+ *
+ * def __init__(self, evasObject cs, r, g, b, a):
+ * cdef Elm_Object_Item *item = elm_colorselector_palette_color_add(cs.obj, r, g, b, a) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * self._set_obj(item)
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_r); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_g); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_b); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_a); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_item = elm_colorselector_palette_color_add(__pyx_v_cs->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":25
+ * def __init__(self, evasObject cs, r, g, b, a):
+ * cdef Elm_Object_Item *item = elm_colorselector_palette_color_add(cs.obj, r, g, b, a)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_5 = (__pyx_v_item != NULL);
+ if (__pyx_t_5) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":26
+ * cdef Elm_Object_Item *item = elm_colorselector_palette_color_add(cs.obj, r, g, b, a)
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_ColorselectorPaletteItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":28
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def color_get(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_3color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_3color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_2color_get(((struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":30
+ * Py_DECREF(self)
+ *
+ * def color_get(self): # <<<<<<<<<<<<<<
+ * cdef int r, g, b, a
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_2color_get(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("color_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":32
+ * def color_get(self):
+ * cdef int r, g, b, a
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a) # <<<<<<<<<<<<<<
+ * return (r, g, b, a)
+ *
+ */
+ elm_colorselector_palette_item_color_get(__pyx_v_self->__pyx_base.item, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b), (&__pyx_v_a));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":33
+ * cdef int r, g, b, a
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ * return (r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * def color_set(self, r, g, b, a):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_a); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.color_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_r = 0;
+ PyObject *__pyx_v_g = 0;
+ PyObject *__pyx_v_b = 0;
+ PyObject *__pyx_v_a = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__r,&__pyx_n_s__g,&__pyx_n_s__b,&__pyx_n_s__a,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__r);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__g);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 1); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__b);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 2); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__a);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 3); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "color_set") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 35; __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_r = values[0];
+ __pyx_v_g = values[1];
+ __pyx_v_b = values[2];
+ __pyx_v_a = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_4color_set(((struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *)__pyx_v_self), __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":35
+ * return (r, g, b, a)
+ *
+ * def color_set(self, r, g, b, a): # <<<<<<<<<<<<<<
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_4color_set(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("color_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":36
+ *
+ * def color_set(self, r, g, b, a):
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * property color:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_r); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_g); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_b); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_a); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_colorselector_palette_item_color_set(__pyx_v_self->__pyx_base.item, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_5color___get__(((struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":44
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int r, g, b, a
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_5color___get__(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":46
+ * def __get__(self):
+ * cdef int r, g, b, a
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a) # <<<<<<<<<<<<<<
+ * return (r, g, b, a)
+ * def __set__(self, value):
+ */
+ elm_colorselector_palette_item_color_get(__pyx_v_self->__pyx_base.item, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b), (&__pyx_v_a));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":47
+ * cdef int r, g, b, a
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ * return (r, g, b, a) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * cdef int r, g, b, a
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_a); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.color.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_2__set__(((struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":48
+ * elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ * return (r, g, b, a)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int r, g, b, a
+ * r, g, b, a = value
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_2__set__(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ int __pyx_r;
+ __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)(PyObject *);
+ int __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_t_9;
+ int __pyx_t_10;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":50
+ * def __set__(self, value):
+ * cdef int r, g, b, a
+ * r, g, b, a = value # <<<<<<<<<<<<<<
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_5 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = Py_TYPE(__pyx_t_5)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 3; __pyx_t_4 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_5), 4) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_7 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_8 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_9 = __Pyx_PyInt_AsInt(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_10 = __Pyx_PyInt_AsInt(__pyx_t_4); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_v_r = __pyx_t_7;
+ __pyx_v_g = __pyx_t_8;
+ __pyx_v_b = __pyx_t_9;
+ __pyx_v_a = __pyx_t_10;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":51
+ * cdef int r, g, b, a
+ * r, g, b, a = value
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Colorselector(LayoutClass) [object PyElementaryColorselector, type PyElementaryColorselector_Type]:
+ */
+ elm_colorselector_palette_item_color_set(__pyx_v_self->__pyx_base.item, __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+
+ __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_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.ColorselectorPaletteItem.color.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 75; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector___init__(((struct PyElementaryColorselector *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":75
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_colorselector_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_13Colorselector___init__(struct PyElementaryColorselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":76
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_colorselector_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 76; __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[47]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":77
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_colorselector_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def color_set(self, r, g, b, a):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Colorselector *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_colorselector_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Colorselector.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_3color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_2color_set[] = "Set color to colorselector\n\n @param r: r-value of color\n @type r: int\n @param g: g-value of color\n @type g: int\n @param b: b-value of color\n @type b: int\n @param a: a-value of color\n @type a: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_3color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_r = 0;
+ PyObject *__pyx_v_g = 0;
+ PyObject *__pyx_v_b = 0;
+ PyObject *__pyx_v_a = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__r,&__pyx_n_s__g,&__pyx_n_s__b,&__pyx_n_s__a,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__r);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__g);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 1); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__b);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 2); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__a);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 3); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "color_set") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 79; __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_r = values[0];
+ __pyx_v_g = values[1];
+ __pyx_v_b = values[2];
+ __pyx_v_a = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_2color_set(((struct PyElementaryColorselector *)__pyx_v_self), __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":79
+ * self._set_obj(elm_colorselector_add(parent.obj))
+ *
+ * def color_set(self, r, g, b, a): # <<<<<<<<<<<<<<
+ * """Set color to colorselector
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_2color_set(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("color_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":92
+ *
+ * """
+ * elm_colorselector_color_set(self.obj, r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * def color_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_r); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_g); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_b); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_a); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_colorselector_color_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_5color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_4color_get[] = "Get the current color from colorselector\n\n @return: Tuple of the current colors\n @rtype: tuple of ints\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_5color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_4color_get(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":94
+ * elm_colorselector_color_set(self.obj, r, g, b, a)
+ *
+ * def color_get(self): # <<<<<<<<<<<<<<
+ * """Get the current color from colorselector
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_4color_get(struct PyElementaryColorselector *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("color_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":102
+ * """
+ * cdef int r, g, b, a
+ * elm_colorselector_color_get(self.obj, &r, &g, &b, &a) # <<<<<<<<<<<<<<
+ * return (r, g, b, a)
+ *
+ */
+ elm_colorselector_color_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b), (&__pyx_v_a));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":103
+ * cdef int r, g, b, a
+ * elm_colorselector_color_get(self.obj, &r, &g, &b, &a)
+ * return (r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * property color:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_a); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.color_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_5color_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_5color_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_5color___get__(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":111
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int r, g, b, a
+ * elm_colorselector_color_get(self.obj, &r, &g, &b, &a)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_5color___get__(struct PyElementaryColorselector *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":113
+ * def __get__(self):
+ * cdef int r, g, b, a
+ * elm_colorselector_color_get(self.obj, &r, &g, &b, &a) # <<<<<<<<<<<<<<
+ * return (r, g, b, a)
+ * def __set__(self, value):
+ */
+ elm_colorselector_color_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b), (&__pyx_v_a));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":114
+ * cdef int r, g, b, a
+ * elm_colorselector_color_get(self.obj, &r, &g, &b, &a)
+ * return (r, g, b, a) # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * cdef int r, g, b, a
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_a); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.color.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_5color_2__set__(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":115
+ * elm_colorselector_color_get(self.obj, &r, &g, &b, &a)
+ * return (r, g, b, a)
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int r, g, b, a
+ * r, g, b, a = value
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_13Colorselector_5color_2__set__(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ int __pyx_r;
+ __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)(PyObject *);
+ int __pyx_t_7;
+ int __pyx_t_8;
+ int __pyx_t_9;
+ int __pyx_t_10;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":117
+ * def __set__(self, value):
+ * cdef int r, g, b, a
+ * r, g, b, a = value # <<<<<<<<<<<<<<
+ * elm_colorselector_color_set(self.obj, r, g, b, a)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_5 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = Py_TYPE(__pyx_t_5)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 3; __pyx_t_4 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_5), 4) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_7 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_8 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_9 = __Pyx_PyInt_AsInt(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_10 = __Pyx_PyInt_AsInt(__pyx_t_4); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_v_r = __pyx_t_7;
+ __pyx_v_g = __pyx_t_8;
+ __pyx_v_b = __pyx_t_9;
+ __pyx_v_a = __pyx_t_10;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":118
+ * cdef int r, g, b, a
+ * r, g, b, a = value
+ * elm_colorselector_color_set(self.obj, r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * def mode_set(self, mode):
+ */
+ elm_colorselector_color_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+
+ __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_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.color.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_7mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_6mode_set[] = "Set Colorselector's mode.\n\n Colorselector supports three modes palette only, selector only and both.\n\n @param mode: The current mode of colorselector\n @type mode: Elm_Colorselector_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_7mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_6mode_set(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":120
+ * elm_colorselector_color_set(self.obj, r, g, b, a)
+ *
+ * def mode_set(self, mode): # <<<<<<<<<<<<<<
+ * """Set Colorselector's mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_6mode_set(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Colorselector_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":129
+ *
+ * """
+ * elm_colorselector_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Colorselector_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_colorselector_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_9mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_8mode_get[] = "Get Colorselector's mode.\n\n @return: The current mode of colorselector\n @rtype: Elm_Colorselector_Mode\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_9mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_8mode_get(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":131
+ * elm_colorselector_mode_set(self.obj, mode)
+ *
+ * def mode_get(self): # <<<<<<<<<<<<<<
+ * """Get Colorselector's mode.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_8mode_get(struct PyElementaryColorselector *__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("mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":138
+ *
+ * """
+ * return elm_colorselector_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_colorselector_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_4mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_4mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_4mode___get__(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":148
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_colorselector_mode_get(self.obj)
+ * def __set__(self, mode):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_4mode___get__(struct PyElementaryColorselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":149
+ * """
+ * def __get__(self):
+ * return elm_colorselector_mode_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, mode):
+ * elm_colorselector_mode_set(self.obj, mode)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_colorselector_mode_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_4mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_4mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_4mode_2__set__(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":150
+ * def __get__(self):
+ * return elm_colorselector_mode_get(self.obj)
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_colorselector_mode_set(self.obj, mode)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_13Colorselector_4mode_2__set__(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Colorselector_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":151
+ * return elm_colorselector_mode_get(self.obj)
+ * def __set__(self, mode):
+ * elm_colorselector_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def palette_color_add(self, r, g, b, a):
+ */
+ __pyx_t_1 = ((Elm_Colorselector_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_colorselector_mode_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_11palette_color_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_10palette_color_add[] = "Add a new color item to palette.\n\n @param r: r-value of color\n @type r: int\n @param g: g-value of color\n @type g: int\n @param b: b-value of color\n @type b: int\n @param a: a-value of color\n @type a: int\n @return: A new color palette Item.\n @rtype: L{ColorselectorPaletteItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_11palette_color_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_r = 0;
+ PyObject *__pyx_v_g = 0;
+ PyObject *__pyx_v_b = 0;
+ PyObject *__pyx_v_a = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__r,&__pyx_n_s__g,&__pyx_n_s__b,&__pyx_n_s__a,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("palette_color_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__r);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__g);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("palette_color_add", 1, 4, 4, 1); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__b);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("palette_color_add", 1, 4, 4, 2); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__a);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("palette_color_add", 1, 4, 4, 3); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "palette_color_add") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 153; __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_r = values[0];
+ __pyx_v_g = values[1];
+ __pyx_v_b = values[2];
+ __pyx_v_a = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("palette_color_add", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.palette_color_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_10palette_color_add(((struct PyElementaryColorselector *)__pyx_v_self), __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":153
+ * elm_colorselector_mode_set(self.obj, mode)
+ *
+ * def palette_color_add(self, r, g, b, a): # <<<<<<<<<<<<<<
+ * """Add a new color item to palette.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_10palette_color_add(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a) {
+ 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("palette_color_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":168
+ *
+ * """
+ * return ColorselectorPaletteItem(self, r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * def palette_clear(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_r);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_r);
+ __Pyx_GIVEREF(__pyx_v_r);
+ __Pyx_INCREF(__pyx_v_g);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_g);
+ __Pyx_GIVEREF(__pyx_v_g);
+ __Pyx_INCREF(__pyx_v_b);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_b);
+ __Pyx_GIVEREF(__pyx_v_b);
+ __Pyx_INCREF(__pyx_v_a);
+ PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_v_a);
+ __Pyx_GIVEREF(__pyx_v_a);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ColorselectorPaletteItem)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 168; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Colorselector.palette_color_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_13palette_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_12palette_clear[] = "Clear the palette items.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_13palette_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("palette_clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_clear(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":170
+ * return ColorselectorPaletteItem(self, r, g, b, a)
+ *
+ * def palette_clear(self): # <<<<<<<<<<<<<<
+ * """Clear the palette items."""
+ * elm_colorselector_palette_clear(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_clear(struct PyElementaryColorselector *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("palette_clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":172
+ * def palette_clear(self):
+ * """Clear the palette items."""
+ * elm_colorselector_palette_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def palette_name_set(self, palette_name):
+ */
+ elm_colorselector_palette_clear(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_15palette_name_set(PyObject *__pyx_v_self, PyObject *__pyx_v_palette_name); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_14palette_name_set[] = "Set current palette's name\n\n When colorpalette name is set, colors will be loaded from and saved\n to config using the set name. If no name is set then colors will be\n loaded from or saved to \"default\" config.\n\n @param palette_name: Name of palette\n @type palette_name: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_15palette_name_set(PyObject *__pyx_v_self, PyObject *__pyx_v_palette_name) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("palette_name_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_14palette_name_set(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_palette_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":174
+ * elm_colorselector_palette_clear(self.obj)
+ *
+ * def palette_name_set(self, palette_name): # <<<<<<<<<<<<<<
+ * """Set current palette's name
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_14palette_name_set(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_palette_name) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("palette_name_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":185
+ *
+ * """
+ * elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name)) # <<<<<<<<<<<<<<
+ *
+ * def palette_name_get(self):
+ */
+ elm_colorselector_palette_name_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_palette_name));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_17palette_name_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_16palette_name_get[] = "Get current palette's name\n\n Returns the currently set palette name using which colors will be\n saved/loaded in to config.\n\n @return: Name of palette\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_17palette_name_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("palette_name_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_16palette_name_get(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":187
+ * elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name))
+ *
+ * def palette_name_get(self): # <<<<<<<<<<<<<<
+ * """Get current palette's name
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_16palette_name_get(struct PyElementaryColorselector *__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("palette_name_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":197
+ *
+ * """
+ * return _ctouni(elm_colorselector_palette_name_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property palette_name:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_colorselector_palette_name_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.palette_name_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_12palette_name_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_12palette_name_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_name___get__(((struct PyElementaryColorselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":209
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_colorselector_palette_name_get(self.obj))
+ * def __set__(self, palette_name):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_name___get__(struct PyElementaryColorselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":210
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_colorselector_palette_name_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, palette_name):
+ * elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_colorselector_palette_name_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Colorselector.palette_name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_12palette_name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_palette_name); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_13Colorselector_12palette_name_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_palette_name) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_name_2__set__(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_palette_name));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":211
+ * def __get__(self):
+ * return _ctouni(elm_colorselector_palette_name_get(self.obj))
+ * def __set__(self, palette_name): # <<<<<<<<<<<<<<
+ * elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_13Colorselector_12palette_name_2__set__(struct PyElementaryColorselector *__pyx_v_self, PyObject *__pyx_v_palette_name) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":212
+ * return _ctouni(elm_colorselector_palette_name_get(self.obj))
+ * def __set__(self, palette_name):
+ * elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name)) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ elm_colorselector_palette_name_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_palette_name));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_19callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_18callback_changed_add[] = "When the color value changes on selector";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_19callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[47]; __pyx_lineno = 214; __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[47]; __pyx_lineno = 214; __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("elementary.c_elementary.Colorselector.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_18callback_changed_add(((struct PyElementaryColorselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":214
+ * elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name))
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the color value changes on selector"""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_18callback_changed_add(struct PyElementaryColorselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":216
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """When the color value changes on selector"""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 216; __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[47]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Colorselector.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_21callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_21callback_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_10elementary_12c_elementary_13Colorselector_20callback_changed_del(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":218
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_20callback_changed_del(struct PyElementaryColorselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":219
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_color_item_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 219; __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[47]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Colorselector.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_23callback_color_item_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_22callback_color_item_selected_add[] = "When user clicks on color item. The event_info parameter of the\n callback will be the selected color item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_23callback_color_item_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_color_item_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_color_item_selected_add") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 221; __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_color_item_selected_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 221; __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("elementary.c_elementary.Colorselector.callback_color_item_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_22callback_color_item_selected_add(((struct PyElementaryColorselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":221
+ * self._callback_del("changed", func)
+ *
+ * def callback_color_item_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When user clicks on color item. The event_info parameter of the
+ * callback will be the selected color item."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_22callback_color_item_selected_add(struct PyElementaryColorselector *__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_color_item_selected_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":224
+ * """When user clicks on color item. The event_info parameter of the
+ * callback will be the selected color item."""
+ * self._callback_add_full("color,item,selected", # <<<<<<<<<<<<<<
+ * _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":225
+ * callback will be the selected color item."""
+ * self._callback_add_full("color,item,selected",
+ * _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":226
+ * self._callback_add_full("color,item,selected",
+ * _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_color_item_selected_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_189));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_189));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_189));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":224
+ * """When user clicks on color item. The event_info parameter of the
+ * callback will be the selected color item."""
+ * self._callback_add_full("color,item,selected", # <<<<<<<<<<<<<<
+ * _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":226
+ * self._callback_add_full("color,item,selected",
+ * _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_color_item_selected_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Colorselector.callback_color_item_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_25callback_color_item_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_25callback_color_item_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_color_item_selected_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_24callback_color_item_selected_del(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":228
+ * func, *args, **kwargs)
+ *
+ * def callback_color_item_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("color,item,selected",
+ * _cb_object_item_conv, func)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_24callback_color_item_selected_del(struct PyElementaryColorselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_color_item_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":229
+ *
+ * def callback_color_item_selected_del(self, func):
+ * self._callback_del_full("color,item,selected", # <<<<<<<<<<<<<<
+ * _cb_object_item_conv, func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":230
+ * def callback_color_item_selected_del(self, func):
+ * self._callback_del_full("color,item,selected",
+ * _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_color_item_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 230; __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[47]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_189));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_189));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_189));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Colorselector.callback_color_item_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_27callback_color_item_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13Colorselector_26callback_color_item_longpressed_add[] = "When user long presses on color item. The event_info parameter of\n the callback will be the selected color item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_27callback_color_item_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_color_item_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_color_item_longpressed_add") < 0)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 232; __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_color_item_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[47]; __pyx_lineno = 232; __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("elementary.c_elementary.Colorselector.callback_color_item_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_26callback_color_item_longpressed_add(((struct PyElementaryColorselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":232
+ * _cb_object_item_conv, func)
+ *
+ * def callback_color_item_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When user long presses on color item. The event_info parameter of
+ * the callback will be the selected color item."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_26callback_color_item_longpressed_add(struct PyElementaryColorselector *__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_color_item_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":235
+ * """When user long presses on color item. The event_info parameter of
+ * the callback will be the selected color item."""
+ * self._callback_add_full("color,item,longpressed", # <<<<<<<<<<<<<<
+ * _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":236
+ * the callback will be the selected color item."""
+ * self._callback_add_full("color,item,longpressed",
+ * _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":237
+ * self._callback_add_full("color,item,longpressed",
+ * _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_color_item_longpressed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_190));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_190));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_190));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":235
+ * """When user long presses on color item. The event_info parameter of
+ * the callback will be the selected color item."""
+ * self._callback_add_full("color,item,longpressed", # <<<<<<<<<<<<<<
+ * _cb_object_item_conv,
+ * func, *args, **kwargs)
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":237
+ * self._callback_add_full("color,item,longpressed",
+ * _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_color_item_longpressed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Colorselector.callback_color_item_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_29callback_color_item_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13Colorselector_29callback_color_item_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_color_item_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13Colorselector_28callback_color_item_longpressed_del(((struct PyElementaryColorselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":239
+ * func, *args, **kwargs)
+ *
+ * def callback_color_item_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("color,item,longpressed",
+ * _cb_object_item_conv, func)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13Colorselector_28callback_color_item_longpressed_del(struct PyElementaryColorselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_color_item_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":240
+ *
+ * def callback_color_item_longpressed_del(self, func):
+ * self._callback_del_full("color,item,longpressed", # <<<<<<<<<<<<<<
+ * _cb_object_item_conv, func)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":241
+ * def callback_color_item_longpressed_del(self, func):
+ * self._callback_del_full("color,item,longpressed",
+ * _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("colorselector", Colorselector)
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 241; __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[47]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_190));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_190));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_190));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Colorselector.callback_color_item_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9IndexItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9IndexItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_kind = 0;
+ struct PyEvasObject *__pyx_v_index = 0;
+ PyObject *__pyx_v_letter = 0;
+ struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_before_after = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__kind,&__pyx_n_s__index,&__pyx_n_s__letter,&__pyx_n_s__before_after,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":27
+ *
+ * cdef class IndexItem(ObjectItem):
+ * def __init__(self, kind, evasObject index, letter, IndexItem before_after = None, # <<<<<<<<<<<<<<
+ * callback = None, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+ values[3] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":28
+ * cdef class IndexItem(ObjectItem):
+ * def __init__(self, kind, evasObject index, letter, IndexItem before_after = None,
+ * callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ 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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__kind);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__index);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 5, 1); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__letter);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 5, 2); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before_after);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[4] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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);
+ values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ case 2:
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_kind = values[0];
+ __pyx_v_index = ((struct PyEvasObject *)values[1]);
+ __pyx_v_letter = values[2];
+ __pyx_v_before_after = ((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)values[3]);
+ __pyx_v_callback = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.IndexItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_index), __pyx_ptype_4evas_6c_evas_Object, 1, "index", 0))) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before_after), __pyx_ptype_10elementary_12c_elementary_IndexItem, 1, "before_after", 0))) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9IndexItem___init__(((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)__pyx_v_self), __pyx_v_kind, __pyx_v_index, __pyx_v_letter, __pyx_v_before_after, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":27
+ *
+ * cdef class IndexItem(ObjectItem):
+ * def __init__(self, kind, evasObject index, letter, IndexItem before_after = None, # <<<<<<<<<<<<<<
+ * callback = None, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9IndexItem___init__(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self, PyObject *__pyx_v_kind, struct PyEvasObject *__pyx_v_index, PyObject *__pyx_v_letter, struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_before_after, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Evas_Smart_Cb __pyx_v_cb;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":29
+ * def __init__(self, kind, evasObject index, letter, IndexItem before_after = None,
+ * callback = None, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback is not None:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":31
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if callback is not None: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = (__pyx_v_callback != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":32
+ *
+ * if callback is not None:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":33
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_191), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 33; __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[48]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":34
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":36
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ *
+ * if kind == ELM_INDEX_ITEM_INSERT_APPEND:
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":38
+ * self.params = (callback, args, kargs)
+ *
+ * if kind == ELM_INDEX_ITEM_INSERT_APPEND: # <<<<<<<<<<<<<<
+ * item = elm_index_item_append(index.obj, _cfruni(letter), cb, <void*>self)
+ * elif kind == ELM_INDEX_ITEM_INSERT_PREPEND:
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_APPEND); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_3, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":39
+ *
+ * if kind == ELM_INDEX_ITEM_INSERT_APPEND:
+ * item = elm_index_item_append(index.obj, _cfruni(letter), cb, <void*>self) # <<<<<<<<<<<<<<
+ * elif kind == ELM_INDEX_ITEM_INSERT_PREPEND:
+ * item = elm_index_item_prepend(index.obj, _cfruni(letter), cb, <void*>self)
+ */
+ __pyx_v_item = elm_index_item_append(__pyx_v_index->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_letter), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":40
+ * if kind == ELM_INDEX_ITEM_INSERT_APPEND:
+ * item = elm_index_item_append(index.obj, _cfruni(letter), cb, <void*>self)
+ * elif kind == ELM_INDEX_ITEM_INSERT_PREPEND: # <<<<<<<<<<<<<<
+ * item = elm_index_item_prepend(index.obj, _cfruni(letter), cb, <void*>self)
+ * #elif kind == ELM_INDEX_ITEM_INSERT_SORTED:
+ */
+ __pyx_t_2 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_PREPEND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_2, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":41
+ * item = elm_index_item_append(index.obj, _cfruni(letter), cb, <void*>self)
+ * elif kind == ELM_INDEX_ITEM_INSERT_PREPEND:
+ * item = elm_index_item_prepend(index.obj, _cfruni(letter), cb, <void*>self) # <<<<<<<<<<<<<<
+ * #elif kind == ELM_INDEX_ITEM_INSERT_SORTED:
+ * #item = elm_index_item_sorted_insert(index.obj, _cfruni(letter), cb, <void*>self, cmp_f, cmp_data_f)
+ */
+ __pyx_v_item = elm_index_item_prepend(__pyx_v_index->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_letter), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":45
+ * #item = elm_index_item_sorted_insert(index.obj, _cfruni(letter), cb, <void*>self, cmp_f, cmp_data_f)
+ * else:
+ * if before_after == None: # <<<<<<<<<<<<<<
+ * raise ValueError("need a valid after object to add an item before/after another item")
+ * if kind == ELM_INDEX_ITEM_INSERT_BEFORE:
+ */
+ __pyx_t_3 = PyObject_RichCompare(((PyObject *)__pyx_v_before_after), Py_None, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":46
+ * else:
+ * if before_after == None:
+ * raise ValueError("need a valid after object to add an item before/after another item") # <<<<<<<<<<<<<<
+ * if kind == ELM_INDEX_ITEM_INSERT_BEFORE:
+ * item = elm_index_item_insert_before(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_k_tuple_192), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 46; __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[48]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L6;
+ }
+ __pyx_L6:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":47
+ * if before_after == None:
+ * raise ValueError("need a valid after object to add an item before/after another item")
+ * if kind == ELM_INDEX_ITEM_INSERT_BEFORE: # <<<<<<<<<<<<<<
+ * item = elm_index_item_insert_before(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ * else:
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_BEFORE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_3, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":48
+ * raise ValueError("need a valid after object to add an item before/after another item")
+ * if kind == ELM_INDEX_ITEM_INSERT_BEFORE:
+ * item = elm_index_item_insert_before(index.obj, before_after.item, _cfruni(letter), cb, <void*>self) # <<<<<<<<<<<<<<
+ * else:
+ * item = elm_index_item_insert_after(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ */
+ __pyx_v_item = elm_index_item_insert_before(__pyx_v_index->obj, __pyx_v_before_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_letter), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L7;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":50
+ * item = elm_index_item_insert_before(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ * else:
+ * item = elm_index_item_insert_after(index.obj, before_after.item, _cfruni(letter), cb, <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_index_item_insert_after(__pyx_v_index->obj, __pyx_v_before_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_letter), __pyx_v_cb, ((void *)__pyx_v_self));
+ }
+ __pyx_L7:;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":52
+ * item = elm_index_item_insert_after(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":53
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_IndexItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L8;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":55
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L8:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.IndexItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9IndexItem_3selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9IndexItem_2selected_set[] = "Set the selected state of an item.\n\n This sets the selected state of the given item.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n Previously selected item can be get with function\n L{Index.selected_item_get()}.\n\n Selected items will be highlighted.\n\n @see: L{Index.selected_item_get()}\n\n @param selected: The selected state\n @type selected: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9IndexItem_3selected_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_10elementary_12c_elementary_9IndexItem_2selected_set(((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":57
+ * Py_DECREF(self)
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * """Set the selected state of an item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9IndexItem_2selected_set(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":75
+ *
+ * """
+ * elm_index_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.IndexItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9IndexItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9IndexItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9IndexItem_8selected___set__(((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":94
+ *
+ * """
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * elm_index_item_selected_set(self.item, selected)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9IndexItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":95
+ * """
+ * def __set__(self, selected):
+ * elm_index_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def letter_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.IndexItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9IndexItem_5letter_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9IndexItem_4letter_get[] = "Get the letter (string) set on a given index widget item.\n\n @return: The letter string set on the item\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9IndexItem_5letter_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("letter_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9IndexItem_4letter_get(((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":97
+ * elm_index_item_selected_set(self.item, selected)
+ *
+ * def letter_get(self): # <<<<<<<<<<<<<<
+ * """Get the letter (string) set on a given index widget item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9IndexItem_4letter_get(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__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("letter_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":104
+ *
+ * """
+ * return _ctouni(elm_index_item_letter_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property letter:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_index_item_letter_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.IndexItem.letter_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9IndexItem_6letter_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9IndexItem_6letter_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9IndexItem_6letter___get__(((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":112
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_index_item_letter_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9IndexItem_6letter___get__(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":113
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_index_item_letter_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * cdef Elm_Object_Item *_elm_index_item_from_python(IndexItem item):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_index_item_letter_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.IndexItem.letter.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":115
+ * return _ctouni(elm_index_item_letter_get(self.item))
+ *
+ * cdef Elm_Object_Item *_elm_index_item_from_python(IndexItem item): # <<<<<<<<<<<<<<
+ * if item is None:
+ * return NULL
+ */
+
+ static Elm_Object_Item *__pyx_f_10elementary_12c_elementary__elm_index_item_from_python(struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_item) {
+ Elm_Object_Item *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("_elm_index_item_from_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":116
+ *
+ * cdef Elm_Object_Item *_elm_index_item_from_python(IndexItem item):
+ * if item is None: # <<<<<<<<<<<<<<
+ * return NULL
+ * else:
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_item) == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":117
+ * cdef Elm_Object_Item *_elm_index_item_from_python(IndexItem item):
+ * if item is None:
+ * return NULL # <<<<<<<<<<<<<<
+ * else:
+ * return item.item
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":119
+ * return NULL
+ * else:
+ * return item.item # <<<<<<<<<<<<<<
+ *
+ * cdef public class Index(LayoutClass) [object PyElementaryIndex, type PyElementaryIndex_Type]:
+ */
+ __pyx_r = __pyx_v_item->__pyx_base.item;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Index_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Index_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 162; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index___init__(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":162
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_index_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Index___init__(struct PyElementaryIndex *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":163
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_index_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 163; __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[48]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":164
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_index_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def autohide_disabled_set(self, disabled):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Index *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_index_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Index.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_3autohide_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_2autohide_disabled_set[] = "Enable or disable auto hiding feature for a given index widget.\n\n @see: L{autohide_disabled_get()}\n\n @param disabled: C{True} to disable auto hiding, C{False} to enable\n @type disabled: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_3autohide_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autohide_disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_2autohide_disabled_set(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":166
+ * self._set_obj(elm_index_add(parent.obj))
+ *
+ * def autohide_disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """Enable or disable auto hiding feature for a given index widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_2autohide_disabled_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("autohide_disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":175
+ *
+ * """
+ * elm_index_autohide_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def autohide_disabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_autohide_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.autohide_disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_5autohide_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_4autohide_disabled_get[] = "Get whether auto hiding feature is enabled or not for a given index widget.\n\n @see: L{autohide_disabled_set()} for more details\n\n @return: C{True}, if auto hiding is disabled, C{False} otherwise\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_5autohide_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("autohide_disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_4autohide_disabled_get(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":177
+ * elm_index_autohide_disabled_set(self.obj, disabled)
+ *
+ * def autohide_disabled_get(self): # <<<<<<<<<<<<<<
+ * """Get whether auto hiding feature is enabled or not for a given index widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_4autohide_disabled_get(struct PyElementaryIndex *__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("autohide_disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":186
+ *
+ * """
+ * return bool(elm_index_autohide_disabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property autohide_disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_index_autohide_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.autohide_disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_17autohide_disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_17autohide_disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_17autohide_disabled___get__(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":194
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_index_autohide_disabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_17autohide_disabled___get__(struct PyElementaryIndex *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":195
+ * """
+ * def __get__(self):
+ * return bool(elm_index_autohide_disabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, disabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_index_autohide_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.autohide_disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Index_17autohide_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Index_17autohide_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_17autohide_disabled_2__set__(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":197
+ * return bool(elm_index_autohide_disabled_get(self.obj))
+ *
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * elm_index_autohide_disabled_set(self.obj, disabled)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Index_17autohide_disabled_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":198
+ *
+ * def __set__(self, disabled):
+ * elm_index_autohide_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def item_level_set(self, level):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_autohide_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.autohide_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_7item_level_set(PyObject *__pyx_v_self, PyObject *__pyx_v_level); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_6item_level_set[] = "Set the items level for a given index widget.\n\n @see: L{item_level_get()}\n\n @param level: C{0} or C{1}, the currently implemented levels.\n @type level: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_7item_level_set(PyObject *__pyx_v_self, PyObject *__pyx_v_level) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_level_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_6item_level_set(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_level));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":200
+ * elm_index_autohide_disabled_set(self.obj, disabled)
+ *
+ * def item_level_set(self, level): # <<<<<<<<<<<<<<
+ * """Set the items level for a given index widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_6item_level_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level) {
+ 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("item_level_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":209
+ *
+ * """
+ * elm_index_item_level_set(self.obj, level) # <<<<<<<<<<<<<<
+ *
+ * def item_level_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_level); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_item_level_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.item_level_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_9item_level_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_8item_level_get[] = "Get the items level set for a given index widget.\n\n @see: L{item_level_set()} for more information\n\n @return: C{0} or C{1}, which are the levels the object might be at.\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_9item_level_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_level_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_8item_level_get(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":211
+ * elm_index_item_level_set(self.obj, level)
+ *
+ * def item_level_get(self): # <<<<<<<<<<<<<<
+ * """Get the items level set for a given index widget.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_8item_level_get(struct PyElementaryIndex *__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("item_level_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":220
+ *
+ * """
+ * return elm_index_item_level_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property item_level:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_index_item_level_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Index.item_level_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_10item_level_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_10item_level_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_10item_level___get__(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":230
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_index_item_level_get(self.obj)
+ * def __set__(self, level):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_10item_level___get__(struct PyElementaryIndex *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":231
+ * """
+ * def __get__(self):
+ * return elm_index_item_level_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, level):
+ * elm_index_item_level_set(self.obj, level)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_index_item_level_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Index.item_level.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Index_10item_level_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_level); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Index_10item_level_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_level) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_10item_level_2__set__(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_level));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":232
+ * def __get__(self):
+ * return elm_index_item_level_get(self.obj)
+ * def __set__(self, level): # <<<<<<<<<<<<<<
+ * elm_index_item_level_set(self.obj, level)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Index_10item_level_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":233
+ * return elm_index_item_level_get(self.obj)
+ * def __set__(self, level):
+ * elm_index_item_level_set(self.obj, level) # <<<<<<<<<<<<<<
+ *
+ * def selected_item_get(self, level):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_level); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_item_level_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.item_level.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_11selected_item_get(PyObject *__pyx_v_self, PyObject *__pyx_v_level); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_10selected_item_get[] = "selected_item_get(level)\n\n Returns the last selected item, for a given index widget.\n\n @param level: C{0} or C{1}, the currently implemented levels.\n @type level: int\n\n @return: The last item B{selected} (or C{None}, on errors).\n @rtype: L{IndexItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_11selected_item_get(PyObject *__pyx_v_self, PyObject *__pyx_v_level) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_10selected_item_get(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_level));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":235
+ * elm_index_item_level_set(self.obj, level)
+ *
+ * def selected_item_get(self, level): # <<<<<<<<<<<<<<
+ * """selected_item_get(level)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_10selected_item_get(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":247
+ *
+ * """
+ * return _object_item_to_python(elm_index_selected_item_get(self.obj, level)) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, letter, callback = None, *args, **kargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_level); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_index_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Index.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_13item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_12item_append[] = "item_append(letter, callback, *args, **kargs)\n\n Append a new item on a given index widget.\n\n Despite the most common usage of the C{letter} argument is for\n single char strings, one could use arbitrary strings as index\n entries.\n\n C{item} will be the item returned back on C{\"changed\"},\n C{\"delay,changed\"} and C{\"selected\"} smart events.\n\n @param letter: Letter under which the item should be indexed\n @type letter: string\n @param callback: The function to call when the item is selected.\n @type callback: function\n\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{IndexItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_13item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_letter = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__letter,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":249
+ * return _object_item_to_python(elm_index_selected_item_get(self.obj, level))
+ *
+ * def item_append(self, letter, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_append(letter, callback, *args, **kargs)
+ *
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__letter);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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_letter = values[0];
+ __pyx_v_callback = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_12item_append(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_letter, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_12item_append(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":270
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_APPEND, self, letter, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_APPEND); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":271
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_APPEND, self, letter,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_letter);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_letter);
+ __Pyx_GIVEREF(__pyx_v_letter);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 3, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":270
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_APPEND, self, letter, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":271
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_APPEND, self, letter,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_IndexItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_15item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_14item_prepend[] = "item_prepend(letter, callback=None, *args, **kargs)\n\n Prepend a new item on a given index widget.\n\n Despite the most common usage of the C{letter} argument is for\n single char strings, one could use arbitrary strings as index\n entries.\n\n C{item} will be the item returned back on C{\"changed\"},\n C{\"delay,changed\"} and C{\"selected\"} smart events.\n\n @param letter: Letter under which the item should be indexed\n @type letter: string\n @param callback: The function to call when the item is selected.\n @type callback: function\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{IndexItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_15item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_letter = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__letter,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_prepend (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":273
+ * None, callback, *args, **kargs)
+ *
+ * def item_prepend(self, letter, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_prepend(letter, callback=None, *args, **kargs)
+ *
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__letter);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_prepend") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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_letter = values[0];
+ __pyx_v_callback = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_14item_prepend(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_letter, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_14item_prepend(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":293
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_PREPEND, self, letter, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_PREPEND); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":294
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_PREPEND, self, letter,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, IndexItem after, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_letter);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_letter);
+ __Pyx_GIVEREF(__pyx_v_letter);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 3, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":293
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_PREPEND, self, letter, # <<<<<<<<<<<<<<
+ * None, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":294
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_PREPEND, self, letter,
+ * None, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, IndexItem after, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_IndexItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_17item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_16item_insert_after[] = "item_insert_after(after, letter, callback=None, *args, **kargs)\n\n Insert a new item into the index object after item C{after}.\n\n Despite the most common usage of the C{letter} argument is for\n single char strings, one could use arbitrary strings as index\n entries.\n\n C{item} will be the pointer returned back on C{\"changed\"},\n C{\"delay,changed\"} and C{\"selected\"} smart events.\n\n @note: If C{relative} is C{None} this function will behave as\n L{item_append()}.\n\n @param after: The index item to insert after.\n @type after: L{IndexItem}\n @param letter: Letter under which the item should be indexed\n @type letter: string\n @param callback: The function to call when the item is clicked.\n @type callback: function\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{IndexItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_17item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_after = 0;
+ PyObject *__pyx_v_letter = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__after,&__pyx_n_s__letter,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_after (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":296
+ * None, callback, *args, **kargs)
+ *
+ * def item_insert_after(self, IndexItem after, letter, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_insert_after(after, letter, callback=None, *args, **kargs)
+ *
+ */
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__after);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__letter);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 3, 1); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_insert_after") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_after = ((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)values[0]);
+ __pyx_v_letter = values[1];
+ __pyx_v_callback = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.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_after), __pyx_ptype_10elementary_12c_elementary_IndexItem, 1, "after", 0))) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_16item_insert_after(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_after, __pyx_v_letter, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_16item_insert_after(struct PyElementaryIndex *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_after, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_insert_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":321
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_AFTER, self, letter, # <<<<<<<<<<<<<<
+ * after, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_AFTER); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":322
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_AFTER, self, letter,
+ * after, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, IndexItem before, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_letter);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_letter);
+ __Pyx_GIVEREF(__pyx_v_letter);
+ __Pyx_INCREF(((PyObject *)__pyx_v_after));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_after));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_after));
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":321
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_AFTER, self, letter, # <<<<<<<<<<<<<<
+ * after, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":322
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_AFTER, self, letter,
+ * after, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, IndexItem before, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_IndexItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_19item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_18item_insert_before[] = "item_insert_before(before, letter, callback=None, *args, **kargs)\n\n Insert a new item into the index object before item C{before}.\n\n Despite the most common usage of the C{letter} argument is for\n single char strings, one could use arbitrary strings as index\n entries.\n\n C{item} will be the pointer returned back on C{\"changed\"},\n C{\"delay,changed\"} and C{\"selected\"} smart events.\n\n @note: If C{relative} is C{None} this function will behave as\n L{item_prepend()}.\n\n @param before: The index item to insert before.\n @type before: L{IndexItem}\n @param letter: Letter under which the item should be indexed\n @type letter: string\n @param callback: The function to call when the item is clicked.\n @type callback: function\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{IndexItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_19item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_before = 0;
+ PyObject *__pyx_v_letter = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__before,&__pyx_n_s__letter,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_before (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return NULL;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":324
+ * after, callback, *args, **kargs)
+ *
+ * def item_insert_before(self, IndexItem before, letter, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * """item_insert_before(before, letter, callback=None, *args, **kargs)
+ *
+ */
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__letter);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 3, 1); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "item_insert_before") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_before = ((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)values[0]);
+ __pyx_v_letter = values[1];
+ __pyx_v_callback = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.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_before), __pyx_ptype_10elementary_12c_elementary_IndexItem, 1, "before", 0))) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_18item_insert_before(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_before, __pyx_v_letter, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_18item_insert_before(struct PyElementaryIndex *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_IndexItem *__pyx_v_before, PyObject *__pyx_v_letter, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ 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_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":349
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_BEFORE, self, letter, # <<<<<<<<<<<<<<
+ * before, callback, *args, **kargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_INDEX_ITEM_INSERT_BEFORE); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":350
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_BEFORE, self, letter,
+ * before, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * #def item_sorted_insert(self, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_letter);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_letter);
+ __Pyx_GIVEREF(__pyx_v_letter);
+ __Pyx_INCREF(((PyObject *)__pyx_v_before));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_before));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_before));
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":349
+ *
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_BEFORE, self, letter, # <<<<<<<<<<<<<<
+ * before, callback, *args, **kargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":350
+ * """
+ * return IndexItem(ELM_INDEX_ITEM_INSERT_BEFORE, self, letter,
+ * before, callback, *args, **kargs) # <<<<<<<<<<<<<<
+ *
+ * #def item_sorted_insert(self, letter, callback = None, *args, **kargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_IndexItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_21item_find(PyObject *__pyx_v_self, PyObject *__pyx_v_data); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_20item_find[] = "Find a given index widget's item, B{using item data}.\n\n @param data: The item data pointed to by the desired index item\n @return: The index item handle, if found, or C{None} otherwise\n @rtype: L{IndexItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_21item_find(PyObject *__pyx_v_self, PyObject *__pyx_v_data) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_find (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_20item_find(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_data));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":393
+ * #None, callback, *args, **kargs)
+ *
+ * def item_find(self, data): # <<<<<<<<<<<<<<
+ * """Find a given index widget's item, B{using item data}.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_20item_find(CYTHON_UNUSED struct PyElementaryIndex *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_data) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_find", 0);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_23item_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_22item_clear[] = "item_clear()\n\n Removes B{all} items from a given index widget.\n\n If deletion callbacks are set, via L{delete_cb_set()},\n that callback function will be called for each item.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_23item_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_22item_clear(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":404
+ * # return _object_item_to_python(elm_index_item_find(self.obj, <void*>data))
+ *
+ * def item_clear(self): # <<<<<<<<<<<<<<
+ * """item_clear()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_22item_clear(struct PyElementaryIndex *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":413
+ *
+ * """
+ * elm_index_item_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def level_go(self, level):
+ */
+ elm_index_item_clear(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_25level_go(PyObject *__pyx_v_self, PyObject *__pyx_v_level); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_24level_go[] = "level_go(level)\n\n Go to a given items level on a index widget\n\n @param level: The index level (one of C{0} or C{1})\n @type level: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_25level_go(PyObject *__pyx_v_self, PyObject *__pyx_v_level) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("level_go (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_24level_go(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_level));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":415
+ * elm_index_item_clear(self.obj)
+ *
+ * def level_go(self, level): # <<<<<<<<<<<<<<
+ * """level_go(level)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_24level_go(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_level) {
+ 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("level_go", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":424
+ *
+ * """
+ * elm_index_level_go(self.obj, level) # <<<<<<<<<<<<<<
+ *
+ * def indicator_disabled_set(self, disabled):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_level); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_level_go(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.level_go", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_27indicator_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_26indicator_disabled_set[] = "Set the indicator as to be disabled.\n\n In Index widget, Indicator notes popup text, which shows a letter has been selecting.\n\n @see: L{indicator_disabled_get()}\n\n @param disabled: C{True} to disable it, C{False} to enable it\n @type disabled: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_27indicator_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_26indicator_disabled_set(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":426
+ * elm_index_level_go(self.obj, level)
+ *
+ * def indicator_disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * """Set the indicator as to be disabled.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_26indicator_disabled_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("indicator_disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":437
+ *
+ * """
+ * elm_index_indicator_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def indicator_disabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 437; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_indicator_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.indicator_disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_29indicator_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_28indicator_disabled_get[] = "Get the value of indicator's disabled status.\n\n @see: L{indicator_disabled_set()}\n\n @return: True if the indicator is disabled.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_29indicator_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("indicator_disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_28indicator_disabled_get(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":439
+ * elm_index_indicator_disabled_set(self.obj, disabled)
+ *
+ * def indicator_disabled_get(self): # <<<<<<<<<<<<<<
+ * """Get the value of indicator's disabled status.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_28indicator_disabled_get(struct PyElementaryIndex *__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("indicator_disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":448
+ *
+ * """
+ * return bool(elm_index_indicator_disabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property indicator_disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_index_indicator_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.indicator_disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_18indicator_disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_18indicator_disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_18indicator_disabled___get__(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":458
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_index_indicator_disabled_get(self.obj))
+ * def __set__(self, disabled):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_18indicator_disabled___get__(struct PyElementaryIndex *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":459
+ * """
+ * def __get__(self):
+ * return bool(elm_index_indicator_disabled_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, disabled):
+ * elm_index_indicator_disabled_set(self.obj, disabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_index_indicator_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 459; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.indicator_disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Index_18indicator_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Index_18indicator_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_18indicator_disabled_2__set__(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":460
+ * def __get__(self):
+ * return bool(elm_index_indicator_disabled_get(self.obj))
+ * def __set__(self, disabled): # <<<<<<<<<<<<<<
+ * elm_index_indicator_disabled_set(self.obj, disabled)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Index_18indicator_disabled_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":461
+ * return bool(elm_index_indicator_disabled_get(self.obj))
+ * def __set__(self, disabled):
+ * elm_index_indicator_disabled_set(self.obj, disabled) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, horizontal):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_disabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_indicator_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.indicator_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_31horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_30horizontal_set[] = "Enable or disable horizontal mode on the index object\n\n On horizontal mode items are displayed on index from left to right,\n instead of from top to bottom. Also, the index will scroll horizontally.\n\n @see: L{horizontal_get()}\n\n @note: Vertical mode is set by default.\n\n @param horizontal: C{True} to enable horizontal or C{False} to\n disable it, i.e., to enable vertical mode. it's an area one\n C{\"finger\"} wide on the bottom side of the index widget's\n container.\n @type horizontal: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_31horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_30horizontal_set(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":463
+ * elm_index_indicator_disabled_set(self.obj, disabled)
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """Enable or disable horizontal mode on the index object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_30horizontal_set(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":480
+ *
+ * """
+ * elm_index_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 480; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_33horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_32horizontal_get[] = "Get a value whether horizontal mode is enabled or not.\n\n @see: L{horizontal_set()} for details.\n\n @return: C{True} means horizontal mode selection is enabled.\n C{False} indicates it's disabled.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_33horizontal_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_10elementary_12c_elementary_5Index_32horizontal_get(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":482
+ * elm_index_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Get a value whether horizontal mode is enabled or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_32horizontal_get(struct PyElementaryIndex *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":492
+ *
+ * """
+ * return bool(elm_index_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_index_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_10horizontal___get__(((struct PyElementaryIndex *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":507
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_index_horizontal_get(self.obj))
+ * def __set__(self, horizontal):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_10horizontal___get__(struct PyElementaryIndex *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":508
+ * """
+ * def __get__(self):
+ * return bool(elm_index_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, horizontal):
+ * elm_index_horizontal_set(self.obj, horizontal)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_index_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 508; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Index_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Index_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_10horizontal_2__set__(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":509
+ * def __get__(self):
+ * return bool(elm_index_horizontal_get(self.obj))
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_index_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Index_10horizontal_2__set__(struct PyElementaryIndex *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":510
+ * return bool(elm_index_horizontal_get(self.obj))
+ * def __set__(self, horizontal):
+ * elm_index_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_index_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Index.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_35callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_34callback_changed_add[] = "When the selected index item changes. C{event_info} is the selected\n item's data.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_35callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[48]; __pyx_lineno = 512; __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[48]; __pyx_lineno = 512; __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("elementary.c_elementary.Index.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_34callback_changed_add(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":512
+ * elm_index_horizontal_set(self.obj, horizontal)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the selected index item changes. C{event_info} is the selected
+ * item's data."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_34callback_changed_add(struct PyElementaryIndex *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":515
+ * """When the selected index item changes. C{event_info} is the selected
+ * item's data."""
+ * self._callback_add_full("changed", _cb_object_item_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 515; __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[48]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__changed));
+ 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 515; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Index.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_37callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_37callback_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_10elementary_12c_elementary_5Index_36callback_changed_del(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":517
+ * self._callback_add_full("changed", _cb_object_item_conv, func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("changed", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_36callback_changed_del(struct PyElementaryIndex *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":518
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del_full("changed", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_delay_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 518; __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[48]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__changed));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_39callback_delay_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_38callback_delay_changed_add[] = "When the selected index item changes, but after a small idling\n period. C{event_info} is the selected item's data.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_39callback_delay_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delay_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_delay_changed_add") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 520; __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_delay_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 520; __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("elementary.c_elementary.Index.callback_delay_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_38callback_delay_changed_add(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":520
+ * self._callback_del_full("changed", _cb_object_item_conv, func)
+ *
+ * def callback_delay_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the selected index item changes, but after a small idling
+ * period. C{event_info} is the selected item's data."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_38callback_delay_changed_add(struct PyElementaryIndex *__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_delay_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":523
+ * """When the selected index item changes, but after a small idling
+ * period. C{event_info} is the selected item's data."""
+ * self._callback_add_full("delay,changed", _cb_object_item_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_delay_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 523; __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[48]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_113));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_113));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_113));
+ 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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Index.callback_delay_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_41callback_delay_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_41callback_delay_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_delay_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_40callback_delay_changed_del(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":525
+ * self._callback_add_full("delay,changed", _cb_object_item_conv, func, *args, **kwargs)
+ *
+ * def callback_delay_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("delay,changed", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_40callback_delay_changed_del(struct PyElementaryIndex *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_delay_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":526
+ *
+ * def callback_delay_changed_del(self, func):
+ * self._callback_del_full("delay,changed", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 526; __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[48]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_113));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_113));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_113));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 526; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.callback_delay_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_43callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_42callback_selected_add[] = "When the user releases a mouse button and selects an item.\n C{event_info} is the selected item's data .";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_43callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[48]; __pyx_lineno = 528; __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[48]; __pyx_lineno = 528; __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("elementary.c_elementary.Index.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_42callback_selected_add(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":528
+ * self._callback_del_full("delay,changed", _cb_object_item_conv, func)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user releases a mouse button and selects an item.
+ * C{event_info} is the selected item's data ."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_42callback_selected_add(struct PyElementaryIndex *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":531
+ * """When the user releases a mouse button and selects an item.
+ * C{event_info} is the selected item's data ."""
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 531; __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[48]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 531; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Index.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_45callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_45callback_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_10elementary_12c_elementary_5Index_44callback_selected_del(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":533
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_44callback_selected_del(struct PyElementaryIndex *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":534
+ *
+ * def callback_selected_del(self, func):
+ * self._callback_del_full("selected", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_level_up_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 534; __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[48]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_47callback_level_up_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_46callback_level_up_add[] = "When the user moves a finger from the first level to the second\n level.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_47callback_level_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_level_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_level_up_add") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 536; __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_level_up_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 536; __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("elementary.c_elementary.Index.callback_level_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_46callback_level_up_add(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":536
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ * def callback_level_up_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user moves a finger from the first level to the second
+ * level."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_46callback_level_up_add(struct PyElementaryIndex *__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_level_up_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":539
+ * """When the user moves a finger from the first level to the second
+ * level."""
+ * self._callback_add("level,up", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_level_up_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 539; __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[48]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_193));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_193));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_193));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Index.callback_level_up_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_49callback_level_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_49callback_level_up_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_level_up_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_48callback_level_up_del(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":541
+ * self._callback_add("level,up", func, *args, **kwargs)
+ *
+ * def callback_level_up_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("level,up", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_48callback_level_up_del(struct PyElementaryIndex *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_level_up_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":542
+ *
+ * def callback_level_up_del(self, func):
+ * self._callback_del("level,up", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_level_down_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 542; __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[48]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_193));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_193));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_193));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.callback_level_up_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_51callback_level_down_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Index_50callback_level_down_add[] = "When the user moves a finger from the second level to the first\n level.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_51callback_level_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_level_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_level_down_add") < 0)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 544; __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_level_down_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[48]; __pyx_lineno = 544; __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("elementary.c_elementary.Index.callback_level_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_50callback_level_down_add(((struct PyElementaryIndex *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":544
+ * self._callback_del("level,up", func)
+ *
+ * def callback_level_down_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user moves a finger from the second level to the first
+ * level."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_50callback_level_down_add(struct PyElementaryIndex *__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_level_down_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":547
+ * """When the user moves a finger from the second level to the first
+ * level."""
+ * self._callback_add("level,down", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_level_down_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 547; __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[48]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_194));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_194));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_194));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 547; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Index.callback_level_down_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_53callback_level_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Index_53callback_level_down_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_level_down_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Index_52callback_level_down_del(((struct PyElementaryIndex *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":549
+ * self._callback_add("level,down", func, *args, **kwargs)
+ *
+ * def callback_level_down_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("level,down", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Index_52callback_level_down_del(struct PyElementaryIndex *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_level_down_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":550
+ *
+ * def callback_level_down_del(self, func):
+ * self._callback_del("level,down", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("index", Index)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 550; __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[48]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_194));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_194));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_194));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Index.callback_level_down_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12CtxpopupItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12CtxpopupItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_ctxpopup = 0;
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__ctxpopup,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":20
+ *
+ * cdef class CtxpopupItem(ObjectItem):
+ * def __init__(self, evasObject ctxpopup, label = None, evasObject icon = None, callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+ values[1] = ((PyObject *)Py_None);
+ values[2] = (PyObject *)((struct PyEvasObject *)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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__ctxpopup);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 20; __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_ctxpopup = ((struct PyEvasObject *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_icon = ((struct PyEvasObject *)values[2]);
+ __pyx_v_callback = 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[49]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.CtxpopupItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_ctxpopup), __pyx_ptype_4evas_6c_evas_Object, 1, "ctxpopup", 0))) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12CtxpopupItem___init__(((struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem *)__pyx_v_self), __pyx_v_ctxpopup, __pyx_v_label, __pyx_v_icon, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static int __pyx_pf_10elementary_12c_elementary_12CtxpopupItem___init__(struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem *__pyx_v_self, struct PyEvasObject *__pyx_v_ctxpopup, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Elm_Object_Item *__pyx_v_item;
+ Evas_Smart_Cb __pyx_v_cb;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ const char * __pyx_t_5;
+ Evas_Object *__pyx_t_6;
+ int __pyx_t_7;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":22
+ * def __init__(self, evasObject ctxpopup, label = None, evasObject icon = None, callback = None, *args, **kargs):
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":24
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if callback: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_callback); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":25
+ *
+ * if callback:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":26
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_195), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 26; __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[49]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":27
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":29
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ * item = elm_ctxpopup_item_append(ctxpopup.obj,
+ * _cfruni(label) if label is not None else NULL,
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":31
+ * self.params = (callback, args, kargs)
+ * item = elm_ctxpopup_item_append(ctxpopup.obj,
+ * _cfruni(label) if label is not None else NULL, # <<<<<<<<<<<<<<
+ * icon.obj if icon is not None else NULL,
+ * cb,
+ */
+ __pyx_t_4 = (__pyx_v_label != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label);
+ } else {
+ __pyx_t_5 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":32
+ * item = elm_ctxpopup_item_append(ctxpopup.obj,
+ * _cfruni(label) if label is not None else NULL,
+ * icon.obj if icon is not None else NULL, # <<<<<<<<<<<<<<
+ * cb,
+ * <void*>self)
+ */
+ __pyx_t_4 = (((PyObject *)__pyx_v_icon) != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_6 = __pyx_v_icon->obj;
+ } else {
+ __pyx_t_6 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":34
+ * icon.obj if icon is not None else NULL,
+ * cb,
+ * <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_ctxpopup_item_append(__pyx_v_ctxpopup->obj, __pyx_t_5, __pyx_t_6, __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":36
+ * <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":37
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_7 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_CtxpopupItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_7 == 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":39
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Ctxpopup(Object) [object PyElementaryCtxpopup, type PyElementaryCtxpopup_Type]:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L5:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.CtxpopupItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 68; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[49]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup___init__(((struct PyElementaryCtxpopup *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":68
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_ctxpopup_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup___init__(struct PyElementaryCtxpopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":69
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_ctxpopup_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 69; __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[49]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":70
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_ctxpopup_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def hover_parent_set(self, evasObject parent):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Ctxpopup *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_ctxpopup_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Ctxpopup.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_3hover_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_2hover_parent_set[] = "Set the Ctxpopup's parent\n\n Set the parent object.\n\n @see: L{Hover.parent_set()}\n\n @param parent: The parent to use\n @type parent: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_3hover_parent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_parent_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_2hover_parent_set(((struct PyElementaryCtxpopup *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":72
+ * self._set_obj(elm_ctxpopup_add(parent.obj))
+ *
+ * def hover_parent_set(self, evasObject parent): # <<<<<<<<<<<<<<
+ * """Set the Ctxpopup's parent
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_2hover_parent_set(struct PyElementaryCtxpopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_parent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":83
+ *
+ * """
+ * elm_ctxpopup_hover_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def hover_parent_get(self):
+ */
+ elm_ctxpopup_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_5hover_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_4hover_parent_get[] = "Get the Ctxpopup's parent\n\n @see: L{hover_parent_set()} for more information\n\n @return: The hover parent\n @rtype: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_5hover_parent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hover_parent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_4hover_parent_get(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":85
+ * elm_ctxpopup_hover_parent_set(self.obj, parent.obj)
+ *
+ * def hover_parent_get(self): # <<<<<<<<<<<<<<
+ * """Get the Ctxpopup's parent
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_4hover_parent_get(struct PyElementaryCtxpopup *__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("hover_parent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":94
+ *
+ * """
+ * return Object_from_instance(elm_ctxpopup_hover_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property parent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_ctxpopup_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.hover_parent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_6parent_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_6parent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_6parent___get__(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":102
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_ctxpopup_hover_parent_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_6parent___get__(struct PyElementaryCtxpopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":103
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_ctxpopup_hover_parent_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, evasObject parent):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_ctxpopup_hover_parent_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.parent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_6parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_6parent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_parent), __pyx_ptype_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_6parent_2__set__(((struct PyElementaryCtxpopup *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_parent));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":105
+ * return Object_from_instance(elm_ctxpopup_hover_parent_get(self.obj))
+ *
+ * def __set__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * elm_ctxpopup_hover_parent_set(self.obj, parent.obj)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup_6parent_2__set__(struct PyElementaryCtxpopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":106
+ *
+ * def __set__(self, evasObject parent):
+ * elm_ctxpopup_hover_parent_set(self.obj, parent.obj) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ elm_ctxpopup_hover_parent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_parent->obj);
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_7clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_6clear[] = "Clear all items in the given ctxpopup object.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_7clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_6clear(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":108
+ * elm_ctxpopup_hover_parent_set(self.obj, parent.obj)
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * """Clear all items in the given ctxpopup object."""
+ * elm_ctxpopup_clear(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_6clear(struct PyElementaryCtxpopup *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":110
+ * def clear(self):
+ * """Clear all items in the given ctxpopup object."""
+ * elm_ctxpopup_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_set(self, horizontal):
+ */
+ elm_ctxpopup_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_9horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_8horizontal_set[] = "Change the ctxpopup's orientation to horizontal or vertical.\n\n @param horizontal: C{True} for horizontal mode, C{False} for vertical\n @type horizontal: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_9horizontal_set(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("horizontal_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_8horizontal_set(((struct PyElementaryCtxpopup *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":112
+ * elm_ctxpopup_clear(self.obj)
+ *
+ * def horizontal_set(self, horizontal): # <<<<<<<<<<<<<<
+ * """Change the ctxpopup's orientation to horizontal or vertical.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_8horizontal_set(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("horizontal_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":119
+ *
+ * """
+ * elm_ctxpopup_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def horizontal_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_ctxpopup_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.horizontal_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_11horizontal_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_10horizontal_get[] = "Get the value of current ctxpopup object's orientation.\n\n @see: L{horizontal_set()}\n\n @return: C{True} for horizontal mode, C{False} for vertical mode (or errors)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_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_10elementary_12c_elementary_8Ctxpopup_10horizontal_get(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":121
+ * elm_ctxpopup_horizontal_set(self.obj, horizontal)
+ *
+ * def horizontal_get(self): # <<<<<<<<<<<<<<
+ * """Get the value of current ctxpopup object's orientation.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal_get(struct PyElementaryCtxpopup *__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("horizontal_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":130
+ *
+ * """
+ * return bool(elm_ctxpopup_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_ctxpopup_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Ctxpopup.horizontal_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_10horizontal_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_10horizontal_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal___get__(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":138
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_ctxpopup_horizontal_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal___get__(struct PyElementaryCtxpopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":139
+ * """
+ * def __get__(self):
+ * return bool(elm_ctxpopup_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, horizontal):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_ctxpopup_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Ctxpopup.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_10horizontal_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal_2__set__(((struct PyElementaryCtxpopup *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":141
+ * return bool(elm_ctxpopup_horizontal_get(self.obj))
+ *
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_ctxpopup_horizontal_set(self.obj, horizontal)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup_10horizontal_2__set__(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":142
+ *
+ * def __set__(self, horizontal):
+ * elm_ctxpopup_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label, evasObject icon = None, func = None, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_ctxpopup_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_13item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_12item_append[] = "Add a new item to a ctxpopup object.\n\n @warning: Ctxpopup can't hold both an item list and a content at the\n same time. When an item is added, any previous content will be\n removed.\n\n @see: L{Object.content_set()}\n\n @param icon: Icon to be set on new item\n @type icon: L{Object}\n @param label: The Label of the new item\n @type label: string\n @param func: Convenience function called when item selected\n @type func: function\n @return: The item added or C{None}, on errors\n @rtype: L{CtxpopupItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_13item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":144
+ * elm_ctxpopup_horizontal_set(self.obj, horizontal)
+ *
+ * def item_append(self, label, evasObject icon = None, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Add a new item to a ctxpopup object.
+ *
+ */
+ values[1] = (PyObject *)((struct PyEvasObject *)Py_None);
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ 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--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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_label = values[0];
+ __pyx_v_icon = ((struct PyEvasObject *)values[1]);
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[49]; __pyx_lineno = 144; __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("elementary.c_elementary.Ctxpopup.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_12item_append(((struct PyElementaryCtxpopup *)__pyx_v_self), __pyx_v_label, __pyx_v_icon, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_12item_append(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":163
+ *
+ * """
+ * return CtxpopupItem(self, label, icon, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def direction_priority_set(self, first, second, third, fourth):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_1, 2, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_CtxpopupItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Ctxpopup.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_15direction_priority_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_14direction_priority_set[] = "Set the direction priority order of a ctxpopup.\n\n This functions gives a chance to user to set the priority of ctxpopup\n showing direction. This doesn't guarantee the ctxpopup will appear\n in the requested direction.\n\n @param first: 1st priority of direction\n @type first: Elm_Ctxpopup_Direction\n @param second: 2nd priority of direction\n @type second: Elm_Ctxpopup_Direction\n @param third: 3th priority of direction\n @type third: Elm_Ctxpopup_Direction\n @param fourth: 4th priority of direction\n @type fourth: Elm_Ctxpopup_Direction\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_15direction_priority_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_first = 0;
+ PyObject *__pyx_v_second = 0;
+ PyObject *__pyx_v_third = 0;
+ PyObject *__pyx_v_fourth = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__first,&__pyx_n_s__second,&__pyx_n_s__third,&__pyx_n_s__fourth,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("direction_priority_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__first);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__second);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("direction_priority_set", 1, 4, 4, 1); {__pyx_filename = __pyx_f[49]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__third);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("direction_priority_set", 1, 4, 4, 2); {__pyx_filename = __pyx_f[49]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__fourth);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("direction_priority_set", 1, 4, 4, 3); {__pyx_filename = __pyx_f[49]; __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, "direction_priority_set") < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 165; __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_first = values[0];
+ __pyx_v_second = values[1];
+ __pyx_v_third = values[2];
+ __pyx_v_fourth = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("direction_priority_set", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[49]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction_priority_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_14direction_priority_set(((struct PyElementaryCtxpopup *)__pyx_v_self), __pyx_v_first, __pyx_v_second, __pyx_v_third, __pyx_v_fourth);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":165
+ * return CtxpopupItem(self, label, icon, func, *args, **kwargs)
+ *
+ * def direction_priority_set(self, first, second, third, fourth): # <<<<<<<<<<<<<<
+ * """Set the direction priority order of a ctxpopup.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_14direction_priority_set(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_first, PyObject *__pyx_v_second, PyObject *__pyx_v_third, PyObject *__pyx_v_fourth) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Ctxpopup_Direction __pyx_t_1;
+ Elm_Ctxpopup_Direction __pyx_t_2;
+ Elm_Ctxpopup_Direction __pyx_t_3;
+ Elm_Ctxpopup_Direction __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("direction_priority_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":182
+ *
+ * """
+ * elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth) # <<<<<<<<<<<<<<
+ *
+ * def direction_priority_get(self):
+ */
+ __pyx_t_1 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_v_first)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_v_second)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_v_third)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_v_fourth)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_ctxpopup_direction_priority_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction_priority_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_17direction_priority_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_16direction_priority_get[] = "Get the direction priority order of a ctxpopup.\n\n @see: L{direction_priority_set()} for more information.\n\n @return: The direction priority order\n @rtype: tuple of Elm_Ctxpopup_Direction\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_17direction_priority_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("direction_priority_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_16direction_priority_get(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":184
+ * elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth)
+ *
+ * def direction_priority_get(self): # <<<<<<<<<<<<<<
+ * """Get the direction priority order of a ctxpopup.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_16direction_priority_get(struct PyElementaryCtxpopup *__pyx_v_self) {
+ Elm_Ctxpopup_Direction __pyx_v_first;
+ Elm_Ctxpopup_Direction __pyx_v_second;
+ Elm_Ctxpopup_Direction __pyx_v_third;
+ Elm_Ctxpopup_Direction __pyx_v_fourth;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("direction_priority_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":194
+ * """
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth) # <<<<<<<<<<<<<<
+ * return (first, second, third, fourth)
+ *
+ */
+ elm_ctxpopup_direction_priority_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_first), (&__pyx_v_second), (&__pyx_v_third), (&__pyx_v_fourth));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":195
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth)
+ * return (first, second, third, fourth) # <<<<<<<<<<<<<<
+ *
+ * property direction_priority:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_first); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_second); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_third); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_fourth); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction_priority_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_18direction_priority_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_18direction_priority_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_priority___get__(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":207
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_priority___get__(struct PyElementaryCtxpopup *__pyx_v_self) {
+ Elm_Ctxpopup_Direction __pyx_v_first;
+ Elm_Ctxpopup_Direction __pyx_v_second;
+ Elm_Ctxpopup_Direction __pyx_v_third;
+ Elm_Ctxpopup_Direction __pyx_v_fourth;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":209
+ * def __get__(self):
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth) # <<<<<<<<<<<<<<
+ * return (first, second, third, fourth)
+ *
+ */
+ elm_ctxpopup_direction_priority_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_first), (&__pyx_v_second), (&__pyx_v_third), (&__pyx_v_fourth));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":210
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth)
+ * return (first, second, third, fourth) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, priority):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_first); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_second); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_third); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_fourth); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction_priority.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_18direction_priority_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Ctxpopup_18direction_priority_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_priority) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_priority_2__set__(((struct PyElementaryCtxpopup *)__pyx_v_self), ((PyObject *)__pyx_v_priority));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":212
+ * return (first, second, third, fourth)
+ *
+ * def __set__(self, priority): # <<<<<<<<<<<<<<
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * first, second, third, fourth = priority
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_priority_2__set__(struct PyElementaryCtxpopup *__pyx_v_self, PyObject *__pyx_v_priority) {
+ Elm_Ctxpopup_Direction __pyx_v_first;
+ Elm_Ctxpopup_Direction __pyx_v_second;
+ Elm_Ctxpopup_Direction __pyx_v_third;
+ Elm_Ctxpopup_Direction __pyx_v_fourth;
+ int __pyx_r;
+ __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)(PyObject *);
+ Elm_Ctxpopup_Direction __pyx_t_7;
+ Elm_Ctxpopup_Direction __pyx_t_8;
+ Elm_Ctxpopup_Direction __pyx_t_9;
+ Elm_Ctxpopup_Direction __pyx_t_10;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":214
+ * def __set__(self, priority):
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * first, second, third, fourth = priority # <<<<<<<<<<<<<<
+ * elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_priority))) || (PyList_CheckExact(__pyx_v_priority))) {
+ PyObject* sequence = __pyx_v_priority;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_5 = PyObject_GetIter(__pyx_v_priority); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = Py_TYPE(__pyx_t_5)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 3; __pyx_t_4 = __pyx_t_6(__pyx_t_5); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_5), 4) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_7 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_t_1)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_8 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_t_2)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_9 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_t_3)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_10 = ((Elm_Ctxpopup_Direction)PyInt_AsLong(__pyx_t_4)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_v_first = __pyx_t_7;
+ __pyx_v_second = __pyx_t_8;
+ __pyx_v_third = __pyx_t_9;
+ __pyx_v_fourth = __pyx_t_10;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":215
+ * cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ * first, second, third, fourth = priority
+ * elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth) # <<<<<<<<<<<<<<
+ *
+ * def direction_get(self):
+ */
+ elm_ctxpopup_direction_priority_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_first, __pyx_v_second, __pyx_v_third, __pyx_v_fourth);
+
+ __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_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction_priority.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_19direction_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_18direction_get[] = "Get the current direction of a ctxpopup.\n\n @warning: Only once the ctxpopup is shown can the direction be\n determined\n\n @return: current direction of a ctxpopup\n @rtype: Elm_Ctxpopup_Direction\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_19direction_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("direction_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_get(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":217
+ * elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth)
+ *
+ * def direction_get(self): # <<<<<<<<<<<<<<
+ * """Get the current direction of a ctxpopup.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_18direction_get(struct PyElementaryCtxpopup *__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("direction_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":227
+ *
+ * """
+ * return elm_ctxpopup_direction_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property direction:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_ctxpopup_direction_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_9direction_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_9direction_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_9direction___get__(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":238
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_ctxpopup_direction_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_9direction___get__(struct PyElementaryCtxpopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":239
+ * """
+ * def __get__(self):
+ * return elm_ctxpopup_direction_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def dismiss(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_ctxpopup_direction_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Ctxpopup.direction.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_21dismiss(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_20dismiss[] = "Dismiss a ctxpopup object\n\n Use this function to simulate clicking outside the ctxpopup to\n dismiss it. In this way, the ctxpopup will be hidden and the\n \"clicked\" signal will be emitted.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_21dismiss(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("dismiss (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_20dismiss(((struct PyElementaryCtxpopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":241
+ * return elm_ctxpopup_direction_get(self.obj)
+ *
+ * def dismiss(self): # <<<<<<<<<<<<<<
+ * """Dismiss a ctxpopup object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_20dismiss(struct PyElementaryCtxpopup *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("dismiss", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":249
+ *
+ * """
+ * elm_ctxpopup_dismiss(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_dismissed_add(self, func, *args, **kwargs):
+ */
+ elm_ctxpopup_dismiss(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_23callback_dismissed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Ctxpopup_22callback_dismissed_add[] = "the ctxpopup was dismissed";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_23callback_dismissed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_dismissed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_dismissed_add") < 0)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 251; __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_dismissed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[49]; __pyx_lineno = 251; __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("elementary.c_elementary.Ctxpopup.callback_dismissed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_22callback_dismissed_add(((struct PyElementaryCtxpopup *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":251
+ * elm_ctxpopup_dismiss(self.obj)
+ *
+ * def callback_dismissed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the ctxpopup was dismissed"""
+ * self._callback_add("dismissed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_22callback_dismissed_add(struct PyElementaryCtxpopup *__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_dismissed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":253
+ * def callback_dismissed_add(self, func, *args, **kwargs):
+ * """the ctxpopup was dismissed"""
+ * self._callback_add("dismissed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_dismissed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 253; __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[49]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__dismissed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__dismissed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__dismissed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Ctxpopup.callback_dismissed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_25callback_dismissed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Ctxpopup_25callback_dismissed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_dismissed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Ctxpopup_24callback_dismissed_del(((struct PyElementaryCtxpopup *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":255
+ * self._callback_add("dismissed", func, *args, **kwargs)
+ *
+ * def callback_dismissed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("dismissed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Ctxpopup_24callback_dismissed_del(struct PyElementaryCtxpopup *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_dismissed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":256
+ *
+ * def callback_dismissed_del(self, func):
+ * self._callback_del("dismissed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("ctxpopup", Ctxpopup)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 256; __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[49]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__dismissed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__dismissed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__dismissed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Ctxpopup.callback_dismissed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4Grid_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4Grid_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 34; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid___init__(((struct PyElementaryGrid *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":34
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_grid_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4Grid___init__(struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":35
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_grid_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 35; __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[50]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":36
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_grid_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def size_set(self, w, h):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Grid *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_grid_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Grid.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_3size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_2size_set[] = "Set the virtual size of the grid.\n\n @param w: The virtual width of the grid\n @type w: Evas_Coord (int)\n @param h: The virtual height of the grid\n @type h: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_3size_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("size_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("size_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "size_set") < 0)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 38; __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("size_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_2size_set(((struct PyElementaryGrid *)__pyx_v_self), __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":38
+ * self._set_obj(elm_grid_add(parent.obj))
+ *
+ * def size_set(self, w, h): # <<<<<<<<<<<<<<
+ * """Set the virtual size of the grid.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_2size_set(struct PyElementaryGrid *__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("size_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":47
+ *
+ * """
+ * elm_grid_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def size_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_grid_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.size_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_5size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_4size_get[] = "Get the virtual size of the grid.\n\n @return: The virtual width and height of the grid\n @rtype: tuple of Evas_Coords (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_5size_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("size_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_4size_get(((struct PyElementaryGrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":49
+ * elm_grid_size_set(self.obj, w, h)
+ *
+ * def size_get(self): # <<<<<<<<<<<<<<
+ * """Get the virtual size of the grid.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_4size_get(struct PyElementaryGrid *__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("size_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":57
+ * """
+ * cdef Evas_Coord w, h
+ * elm_grid_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_grid_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":58
+ * cdef Evas_Coord w, h
+ * elm_grid_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 58; __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[50]; __pyx_lineno = 58; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Grid.size_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4Grid_4size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4Grid_4size_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_4size___set__(((struct PyElementaryGrid *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":66
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * w, h = value
+ * elm_grid_size_set(self.obj, w, h)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4Grid_4size___set__(struct PyElementaryGrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":67
+ * """
+ * def __set__(self, value):
+ * w, h = value # <<<<<<<<<<<<<<
+ * elm_grid_size_set(self.obj, w, h)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[50]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[50]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 67; __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[50]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[50]; __pyx_lineno = 67; __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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":68
+ * def __set__(self, value):
+ * w, h = value
+ * elm_grid_size_set(self.obj, w, h) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_5 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_6 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_grid_size_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Grid.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_4size_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_4size_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_4size_2__get__(((struct PyElementaryGrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":70
+ * elm_grid_size_set(self.obj, w, h)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord w, h
+ * elm_grid_size_get(self.obj, &w, &h)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_4size_2__get__(struct PyElementaryGrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":72
+ * def __get__(self):
+ * cdef Evas_Coord w, h
+ * elm_grid_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_grid_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":73
+ * cdef Evas_Coord w, h
+ * elm_grid_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * def pack(self, evasObject subobj, x, y, w, h):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 73; __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[50]; __pyx_lineno = 73; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Grid.size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_7pack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_6pack[] = "pack(subobj, x, y, w, h)\n\n Pack child at given position and size\n\n @param subobj: The child to pack\n @type subobj: L{Object}\n @param x: The virtual x coord at which to pack it\n @type x: Evas_Coord (int)\n @param y: The virtual y coord at which to pack it\n @type y: Evas_Coord (int)\n @param w: The virtual width at which to pack it\n @type w: Evas_Coord (int)\n @param h: The virtual height at which to pack it\n @type h: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_7pack(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_subobj = 0;
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__subobj,&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__subobj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 1); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 2); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 3); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, 4); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "pack") < 0)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_subobj = ((struct PyEvasObject *)values[0]);
+ __pyx_v_x = values[1];
+ __pyx_v_y = values[2];
+ __pyx_v_w = values[3];
+ __pyx_v_h = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("pack", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.pack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_6pack(((struct PyElementaryGrid *)__pyx_v_self), __pyx_v_subobj, __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":75
+ * return (w, h)
+ *
+ * def pack(self, evasObject subobj, x, y, w, h): # <<<<<<<<<<<<<<
+ * """pack(subobj, x, y, w, h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_6pack(struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ Evas_Coord __pyx_t_3;
+ Evas_Coord __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":92
+ *
+ * """
+ * elm_grid_pack(self.obj, subobj.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def unpack(self, evasObject subobj):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_3 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_4 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_grid_pack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_subobj->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.pack", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_9unpack(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_8unpack[] = "unpack(subobj)\n\n Unpack a child from a grid object\n\n @param subobj: The child to unpack\n @type subobj: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_9unpack(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_8unpack(((struct PyElementaryGrid *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_subobj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":94
+ * elm_grid_pack(self.obj, subobj.obj, x, y, w, h)
+ *
+ * def unpack(self, evasObject subobj): # <<<<<<<<<<<<<<
+ * """unpack(subobj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_8unpack(struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("unpack", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":103
+ *
+ * """
+ * elm_grid_unpack(self.obj, subobj.obj) # <<<<<<<<<<<<<<
+ *
+ * def clear(self, clear):
+ */
+ elm_grid_unpack(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_subobj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_11clear(PyObject *__pyx_v_self, PyObject *__pyx_v_clear); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_10clear[] = "clear(clear)\n\n Faster way to remove all child objects from a grid object.\n\n @param clear: If True, it will delete just removed children\n @type clear: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_11clear(PyObject *__pyx_v_self, PyObject *__pyx_v_clear) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_10clear(((struct PyElementaryGrid *)__pyx_v_self), ((PyObject *)__pyx_v_clear));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":105
+ * elm_grid_unpack(self.obj, subobj.obj)
+ *
+ * def clear(self, clear): # <<<<<<<<<<<<<<
+ * """clear(clear)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_10clear(struct PyElementaryGrid *__pyx_v_self, PyObject *__pyx_v_clear) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":114
+ *
+ * """
+ * elm_grid_clear(self.obj, clear) # <<<<<<<<<<<<<<
+ *
+ * def pack_set(self, evasObject subobj, x, y, w, h):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_clear); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_grid_clear(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.clear", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_13pack_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_12pack_set[] = "pack_set(subobj, x, y, w, h)\n\n Set packing of an existing child at to position and size\n\n @param subobj: The child to set packing of\n @type subobj: L{Object}\n @param x: The virtual x coord at which to pack it\n @type x: Evas_Coord (int)\n @param y: The virtual y coord at which to pack it\n @type y: Evas_Coord (int)\n @param w: The virtual width at which to pack it\n @type w: Evas_Coord (int)\n @param h: The virtual height at which to pack it\n @type h: Evas_Coord (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_13pack_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_subobj = 0;
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__subobj,&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_set (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__subobj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 5, 5, 1); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 5, 5, 2); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 5, 5, 3); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 5, 5, 4); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "pack_set") < 0)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_subobj = ((struct PyEvasObject *)values[0]);
+ __pyx_v_x = values[1];
+ __pyx_v_y = values[2];
+ __pyx_v_w = values[3];
+ __pyx_v_h = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("pack_set", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.pack_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_12pack_set(((struct PyElementaryGrid *)__pyx_v_self), __pyx_v_subobj, __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":116
+ * elm_grid_clear(self.obj, clear)
+ *
+ * def pack_set(self, evasObject subobj, x, y, w, h): # <<<<<<<<<<<<<<
+ * """pack_set(subobj, x, y, w, h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_12pack_set(CYTHON_UNUSED struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ Evas_Coord __pyx_t_3;
+ Evas_Coord __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pack_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":133
+ *
+ * """
+ * elm_grid_pack_set(subobj.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def pack_get(self, evasObject subobj):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_w); if (unlikely((__pyx_t_3 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_h); if (unlikely((__pyx_t_4 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_grid_pack_set(__pyx_v_subobj->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.pack_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_15pack_get(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_14pack_get[] = "pack_get(subobj)\n\n Get packing of a child\n\n @param subobj: The child to query\n @type subobj: L{Object}\n\n return: The position and size\n rtype: tuple of Evas_Coords (int)\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_15pack_get(PyObject *__pyx_v_self, PyObject *__pyx_v_subobj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pack_get (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_subobj), __pyx_ptype_4evas_6c_evas_Object, 1, "subobj", 0))) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_14pack_get(((struct PyElementaryGrid *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_subobj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":135
+ * elm_grid_pack_set(subobj.obj, x, y, w, h)
+ *
+ * def pack_get(self, evasObject subobj): # <<<<<<<<<<<<<<
+ * """pack_get(subobj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_14pack_get(CYTHON_UNUSED struct PyElementaryGrid *__pyx_v_self, struct PyEvasObject *__pyx_v_subobj) {
+ Evas_Coord __pyx_v_x;
+ Evas_Coord __pyx_v_y;
+ 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;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("pack_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":148
+ * """
+ * cdef Evas_Coord x, y, w, h
+ * elm_grid_pack_get(subobj.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_grid_pack_get(__pyx_v_subobj->obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":149
+ * cdef Evas_Coord x, y, w, h
+ * elm_grid_pack_get(subobj.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def children_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.pack_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_17children_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Grid_16children_get[] = "Get the list of the children for the grid.\n\n @return: The list of children\n @rtype: tuple of L{Object}s\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_17children_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("children_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_16children_get(((struct PyElementaryGrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":151
+ * return (x, y, w, h)
+ *
+ * def children_get(self): # <<<<<<<<<<<<<<
+ * """Get the list of the children for the grid.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_16children_get(struct PyElementaryGrid *__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("children_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":158
+ *
+ * """
+ * return _object_list_to_python(elm_box_children_get(self.obj)) # <<<<<<<<<<<<<<
+ * #~ cdef Evas_Object *o
+ * #~ cdef Object obj
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_list_to_python(elm_box_children_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 158; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.children_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_8children_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Grid_8children_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Grid_8children___get__(((struct PyElementaryGrid *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":178
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_list_to_python(elm_box_children_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Grid_8children___get__(struct PyElementaryGrid *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":179
+ * """
+ * def __get__(self):
+ * return _object_list_to_python(elm_box_children_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("grid", Grid)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_list_to_python(elm_box_children_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Grid.children.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Video_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Video_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 29; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Video.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video___init__(((struct PyElementaryVideo *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":29
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_video_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Video___init__(struct PyElementaryVideo *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":30
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_video_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 30; __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[51]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":31
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_video_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def file_set(self, filename):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Video *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_video_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Video.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_v_filename); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_2file_set[] = "Define the file or URI that will be the video source.\n\n This function will explicitly define a file or URI as a source\n for the video of the Elm_Video object.\n\n @param filename: The file or URI to target.\n Local files can be specified using file:// or by using full file\n paths. URI could be remote source of video, like http:// or\n local source like WebCam (v4l2://). (You can use Emotion API to\n request and list the available Webcam on your system).\n @type filename: string\n\n @return: C{True} on success, C{False} otherwise\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_3file_set(PyObject *__pyx_v_self, PyObject *__pyx_v_filename) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("file_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_2file_set(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_filename));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":33
+ * self._set_obj(elm_video_add(parent.obj))
+ *
+ * def file_set(self, filename): # <<<<<<<<<<<<<<
+ * """Define the file or URI that will be the video source.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_2file_set(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_filename) {
+ 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("file_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":50
+ *
+ * """
+ * return bool(elm_video_file_set(self.obj, _cfruni(filename))) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_video_file_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Video.file_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Video_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_filename); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Video_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_filename) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_4file___set__(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_filename));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":66
+ *
+ * """
+ * def __set__(self, filename): # <<<<<<<<<<<<<<
+ * # TODO: check return value
+ * elm_video_file_set(self.obj, _cfruni(filename))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Video_4file___set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_filename) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":68
+ * def __set__(self, filename):
+ * # TODO: check return value
+ * elm_video_file_set(self.obj, _cfruni(filename)) # <<<<<<<<<<<<<<
+ *
+ * def emotion_get(self):
+ */
+ elm_video_file_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_filename));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_5emotion_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_4emotion_get[] = "Get the underlying Emotion object.\n\n @return: the underlying Emotion object.\n @rtype: emotion.Object\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_5emotion_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("emotion_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_4emotion_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":70
+ * elm_video_file_set(self.obj, _cfruni(filename))
+ *
+ * def emotion_get(self): # <<<<<<<<<<<<<<
+ * """Get the underlying Emotion object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_4emotion_get(struct PyElementaryVideo *__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("emotion_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":77
+ *
+ * """
+ * return Object_from_instance(elm_video_emotion_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property emotion:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_video_emotion_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Video.emotion_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_7emotion_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_7emotion_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_7emotion___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":85
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_video_emotion_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_7emotion___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":86
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_video_emotion_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def play(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_video_emotion_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Video.emotion.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_7play(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_6play[] = "play()\n\n Start to play the video and cancel all suspend state.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_7play(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("play (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_6play(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":88
+ * return Object_from_instance(elm_video_emotion_get(self.obj))
+ *
+ * def play(self): # <<<<<<<<<<<<<<
+ * """play()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_6play(struct PyElementaryVideo *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("play", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":94
+ *
+ * """
+ * elm_video_play(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def pause(self):
+ */
+ elm_video_play(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_9pause(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_8pause[] = "pause()\n\n Pause the video and start a timer to trigger suspend mode.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_9pause(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pause (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_8pause(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":96
+ * elm_video_play(self.obj)
+ *
+ * def pause(self): # <<<<<<<<<<<<<<
+ * """pause()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_8pause(struct PyElementaryVideo *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("pause", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":102
+ *
+ * """
+ * elm_video_pause(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def stop(self):
+ */
+ elm_video_pause(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11stop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_10stop[] = "stop()\n\n Stop the video and put the emotion in deep sleep mode.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11stop(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("stop (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_10stop(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":104
+ * elm_video_pause(self.obj)
+ *
+ * def stop(self): # <<<<<<<<<<<<<<
+ * """stop()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_10stop(struct PyElementaryVideo *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("stop", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":110
+ *
+ * """
+ * elm_video_stop(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def is_playing_get(self):
+ */
+ elm_video_stop(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_13is_playing_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_12is_playing_get[] = "Is the video actually playing.\n\n You should consider watching event on the object instead of polling\n the object state.\n\n @return: C{True} if the video is actually playing.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_13is_playing_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_playing_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_12is_playing_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":112
+ * elm_video_stop(self.obj)
+ *
+ * def is_playing_get(self): # <<<<<<<<<<<<<<
+ * """Is the video actually playing.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_12is_playing_get(struct PyElementaryVideo *__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("is_playing_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":122
+ *
+ * """
+ * return bool(elm_video_is_playing_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property is_playing:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_video_is_playing_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Video.is_playing_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_10is_playing_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_10is_playing_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_10is_playing___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":133
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.is_playing_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_10is_playing___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":134
+ * """
+ * def __get__(self):
+ * return self.is_playing_get() # <<<<<<<<<<<<<<
+ *
+ * def is_seekable_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__is_playing_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 134; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.is_playing.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_15is_seekable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_14is_seekable_get[] = "Is it possible to seek inside the video.\n\n @return: C{True} if is possible to seek inside the video.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_15is_seekable_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("is_seekable_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_14is_seekable_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":136
+ * return self.is_playing_get()
+ *
+ * def is_seekable_get(self): # <<<<<<<<<<<<<<
+ * """Is it possible to seek inside the video.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_14is_seekable_get(struct PyElementaryVideo *__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("is_seekable_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":143
+ *
+ * """
+ * return bool(elm_video_is_seekable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property is_seekable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_video_is_seekable_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Video.is_seekable_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11is_seekable_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11is_seekable_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_11is_seekable___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":151
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.is_seekable_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_11is_seekable___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":152
+ * """
+ * def __get__(self):
+ * return self.is_seekable_get() # <<<<<<<<<<<<<<
+ *
+ * def audio_mute_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__is_seekable_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 152; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.is_seekable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_17audio_mute_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_16audio_mute_get[] = "Is the audio muted.\n\n @return: C{True} if the audio is muted.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_17audio_mute_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("audio_mute_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_16audio_mute_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":154
+ * return self.is_seekable_get()
+ *
+ * def audio_mute_get(self): # <<<<<<<<<<<<<<
+ * """Is the audio muted.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_16audio_mute_get(struct PyElementaryVideo *__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("audio_mute_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":161
+ *
+ * """
+ * return bool(elm_video_audio_mute_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def audio_mute_set(self, mute):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_video_audio_mute_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 161; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Video.audio_mute_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_19audio_mute_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mute); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_18audio_mute_set[] = "Change the mute state of the Elm_Video object.\n\n @param mute: The new mute state.\n @type mute: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_19audio_mute_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mute) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("audio_mute_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_18audio_mute_set(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_mute));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":163
+ * return bool(elm_video_audio_mute_get(self.obj))
+ *
+ * def audio_mute_set(self, mute): # <<<<<<<<<<<<<<
+ * """Change the mute state of the Elm_Video object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_18audio_mute_set(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_mute) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("audio_mute_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":170
+ *
+ * """
+ * elm_video_audio_mute_set(self.obj, mute) # <<<<<<<<<<<<<<
+ *
+ * property audio_mute:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_mute); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_video_audio_mute_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Video.audio_mute_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_10audio_mute_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_10audio_mute_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_10audio_mute___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":178
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.audio_mute_get()
+ * def __set__(self, mute):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_10audio_mute___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":179
+ * """
+ * def __get__(self):
+ * return self.audio_mute_get() # <<<<<<<<<<<<<<
+ * def __set__(self, mute):
+ * self.audio_mute_set(mute)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__audio_mute_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 179; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.audio_mute.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Video_10audio_mute_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mute); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Video_10audio_mute_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mute) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_10audio_mute_2__set__(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_mute));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":180
+ * def __get__(self):
+ * return self.audio_mute_get()
+ * def __set__(self, mute): # <<<<<<<<<<<<<<
+ * self.audio_mute_set(mute)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Video_10audio_mute_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_mute) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":181
+ * return self.audio_mute_get()
+ * def __set__(self, mute):
+ * self.audio_mute_set(mute) # <<<<<<<<<<<<<<
+ *
+ * def audio_level_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__audio_mute_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_mute);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_mute);
+ __Pyx_GIVEREF(__pyx_v_mute);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Video.audio_mute.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_21audio_level_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_20audio_level_get[] = "Get the audio level of the current video.\n\n @return: the current audio level.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_21audio_level_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("audio_level_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_20audio_level_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":183
+ * self.audio_mute_set(mute)
+ *
+ * def audio_level_get(self): # <<<<<<<<<<<<<<
+ * """Get the audio level of the current video.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_20audio_level_get(struct PyElementaryVideo *__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("audio_level_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":190
+ *
+ * """
+ * return elm_video_audio_level_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def audio_level_set(self, double volume):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_video_audio_level_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Video.audio_level_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_23audio_level_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_volume); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_22audio_level_set[] = "Set the audio level of an Video object.\n\n @param volume: The new audio volume.\n @type volume: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_23audio_level_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_volume) {
+ double __pyx_v_volume;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("audio_level_set (wrapper)", 0);
+ assert(__pyx_arg_volume); {
+ __pyx_v_volume = __pyx_PyFloat_AsDouble(__pyx_arg_volume); if (unlikely((__pyx_v_volume == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Video.audio_level_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_22audio_level_set(((struct PyElementaryVideo *)__pyx_v_self), ((double)__pyx_v_volume));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":192
+ * return elm_video_audio_level_get(self.obj)
+ *
+ * def audio_level_set(self, double volume): # <<<<<<<<<<<<<<
+ * """Set the audio level of an Video object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_22audio_level_set(struct PyElementaryVideo *__pyx_v_self, double __pyx_v_volume) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("audio_level_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":199
+ *
+ * """
+ * elm_video_audio_level_set(self.obj, volume) # <<<<<<<<<<<<<<
+ *
+ * property audio_level:
+ */
+ elm_video_audio_level_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_volume);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11audio_level_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11audio_level_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_11audio_level___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":207
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.audio_level_get()
+ * def __set__(self, volume):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_11audio_level___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":208
+ * """
+ * def __get__(self):
+ * return self.audio_level_get() # <<<<<<<<<<<<<<
+ * def __set__(self, volume):
+ * self.audio_level_set(volume)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__audio_level_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 208; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.audio_level.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Video_11audio_level_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_volume); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Video_11audio_level_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_volume) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_11audio_level_2__set__(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_volume));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":209
+ * def __get__(self):
+ * return self.audio_level_get()
+ * def __set__(self, volume): # <<<<<<<<<<<<<<
+ * self.audio_level_set(volume)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Video_11audio_level_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_volume) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":210
+ * return self.audio_level_get()
+ * def __set__(self, volume):
+ * self.audio_level_set(volume) # <<<<<<<<<<<<<<
+ *
+ * def play_position_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__audio_level_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_volume);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_volume);
+ __Pyx_GIVEREF(__pyx_v_volume);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Video.audio_level.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_25play_position_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_24play_position_get[] = "Get the current position (in seconds) being played in the Video\n object.\n\n @return: The time (in seconds) since the beginning of the media file.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_25play_position_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("play_position_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_24play_position_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":212
+ * self.audio_level_set(volume)
+ *
+ * def play_position_get(self): # <<<<<<<<<<<<<<
+ * """Get the current position (in seconds) being played in the Video
+ * object.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_24play_position_get(struct PyElementaryVideo *__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("play_position_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":220
+ *
+ * """
+ * return elm_video_play_position_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def play_position_set(self, double position):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_video_play_position_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Video.play_position_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_27play_position_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_position); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_26play_position_set[] = "Set the current position (in seconds) to be played in the Video\n object.\n\n @param position: The time (in seconds) since the beginning of the\n media file.\n @type position: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_27play_position_set(PyObject *__pyx_v_self, PyObject *__pyx_arg_position) {
+ double __pyx_v_position;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("play_position_set (wrapper)", 0);
+ assert(__pyx_arg_position); {
+ __pyx_v_position = __pyx_PyFloat_AsDouble(__pyx_arg_position); if (unlikely((__pyx_v_position == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Video.play_position_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_26play_position_set(((struct PyElementaryVideo *)__pyx_v_self), ((double)__pyx_v_position));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":222
+ * return elm_video_play_position_get(self.obj)
+ *
+ * def play_position_set(self, double position): # <<<<<<<<<<<<<<
+ * """Set the current position (in seconds) to be played in the Video
+ * object.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_26play_position_set(struct PyElementaryVideo *__pyx_v_self, double __pyx_v_position) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("play_position_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":231
+ *
+ * """
+ * elm_video_play_position_set(self.obj, position) # <<<<<<<<<<<<<<
+ *
+ * property play_position:
+ */
+ elm_video_play_position_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_v_position);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_13play_position_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_13play_position_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_13play_position___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":240
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.play_position_get()
+ * def __set__(self, position):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_13play_position___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":241
+ * """
+ * def __get__(self):
+ * return self.play_position_get() # <<<<<<<<<<<<<<
+ * def __set__(self, position):
+ * self.play_position_set(position)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__play_position_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 241; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.play_position.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Video_13play_position_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_position); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Video_13play_position_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_position) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_13play_position_2__set__(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_position));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":242
+ * def __get__(self):
+ * return self.play_position_get()
+ * def __set__(self, position): # <<<<<<<<<<<<<<
+ * self.play_position_set(position)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Video_13play_position_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_position) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":243
+ * return self.play_position_get()
+ * def __set__(self, position):
+ * self.play_position_set(position) # <<<<<<<<<<<<<<
+ *
+ * def play_length_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__play_position_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_position);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_position);
+ __Pyx_GIVEREF(__pyx_v_position);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Video.play_position.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_29play_length_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_28play_length_get[] = "Get the total playing time (in seconds) of the Video object.\n\n @return: The total duration (in seconds) of the media file.\n @rtype: float\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_29play_length_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("play_length_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_28play_length_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":245
+ * self.play_position_set(position)
+ *
+ * def play_length_get(self): # <<<<<<<<<<<<<<
+ * """Get the total playing time (in seconds) of the Video object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_28play_length_get(struct PyElementaryVideo *__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("play_length_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":252
+ *
+ * """
+ * return elm_video_play_length_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property play_length:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_video_play_length_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Video.play_length_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11play_length_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_11play_length_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_11play_length___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":260
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.play_length_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_11play_length___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":261
+ * """
+ * def __get__(self):
+ * return self.play_length_get() # <<<<<<<<<<<<<<
+ *
+ * def remember_position_set(self, remember):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__play_length_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 261; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.play_length.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_31remember_position_set(PyObject *__pyx_v_self, PyObject *__pyx_v_remember); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_30remember_position_set[] = "Set whether the object can remember the last played position.\n\n @note: This API only serves as indication. System support is required.\n\n @param remember: whether the object remembers the last played position\n (C{True}) or not.\n @type remember: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_31remember_position_set(PyObject *__pyx_v_self, PyObject *__pyx_v_remember) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("remember_position_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_30remember_position_set(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_remember));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":263
+ * return self.play_length_get()
+ *
+ * def remember_position_set(self, remember): # <<<<<<<<<<<<<<
+ * """Set whether the object can remember the last played position.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_30remember_position_set(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_remember) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("remember_position_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":273
+ *
+ * """
+ * elm_video_remember_position_set(self.obj, remember) # <<<<<<<<<<<<<<
+ *
+ * def remember_position_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_remember); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_video_remember_position_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Video.remember_position_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_33remember_position_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_32remember_position_get[] = "Get whether the object can remember the last played position.\n\n @note: This API only serves as indication. System support is required.\n\n @return: whether the object remembers the last played position\n (C{True}) or not.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_33remember_position_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("remember_position_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_32remember_position_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":275
+ * elm_video_remember_position_set(self.obj, remember)
+ *
+ * def remember_position_get(self): # <<<<<<<<<<<<<<
+ * """Get whether the object can remember the last played position.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_32remember_position_get(struct PyElementaryVideo *__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("remember_position_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":285
+ *
+ * """
+ * return bool(elm_video_remember_position_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property remember_position:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_video_remember_position_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Video.remember_position_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_17remember_position_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_17remember_position_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_17remember_position___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":295
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.remember_position_get()
+ * def __set__(self, remember):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_17remember_position___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":296
+ * """
+ * def __get__(self):
+ * return self.remember_position_get() # <<<<<<<<<<<<<<
+ * def __set__(self, remember):
+ * self.remember_position_set(remember)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_196); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 296; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.remember_position.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Video_17remember_position_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_remember); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Video_17remember_position_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_remember) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_17remember_position_2__set__(((struct PyElementaryVideo *)__pyx_v_self), ((PyObject *)__pyx_v_remember));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":297
+ * def __get__(self):
+ * return self.remember_position_get()
+ * def __set__(self, remember): # <<<<<<<<<<<<<<
+ * self.remember_position_set(remember)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Video_17remember_position_2__set__(struct PyElementaryVideo *__pyx_v_self, PyObject *__pyx_v_remember) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":298
+ * return self.remember_position_get()
+ * def __set__(self, remember):
+ * self.remember_position_set(remember) # <<<<<<<<<<<<<<
+ *
+ * def title_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_197); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_remember);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_remember);
+ __Pyx_GIVEREF(__pyx_v_remember);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Video.remember_position.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_35title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Video_34title_get[] = "Get the title (for instance DVD title) from this emotion object.\n\n This function is only useful when playing a DVD.\n\n @note: Don't change or free the string returned by this function.\n\n @return: A string containing the title.\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_35title_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("title_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_34title_get(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":300
+ * self.remember_position_set(remember)
+ *
+ * def title_get(self): # <<<<<<<<<<<<<<
+ * """Get the title (for instance DVD title) from this emotion object.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_34title_get(struct PyElementaryVideo *__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("title_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":311
+ *
+ * """
+ * return _ctouni(elm_video_title_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property title:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_video_title_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Video.title_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_5title_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Video_5title_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Video_5title___get__(((struct PyElementaryVideo *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":323
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.title_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Video_5title___get__(struct PyElementaryVideo *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":324
+ * """
+ * def __get__(self):
+ * return self.title_get() # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("video", Video)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__title_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 324; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Video.title.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Player_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Player_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 357; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Player.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player___init__(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":357
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_player_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Player___init__(struct PyElementaryPlayer *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":358
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_player_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 358; __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[51]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 358; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":359
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_player_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_forward_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Player *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_player_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Player.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_3callback_forward_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_2callback_forward_clicked_add[] = "the user clicked the forward button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_3callback_forward_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_forward_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_forward_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 361; __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_forward_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 361; __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("elementary.c_elementary.Player.callback_forward_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_2callback_forward_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":361
+ * self._set_obj(elm_player_add(parent.obj))
+ *
+ * def callback_forward_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the forward button."""
+ * self._callback_add_full("forward,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_2callback_forward_clicked_add(struct PyElementaryPlayer *__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_forward_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":363
+ * def callback_forward_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the forward button."""
+ * self._callback_add_full("forward,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_forward_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 363; __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[51]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_198));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_198));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_198));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_forward_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_5callback_forward_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_5callback_forward_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_forward_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_4callback_forward_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":365
+ * self._callback_add_full("forward,clicked", func, *args, **kwargs)
+ *
+ * def callback_forward_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("forward,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_4callback_forward_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_forward_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":366
+ *
+ * def callback_forward_clicked_del(self, func):
+ * self._callback_del_full("forward,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_info_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 366; __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[51]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_198));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_198));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_198));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_forward_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_7callback_info_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_6callback_info_clicked_add[] = "the user clicked the info button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_7callback_info_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_info_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_info_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 368; __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_info_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 368; __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("elementary.c_elementary.Player.callback_info_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_6callback_info_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":368
+ * self._callback_del_full("forward,clicked", func)
+ *
+ * def callback_info_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the info button."""
+ * self._callback_add_full("info,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_6callback_info_clicked_add(struct PyElementaryPlayer *__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_info_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":370
+ * def callback_info_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the info button."""
+ * self._callback_add_full("info,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_info_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 370; __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[51]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_199));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_199));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_199));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_info_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_9callback_info_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_9callback_info_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_info_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_8callback_info_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":372
+ * self._callback_add_full("info,clicked", func, *args, **kwargs)
+ *
+ * def callback_info_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("info,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_8callback_info_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_info_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":373
+ *
+ * def callback_info_clicked_del(self, func):
+ * self._callback_del_full("info,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_next_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 373; __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[51]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_199));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_199));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_199));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_info_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_11callback_next_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_10callback_next_clicked_add[] = "the user clicked the next button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_11callback_next_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_next_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_next_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 375; __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_next_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 375; __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("elementary.c_elementary.Player.callback_next_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_10callback_next_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":375
+ * self._callback_del_full("info,clicked", func)
+ *
+ * def callback_next_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the next button."""
+ * self._callback_add_full("next,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_10callback_next_clicked_add(struct PyElementaryPlayer *__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_next_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":377
+ * def callback_next_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the next button."""
+ * self._callback_add_full("next,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_next_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 377; __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[51]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_200));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_200));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_200));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 377; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_next_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_13callback_next_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_13callback_next_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_next_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_12callback_next_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":379
+ * self._callback_add_full("next,clicked", func, *args, **kwargs)
+ *
+ * def callback_next_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("next,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_12callback_next_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_next_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":380
+ *
+ * def callback_next_clicked_del(self, func):
+ * self._callback_del_full("next,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_pause_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 380; __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[51]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_200));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_200));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_200));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_next_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_15callback_pause_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_14callback_pause_clicked_add[] = "the user clicked the pause button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_15callback_pause_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_pause_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_pause_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 382; __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_pause_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 382; __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("elementary.c_elementary.Player.callback_pause_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_14callback_pause_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":382
+ * self._callback_del_full("next,clicked", func)
+ *
+ * def callback_pause_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the pause button."""
+ * self._callback_add_full("pause,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_14callback_pause_clicked_add(struct PyElementaryPlayer *__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_pause_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":384
+ * def callback_pause_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the pause button."""
+ * self._callback_add_full("pause,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_pause_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 384; __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[51]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_201));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_201));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_201));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_pause_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_17callback_pause_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_17callback_pause_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_pause_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_16callback_pause_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":386
+ * self._callback_add_full("pause,clicked", func, *args, **kwargs)
+ *
+ * def callback_pause_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("pause,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_16callback_pause_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_pause_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":387
+ *
+ * def callback_pause_clicked_del(self, func):
+ * self._callback_del_full("pause,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_play_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 387; __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[51]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_201));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_201));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_201));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_pause_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_19callback_play_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_18callback_play_clicked_add[] = "the user clicked the play button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_19callback_play_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_play_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_play_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 389; __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_play_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 389; __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("elementary.c_elementary.Player.callback_play_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_18callback_play_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":389
+ * self._callback_del_full("pause,clicked", func)
+ *
+ * def callback_play_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the play button."""
+ * self._callback_add_full("play,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_18callback_play_clicked_add(struct PyElementaryPlayer *__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_play_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":391
+ * def callback_play_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the play button."""
+ * self._callback_add_full("play,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_play_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 391; __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[51]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_202));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_202));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_202));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_play_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_21callback_play_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_21callback_play_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_play_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_20callback_play_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":393
+ * self._callback_add_full("play,clicked", func, *args, **kwargs)
+ *
+ * def callback_play_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("play,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_20callback_play_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_play_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":394
+ *
+ * def callback_play_clicked_del(self, func):
+ * self._callback_del_full("play,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_prev_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 394; __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[51]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_202));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_202));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_202));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_play_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_23callback_prev_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_22callback_prev_clicked_add[] = "the user clicked the prev button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_23callback_prev_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_prev_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_prev_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 396; __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_prev_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 396; __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("elementary.c_elementary.Player.callback_prev_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_22callback_prev_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":396
+ * self._callback_del_full("play,clicked", func)
+ *
+ * def callback_prev_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the prev button."""
+ * self._callback_add_full("prev,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_22callback_prev_clicked_add(struct PyElementaryPlayer *__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_prev_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":398
+ * def callback_prev_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the prev button."""
+ * self._callback_add_full("prev,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_prev_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 398; __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[51]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_203));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_203));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_203));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 398; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_prev_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_25callback_prev_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_25callback_prev_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_prev_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_24callback_prev_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":400
+ * self._callback_add_full("prev,clicked", func, *args, **kwargs)
+ *
+ * def callback_prev_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("prev,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_24callback_prev_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_prev_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":401
+ *
+ * def callback_prev_clicked_del(self, func):
+ * self._callback_del_full("prev,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_rewind_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 401; __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[51]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_203));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_203));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_203));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_prev_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_27callback_rewind_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_26callback_rewind_clicked_add[] = "the user clicked the rewind button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_27callback_rewind_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_rewind_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_rewind_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 403; __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_rewind_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 403; __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("elementary.c_elementary.Player.callback_rewind_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_26callback_rewind_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":403
+ * self._callback_del_full("prev,clicked", func)
+ *
+ * def callback_rewind_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the rewind button."""
+ * self._callback_add_full("rewind,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_26callback_rewind_clicked_add(struct PyElementaryPlayer *__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_rewind_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":405
+ * def callback_rewind_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the rewind button."""
+ * self._callback_add_full("rewind,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_rewind_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 405; __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[51]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_204));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_204));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_204));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_rewind_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_29callback_rewind_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_29callback_rewind_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_rewind_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_28callback_rewind_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":407
+ * self._callback_add_full("rewind,clicked", func, *args, **kwargs)
+ *
+ * def callback_rewind_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("rewind,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_28callback_rewind_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_rewind_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":408
+ *
+ * def callback_rewind_clicked_del(self, func):
+ * self._callback_del_full("rewind,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_stop_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 408; __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[51]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_204));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_204));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_204));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_rewind_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_31callback_stop_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Player_30callback_stop_clicked_add[] = "the user clicked the stop button.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_31callback_stop_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_stop_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_stop_clicked_add") < 0)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 410; __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_stop_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[51]; __pyx_lineno = 410; __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("elementary.c_elementary.Player.callback_stop_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_30callback_stop_clicked_add(((struct PyElementaryPlayer *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":410
+ * self._callback_del_full("rewind,clicked", func)
+ *
+ * def callback_stop_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the user clicked the stop button."""
+ * self._callback_add_full("stop,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_30callback_stop_clicked_add(struct PyElementaryPlayer *__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_stop_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":412
+ * def callback_stop_clicked_add(self, func, *args, **kwargs):
+ * """the user clicked the stop button."""
+ * self._callback_add_full("stop,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_stop_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 412; __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[51]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_205));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_205));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_205));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Player.callback_stop_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_33callback_stop_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Player_33callback_stop_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_stop_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Player_32callback_stop_clicked_del(((struct PyElementaryPlayer *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":414
+ * self._callback_add_full("stop,clicked", func, *args, **kwargs)
+ *
+ * def callback_stop_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("stop,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Player_32callback_stop_clicked_del(struct PyElementaryPlayer *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_stop_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":415
+ *
+ * def callback_stop_clicked_del(self, func):
+ * self._callback_del_full("stop,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("player", Player)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 415; __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[51]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_205));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_205));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_205));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Player.callback_stop_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10Conformant_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10Conformant_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 39; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[52]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Conformant.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10Conformant___init__(((struct PyElementaryConformant *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":39
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_conformant_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10Conformant___init__(struct PyElementaryConformant *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":40
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_conformant_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 40; __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[52]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":41
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_conformant_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("conformant", Conformant)
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Conformant *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_conformant_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Conformant.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 65; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[53]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector___init__(((struct PyElementaryDayselector *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":65
+ *
+ * """
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_dayselector_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Dayselector___init__(struct PyElementaryDayselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":66
+ * """
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_dayselector_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 66; __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[53]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":67
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_dayselector_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def day_selected_set(self, day, selected):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Dayselector *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_dayselector_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Dayselector.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_3day_selected_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Dayselector_2day_selected_set[] = "Set the state of given Dayselector_Day.\n\n @see: Elm_Dayselector_Day\n @see: L{day_selected_get()}\n\n @param day: The day that the user want to set state.\n @type day: Elm_Dayselector_Day\n @param selected: state of the day. C{True} is selected.\n @type selected: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_3day_selected_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_day = 0;
+ PyObject *__pyx_v_selected = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__day,&__pyx_n_s__selected,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("day_selected_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__day);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__selected);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("day_selected_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[53]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "day_selected_set") < 0)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 69; __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_day = values[0];
+ __pyx_v_selected = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("day_selected_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[53]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.day_selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_2day_selected_set(((struct PyElementaryDayselector *)__pyx_v_self), __pyx_v_day, __pyx_v_selected);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":69
+ * self._set_obj(elm_dayselector_add(parent.obj))
+ *
+ * def day_selected_set(self, day, selected): # <<<<<<<<<<<<<<
+ * """Set the state of given Dayselector_Day.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_2day_selected_set(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Dayselector_Day __pyx_t_1;
+ Eina_Bool __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("day_selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":81
+ *
+ * """
+ * elm_dayselector_day_selected_set(self.obj, day, selected) # <<<<<<<<<<<<<<
+ *
+ * def day_selected_get(self, day):
+ */
+ __pyx_t_1 = ((Elm_Dayselector_Day)PyInt_AsLong(__pyx_v_day)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_dayselector_day_selected_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.day_selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_5day_selected_get(PyObject *__pyx_v_self, PyObject *__pyx_v_day); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Dayselector_4day_selected_get[] = "Get the state of given Dayselector_Day.\n\n @see: Elm_Dayselector_Day\n @see: L{day_selected_set()}\n\n @param day: The day that the user want to know state.\n @type day: Elm_Dayselector_Day\n @return: C{True}, if the Day is selected\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_5day_selected_get(PyObject *__pyx_v_self, PyObject *__pyx_v_day) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("day_selected_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_4day_selected_get(((struct PyElementaryDayselector *)__pyx_v_self), ((PyObject *)__pyx_v_day));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":83
+ * elm_dayselector_day_selected_set(self.obj, day, selected)
+ *
+ * def day_selected_get(self, day): # <<<<<<<<<<<<<<
+ * """Get the state of given Dayselector_Day.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_4day_selected_get(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Dayselector_Day __pyx_t_1;
+ 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("day_selected_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":95
+ *
+ * """
+ * return bool(elm_dayselector_day_selected_get(self.obj, day)) # <<<<<<<<<<<<<<
+ *
+ * property week_start:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Dayselector_Day)PyInt_AsLong(__pyx_v_day)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_dayselector_day_selected_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.day_selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_10week_start_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_10week_start_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_10week_start___get__(((struct PyElementaryDayselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":106
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_dayselector_week_start_get(self.obj)
+ * def __set__(self, day):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_10week_start___get__(struct PyElementaryDayselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":107
+ * """
+ * def __get__(self):
+ * return elm_dayselector_week_start_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, day):
+ * elm_dayselector_week_start_set(self.obj, day)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_dayselector_week_start_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.week_start.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_10week_start_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_day); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_10week_start_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_day) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_10week_start_2__set__(((struct PyElementaryDayselector *)__pyx_v_self), ((PyObject *)__pyx_v_day));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":108
+ * def __get__(self):
+ * return elm_dayselector_week_start_get(self.obj)
+ * def __set__(self, day): # <<<<<<<<<<<<<<
+ * elm_dayselector_week_start_set(self.obj, day)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Dayselector_10week_start_2__set__(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Dayselector_Day __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":109
+ * return elm_dayselector_week_start_get(self.obj)
+ * def __set__(self, day):
+ * elm_dayselector_week_start_set(self.obj, day) # <<<<<<<<<<<<<<
+ *
+ * property weekend_start:
+ */
+ __pyx_t_1 = ((Elm_Dayselector_Day)PyInt_AsLong(__pyx_v_day)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_dayselector_week_start_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.week_start.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_13weekend_start_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_13weekend_start_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_13weekend_start___get__(((struct PyElementaryDayselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":120
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_dayselector_weekend_start_get(self.obj)
+ * def __set__(self, day):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_13weekend_start___get__(struct PyElementaryDayselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":121
+ * """
+ * def __get__(self):
+ * return elm_dayselector_weekend_start_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, day):
+ * elm_dayselector_weekend_start_set(self.obj, day)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_dayselector_weekend_start_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.weekend_start.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_13weekend_start_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_day); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_13weekend_start_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_day) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_13weekend_start_2__set__(((struct PyElementaryDayselector *)__pyx_v_self), ((PyObject *)__pyx_v_day));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":122
+ * def __get__(self):
+ * return elm_dayselector_weekend_start_get(self.obj)
+ * def __set__(self, day): # <<<<<<<<<<<<<<
+ * elm_dayselector_weekend_start_set(self.obj, day)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Dayselector_13weekend_start_2__set__(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_day) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Dayselector_Day __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":123
+ * return elm_dayselector_weekend_start_get(self.obj)
+ * def __set__(self, day):
+ * elm_dayselector_weekend_start_set(self.obj, day) # <<<<<<<<<<<<<<
+ *
+ * property weekend_length:
+ */
+ __pyx_t_1 = ((Elm_Dayselector_Day)PyInt_AsLong(__pyx_v_day)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_dayselector_weekend_start_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.weekend_start.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_14weekend_length_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_14weekend_length_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_14weekend_length___get__(((struct PyElementaryDayselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":133
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_dayselector_weekend_length_get(self.obj)
+ * def __set__(self, length):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_14weekend_length___get__(struct PyElementaryDayselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":134
+ * """
+ * def __get__(self):
+ * return elm_dayselector_weekend_length_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, length):
+ * elm_dayselector_weekend_length_set(self.obj, length)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyLong_FromUnsignedLong(elm_dayselector_weekend_length_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.weekend_length.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_14weekend_length_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_length); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_11Dayselector_14weekend_length_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_length) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_14weekend_length_2__set__(((struct PyElementaryDayselector *)__pyx_v_self), ((PyObject *)__pyx_v_length));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":135
+ * def __get__(self):
+ * return elm_dayselector_weekend_length_get(self.obj)
+ * def __set__(self, length): # <<<<<<<<<<<<<<
+ * elm_dayselector_weekend_length_set(self.obj, length)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_11Dayselector_14weekend_length_2__set__(struct PyElementaryDayselector *__pyx_v_self, PyObject *__pyx_v_length) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ unsigned int __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":136
+ * return elm_dayselector_weekend_length_get(self.obj)
+ * def __set__(self, length):
+ * elm_dayselector_weekend_length_set(self.obj, length) # <<<<<<<<<<<<<<
+ *
+ * def callback_dayselector_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_length); if (unlikely((__pyx_t_1 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_dayselector_weekend_length_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Dayselector.weekend_length.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_7callback_dayselector_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Dayselector_6callback_dayselector_changed_add[] = "when the user changes the state of a day.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_7callback_dayselector_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_dayselector_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_dayselector_changed_add") < 0)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 138; __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_dayselector_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[53]; __pyx_lineno = 138; __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("elementary.c_elementary.Dayselector.callback_dayselector_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_6callback_dayselector_changed_add(((struct PyElementaryDayselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":138
+ * elm_dayselector_weekend_length_set(self.obj, length)
+ *
+ * def callback_dayselector_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """when the user changes the state of a day."""
+ * self._callback_add("dayselector,changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_6callback_dayselector_changed_add(struct PyElementaryDayselector *__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_dayselector_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":140
+ * def callback_dayselector_changed_add(self, func, *args, **kwargs):
+ * """when the user changes the state of a day."""
+ * self._callback_add("dayselector,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_dayselector_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 140; __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[53]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_206));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_206));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_206));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Dayselector.callback_dayselector_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_9callback_dayselector_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_9callback_dayselector_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_dayselector_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_8callback_dayselector_changed_del(((struct PyElementaryDayselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":142
+ * self._callback_add("dayselector,changed", func, *args, **kwargs)
+ *
+ * def callback_dayselector_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("dayselector,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_8callback_dayselector_changed_del(struct PyElementaryDayselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_dayselector_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":143
+ *
+ * def callback_dayselector_changed_del(self, func):
+ * self._callback_del("dayselector,changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 143; __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[53]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_206));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_206));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_206));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Dayselector.callback_dayselector_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_11callback_language_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_11Dayselector_10callback_language_changed_add[] = "the program's language changed";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_11callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[53]; __pyx_lineno = 145; __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[53]; __pyx_lineno = 145; __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("elementary.c_elementary.Dayselector.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_10callback_language_changed_add(((struct PyElementaryDayselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":145
+ * self._callback_del("dayselector,changed", func)
+ *
+ * def callback_language_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """the program's language changed"""
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_10callback_language_changed_add(struct PyElementaryDayselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":147
+ * def callback_language_changed_add(self, func, *args, **kwargs):
+ * """the program's language changed"""
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 147; __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[53]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Dayselector.callback_language_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_13callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_11Dayselector_13callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_11Dayselector_12callback_language_changed_del(((struct PyElementaryDayselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":149
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_11Dayselector_12callback_language_changed_del(struct PyElementaryDayselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":150
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 150; __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[53]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Dayselector.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 45; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[54]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes___init__(((struct PyElementaryPanes *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":45
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_panes_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panes___init__(struct PyElementaryPanes *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":46
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_panes_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 46; __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[54]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":47
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_panes_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * property fixed:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Panes *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_panes_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Panes.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_5fixed_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_5fixed_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_5fixed___set__(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_fixed));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":60
+ *
+ * """
+ * def __set__(self, fixed): # <<<<<<<<<<<<<<
+ * elm_panes_fixed_set(self.obj, fixed)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panes_5fixed___set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_fixed) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":61
+ * """
+ * def __set__(self, fixed):
+ * elm_panes_fixed_set(self.obj, fixed) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_panes_fixed_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_fixed); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panes_fixed_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.fixed.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_5fixed_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_5fixed_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_5fixed_2__get__(((struct PyElementaryPanes *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":62
+ * def __set__(self, fixed):
+ * elm_panes_fixed_set(self.obj, fixed)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_panes_fixed_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_5fixed_2__get__(struct PyElementaryPanes *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":63
+ * elm_panes_fixed_set(self.obj, fixed)
+ * def __get__(self):
+ * return bool(elm_panes_fixed_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property content_left_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_panes_fixed_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Panes.fixed.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_17content_left_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_17content_left_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_17content_left_size___get__(((struct PyElementaryPanes *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":83
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_panes_content_left_size_get(self.obj)
+ * def __set__(self, size):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_17content_left_size___get__(struct PyElementaryPanes *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":84
+ * """
+ * def __get__(self):
+ * return elm_panes_content_left_size_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_panes_content_left_size_set(self.obj, size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_panes_content_left_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.content_left_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_17content_left_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_17content_left_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_17content_left_size_2__set__(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":85
+ * def __get__(self):
+ * return elm_panes_content_left_size_get(self.obj)
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_panes_content_left_size_set(self.obj, size)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panes_17content_left_size_2__set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":86
+ * return elm_panes_content_left_size_get(self.obj)
+ * def __set__(self, size):
+ * elm_panes_content_left_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * property content_right_size:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_size); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panes_content_left_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.content_left_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_18content_right_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_18content_right_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_18content_right_size___get__(((struct PyElementaryPanes *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":106
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_panes_content_right_size_get(self.obj)
+ * def __set__(self, size):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_18content_right_size___get__(struct PyElementaryPanes *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":107
+ * """
+ * def __get__(self):
+ * return elm_panes_content_right_size_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, size):
+ * elm_panes_content_right_size_set(self.obj, size)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_panes_content_right_size_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.content_right_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_18content_right_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_18content_right_size_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_18content_right_size_2__set__(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_size));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":108
+ * def __get__(self):
+ * return elm_panes_content_right_size_get(self.obj)
+ * def __set__(self, size): # <<<<<<<<<<<<<<
+ * elm_panes_content_right_size_set(self.obj, size)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panes_18content_right_size_2__set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_size) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":109
+ * return elm_panes_content_right_size_get(self.obj)
+ * def __set__(self, size):
+ * elm_panes_content_right_size_set(self.obj, size) # <<<<<<<<<<<<<<
+ *
+ * property horizontal:
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_size); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panes_content_right_size_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.content_right_size.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_10horizontal_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Panes_10horizontal_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_10horizontal___set__(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_horizontal));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":122
+ *
+ * """
+ * def __set__(self, horizontal): # <<<<<<<<<<<<<<
+ * elm_panes_horizontal_set(self.obj, horizontal)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Panes_10horizontal___set__(struct PyElementaryPanes *__pyx_v_self, PyObject *__pyx_v_horizontal) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":123
+ * """
+ * def __set__(self, horizontal):
+ * elm_panes_horizontal_set(self.obj, horizontal) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_panes_horizontal_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_horizontal); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_panes_horizontal_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Panes.horizontal.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_10horizontal_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_10horizontal_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_10horizontal_2__get__(((struct PyElementaryPanes *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":124
+ * def __set__(self, horizontal):
+ * elm_panes_horizontal_set(self.obj, horizontal)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_panes_horizontal_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_10horizontal_2__get__(struct PyElementaryPanes *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":125
+ * elm_panes_horizontal_set(self.obj, horizontal)
+ * def __get__(self):
+ * return bool(elm_panes_horizontal_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_panes_horizontal_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Panes.horizontal.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_3callback_press_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panes_2callback_press_add[] = "The panes has been pressed (button wasn't released yet).";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_3callback_press_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_press_add") < 0)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 127; __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_press_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[54]; __pyx_lineno = 127; __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("elementary.c_elementary.Panes.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_2callback_press_add(((struct PyElementaryPanes *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":127
+ * return bool(elm_panes_horizontal_get(self.obj))
+ *
+ * def callback_press_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The panes has been pressed (button wasn't released yet)."""
+ * self._callback_add("press", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_2callback_press_add(struct PyElementaryPanes *__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_press_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":129
+ * def callback_press_add(self, func, *args, **kwargs):
+ * """The panes has been pressed (button wasn't released yet)."""
+ * self._callback_add("press", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 129; __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[54]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Panes.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_5callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_5callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_4callback_press_del(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":131
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ * def callback_press_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("press", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_4callback_press_del(struct PyElementaryPanes *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_press_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":132
+ *
+ * def callback_press_del(self, func):
+ * self._callback_del("press", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_unpress_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 132; __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[54]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Panes.callback_press_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_7callback_unpress_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panes_6callback_unpress_add[] = "The panes was released after being pressed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_7callback_unpress_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unpress_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_unpress_add") < 0)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 134; __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_unpress_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[54]; __pyx_lineno = 134; __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("elementary.c_elementary.Panes.callback_unpress_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_6callback_unpress_add(((struct PyElementaryPanes *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":134
+ * self._callback_del("press", func)
+ *
+ * def callback_unpress_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The panes was released after being pressed."""
+ * self._callback_add("unpress", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_6callback_unpress_add(struct PyElementaryPanes *__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_unpress_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":136
+ * def callback_unpress_add(self, func, *args, **kwargs):
+ * """The panes was released after being pressed."""
+ * self._callback_add("unpress", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unpress_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 136; __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[54]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unpress));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unpress));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unpress));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Panes.callback_unpress_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_9callback_unpress_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_9callback_unpress_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_unpress_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_8callback_unpress_del(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":138
+ * self._callback_add("unpress", func, *args, **kwargs)
+ *
+ * def callback_unpress_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unpress", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_8callback_unpress_del(struct PyElementaryPanes *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unpress_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":139
+ *
+ * def callback_unpress_del(self, func):
+ * self._callback_del("unpress", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 139; __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[54]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unpress));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unpress));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unpress));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Panes.callback_unpress_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_11callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panes_10callback_clicked_add[] = "The panes has been clicked.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_11callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[54]; __pyx_lineno = 141; __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[54]; __pyx_lineno = 141; __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("elementary.c_elementary.Panes.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_10callback_clicked_add(((struct PyElementaryPanes *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":141
+ * self._callback_del("unpress", func)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The panes has been clicked."""
+ * self._callback_add("clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_10callback_clicked_add(struct PyElementaryPanes *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":143
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * """The panes has been clicked."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 143; __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[54]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Panes.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_13callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_13callback_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_10elementary_12c_elementary_5Panes_12callback_clicked_del(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":145
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_12callback_clicked_del(struct PyElementaryPanes *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":146
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 146; __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[54]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Panes.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_15callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Panes_14callback_clicked_double_add[] = "The panes has been double clicked.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_15callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[54]; __pyx_lineno = 148; __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[54]; __pyx_lineno = 148; __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("elementary.c_elementary.Panes.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Panes_14callback_clicked_double_add(((struct PyElementaryPanes *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":148
+ * self._callback_del("clicked", func)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The panes has been double clicked."""
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_14callback_clicked_double_add(struct PyElementaryPanes *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":150
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ * """The panes has been double clicked."""
+ * self._callback_add("clicked,double", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 150; __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[54]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Panes.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_17callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Panes_17callback_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_10elementary_12c_elementary_5Panes_16callback_clicked_double_del(((struct PyElementaryPanes *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":152
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,double", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Panes_16callback_clicked_double_del(struct PyElementaryPanes *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":153
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del("clicked,double", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("panes", Panes)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 153; __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[54]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Panes.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 56; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[55]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Thumb.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb___init__(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":56
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_thumb_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Thumb___init__(struct PyElementaryThumb *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":57
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_thumb_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 57; __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[55]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":58
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_thumb_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def reload(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Thumb *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_thumb_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Thumb.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_3reload(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_2reload[] = "reload()\n\n Reload thumbnail if it was generated before.\n\n This is useful if the ethumb client configuration changed, like its\n size, aspect or any other property one set in the handle returned\n by L{ethumb_client_get()}.\n\n If the options didn't change, the thumbnail won't be generated\n again, but the old one will still be used.\n\n @see: L{file}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_3reload(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("reload (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_2reload(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":60
+ * self._set_obj(elm_thumb_add(parent.obj))
+ *
+ * def reload(self): # <<<<<<<<<<<<<<
+ * """reload()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_2reload(struct PyElementaryThumb *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("reload", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":75
+ *
+ * """
+ * elm_thumb_reload(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ elm_thumb_reload(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_4file___set__(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":90
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * if isinstance(value, tuple) or isinstance(value, list):
+ * file, key = value
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Thumb_4file___set__(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_file = NULL;
+ PyObject *__pyx_v_key = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *(*__pyx_t_7)(PyObject *);
+ const char * __pyx_t_8;
+ const char * __pyx_t_9;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":91
+ * """
+ * def __set__(self, value):
+ * if isinstance(value, tuple) or isinstance(value, list): # <<<<<<<<<<<<<<
+ * file, key = value
+ * else:
+ */
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyTuple_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ if (!__pyx_t_2) {
+ __pyx_t_1 = ((PyObject *)((PyObject*)(&PyList_Type)));
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_value, __pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_4 = __pyx_t_3;
+ } else {
+ __pyx_t_4 = __pyx_t_2;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":92
+ * def __set__(self, value):
+ * if isinstance(value, tuple) or isinstance(value, list):
+ * file, key = value # <<<<<<<<<<<<<<
+ * else:
+ * file = value
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[55]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[55]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_5);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_6 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_5 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L4_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < 0) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L5_unpacking_done;
+ __pyx_L4_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[55]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L5_unpacking_done:;
+ }
+ __pyx_v_file = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_key = __pyx_t_5;
+ __pyx_t_5 = 0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":94
+ * file, key = value
+ * else:
+ * file = value # <<<<<<<<<<<<<<
+ * key = None
+ * elm_thumb_file_set( self.obj,
+ */
+ __Pyx_INCREF(__pyx_v_value);
+ __pyx_v_file = __pyx_v_value;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":95
+ * else:
+ * file = value
+ * key = None # <<<<<<<<<<<<<<
+ * elm_thumb_file_set( self.obj,
+ * _cfruni(file) if file is not None else NULL,
+ */
+ __Pyx_INCREF(Py_None);
+ __pyx_v_key = Py_None;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":97
+ * key = None
+ * elm_thumb_file_set( self.obj,
+ * _cfruni(file) if file is not None else NULL, # <<<<<<<<<<<<<<
+ * _cfruni(key) if key is not None else NULL)
+ * def __get__(self):
+ */
+ __pyx_t_4 = (__pyx_v_file != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_8 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_file);
+ } else {
+ __pyx_t_8 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":98
+ * elm_thumb_file_set( self.obj,
+ * _cfruni(file) if file is not None else NULL,
+ * _cfruni(key) if key is not None else NULL) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * cdef const_char_ptr file, key
+ */
+ __pyx_t_4 = (__pyx_v_key != Py_None);
+ if (__pyx_t_4) {
+ __pyx_t_9 = __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_key);
+ } else {
+ __pyx_t_9 = NULL;
+ }
+ elm_thumb_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_8, __pyx_t_9);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_AddTraceback("elementary.c_elementary.Thumb.file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_file);
+ __Pyx_XDECREF(__pyx_v_key);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_4file_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_4file_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_4file_2__get__(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":99
+ * _cfruni(file) if file is not None else NULL,
+ * _cfruni(key) if key is not None else NULL)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr file, key
+ * elm_thumb_file_get(self.obj, &file, &key)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_4file_2__get__(struct PyElementaryThumb *__pyx_v_self) {
+ const char * __pyx_v_file;
+ const char * __pyx_v_key;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":101
+ * def __get__(self):
+ * cdef const_char_ptr file, key
+ * elm_thumb_file_get(self.obj, &file, &key) # <<<<<<<<<<<<<<
+ * return(_ctouni(file), _ctouni(key))
+ *
+ */
+ elm_thumb_file_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_file), (&__pyx_v_key));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":102
+ * cdef const_char_ptr file, key
+ * elm_thumb_file_get(self.obj, &file, &key)
+ * return(_ctouni(file), _ctouni(key)) # <<<<<<<<<<<<<<
+ *
+ * property path:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_file)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_key)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 102; __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[55]; __pyx_lineno = 102; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.file.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_4path_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_4path_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_4path___get__(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":118
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr path, key
+ * elm_thumb_path_get(self.obj, &path, &key)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_4path___get__(struct PyElementaryThumb *__pyx_v_self) {
+ const char * __pyx_v_path;
+ const char * __pyx_v_key;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":120
+ * def __get__(self):
+ * cdef const_char_ptr path, key
+ * elm_thumb_path_get(self.obj, &path, &key) # <<<<<<<<<<<<<<
+ * return(_ctouni(path), _ctouni(key))
+ *
+ */
+ elm_thumb_path_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_path), (&__pyx_v_key));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":121
+ * cdef const_char_ptr path, key
+ * elm_thumb_path_get(self.obj, &path, &key)
+ * return(_ctouni(path), _ctouni(key)) # <<<<<<<<<<<<<<
+ *
+ * property animate:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_path)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(__pyx_v_key)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 121; __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[55]; __pyx_lineno = 121; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.path.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_7animate_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_s); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_7animate_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_s) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_7animate___set__(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_s));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":133
+ *
+ * """
+ * def __set__(self, s): # <<<<<<<<<<<<<<
+ * elm_thumb_animate_set(self.obj, s)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Thumb_7animate___set__(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_s) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Thumb_Animation_Setting __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":134
+ * """
+ * def __set__(self, s):
+ * elm_thumb_animate_set(self.obj, s) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_thumb_animate_get(self.obj)
+ */
+ __pyx_t_1 = ((Elm_Thumb_Animation_Setting)PyInt_AsLong(__pyx_v_s)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_thumb_animate_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Thumb.animate.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_7animate_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_7animate_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_7animate_2__get__(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":135
+ * def __set__(self, s):
+ * elm_thumb_animate_set(self.obj, s)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_thumb_animate_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_7animate_2__get__(struct PyElementaryThumb *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":136
+ * elm_thumb_animate_set(self.obj, s)
+ * def __get__(self):
+ * return elm_thumb_animate_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def ethumb_client_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_thumb_animate_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Thumb.animate.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_5ethumb_client_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_4ethumb_client_get[] = "Get the ethumb_client handle so custom configuration can be made.\n\n This must be called before the objects are created to be sure no object is\n visible and no generation started.\n\n Example of usage::\n #include <Elementary.h>\n #ifndef ELM_LIB_QUICKLAUNCH\n EAPI_MAIN int\n elm_main(int argc, char **argv)\n {\n Ethumb_Client *client;\n\n elm_need_ethumb();\n\n // ... your code\n\n client = elm_thumb_ethumb_client_get();\n if (!client)\n {\n ERR(\"could not get ethumb_client\");\n return 1;\n }\n ethumb_client_size_set(client, 100, 100);\n ethumb_client_crop_align_set(client, 0.5, 0.5);\n // ... your code\n\n // Create elm_thumb objects here\n\n elm_run();\n elm_shutdown();\n return 0;\n }\n #endif\n ELM_MAIN()\n\n @note: There's only one client handle for Ethumb, so once a\n configuration change is done to it, any other request for\n thumbnails (for any thumbnail object) will use that\n configuration. Thus, this configuration is global.\n\n @return: Ethumb_Client instance or None.\n @rtype: Ethumb_Client\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_5ethumb_client_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("ethumb_client_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_4ethumb_client_get(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":138
+ * return elm_thumb_animate_get(self.obj)
+ *
+ * def ethumb_client_get(self): # <<<<<<<<<<<<<<
+ * """Get the ethumb_client handle so custom configuration can be made.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_4ethumb_client_get(CYTHON_UNUSED struct PyElementaryThumb *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("ethumb_client_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":184
+ *
+ * """
+ * return None # <<<<<<<<<<<<<<
+ * #return elm_thumb_ethumb_client_get(void)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_7ethumb_client_connected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_6ethumb_client_connected_get[] = "Get the ethumb_client connection state.\n\n @return: True if the client is connected to the server or False\n otherwise.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_7ethumb_client_connected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("ethumb_client_connected_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_6ethumb_client_connected_get(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":187
+ * #return elm_thumb_ethumb_client_get(void)
+ *
+ * def ethumb_client_connected_get(self): # <<<<<<<<<<<<<<
+ * """Get the ethumb_client connection state.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_6ethumb_client_connected_get(CYTHON_UNUSED struct PyElementaryThumb *__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("ethumb_client_connected_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":195
+ *
+ * """
+ * return bool(elm_thumb_ethumb_client_connected_get()) # <<<<<<<<<<<<<<
+ *
+ * property editable:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_thumb_ethumb_client_connected_get()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.ethumb_client_connected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_8editable_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_edit); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Thumb_8editable_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_edit) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_8editable___set__(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_edit));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":206
+ *
+ * """
+ * def __set__(self, edit): # <<<<<<<<<<<<<<
+ * elm_thumb_editable_set(self.obj, edit)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Thumb_8editable___set__(struct PyElementaryThumb *__pyx_v_self, PyObject *__pyx_v_edit) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":207
+ * """
+ * def __set__(self, edit):
+ * elm_thumb_editable_set(self.obj, edit) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_thumb_editable_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_edit); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_thumb_editable_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Thumb.editable.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_8editable_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_8editable_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_8editable_2__get__(((struct PyElementaryThumb *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":208
+ * def __set__(self, edit):
+ * elm_thumb_editable_set(self.obj, edit)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_thumb_editable_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_8editable_2__get__(struct PyElementaryThumb *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":209
+ * elm_thumb_editable_set(self.obj, edit)
+ * def __get__(self):
+ * return bool(elm_thumb_editable_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_thumb_editable_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.editable.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_9callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_8callback_clicked_add[] = "This is called when a user has clicked the thumbnail object\n without dragging it around.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_9callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[55]; __pyx_lineno = 211; __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[55]; __pyx_lineno = 211; __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("elementary.c_elementary.Thumb.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_8callback_clicked_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":211
+ * return bool(elm_thumb_editable_get(self.obj))
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has clicked the thumbnail object
+ * without dragging it around."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_8callback_clicked_add(struct PyElementaryThumb *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":214
+ * """This is called when a user has clicked the thumbnail object
+ * without dragging it around."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 214; __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[55]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_11callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_11callback_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_10elementary_12c_elementary_5Thumb_10callback_clicked_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":216
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_10callback_clicked_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":217
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 217; __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[55]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_13callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_12callback_clicked_double_add[] = "This is called when a user has double-clicked the thumbnail\n object.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_13callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[55]; __pyx_lineno = 219; __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[55]; __pyx_lineno = 219; __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("elementary.c_elementary.Thumb.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_12callback_clicked_double_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":219
+ * self._callback_del("clicked", func)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has double-clicked the thumbnail
+ * object."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_12callback_clicked_double_add(struct PyElementaryThumb *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":222
+ * """This is called when a user has double-clicked the thumbnail
+ * object."""
+ * self._callback_add("clicked,double", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 222; __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[55]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_15callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_15callback_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_10elementary_12c_elementary_5Thumb_14callback_clicked_double_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":224
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,double", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_14callback_clicked_double_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":225
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del("clicked,double", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 225; __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[55]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_17callback_press_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_16callback_press_add[] = "This is called when a user has pressed down over the thumbnail\n object.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_17callback_press_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_press_add") < 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 227; __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_press_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[55]; __pyx_lineno = 227; __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("elementary.c_elementary.Thumb.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_16callback_press_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":227
+ * self._callback_del("clicked,double", func)
+ *
+ * def callback_press_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has pressed down over the thumbnail
+ * object."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_16callback_press_add(struct PyElementaryThumb *__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_press_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":230
+ * """This is called when a user has pressed down over the thumbnail
+ * object."""
+ * self._callback_add("press", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 230; __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[55]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_19callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_19callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_18callback_press_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":232
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ * def callback_press_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("press", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_18callback_press_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_press_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":233
+ *
+ * def callback_press_del(self, func):
+ * self._callback_del("press", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_generate_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 233; __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[55]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_press_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_21callback_generate_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_20callback_generate_start_add[] = "The thumbnail generation has started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_21callback_generate_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_generate_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_generate_start_add") < 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 235; __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_generate_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[55]; __pyx_lineno = 235; __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("elementary.c_elementary.Thumb.callback_generate_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_20callback_generate_start_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":235
+ * self._callback_del("press", func)
+ *
+ * def callback_generate_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The thumbnail generation has started."""
+ * self._callback_add("generate,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_20callback_generate_start_add(struct PyElementaryThumb *__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_generate_start_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":237
+ * def callback_generate_start_add(self, func, *args, **kwargs):
+ * """The thumbnail generation has started."""
+ * self._callback_add("generate,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_generate_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 237; __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[55]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_207));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_207));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_207));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_generate_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_23callback_generate_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_23callback_generate_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_generate_start_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_22callback_generate_start_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":239
+ * self._callback_add("generate,start", func, *args, **kwargs)
+ *
+ * def callback_generate_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("generate,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_22callback_generate_start_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_generate_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":240
+ *
+ * def callback_generate_start_del(self, func):
+ * self._callback_del("generate,start", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_generate_stop_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 240; __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[55]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_207));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_207));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_207));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_generate_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_25callback_generate_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_24callback_generate_stop_add[] = "The generation process has stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_25callback_generate_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_generate_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_generate_stop_add") < 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 242; __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_generate_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[55]; __pyx_lineno = 242; __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("elementary.c_elementary.Thumb.callback_generate_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_24callback_generate_stop_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":242
+ * self._callback_del("generate,start", func)
+ *
+ * def callback_generate_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The generation process has stopped."""
+ * self._callback_add("generate,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_24callback_generate_stop_add(struct PyElementaryThumb *__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_generate_stop_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":244
+ * def callback_generate_stop_add(self, func, *args, **kwargs):
+ * """The generation process has stopped."""
+ * self._callback_add("generate,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_generate_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 244; __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[55]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_208));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_208));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_208));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_generate_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_27callback_generate_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_27callback_generate_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_generate_stop_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_26callback_generate_stop_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":246
+ * self._callback_add("generate,stop", func, *args, **kwargs)
+ *
+ * def callback_generate_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("generate,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_26callback_generate_stop_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_generate_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":247
+ *
+ * def callback_generate_stop_del(self, func):
+ * self._callback_del("generate,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_generate_error_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 247; __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[55]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_208));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_208));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_208));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_generate_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_29callback_generate_error_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_28callback_generate_error_add[] = "The thumbnail generation failed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_29callback_generate_error_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_generate_error_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_generate_error_add") < 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 249; __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_generate_error_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[55]; __pyx_lineno = 249; __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("elementary.c_elementary.Thumb.callback_generate_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_28callback_generate_error_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":249
+ * self._callback_del("generate,stop", func)
+ *
+ * def callback_generate_error_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The thumbnail generation failed."""
+ * self._callback_add("generate,error", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_28callback_generate_error_add(struct PyElementaryThumb *__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_generate_error_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":251
+ * def callback_generate_error_add(self, func, *args, **kwargs):
+ * """The thumbnail generation failed."""
+ * self._callback_add("generate,error", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_generate_error_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 251; __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[55]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_209));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_209));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_209));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_generate_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_31callback_generate_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_31callback_generate_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_generate_error_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_30callback_generate_error_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":253
+ * self._callback_add("generate,error", func, *args, **kwargs)
+ *
+ * def callback_generate_error_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("generate,error", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_30callback_generate_error_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_generate_error_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":254
+ *
+ * def callback_generate_error_del(self, func):
+ * self._callback_del("generate,error", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 254; __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[55]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_209));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_209));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_209));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_generate_error_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_33callback_load_error_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Thumb_32callback_load_error_add[] = "The thumbnail image loading failed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_33callback_load_error_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_error_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_error_add") < 0)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 256; __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_load_error_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[55]; __pyx_lineno = 256; __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("elementary.c_elementary.Thumb.callback_load_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_32callback_load_error_add(((struct PyElementaryThumb *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":256
+ * self._callback_del("generate,error", func)
+ *
+ * def callback_load_error_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The thumbnail image loading failed."""
+ * self._callback_add("load,error", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_32callback_load_error_add(struct PyElementaryThumb *__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_load_error_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":258
+ * def callback_load_error_add(self, func, *args, **kwargs):
+ * """The thumbnail image loading failed."""
+ * self._callback_add("load,error", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_error_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 258; __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[55]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_183));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_183));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_183));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Thumb.callback_load_error_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_35callback_load_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Thumb_35callback_load_error_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_error_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Thumb_34callback_load_error_del(((struct PyElementaryThumb *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":260
+ * self._callback_add("load,error", func, *args, **kwargs)
+ *
+ * def callback_load_error_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("load,error", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Thumb_34callback_load_error_del(struct PyElementaryThumb *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_error_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":261
+ *
+ * def callback_load_error_del(self, func):
+ * self._callback_del("load,error", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("thumb", Thumb)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 261; __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[55]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_183));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_183));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_183));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Thumb.callback_load_error_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_diskselector = 0;
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__diskselector,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ 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_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":23
+ * """An item for the Diskselector widget."""
+ *
+ * def __init__(self, evasObject diskselector, label, evasObject icon=None, callback=None, *args, **kargs): # <<<<<<<<<<<<<<
+ * cdef Evas_Object* icon_obj = NULL
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+ values[2] = (PyObject *)((struct PyEvasObject *)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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__diskselector);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 4, 1); {__pyx_filename = __pyx_f[56]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ 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_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 23; __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);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_diskselector = ((struct PyEvasObject *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_icon = ((struct PyEvasObject *)values[2]);
+ __pyx_v_callback = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[56]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.DiskselectorItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_diskselector), __pyx_ptype_4evas_6c_evas_Object, 1, "diskselector", 0))) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16DiskselectorItem___init__(((struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *)__pyx_v_self), __pyx_v_diskselector, __pyx_v_label, __pyx_v_icon, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static int __pyx_pf_10elementary_12c_elementary_16DiskselectorItem___init__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self, struct PyEvasObject *__pyx_v_diskselector, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Evas_Object *__pyx_v_icon_obj;
+ Evas_Smart_Cb __pyx_v_cb;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":24
+ *
+ * def __init__(self, evasObject diskselector, label, evasObject icon=None, callback=None, *args, **kargs):
+ * cdef Evas_Object* icon_obj = NULL # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ __pyx_v_icon_obj = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":25
+ * def __init__(self, evasObject diskselector, label, evasObject icon=None, callback=None, *args, **kargs):
+ * cdef Evas_Object* icon_obj = NULL
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if icon is not None:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":27
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if icon is not None: # <<<<<<<<<<<<<<
+ * icon_obj = icon.obj
+ *
+ */
+ __pyx_t_1 = (((PyObject *)__pyx_v_icon) != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":28
+ *
+ * if icon is not None:
+ * icon_obj = icon.obj # <<<<<<<<<<<<<<
+ *
+ * if callback is not None:
+ */
+ __pyx_v_icon_obj = __pyx_v_icon->obj;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":30
+ * icon_obj = icon.obj
+ *
+ * if callback is not None: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = (__pyx_v_callback != Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":31
+ *
+ * if callback is not None:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":32
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_210), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 32; __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[56]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":33
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":35
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ *
+ * item = elm_diskselector_item_append(diskselector.obj, _cfruni(label), icon_obj, cb, <void*>self)
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":37
+ * self.params = (callback, args, kargs)
+ *
+ * item = elm_diskselector_item_append(diskselector.obj, _cfruni(label), icon_obj, cb, <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_diskselector_item_append(__pyx_v_diskselector->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_icon_obj, __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":39
+ * item = elm_diskselector_item_append(diskselector.obj, _cfruni(label), icon_obj, cb, <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":40
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_DiskselectorItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L6;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":42
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L6:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.DiskselectorItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16DiskselectorItem_8selected___set__(((struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":67
+ *
+ * """
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * elm_diskselector_item_selected_set(self.item, selected)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16DiskselectorItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":68
+ * """
+ * def __set__(self, selected):
+ * elm_diskselector_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_diskselector_item_selected_get(self.item))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_diskselector_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.DiskselectorItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16DiskselectorItem_8selected_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16DiskselectorItem_8selected_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16DiskselectorItem_8selected_2__get__(((struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":69
+ * def __set__(self, selected):
+ * elm_diskselector_item_selected_set(self.item, selected)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_diskselector_item_selected_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16DiskselectorItem_8selected_2__get__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":70
+ * elm_diskselector_item_selected_set(self.item, selected)
+ * def __get__(self):
+ * return bool(elm_diskselector_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_diskselector_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.DiskselectorItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16DiskselectorItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16DiskselectorItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16DiskselectorItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":87
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = elm_diskselector_item_prev_get(self.item)
+ * return _object_item_to_python(it)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16DiskselectorItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self) {
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":88
+ * """
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_item_prev_get(self.item) # <<<<<<<<<<<<<<
+ * return _object_item_to_python(it)
+ *
+ */
+ __pyx_v_it = elm_diskselector_item_prev_get(__pyx_v_self->__pyx_base.item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":89
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_item_prev_get(self.item)
+ * return _object_item_to_python(it) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.DiskselectorItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16DiskselectorItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16DiskselectorItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16DiskselectorItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":106
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = elm_diskselector_item_next_get(self.item)
+ * return _object_item_to_python(it)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16DiskselectorItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *__pyx_v_self) {
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":107
+ * """
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_item_next_get(self.item) # <<<<<<<<<<<<<<
+ * return _object_item_to_python(it)
+ *
+ */
+ __pyx_v_it = elm_diskselector_item_next_get(__pyx_v_self->__pyx_base.item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":108
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_item_next_get(self.item)
+ * return _object_item_to_python(it) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Diskselector(Object) [object PyElementaryDiskselector, type PyElementaryDiskselector_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.DiskselectorItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 140; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[56]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector___init__(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":140
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_diskselector_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Diskselector___init__(struct PyElementaryDiskselector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":141
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_diskselector_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 141; __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[56]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":142
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_diskselector_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * property round_enabled:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Diskselector *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_diskselector_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Diskselector.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_13round_enabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_13round_enabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_13round_enabled___set__(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":154
+ *
+ * """
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_diskselector_round_enabled_set(self.obj, enabled)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Diskselector_13round_enabled___set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":155
+ * """
+ * def __set__(self, enabled):
+ * elm_diskselector_round_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_diskselector_round_enabled_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_diskselector_round_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.round_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_13round_enabled_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_13round_enabled_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_13round_enabled_2__get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":156
+ * def __set__(self, enabled):
+ * elm_diskselector_round_enabled_set(self.obj, enabled)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_diskselector_round_enabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_13round_enabled_2__get__(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":157
+ * elm_diskselector_round_enabled_set(self.obj, enabled)
+ * def __get__(self):
+ * return bool(elm_diskselector_round_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property side_text_max_length:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_diskselector_round_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.round_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_20side_text_max_length_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_20side_text_max_length_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_20side_text_max_length___get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":182
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_diskselector_side_text_max_length_get(self.obj)
+ * def __set__(self, length):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_20side_text_max_length___get__(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":183
+ * """
+ * def __get__(self):
+ * return elm_diskselector_side_text_max_length_get(self.obj) # <<<<<<<<<<<<<<
+ * def __set__(self, length):
+ * elm_diskselector_side_text_max_length_set(self.obj, length)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_diskselector_side_text_max_length_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.side_text_max_length.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_20side_text_max_length_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_length); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_20side_text_max_length_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_length) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_20side_text_max_length_2__set__(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_length));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":184
+ * def __get__(self):
+ * return elm_diskselector_side_text_max_length_get(self.obj)
+ * def __set__(self, length): # <<<<<<<<<<<<<<
+ * elm_diskselector_side_text_max_length_set(self.obj, length)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Diskselector_20side_text_max_length_2__set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_length) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":185
+ * return elm_diskselector_side_text_max_length_get(self.obj)
+ * def __set__(self, length):
+ * elm_diskselector_side_text_max_length_set(self.obj, length) # <<<<<<<<<<<<<<
+ *
+ * property display_item_num:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_length); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_diskselector_side_text_max_length_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.side_text_max_length.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_16display_item_num_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_num); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_16display_item_num_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_num) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_16display_item_num___set__(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_num));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":204
+ *
+ * """
+ * def __set__(self, num): # <<<<<<<<<<<<<<
+ * elm_diskselector_display_item_num_set(self.obj, num)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Diskselector_16display_item_num___set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_num) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":205
+ * """
+ * def __set__(self, num):
+ * elm_diskselector_display_item_num_set(self.obj, num) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_diskselector_display_item_num_get(self.obj)
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_num); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_diskselector_display_item_num_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.display_item_num.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_16display_item_num_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_16display_item_num_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_16display_item_num_2__get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":206
+ * def __set__(self, num):
+ * elm_diskselector_display_item_num_set(self.obj, num)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_diskselector_display_item_num_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_16display_item_num_2__get__(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":207
+ * elm_diskselector_display_item_num_set(self.obj, num)
+ * def __get__(self):
+ * return elm_diskselector_display_item_num_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property bounce:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_diskselector_display_item_num_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.display_item_num.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_6bounce_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_bounce); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_6bounce_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_bounce) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_6bounce___set__(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_bounce));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":220
+ *
+ * """
+ * def __set__(self, bounce): # <<<<<<<<<<<<<<
+ * h_bounce, v_bounce = bounce
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Diskselector_6bounce___set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_bounce) {
+ PyObject *__pyx_v_h_bounce = NULL;
+ PyObject *__pyx_v_v_bounce = 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 *);
+ Eina_Bool __pyx_t_5;
+ Eina_Bool __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":221
+ * """
+ * def __set__(self, bounce):
+ * h_bounce, v_bounce = bounce # <<<<<<<<<<<<<<
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ * def __get__(self):
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_bounce))) || (PyList_CheckExact(__pyx_v_bounce))) {
+ PyObject* sequence = __pyx_v_bounce;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[56]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[56]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_bounce); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 221; __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[56]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[56]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_h_bounce = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_v_bounce = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":222
+ * def __set__(self, bounce):
+ * h_bounce, v_bounce = bounce
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Diskselector.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_h_bounce);
+ __Pyx_XDECREF(__pyx_v_v_bounce);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_6bounce_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_6bounce_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_6bounce_2__get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":223
+ * h_bounce, v_bounce = bounce
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_6bounce_2__get__(struct PyElementaryDiskselector *__pyx_v_self) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":225
+ * def __get__(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce) # <<<<<<<<<<<<<<
+ * return (h_bounce, v_bounce)
+ *
+ */
+ elm_scroller_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_bounce), (&__pyx_v_v_bounce));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":226
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ * return (h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * property scroller_policy:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 226; __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[56]; __pyx_lineno = 226; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.bounce.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_15scroller_policy_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_15scroller_policy_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_15scroller_policy___get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":242
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Scroller_Policy h_policy, v_policy
+ * elm_scroller_policy_get(self.obj, &h_policy, &v_policy)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_15scroller_policy___get__(struct PyElementaryDiskselector *__pyx_v_self) {
+ Elm_Scroller_Policy __pyx_v_h_policy;
+ Elm_Scroller_Policy __pyx_v_v_policy;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":244
+ * def __get__(self):
+ * cdef Elm_Scroller_Policy h_policy, v_policy
+ * elm_scroller_policy_get(self.obj, &h_policy, &v_policy) # <<<<<<<<<<<<<<
+ * return (h_policy, v_policy)
+ * def __set__(self, policy):
+ */
+ elm_scroller_policy_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_policy), (&__pyx_v_v_policy));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":245
+ * cdef Elm_Scroller_Policy h_policy, v_policy
+ * elm_scroller_policy_get(self.obj, &h_policy, &v_policy)
+ * return (h_policy, v_policy) # <<<<<<<<<<<<<<
+ * def __set__(self, policy):
+ * h_policy, v_policy = policy
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_h_policy); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_v_policy); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 245; __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[56]; __pyx_lineno = 245; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.scroller_policy.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_15scroller_policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_policy); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12Diskselector_15scroller_policy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_policy) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_15scroller_policy_2__set__(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_policy));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":246
+ * elm_scroller_policy_get(self.obj, &h_policy, &v_policy)
+ * return (h_policy, v_policy)
+ * def __set__(self, policy): # <<<<<<<<<<<<<<
+ * h_policy, v_policy = policy
+ * elm_scroller_policy_set(self.obj, h_policy, v_policy)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12Diskselector_15scroller_policy_2__set__(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_policy) {
+ PyObject *__pyx_v_h_policy = NULL;
+ PyObject *__pyx_v_v_policy = 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 *);
+ Elm_Scroller_Policy __pyx_t_5;
+ Elm_Scroller_Policy __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":247
+ * return (h_policy, v_policy)
+ * def __set__(self, policy):
+ * h_policy, v_policy = policy # <<<<<<<<<<<<<<
+ * elm_scroller_policy_set(self.obj, h_policy, v_policy)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_policy))) || (PyList_CheckExact(__pyx_v_policy))) {
+ PyObject* sequence = __pyx_v_policy;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[56]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[56]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_policy); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 247; __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[56]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[56]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_h_policy = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_v_policy = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":248
+ * def __set__(self, policy):
+ * h_policy, v_policy = policy
+ * elm_scroller_policy_set(self.obj, h_policy, v_policy) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ __pyx_t_5 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_h_policy)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = ((Elm_Scroller_Policy)PyInt_AsLong(__pyx_v_v_policy)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_policy_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Diskselector.scroller_policy.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_h_policy);
+ __Pyx_XDECREF(__pyx_v_v_policy);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_2clear[] = "Remove all diskselector's items.\n\n @see: L{ObjectItem.delete()}\n @see: L{item_append()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_3clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_2clear(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":250
+ * elm_scroller_policy_set(self.obj, h_policy, v_policy)
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * """Remove all diskselector's items.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_2clear(struct PyElementaryDiskselector *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":257
+ *
+ * """
+ * elm_diskselector_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ elm_diskselector_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_5items___get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":269
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it
+ * cdef const_Eina_List *lst
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_5items___get__(struct PyElementaryDiskselector *__pyx_v_self) {
+ Elm_Object_Item *__pyx_v_it;
+ const Eina_List *__pyx_v_lst;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_v_ret_append = NULL;
+ PyObject *__pyx_v_o = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":273
+ * cdef const_Eina_List *lst
+ *
+ * lst = elm_diskselector_items_get(self.obj) # <<<<<<<<<<<<<<
+ * ret = []
+ * ret_append = ret.append
+ */
+ __pyx_v_lst = elm_diskselector_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":274
+ *
+ * lst = elm_diskselector_items_get(self.obj)
+ * ret = [] # <<<<<<<<<<<<<<
+ * ret_append = ret.append
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":275
+ * lst = elm_diskselector_items_get(self.obj)
+ * ret = []
+ * ret_append = ret.append # <<<<<<<<<<<<<<
+ * while lst:
+ * it = <Elm_Object_Item *>lst.data
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_ret), __pyx_n_s__append); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret_append = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":276
+ * ret = []
+ * ret_append = ret.append
+ * while lst: # <<<<<<<<<<<<<<
+ * it = <Elm_Object_Item *>lst.data
+ * lst = lst.next
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":277
+ * ret_append = ret.append
+ * while lst:
+ * it = <Elm_Object_Item *>lst.data # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * o = _object_item_to_python(it)
+ */
+ __pyx_v_it = ((Elm_Object_Item *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":278
+ * while lst:
+ * it = <Elm_Object_Item *>lst.data
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * o = _object_item_to_python(it)
+ * if o is not None:
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":279
+ * it = <Elm_Object_Item *>lst.data
+ * lst = lst.next
+ * o = _object_item_to_python(it) # <<<<<<<<<<<<<<
+ * if o is not None:
+ * ret_append(o)
+ */
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_v_o);
+ __pyx_v_o = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":280
+ * lst = lst.next
+ * o = _object_item_to_python(it)
+ * if o is not None: # <<<<<<<<<<<<<<
+ * ret_append(o)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_o != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":281
+ * o = _object_item_to_python(it)
+ * if o is not None:
+ * ret_append(o) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_o);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_o);
+ __Pyx_GIVEREF(__pyx_v_o);
+ __pyx_t_3 = PyObject_Call(__pyx_v_ret_append, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":282
+ * if o is not None:
+ * ret_append(o)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label, evasObject icon = None, callback = None, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_ret_append);
+ __Pyx_XDECREF(__pyx_v_o);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_5item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_4item_append[] = "Appends a new item to the diskselector object.\n\n A new item will be created and appended to the diskselector, i.e.,\n will be set as last item. Also, if there is no selected item, it will\n be selected. This will always happens for the first appended item.\n\n If no icon is set, label will be centered on item position, otherwise\n the icon will be placed at left of the label, that will be shifted\n to the right.\n\n Items created with this method can be deleted with\n L{ObjectItem.delete()}.\n\n If a function is passed as argument, it will be called every time\n this item is selected, i.e., the user stops the diskselector with\n this item on center position.\n\n Simple example (with no function callback or data associated)::\n disk = Diskselector(win)\n ic = Icon(win)\n ic.file_set(\"path/to/image\")\n ic.resizable_set(EINA_TRUE, EINA_TRUE)\n disk.item_append(\"label\", ic)\n\n @see: L{ObjectItem.delete()}\n @see: L{clear()}\n @see: L{Image}\n\n @param label: The label of the diskselector item.\n @type label: string\n @param icon: The icon object to use at left side of the item. An\n icon can be any Evas object, but usually it is an L{Icon}.\n @type icon: L{evasObject}\n @param func: The function to call when the item is selected.\n @type func: function\n\n @return: The created item or C{None} upon failure.\n @rtype: L{DiskselectorItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_5item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":284
+ * return ret
+ *
+ * def item_append(self, label, evasObject icon = None, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Appends a new item to the diskselector object.
+ *
+ */
+ values[1] = (PyObject *)((struct PyEvasObject *)Py_None);
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[2] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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_label = values[0];
+ __pyx_v_icon = ((struct PyEvasObject *)values[1]);
+ __pyx_v_callback = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[56]; __pyx_lineno = 284; __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("elementary.c_elementary.Diskselector.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_4item_append(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_label, __pyx_v_icon, __pyx_v_callback, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_4item_append(struct PyElementaryDiskselector *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_callback, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":325
+ *
+ * """
+ * return DiskselectorItem(self, label, icon, callback, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_1, 2, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_DiskselectorItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_13selected_item___get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":342
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = elm_diskselector_selected_item_get(self.obj)
+ * return _object_item_to_python(it)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_13selected_item___get__(struct PyElementaryDiskselector *__pyx_v_self) {
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":343
+ * """
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_selected_item_get(self.obj) # <<<<<<<<<<<<<<
+ * return _object_item_to_python(it)
+ *
+ */
+ __pyx_v_it = elm_diskselector_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":344
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_selected_item_get(self.obj)
+ * return _object_item_to_python(it) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_10first_item___get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":358
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = elm_diskselector_first_item_get(self.obj)
+ * return _object_item_to_python(it)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_10first_item___get__(struct PyElementaryDiskselector *__pyx_v_self) {
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":359
+ * """
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_first_item_get(self.obj) # <<<<<<<<<<<<<<
+ * return _object_item_to_python(it)
+ *
+ */
+ __pyx_v_it = elm_diskselector_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":360
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_first_item_get(self.obj)
+ * return _object_item_to_python(it) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_9last_item___get__(((struct PyElementaryDiskselector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":374
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = elm_diskselector_last_item_get(self.obj)
+ * return _object_item_to_python(it)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_9last_item___get__(struct PyElementaryDiskselector *__pyx_v_self) {
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":375
+ * """
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_last_item_get(self.obj) # <<<<<<<<<<<<<<
+ * return _object_item_to_python(it)
+ *
+ */
+ __pyx_v_it = elm_diskselector_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":376
+ * def __get__(self):
+ * cdef Elm_Object_Item *it = elm_diskselector_last_item_get(self.obj)
+ * return _object_item_to_python(it) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(__pyx_v_it); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Diskselector.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_7callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_6callback_selected_add[] = "When item is selected, i.e. scroller stops.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_7callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[56]; __pyx_lineno = 378; __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[56]; __pyx_lineno = 378; __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("elementary.c_elementary.Diskselector.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_6callback_selected_add(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":378
+ * return _object_item_to_python(it)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When item is selected, i.e. scroller stops."""
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_6callback_selected_add(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":380
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * """When item is selected, i.e. scroller stops."""
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 380; __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[56]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Diskselector.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_9callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_9callback_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_10elementary_12c_elementary_12Diskselector_8callback_selected_del(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":382
+ * self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_8callback_selected_del(struct PyElementaryDiskselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":383
+ *
+ * def callback_selected_del(self, func):
+ * self._callback_del_full("selected", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 383; __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[56]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__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;
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_11callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_10callback_scroll_anim_start_add[] = "Scrolling animation has started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_11callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[56]; __pyx_lineno = 385; __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[56]; __pyx_lineno = 385; __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("elementary.c_elementary.Diskselector.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_10callback_scroll_anim_start_add(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":385
+ * self._callback_del_full("selected", _cb_object_item_conv, func)
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Scrolling animation has started."""
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_10callback_scroll_anim_start_add(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":387
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ * """Scrolling animation has started."""
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 387; __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[56]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_13callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_13callback_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_10elementary_12c_elementary_12Diskselector_12callback_scroll_anim_start_del(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":389
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_12callback_scroll_anim_start_del(struct PyElementaryDiskselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":390
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 390; __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[56]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_15callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_14callback_scroll_anim_stop_add[] = "Scrolling animation has stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_15callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[56]; __pyx_lineno = 392; __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[56]; __pyx_lineno = 392; __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("elementary.c_elementary.Diskselector.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_14callback_scroll_anim_stop_add(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":392
+ * self._callback_del("scroll,anim,start", func)
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Scrolling animation has stopped."""
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_14callback_scroll_anim_stop_add(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":394
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs):
+ * """Scrolling animation has stopped."""
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 394; __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[56]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_17callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_17callback_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_10elementary_12c_elementary_12Diskselector_16callback_scroll_anim_stop_del(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":396
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_16callback_scroll_anim_stop_del(struct PyElementaryDiskselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":397
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ * self._callback_del("scroll,anim,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 397; __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[56]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 397; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_19callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_18callback_scroll_drag_start_add[] = "Dragging the diskselector has started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_19callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[56]; __pyx_lineno = 399; __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[56]; __pyx_lineno = 399; __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("elementary.c_elementary.Diskselector.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_18callback_scroll_drag_start_add(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":399
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the diskselector has started."""
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_18callback_scroll_drag_start_add(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":401
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ * """Dragging the diskselector has started."""
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 401; __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[56]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_21callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_21callback_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_10elementary_12c_elementary_12Diskselector_20callback_scroll_drag_start_del(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":403
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_20callback_scroll_drag_start_del(struct PyElementaryDiskselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":404
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 404; __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[56]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_23callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12Diskselector_22callback_scroll_drag_stop_add[] = "Dragging the diskselector has stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_23callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[56]; __pyx_lineno = 406; __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[56]; __pyx_lineno = 406; __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("elementary.c_elementary.Diskselector.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12Diskselector_22callback_scroll_drag_stop_add(((struct PyElementaryDiskselector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":406
+ * self._callback_del("scroll,drag,start", func)
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the diskselector has stopped."""
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_22callback_scroll_drag_stop_add(struct PyElementaryDiskselector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":408
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs):
+ * """Dragging the diskselector has stopped."""
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 408; __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[56]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_25callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12Diskselector_25callback_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_10elementary_12c_elementary_12Diskselector_24callback_scroll_drag_stop_del(((struct PyElementaryDiskselector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":410
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12Diskselector_24callback_scroll_drag_stop_del(struct PyElementaryDiskselector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":411
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ * self._callback_del("scroll,drag,stop", func) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 411; __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[56]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Diskselector.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;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 183; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[57]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime___init__(((struct PyElementaryDatetime *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":183
+ *
+ * """
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_datetime_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Datetime___init__(struct PyElementaryDatetime *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":184
+ * """
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_datetime_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 184; __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[57]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":185
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_datetime_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * property format:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Datetime *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_datetime_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Datetime.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_6format_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_6format_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_6format___get__(((struct PyElementaryDatetime *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":261
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_datetime_format_get(self.obj))
+ * def __set__(self, fmt):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_6format___get__(struct PyElementaryDatetime *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":262
+ * """
+ * def __get__(self):
+ * return _ctouni(elm_datetime_format_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, fmt):
+ * elm_datetime_format_set(self.obj, _cfruni(fmt))
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_datetime_format_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.format.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_6format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fmt); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_6format_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_fmt) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_6format_2__set__(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_fmt));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":263
+ * def __get__(self):
+ * return _ctouni(elm_datetime_format_get(self.obj))
+ * def __set__(self, fmt): # <<<<<<<<<<<<<<
+ * elm_datetime_format_set(self.obj, _cfruni(fmt))
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Datetime_6format_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_fmt) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":264
+ * return _ctouni(elm_datetime_format_get(self.obj))
+ * def __set__(self, fmt):
+ * elm_datetime_format_set(self.obj, _cfruni(fmt)) # <<<<<<<<<<<<<<
+ *
+ * property value_max:
+ */
+ elm_datetime_format_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_fmt));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_9value_max_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_9value_max_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_9value_max___get__(((struct PyElementaryDatetime *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":283
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * elm_datetime_value_max_get(self.obj, &time)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_9value_max___get__(struct PyElementaryDatetime *__pyx_v_self) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":285
+ * def __get__(self):
+ * cdef tm time
+ * elm_datetime_value_max_get(self.obj, &time) # <<<<<<<<<<<<<<
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ */
+ elm_datetime_value_max_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":286
+ * cdef tm time
+ * elm_datetime_value_max_get(self.obj, &time)
+ * ret = datetime( time.tm_year + 1900, # <<<<<<<<<<<<<<
+ * time.tm_mon + 1,
+ * time.tm_mday,
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__datetime); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong((__pyx_v_time.tm_year + 1900)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":287
+ * elm_datetime_value_max_get(self.obj, &time)
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1, # <<<<<<<<<<<<<<
+ * time.tm_mday,
+ * time.tm_hour,
+ */
+ __pyx_t_3 = PyInt_FromLong((__pyx_v_time.tm_mon + 1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":288
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ * time.tm_mday, # <<<<<<<<<<<<<<
+ * time.tm_hour,
+ * time.tm_min,
+ */
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_time.tm_mday); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":289
+ * time.tm_mon + 1,
+ * time.tm_mday,
+ * time.tm_hour, # <<<<<<<<<<<<<<
+ * time.tm_min,
+ * time.tm_sec)
+ */
+ __pyx_t_5 = PyInt_FromLong(__pyx_v_time.tm_hour); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":290
+ * time.tm_mday,
+ * time.tm_hour,
+ * time.tm_min, # <<<<<<<<<<<<<<
+ * time.tm_sec)
+ * return ret
+ */
+ __pyx_t_6 = PyInt_FromLong(__pyx_v_time.tm_min); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":291
+ * time.tm_hour,
+ * time.tm_min,
+ * time.tm_sec) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_7 = PyInt_FromLong(__pyx_v_time.tm_sec); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 291; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = PyTuple_New(6); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_8, 5, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_8), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __pyx_v_ret = __pyx_t_7;
+ __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":292
+ * time.tm_min,
+ * time.tm_sec)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, newtime):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_r = __pyx_v_ret;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.value_max.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_9value_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_newtime); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_9value_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_newtime) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_9value_max_2__set__(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_newtime));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":294
+ * return ret
+ *
+ * def __set__(self, newtime): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * tmtup = newtime.timetuple()
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Datetime_9value_max_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_newtime) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_tmtup = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":296
+ * def __set__(self, newtime):
+ * cdef tm time
+ * tmtup = newtime.timetuple() # <<<<<<<<<<<<<<
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_newtime, __pyx_n_s__timetuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_tmtup = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":297
+ * cdef tm time
+ * tmtup = newtime.timetuple()
+ * time.tm_sec = tmtup.tm_sec # <<<<<<<<<<<<<<
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_sec); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_sec = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":298
+ * tmtup = newtime.timetuple()
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min # <<<<<<<<<<<<<<
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_min); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_min = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":299
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour # <<<<<<<<<<<<<<
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_hour); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_hour = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":300
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday # <<<<<<<<<<<<<<
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 300; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_mday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":301
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1 # <<<<<<<<<<<<<<
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mon); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyNumber_Subtract(__pyx_t_2, __pyx_int_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_time.tm_mon = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":302
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900 # <<<<<<<<<<<<<<
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_year); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyNumber_Subtract(__pyx_t_1, __pyx_int_1900); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_year = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":303
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday # <<<<<<<<<<<<<<
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_wday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_wday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":304
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday # <<<<<<<<<<<<<<
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_datetime_value_max_set(self.obj, &time)
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_yday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 304; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_yday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":305
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst # <<<<<<<<<<<<<<
+ * elm_datetime_value_max_set(self.obj, &time)
+ *
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_isdst); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_isdst = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":306
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_datetime_value_max_set(self.obj, &time) # <<<<<<<<<<<<<<
+ *
+ * property value_min:
+ */
+ elm_datetime_value_max_set(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.value_max.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_tmtup);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_9value_min_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_9value_min_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_9value_min___get__(((struct PyElementaryDatetime *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":325
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * elm_datetime_value_min_get(self.obj, &time)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_9value_min___get__(struct PyElementaryDatetime *__pyx_v_self) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":327
+ * def __get__(self):
+ * cdef tm time
+ * elm_datetime_value_min_get(self.obj, &time) # <<<<<<<<<<<<<<
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ */
+ elm_datetime_value_min_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":328
+ * cdef tm time
+ * elm_datetime_value_min_get(self.obj, &time)
+ * ret = datetime( time.tm_year + 1900, # <<<<<<<<<<<<<<
+ * time.tm_mon + 1,
+ * time.tm_mday,
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__datetime); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong((__pyx_v_time.tm_year + 1900)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":329
+ * elm_datetime_value_min_get(self.obj, &time)
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1, # <<<<<<<<<<<<<<
+ * time.tm_mday,
+ * time.tm_hour,
+ */
+ __pyx_t_3 = PyInt_FromLong((__pyx_v_time.tm_mon + 1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":330
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ * time.tm_mday, # <<<<<<<<<<<<<<
+ * time.tm_hour,
+ * time.tm_min,
+ */
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_time.tm_mday); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":331
+ * time.tm_mon + 1,
+ * time.tm_mday,
+ * time.tm_hour, # <<<<<<<<<<<<<<
+ * time.tm_min,
+ * time.tm_sec)
+ */
+ __pyx_t_5 = PyInt_FromLong(__pyx_v_time.tm_hour); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":332
+ * time.tm_mday,
+ * time.tm_hour,
+ * time.tm_min, # <<<<<<<<<<<<<<
+ * time.tm_sec)
+ * return ret
+ */
+ __pyx_t_6 = PyInt_FromLong(__pyx_v_time.tm_min); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":333
+ * time.tm_hour,
+ * time.tm_min,
+ * time.tm_sec) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_7 = PyInt_FromLong(__pyx_v_time.tm_sec); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = PyTuple_New(6); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_8, 5, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_8), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __pyx_v_ret = __pyx_t_7;
+ __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":334
+ * time.tm_min,
+ * time.tm_sec)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, newtime):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_r = __pyx_v_ret;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.value_min.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_9value_min_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_newtime); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_9value_min_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_newtime) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_9value_min_2__set__(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_newtime));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":336
+ * return ret
+ *
+ * def __set__(self, newtime): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * tmtup = newtime.timetuple()
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Datetime_9value_min_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_newtime) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_tmtup = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":338
+ * def __set__(self, newtime):
+ * cdef tm time
+ * tmtup = newtime.timetuple() # <<<<<<<<<<<<<<
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_newtime, __pyx_n_s__timetuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 338; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_tmtup = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":339
+ * cdef tm time
+ * tmtup = newtime.timetuple()
+ * time.tm_sec = tmtup.tm_sec # <<<<<<<<<<<<<<
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_sec); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_sec = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":340
+ * tmtup = newtime.timetuple()
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min # <<<<<<<<<<<<<<
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_min); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_min = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":341
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour # <<<<<<<<<<<<<<
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_hour); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 341; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_hour = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":342
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday # <<<<<<<<<<<<<<
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_mday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":343
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1 # <<<<<<<<<<<<<<
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mon); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyNumber_Subtract(__pyx_t_2, __pyx_int_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_time.tm_mon = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":344
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900 # <<<<<<<<<<<<<<
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_year); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyNumber_Subtract(__pyx_t_1, __pyx_int_1900); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_year = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":345
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday # <<<<<<<<<<<<<<
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_wday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_wday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":346
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday # <<<<<<<<<<<<<<
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_datetime_value_min_set(self.obj, &time)
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_yday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_yday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":347
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst # <<<<<<<<<<<<<<
+ * elm_datetime_value_min_set(self.obj, &time)
+ *
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_isdst); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_isdst = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":348
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_datetime_value_min_set(self.obj, &time) # <<<<<<<<<<<<<<
+ *
+ * property field_limit:
+ */
+ elm_datetime_value_min_set(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.value_min.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_tmtup);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_11field_limit_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_11field_limit_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_11field_limit___get__(((struct PyElementaryDatetime *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":367
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int min, max
+ * cdef Elm_Datetime_Field_Type fieldtype = ELM_DATETIME_YEAR
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_11field_limit___get__(struct PyElementaryDatetime *__pyx_v_self) {
+ int __pyx_v_min;
+ int __pyx_v_max;
+ Elm_Datetime_Field_Type __pyx_v_fieldtype;
+ 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("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":369
+ * def __get__(self):
+ * cdef int min, max
+ * cdef Elm_Datetime_Field_Type fieldtype = ELM_DATETIME_YEAR # <<<<<<<<<<<<<<
+ * elm_datetime_field_limit_get(self.obj, fieldtype, &min, &max)
+ * return (fieldtype, min, max)
+ */
+ __pyx_v_fieldtype = ELM_DATETIME_YEAR;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":370
+ * cdef int min, max
+ * cdef Elm_Datetime_Field_Type fieldtype = ELM_DATETIME_YEAR
+ * elm_datetime_field_limit_get(self.obj, fieldtype, &min, &max) # <<<<<<<<<<<<<<
+ * return (fieldtype, min, max)
+ *
+ */
+ elm_datetime_field_limit_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_fieldtype, (&__pyx_v_min), (&__pyx_v_max));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":371
+ * cdef Elm_Datetime_Field_Type fieldtype = ELM_DATETIME_YEAR
+ * elm_datetime_field_limit_get(self.obj, fieldtype, &min, &max)
+ * return (fieldtype, min, max) # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, value):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_fieldtype); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_min); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_max); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 371; __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[57]; __pyx_lineno = 371; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Datetime.field_limit.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_11field_limit_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_11field_limit_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_11field_limit_2__set__(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":373
+ * return (fieldtype, min, max)
+ *
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * cdef int min, max
+ * cdef Elm_Datetime_Field_Type fieldtype
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Datetime_11field_limit_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_v_min;
+ int __pyx_v_max;
+ Elm_Datetime_Field_Type __pyx_v_fieldtype;
+ int __pyx_r;
+ __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)(PyObject *);
+ int __pyx_t_6;
+ int __pyx_t_7;
+ Elm_Datetime_Field_Type __pyx_t_8;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":376
+ * cdef int min, max
+ * cdef Elm_Datetime_Field_Type fieldtype
+ * min, max, fieldtype = value # <<<<<<<<<<<<<<
+ * elm_datetime_field_limit_set(self.obj, fieldtype, min, max)
+ *
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_4 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
+ index = 0; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_1);
+ index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 2; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 3) < 0) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_t_6 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_7 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_8 = ((Elm_Datetime_Field_Type)PyInt_AsLong(__pyx_t_3)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 376; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_v_min = __pyx_t_6;
+ __pyx_v_max = __pyx_t_7;
+ __pyx_v_fieldtype = __pyx_t_8;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":377
+ * cdef Elm_Datetime_Field_Type fieldtype
+ * min, max, fieldtype = value
+ * elm_datetime_field_limit_set(self.obj, fieldtype, min, max) # <<<<<<<<<<<<<<
+ *
+ * property value:
+ */
+ elm_datetime_field_limit_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_v_fieldtype, __pyx_v_min, __pyx_v_max);
+
+ __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_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.field_limit.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_5value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_5value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_5value___get__(((struct PyElementaryDatetime *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":396
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * elm_datetime_value_get(self.obj, &time)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_5value___get__(struct PyElementaryDatetime *__pyx_v_self) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":398
+ * def __get__(self):
+ * cdef tm time
+ * elm_datetime_value_get(self.obj, &time) # <<<<<<<<<<<<<<
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ */
+ elm_datetime_value_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":399
+ * cdef tm time
+ * elm_datetime_value_get(self.obj, &time)
+ * ret = datetime( time.tm_year + 1900, # <<<<<<<<<<<<<<
+ * time.tm_mon + 1,
+ * time.tm_mday,
+ */
+ __pyx_t_1 = __Pyx_GetName(__pyx_m, __pyx_n_s__datetime); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong((__pyx_v_time.tm_year + 1900)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":400
+ * elm_datetime_value_get(self.obj, &time)
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1, # <<<<<<<<<<<<<<
+ * time.tm_mday,
+ * time.tm_hour,
+ */
+ __pyx_t_3 = PyInt_FromLong((__pyx_v_time.tm_mon + 1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":401
+ * ret = datetime( time.tm_year + 1900,
+ * time.tm_mon + 1,
+ * time.tm_mday, # <<<<<<<<<<<<<<
+ * time.tm_hour,
+ * time.tm_min,
+ */
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_time.tm_mday); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":402
+ * time.tm_mon + 1,
+ * time.tm_mday,
+ * time.tm_hour, # <<<<<<<<<<<<<<
+ * time.tm_min,
+ * time.tm_sec)
+ */
+ __pyx_t_5 = PyInt_FromLong(__pyx_v_time.tm_hour); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":403
+ * time.tm_mday,
+ * time.tm_hour,
+ * time.tm_min, # <<<<<<<<<<<<<<
+ * time.tm_sec)
+ * return ret
+ */
+ __pyx_t_6 = PyInt_FromLong(__pyx_v_time.tm_min); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":404
+ * time.tm_hour,
+ * time.tm_min,
+ * time.tm_sec) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_7 = PyInt_FromLong(__pyx_v_time.tm_sec); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = PyTuple_New(6); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_8, 3, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_8, 5, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_8), NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 399; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_8)); __pyx_t_8 = 0;
+ __pyx_v_ret = __pyx_t_7;
+ __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":405
+ * time.tm_min,
+ * time.tm_sec)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def __set__(self, newtime):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_r = __pyx_v_ret;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_newtime); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Datetime_5value_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_newtime) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_5value_2__set__(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_newtime));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":407
+ * return ret
+ *
+ * def __set__(self, newtime): # <<<<<<<<<<<<<<
+ * cdef tm time
+ * tmtup = newtime.timetuple()
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Datetime_5value_2__set__(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_newtime) {
+ struct tm __pyx_v_time;
+ PyObject *__pyx_v_tmtup = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":409
+ * def __set__(self, newtime):
+ * cdef tm time
+ * tmtup = newtime.timetuple() # <<<<<<<<<<<<<<
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_newtime, __pyx_n_s__timetuple); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_tmtup = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":410
+ * cdef tm time
+ * tmtup = newtime.timetuple()
+ * time.tm_sec = tmtup.tm_sec # <<<<<<<<<<<<<<
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_sec); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_sec = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":411
+ * tmtup = newtime.timetuple()
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min # <<<<<<<<<<<<<<
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_min); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_min = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":412
+ * time.tm_sec = tmtup.tm_sec
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour # <<<<<<<<<<<<<<
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_hour); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_hour = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":413
+ * time.tm_min = tmtup.tm_min
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday # <<<<<<<<<<<<<<
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_mday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":414
+ * time.tm_hour = tmtup.tm_hour
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1 # <<<<<<<<<<<<<<
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_mon); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = PyNumber_Subtract(__pyx_t_2, __pyx_int_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_time.tm_mon = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":415
+ * time.tm_mday = tmtup.tm_mday
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900 # <<<<<<<<<<<<<<
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_year); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyNumber_Subtract(__pyx_t_1, __pyx_int_1900); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_year = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":416
+ * time.tm_mon = tmtup.tm_mon - 1
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday # <<<<<<<<<<<<<<
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_wday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_wday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":417
+ * time.tm_year = tmtup.tm_year - 1900
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday # <<<<<<<<<<<<<<
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_datetime_value_set(self.obj, &time)
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_yday); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_yday = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":418
+ * time.tm_wday = tmtup.tm_wday
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst # <<<<<<<<<<<<<<
+ * elm_datetime_value_set(self.obj, &time)
+ *
+ */
+ __pyx_t_2 = PyObject_GetAttr(__pyx_v_tmtup, __pyx_n_s__tm_isdst); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_v_time.tm_isdst = __pyx_t_3;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":419
+ * time.tm_yday = tmtup.tm_yday
+ * time.tm_isdst = tmtup.tm_isdst
+ * elm_datetime_value_set(self.obj, &time) # <<<<<<<<<<<<<<
+ *
+ * def field_visible_get(self, fieldtype):
+ */
+ elm_datetime_value_set(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_time));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.value.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_tmtup);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_3field_visible_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fieldtype); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Datetime_2field_visible_get[] = "Whether a field can be visible/not\n\n @see: L{field_visible_set()}\n\n @param fieldtype: Type of the field. ELM_DATETIME_YEAR etc\n @type fieldtype: Elm_Datetime_Field_Type\n @return: C{True}, if field can be visible. C{False} otherwise.\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_3field_visible_get(PyObject *__pyx_v_self, PyObject *__pyx_v_fieldtype) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("field_visible_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_2field_visible_get(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_fieldtype));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":421
+ * elm_datetime_value_set(self.obj, &time)
+ *
+ * def field_visible_get(self, fieldtype): # <<<<<<<<<<<<<<
+ * """Whether a field can be visible/not
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_2field_visible_get(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_fieldtype) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Datetime_Field_Type __pyx_t_1;
+ 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("field_visible_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":432
+ *
+ * """
+ * return bool(elm_datetime_field_visible_get(self.obj, fieldtype)) # <<<<<<<<<<<<<<
+ *
+ * def field_visible_set(self, fieldtype, visible):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Datetime_Field_Type)PyInt_AsLong(__pyx_v_fieldtype)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(elm_datetime_field_visible_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.field_visible_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_5field_visible_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Datetime_4field_visible_set[] = "Set a field to be visible or not.\n\n Setting this API True does not ensure that the field is visible, apart\n from this, the field's format must be present in Datetime overall format.\n If a field's visibility is set to False then it won't appear even though\n its format is present in overall format. So if and only if this API is\n set true and the corresponding field's format is present in Datetime\n format, the field is visible.\n\n By default the field visibility is set to True.\n\n @see: elm_datetime_field_visible_get()\n\n @param fieldtype: Type of the field. ELM_DATETIME_YEAR etc.\n @type fieldtype: Elm_Datetime_Field_Type\n @param visible: C{True} field can be visible, C{False} otherwise.\n @type visible: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_5field_visible_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_fieldtype = 0;
+ PyObject *__pyx_v_visible = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__fieldtype,&__pyx_n_s__visible,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("field_visible_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__fieldtype);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__visible);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("field_visible_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[57]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "field_visible_set") < 0)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 434; __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_fieldtype = values[0];
+ __pyx_v_visible = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("field_visible_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[57]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.field_visible_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_4field_visible_set(((struct PyElementaryDatetime *)__pyx_v_self), __pyx_v_fieldtype, __pyx_v_visible);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":434
+ * return bool(elm_datetime_field_visible_get(self.obj, fieldtype))
+ *
+ * def field_visible_set(self, fieldtype, visible): # <<<<<<<<<<<<<<
+ * """Set a field to be visible or not.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_4field_visible_set(struct PyElementaryDatetime *__pyx_v_self, PyObject *__pyx_v_fieldtype, PyObject *__pyx_v_visible) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Datetime_Field_Type __pyx_t_1;
+ Eina_Bool __pyx_t_2;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("field_visible_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":454
+ *
+ * """
+ * elm_datetime_field_visible_set(self.obj, fieldtype, visible) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = ((Elm_Datetime_Field_Type)PyInt_AsLong(__pyx_v_fieldtype)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_visible); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_datetime_field_visible_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Datetime.field_visible_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_7callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Datetime_6callback_changed_add[] = "Whenever Datetime field value is changed, this signal is sent.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_7callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[57]; __pyx_lineno = 456; __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[57]; __pyx_lineno = 456; __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("elementary.c_elementary.Datetime.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_6callback_changed_add(((struct PyElementaryDatetime *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":456
+ * elm_datetime_field_visible_set(self.obj, fieldtype, visible)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Whenever Datetime field value is changed, this signal is sent."""
+ * self._callback_add("changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_6callback_changed_add(struct PyElementaryDatetime *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":458
+ * def callback_changed_add(self, func, *args, **kwargs):
+ * """Whenever Datetime field value is changed, this signal is sent."""
+ * self._callback_add("changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 458; __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[57]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Datetime.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_9callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_9callback_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_10elementary_12c_elementary_8Datetime_8callback_changed_del(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":460
+ * self._callback_add("changed", func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_8callback_changed_del(struct PyElementaryDatetime *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":461
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del("changed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_languge_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 461; __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[57]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 461; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Datetime.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_11callback_languge_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Datetime_10callback_languge_changed_add[] = "Whenever system locale changes, this signal is sent.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_11callback_languge_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_languge_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_languge_changed_add") < 0)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 463; __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_languge_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[57]; __pyx_lineno = 463; __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("elementary.c_elementary.Datetime.callback_languge_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_10callback_languge_changed_add(((struct PyElementaryDatetime *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":463
+ * self._callback_del("changed", func)
+ *
+ * def callback_languge_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Whenever system locale changes, this signal is sent."""
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_10callback_languge_changed_add(struct PyElementaryDatetime *__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_languge_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":465
+ * def callback_languge_changed_add(self, func, *args, **kwargs):
+ * """Whenever system locale changes, this signal is sent."""
+ * self._callback_add("language,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_language_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 465; __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[57]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 465; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Datetime.callback_languge_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_13callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Datetime_13callback_language_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_language_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Datetime_12callback_language_changed_del(((struct PyElementaryDatetime *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":467
+ * self._callback_add("language,changed", func, *args, **kwargs)
+ *
+ * def callback_language_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("language,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Datetime_12callback_language_changed_del(struct PyElementaryDatetime *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_language_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":468
+ *
+ * def callback_language_changed_del(self, func):
+ * self._callback_del("language,changed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("datetime", Datetime)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 468; __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[57]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_73));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_73));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_73));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Datetime.callback_language_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":21
+ * from evas.c_evas cimport eina_list_free, eina_list_append
+ *
+ * cdef _elm_map_overlay_to_python(Elm_Map_Overlay *ov): # <<<<<<<<<<<<<<
+ * cdef void *data
+ *
+ */
+
+ static PyObject *__pyx_f_10elementary_12c_elementary__elm_map_overlay_to_python(Elm_Map_Overlay *__pyx_v_ov) {
+ void *__pyx_v_data;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ __Pyx_RefNannySetupContext("_elm_map_overlay_to_python", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":24
+ * cdef void *data
+ *
+ * if ov == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * data = elm_map_overlay_data_get(ov)
+ */
+ __pyx_t_1 = (__pyx_v_ov == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":25
+ *
+ * if ov == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * data = elm_map_overlay_data_get(ov)
+ * if data == NULL:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":26
+ * if ov == NULL:
+ * return None
+ * data = elm_map_overlay_data_get(ov) # <<<<<<<<<<<<<<
+ * if data == NULL:
+ * return None
+ */
+ __pyx_v_data = elm_map_overlay_data_get(__pyx_v_ov);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":27
+ * return None
+ * data = elm_map_overlay_data_get(ov)
+ * if data == NULL: # <<<<<<<<<<<<<<
+ * return None
+ * return <object>data
+ */
+ __pyx_t_1 = (__pyx_v_data == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":28
+ * data = elm_map_overlay_data_get(ov)
+ * if data == NULL:
+ * return None # <<<<<<<<<<<<<<
+ * return <object>data
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":29
+ * if data == NULL:
+ * return None
+ * return <object>data # <<<<<<<<<<<<<<
+ *
+ * cdef void _map_overlay_get_callback(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_r = ((PyObject *)__pyx_v_data);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":31
+ * return <object>data
+ *
+ * cdef void _map_overlay_get_callback(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil: # <<<<<<<<<<<<<<
+ * cdef Object obj
+ *
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__map_overlay_get_callback(void *__pyx_v_data, Evas_Object *__pyx_v_map, Elm_Map_Overlay *__pyx_v_overlay) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kwargs = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ void *__pyx_t_1;
+ 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)(PyObject *);
+ int __pyx_t_10;
+ PyObject *__pyx_t_11 = 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("_map_overlay_get_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":34
+ * cdef Object obj
+ *
+ * obj = <Object>evas_object_data_get(map, "python-evas") # <<<<<<<<<<<<<<
+ * try:
+ * (func, args, kwargs) = <object>data
+ */
+ __pyx_t_1 = evas_object_data_get(__pyx_v_map, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":35
+ *
+ * obj = <Object>evas_object_data_get(map, "python-evas")
+ * try: # <<<<<<<<<<<<<<
+ * (func, args, kwargs) = <object>data
+ * func(obj, _elm_map_overlay_to_python(overlay), *args, **kwargs)
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_2, &__pyx_t_3, &__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_2);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":36
+ * obj = <Object>evas_object_data_get(map, "python-evas")
+ * try:
+ * (func, args, kwargs) = <object>data # <<<<<<<<<<<<<<
+ * func(obj, _elm_map_overlay_to_python(overlay), *args, **kwargs)
+ * except Exception, e:
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 3)) {
+ if (PyTuple_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 3)) {
+ if (PyList_GET_SIZE(sequence) > 3) __Pyx_RaiseTooManyValuesError(3);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_6 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_7 = PyList_GET_ITEM(sequence, 2);
+ }
+ __Pyx_INCREF(__pyx_t_5);
+ __Pyx_INCREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_t_7);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_8 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext;
+ index = 0; __pyx_t_5 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_5)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ index = 1; __pyx_t_6 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_6)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_6);
+ index = 2; __pyx_t_7 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_7)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_7);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 3) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L12_unpacking_done;
+ __pyx_L11_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L12_unpacking_done:;
+ }
+ __pyx_v_func = __pyx_t_5;
+ __pyx_t_5 = 0;
+ __pyx_v_args = __pyx_t_6;
+ __pyx_t_6 = 0;
+ __pyx_v_kwargs = __pyx_t_7;
+ __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":37
+ * try:
+ * (func, args, kwargs) = <object>data
+ * func(obj, _elm_map_overlay_to_python(overlay), *args, **kwargs) # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_t_7 = __pyx_f_10elementary_12c_elementary__elm_map_overlay_to_python(__pyx_v_overlay); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __pyx_t_5 = PyNumber_Add(((PyObject *)__pyx_t_6), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ if (unlikely(__pyx_v_kwargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kwargs))) {
+ __pyx_t_7 = __pyx_v_kwargs;
+ __Pyx_INCREF(__pyx_t_7);
+ } else {
+ __pyx_t_7 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kwargs, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ }
+ __pyx_t_6 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+ goto __pyx_L10_try_end;
+ __pyx_L3_error:;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":38
+ * (func, args, kwargs) = <object>data
+ * func(obj, _elm_map_overlay_to_python(overlay), *args, **kwargs)
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_10 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_10) {
+ __Pyx_AddTraceback("elementary.c_elementary._map_overlay_get_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_7, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(__pyx_t_7);
+ __pyx_v_e = __pyx_t_7;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":39
+ * func(obj, _elm_map_overlay_to_python(overlay), *args, **kwargs)
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+ */
+ __pyx_t_8 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __pyx_t_11 = PyObject_GetAttr(__pyx_t_8, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_11)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_11);
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __pyx_t_8 = PyObject_Call(__pyx_t_11, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_exception_handled;
+ }
+ __pyx_L5_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
+ goto __pyx_L1_error;
+ __pyx_L4_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
+ __pyx_L10_try_end:;
+ }
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_11);
+ __Pyx_WriteUnraisable("elementary.c_elementary._map_overlay_get_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":41
+ * traceback.print_exc()
+ *
+ * cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil: # <<<<<<<<<<<<<<
+ * ov = <object>data
+ * ov.__del_cb()
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__map_overlay_del_cb(void *__pyx_v_data, CYTHON_UNUSED Evas_Object *__pyx_v_map, CYTHON_UNUSED Elm_Map_Overlay *__pyx_v_overlay) {
+ PyObject *__pyx_v_ov = 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;
+ #ifdef WITH_THREAD
+ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
+ #endif
+ __Pyx_RefNannySetupContext("_map_overlay_del_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":42
+ *
+ * cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+ * ov = <object>data # <<<<<<<<<<<<<<
+ * ov.__del_cb()
+ *
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_ov = ((PyObject *)__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":43
+ * cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+ * ov = <object>data
+ * ov.__del_cb() # <<<<<<<<<<<<<<
+ *
+ * cdef void _map_route_callback(void *data, Evas_Object *map, Elm_Map_Route *route) with gil:
+ */
+ __pyx_t_1 = PyObject_GetAttr(__pyx_v_ov, __pyx_n_s____del_cb); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 43; __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_2); __pyx_t_2 = 0;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_WriteUnraisable("elementary.c_elementary._map_overlay_del_cb", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ov);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":45
+ * ov.__del_cb()
+ *
+ * cdef void _map_route_callback(void *data, Evas_Object *map, Elm_Map_Route *route) with gil: # <<<<<<<<<<<<<<
+ * cdef Object obj
+ *
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__map_route_callback(void *__pyx_v_data, Evas_Object *__pyx_v_map, CYTHON_UNUSED Elm_Map_Route *__pyx_v_route) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ PyObject *__pyx_v_proute = NULL;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kwargs = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ void *__pyx_t_1;
+ 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)(PyObject *);
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = NULL;
+ int __pyx_t_11;
+ 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("_map_route_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":48
+ * cdef Object obj
+ *
+ * obj = <Object>evas_object_data_get(map, "python-evas") # <<<<<<<<<<<<<<
+ * (proute, func, args, kwargs) = <object>data
+ * try:
+ */
+ __pyx_t_1 = evas_object_data_get(__pyx_v_map, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":49
+ *
+ * obj = <Object>evas_object_data_get(map, "python-evas")
+ * (proute, func, args, kwargs) = <object>data # <<<<<<<<<<<<<<
+ * try:
+ * func(obj, proute, *args, **kwargs)
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_t_5);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_6 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ index = 0; __pyx_t_2 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 1; __pyx_t_3 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 2; __pyx_t_4 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ index = 3; __pyx_t_5 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 4) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_proute = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_func = __pyx_t_3;
+ __pyx_t_3 = 0;
+ __pyx_v_args = __pyx_t_4;
+ __pyx_t_4 = 0;
+ __pyx_v_kwargs = __pyx_t_5;
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":50
+ * obj = <Object>evas_object_data_get(map, "python-evas")
+ * (proute, func, args, kwargs) = <object>data
+ * try: # <<<<<<<<<<<<<<
+ * func(obj, proute, *args, **kwargs)
+ * except Exception, e:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_8, &__pyx_t_9, &__pyx_t_10);
+ __Pyx_XGOTREF(__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_9);
+ __Pyx_XGOTREF(__pyx_t_10);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":51
+ * (proute, func, args, kwargs) = <object>data
+ * try:
+ * func(obj, proute, *args, **kwargs) # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __Pyx_INCREF(__pyx_v_proute);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_proute);
+ __Pyx_GIVEREF(__pyx_v_proute);
+ __pyx_t_4 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (unlikely(__pyx_v_kwargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kwargs))) {
+ __pyx_t_4 = __pyx_v_kwargs;
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ __pyx_t_4 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kwargs, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ }
+ __pyx_t_5 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":52
+ * try:
+ * func(obj, proute, *args, **kwargs)
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_11) {
+ __Pyx_AddTraceback("elementary.c_elementary._map_route_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_3) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ __pyx_v_e = __pyx_t_4;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":53
+ * func(obj, proute, *args, **kwargs)
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * Py_DECREF(<object>data)
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_6 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_XGIVEREF(__pyx_t_9);
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_XGIVEREF(__pyx_t_9);
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
+ __pyx_L12_try_end:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":55
+ * traceback.print_exc()
+ *
+ * Py_DECREF(<object>data) # <<<<<<<<<<<<<<
+ *
+ * cdef void _map_name_callback(void *data, Evas_Object *map, Elm_Map_Name *name) with gil:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_data));
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __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_WriteUnraisable("elementary.c_elementary._map_route_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_proute);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":57
+ * Py_DECREF(<object>data)
+ *
+ * cdef void _map_name_callback(void *data, Evas_Object *map, Elm_Map_Name *name) with gil: # <<<<<<<<<<<<<<
+ * cdef Object obj
+ *
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__map_name_callback(void *__pyx_v_data, Evas_Object *__pyx_v_map, CYTHON_UNUSED Elm_Map_Name *__pyx_v_name) {
+ struct PyElementaryObject *__pyx_v_obj = 0;
+ PyObject *__pyx_v_pname = NULL;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kwargs = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ void *__pyx_t_1;
+ 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)(PyObject *);
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = NULL;
+ int __pyx_t_11;
+ 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("_map_name_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":60
+ * cdef Object obj
+ *
+ * obj = <Object>evas_object_data_get(map, "python-evas") # <<<<<<<<<<<<<<
+ * (pname, func, args, kwargs) = <object>data
+ * try:
+ */
+ __pyx_t_1 = evas_object_data_get(__pyx_v_map, __pyx_k_15);
+ __Pyx_INCREF(((PyObject *)((struct PyElementaryObject *)__pyx_t_1)));
+ __pyx_v_obj = ((struct PyElementaryObject *)__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":61
+ *
+ * obj = <Object>evas_object_data_get(map, "python-evas")
+ * (pname, func, args, kwargs) = <object>data # <<<<<<<<<<<<<<
+ * try:
+ * func(obj, pname, *args, **kwargs)
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_2 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_3 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_t_5);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_6 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ index = 0; __pyx_t_2 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_2);
+ index = 1; __pyx_t_3 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_3);
+ index = 2; __pyx_t_4 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_4)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ index = 3; __pyx_t_5 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L3_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 4) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L4_unpacking_done;
+ __pyx_L3_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_pname = __pyx_t_2;
+ __pyx_t_2 = 0;
+ __pyx_v_func = __pyx_t_3;
+ __pyx_t_3 = 0;
+ __pyx_v_args = __pyx_t_4;
+ __pyx_t_4 = 0;
+ __pyx_v_kwargs = __pyx_t_5;
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":62
+ * obj = <Object>evas_object_data_get(map, "python-evas")
+ * (pname, func, args, kwargs) = <object>data
+ * try: # <<<<<<<<<<<<<<
+ * func(obj, pname, *args, **kwargs)
+ * except Exception, e:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_8, &__pyx_t_9, &__pyx_t_10);
+ __Pyx_XGOTREF(__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_9);
+ __Pyx_XGOTREF(__pyx_t_10);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":63
+ * (pname, func, args, kwargs) = <object>data
+ * try:
+ * func(obj, pname, *args, **kwargs) # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_v_obj));
+ PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_obj));
+ __Pyx_INCREF(__pyx_v_pname);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v_pname);
+ __Pyx_GIVEREF(__pyx_v_pname);
+ __pyx_t_4 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (unlikely(__pyx_v_kwargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kwargs))) {
+ __pyx_t_4 = __pyx_v_kwargs;
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ __pyx_t_4 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kwargs, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ }
+ __pyx_t_5 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":64
+ * try:
+ * func(obj, pname, *args, **kwargs)
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_11) {
+ __Pyx_AddTraceback("elementary.c_elementary._map_name_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_3) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ __pyx_v_e = __pyx_t_4;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":65
+ * func(obj, pname, *args, **kwargs)
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * Py_DECREF(<object>data)
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_6 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_t_6, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __pyx_L7_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_XGIVEREF(__pyx_t_9);
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_XGIVEREF(__pyx_t_9);
+ __Pyx_XGIVEREF(__pyx_t_10);
+ __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
+ __pyx_L12_try_end:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":67
+ * traceback.print_exc()
+ *
+ * Py_DECREF(<object>data) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ Py_DECREF(((PyObject *)__pyx_v_data));
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __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_WriteUnraisable("elementary.c_elementary._map_name_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+ __Pyx_XDECREF(__pyx_v_pname);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8MapRoute_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8MapRoute_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_10elementary_12c_elementary_8MapRoute___cinit__(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":73
+ * cdef Elm_Map_Route *route
+ *
+ * def __cinit__(self): # <<<<<<<<<<<<<<
+ * self.route = NULL
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8MapRoute___cinit__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":74
+ *
+ * def __cinit__(self):
+ * self.route = NULL # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject map,
+ */
+ __pyx_v_self->route = NULL;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8MapRoute_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8MapRoute_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_map = 0;
+ Elm_Map_Route_Type __pyx_v_type;
+ Elm_Map_Route_Method __pyx_v_method;
+ double __pyx_v_flon;
+ double __pyx_v_flat;
+ double __pyx_v_tlon;
+ double __pyx_v_tlat;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__map,&__pyx_n_s__type,&__pyx_n_s__method,&__pyx_n_s__flon,&__pyx_n_s__flat,&__pyx_n_s__tlon,&__pyx_n_s__tlat,&__pyx_n_s__func,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) > 8) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 8, 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);
+ }
+ {
+ PyObject* values[8] = {0,0,0,0,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) {
+ default:
+ case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
+ case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__type);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__method);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flon);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flat);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 4); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 5:
+ values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlon);
+ if (likely(values[5])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 5); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 6:
+ values[6] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlat);
+ if (likely(values[6])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 6); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 7:
+ values[7] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[7])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, 7); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 8) ? pos_args : 8;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) < 8) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
+ }
+ __pyx_v_map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_type = ((Elm_Map_Route_Type)PyInt_AsLong(values[1])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_method = ((Elm_Map_Route_Method)PyInt_AsLong(values[2])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_flon = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_flon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_flat = __pyx_PyFloat_AsDouble(values[4]); if (unlikely((__pyx_v_flat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_tlon = __pyx_PyFloat_AsDouble(values[5]); if (unlikely((__pyx_v_tlon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_tlat = __pyx_PyFloat_AsDouble(values[6]); if (unlikely((__pyx_v_tlat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_func = values[7];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 8, 8, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __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("elementary.c_elementary.MapRoute.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_map), __pyx_ptype_4evas_6c_evas_Object, 1, "map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_2__init__(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self), __pyx_v_map, __pyx_v_type, __pyx_v_method, __pyx_v_flon, __pyx_v_flat, __pyx_v_tlon, __pyx_v_tlat, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ 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;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":76
+ * self.route = NULL
+ *
+ * def __init__(self, evasObject map, # <<<<<<<<<<<<<<
+ * Elm_Map_Route_Type type, Elm_Map_Route_Method method,
+ * double flon, double flat, double tlon, double tlat,
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8MapRoute_2__init__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self, struct PyEvasObject *__pyx_v_map, Elm_Map_Route_Type __pyx_v_type, Elm_Map_Route_Method __pyx_v_method, double __pyx_v_flon, double __pyx_v_flat, double __pyx_v_tlon, double __pyx_v_tlat, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_data = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":81
+ * func, *args, **kwargs):
+ *
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":82
+ *
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * data = (self, func, args, kwargs)
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_211), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":84
+ * raise TypeError("func must be callable")
+ *
+ * data = (self, func, args, kwargs) # <<<<<<<<<<<<<<
+ * self.route = elm_map_route_add(map.obj, type, method,
+ * flon, flat, tlon, tlat,
+ */
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":85
+ *
+ * data = (self, func, args, kwargs)
+ * self.route = elm_map_route_add(map.obj, type, method, # <<<<<<<<<<<<<<
+ * flon, flat, tlon, tlat,
+ * _map_route_callback, <void *>data)
+ */
+ __pyx_v_self->route = elm_map_route_add(__pyx_v_map->obj, __pyx_v_type, __pyx_v_method, __pyx_v_flon, __pyx_v_flat, __pyx_v_tlon, __pyx_v_tlat, __pyx_f_10elementary_12c_elementary__map_route_callback, ((void *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":88
+ * flon, flat, tlon, tlat,
+ * _map_route_callback, <void *>data)
+ * Py_INCREF(data) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":89
+ * _map_route_callback, <void *>data)
+ * Py_INCREF(data)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ * def delete(self):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.MapRoute.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_4delete(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":91
+ * Py_INCREF(self)
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * elm_map_route_del(self.route)
+ * self.route = NULL
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_4delete(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":92
+ *
+ * def delete(self):
+ * elm_map_route_del(self.route) # <<<<<<<<<<<<<<
+ * self.route = NULL
+ * Py_DECREF(self)
+ */
+ elm_map_route_del(__pyx_v_self->route);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":93
+ * def delete(self):
+ * elm_map_route_del(self.route)
+ * self.route = NULL # <<<<<<<<<<<<<<
+ * Py_DECREF(self)
+ *
+ */
+ __pyx_v_self->route = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":94
+ * elm_map_route_del(self.route)
+ * self.route = NULL
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def distance_get(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_7distance_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_7distance_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("distance_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_6distance_get(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":96
+ * Py_DECREF(self)
+ *
+ * def distance_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_route_distance_get(self.route)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_6distance_get(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__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("distance_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":97
+ *
+ * def distance_get(self):
+ * return elm_map_route_distance_get(self.route) # <<<<<<<<<<<<<<
+ *
+ * property distance:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_map_route_distance_get(__pyx_v_self->route)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapRoute.distance_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_8distance_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_8distance_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_8distance___get__(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":100
+ *
+ * property distance:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.distance_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_8distance___get__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":101
+ * property distance:
+ * def __get__(self):
+ * return self.distance_get() # <<<<<<<<<<<<<<
+ *
+ * def node_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__distance_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 101; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapRoute.distance.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_9node_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_9node_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("node_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_8node_get(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":103
+ * return self.distance_get()
+ *
+ * def node_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_route_node_get(self.route)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_8node_get(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__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("node_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":104
+ *
+ * def node_get(self):
+ * return elm_map_route_node_get(self.route) # <<<<<<<<<<<<<<
+ *
+ * property node:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_map_route_node_get(__pyx_v_self->route)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapRoute.node_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_4node_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_4node_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_4node___get__(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":107
+ *
+ * property node:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.node_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_4node___get__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":108
+ * property node:
+ * def __get__(self):
+ * return self.node_get() # <<<<<<<<<<<<<<
+ *
+ * def waypoint_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__node_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 108; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapRoute.node.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_11waypoint_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_11waypoint_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("waypoint_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_10waypoint_get(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":110
+ * return self.node_get()
+ *
+ * def waypoint_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_route_waypoint_get(self.route)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_10waypoint_get(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__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("waypoint_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":111
+ *
+ * def waypoint_get(self):
+ * return elm_map_route_waypoint_get(self.route) # <<<<<<<<<<<<<<
+ *
+ * property waypoint:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_map_route_waypoint_get(__pyx_v_self->route)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapRoute.waypoint_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_8waypoint_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8MapRoute_8waypoint_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8MapRoute_8waypoint___get__(((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":114
+ *
+ * property waypoint:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.waypoint_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8MapRoute_8waypoint___get__(struct __pyx_obj_10elementary_12c_elementary_MapRoute *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":115
+ * property waypoint:
+ * def __get__(self):
+ * return self.waypoint_get() # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__waypoint_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 115; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapRoute.waypoint.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7MapName_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7MapName_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_10elementary_12c_elementary_7MapName___cinit__(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":121
+ * cdef Elm_Map_Name *name
+ *
+ * def __cinit__(self): # <<<<<<<<<<<<<<
+ * self.name = NULL
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7MapName___cinit__(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":122
+ *
+ * def __cinit__(self):
+ * self.name = NULL # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject map, address, double lon, double lat,
+ */
+ __pyx_v_self->name = NULL;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7MapName_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7MapName_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_map = 0;
+ PyObject *__pyx_v_address = 0;
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__map,&__pyx_n_s__address,&__pyx_n_s__lon,&__pyx_n_s__lat,&__pyx_n_s__func,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) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, 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);
+ }
+ {
+ PyObject* values[5] = {0,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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__address);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, 4); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) < 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_address = values[1];
+ __pyx_v_lon = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_lon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_lat = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_lat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_func = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __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("elementary.c_elementary.MapName.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_map), __pyx_ptype_4evas_6c_evas_Object, 1, "map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7MapName_2__init__(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self), __pyx_v_map, __pyx_v_address, __pyx_v_lon, __pyx_v_lat, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ 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;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":124
+ * self.name = NULL
+ *
+ * def __init__(self, evasObject map, address, double lon, double lat, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs):
+ * if not callable(func):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7MapName_2__init__(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self, struct PyEvasObject *__pyx_v_map, PyObject *__pyx_v_address, double __pyx_v_lon, double __pyx_v_lat, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_data = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ const char * __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":126
+ * def __init__(self, evasObject map, address, double lon, double lat,
+ * func, *args, **kwargs):
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":127
+ * func, *args, **kwargs):
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * data = (self, func, args, kwargs)
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_212), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":129
+ * raise TypeError("func must be callable")
+ *
+ * data = (self, func, args, kwargs) # <<<<<<<<<<<<<<
+ * if address:
+ * self.name = elm_map_name_add(map.obj, address, lon, lat,
+ */
+ __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":130
+ *
+ * data = (self, func, args, kwargs)
+ * if address: # <<<<<<<<<<<<<<
+ * self.name = elm_map_name_add(map.obj, address, lon, lat,
+ * _map_name_callback, <void *>data)
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_address); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":131
+ * data = (self, func, args, kwargs)
+ * if address:
+ * self.name = elm_map_name_add(map.obj, address, lon, lat, # <<<<<<<<<<<<<<
+ * _map_name_callback, <void *>data)
+ * else:
+ */
+ __pyx_t_5 = PyBytes_AsString(__pyx_v_address); if (unlikely((__pyx_t_5 == (const char *)NULL) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":132
+ * if address:
+ * self.name = elm_map_name_add(map.obj, address, lon, lat,
+ * _map_name_callback, <void *>data) # <<<<<<<<<<<<<<
+ * else:
+ * self.name = elm_map_name_add(map.obj, NULL, lon, lat,
+ */
+ __pyx_v_self->name = elm_map_name_add(__pyx_v_map->obj, __pyx_t_5, __pyx_v_lon, __pyx_v_lat, __pyx_f_10elementary_12c_elementary__map_name_callback, ((void *)__pyx_v_data));
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":134
+ * _map_name_callback, <void *>data)
+ * else:
+ * self.name = elm_map_name_add(map.obj, NULL, lon, lat, # <<<<<<<<<<<<<<
+ * _map_name_callback, <void *>data)
+ * Py_INCREF(data)
+ */
+ __pyx_v_self->name = elm_map_name_add(__pyx_v_map->obj, NULL, __pyx_v_lon, __pyx_v_lat, __pyx_f_10elementary_12c_elementary__map_name_callback, ((void *)__pyx_v_data));
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":136
+ * self.name = elm_map_name_add(map.obj, NULL, lon, lat,
+ * _map_name_callback, <void *>data)
+ * Py_INCREF(data) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":137
+ * _map_name_callback, <void *>data)
+ * Py_INCREF(data)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ * def delete(self):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.MapName.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7MapName_4delete(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":139
+ * Py_INCREF(self)
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * elm_map_name_del(self.name)
+ * self.name = NULL
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_4delete(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":140
+ *
+ * def delete(self):
+ * elm_map_name_del(self.name) # <<<<<<<<<<<<<<
+ * self.name = NULL
+ * Py_DECREF(self)
+ */
+ elm_map_name_del(__pyx_v_self->name);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":141
+ * def delete(self):
+ * elm_map_name_del(self.name)
+ * self.name = NULL # <<<<<<<<<<<<<<
+ * Py_DECREF(self)
+ *
+ */
+ __pyx_v_self->name = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":142
+ * elm_map_name_del(self.name)
+ * self.name = NULL
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def address_get(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_7address_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_7address_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("address_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7MapName_6address_get(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":144
+ * Py_DECREF(self)
+ *
+ * def address_get(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_map_name_address_get(self.name))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_6address_get(struct __pyx_obj_10elementary_12c_elementary_MapName *__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("address_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":145
+ *
+ * def address_get(self):
+ * return _ctouni(elm_map_name_address_get(self.name)) # <<<<<<<<<<<<<<
+ *
+ * property address:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_map_name_address_get(__pyx_v_self->name))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapName.address_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_7address_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_7address_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7MapName_7address___get__(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":148
+ *
+ * property address:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.address_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_7address___get__(struct __pyx_obj_10elementary_12c_elementary_MapName *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":149
+ * property address:
+ * def __get__(self):
+ * return self.address_get() # <<<<<<<<<<<<<<
+ *
+ * def region_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__address_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 149; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapName.address.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_9region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_9region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7MapName_8region_get(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":151
+ * return self.address_get()
+ *
+ * def region_get(self): # <<<<<<<<<<<<<<
+ * cdef double lon, lat
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_8region_get(struct __pyx_obj_10elementary_12c_elementary_MapName *__pyx_v_self) {
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ 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("region_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":154
+ * cdef double lon, lat
+ *
+ * elm_map_name_region_get(self.name, &lon, &lat) # <<<<<<<<<<<<<<
+ * return (lon, lat)
+ *
+ */
+ elm_map_name_region_get(__pyx_v_self->name, (&__pyx_v_lon), (&__pyx_v_lat));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":155
+ *
+ * elm_map_name_region_get(self.name, &lon, &lat)
+ * return (lon, lat) # <<<<<<<<<<<<<<
+ *
+ * property region:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_lon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_lat); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 155; __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[58]; __pyx_lineno = 155; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MapName.region_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_6region_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7MapName_6region_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7MapName_6region___get__(((struct __pyx_obj_10elementary_12c_elementary_MapName *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":158
+ *
+ * property region:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.region_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7MapName_6region___get__(struct __pyx_obj_10elementary_12c_elementary_MapName *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":159
+ * property region:
+ * def __get__(self):
+ * return self.region_get() # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__region_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 159; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapName.region.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_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_10elementary_12c_elementary_10MapOverlay___cinit__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":166
+ * cdef void* cb_get_data
+ *
+ * def __cinit__(self): # <<<<<<<<<<<<<<
+ * self.overlay = NULL
+ * self.cb_get_data = NULL
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay___cinit__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":167
+ *
+ * def __cinit__(self):
+ * self.overlay = NULL # <<<<<<<<<<<<<<
+ * self.cb_get_data = NULL
+ *
+ */
+ __pyx_v_self->overlay = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":168
+ * def __cinit__(self):
+ * self.overlay = NULL
+ * self.cb_get_data = NULL # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject Map, double lon, double lat):
+ */
+ __pyx_v_self->cb_get_data = NULL;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __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_Map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_lon = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_lon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_lat = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_lat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_2__init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), __pyx_v_Map, __pyx_v_lon, __pyx_v_lat);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":170
+ * self.cb_get_data = NULL
+ *
+ * def __init__(self, evasObject Map, double lon, double lat): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_add(Map.obj, lon, lat)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_2__init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, double __pyx_v_lon, double __pyx_v_lat) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":171
+ *
+ * def __init__(self, evasObject Map, double lon, double lat):
+ * self.overlay = elm_map_overlay_add(Map.obj, lon, lat) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_v_self->overlay = elm_map_overlay_add(__pyx_v_Map->obj, __pyx_v_lon, __pyx_v_lat);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":172
+ * def __init__(self, evasObject Map, double lon, double lat):
+ * self.overlay = elm_map_overlay_add(Map.obj, lon, lat)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":173
+ * self.overlay = elm_map_overlay_add(Map.obj, lon, lat)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":174
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ * def __del_cb(self):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_5__del_cb(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_5__del_cb(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del_cb (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_4__del_cb(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":176
+ * Py_INCREF(self)
+ *
+ * def __del_cb(self): # <<<<<<<<<<<<<<
+ * self.overlay = NULL
+ * Py_DECREF(self)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4__del_cb(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__del_cb", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":177
+ *
+ * def __del_cb(self):
+ * self.overlay = NULL # <<<<<<<<<<<<<<
+ * Py_DECREF(self)
+ *
+ */
+ __pyx_v_self->overlay = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":178
+ * def __del_cb(self):
+ * self.overlay = NULL
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def delete(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_7delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_7delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_6delete(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":180
+ * Py_DECREF(self)
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * if self.overlay == NULL:
+ * raise ValueError("Object already deleted")
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_6delete(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":181
+ *
+ * def delete(self):
+ * if self.overlay == NULL: # <<<<<<<<<<<<<<
+ * raise ValueError("Object already deleted")
+ * elm_map_overlay_del(self.overlay)
+ */
+ __pyx_t_1 = (__pyx_v_self->overlay == NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":182
+ * def delete(self):
+ * if self.overlay == NULL:
+ * raise ValueError("Object already deleted") # <<<<<<<<<<<<<<
+ * elm_map_overlay_del(self.overlay)
+ *
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_ValueError, ((PyObject *)__pyx_k_tuple_213), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":183
+ * if self.overlay == NULL:
+ * raise ValueError("Object already deleted")
+ * elm_map_overlay_del(self.overlay) # <<<<<<<<<<<<<<
+ *
+ * def type_get(self):
+ */
+ elm_map_overlay_del(__pyx_v_self->overlay);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.delete", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_9type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_9type_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("type_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_8type_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":185
+ * elm_map_overlay_del(self.overlay)
+ *
+ * def type_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_overlay_type_get(self.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_8type_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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("type_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":186
+ *
+ * def type_get(self):
+ * return elm_map_overlay_type_get(self.overlay) # <<<<<<<<<<<<<<
+ *
+ * property type:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_overlay_type_get(__pyx_v_self->overlay)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.type_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_4type_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_4type_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_4type___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":189
+ *
+ * property type:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.type_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4type___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":190
+ * property type:
+ * def __get__(self):
+ * return self.type_get() # <<<<<<<<<<<<<<
+ *
+ * def hide_set(self, hide):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__type_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 190; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_11hide_set(PyObject *__pyx_v_self, PyObject *__pyx_v_hide); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_11hide_set(PyObject *__pyx_v_self, PyObject *__pyx_v_hide) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hide_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_10hide_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_hide));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":192
+ * return self.type_get()
+ *
+ * def hide_set(self, hide): # <<<<<<<<<<<<<<
+ * elm_map_overlay_hide_set(self.overlay, bool(hide))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_10hide_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_hide) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("hide_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":193
+ *
+ * def hide_set(self, hide):
+ * elm_map_overlay_hide_set(self.overlay, bool(hide)) # <<<<<<<<<<<<<<
+ *
+ * def hide_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_hide);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_hide);
+ __Pyx_GIVEREF(__pyx_v_hide);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_map_overlay_hide_set(__pyx_v_self->overlay, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.hide_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_13hide_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_13hide_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("hide_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_12hide_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":195
+ * elm_map_overlay_hide_set(self.overlay, bool(hide))
+ *
+ * def hide_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_map_overlay_hide_get(self.overlay))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_12hide_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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("hide_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":196
+ *
+ * def hide_get(self):
+ * return bool(elm_map_overlay_hide_get(self.overlay)) # <<<<<<<<<<<<<<
+ *
+ * property hide:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_map_overlay_hide_get(__pyx_v_self->overlay)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.hide_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_4hide_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_4hide_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_4hide___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":199
+ *
+ * property hide:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.hide_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4hide___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":200
+ * property hide:
+ * def __get__(self):
+ * return self.hide_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.hide_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__hide_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 200; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.hide.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_4hide_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_4hide_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_4hide_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":201
+ * def __get__(self):
+ * return self.hide_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.hide_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_4hide_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":202
+ * return self.hide_get()
+ * def __set__(self, value):
+ * self.hide_set(value) # <<<<<<<<<<<<<<
+ *
+ * def displayed_zoom_min_set(self, zoom):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__hide_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.hide.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_15displayed_zoom_min_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_15displayed_zoom_min_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("displayed_zoom_min_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_14displayed_zoom_min_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_zoom));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":204
+ * self.hide_set(value)
+ *
+ * def displayed_zoom_min_set(self, zoom): # <<<<<<<<<<<<<<
+ * elm_map_overlay_displayed_zoom_min_set(self.overlay, zoom)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_14displayed_zoom_min_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ 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("displayed_zoom_min_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":205
+ *
+ * def displayed_zoom_min_set(self, zoom):
+ * elm_map_overlay_displayed_zoom_min_set(self.overlay, zoom) # <<<<<<<<<<<<<<
+ *
+ * def displayed_zoom_min_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zoom); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_overlay_displayed_zoom_min_set(__pyx_v_self->overlay, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.displayed_zoom_min_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_17displayed_zoom_min_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_17displayed_zoom_min_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("displayed_zoom_min_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_16displayed_zoom_min_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":207
+ * elm_map_overlay_displayed_zoom_min_set(self.overlay, zoom)
+ *
+ * def displayed_zoom_min_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_overlay_displayed_zoom_min_get(self.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_16displayed_zoom_min_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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("displayed_zoom_min_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":208
+ *
+ * def displayed_zoom_min_get(self):
+ * return elm_map_overlay_displayed_zoom_min_get(self.overlay) # <<<<<<<<<<<<<<
+ *
+ * property displayed_zoom_min:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_overlay_displayed_zoom_min_get(__pyx_v_self->overlay)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.displayed_zoom_min_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":211
+ *
+ * property displayed_zoom_min:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.displayed_zoom_min_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":212
+ * property displayed_zoom_min:
+ * def __get__(self):
+ * return self.displayed_zoom_min_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.displayed_zoom_min_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_214); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 212; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.displayed_zoom_min.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":213
+ * def __get__(self):
+ * return self.displayed_zoom_min_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.displayed_zoom_min_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":214
+ * return self.displayed_zoom_min_get()
+ * def __set__(self, value):
+ * self.displayed_zoom_min_set(value) # <<<<<<<<<<<<<<
+ *
+ * def paused_set(self, paused):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_215); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.displayed_zoom_min.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_19paused_set(PyObject *__pyx_v_self, PyObject *__pyx_v_paused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_19paused_set(PyObject *__pyx_v_self, PyObject *__pyx_v_paused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("paused_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_18paused_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_paused));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":216
+ * self.displayed_zoom_min_set(value)
+ *
+ * def paused_set(self, paused): # <<<<<<<<<<<<<<
+ * elm_map_overlay_paused_set(self.overlay, paused)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_18paused_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_paused) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("paused_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":217
+ *
+ * def paused_set(self, paused):
+ * elm_map_overlay_paused_set(self.overlay, paused) # <<<<<<<<<<<<<<
+ *
+ * def paused_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_paused); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_overlay_paused_set(__pyx_v_self->overlay, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.paused_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_21paused_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_21paused_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("paused_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_20paused_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":219
+ * elm_map_overlay_paused_set(self.overlay, paused)
+ *
+ * def paused_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_overlay_paused_get(self.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_20paused_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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("paused_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":220
+ *
+ * def paused_get(self):
+ * return elm_map_overlay_paused_get(self.overlay) # <<<<<<<<<<<<<<
+ *
+ * property paused:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_map_overlay_paused_get(__pyx_v_self->overlay)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.paused_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_6paused_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_6paused_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_6paused___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":223
+ *
+ * property paused:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.paused_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_6paused___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":224
+ * property paused:
+ * def __get__(self):
+ * return self.paused_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.paused_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__paused_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 224; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.paused.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_6paused_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_6paused_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_6paused_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":225
+ * def __get__(self):
+ * return self.paused_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.paused_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_6paused_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":226
+ * return self.paused_get()
+ * def __set__(self, value):
+ * self.paused_set(value) # <<<<<<<<<<<<<<
+ *
+ * def visible_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__paused_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.paused.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_23visible_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_23visible_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("visible_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_22visible_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":228
+ * self.paused_set(value)
+ *
+ * def visible_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_map_overlay_visible_get(self.overlay))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_22visible_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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("visible_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":229
+ *
+ * def visible_get(self):
+ * return bool(elm_map_overlay_visible_get(self.overlay)) # <<<<<<<<<<<<<<
+ *
+ * property visible:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_map_overlay_visible_get(__pyx_v_self->overlay)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.visible_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_7visible_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_7visible_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_7visible___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":232
+ *
+ * property visible:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.visible_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_7visible___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":233
+ * property visible:
+ * def __get__(self):
+ * return self.visible_get() # <<<<<<<<<<<<<<
+ *
+ * def content_set(self, Object content):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__visible_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 233; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.visible.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_25content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_25content_set(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_10elementary_12c_elementary_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_24content_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((struct PyElementaryObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":235
+ * return self.visible_get()
+ *
+ * def content_set(self, Object content): # <<<<<<<<<<<<<<
+ * elm_map_overlay_content_set(self.overlay, content.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_24content_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, struct PyElementaryObject *__pyx_v_content) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":236
+ *
+ * def content_set(self, Object content):
+ * elm_map_overlay_content_set(self.overlay, content.obj) # <<<<<<<<<<<<<<
+ *
+ * def content_get(self):
+ */
+ elm_map_overlay_content_set(__pyx_v_self->overlay, __pyx_v_content->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_27content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_27content_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_26content_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":238
+ * elm_map_overlay_content_set(self.overlay, content.obj)
+ *
+ * def content_get(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_content_get(self.overlay)
+ * return Object_from_instance(obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_26content_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ Evas_Object *__pyx_v_obj;
+ 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("content_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":239
+ *
+ * def content_get(self):
+ * cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_content_get(self.overlay) # <<<<<<<<<<<<<<
+ * return Object_from_instance(obj)
+ *
+ */
+ __pyx_v_obj = ((Evas_Object *)elm_map_overlay_content_get(__pyx_v_self->overlay));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":240
+ * def content_get(self):
+ * cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_content_get(self.overlay)
+ * return Object_from_instance(obj) # <<<<<<<<<<<<<<
+ *
+ * property content:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.content_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_7content_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_7content_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_7content___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":243
+ *
+ * property content:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.content_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_7content___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":244
+ * property content:
+ * def __get__(self):
+ * return self.content_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.content_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 244; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.content.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_7content_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_7content_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_7content_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":245
+ * def __get__(self):
+ * return self.content_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.content_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_7content_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":246
+ * return self.content_get()
+ * def __set__(self, value):
+ * self.content_set(value) # <<<<<<<<<<<<<<
+ *
+ * def icon_set(self, Object icon):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__content_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.content.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_29icon_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_29icon_set(PyObject *__pyx_v_self, PyObject *__pyx_v_icon) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_set (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_10elementary_12c_elementary_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_28icon_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((struct PyElementaryObject *)__pyx_v_icon));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":248
+ * self.content_set(value)
+ *
+ * def icon_set(self, Object icon): # <<<<<<<<<<<<<<
+ * elm_map_overlay_icon_set(self.overlay, icon.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_28icon_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, struct PyElementaryObject *__pyx_v_icon) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":249
+ *
+ * def icon_set(self, Object icon):
+ * elm_map_overlay_icon_set(self.overlay, icon.obj) # <<<<<<<<<<<<<<
+ *
+ * def icon_get(self):
+ */
+ elm_map_overlay_icon_set(__pyx_v_self->overlay, __pyx_v_icon->__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_31icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_31icon_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("icon_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_30icon_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":251
+ * elm_map_overlay_icon_set(self.overlay, icon.obj)
+ *
+ * def icon_get(self): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_icon_get(self.overlay)
+ * return Object_from_instance(obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_30icon_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ Evas_Object *__pyx_v_obj;
+ 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("icon_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":252
+ *
+ * def icon_get(self):
+ * cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_icon_get(self.overlay) # <<<<<<<<<<<<<<
+ * return Object_from_instance(obj)
+ *
+ */
+ __pyx_v_obj = ((Evas_Object *)elm_map_overlay_icon_get(__pyx_v_self->overlay));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":253
+ * def icon_get(self):
+ * cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_icon_get(self.overlay)
+ * return Object_from_instance(obj) # <<<<<<<<<<<<<<
+ *
+ * property icon:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.icon_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_4icon_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_4icon_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_4icon___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":256
+ *
+ * property icon:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.icon_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_4icon___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":257
+ * property icon:
+ * def __get__(self):
+ * return self.icon_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.icon_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__icon_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 257; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.icon.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_4icon_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_4icon_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_4icon_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":258
+ * def __get__(self):
+ * return self.icon_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.icon_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_4icon_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":259
+ * return self.icon_get()
+ * def __set__(self, value):
+ * self.icon_set(value) # <<<<<<<<<<<<<<
+ *
+ * def region_set(self, lon, lat):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__icon_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.icon.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_33region_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_33region_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_set") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 261; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.region_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_32region_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":261
+ * self.icon_set(value)
+ *
+ * def region_set(self, lon, lat): # <<<<<<<<<<<<<<
+ * elm_map_overlay_region_set(self.overlay, lon, lat)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_32region_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat) {
+ 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("region_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":262
+ *
+ * def region_set(self, lon, lat):
+ * elm_map_overlay_region_set(self.overlay, lon, lat) # <<<<<<<<<<<<<<
+ *
+ * def region_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_lon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_lat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_overlay_region_set(__pyx_v_self->overlay, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.region_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_35region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_35region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_34region_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":264
+ * elm_map_overlay_region_set(self.overlay, lon, lat)
+ *
+ * def region_get(self): # <<<<<<<<<<<<<<
+ * cdef double lon, lat
+ * elm_map_overlay_region_get(self.overlay, &lon, &lat)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_34region_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ 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("region_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":266
+ * def region_get(self):
+ * cdef double lon, lat
+ * elm_map_overlay_region_get(self.overlay, &lon, &lat) # <<<<<<<<<<<<<<
+ * return (lon, lat)
+ *
+ */
+ elm_map_overlay_region_get(__pyx_v_self->overlay, (&__pyx_v_lon), (&__pyx_v_lat));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":267
+ * cdef double lon, lat
+ * elm_map_overlay_region_get(self.overlay, &lon, &lat)
+ * return (lon, lat) # <<<<<<<<<<<<<<
+ *
+ * property region:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_lon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_lat); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 267; __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[58]; __pyx_lineno = 267; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.region_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_6region_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_6region_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_6region___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":270
+ *
+ * property region:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.region_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_6region___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":271
+ * property region:
+ * def __get__(self):
+ * return self.region_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.region_set(*value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__region_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.region.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_6region_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_6region_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_6region_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":272
+ * def __get__(self):
+ * return self.region_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.region_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_6region_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":273
+ * return self.region_get()
+ * def __set__(self, value):
+ * self.region_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def color_set(self, r, g, b, a):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__region_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.region.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_37color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_37color_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_r = 0;
+ PyObject *__pyx_v_g = 0;
+ PyObject *__pyx_v_b = 0;
+ PyObject *__pyx_v_a = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__r,&__pyx_n_s__g,&__pyx_n_s__b,&__pyx_n_s__a,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__r);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__g);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__b);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__a);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "color_set") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 275; __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_r = values[0];
+ __pyx_v_g = values[1];
+ __pyx_v_b = values[2];
+ __pyx_v_a = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("color_set", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_36color_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), __pyx_v_r, __pyx_v_g, __pyx_v_b, __pyx_v_a);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":275
+ * self.region_set(*value)
+ *
+ * def color_set(self, r, g, b, a): # <<<<<<<<<<<<<<
+ * elm_map_overlay_color_set(self.overlay, r, g, b, a)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_36color_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_r, PyObject *__pyx_v_g, PyObject *__pyx_v_b, PyObject *__pyx_v_a) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("color_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":276
+ *
+ * def color_set(self, r, g, b, a):
+ * elm_map_overlay_color_set(self.overlay, r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * def color_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_r); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_g); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_b); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_a); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_overlay_color_set(__pyx_v_self->overlay, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.color_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_39color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_39color_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("color_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_38color_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":278
+ * elm_map_overlay_color_set(self.overlay, r, g, b, a)
+ *
+ * def color_get(self): # <<<<<<<<<<<<<<
+ * cdef int r, g, b, a
+ * elm_map_overlay_color_get(self.overlay, &r, &g, &b, &a)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_38color_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ int __pyx_v_r;
+ int __pyx_v_g;
+ int __pyx_v_b;
+ int __pyx_v_a;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("color_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":280
+ * def color_get(self):
+ * cdef int r, g, b, a
+ * elm_map_overlay_color_get(self.overlay, &r, &g, &b, &a) # <<<<<<<<<<<<<<
+ * return (r, g, b, a)
+ *
+ */
+ elm_map_overlay_color_get(__pyx_v_self->overlay, (&__pyx_v_r), (&__pyx_v_g), (&__pyx_v_b), (&__pyx_v_a));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":281
+ * cdef int r, g, b, a
+ * elm_map_overlay_color_get(self.overlay, &r, &g, &b, &a)
+ * return (r, g, b, a) # <<<<<<<<<<<<<<
+ *
+ * property color:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_r); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_g); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_b); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_a); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlay.color_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_5color_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_5color_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_5color___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":284
+ *
+ * property color:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.color_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_5color___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":285
+ * property color:
+ * def __get__(self):
+ * return self.color_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.color_set(*value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__color_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 285; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.color.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_10MapOverlay_5color_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_5color_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":286
+ * def __get__(self):
+ * return self.color_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.color_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_10MapOverlay_5color_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":287
+ * return self.color_get()
+ * def __set__(self, value):
+ * self.color_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def show(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__color_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlay.color.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_41show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_41show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_40show(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":289
+ * self.color_set(*value)
+ *
+ * def show(self): # <<<<<<<<<<<<<<
+ * elm_map_overlay_show(self.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_40show(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":290
+ *
+ * def show(self):
+ * elm_map_overlay_show(self.overlay) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_set(self, func, *args, **kwargs):
+ */
+ elm_map_overlay_show(__pyx_v_self->overlay);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_43callback_clicked_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_43callback_clicked_set(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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_clicked_set (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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_set") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 292; __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_set", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 292; __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("elementary.c_elementary.MapOverlay.callback_clicked_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_42callback_clicked_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":292
+ * elm_map_overlay_show(self.overlay)
+ *
+ * def callback_clicked_set(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * if not callable(func):
+ * raise TypeError("func must be callable")
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_42callback_clicked_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_cb_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":293
+ *
+ * def callback_clicked_set(self, func, *args, **kwargs):
+ * if not callable(func): # <<<<<<<<<<<<<<
+ * raise TypeError("func must be callable")
+ * cb_data = (func, args, kwargs)
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = (!__pyx_t_3);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":294
+ * def callback_clicked_set(self, func, *args, **kwargs):
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ * cb_data = (func, args, kwargs)
+ * elm_map_overlay_get_cb_set(self.overlay, _map_overlay_get_callback,
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_216), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[58]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":295
+ * if not callable(func):
+ * raise TypeError("func must be callable")
+ * cb_data = (func, args, kwargs) # <<<<<<<<<<<<<<
+ * elm_map_overlay_get_cb_set(self.overlay, _map_overlay_get_callback,
+ * <void *>cb_data)
+ */
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 2, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_cb_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":297
+ * cb_data = (func, args, kwargs)
+ * elm_map_overlay_get_cb_set(self.overlay, _map_overlay_get_callback,
+ * <void *>cb_data) # <<<<<<<<<<<<<<
+ * Py_INCREF(cb_data)
+ * self.cb_get_data
+ */
+ elm_map_overlay_get_cb_set(__pyx_v_self->overlay, __pyx_f_10elementary_12c_elementary__map_overlay_get_callback, ((void *)__pyx_v_cb_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":298
+ * elm_map_overlay_get_cb_set(self.overlay, _map_overlay_get_callback,
+ * <void *>cb_data)
+ * Py_INCREF(cb_data) # <<<<<<<<<<<<<<
+ * self.cb_get_data
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_cb_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":299
+ * <void *>cb_data)
+ * Py_INCREF(cb_data)
+ * self.cb_get_data # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_unset(self, func):
+ */
+ __pyx_v_self->cb_get_data;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlay.callback_clicked_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_cb_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_45callback_clicked_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_10MapOverlay_45callback_clicked_unset(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_clicked_unset (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_10MapOverlay_44callback_clicked_unset(((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":301
+ * self.cb_get_data
+ *
+ * def callback_clicked_unset(self, func): # <<<<<<<<<<<<<<
+ * elm_map_overlay_get_cb_set(self.overlay, NULL, NULL)
+ * cb_data = <object>self.cb_get_data
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_10MapOverlay_44callback_clicked_unset(struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func) {
+ PyObject *__pyx_v_cb_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_clicked_unset", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":302
+ *
+ * def callback_clicked_unset(self, func):
+ * elm_map_overlay_get_cb_set(self.overlay, NULL, NULL) # <<<<<<<<<<<<<<
+ * cb_data = <object>self.cb_get_data
+ * self.cb_get_data = NULL
+ */
+ elm_map_overlay_get_cb_set(__pyx_v_self->overlay, NULL, NULL);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":303
+ * def callback_clicked_unset(self, func):
+ * elm_map_overlay_get_cb_set(self.overlay, NULL, NULL)
+ * cb_data = <object>self.cb_get_data # <<<<<<<<<<<<<<
+ * self.cb_get_data = NULL
+ * Py_DECREF(cb_data)
+ */
+ __Pyx_INCREF(((PyObject *)__pyx_v_self->cb_get_data));
+ __pyx_v_cb_data = ((PyObject *)__pyx_v_self->cb_get_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":304
+ * elm_map_overlay_get_cb_set(self.overlay, NULL, NULL)
+ * cb_data = <object>self.cb_get_data
+ * self.cb_get_data = NULL # <<<<<<<<<<<<<<
+ * Py_DECREF(cb_data)
+ *
+ */
+ __pyx_v_self->cb_get_data = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":305
+ * cb_data = <object>self.cb_get_data
+ * self.cb_get_data = NULL
+ * Py_DECREF(cb_data) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ Py_DECREF(__pyx_v_cb_data);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XDECREF(__pyx_v_cb_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 310; __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_Map = ((struct PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 310; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self), __pyx_v_Map);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":310
+ * cdef class MapOverlayClass(MapOverlay):
+ *
+ * def __init__(self, evasObject Map): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_class_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_15MapOverlayClass___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, struct PyEvasObject *__pyx_v_Map) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":311
+ *
+ * def __init__(self, evasObject Map):
+ * self.overlay = elm_map_overlay_class_add(Map.obj) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_class_add(__pyx_v_Map->obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":312
+ * def __init__(self, evasObject Map):
+ * self.overlay = elm_map_overlay_class_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":313
+ * self.overlay = elm_map_overlay_class_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":314
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ * def append(self, MapOverlay overlay):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_3append(PyObject *__pyx_v_self, PyObject *__pyx_v_overlay); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_3append(PyObject *__pyx_v_self, PyObject *__pyx_v_overlay) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("append (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_overlay), __pyx_ptype_10elementary_12c_elementary_MapOverlay, 1, "overlay", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_2append(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_overlay));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":316
+ * Py_INCREF(self)
+ *
+ * def append(self, MapOverlay overlay): # <<<<<<<<<<<<<<
+ * elm_map_overlay_class_append(self.overlay, overlay.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_2append(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_overlay) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":317
+ *
+ * def append(self, MapOverlay overlay):
+ * elm_map_overlay_class_append(self.overlay, overlay.overlay) # <<<<<<<<<<<<<<
+ *
+ * def remove(self, MapOverlay overlay):
+ */
+ elm_map_overlay_class_append(__pyx_v_self->__pyx_base.overlay, __pyx_v_overlay->overlay);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_5remove(PyObject *__pyx_v_self, PyObject *__pyx_v_overlay); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_5remove(PyObject *__pyx_v_self, PyObject *__pyx_v_overlay) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("remove (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_overlay), __pyx_ptype_10elementary_12c_elementary_MapOverlay, 1, "overlay", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_4remove(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_overlay));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":319
+ * elm_map_overlay_class_append(self.overlay, overlay.overlay)
+ *
+ * def remove(self, MapOverlay overlay): # <<<<<<<<<<<<<<
+ * elm_map_overlay_class_remove(self.overlay, overlay.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_4remove(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_overlay) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("remove", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":320
+ *
+ * def remove(self, MapOverlay overlay):
+ * elm_map_overlay_class_remove(self.overlay, overlay.overlay) # <<<<<<<<<<<<<<
+ *
+ * def zoom_max_set(self, zoom):
+ */
+ elm_map_overlay_class_remove(__pyx_v_self->__pyx_base.overlay, __pyx_v_overlay->overlay);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_7zoom_max_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_7zoom_max_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_max_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_6zoom_max_set(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self), ((PyObject *)__pyx_v_zoom));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":322
+ * elm_map_overlay_class_remove(self.overlay, overlay.overlay)
+ *
+ * def zoom_max_set(self, zoom): # <<<<<<<<<<<<<<
+ * elm_map_overlay_class_zoom_max_set(self.overlay, zoom)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_6zoom_max_set(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ 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("zoom_max_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":323
+ *
+ * def zoom_max_set(self, zoom):
+ * elm_map_overlay_class_zoom_max_set(self.overlay, zoom) # <<<<<<<<<<<<<<
+ *
+ * def zoom_max_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zoom); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 323; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_overlay_class_zoom_max_set(__pyx_v_self->__pyx_base.overlay, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayClass.zoom_max_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_9zoom_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_9zoom_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_max_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":325
+ * elm_map_overlay_class_zoom_max_set(self.overlay, zoom)
+ *
+ * def zoom_max_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_overlay_class_zoom_max_get(self.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__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("zoom_max_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":326
+ *
+ * def zoom_max_get(self):
+ * return elm_map_overlay_class_zoom_max_get(self.overlay) # <<<<<<<<<<<<<<
+ *
+ * property zoom_max:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_overlay_class_zoom_max_get(__pyx_v_self->__pyx_base.overlay)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayClass.zoom_max_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":329
+ *
+ * property zoom_max:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.zoom_max_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":330
+ * property zoom_max:
+ * def __get__(self):
+ * return self.zoom_max_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.zoom_max_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_max_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 330; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlayClass.zoom_max.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":331
+ * def __get__(self):
+ * return self.zoom_max_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.zoom_max_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_2__set__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":332
+ * return self.zoom_max_get()
+ * def __set__(self, value):
+ * self.zoom_max_set(value) # <<<<<<<<<<<<<<
+ *
+ * def members_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_max_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MapOverlayClass.zoom_max.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_11members_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_11members_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("members_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_10members_get(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":334
+ * self.zoom_max_set(value)
+ *
+ * def members_get(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ * cdef Elm_Map_Overlay *ov
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_10members_get(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ Elm_Map_Overlay *__pyx_v_ov;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_v_ret_append = NULL;
+ PyObject *__pyx_v_o = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("members_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":337
+ * cdef Eina_List *lst
+ * cdef Elm_Map_Overlay *ov
+ * lst = elm_map_overlay_group_members_get(self.overlay)# TODO this is somehow wrong... group <> class # <<<<<<<<<<<<<<
+ *
+ * ret = []
+ */
+ __pyx_v_lst = elm_map_overlay_group_members_get(__pyx_v_self->__pyx_base.overlay);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":339
+ * lst = elm_map_overlay_group_members_get(self.overlay)# TODO this is somehow wrong... group <> class
+ *
+ * ret = [] # <<<<<<<<<<<<<<
+ * ret_append = ret.append
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":340
+ *
+ * ret = []
+ * ret_append = ret.append # <<<<<<<<<<<<<<
+ * while lst:
+ * ov = <Elm_Map_Overlay *>lst.data
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_ret), __pyx_n_s__append); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret_append = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":341
+ * ret = []
+ * ret_append = ret.append
+ * while lst: # <<<<<<<<<<<<<<
+ * ov = <Elm_Map_Overlay *>lst.data
+ * lst = lst.next
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":342
+ * ret_append = ret.append
+ * while lst:
+ * ov = <Elm_Map_Overlay *>lst.data # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * o = _elm_map_overlay_to_python(ov)
+ */
+ __pyx_v_ov = ((Elm_Map_Overlay *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":343
+ * while lst:
+ * ov = <Elm_Map_Overlay *>lst.data
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * o = _elm_map_overlay_to_python(ov)
+ * if o is not None:
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":344
+ * ov = <Elm_Map_Overlay *>lst.data
+ * lst = lst.next
+ * o = _elm_map_overlay_to_python(ov) # <<<<<<<<<<<<<<
+ * if o is not None:
+ * ret_append(o)
+ */
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__elm_map_overlay_to_python(__pyx_v_ov); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_v_o);
+ __pyx_v_o = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":345
+ * lst = lst.next
+ * o = _elm_map_overlay_to_python(ov)
+ * if o is not None: # <<<<<<<<<<<<<<
+ * ret_append(o)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_o != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":346
+ * o = _elm_map_overlay_to_python(ov)
+ * if o is not None:
+ * ret_append(o) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_o);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_o);
+ __Pyx_GIVEREF(__pyx_v_o);
+ __pyx_t_3 = PyObject_Call(__pyx_v_ret_append, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":347
+ * if o is not None:
+ * ret_append(o)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * property members:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayClass.members_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_ret_append);
+ __Pyx_XDECREF(__pyx_v_o);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_7members_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_7members_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayClass_7members___get__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":350
+ *
+ * property members:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.members_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_15MapOverlayClass_7members___get__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":351
+ * property members:
+ * def __get__(self):
+ * return self.members_get() # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__members_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 351; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 351; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MapOverlayClass.members.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 356; __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_Map = ((struct PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayBubble.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MapOverlayBubble___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *)__pyx_v_self), __pyx_v_Map);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":356
+ * cdef class MapOverlayBubble(MapOverlay):
+ *
+ * def __init__(self, evasObject Map): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_bubble_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16MapOverlayBubble___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self, struct PyEvasObject *__pyx_v_Map) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":357
+ *
+ * def __init__(self, evasObject Map):
+ * self.overlay = elm_map_overlay_bubble_add(Map.obj) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_bubble_add(__pyx_v_Map->obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":358
+ * def __init__(self, evasObject Map):
+ * self.overlay = elm_map_overlay_bubble_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":359
+ * self.overlay = elm_map_overlay_bubble_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":360
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ * def follow(self, MapOverlay overlay):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_3follow(PyObject *__pyx_v_self, PyObject *__pyx_v_overlay); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_3follow(PyObject *__pyx_v_self, PyObject *__pyx_v_overlay) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("follow (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_overlay), __pyx_ptype_10elementary_12c_elementary_MapOverlay, 1, "overlay", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_2follow(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_overlay));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":362
+ * Py_INCREF(self)
+ *
+ * def follow(self, MapOverlay overlay): # <<<<<<<<<<<<<<
+ * elm_map_overlay_bubble_follow(self.overlay, overlay.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_2follow(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_overlay) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("follow", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":363
+ *
+ * def follow(self, MapOverlay overlay):
+ * elm_map_overlay_bubble_follow(self.overlay, overlay.overlay) # <<<<<<<<<<<<<<
+ *
+ * def content_append(self, evasObject content):
+ */
+ elm_map_overlay_bubble_follow(__pyx_v_self->__pyx_base.overlay, __pyx_v_overlay->overlay);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_5content_append(PyObject *__pyx_v_self, PyObject *__pyx_v_content); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_5content_append(PyObject *__pyx_v_self, PyObject *__pyx_v_content) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_append (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_content), __pyx_ptype_4evas_6c_evas_Object, 1, "content", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_4content_append(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_content));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":365
+ * elm_map_overlay_bubble_follow(self.overlay, overlay.overlay)
+ *
+ * def content_append(self, evasObject content): # <<<<<<<<<<<<<<
+ * elm_map_overlay_bubble_content_append(self.overlay, content.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_4content_append(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self, struct PyEvasObject *__pyx_v_content) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":366
+ *
+ * def content_append(self, evasObject content):
+ * elm_map_overlay_bubble_content_append(self.overlay, content.obj) # <<<<<<<<<<<<<<
+ *
+ * def content_clear(self):
+ */
+ elm_map_overlay_bubble_content_append(__pyx_v_self->__pyx_base.overlay, __pyx_v_content->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_7content_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_7content_clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_6content_clear(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":368
+ * elm_map_overlay_bubble_content_append(self.overlay, content.obj)
+ *
+ * def content_clear(self): # <<<<<<<<<<<<<<
+ * elm_map_overlay_bubble_content_clear(self.overlay)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MapOverlayBubble_6content_clear(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("content_clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":369
+ *
+ * def content_clear(self):
+ * elm_map_overlay_bubble_content_clear(self.overlay) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ elm_map_overlay_bubble_content_clear(__pyx_v_self->__pyx_base.overlay);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_14MapOverlayLine_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_14MapOverlayLine_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ PyObject *__pyx_v_flon = 0;
+ PyObject *__pyx_v_flat = 0;
+ PyObject *__pyx_v_tlot = 0;
+ PyObject *__pyx_v_tlat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,&__pyx_n_s__flon,&__pyx_n_s__flat,&__pyx_n_s__tlot,&__pyx_n_s__tlat,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[5] = {0,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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flon);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flat);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlot);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlat);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, 4); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 5) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ }
+ __pyx_v_Map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_flon = values[1];
+ __pyx_v_flat = values[2];
+ __pyx_v_tlot = values[3];
+ __pyx_v_tlat = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 5, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayLine.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14MapOverlayLine___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayLine *)__pyx_v_self), __pyx_v_Map, __pyx_v_flon, __pyx_v_flat, __pyx_v_tlot, __pyx_v_tlat);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":374
+ * cdef class MapOverlayLine(MapOverlay):
+ *
+ * def __init__(self, evasObject Map, flon, flat, tlot, tlat): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_line_add(Map.obj, flon, flat, tlot, tlat)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_14MapOverlayLine___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayLine *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, PyObject *__pyx_v_flon, PyObject *__pyx_v_flat, PyObject *__pyx_v_tlot, PyObject *__pyx_v_tlat) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ double __pyx_t_2;
+ double __pyx_t_3;
+ double __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":375
+ *
+ * def __init__(self, evasObject Map, flon, flat, tlot, tlat):
+ * self.overlay = elm_map_overlay_line_add(Map.obj, flon, flat, tlot, tlat) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_flon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_flat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __pyx_PyFloat_AsDouble(__pyx_v_tlot); if (unlikely((__pyx_t_3 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_v_tlat); if (unlikely((__pyx_t_4 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_line_add(__pyx_v_Map->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":376
+ * def __init__(self, evasObject Map, flon, flat, tlot, tlat):
+ * self.overlay = elm_map_overlay_line_add(Map.obj, flon, flat, tlot, tlat)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":377
+ * self.overlay = elm_map_overlay_line_add(Map.obj, flon, flat, tlot, tlat)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":378
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayLine.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_17MapOverlayPolygon_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_17MapOverlayPolygon_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 383; __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_Map = ((struct PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayPolygon.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17MapOverlayPolygon___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon *)__pyx_v_self), __pyx_v_Map);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":383
+ * cdef class MapOverlayPolygon(MapOverlay):
+ *
+ * def __init__(self, evasObject Map): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_polygon_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_17MapOverlayPolygon___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon *__pyx_v_self, struct PyEvasObject *__pyx_v_Map) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":384
+ *
+ * def __init__(self, evasObject Map):
+ * self.overlay = elm_map_overlay_polygon_add(Map.obj) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_polygon_add(__pyx_v_Map->obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":385
+ * def __init__(self, evasObject Map):
+ * self.overlay = elm_map_overlay_polygon_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":386
+ * self.overlay = elm_map_overlay_polygon_add(Map.obj)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":387
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ * def region_add(self, lon, lat):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17MapOverlayPolygon_3region_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_17MapOverlayPolygon_3region_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 389; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 389; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayPolygon.region_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_17MapOverlayPolygon_2region_add(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":389
+ * Py_INCREF(self)
+ *
+ * def region_add(self, lon, lat): # <<<<<<<<<<<<<<
+ * elm_map_overlay_polygon_region_add(self.overlay, lon, lat)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_17MapOverlayPolygon_2region_add(struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat) {
+ 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("region_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":390
+ *
+ * def region_add(self, lon, lat):
+ * elm_map_overlay_polygon_region_add(self.overlay, lon, lat) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_lon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_lat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_overlay_polygon_region_add(__pyx_v_self->__pyx_base.overlay, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayPolygon.region_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16MapOverlayCircle_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16MapOverlayCircle_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ PyObject *__pyx_v_radius = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,&__pyx_n_s__lon,&__pyx_n_s__lat,&__pyx_n_s__radius,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__radius);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 395; __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_Map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_lon = values[1];
+ __pyx_v_lat = values[2];
+ __pyx_v_radius = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayCircle.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MapOverlayCircle___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayCircle *)__pyx_v_self), __pyx_v_Map, __pyx_v_lon, __pyx_v_lat, __pyx_v_radius);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":395
+ * cdef class MapOverlayCircle(MapOverlay):
+ *
+ * def __init__(self, evasObject Map, lon, lat, radius): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_circle_add(Map.obj, lon, lat, radius)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16MapOverlayCircle___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayCircle *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat, PyObject *__pyx_v_radius) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ double __pyx_t_2;
+ double __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":396
+ *
+ * def __init__(self, evasObject Map, lon, lat, radius):
+ * self.overlay = elm_map_overlay_circle_add(Map.obj, lon, lat, radius) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_lon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_lat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __pyx_PyFloat_AsDouble(__pyx_v_radius); if (unlikely((__pyx_t_3 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_circle_add(__pyx_v_Map->obj, __pyx_t_1, __pyx_t_2, __pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":397
+ * def __init__(self, evasObject Map, lon, lat, radius):
+ * self.overlay = elm_map_overlay_circle_add(Map.obj, lon, lat, radius)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":398
+ * self.overlay = elm_map_overlay_circle_add(Map.obj, lon, lat, radius)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":399
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayCircle.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayScale_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayScale_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,&__pyx_n_s__x,&__pyx_n_s__y,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 404; __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_Map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_x = values[1];
+ __pyx_v_y = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayScale.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayScale___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayScale *)__pyx_v_self), __pyx_v_Map, __pyx_v_x, __pyx_v_y);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":404
+ * cdef class MapOverlayScale(MapOverlay):
+ *
+ * def __init__(self, evasObject Map, x, y): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_scale_add(Map.obj, x, y)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_15MapOverlayScale___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayScale *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
+ int __pyx_r;
+ __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("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":405
+ *
+ * def __init__(self, evasObject Map, x, y):
+ * self.overlay = elm_map_overlay_scale_add(Map.obj, x, y) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_scale_add(__pyx_v_Map->obj, __pyx_t_1, __pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":406
+ * def __init__(self, evasObject Map, x, y):
+ * self.overlay = elm_map_overlay_scale_add(Map.obj, x, y)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":407
+ * self.overlay = elm_map_overlay_scale_add(Map.obj, x, y)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":408
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayScale.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayRoute_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_15MapOverlayRoute_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_Map = 0;
+ struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_route = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__Map,&__pyx_n_s__route,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__Map);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__route);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 413; __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_Map = ((struct PyEvasObject *)values[0]);
+ __pyx_v_route = ((struct __pyx_obj_10elementary_12c_elementary_MapRoute *)values[1]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MapOverlayRoute.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Map), __pyx_ptype_4evas_6c_evas_Object, 1, "Map", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_route), __pyx_ptype_10elementary_12c_elementary_MapRoute, 1, "route", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_15MapOverlayRoute___init__(((struct __pyx_obj_10elementary_12c_elementary_MapOverlayRoute *)__pyx_v_self), __pyx_v_Map, __pyx_v_route);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":413
+ * cdef class MapOverlayRoute(MapOverlay):
+ *
+ * def __init__(self, evasObject Map, MapRoute route): # <<<<<<<<<<<<<<
+ * self.overlay = elm_map_overlay_route_add(Map.obj, route.route)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_15MapOverlayRoute___init__(struct __pyx_obj_10elementary_12c_elementary_MapOverlayRoute *__pyx_v_self, struct PyEvasObject *__pyx_v_Map, struct __pyx_obj_10elementary_12c_elementary_MapRoute *__pyx_v_route) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":414
+ *
+ * def __init__(self, evasObject Map, MapRoute route):
+ * self.overlay = elm_map_overlay_route_add(Map.obj, route.route) # <<<<<<<<<<<<<<
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ */
+ __pyx_v_self->__pyx_base.overlay = elm_map_overlay_route_add(__pyx_v_Map->obj, __pyx_v_route->route);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":415
+ * def __init__(self, evasObject Map, MapRoute route):
+ * self.overlay = elm_map_overlay_route_add(Map.obj, route.route)
+ * elm_map_overlay_data_set(self.overlay, <void *>self) # <<<<<<<<<<<<<<
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self)
+ */
+ elm_map_overlay_data_set(__pyx_v_self->__pyx_base.overlay, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":416
+ * self.overlay = elm_map_overlay_route_add(Map.obj, route.route)
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self) # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ *
+ */
+ elm_map_overlay_del_cb_set(__pyx_v_self->__pyx_base.overlay, __pyx_f_10elementary_12c_elementary__map_overlay_del_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":417
+ * elm_map_overlay_data_set(self.overlay, <void *>self)
+ * elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 422; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 422; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map___init__(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":422
+ * cdef public class Map(Object)[object PyElementaryMap, type PyElementaryMap_Type]:
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_map_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map___init__(struct PyElementaryMap *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":423
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_map_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 423; __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[58]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":424
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_map_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def zoom_set(self, zoom):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Map *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_map_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Map.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_3zoom_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_3zoom_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_2zoom_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_zoom));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":426
+ * self._set_obj(elm_map_add(parent.obj))
+ *
+ * def zoom_set(self, zoom): # <<<<<<<<<<<<<<
+ * elm_map_zoom_set(self.obj, zoom)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_2zoom_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ 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("zoom_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":427
+ *
+ * def zoom_set(self, zoom):
+ * elm_map_zoom_set(self.obj, zoom) # <<<<<<<<<<<<<<
+ *
+ * def zoom_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zoom); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_zoom_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_5zoom_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_5zoom_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_4zoom_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":429
+ * elm_map_zoom_set(self.obj, zoom)
+ *
+ * def zoom_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_zoom_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_4zoom_get(struct PyElementaryMap *__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("zoom_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":430
+ *
+ * def zoom_get(self):
+ * return elm_map_zoom_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property zoom:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_zoom_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_4zoom_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_4zoom_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_4zoom___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":433
+ *
+ * property zoom:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.zoom_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_4zoom___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":434
+ * property zoom:
+ * def __get__(self):
+ * return self.zoom_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.zoom_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 434; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.zoom.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_4zoom_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_4zoom_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_4zoom_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":435
+ * def __get__(self):
+ * return self.zoom_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.zoom_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_4zoom_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":436
+ * return self.zoom_get()
+ * def __set__(self, value):
+ * self.zoom_set(value) # <<<<<<<<<<<<<<
+ *
+ * def zoom_mode_set(self, mode):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.zoom.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_7zoom_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_7zoom_mode_set(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_mode_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_6zoom_mode_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":438
+ * self.zoom_set(value)
+ *
+ * def zoom_mode_set(self, mode): # <<<<<<<<<<<<<<
+ * elm_map_zoom_mode_set(self.obj, mode)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6zoom_mode_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_mode) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Map_Zoom_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("zoom_mode_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":439
+ *
+ * def zoom_mode_set(self, mode):
+ * elm_map_zoom_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ *
+ * def zoom_mode_get(self):
+ */
+ __pyx_t_1 = ((Elm_Map_Zoom_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 439; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_zoom_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_mode_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_mode_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_8zoom_mode_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":441
+ * elm_map_zoom_mode_set(self.obj, mode)
+ *
+ * def zoom_mode_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_zoom_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8zoom_mode_get(struct PyElementaryMap *__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("zoom_mode_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":442
+ *
+ * def zoom_mode_get(self):
+ * return elm_map_zoom_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property zoom_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_zoom_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_mode_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_9zoom_mode___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":445
+ *
+ * property zoom_mode:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.zoom_mode_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_9zoom_mode___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":446
+ * property zoom_mode:
+ * def __get__(self):
+ * return self.zoom_mode_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.zoom_mode_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_mode_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 446; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.zoom_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_9zoom_mode_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":447
+ * def __get__(self):
+ * return self.zoom_mode_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.zoom_mode_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_9zoom_mode_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":448
+ * return self.zoom_mode_get()
+ * def __set__(self, value):
+ * self.zoom_mode_set(value) # <<<<<<<<<<<<<<
+ *
+ * def zoom_min_set(self, zoom):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_mode_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.zoom_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_11zoom_min_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_11zoom_min_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_min_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_10zoom_min_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_zoom));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":450
+ * self.zoom_mode_set(value)
+ *
+ * def zoom_min_set(self, zoom): # <<<<<<<<<<<<<<
+ * elm_map_zoom_min_set(self.obj, zoom)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_10zoom_min_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ 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("zoom_min_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":451
+ *
+ * def zoom_min_set(self, zoom):
+ * elm_map_zoom_min_set(self.obj, zoom) # <<<<<<<<<<<<<<
+ *
+ * def zoom_min_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zoom); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_zoom_min_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_min_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_13zoom_min_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_13zoom_min_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_min_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_12zoom_min_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":453
+ * elm_map_zoom_min_set(self.obj, zoom)
+ *
+ * def zoom_min_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_zoom_min_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_12zoom_min_get(struct PyElementaryMap *__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("zoom_min_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":454
+ *
+ * def zoom_min_get(self):
+ * return elm_map_zoom_min_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property zoom_min:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_zoom_min_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_min_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_8zoom_min_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_8zoom_min_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_8zoom_min___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":457
+ *
+ * property zoom_min:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.zoom_min_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8zoom_min___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":458
+ * property zoom_min:
+ * def __get__(self):
+ * return self.zoom_min_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.zoom_min_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_min_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 458; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.zoom_min.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_8zoom_min_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_8zoom_min_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_8zoom_min_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":459
+ * def __get__(self):
+ * return self.zoom_min_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.zoom_min_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_8zoom_min_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":460
+ * return self.zoom_min_get()
+ * def __set__(self, value):
+ * self.zoom_min_set(value) # <<<<<<<<<<<<<<
+ *
+ * def zoom_max_set(self, zoom):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_min_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.zoom_min.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_15zoom_max_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_15zoom_max_set(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_max_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_14zoom_max_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_zoom));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":462
+ * self.zoom_min_set(value)
+ *
+ * def zoom_max_set(self, zoom): # <<<<<<<<<<<<<<
+ * elm_map_zoom_max_set(self.obj, zoom)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_14zoom_max_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ 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("zoom_max_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":463
+ *
+ * def zoom_max_set(self, zoom):
+ * elm_map_zoom_max_set(self.obj, zoom) # <<<<<<<<<<<<<<
+ *
+ * def zoom_max_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_zoom); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 463; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_zoom_max_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_max_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_17zoom_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_17zoom_max_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("zoom_max_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_16zoom_max_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":465
+ * elm_map_zoom_max_set(self.obj, zoom)
+ *
+ * def zoom_max_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_zoom_max_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_16zoom_max_get(struct PyElementaryMap *__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("zoom_max_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":466
+ *
+ * def zoom_max_get(self):
+ * return elm_map_zoom_max_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property zoom_max:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_map_zoom_max_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.zoom_max_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_8zoom_max_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_8zoom_max_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_8zoom_max___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":469
+ *
+ * property zoom_max:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.zoom_max_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8zoom_max___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":470
+ * property zoom_max:
+ * def __get__(self):
+ * return self.zoom_max_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.zoom_max_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_max_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 470; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.zoom_max.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_8zoom_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_8zoom_max_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_8zoom_max_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":471
+ * def __get__(self):
+ * return self.zoom_max_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.zoom_max_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_8zoom_max_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":472
+ * return self.zoom_max_get()
+ * def __set__(self, value):
+ * self.zoom_max_set(value) # <<<<<<<<<<<<<<
+ *
+ * def region_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__zoom_max_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 472; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.zoom_max.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_19region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_19region_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_18region_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":474
+ * self.zoom_max_set(value)
+ *
+ * def region_get(self): # <<<<<<<<<<<<<<
+ * cdef double lon, lat
+ * elm_map_region_get(self.obj, &lon, &lat)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_18region_get(struct PyElementaryMap *__pyx_v_self) {
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ 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("region_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":476
+ * def region_get(self):
+ * cdef double lon, lat
+ * elm_map_region_get(self.obj, &lon, &lat) # <<<<<<<<<<<<<<
+ * return (lon, lat)
+ *
+ */
+ elm_map_region_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_lon), (&__pyx_v_lat));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":477
+ * cdef double lon, lat
+ * elm_map_region_get(self.obj, &lon, &lat)
+ * return (lon, lat) # <<<<<<<<<<<<<<
+ *
+ * property region:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_lon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_lat); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 477; __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[58]; __pyx_lineno = 477; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.region_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_6region_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_6region_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_6region___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":480
+ *
+ * property region:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.region_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6region___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":481
+ * property region:
+ * def __get__(self):
+ * return self.region_get() # <<<<<<<<<<<<<<
+ *
+ * def region_bring_in(self, lon, lat):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__region_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 481; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 481; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.region.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_21region_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_21region_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_bring_in (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_bring_in", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_bring_in") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 483; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_bring_in", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.region_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_20region_bring_in(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":483
+ * return self.region_get()
+ *
+ * def region_bring_in(self, lon, lat): # <<<<<<<<<<<<<<
+ * elm_map_region_bring_in(self.obj, lon, lat)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_20region_bring_in(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat) {
+ 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("region_bring_in", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":484
+ *
+ * def region_bring_in(self, lon, lat):
+ * elm_map_region_bring_in(self.obj, lon, lat) # <<<<<<<<<<<<<<
+ *
+ * def region_show(self, lon, lat):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_lon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 484; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_lat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 484; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_region_bring_in(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.region_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_23region_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_23region_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_show (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_show", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_show") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 486; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_show", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 486; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.region_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_22region_show(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":486
+ * elm_map_region_bring_in(self.obj, lon, lat)
+ *
+ * def region_show(self, lon, lat): # <<<<<<<<<<<<<<
+ * elm_map_region_show(self.obj, lon, lat)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_22region_show(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat) {
+ 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("region_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":487
+ *
+ * def region_show(self, lon, lat):
+ * elm_map_region_show(self.obj, lon, lat) # <<<<<<<<<<<<<<
+ *
+ * def canvas_to_region_convert(self, x, y):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_lon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_lat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_region_show(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.region_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_25canvas_to_region_convert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_25canvas_to_region_convert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("canvas_to_region_convert (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("canvas_to_region_convert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "canvas_to_region_convert") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 489; __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 = values[0];
+ __pyx_v_y = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("canvas_to_region_convert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 489; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.canvas_to_region_convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_24canvas_to_region_convert(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_x, __pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":489
+ * elm_map_region_show(self.obj, lon, lat)
+ *
+ * def canvas_to_region_convert(self, x, y): # <<<<<<<<<<<<<<
+ * cdef double lon, lat
+ * elm_map_canvas_to_region_convert(self.obj, x, y, &lon, &lat)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_24canvas_to_region_convert(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Evas_Coord __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("canvas_to_region_convert", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":491
+ * def canvas_to_region_convert(self, x, y):
+ * cdef double lon, lat
+ * elm_map_canvas_to_region_convert(self.obj, x, y, &lon, &lat) # <<<<<<<<<<<<<<
+ * return (lon, lat)
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_x); if (unlikely((__pyx_t_1 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_y); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 491; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_canvas_to_region_convert(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, (&__pyx_v_lon), (&__pyx_v_lat));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":492
+ * cdef double lon, lat
+ * elm_map_canvas_to_region_convert(self.obj, x, y, &lon, &lat)
+ * return (lon, lat) # <<<<<<<<<<<<<<
+ *
+ * def region_to_canvas_convert(self, lon, lat):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_3 = PyFloat_FromDouble(__pyx_v_lon); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyFloat_FromDouble(__pyx_v_lat); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 492; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.canvas_to_region_convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_27region_to_canvas_convert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_27region_to_canvas_convert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("region_to_canvas_convert (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("region_to_canvas_convert", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "region_to_canvas_convert") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 494; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("region_to_canvas_convert", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.region_to_canvas_convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_26region_to_canvas_convert(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":494
+ * return (lon, lat)
+ *
+ * def region_to_canvas_convert(self, lon, lat): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord x, y
+ * elm_map_region_to_canvas_convert(self.obj, lon, lat, &x, &y)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_26region_to_canvas_convert(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat) {
+ Evas_Coord __pyx_v_x;
+ Evas_Coord __pyx_v_y;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ double __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("region_to_canvas_convert", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":496
+ * def region_to_canvas_convert(self, lon, lat):
+ * cdef Evas_Coord x, y
+ * elm_map_region_to_canvas_convert(self.obj, lon, lat, &x, &y) # <<<<<<<<<<<<<<
+ * return (x, y)
+ *
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_lon); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_PyFloat_AsDouble(__pyx_v_lat); if (unlikely((__pyx_t_2 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 496; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_region_to_canvas_convert(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, (&__pyx_v_x), (&__pyx_v_y));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":497
+ * cdef Evas_Coord x, y
+ * elm_map_region_to_canvas_convert(self.obj, lon, lat, &x, &y)
+ * return (x, y) # <<<<<<<<<<<<<<
+ *
+ * def paused_set(self, paused):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_3 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_x); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_y); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 497; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.region_to_canvas_convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_29paused_set(PyObject *__pyx_v_self, PyObject *__pyx_v_paused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_29paused_set(PyObject *__pyx_v_self, PyObject *__pyx_v_paused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("paused_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_28paused_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_paused));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":499
+ * return (x, y)
+ *
+ * def paused_set(self, paused): # <<<<<<<<<<<<<<
+ * elm_map_paused_set(self.obj, bool(paused))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_28paused_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_paused) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("paused_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":500
+ *
+ * def paused_set(self, paused):
+ * elm_map_paused_set(self.obj, bool(paused)) # <<<<<<<<<<<<<<
+ *
+ * def paused_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_paused);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_paused);
+ __Pyx_GIVEREF(__pyx_v_paused);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_map_paused_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Map.paused_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_31paused_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_31paused_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("paused_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_30paused_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":502
+ * elm_map_paused_set(self.obj, bool(paused))
+ *
+ * def paused_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_map_paused_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_30paused_get(struct PyElementaryMap *__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("paused_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":503
+ *
+ * def paused_get(self):
+ * return bool(elm_map_paused_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property paused:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_map_paused_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 503; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.paused_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_6paused_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_6paused_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_6paused___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":506
+ *
+ * property paused:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.paused_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6paused___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":507
+ * property paused:
+ * def __get__(self):
+ * return self.paused_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.paused_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__paused_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 507; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.paused.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_6paused_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_6paused_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_6paused_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":508
+ * def __get__(self):
+ * return self.paused_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.paused_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_6paused_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":509
+ * return self.paused_get()
+ * def __set__(self, value):
+ * self.paused_set(value) # <<<<<<<<<<<<<<
+ *
+ * def rotate_set(self, degree, cx, cy):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__paused_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 509; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.paused.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_33rotate_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_33rotate_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_degree = 0;
+ PyObject *__pyx_v_cx = 0;
+ PyObject *__pyx_v_cy = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__degree,&__pyx_n_s__cx,&__pyx_n_s__cy,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("rotate_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__degree);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cx);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("rotate_set", 1, 3, 3, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cy);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("rotate_set", 1, 3, 3, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "rotate_set") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 511; __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_degree = values[0];
+ __pyx_v_cx = values[1];
+ __pyx_v_cy = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("rotate_set", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 511; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.rotate_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_32rotate_set(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_degree, __pyx_v_cx, __pyx_v_cy);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":511
+ * self.paused_set(value)
+ *
+ * def rotate_set(self, degree, cx, cy): # <<<<<<<<<<<<<<
+ * elm_map_rotate_set(self.obj, degree, cx, cy)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_32rotate_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_degree, PyObject *__pyx_v_cx, PyObject *__pyx_v_cy) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ Evas_Coord __pyx_t_2;
+ Evas_Coord __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("rotate_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":512
+ *
+ * def rotate_set(self, degree, cx, cy):
+ * elm_map_rotate_set(self.obj, degree, cx, cy) # <<<<<<<<<<<<<<
+ *
+ * def rotate_get(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_degree); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_cx); if (unlikely((__pyx_t_2 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_from_py_Evas_Coord(__pyx_v_cy); if (unlikely((__pyx_t_3 == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 512; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_rotate_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.rotate_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_35rotate_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_35rotate_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("rotate_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_34rotate_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":514
+ * elm_map_rotate_set(self.obj, degree, cx, cy)
+ *
+ * def rotate_get(self): # <<<<<<<<<<<<<<
+ * cdef double degree
+ * cdef Evas_Coord cx, cy
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_34rotate_get(struct PyElementaryMap *__pyx_v_self) {
+ double __pyx_v_degree;
+ Evas_Coord __pyx_v_cx;
+ Evas_Coord __pyx_v_cy;
+ 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("rotate_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":517
+ * cdef double degree
+ * cdef Evas_Coord cx, cy
+ * elm_map_rotate_get(self.obj, &degree, &cx, &cy) # <<<<<<<<<<<<<<
+ * return (degree, cx, cy)
+ *
+ */
+ elm_map_rotate_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_degree), (&__pyx_v_cx), (&__pyx_v_cy));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":518
+ * cdef Evas_Coord cx, cy
+ * elm_map_rotate_get(self.obj, &degree, &cx, &cy)
+ * return (degree, cx, cy) # <<<<<<<<<<<<<<
+ *
+ * property rotate:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_degree); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_cx); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 518; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = __Pyx_PyInt_to_py_Evas_Coord(__pyx_v_cy); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 518; __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[58]; __pyx_lineno = 518; __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 = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.Map.rotate_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_6rotate_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_6rotate_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_6rotate___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":521
+ *
+ * property rotate:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.rotate_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_6rotate___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":522
+ * property rotate:
+ * def __get__(self):
+ * return self.rotate_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.rotate_set(*value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__rotate_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 522; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 522; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.rotate.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_6rotate_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_6rotate_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_6rotate_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":523
+ * def __get__(self):
+ * return self.rotate_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.rotate_set(*value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_6rotate_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":524
+ * return self.rotate_get()
+ * def __set__(self, value):
+ * self.rotate_set(*value) # <<<<<<<<<<<<<<
+ *
+ * def wheel_disabled_set(self, disabled):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__rotate_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 524; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.rotate.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_37wheel_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_37wheel_disabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wheel_disabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_36wheel_disabled_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_disabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":526
+ * self.rotate_set(*value)
+ *
+ * def wheel_disabled_set(self, disabled): # <<<<<<<<<<<<<<
+ * elm_map_wheel_disabled_set(self.obj, bool(disabled))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_36wheel_disabled_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_disabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("wheel_disabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":527
+ *
+ * def wheel_disabled_set(self, disabled):
+ * elm_map_wheel_disabled_set(self.obj, bool(disabled)) # <<<<<<<<<<<<<<
+ *
+ * def wheel_disabled_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_disabled);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_disabled);
+ __Pyx_GIVEREF(__pyx_v_disabled);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 527; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_map_wheel_disabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.Map.wheel_disabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_39wheel_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_39wheel_disabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("wheel_disabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_38wheel_disabled_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":529
+ * elm_map_wheel_disabled_set(self.obj, bool(disabled))
+ *
+ * def wheel_disabled_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_map_wheel_disabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_38wheel_disabled_get(struct PyElementaryMap *__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("wheel_disabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":530
+ *
+ * def wheel_disabled_get(self):
+ * return bool(elm_map_wheel_disabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property wheel_disabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_map_wheel_disabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 530; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 530; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 530; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.wheel_disabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_14wheel_disabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_14wheel_disabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_14wheel_disabled___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":533
+ *
+ * property wheel_disabled:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.wheel_disabled_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_14wheel_disabled___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":534
+ * property wheel_disabled:
+ * def __get__(self):
+ * return self.wheel_disabled_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.wheel_disabled_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__wheel_disabled_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 534; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 534; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.wheel_disabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_14wheel_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_14wheel_disabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_14wheel_disabled_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":535
+ * def __get__(self):
+ * return self.wheel_disabled_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.wheel_disabled_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_14wheel_disabled_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":536
+ * return self.wheel_disabled_get()
+ * def __set__(self, value):
+ * self.wheel_disabled_set(value) # <<<<<<<<<<<<<<
+ *
+ * def user_agent_set(self, user_agent):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__wheel_disabled_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.wheel_disabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_41user_agent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_user_agent); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_41user_agent_set(PyObject *__pyx_v_self, PyObject *__pyx_v_user_agent) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("user_agent_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_40user_agent_set(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_user_agent));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":538
+ * self.wheel_disabled_set(value)
+ *
+ * def user_agent_set(self, user_agent): # <<<<<<<<<<<<<<
+ * elm_map_user_agent_set(self.obj, user_agent)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_40user_agent_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_user_agent) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ char *__pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("user_agent_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":539
+ *
+ * def user_agent_set(self, user_agent):
+ * elm_map_user_agent_set(self.obj, user_agent) # <<<<<<<<<<<<<<
+ *
+ * def user_agent_get(self):
+ */
+ __pyx_t_1 = PyBytes_AsString(__pyx_v_user_agent); if (unlikely((!__pyx_t_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 539; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_user_agent_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.user_agent_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_43user_agent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_43user_agent_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("user_agent_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_42user_agent_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":541
+ * elm_map_user_agent_set(self.obj, user_agent)
+ *
+ * def user_agent_get(self): # <<<<<<<<<<<<<<
+ * return elm_map_user_agent_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_42user_agent_get(struct PyElementaryMap *__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("user_agent_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":542
+ *
+ * def user_agent_get(self):
+ * return elm_map_user_agent_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property user_agent:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyBytes_FromString(elm_map_user_agent_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_r = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.user_agent_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_10user_agent_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_10user_agent_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_10user_agent___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":545
+ *
+ * property user_agent:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.user_agent_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_10user_agent___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":546
+ * property user_agent:
+ * def __get__(self):
+ * return self.user_agent_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.user_agent_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__user_agent_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 546; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 546; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.user_agent.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_3Map_10user_agent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_3Map_10user_agent_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_10user_agent_2__set__(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":547
+ * def __get__(self):
+ * return self.user_agent_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.user_agent_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_3Map_10user_agent_2__set__(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":548
+ * return self.user_agent_get()
+ * def __set__(self, value):
+ * self.user_agent_set(value) # <<<<<<<<<<<<<<
+ *
+ * def overlay_add(self, lon, lat):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__user_agent_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Map.user_agent.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_45overlay_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_45overlay_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "overlay_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 550; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("overlay_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 550; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.overlay_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_44overlay_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":550
+ * self.user_agent_set(value)
+ *
+ * def overlay_add(self, lon, lat): # <<<<<<<<<<<<<<
+ * return MapOverlay(self, lon, lat)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_44overlay_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":551
+ *
+ * def overlay_add(self, lon, lat):
+ * return MapOverlay(self, lon, lat) # <<<<<<<<<<<<<<
+ *
+ * def overlays_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_lon);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_lon);
+ __Pyx_GIVEREF(__pyx_v_lon);
+ __Pyx_INCREF(__pyx_v_lat);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_lat);
+ __Pyx_GIVEREF(__pyx_v_lat);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlay)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 551; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_47overlays_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_47overlays_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlays_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_46overlays_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":553
+ * return MapOverlay(self, lon, lat)
+ *
+ * def overlays_get(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ * cdef Elm_Map_Overlay *ov
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_46overlays_get(struct PyElementaryMap *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ Elm_Map_Overlay *__pyx_v_ov;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_v_ret_append = NULL;
+ PyObject *__pyx_v_o = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlays_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":556
+ * cdef Eina_List *lst
+ * cdef Elm_Map_Overlay *ov
+ * lst = elm_map_overlays_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * ret = []
+ */
+ __pyx_v_lst = elm_map_overlays_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":558
+ * lst = elm_map_overlays_get(self.obj)
+ *
+ * ret = [] # <<<<<<<<<<<<<<
+ * ret_append = ret.append
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 558; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":559
+ *
+ * ret = []
+ * ret_append = ret.append # <<<<<<<<<<<<<<
+ * while lst:
+ * ov = <Elm_Map_Overlay *>lst.data
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_ret), __pyx_n_s__append); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 559; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret_append = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":560
+ * ret = []
+ * ret_append = ret.append
+ * while lst: # <<<<<<<<<<<<<<
+ * ov = <Elm_Map_Overlay *>lst.data
+ * lst = lst.next
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":561
+ * ret_append = ret.append
+ * while lst:
+ * ov = <Elm_Map_Overlay *>lst.data # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * o = _elm_map_overlay_to_python(ov)
+ */
+ __pyx_v_ov = ((Elm_Map_Overlay *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":562
+ * while lst:
+ * ov = <Elm_Map_Overlay *>lst.data
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * o = _elm_map_overlay_to_python(ov)
+ * if o is not None:
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":563
+ * ov = <Elm_Map_Overlay *>lst.data
+ * lst = lst.next
+ * o = _elm_map_overlay_to_python(ov) # <<<<<<<<<<<<<<
+ * if o is not None:
+ * ret_append(o)
+ */
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__elm_map_overlay_to_python(__pyx_v_ov); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 563; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_v_o);
+ __pyx_v_o = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":564
+ * lst = lst.next
+ * o = _elm_map_overlay_to_python(ov)
+ * if o is not None: # <<<<<<<<<<<<<<
+ * ret_append(o)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_o != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":565
+ * o = _elm_map_overlay_to_python(ov)
+ * if o is not None:
+ * ret_append(o) # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 565; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_o);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_o);
+ __Pyx_GIVEREF(__pyx_v_o);
+ __pyx_t_3 = PyObject_Call(__pyx_v_ret_append, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 565; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":566
+ * if o is not None:
+ * ret_append(o)
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * property overlays:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.overlays_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_ret_append);
+ __Pyx_XDECREF(__pyx_v_o);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_8overlays_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_8overlays_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_8overlays___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":569
+ *
+ * property overlays:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.overlays_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_8overlays___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":570
+ * property overlays:
+ * def __get__(self):
+ * return self.overlays_get() # <<<<<<<<<<<<<<
+ *
+ * def overlays_show(self, overlays):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__overlays_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 570; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 570; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlays.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_49overlays_show(PyObject *__pyx_v_self, PyObject *__pyx_v_overlays); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_49overlays_show(PyObject *__pyx_v_self, PyObject *__pyx_v_overlays) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlays_show (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_48overlays_show(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_overlays));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":572
+ * return self.overlays_get()
+ *
+ * def overlays_show(self, overlays): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_48overlays_show(CYTHON_UNUSED struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_overlays) {
+ Eina_List *__pyx_v_lst;
+ PyObject *__pyx_v_overlay = NULL;
+ struct __pyx_obj_10elementary_12c_elementary_MapOverlay *__pyx_v_ov = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Py_ssize_t __pyx_t_2;
+ PyObject *(*__pyx_t_3)(PyObject *);
+ PyObject *__pyx_t_4 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlays_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":575
+ * cdef Eina_List *lst
+ *
+ * lst = NULL # <<<<<<<<<<<<<<
+ * for overlay in overlays:
+ * ov = <MapOverlay>overlay
+ */
+ __pyx_v_lst = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":576
+ *
+ * lst = NULL
+ * for overlay in overlays: # <<<<<<<<<<<<<<
+ * ov = <MapOverlay>overlay
+ * lst = eina_list_append(lst, ov.overlay)
+ */
+ if (PyList_CheckExact(__pyx_v_overlays) || PyTuple_CheckExact(__pyx_v_overlays)) {
+ __pyx_t_1 = __pyx_v_overlays; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+ __pyx_t_3 = NULL;
+ } else {
+ __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_overlays); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext;
+ }
+ for (;;) {
+ if (!__pyx_t_3 && PyList_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else if (!__pyx_t_3 && PyTuple_CheckExact(__pyx_t_1)) {
+ if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+ __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
+ } else {
+ __pyx_t_4 = __pyx_t_3(__pyx_t_1);
+ if (unlikely(!__pyx_t_4)) {
+ if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) PyErr_Clear();
+ else {__pyx_filename = __pyx_f[58]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ break;
+ }
+ __Pyx_GOTREF(__pyx_t_4);
+ }
+ __Pyx_XDECREF(__pyx_v_overlay);
+ __pyx_v_overlay = __pyx_t_4;
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":577
+ * lst = NULL
+ * for overlay in overlays:
+ * ov = <MapOverlay>overlay # <<<<<<<<<<<<<<
+ * lst = eina_list_append(lst, ov.overlay)
+ * elm_map_overlays_show(lst)
+ */
+ __Pyx_INCREF(((PyObject *)((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_overlay)));
+ __Pyx_XDECREF(((PyObject *)__pyx_v_ov));
+ __pyx_v_ov = ((struct __pyx_obj_10elementary_12c_elementary_MapOverlay *)__pyx_v_overlay);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":578
+ * for overlay in overlays:
+ * ov = <MapOverlay>overlay
+ * lst = eina_list_append(lst, ov.overlay) # <<<<<<<<<<<<<<
+ * elm_map_overlays_show(lst)
+ * eina_list_free(lst)
+ */
+ __pyx_v_lst = eina_list_append(__pyx_v_lst, __pyx_v_ov->overlay);
+ }
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":579
+ * ov = <MapOverlay>overlay
+ * lst = eina_list_append(lst, ov.overlay)
+ * elm_map_overlays_show(lst) # <<<<<<<<<<<<<<
+ * eina_list_free(lst)
+ *
+ */
+ elm_map_overlays_show(__pyx_v_lst);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":580
+ * lst = eina_list_append(lst, ov.overlay)
+ * elm_map_overlays_show(lst)
+ * eina_list_free(lst) # <<<<<<<<<<<<<<
+ *
+ * def overlay_bubble_add(self):
+ */
+ eina_list_free(__pyx_v_lst);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.overlays_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_overlay);
+ __Pyx_XDECREF((PyObject *)__pyx_v_ov);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_51overlay_bubble_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_51overlay_bubble_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_bubble_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_50overlay_bubble_add(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":582
+ * eina_list_free(lst)
+ *
+ * def overlay_bubble_add(self): # <<<<<<<<<<<<<<
+ * return MapOverlayBubble(self)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_50overlay_bubble_add(struct PyElementaryMap *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_bubble_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":583
+ *
+ * def overlay_bubble_add(self):
+ * return MapOverlayBubble(self) # <<<<<<<<<<<<<<
+ *
+ * def overlay_line_add(self, flon, flat, tlon, tlat):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayBubble)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 583; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_bubble_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_53overlay_line_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_53overlay_line_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_flon = 0;
+ PyObject *__pyx_v_flat = 0;
+ PyObject *__pyx_v_tlon = 0;
+ PyObject *__pyx_v_tlat = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__flon,&__pyx_n_s__flat,&__pyx_n_s__tlon,&__pyx_n_s__tlat,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_line_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_line_add", 1, 4, 4, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlon);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_line_add", 1, 4, 4, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlat);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_line_add", 1, 4, 4, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "overlay_line_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 585; __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_flon = values[0];
+ __pyx_v_flat = values[1];
+ __pyx_v_tlon = values[2];
+ __pyx_v_tlat = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("overlay_line_add", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.overlay_line_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_52overlay_line_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_flon, __pyx_v_flat, __pyx_v_tlon, __pyx_v_tlat);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":585
+ * return MapOverlayBubble(self)
+ *
+ * def overlay_line_add(self, flon, flat, tlon, tlat): # <<<<<<<<<<<<<<
+ * return MapOverlayLine(self, flon, flat, tlon, tlat)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_52overlay_line_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_flon, PyObject *__pyx_v_flat, PyObject *__pyx_v_tlon, PyObject *__pyx_v_tlat) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_line_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":586
+ *
+ * def overlay_line_add(self, flon, flat, tlon, tlat):
+ * return MapOverlayLine(self, flon, flat, tlon, tlat) # <<<<<<<<<<<<<<
+ *
+ * def overlay_polygon_add(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_flon);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_flon);
+ __Pyx_GIVEREF(__pyx_v_flon);
+ __Pyx_INCREF(__pyx_v_flat);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_flat);
+ __Pyx_GIVEREF(__pyx_v_flat);
+ __Pyx_INCREF(__pyx_v_tlon);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_tlon);
+ __Pyx_GIVEREF(__pyx_v_tlon);
+ __Pyx_INCREF(__pyx_v_tlat);
+ PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_v_tlat);
+ __Pyx_GIVEREF(__pyx_v_tlat);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayLine)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_line_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_55overlay_polygon_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_55overlay_polygon_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_polygon_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_54overlay_polygon_add(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":588
+ * return MapOverlayLine(self, flon, flat, tlon, tlat)
+ *
+ * def overlay_polygon_add(self): # <<<<<<<<<<<<<<
+ * return MapOverlayPolygon(self)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_54overlay_polygon_add(struct PyElementaryMap *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_polygon_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":589
+ *
+ * def overlay_polygon_add(self):
+ * return MapOverlayPolygon(self) # <<<<<<<<<<<<<<
+ *
+ * def overlay_circle_add(self, lon, lat, radius):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayPolygon)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 589; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_polygon_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_57overlay_circle_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_57overlay_circle_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_lon = 0;
+ PyObject *__pyx_v_lat = 0;
+ PyObject *__pyx_v_radius = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__lon,&__pyx_n_s__lat,&__pyx_n_s__radius,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_circle_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_circle_add", 1, 3, 3, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__radius);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_circle_add", 1, 3, 3, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "overlay_circle_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 591; __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_lon = values[0];
+ __pyx_v_lat = values[1];
+ __pyx_v_radius = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("overlay_circle_add", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.overlay_circle_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_56overlay_circle_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_lon, __pyx_v_lat, __pyx_v_radius);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":591
+ * return MapOverlayPolygon(self)
+ *
+ * def overlay_circle_add(self, lon, lat, radius): # <<<<<<<<<<<<<<
+ * return MapOverlayCircle(self, lon, lat, radius)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_56overlay_circle_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_lon, PyObject *__pyx_v_lat, PyObject *__pyx_v_radius) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_circle_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":592
+ *
+ * def overlay_circle_add(self, lon, lat, radius):
+ * return MapOverlayCircle(self, lon, lat, radius) # <<<<<<<<<<<<<<
+ *
+ * def overlay_scale_add(self, x, y):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_lon);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_lon);
+ __Pyx_GIVEREF(__pyx_v_lon);
+ __Pyx_INCREF(__pyx_v_lat);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_lat);
+ __Pyx_GIVEREF(__pyx_v_lat);
+ __Pyx_INCREF(__pyx_v_radius);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_radius);
+ __Pyx_GIVEREF(__pyx_v_radius);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayCircle)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 592; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_circle_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_59overlay_scale_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_59overlay_scale_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_scale_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("overlay_scale_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "overlay_scale_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 594; __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 = values[0];
+ __pyx_v_y = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("overlay_scale_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.overlay_scale_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_58overlay_scale_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_x, __pyx_v_y);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":594
+ * return MapOverlayCircle(self, lon, lat, radius)
+ *
+ * def overlay_scale_add(self, x, y): # <<<<<<<<<<<<<<
+ * return MapOverlayScale(self, x, y)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_58overlay_scale_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_scale_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":595
+ *
+ * def overlay_scale_add(self, x, y):
+ * return MapOverlayScale(self, x, y) # <<<<<<<<<<<<<<
+ *
+ * def overlay_class_add(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_x);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_x);
+ __Pyx_GIVEREF(__pyx_v_x);
+ __Pyx_INCREF(__pyx_v_y);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_y);
+ __Pyx_GIVEREF(__pyx_v_y);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayScale)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 595; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_scale_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_61overlay_class_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_61overlay_class_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_class_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_60overlay_class_add(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":597
+ * return MapOverlayScale(self, x, y)
+ *
+ * def overlay_class_add(self): # <<<<<<<<<<<<<<
+ * return MapOverlayClass(self)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_60overlay_class_add(struct PyElementaryMap *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_class_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":598
+ *
+ * def overlay_class_add(self):
+ * return MapOverlayClass(self) # <<<<<<<<<<<<<<
+ *
+ * def overlay_route_add(self, route):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayClass)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_class_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_63overlay_route_add(PyObject *__pyx_v_self, PyObject *__pyx_v_route); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_63overlay_route_add(PyObject *__pyx_v_self, PyObject *__pyx_v_route) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("overlay_route_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_62overlay_route_add(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_route));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":600
+ * return MapOverlayClass(self)
+ *
+ * def overlay_route_add(self, route): # <<<<<<<<<<<<<<
+ * return MapOverlayRoute(self, route)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_62overlay_route_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_route) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("overlay_route_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":601
+ *
+ * def overlay_route_add(self, route):
+ * return MapOverlayRoute(self, route) # <<<<<<<<<<<<<<
+ *
+ * def tile_load_status_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_route);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_route);
+ __Pyx_GIVEREF(__pyx_v_route);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapOverlayRoute)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.overlay_route_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_65tile_load_status_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_65tile_load_status_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("tile_load_status_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_64tile_load_status_get(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":603
+ * return MapOverlayRoute(self, route)
+ *
+ * def tile_load_status_get(self): # <<<<<<<<<<<<<<
+ * cdef int try_num, finish_num
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_64tile_load_status_get(struct PyElementaryMap *__pyx_v_self) {
+ int __pyx_v_try_num;
+ int __pyx_v_finish_num;
+ 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("tile_load_status_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":606
+ * cdef int try_num, finish_num
+ *
+ * elm_map_tile_load_status_get(self.obj, &try_num, &finish_num) # <<<<<<<<<<<<<<
+ * return (try_num, finish_num)
+ *
+ */
+ elm_map_tile_load_status_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_try_num), (&__pyx_v_finish_num));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":607
+ *
+ * elm_map_tile_load_status_get(self.obj, &try_num, &finish_num)
+ * return (try_num, finish_num) # <<<<<<<<<<<<<<
+ *
+ * property tile_load_status_get:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_try_num); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_finish_num); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 607; __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[58]; __pyx_lineno = 607; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.tile_load_status_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_20tile_load_status_get_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_20tile_load_status_get_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_20tile_load_status_get___get__(((struct PyElementaryMap *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":610
+ *
+ * property tile_load_status_get:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.tile_load_status_get_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_20tile_load_status_get___get__(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":611
+ * property tile_load_status_get:
+ * def __get__(self):
+ * return self.tile_load_status_get_get() # <<<<<<<<<<<<<<
+ *
+ * def sources_get(self, type):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s_217); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 611; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 611; __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;
+
+ __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_AddTraceback("elementary.c_elementary.Map.tile_load_status_get.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_67sources_get(PyObject *__pyx_v_self, PyObject *__pyx_v_type); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_67sources_get(PyObject *__pyx_v_self, PyObject *__pyx_v_type) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("sources_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_66sources_get(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_type));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":613
+ * return self.tile_load_status_get_get()
+ *
+ * def sources_get(self, type): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr *lst
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_66sources_get(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_type) {
+ const char * *__pyx_v_lst;
+ PyObject *__pyx_v_i = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Elm_Map_Source_Type __pyx_t_2;
+ Py_ssize_t __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("sources_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":616
+ * cdef const_char_ptr *lst
+ *
+ * i = 0 # <<<<<<<<<<<<<<
+ * ret = []
+ * lst = elm_map_sources_get(self.obj, type)
+ */
+ __Pyx_INCREF(__pyx_int_0);
+ __pyx_v_i = __pyx_int_0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":617
+ *
+ * i = 0
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_map_sources_get(self.obj, type)
+ * while (lst[i]):
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 617; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":618
+ * i = 0
+ * ret = []
+ * lst = elm_map_sources_get(self.obj, type) # <<<<<<<<<<<<<<
+ * while (lst[i]):
+ * ret.append(_ctouni(lst[i]))
+ */
+ __pyx_t_2 = ((Elm_Map_Source_Type)PyInt_AsLong(__pyx_v_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_lst = elm_map_sources_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":619
+ * ret = []
+ * lst = elm_map_sources_get(self.obj, type)
+ * while (lst[i]): # <<<<<<<<<<<<<<
+ * ret.append(_ctouni(lst[i]))
+ * i += 1
+ */
+ while (1) {
+ __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = ((__pyx_v_lst[__pyx_t_3]) != 0);
+ if (!__pyx_t_4) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":620
+ * lst = elm_map_sources_get(self.obj, type)
+ * while (lst[i]):
+ * ret.append(_ctouni(lst[i])) # <<<<<<<<<<<<<<
+ * i += 1
+ *
+ */
+ __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni((__pyx_v_lst[__pyx_t_3]))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_5 = PyList_Append(__pyx_v_ret, __pyx_t_1); if (unlikely(__pyx_t_5 == -1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 620; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":621
+ * while (lst[i]):
+ * ret.append(_ctouni(lst[i]))
+ * i += 1 # <<<<<<<<<<<<<<
+ *
+ * return ret
+ */
+ __pyx_t_1 = PyNumber_InPlaceAdd(__pyx_v_i, __pyx_int_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_v_i);
+ __pyx_v_i = __pyx_t_1;
+ __pyx_t_1 = 0;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":623
+ * i += 1
+ *
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def source_set(self, type, source_name):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.sources_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_i);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_69source_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_69source_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_type = 0;
+ PyObject *__pyx_v_source_name = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__type,&__pyx_n_s__source_name,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("source_set (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__type);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__source_name);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("source_set", 1, 2, 2, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "source_set") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 625; __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_type = values[0];
+ __pyx_v_source_name = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("source_set", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 625; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.source_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_68source_set(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_type, __pyx_v_source_name);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":625
+ * return ret
+ *
+ * def source_set(self, type, source_name): # <<<<<<<<<<<<<<
+ * elm_map_source_set(self.obj, type, _cfruni(source_name))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_68source_set(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_type, PyObject *__pyx_v_source_name) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Map_Source_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("source_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":626
+ *
+ * def source_set(self, type, source_name):
+ * elm_map_source_set(self.obj, type, _cfruni(source_name)) # <<<<<<<<<<<<<<
+ *
+ * def source_get(self, type):
+ */
+ __pyx_t_1 = ((Elm_Map_Source_Type)PyInt_AsLong(__pyx_v_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 626; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_map_source_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_source_name));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Map.source_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_71source_get(PyObject *__pyx_v_self, PyObject *__pyx_v_type); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_71source_get(PyObject *__pyx_v_self, PyObject *__pyx_v_type) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("source_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_70source_get(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_type));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":628
+ * elm_map_source_set(self.obj, type, _cfruni(source_name))
+ *
+ * def source_get(self, type): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_map_source_get(self.obj, type))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_70source_get(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_type) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Elm_Map_Source_Type __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("source_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":629
+ *
+ * def source_get(self, type):
+ * return _ctouni(elm_map_source_get(self.obj, type)) # <<<<<<<<<<<<<<
+ *
+ * def route_add(self, Elm_Map_Route_Type type, Elm_Map_Route_Method method,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((Elm_Map_Source_Type)PyInt_AsLong(__pyx_v_type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_map_source_get(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 629; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.source_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_73route_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_73route_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Elm_Map_Route_Type __pyx_v_type;
+ Elm_Map_Route_Method __pyx_v_method;
+ double __pyx_v_flon;
+ double __pyx_v_flat;
+ double __pyx_v_tlon;
+ double __pyx_v_tlat;
+ PyObject *__pyx_v_route_cb = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__type,&__pyx_n_s__method,&__pyx_n_s__flon,&__pyx_n_s__flat,&__pyx_n_s__tlon,&__pyx_n_s__tlat,&__pyx_n_s__route_cb,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("route_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) > 7) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 7, 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);
+ }
+ {
+ PyObject* values[7] = {0,0,0,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) {
+ default:
+ case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__type);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__method);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flon);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__flat);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlon);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, 4); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 5:
+ values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__tlat);
+ if (likely(values[5])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, 5); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 6:
+ values[6] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__route_cb);
+ if (likely(values[6])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, 6); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 7) ? pos_args : 7;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "route_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) < 7) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ }
+ __pyx_v_type = ((Elm_Map_Route_Type)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_method = ((Elm_Map_Route_Method)PyInt_AsLong(values[1])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_flon = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_flon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_flat = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_flat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_tlon = __pyx_PyFloat_AsDouble(values[4]); if (unlikely((__pyx_v_tlon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_tlat = __pyx_PyFloat_AsDouble(values[5]); if (unlikely((__pyx_v_tlat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_route_cb = values[6];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("route_add", 0, 7, 7, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 631; __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("elementary.c_elementary.Map.route_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_72route_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_type, __pyx_v_method, __pyx_v_flon, __pyx_v_flat, __pyx_v_tlon, __pyx_v_tlat, __pyx_v_route_cb, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":631
+ * return _ctouni(elm_map_source_get(self.obj, type))
+ *
+ * def route_add(self, Elm_Map_Route_Type type, Elm_Map_Route_Method method, # <<<<<<<<<<<<<<
+ * double flon, double flat, double tlon, double tlat,
+ * route_cb, *args, **kwargs):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_72route_add(struct PyElementaryMap *__pyx_v_self, Elm_Map_Route_Type __pyx_v_type, Elm_Map_Route_Method __pyx_v_method, double __pyx_v_flon, double __pyx_v_flat, double __pyx_v_tlon, double __pyx_v_tlat, PyObject *__pyx_v_route_cb, 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;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("route_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":634
+ * double flon, double flat, double tlon, double tlat,
+ * route_cb, *args, **kwargs):
+ * return MapRoute(self, type, method, flon, flat, tlon, tlat, # <<<<<<<<<<<<<<
+ * route_cb, *args, **kwargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_method); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyFloat_FromDouble(__pyx_v_flon); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyFloat_FromDouble(__pyx_v_flat); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyFloat_FromDouble(__pyx_v_tlon); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyFloat_FromDouble(__pyx_v_tlat); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":635
+ * route_cb, *args, **kwargs):
+ * return MapRoute(self, type, method, flon, flat, tlon, tlat,
+ * route_cb, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def name_add(self, address, double lon, double lat,
+ */
+ __pyx_t_7 = PyTuple_New(8); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_7, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_7, 4, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_7, 5, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_7, 6, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_v_route_cb);
+ PyTuple_SET_ITEM(__pyx_t_7, 7, __pyx_v_route_cb);
+ __Pyx_GIVEREF(__pyx_v_route_cb);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":634
+ * double flon, double flat, double tlon, double tlat,
+ * route_cb, *args, **kwargs):
+ * return MapRoute(self, type, method, flon, flat, tlon, tlat, # <<<<<<<<<<<<<<
+ * route_cb, *args, **kwargs)
+ *
+ */
+ __pyx_t_6 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_6));
+ __pyx_t_5 = PyNumber_Add(((PyObject *)__pyx_t_7), ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":635
+ * route_cb, *args, **kwargs):
+ * return MapRoute(self, type, method, flon, flat, tlon, tlat,
+ * route_cb, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def name_add(self, address, double lon, double lat,
+ */
+ __pyx_t_6 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_t_7 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapRoute)), ((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 634; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __pyx_r = __pyx_t_7;
+ __pyx_t_7 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_AddTraceback("elementary.c_elementary.Map.route_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_75name_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_75name_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_address = 0;
+ double __pyx_v_lon;
+ double __pyx_v_lat;
+ PyObject *__pyx_v_name_cb = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__address,&__pyx_n_s__lon,&__pyx_n_s__lat,&__pyx_n_s__name_cb,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("name_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) > 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 NULL;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__address);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lon);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("name_add", 0, 4, 4, 1); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__lat);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("name_add", 0, 4, 4, 2); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__name_cb);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("name_add", 0, 4, 4, 3); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ 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, "name_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __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_address = values[0];
+ __pyx_v_lon = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_lon == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_lat = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_lat == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_name_cb = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("name_add", 0, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 637; __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("elementary.c_elementary.Map.name_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_74name_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_address, __pyx_v_lon, __pyx_v_lat, __pyx_v_name_cb, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":637
+ * route_cb, *args, **kwargs)
+ *
+ * def name_add(self, address, double lon, double lat, # <<<<<<<<<<<<<<
+ * name_cb, *args, **kwargs):
+ * return MapName(self, address, lon, lat, name_cb, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_74name_add(struct PyElementaryMap *__pyx_v_self, PyObject *__pyx_v_address, double __pyx_v_lon, double __pyx_v_lat, PyObject *__pyx_v_name_cb, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("name_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":639
+ * def name_add(self, address, double lon, double lat,
+ * name_cb, *args, **kwargs):
+ * return MapName(self, address, lon, lat, name_cb, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * # TODO elm_map_track_add
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(__pyx_v_lon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyFloat_FromDouble(__pyx_v_lat); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_address);
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_address);
+ __Pyx_GIVEREF(__pyx_v_address);
+ PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_name_cb);
+ PyTuple_SET_ITEM(__pyx_t_3, 4, __pyx_v_name_cb);
+ __Pyx_GIVEREF(__pyx_v_name_cb);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_1 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MapName)), ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.name_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_77callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_77callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 645; __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[58]; __pyx_lineno = 645; __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("elementary.c_elementary.Map.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_76callback_clicked_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":645
+ * # TODO elm_map_track_remove
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_76callback_clicked_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":646
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 646; __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[58]; __pyx_lineno = 646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_79callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_79callback_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_10elementary_12c_elementary_3Map_78callback_clicked_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":648
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_78callback_clicked_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":649
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 649; __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[58]; __pyx_lineno = 649; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 649; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_81callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_81callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 651; __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[58]; __pyx_lineno = 651; __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("elementary.c_elementary.Map.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_80callback_clicked_double_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":651
+ * self._callback_del("clicked", func)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_80callback_clicked_double_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":652
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ * self._callback_add("clicked,double", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 652; __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[58]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_83callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_83callback_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_10elementary_12c_elementary_3Map_82callback_clicked_double_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":654
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,double", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_82callback_clicked_double_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":655
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del("clicked,double", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 655; __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[58]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_85callback_press_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_85callback_press_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_press_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 657; __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_press_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 657; __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("elementary.c_elementary.Map.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_84callback_press_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":657
+ * self._callback_del("clicked,double", func)
+ *
+ * def callback_press_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_84callback_press_add(struct PyElementaryMap *__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_press_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":658
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ * self._callback_add("press", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 658; __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[58]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_87callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_87callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_86callback_press_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":660
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ * def callback_press_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("press", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_86callback_press_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_press_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":661
+ *
+ * def callback_press_del(self, func):
+ * self._callback_del("press", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 661; __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[58]; __pyx_lineno = 661; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 661; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_press_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_89callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_89callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 663; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 663; __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("elementary.c_elementary.Map.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_88callback_longpressed_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":663
+ * self._callback_del("press", func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_88callback_longpressed_add(struct PyElementaryMap *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":664
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ * self._callback_add("longpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 664; __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[58]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 664; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_91callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_91callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_90callback_longpressed_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":666
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("longpressed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_90callback_longpressed_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":667
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del("longpressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 667; __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[58]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_93callback_scroll_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_93callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 669; __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[58]; __pyx_lineno = 669; __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("elementary.c_elementary.Map.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_92callback_scroll_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":669
+ * self._callback_del("longpressed", func)
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_92callback_scroll_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":670
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 670; __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[58]; __pyx_lineno = 670; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scroll));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__scroll));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 670; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 670; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 670; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_95callback_scroll_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_95callback_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_10elementary_12c_elementary_3Map_94callback_scroll_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":672
+ * self._callback_add("scroll", func, *args, **kwargs)
+ *
+ * def callback_scroll_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_94callback_scroll_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":673
+ *
+ * def callback_scroll_del(self, func):
+ * self._callback_del("scroll", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 673; __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[58]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scroll));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__scroll));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 673; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_scroll_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_97callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_97callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 675; __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[58]; __pyx_lineno = 675; __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("elementary.c_elementary.Map.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_96callback_scroll_drag_start_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":675
+ * self._callback_del("scroll", func)
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_96callback_scroll_drag_start_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":676
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 676; __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[58]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_99callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_99callback_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_10elementary_12c_elementary_3Map_98callback_scroll_drag_start_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":678
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_98callback_scroll_drag_start_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":679
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 679; __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[58]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 679; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_101callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_101callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 681; __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[58]; __pyx_lineno = 681; __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("elementary.c_elementary.Map.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_100callback_scroll_drag_stop_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":681
+ * self._callback_del("scroll,drag,start", func)
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_100callback_scroll_drag_stop_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":682
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 682; __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[58]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 682; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_103callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_103callback_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_10elementary_12c_elementary_3Map_102callback_scroll_drag_stop_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":684
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_102callback_scroll_drag_stop_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":685
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ * self._callback_del("scroll,drag,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 685; __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[58]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 685; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_105callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_105callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 687; __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[58]; __pyx_lineno = 687; __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("elementary.c_elementary.Map.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_104callback_scroll_anim_start_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":687
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_104callback_scroll_anim_start_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":688
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 688; __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[58]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_107callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_107callback_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_10elementary_12c_elementary_3Map_106callback_scroll_anim_start_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":690
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_106callback_scroll_anim_start_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":691
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 691; __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[58]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 691; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_109callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_109callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[58]; __pyx_lineno = 693; __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[58]; __pyx_lineno = 693; __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("elementary.c_elementary.Map.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_108callback_scroll_anim_stop_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":693
+ * self._callback_del("scroll,anim,start", func)
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_108callback_scroll_anim_stop_add(struct PyElementaryMap *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":694
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs):
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 694; __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[58]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 694; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_111callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_111callback_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_10elementary_12c_elementary_3Map_110callback_scroll_anim_stop_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":696
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_110callback_scroll_anim_stop_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":697
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ * self._callback_del("scroll,anim,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 697; __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[58]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 697; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_113callback_zoom_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_113callback_zoom_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_zoom_start_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 699; __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_zoom_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 699; __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("elementary.c_elementary.Map.callback_zoom_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_112callback_zoom_start_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":699
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ * def callback_zoom_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("zoom,start", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_112callback_zoom_start_add(struct PyElementaryMap *__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_zoom_start_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":700
+ *
+ * def callback_zoom_start_add(self, func, *args, **kwargs):
+ * self._callback_add("zoom,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 700; __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[58]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_218));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_218));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_218));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 700; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_zoom_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_115callback_zoom_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_115callback_zoom_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_start_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_114callback_zoom_start_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":702
+ * self._callback_add("zoom,start", func, *args, **kwargs)
+ *
+ * def callback_zoom_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("zoom,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_114callback_zoom_start_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_zoom_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":703
+ *
+ * def callback_zoom_start_del(self, func):
+ * self._callback_del("zoom,start", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_stop_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 703; __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[58]; __pyx_lineno = 703; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_218));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_218));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_218));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 703; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_zoom_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_117callback_zoom_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_117callback_zoom_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_zoom_stop_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 705; __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_zoom_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 705; __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("elementary.c_elementary.Map.callback_zoom_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_116callback_zoom_stop_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":705
+ * self._callback_del("zoom,start", func)
+ *
+ * def callback_zoom_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("zoom,stop", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_116callback_zoom_stop_add(struct PyElementaryMap *__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_zoom_stop_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":706
+ *
+ * def callback_zoom_stop_add(self, func, *args, **kwargs):
+ * self._callback_add("zoom,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 706; __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[58]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_219));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_219));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_219));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 706; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_zoom_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_119callback_zoom_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_119callback_zoom_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_stop_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_118callback_zoom_stop_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":708
+ * self._callback_add("zoom,stop", func, *args, **kwargs)
+ *
+ * def callback_zoom_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("zoom,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_118callback_zoom_stop_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_zoom_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":709
+ *
+ * def callback_zoom_stop_del(self, func):
+ * self._callback_del("zoom,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_change_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 709; __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[58]; __pyx_lineno = 709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_219));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_219));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_219));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_zoom_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_121callback_zoom_change_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_121callback_zoom_change_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_change_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_zoom_change_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 711; __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_zoom_change_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 711; __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("elementary.c_elementary.Map.callback_zoom_change_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_120callback_zoom_change_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":711
+ * self._callback_del("zoom,stop", func)
+ *
+ * def callback_zoom_change_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("zoom,change", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_120callback_zoom_change_add(struct PyElementaryMap *__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_zoom_change_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":712
+ *
+ * def callback_zoom_change_add(self, func, *args, **kwargs):
+ * self._callback_add("zoom,change", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_change_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 712; __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[58]; __pyx_lineno = 712; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_220));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_220));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_220));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 712; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 712; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 712; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_zoom_change_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_123callback_zoom_change_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_123callback_zoom_change_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_change_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_122callback_zoom_change_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":714
+ * self._callback_add("zoom,change", func, *args, **kwargs)
+ *
+ * def callback_zoom_change_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("zoom,change", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_122callback_zoom_change_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_zoom_change_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":715
+ *
+ * def callback_zoom_change_del(self, func):
+ * self._callback_del("zoom,change", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_tile_load_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 715; __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[58]; __pyx_lineno = 715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_220));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_220));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_220));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_zoom_change_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_125callback_tile_load_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_125callback_tile_load_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tile_load_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_tile_load_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 717; __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_tile_load_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 717; __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("elementary.c_elementary.Map.callback_tile_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_124callback_tile_load_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":717
+ * self._callback_del("zoom,change", func)
+ *
+ * def callback_tile_load_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("tile,load", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_124callback_tile_load_add(struct PyElementaryMap *__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_tile_load_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":718
+ *
+ * def callback_tile_load_add(self, func, *args, **kwargs):
+ * self._callback_add("tile,load", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_tile_load_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 718; __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[58]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_221));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_221));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_221));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 718; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_tile_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_127callback_tile_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_127callback_tile_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tile_load_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_126callback_tile_load_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":720
+ * self._callback_add("tile,load", func, *args, **kwargs)
+ *
+ * def callback_tile_load_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("tile,load", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_126callback_tile_load_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_tile_load_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":721
+ *
+ * def callback_tile_load_del(self, func):
+ * self._callback_del("tile,load", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_tile_loaded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 721; __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[58]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_221));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_221));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_221));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 721; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_tile_load_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_129callback_tile_loaded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_129callback_tile_loaded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tile_loaded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_tile_loaded_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 723; __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_tile_loaded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 723; __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("elementary.c_elementary.Map.callback_tile_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_128callback_tile_loaded_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":723
+ * self._callback_del("tile,load", func)
+ *
+ * def callback_tile_loaded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("tile,loaded", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_128callback_tile_loaded_add(struct PyElementaryMap *__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_tile_loaded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":724
+ *
+ * def callback_tile_loaded_add(self, func, *args, **kwargs):
+ * self._callback_add("tile,loaded", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_tile_loaded_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 724; __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[58]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_222));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_222));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_222));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_tile_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_131callback_tile_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_131callback_tile_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tile_loaded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_130callback_tile_loaded_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":726
+ * self._callback_add("tile,loaded", func, *args, **kwargs)
+ *
+ * def callback_tile_loaded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("tile,loaded", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_130callback_tile_loaded_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_tile_loaded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":727
+ *
+ * def callback_tile_loaded_del(self, func):
+ * self._callback_del("tile,loaded", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_tile_loaded_fail_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 727; __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[58]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_222));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_222));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_222));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 727; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_tile_loaded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_133callback_tile_loaded_fail_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_133callback_tile_loaded_fail_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tile_loaded_fail_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_tile_loaded_fail_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 729; __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_tile_loaded_fail_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 729; __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("elementary.c_elementary.Map.callback_tile_loaded_fail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_132callback_tile_loaded_fail_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":729
+ * self._callback_del("tile,loaded", func)
+ *
+ * def callback_tile_loaded_fail_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("tile,loaded,fail", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_132callback_tile_loaded_fail_add(struct PyElementaryMap *__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_tile_loaded_fail_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":730
+ *
+ * def callback_tile_loaded_fail_add(self, func, *args, **kwargs):
+ * self._callback_add("tile,loaded,fail", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_tile_loaded_fail_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 730; __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[58]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_223));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_223));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_223));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 730; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_tile_loaded_fail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_135callback_tile_loaded_fail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_135callback_tile_loaded_fail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_tile_loaded_fail_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_134callback_tile_loaded_fail_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":732
+ * self._callback_add("tile,loaded,fail", func, *args, **kwargs)
+ *
+ * def callback_tile_loaded_fail_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("tile,loaded,fail", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_134callback_tile_loaded_fail_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_tile_loaded_fail_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":733
+ *
+ * def callback_tile_loaded_fail_del(self, func):
+ * self._callback_del("tile,loaded,fail", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_route_load_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 733; __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[58]; __pyx_lineno = 733; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_223));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_223));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_223));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 733; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_tile_loaded_fail_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_137callback_route_load_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_137callback_route_load_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_route_load_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_route_load_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 735; __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_route_load_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 735; __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("elementary.c_elementary.Map.callback_route_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_136callback_route_load_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":735
+ * self._callback_del("tile,loaded,fail", func)
+ *
+ * def callback_route_load_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("route,load", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_136callback_route_load_add(struct PyElementaryMap *__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_route_load_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":736
+ *
+ * def callback_route_load_add(self, func, *args, **kwargs):
+ * self._callback_add("route,load", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_route_load_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 736; __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[58]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_224));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_224));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_224));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_route_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_139callback_route_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_139callback_route_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_route_load_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_138callback_route_load_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":738
+ * self._callback_add("route,load", func, *args, **kwargs)
+ *
+ * def callback_route_load_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("route,load", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_138callback_route_load_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_route_load_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":739
+ *
+ * def callback_route_load_del(self, func):
+ * self._callback_del("route,load", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_route_loaded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 739; __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[58]; __pyx_lineno = 739; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_224));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_224));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_224));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __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(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_route_load_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_141callback_route_loaded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_141callback_route_loaded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_route_loaded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_route_loaded_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 741; __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_route_loaded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 741; __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("elementary.c_elementary.Map.callback_route_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_140callback_route_loaded_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":741
+ * self._callback_del("route,load", func)
+ *
+ * def callback_route_loaded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("route,loaded", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_140callback_route_loaded_add(struct PyElementaryMap *__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_route_loaded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":742
+ *
+ * def callback_route_loaded_add(self, func, *args, **kwargs):
+ * self._callback_add("route,loaded", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_route_loaded_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 742; __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[58]; __pyx_lineno = 742; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_225));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_225));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_225));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 742; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 742; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 742; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_route_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_143callback_route_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_143callback_route_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_route_loaded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_142callback_route_loaded_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":744
+ * self._callback_add("route,loaded", func, *args, **kwargs)
+ *
+ * def callback_route_loaded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("route,loaded", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_142callback_route_loaded_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_route_loaded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":745
+ *
+ * def callback_route_loaded_del(self, func):
+ * self._callback_del("route,loaded", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_route_loaded_fail_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 745; __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[58]; __pyx_lineno = 745; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_225));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_225));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_225));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 745; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_route_loaded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_145callback_route_loaded_fail_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_145callback_route_loaded_fail_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_route_loaded_fail_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_route_loaded_fail_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 747; __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_route_loaded_fail_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 747; __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("elementary.c_elementary.Map.callback_route_loaded_fail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_144callback_route_loaded_fail_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":747
+ * self._callback_del("route,loaded", func)
+ *
+ * def callback_route_loaded_fail_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("route,loaded,fail", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_144callback_route_loaded_fail_add(struct PyElementaryMap *__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_route_loaded_fail_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":748
+ *
+ * def callback_route_loaded_fail_add(self, func, *args, **kwargs):
+ * self._callback_add("route,loaded,fail", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_route_loaded_fail_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 748; __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[58]; __pyx_lineno = 748; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_226));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_226));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_226));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 748; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 748; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 748; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_route_loaded_fail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_147callback_route_loaded_fail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_147callback_route_loaded_fail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_route_loaded_fail_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_146callback_route_loaded_fail_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":750
+ * self._callback_add("route,loaded,fail", func, *args, **kwargs)
+ *
+ * def callback_route_loaded_fail_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("route,loaded,fail", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_146callback_route_loaded_fail_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_route_loaded_fail_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":751
+ *
+ * def callback_route_loaded_fail_del(self, func):
+ * self._callback_del("route,loaded,fail", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_name_load_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 751; __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[58]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_226));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_226));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_226));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 751; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_route_loaded_fail_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_149callback_name_load_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_149callback_name_load_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_name_load_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_name_load_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 753; __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_name_load_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 753; __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("elementary.c_elementary.Map.callback_name_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_148callback_name_load_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":753
+ * self._callback_del("route,loaded,fail", func)
+ *
+ * def callback_name_load_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("name,load", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_148callback_name_load_add(struct PyElementaryMap *__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_name_load_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":754
+ *
+ * def callback_name_load_add(self, func, *args, **kwargs):
+ * self._callback_add("name,load", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_name_load_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 754; __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[58]; __pyx_lineno = 754; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_227));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_227));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_227));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 754; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 754; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 754; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_name_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_151callback_name_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_151callback_name_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_name_load_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_150callback_name_load_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":756
+ * self._callback_add("name,load", func, *args, **kwargs)
+ *
+ * def callback_name_load_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("name,load", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_150callback_name_load_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_name_load_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":757
+ *
+ * def callback_name_load_del(self, func):
+ * self._callback_del("name,load", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_name_loaded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 757; __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[58]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_227));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_227));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_227));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 757; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_name_load_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_153callback_name_loaded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_153callback_name_loaded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_name_loaded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_name_loaded_add") < 0)) {__pyx_filename = __pyx_f[58]; __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_name_loaded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __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("elementary.c_elementary.Map.callback_name_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_152callback_name_loaded_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":759
+ * self._callback_del("name,load", func)
+ *
+ * def callback_name_loaded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("name,loaded", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_152callback_name_loaded_add(struct PyElementaryMap *__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_name_loaded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":760
+ *
+ * def callback_name_loaded_add(self, func, *args, **kwargs):
+ * self._callback_add("name,loaded", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_name_loaded_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 760; __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[58]; __pyx_lineno = 760; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_228));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_228));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_228));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 760; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 760; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 760; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_name_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_155callback_name_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_155callback_name_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_name_loaded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_154callback_name_loaded_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":762
+ * self._callback_add("name,loaded", func, *args, **kwargs)
+ *
+ * def callback_name_loaded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("name,loaded", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_154callback_name_loaded_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_name_loaded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":763
+ *
+ * def callback_name_loaded_del(self, func):
+ * self._callback_del("name,loaded", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_name_loaded_fail_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 763; __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[58]; __pyx_lineno = 763; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_228));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_228));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_228));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 763; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_name_loaded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_157callback_name_loaded_fail_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_157callback_name_loaded_fail_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_name_loaded_fail_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_name_loaded_fail_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 765; __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_name_loaded_fail_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 765; __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("elementary.c_elementary.Map.callback_name_loaded_fail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_156callback_name_loaded_fail_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":765
+ * self._callback_del("name,loaded", func)
+ *
+ * def callback_name_loaded_fail_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("name,loaded,fail", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_156callback_name_loaded_fail_add(struct PyElementaryMap *__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_name_loaded_fail_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":766
+ *
+ * def callback_name_loaded_fail_add(self, func, *args, **kwargs):
+ * self._callback_add("name,loaded,fail", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_name_loaded_fail_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 766; __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[58]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_229));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_229));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_229));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 766; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_name_loaded_fail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_159callback_name_loaded_fail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_159callback_name_loaded_fail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_name_loaded_fail_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_158callback_name_loaded_fail_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":768
+ * self._callback_add("name,loaded,fail", func, *args, **kwargs)
+ *
+ * def callback_name_loaded_fail_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("name,loaded,fail", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_158callback_name_loaded_fail_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_name_loaded_fail_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":769
+ *
+ * def callback_name_loaded_fail_del(self, func):
+ * self._callback_del("name,loaded,fail", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_overlay_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 769; __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[58]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_229));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_229));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_229));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 769; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_name_loaded_fail_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_161callback_overlay_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_161callback_overlay_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_overlay_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_overlay_clicked_add") < 0)) {__pyx_filename = __pyx_f[58]; __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_overlay_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __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("elementary.c_elementary.Map.callback_overlay_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_160callback_overlay_clicked_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":771
+ * self._callback_del("name,loaded,fail", func)
+ *
+ * def callback_overlay_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("overlay,clicked", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_160callback_overlay_clicked_add(struct PyElementaryMap *__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_overlay_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":772
+ *
+ * def callback_overlay_clicked_add(self, func, *args, **kwargs):
+ * self._callback_add("overlay,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_overlay_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 772; __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[58]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_230));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_230));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_230));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 772; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_overlay_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_163callback_overlay_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_163callback_overlay_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_overlay_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_162callback_overlay_clicked_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":774
+ * self._callback_add("overlay,clicked", func, *args, **kwargs)
+ *
+ * def callback_overlay_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("overlay,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_162callback_overlay_clicked_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_overlay_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":775
+ *
+ * def callback_overlay_clicked_del(self, func):
+ * self._callback_del("overlay,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_overlay_del_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 775; __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[58]; __pyx_lineno = 775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_230));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_230));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_230));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 775; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_overlay_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_165callback_overlay_del_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_165callback_overlay_del_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_overlay_del_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_overlay_del_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 777; __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_overlay_del_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 777; __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("elementary.c_elementary.Map.callback_overlay_del_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_164callback_overlay_del_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":777
+ * self._callback_del("overlay,clicked", func)
+ *
+ * def callback_overlay_del_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("overlay,del", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_164callback_overlay_del_add(struct PyElementaryMap *__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_overlay_del_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":778
+ *
+ * def callback_overlay_del_add(self, func, *args, **kwargs):
+ * self._callback_add("overlay,del", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_overlay_del_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 778; __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[58]; __pyx_lineno = 778; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_231));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_231));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_231));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 778; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 778; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 778; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_overlay_del_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_167callback_overlay_del_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_167callback_overlay_del_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_overlay_del_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_166callback_overlay_del_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":780
+ * self._callback_add("overlay,del", func, *args, **kwargs)
+ *
+ * def callback_overlay_del_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("overlay,del", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_166callback_overlay_del_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_overlay_del_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":781
+ *
+ * def callback_overlay_del_del(self, func):
+ * self._callback_del("overlay,del", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_loaded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 781; __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[58]; __pyx_lineno = 781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_231));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_231));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_231));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 781; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_overlay_del_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_169callback_loaded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_169callback_loaded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_loaded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_loaded_add") < 0)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 783; __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_loaded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[58]; __pyx_lineno = 783; __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("elementary.c_elementary.Map.callback_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_168callback_loaded_add(((struct PyElementaryMap *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":783
+ * self._callback_del("overlay,del", func)
+ *
+ * def callback_loaded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("loaded", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_168callback_loaded_add(struct PyElementaryMap *__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_loaded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":784
+ *
+ * def callback_loaded_add(self, func, *args, **kwargs):
+ * self._callback_add("loaded", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_loaded_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 784; __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[58]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__loaded));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__loaded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__loaded));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 784; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Map.callback_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_171callback_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_3Map_171callback_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_loaded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_3Map_170callback_loaded_del(((struct PyElementaryMap *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":786
+ * self._callback_add("loaded", func, *args, **kwargs)
+ *
+ * def callback_loaded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("loaded", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_3Map_170callback_loaded_del(struct PyElementaryMap *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_loaded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":787
+ *
+ * def callback_loaded_del(self, func):
+ * self._callback_del("loaded", func) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 787; __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[58]; __pyx_lineno = 787; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__loaded));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__loaded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__loaded));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 787; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Map.callback_loaded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 30; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[59]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf___init__(((struct PyElementaryMapbuf *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":30
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_mapbuf_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Mapbuf___init__(struct PyElementaryMapbuf *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":31
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_mapbuf_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 31; __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[59]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":32
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_mapbuf_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def enabled_set(self, enabled):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Mapbuf *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_mapbuf_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Mapbuf.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_3enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Mapbuf_2enabled_set[] = "Enable or disable the map.\n\n @param enabled: A boolean to set if the map should me enabled.\n @type enabled: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_3enabled_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("enabled_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_2enabled_set(((struct PyElementaryMapbuf *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":34
+ * self._set_obj(elm_mapbuf_add(parent.obj))
+ *
+ * def enabled_set(self, enabled): # <<<<<<<<<<<<<<
+ * """Enable or disable the map.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_2enabled_set(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("enabled_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":41
+ *
+ * """
+ * elm_mapbuf_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def enabled_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_mapbuf_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.enabled_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_5enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Mapbuf_4enabled_get[] = "Get the enabled state of the map.\n\n @return: A boolean to indicating if the map is enabled\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_5enabled_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("enabled_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_4enabled_get(((struct PyElementaryMapbuf *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":43
+ * elm_mapbuf_enabled_set(self.obj, enabled)
+ *
+ * def enabled_get(self): # <<<<<<<<<<<<<<
+ * """Get the enabled state of the map.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_4enabled_get(struct PyElementaryMapbuf *__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("enabled_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":50
+ *
+ * """
+ * return bool(elm_mapbuf_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_mapbuf_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Mapbuf.enabled_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_7enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_7enabled_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_7enabled___get__(((struct PyElementaryMapbuf *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":58
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_mapbuf_enabled_get(self.obj))
+ * def __set__(self, enabled):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_7enabled___get__(struct PyElementaryMapbuf *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":59
+ * """
+ * def __get__(self):
+ * return bool(elm_mapbuf_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, enabled):
+ * elm_mapbuf_enabled_set(self.obj, enabled)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_mapbuf_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Mapbuf.enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_7enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_7enabled_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_7enabled_2__set__(((struct PyElementaryMapbuf *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":60
+ * def __get__(self):
+ * return bool(elm_mapbuf_enabled_get(self.obj))
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_mapbuf_enabled_set(self.obj, enabled)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Mapbuf_7enabled_2__set__(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":61
+ * return bool(elm_mapbuf_enabled_get(self.obj))
+ * def __set__(self, enabled):
+ * elm_mapbuf_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ *
+ * def smooth_set(self, smooth):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_mapbuf_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_7smooth_set(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Mapbuf_6smooth_set[] = "Enable or disable smooth map rendering.\n\n This sets smoothing for map rendering. If the object is a type that has\n its own smoothing settings, then both the smooth settings for this object\n and the map must be turned off.\n\n By default smooth maps are enabled.\n\n @param smooth: A boolean to set if the map should me enabled.\n @type smooth: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_7smooth_set(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("smooth_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth_set(((struct PyElementaryMapbuf *)__pyx_v_self), ((PyObject *)__pyx_v_smooth));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":63
+ * elm_mapbuf_enabled_set(self.obj, enabled)
+ *
+ * def smooth_set(self, smooth): # <<<<<<<<<<<<<<
+ * """Enable or disable smooth map rendering.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth_set(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("smooth_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":76
+ *
+ * """
+ * elm_mapbuf_smooth_set(self.obj, smooth) # <<<<<<<<<<<<<<
+ *
+ * def smooth_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_smooth); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_mapbuf_smooth_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.smooth_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_9smooth_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Mapbuf_8smooth_get[] = "Get the smooth state of the map.\n\n @return: A boolean to indicating if the map will use smooth rendering\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_9smooth_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("smooth_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_8smooth_get(((struct PyElementaryMapbuf *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":78
+ * elm_mapbuf_smooth_set(self.obj, smooth)
+ *
+ * def smooth_get(self): # <<<<<<<<<<<<<<
+ * """Get the smooth state of the map.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_8smooth_get(struct PyElementaryMapbuf *__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("smooth_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":85
+ *
+ * """
+ * return bool(elm_mapbuf_smooth_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property smooth:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_mapbuf_smooth_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Mapbuf.smooth_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_6smooth_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_6smooth_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth___get__(((struct PyElementaryMapbuf *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":99
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_mapbuf_smooth_get(self.obj))
+ * def __set__(self, smooth):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth___get__(struct PyElementaryMapbuf *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":100
+ * """
+ * def __get__(self):
+ * return bool(elm_mapbuf_smooth_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, smooth):
+ * elm_mapbuf_smooth_set(self.obj, smooth)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_mapbuf_smooth_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Mapbuf.smooth.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_6smooth_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_6smooth_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth_2__set__(((struct PyElementaryMapbuf *)__pyx_v_self), ((PyObject *)__pyx_v_smooth));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":101
+ * def __get__(self):
+ * return bool(elm_mapbuf_smooth_get(self.obj))
+ * def __set__(self, smooth): # <<<<<<<<<<<<<<
+ * elm_mapbuf_smooth_set(self.obj, smooth)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Mapbuf_6smooth_2__set__(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_smooth) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":102
+ * return bool(elm_mapbuf_smooth_get(self.obj))
+ * def __set__(self, smooth):
+ * elm_mapbuf_smooth_set(self.obj, smooth) # <<<<<<<<<<<<<<
+ *
+ * def alpha_set(self, alpha):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_smooth); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_mapbuf_smooth_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.smooth.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_11alpha_set(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Mapbuf_10alpha_set[] = "Set or unset alpha flag for map rendering.\n\n @param alpha: A boolean to set if the map should use transparency\n @type alpha: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_11alpha_set(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("alpha_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_10alpha_set(((struct PyElementaryMapbuf *)__pyx_v_self), ((PyObject *)__pyx_v_alpha));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":104
+ * elm_mapbuf_smooth_set(self.obj, smooth)
+ *
+ * def alpha_set(self, alpha): # <<<<<<<<<<<<<<
+ * """Set or unset alpha flag for map rendering.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_10alpha_set(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("alpha_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":111
+ *
+ * """
+ * elm_mapbuf_alpha_set(self.obj, alpha) # <<<<<<<<<<<<<<
+ *
+ * def alpha_get(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_alpha); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_mapbuf_alpha_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.alpha_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_13alpha_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_6Mapbuf_12alpha_get[] = "Get the alpha state of the map.\n\n @return: A boolean to indicating if the alpha is enabled\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_13alpha_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("alpha_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_12alpha_get(((struct PyElementaryMapbuf *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":113
+ * elm_mapbuf_alpha_set(self.obj, alpha)
+ *
+ * def alpha_get(self): # <<<<<<<<<<<<<<
+ * """Get the alpha state of the map.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_12alpha_get(struct PyElementaryMapbuf *__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("alpha_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":120
+ *
+ * """
+ * return bool(elm_mapbuf_alpha_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property alpha:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_mapbuf_alpha_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Mapbuf.alpha_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_5alpha_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_6Mapbuf_5alpha_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_5alpha___get__(((struct PyElementaryMapbuf *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":128
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_mapbuf_alpha_get(self.obj))
+ * def __set__(self, alpha):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_6Mapbuf_5alpha___get__(struct PyElementaryMapbuf *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":129
+ * """
+ * def __get__(self):
+ * return bool(elm_mapbuf_alpha_get(self.obj)) # <<<<<<<<<<<<<<
+ * def __set__(self, alpha):
+ * elm_mapbuf_alpha_set(self.obj, alpha)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_mapbuf_alpha_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Mapbuf.alpha.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_5alpha_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_6Mapbuf_5alpha_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_6Mapbuf_5alpha_2__set__(((struct PyElementaryMapbuf *)__pyx_v_self), ((PyObject *)__pyx_v_alpha));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":130
+ * def __get__(self):
+ * return bool(elm_mapbuf_alpha_get(self.obj))
+ * def __set__(self, alpha): # <<<<<<<<<<<<<<
+ * elm_mapbuf_alpha_set(self.obj, alpha)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_6Mapbuf_5alpha_2__set__(struct PyElementaryMapbuf *__pyx_v_self, PyObject *__pyx_v_alpha) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":131
+ * return bool(elm_mapbuf_alpha_get(self.obj))
+ * def __set__(self, alpha):
+ * elm_mapbuf_alpha_set(self.obj, alpha) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_alpha); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_mapbuf_alpha_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Mapbuf.alpha.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":19
+ * #
+ *
+ * cdef Eina_Bool _multibuttonentry_filter_callback(Evas_Object *obj, const_char_ptr item_label, void *item_data, void *data) with gil: # <<<<<<<<<<<<<<
+ * try:
+ * (mbe, callback, a, ka) = <object>data
+ */
+
+ static Eina_Bool __pyx_f_10elementary_12c_elementary__multibuttonentry_filter_callback(CYTHON_UNUSED Evas_Object *__pyx_v_obj, const char * __pyx_v_item_label, CYTHON_UNUSED void *__pyx_v_item_data, void *__pyx_v_data) {
+ PyObject *__pyx_v_mbe = NULL;
+ PyObject *__pyx_v_callback = NULL;
+ PyObject *__pyx_v_a = NULL;
+ PyObject *__pyx_v_ka = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ Eina_Bool __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *(*__pyx_t_9)(PyObject *);
+ int __pyx_t_10;
+ int __pyx_t_11;
+ 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("_multibuttonentry_filter_callback", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":20
+ *
+ * cdef Eina_Bool _multibuttonentry_filter_callback(Evas_Object *obj, const_char_ptr item_label, void *item_data, void *data) with gil:
+ * try: # <<<<<<<<<<<<<<
+ * (mbe, callback, a, ka) = <object>data
+ * ret = callback(mbe, item_label, *a, **ka)
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_1);
+ __Pyx_XGOTREF(__pyx_t_2);
+ __Pyx_XGOTREF(__pyx_t_3);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":21
+ * cdef Eina_Bool _multibuttonentry_filter_callback(Evas_Object *obj, const_char_ptr item_label, void *item_data, void *data) with gil:
+ * try:
+ * (mbe, callback, a, ka) = <object>data # <<<<<<<<<<<<<<
+ * ret = callback(mbe, item_label, *a, **ka)
+ * if isinstance(ret, str):
+ */
+ if ((likely(PyTuple_CheckExact(((PyObject *)__pyx_v_data)))) || (PyList_CheckExact(((PyObject *)__pyx_v_data)))) {
+ PyObject* sequence = ((PyObject *)__pyx_v_data);
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 4)) {
+ if (PyTuple_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[60]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1);
+ __pyx_t_6 = PyTuple_GET_ITEM(sequence, 2);
+ __pyx_t_7 = PyTuple_GET_ITEM(sequence, 3);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 4)) {
+ if (PyList_GET_SIZE(sequence) > 4) __Pyx_RaiseTooManyValuesError(4);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[60]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 1);
+ __pyx_t_6 = PyList_GET_ITEM(sequence, 2);
+ __pyx_t_7 = PyList_GET_ITEM(sequence, 3);
+ }
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_t_5);
+ __Pyx_INCREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_t_7);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_8 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext;
+ index = 0; __pyx_t_4 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_4)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ index = 1; __pyx_t_5 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_5)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ index = 2; __pyx_t_6 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_6)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_6);
+ index = 3; __pyx_t_7 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_7)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_7);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 4) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L12_unpacking_done;
+ __pyx_L11_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[60]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L12_unpacking_done:;
+ }
+ __pyx_v_mbe = __pyx_t_4;
+ __pyx_t_4 = 0;
+ __pyx_v_callback = __pyx_t_5;
+ __pyx_t_5 = 0;
+ __pyx_v_a = __pyx_t_6;
+ __pyx_t_6 = 0;
+ __pyx_v_ka = __pyx_t_7;
+ __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":22
+ * try:
+ * (mbe, callback, a, ka) = <object>data
+ * ret = callback(mbe, item_label, *a, **ka) # <<<<<<<<<<<<<<
+ * if isinstance(ret, str):
+ * # TODO this is BROKEN! the doc say should work, but it's a const char* :/
+ */
+ __pyx_t_7 = PyBytes_FromString(__pyx_v_item_label); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_v_mbe);
+ PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_mbe);
+ __Pyx_GIVEREF(__pyx_v_mbe);
+ PyTuple_SET_ITEM(__pyx_t_6, 1, ((PyObject *)__pyx_t_7));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_7));
+ __pyx_t_7 = 0;
+ __pyx_t_7 = PySequence_Tuple(__pyx_v_a); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ __pyx_t_5 = PyNumber_Add(((PyObject *)__pyx_t_6), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ if (unlikely(__pyx_v_ka == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_ka))) {
+ __pyx_t_7 = __pyx_v_ka;
+ __Pyx_INCREF(__pyx_t_7);
+ } else {
+ __pyx_t_7 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_ka, NULL); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_7));
+ }
+ __pyx_t_6 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __pyx_v_ret = __pyx_t_6;
+ __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":23
+ * (mbe, callback, a, ka) = <object>data
+ * ret = callback(mbe, item_label, *a, **ka)
+ * if isinstance(ret, str): # <<<<<<<<<<<<<<
+ * # TODO this is BROKEN! the doc say should work, but it's a const char* :/
+ * # free(<void*>item_label)
+ */
+ __pyx_t_6 = ((PyObject *)((PyObject*)(&PyString_Type)));
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_t_10 = __Pyx_TypeCheck(__pyx_v_ret, __pyx_t_6);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (__pyx_t_10) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":27
+ * # free(<void*>item_label)
+ * # item_label = strdup(ret)
+ * return 1 # <<<<<<<<<<<<<<
+ * elif ret:
+ * return 1
+ */
+ __pyx_r = 1;
+ goto __pyx_L7_try_return;
+ goto __pyx_L13;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":28
+ * # item_label = strdup(ret)
+ * return 1
+ * elif ret: # <<<<<<<<<<<<<<
+ * return 1
+ * else:
+ */
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_ret); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ if (__pyx_t_10) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":29
+ * return 1
+ * elif ret:
+ * return 1 # <<<<<<<<<<<<<<
+ * else:
+ * return 0
+ */
+ __pyx_r = 1;
+ goto __pyx_L7_try_return;
+ goto __pyx_L13;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":31
+ * return 1
+ * else:
+ * return 0 # <<<<<<<<<<<<<<
+ * except Exception, e:
+ * traceback.print_exc()
+ */
+ __pyx_r = 0;
+ goto __pyx_L7_try_return;
+ }
+ __pyx_L13:;
+ }
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L10_try_end;
+ __pyx_L7_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L3_error:;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":32
+ * else:
+ * return 0
+ * except Exception, e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ *
+ */
+ __pyx_t_11 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_11) {
+ __Pyx_AddTraceback("elementary.c_elementary._multibuttonentry_filter_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_7, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(__pyx_t_7);
+ __pyx_v_e = __pyx_t_7;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":33
+ * return 0
+ * except Exception, e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ *
+ * cdef enum Elm_MultiButtonEntry_Item_Insert_Kind:
+ */
+ __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_8 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_4 = PyObject_Call(__pyx_t_8, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ goto __pyx_L4_exception_handled;
+ }
+ __pyx_L5_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L1_error;
+ __pyx_L4_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ __pyx_L10_try_end:;
+ }
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __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_WriteUnraisable("elementary.c_elementary._multibuttonentry_filter_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_mbe);
+ __Pyx_XDECREF(__pyx_v_callback);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_kind = 0;
+ struct PyEvasObject *__pyx_v_mbe = 0;
+ PyObject *__pyx_v_label = 0;
+ struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_before_after = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__kind,&__pyx_n_s__mbe,&__pyx_n_s__label,&__pyx_n_s__before_after,&__pyx_n_s__callback,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ __pyx_v_kargs = PyDict_New(); if (unlikely(!__pyx_v_kargs)) return -1;
+ __Pyx_GOTREF(__pyx_v_kargs);
+ if (PyTuple_GET_SIZE(__pyx_args) > 5) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 5, PyTuple_GET_SIZE(__pyx_args));
+ if (unlikely(!__pyx_v_args)) {
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ }
+ __Pyx_GOTREF(__pyx_v_args);
+ } else {
+ __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
+ }
+ {
+ PyObject* values[5] = {0,0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":46
+ *
+ * def __init__(self, kind, evasObject mbe, label,
+ * MultiButtonEntryItem before_after = None, # <<<<<<<<<<<<<<
+ * callback = None, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL
+ */
+ values[3] = (PyObject *)((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)Py_None);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":47
+ * def __init__(self, kind, evasObject mbe, label,
+ * MultiButtonEntryItem before_after = None,
+ * callback = None, *args, **kargs): # <<<<<<<<<<<<<<
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ */
+ 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) {
+ default:
+ 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;
+ }
+ kw_args = PyDict_Size(__pyx_kwds);
+ switch (pos_args) {
+ case 0:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__kind);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__mbe);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 5, 1); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 5, 2); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before_after);
+ if (value) { values[3] = value; kw_args--; }
+ }
+ case 4:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[4] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 5) ? pos_args : 5;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kargs, values, used_pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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);
+ values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ case 2:
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_kind = values[0];
+ __pyx_v_mbe = ((struct PyEvasObject *)values[1]);
+ __pyx_v_label = values[2];
+ __pyx_v_before_after = ((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)values[3]);
+ __pyx_v_callback = values[4];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 3, 5, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kargs); __pyx_v_kargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_mbe), __pyx_ptype_4evas_6c_evas_Object, 1, "mbe", 0))) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_before_after), __pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem, 1, "before_after", 0))) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem___init__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self), __pyx_v_kind, __pyx_v_mbe, __pyx_v_label, __pyx_v_before_after, __pyx_v_callback, __pyx_v_args, __pyx_v_kargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":45
+ * """An item for the MultiButtonEntry widget."""
+ *
+ * def __init__(self, kind, evasObject mbe, label, # <<<<<<<<<<<<<<
+ * MultiButtonEntryItem before_after = None,
+ * callback = None, *args, **kargs):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem___init__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self, PyObject *__pyx_v_kind, struct PyEvasObject *__pyx_v_mbe, PyObject *__pyx_v_label, struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_before_after, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kargs) {
+ Evas_Smart_Cb __pyx_v_cb;
+ Elm_Object_Item *__pyx_v_item;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":48
+ * MultiButtonEntryItem before_after = None,
+ * callback = None, *args, **kargs):
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ *
+ * if callback:
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":50
+ * cdef Evas_Smart_Cb cb = NULL
+ *
+ * if callback: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_callback); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":51
+ *
+ * if callback:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_1);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":52
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_232), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 52; __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[60]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":53
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * self.params = (callback, args, kargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":55
+ * cb = _object_item_callback
+ *
+ * self.params = (callback, args, kargs) # <<<<<<<<<<<<<<
+ *
+ * if kind == ELM_MULTIBUTTONENTRY_INSERT_PREPEND:
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":57
+ * self.params = (callback, args, kargs)
+ *
+ * if kind == ELM_MULTIBUTTONENTRY_INSERT_PREPEND: # <<<<<<<<<<<<<<
+ * item = elm_multibuttonentry_item_prepend(mbe.obj,
+ * _cfruni(label), cb, <void*>self)
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_PREPEND); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_3, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":59
+ * if kind == ELM_MULTIBUTTONENTRY_INSERT_PREPEND:
+ * item = elm_multibuttonentry_item_prepend(mbe.obj,
+ * _cfruni(label), cb, <void*>self) # <<<<<<<<<<<<<<
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_APPEND:
+ * item = elm_multibuttonentry_item_append(mbe.obj,
+ */
+ __pyx_v_item = elm_multibuttonentry_item_prepend(__pyx_v_mbe->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":60
+ * item = elm_multibuttonentry_item_prepend(mbe.obj,
+ * _cfruni(label), cb, <void*>self)
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_APPEND: # <<<<<<<<<<<<<<
+ * item = elm_multibuttonentry_item_append(mbe.obj,
+ * _cfruni(label), cb, <void*>self)
+ */
+ __pyx_t_2 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_APPEND); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_2, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":62
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_APPEND:
+ * item = elm_multibuttonentry_item_append(mbe.obj,
+ * _cfruni(label), cb, <void*>self) # <<<<<<<<<<<<<<
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_BEFORE:
+ * item = elm_multibuttonentry_item_insert_before(mbe.obj,
+ */
+ __pyx_v_item = elm_multibuttonentry_item_append(__pyx_v_mbe->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":63
+ * item = elm_multibuttonentry_item_append(mbe.obj,
+ * _cfruni(label), cb, <void*>self)
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_BEFORE: # <<<<<<<<<<<<<<
+ * item = elm_multibuttonentry_item_insert_before(mbe.obj,
+ * before_after.item, _cfruni(label), cb, <void*>self)
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_BEFORE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_3, Py_EQ); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":65
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_BEFORE:
+ * item = elm_multibuttonentry_item_insert_before(mbe.obj,
+ * before_after.item, _cfruni(label), cb, <void*>self) # <<<<<<<<<<<<<<
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_AFTER:
+ * item = elm_multibuttonentry_item_insert_after(mbe.obj,
+ */
+ __pyx_v_item = elm_multibuttonentry_item_insert_before(__pyx_v_mbe->obj, __pyx_v_before_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":66
+ * item = elm_multibuttonentry_item_insert_before(mbe.obj,
+ * before_after.item, _cfruni(label), cb, <void*>self)
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_AFTER: # <<<<<<<<<<<<<<
+ * item = elm_multibuttonentry_item_insert_after(mbe.obj,
+ * before_after.item, _cfruni(label), cb, <void*>self)
+ */
+ __pyx_t_2 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_AFTER); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_RichCompare(__pyx_v_kind, __pyx_t_2, Py_EQ); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":68
+ * elif kind == ELM_MULTIBUTTONENTRY_INSERT_AFTER:
+ * item = elm_multibuttonentry_item_insert_after(mbe.obj,
+ * before_after.item, _cfruni(label), cb, <void*>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_multibuttonentry_item_insert_after(__pyx_v_mbe->obj, __pyx_v_before_after->__pyx_base.item, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":70
+ * before_after.item, _cfruni(label), cb, <void*>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":71
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L6;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":73
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L6:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_3__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_3__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_2__str__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":75
+ * Py_DECREF(self)
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return ("%s(label=%r, callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), self.params[0], self.params[1], self.params[2])
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_2__str__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":76
+ *
+ * def __str__(self):
+ * return ("%s(label=%r, callback=%r, args=%r, kargs=%s)") % \ # <<<<<<<<<<<<<<
+ * (self.__class__.__name__, self.text_get(), self.params[0], self.params[1], self.params[2])
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":77
+ * def __str__(self):
+ * return ("%s(label=%r, callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), self.params[0], self.params[1], self.params[2]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_4) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyTuple_New(5); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ 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_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_5 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_233), ((PyObject *)__pyx_t_6)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_5__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_5__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4__repr__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":79
+ * (self.__class__.__name__, self.text_get(), self.params[0], self.params[1], self.params[2])
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "label=%r, callback=%r, args=%r, kargs=%s)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4__repr__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":80
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, " # <<<<<<<<<<<<<<
+ * "label=%r, callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, <unsigned long><void *>self,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":82
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "label=%r, callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, <unsigned long><void *>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), self.params[0], self.params[1], self.params[2])
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":83
+ * "label=%r, callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, <unsigned long><void *>self,
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item, # <<<<<<<<<<<<<<
+ * self.text_get(), self.params[0], self.params[1], self.params[2])
+ *
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":84
+ * (self.__class__.__name__, <unsigned long><void *>self,
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), self.params[0], self.params[1], self.params[2]) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ __pyx_t_5 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__text_get); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_6 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_7) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_t_8 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_8) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __pyx_t_9 = PyTuple_New(8); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_9, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_9, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_9, 4, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_9, 5, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_9, 6, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ PyTuple_SET_ITEM(__pyx_t_9, 7, __pyx_t_8);
+ __Pyx_GIVEREF(__pyx_t_8);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_8 = 0;
+ __pyx_t_8 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_234), ((PyObject *)__pyx_t_9)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ __Pyx_DECREF(((PyObject *)__pyx_t_9)); __pyx_t_9 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_8);
+ __pyx_t_8 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_7selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_7selected_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_10elementary_12c_elementary_20MultiButtonEntryItem_6selected_set(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":86
+ * self.text_get(), self.params[0], self.params[1], self.params[2])
+ *
+ * def selected_set(self, selected): # <<<<<<<<<<<<<<
+ * elm_multibuttonentry_item_selected_set(self.item, bool(selected))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_6selected_set(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":87
+ *
+ * def selected_set(self, selected):
+ * elm_multibuttonentry_item_selected_set(self.item, bool(selected)) # <<<<<<<<<<<<<<
+ *
+ * def selected_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_selected);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_selected);
+ __Pyx_GIVEREF(__pyx_v_selected);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_multibuttonentry_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_9selected_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_9selected_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_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_get(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":89
+ * elm_multibuttonentry_item_selected_set(self.item, bool(selected))
+ *
+ * def selected_get(self): # <<<<<<<<<<<<<<
+ * return bool(elm_multibuttonentry_item_selected_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_get(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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("selected_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":90
+ *
+ * def selected_get(self):
+ * return bool(elm_multibuttonentry_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_multibuttonentry_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.selected_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected___get__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":93
+ *
+ * property selected:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected___get__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":94
+ * property selected:
+ * def __get__(self):
+ * return self.selected_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.selected_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 94; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_2__set__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":95
+ * def __get__(self):
+ * return self.selected_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.selected_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_2__set__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":96
+ * return self.selected_get()
+ * def __set__(self, value):
+ * self.selected_set(value) # <<<<<<<<<<<<<<
+ *
+ * def prev_get(self):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntryItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_11prev_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_11prev_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_10elementary_12c_elementary_20MultiButtonEntryItem_10prev_get(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":98
+ * self.selected_set(value)
+ *
+ * def prev_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_multibuttonentry_item_prev_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_10prev_get(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":99
+ *
+ * def prev_get(self):
+ * return _object_item_to_python(elm_multibuttonentry_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_multibuttonentry_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.prev_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":102
+ *
+ * property prev:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.prev_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":103
+ * property prev:
+ * def __get__(self):
+ * return self.prev_get() # <<<<<<<<<<<<<<
+ *
+ * def next_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__prev_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 103; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_13next_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_13next_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_10elementary_12c_elementary_20MultiButtonEntryItem_12next_get(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":105
+ * return self.prev_get()
+ *
+ * def next_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_multibuttonentry_item_next_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_12next_get(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":106
+ *
+ * def next_get(self):
+ * return _object_item_to_python(elm_multibuttonentry_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_multibuttonentry_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 106; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.next_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":109
+ *
+ * property next:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.next_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_20MultiButtonEntryItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":110
+ * property next:
+ * def __get__(self):
+ * return self.next_get() # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__next_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 110; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntryItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 134; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry___init__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":134
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_multibuttonentry_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry___init__(struct PyElementaryMultiButtonEntry *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":135
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_multibuttonentry_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 135; __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[60]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":136
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_multibuttonentry_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def entry_get(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntry *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_multibuttonentry_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.MultiButtonEntry.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_3entry_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16MultiButtonEntry_2entry_get[] = "Get the entry of the multibuttonentry object\n\n @return: The child entry\n @rtype: Entry\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_3entry_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("entry_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_2entry_get(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":138
+ * self._set_obj(elm_multibuttonentry_add(parent.obj))
+ *
+ * def entry_get(self): # <<<<<<<<<<<<<<
+ * """Get the entry of the multibuttonentry object
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_2entry_get(struct PyElementaryMultiButtonEntry *__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("entry_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":145
+ *
+ * """
+ * return Object_from_instance(elm_multibuttonentry_entry_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property entry:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_multibuttonentry_entry_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.entry_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5entry_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5entry_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_5entry___get__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":153
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.entry_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_5entry___get__(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":154
+ * """
+ * def __get__(self):
+ * return self.entry_get() # <<<<<<<<<<<<<<
+ *
+ * def expanded_set(self, enabled):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__entry_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 154; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 154; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.entry.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5expanded_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16MultiButtonEntry_4expanded_set[] = "Set/Unset the multibuttonentry to expanded state.\n\n In expanded state, the complete entry will be displayed.\n Otherwise, only single line of the entry will be displayed.\n\n @param enabled: A boolean to set if the entry should be expanded\n @type enabled: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5expanded_set(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expanded_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_4expanded_set(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":156
+ * return self.entry_get()
+ *
+ * def expanded_set(self, enabled): # <<<<<<<<<<<<<<
+ * """Set/Unset the multibuttonentry to expanded state.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_4expanded_set(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ Eina_Bool __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("expanded_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":166
+ *
+ * """
+ * elm_multibuttonentry_expanded_set(self.obj, bool(enabled)) # <<<<<<<<<<<<<<
+ *
+ * def expanded_get(self):
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_enabled);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_enabled);
+ __Pyx_GIVEREF(__pyx_v_enabled);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_t_2); if (unlikely((__pyx_t_3 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ elm_multibuttonentry_expanded_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_3);
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.expanded_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_7expanded_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_16MultiButtonEntry_6expanded_get[] = "Get the value of expanded state.\n In expanded state, the complete entry will be displayed.\n Otherwise, only single line of the entry will be displayed.\n\n @return: A boolean to indicating if the entry is expanded\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_7expanded_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("expanded_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_6expanded_get(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":168
+ * elm_multibuttonentry_expanded_set(self.obj, bool(enabled))
+ *
+ * def expanded_get(self): # <<<<<<<<<<<<<<
+ * """Get the value of expanded state.
+ * In expanded state, the complete entry will be displayed.
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_6expanded_get(struct PyElementaryMultiButtonEntry *__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("expanded_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":177
+ *
+ * """
+ * return bool(elm_multibuttonentry_expanded_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property expanded:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_multibuttonentry_expanded_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.expanded_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_8expanded_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_8expanded_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8expanded___get__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":185
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.expanded_get()
+ * def __set__(self, value):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8expanded___get__(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":186
+ * """
+ * def __get__(self):
+ * return self.expanded_get() # <<<<<<<<<<<<<<
+ * def __set__(self, value):
+ * self.expanded_set(value)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__expanded_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 186; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.expanded.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_8expanded_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_8expanded_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8expanded_2__set__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":187
+ * def __get__(self):
+ * return self.expanded_get()
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * self.expanded_set(value)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8expanded_2__set__(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __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("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":188
+ * return self.expanded_get()
+ * def __set__(self, value):
+ * self.expanded_set(value) # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__expanded_set); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_value);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_value);
+ __Pyx_GIVEREF(__pyx_v_value);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.expanded.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_9item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_9item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_prepend (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) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, 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);
+ }
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":190
+ * self.expanded_set(value)
+ *
+ * def item_prepend(self, label, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_PREPEND,
+ * self, label, None, func, *args, **kwargs)
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_prepend") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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_label = values[0];
+ __pyx_v_func = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_prepend", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 190; __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("elementary.c_elementary.MultiButtonEntry.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8item_prepend(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_label, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_8item_prepend(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_label, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":191
+ *
+ * def item_prepend(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_PREPEND, # <<<<<<<<<<<<<<
+ * self, label, None, func, *args, **kwargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_PREPEND); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":192
+ * def item_prepend(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_PREPEND,
+ * self, label, None, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 3, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":191
+ *
+ * def item_prepend(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_PREPEND, # <<<<<<<<<<<<<<
+ * self, label, None, func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":192
+ * def item_prepend(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_PREPEND,
+ * self, label, None, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_11item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_11item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (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) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, 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);
+ }
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":194
+ * self, label, None, func, *args, **kwargs)
+ *
+ * def item_append(self, label, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_APPEND,
+ * self, label, None, func, *args, **kwargs)
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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_label = values[0];
+ __pyx_v_func = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_append", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 194; __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("elementary.c_elementary.MultiButtonEntry.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_10item_append(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_label, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_10item_append(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_label, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":195
+ *
+ * def item_append(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_APPEND, # <<<<<<<<<<<<<<
+ * self, label, None, func, *args, **kwargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_APPEND); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":196
+ * def item_append(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_APPEND,
+ * self, label, None, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(Py_None);
+ PyTuple_SET_ITEM(__pyx_t_2, 3, Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":195
+ *
+ * def item_append(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_APPEND, # <<<<<<<<<<<<<<
+ * self, label, None, func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":196
+ * def item_append(self, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_APPEND,
+ * self, label, None, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_13item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_13item_insert_before(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_before = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__before,&__pyx_n_s__label,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_before (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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":198
+ * self, label, None, func, *args, **kwargs)
+ *
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_BEFORE,
+ * self, label, before, func, *args, **kwargs)
+ */
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__before);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 3, 1); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 198; __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)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_insert_before") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_before = ((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_before", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 198; __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("elementary.c_elementary.MultiButtonEntry.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_before), __pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem, 1, "before", 0))) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_12item_insert_before(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_before, __pyx_v_label, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_12item_insert_before(struct PyElementaryMultiButtonEntry *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_before, PyObject *__pyx_v_label, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_before", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":199
+ *
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_BEFORE, # <<<<<<<<<<<<<<
+ * self, label, before, func, *args, **kwargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_BEFORE); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":200
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_BEFORE,
+ * self, label, before, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_before));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_before));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_before));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":199
+ *
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_BEFORE, # <<<<<<<<<<<<<<
+ * self, label, before, func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":200
+ * def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_BEFORE,
+ * self, label, before, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.item_insert_before", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_15item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_15item_insert_after(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_after = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__after,&__pyx_n_s__label,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_after (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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":202
+ * self, label, before, func, *args, **kwargs)
+ *
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_AFTER,
+ * self, label, after, func, *args, **kwargs)
+ */
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__after);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 3, 1); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 202; __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)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_insert_after") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ case 1:
+ case 0:
+ goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_after = ((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_after", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 202; __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("elementary.c_elementary.MultiButtonEntry.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_after), __pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem, 1, "after", 0))) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_14item_insert_after(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_after, __pyx_v_label, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_14item_insert_after(struct PyElementaryMultiButtonEntry *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *__pyx_v_after, PyObject *__pyx_v_label, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_insert_after", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":203
+ *
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_AFTER, # <<<<<<<<<<<<<<
+ * self, label, after, func, *args, **kwargs)
+ *
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_e_10elementary_12c_elementary_ELM_MULTIBUTTONENTRY_INSERT_AFTER); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":204
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_AFTER,
+ * self, label, after, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def items_get(self):
+ */
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_after));
+ PyTuple_SET_ITEM(__pyx_t_2, 3, ((PyObject *)__pyx_v_after));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_after));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":203
+ *
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_AFTER, # <<<<<<<<<<<<<<
+ * self, label, after, func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_1));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":204
+ * def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ * return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_AFTER,
+ * self, label, after, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def items_get(self):
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.item_insert_after", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_17items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_17items_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("items_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_16items_get(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":206
+ * self, label, after, func, *args, **kwargs)
+ *
+ * def items_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_list_to_python(elm_multibuttonentry_items_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_16items_get(struct PyElementaryMultiButtonEntry *__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("items_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":207
+ *
+ * def items_get(self):
+ * return _object_item_list_to_python(elm_multibuttonentry_items_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_multibuttonentry_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.items_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_5items___get__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":210
+ *
+ * property items:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.items_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_5items___get__(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":211
+ * property items:
+ * def __get__(self):
+ * return self.items_get() # <<<<<<<<<<<<<<
+ *
+ * def first_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__items_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 211; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_19first_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_19first_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_10elementary_12c_elementary_16MultiButtonEntry_18first_item_get(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":213
+ * return self.items_get()
+ *
+ * def first_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_multibuttonentry_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_18first_item_get(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":214
+ *
+ * def first_item_get(self):
+ * return _object_item_to_python(elm_multibuttonentry_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_multibuttonentry_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.first_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_10first_item___get__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":217
+ *
+ * property first_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.first_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_10first_item___get__(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":218
+ * property first_item:
+ * def __get__(self):
+ * return self.first_item_get() # <<<<<<<<<<<<<<
+ *
+ * def last_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__first_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 218; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_21last_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_21last_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_10elementary_12c_elementary_16MultiButtonEntry_20last_item_get(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":220
+ * return self.first_item_get()
+ *
+ * def last_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_multibuttonentry_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_20last_item_get(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":221
+ *
+ * def last_item_get(self):
+ * return _object_item_to_python(elm_multibuttonentry_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_multibuttonentry_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.last_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_9last_item___get__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":224
+ *
+ * property last_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.last_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_9last_item___get__(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":225
+ * property last_item:
+ * def __get__(self):
+ * return self.last_item_get() # <<<<<<<<<<<<<<
+ *
+ * def selected_item_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__last_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 225; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_23selected_item_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_23selected_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_10elementary_12c_elementary_16MultiButtonEntry_22selected_item_get(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":227
+ * return self.last_item_get()
+ *
+ * def selected_item_get(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_multibuttonentry_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_22selected_item_get(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":228
+ *
+ * def selected_item_get(self):
+ * return _object_item_to_python(elm_multibuttonentry_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_multibuttonentry_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __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;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.selected_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_13selected_item___get__(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":231
+ *
+ * property selected_item:
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return self.selected_item_get()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_13selected_item___get__(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":232
+ * property selected_item:
+ * def __get__(self):
+ * return self.selected_item_get() # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__selected_item_get); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 232; __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;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_25clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_25clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_24clear(((struct PyElementaryMultiButtonEntry *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":234
+ * return self.selected_item_get()
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * elm_multibuttonentry_clear(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_24clear(struct PyElementaryMultiButtonEntry *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":235
+ *
+ * def clear(self):
+ * elm_multibuttonentry_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def filter_append(self, func, *args, **kwargs):
+ */
+ elm_multibuttonentry_clear(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_27filter_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_27filter_append(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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("filter_append (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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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, "filter_append") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 237; __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("filter_append", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 237; __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("elementary.c_elementary.MultiButtonEntry.filter_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_26filter_append(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":237
+ * elm_multibuttonentry_clear(self.obj)
+ *
+ * def filter_append(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * cbdata = (self, func, args, kwargs)
+ * elm_multibuttonentry_item_filter_append(self.obj,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_26filter_append(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_cbdata = NULL;
+ 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("filter_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":238
+ *
+ * def filter_append(self, func, *args, **kwargs):
+ * cbdata = (self, func, args, kwargs) # <<<<<<<<<<<<<<
+ * elm_multibuttonentry_item_filter_append(self.obj,
+ * _multibuttonentry_filter_callback, <void *>cbdata)
+ */
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_1, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_1, 3, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_cbdata = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":240
+ * cbdata = (self, func, args, kwargs)
+ * elm_multibuttonentry_item_filter_append(self.obj,
+ * _multibuttonentry_filter_callback, <void *>cbdata) # <<<<<<<<<<<<<<
+ * Py_INCREF(cbdata)
+ *
+ */
+ elm_multibuttonentry_item_filter_append(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__multibuttonentry_filter_callback, ((void *)__pyx_v_cbdata));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":241
+ * elm_multibuttonentry_item_filter_append(self.obj,
+ * _multibuttonentry_filter_callback, <void *>cbdata)
+ * Py_INCREF(cbdata) # <<<<<<<<<<<<<<
+ *
+ * def filter_prepend(self, func, *args, **kwargs):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_cbdata));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.filter_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_cbdata);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_29filter_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_29filter_prepend(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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("filter_prepend (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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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, "filter_prepend") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 243; __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("filter_prepend", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 243; __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("elementary.c_elementary.MultiButtonEntry.filter_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_28filter_prepend(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":243
+ * Py_INCREF(cbdata)
+ *
+ * def filter_prepend(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * cbdata = (self, func, args, kwargs)
+ * elm_multibuttonentry_item_filter_prepend(self.obj,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_28filter_prepend(struct PyElementaryMultiButtonEntry *__pyx_v_self, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_v_cbdata = NULL;
+ 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("filter_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":244
+ *
+ * def filter_prepend(self, func, *args, **kwargs):
+ * cbdata = (self, func, args, kwargs) # <<<<<<<<<<<<<<
+ * elm_multibuttonentry_item_filter_prepend(self.obj,
+ * _multibuttonentry_filter_callback, <void *>cbdata)
+ */
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_1, 2, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_1, 3, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_cbdata = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":246
+ * cbdata = (self, func, args, kwargs)
+ * elm_multibuttonentry_item_filter_prepend(self.obj,
+ * _multibuttonentry_filter_callback, <void *>cbdata) # <<<<<<<<<<<<<<
+ * Py_INCREF(cbdata)
+ *
+ */
+ elm_multibuttonentry_item_filter_prepend(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__multibuttonentry_filter_callback, ((void *)__pyx_v_cbdata));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":247
+ * elm_multibuttonentry_item_filter_prepend(self.obj,
+ * _multibuttonentry_filter_callback, <void *>cbdata)
+ * Py_INCREF(cbdata) # <<<<<<<<<<<<<<
+ *
+ * def filter_remove(self, func, *args, **kwargs):
+ */
+ Py_INCREF(((PyObject *)__pyx_v_cbdata));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.MultiButtonEntry.filter_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_cbdata);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_31filter_remove(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_31filter_remove(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_func = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_args = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("filter_remove (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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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, "filter_remove") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 249; __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("filter_remove", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 249; __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("elementary.c_elementary.MultiButtonEntry.filter_remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_30filter_remove(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":249
+ * Py_INCREF(cbdata)
+ *
+ * def filter_remove(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * #TODO
+ * pass
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_30filter_remove(CYTHON_UNUSED struct PyElementaryMultiButtonEntry *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_func, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("filter_remove", 0);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_33callback_item_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_33callback_item_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_selected_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 253; __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_selected_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 253; __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("elementary.c_elementary.MultiButtonEntry.callback_item_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_32callback_item_selected_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":253
+ * pass
+ *
+ * def callback_item_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("item,selected", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_32callback_item_selected_add(struct PyElementaryMultiButtonEntry *__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_selected_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":254
+ *
+ * def callback_item_selected_add(self, func, *args, **kwargs):
+ * self._callback_add("item,selected", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_selected_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 254; __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[60]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_235));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_235));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_235));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 254; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_item_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_35callback_item_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_35callback_item_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_selected_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_34callback_item_selected_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":256
+ * self._callback_add("item,selected", func, *args, **kwargs)
+ *
+ * def callback_item_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("item,selected", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_34callback_item_selected_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_item_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":257
+ *
+ * def callback_item_selected_del(self, func):
+ * self._callback_del("item,selected", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_added_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 257; __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[60]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_235));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_235));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_235));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_item_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_37callback_item_added_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_37callback_item_added_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_added_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_added_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 259; __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_added_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 259; __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("elementary.c_elementary.MultiButtonEntry.callback_item_added_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_36callback_item_added_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":259
+ * self._callback_del("item,selected", func)
+ *
+ * def callback_item_added_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("item,added", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_36callback_item_added_add(struct PyElementaryMultiButtonEntry *__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_added_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":260
+ *
+ * def callback_item_added_add(self, func, *args, **kwargs):
+ * self._callback_add("item,added", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_added_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 260; __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[60]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_236));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_236));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_236));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_item_added_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_39callback_item_added_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_39callback_item_added_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_added_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_38callback_item_added_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":262
+ * self._callback_add("item,added", func, *args, **kwargs)
+ *
+ * def callback_item_added_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("item,added", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_38callback_item_added_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_item_added_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":263
+ *
+ * def callback_item_added_del(self, func):
+ * self._callback_del("item,added", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_deleted_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 263; __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[60]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_236));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_236));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_236));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_item_added_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_41callback_item_deleted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_41callback_item_deleted_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_deleted_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_deleted_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 265; __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_deleted_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 265; __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("elementary.c_elementary.MultiButtonEntry.callback_item_deleted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_40callback_item_deleted_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":265
+ * self._callback_del("item,added", func)
+ *
+ * def callback_item_deleted_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("item,deleted", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_40callback_item_deleted_add(struct PyElementaryMultiButtonEntry *__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_deleted_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":266
+ *
+ * def callback_item_deleted_add(self, func, *args, **kwargs):
+ * self._callback_add("item,deleted", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_deleted_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 266; __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[60]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_237));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_237));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_237));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_item_deleted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_43callback_item_deleted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_43callback_item_deleted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_deleted_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_42callback_item_deleted_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":268
+ * self._callback_add("item,deleted", func, *args, **kwargs)
+ *
+ * def callback_item_deleted_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("item,deleted", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_42callback_item_deleted_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_item_deleted_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":269
+ *
+ * def callback_item_deleted_del(self, func):
+ * self._callback_del("item,deleted", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 269; __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[60]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_237));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_237));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_237));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_item_deleted_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_45callback_item_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_45callback_item_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_clicked_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 271; __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_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 271; __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("elementary.c_elementary.MultiButtonEntry.callback_item_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_44callback_item_clicked_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":271
+ * self._callback_del("item,deleted", func)
+ *
+ * def callback_item_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("item,clicked", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_44callback_item_clicked_add(struct PyElementaryMultiButtonEntry *__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_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":272
+ *
+ * def callback_item_clicked_add(self, func, *args, **kwargs):
+ * self._callback_add("item,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_item_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 272; __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[60]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_238));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_238));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_238));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_item_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_47callback_item_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_47callback_item_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_item_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_46callback_item_clicked_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":274
+ * self._callback_add("item,clicked", func, *args, **kwargs)
+ *
+ * def callback_item_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("item,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_46callback_item_clicked_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_item_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":275
+ *
+ * def callback_item_clicked_del(self, func):
+ * self._callback_del("item,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 275; __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[60]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_238));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_238));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_238));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_item_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_49callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_49callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[60]; __pyx_lineno = 277; __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[60]; __pyx_lineno = 277; __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("elementary.c_elementary.MultiButtonEntry.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_48callback_clicked_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":277
+ * self._callback_del("item,clicked", func)
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_48callback_clicked_add(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":278
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 278; __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[60]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_51callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_51callback_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_10elementary_12c_elementary_16MultiButtonEntry_50callback_clicked_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":280
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_50callback_clicked_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":281
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_focused_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 281; __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[60]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_53callback_focused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_53callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[60]; __pyx_lineno = 283; __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[60]; __pyx_lineno = 283; __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("elementary.c_elementary.MultiButtonEntry.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_52callback_focused_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":283
+ * self._callback_del("clicked", func)
+ *
+ * def callback_focused_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("focused", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_52callback_focused_add(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":284
+ *
+ * def callback_focused_add(self, func, *args, **kwargs):
+ * self._callback_add("focused", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_focused_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 284; __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[60]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__focused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__focused));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_focused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_55callback_focused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_55callback_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_10elementary_12c_elementary_16MultiButtonEntry_54callback_focused_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":286
+ * self._callback_add("focused", func, *args, **kwargs)
+ *
+ * def callback_focused_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("focused", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_54callback_focused_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_focused_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":287
+ *
+ * def callback_focused_del(self, func):
+ * self._callback_del("focused", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 287; __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[60]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__focused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__focused));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_focused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_57callback_unfocused_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_57callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[60]; __pyx_lineno = 289; __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[60]; __pyx_lineno = 289; __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("elementary.c_elementary.MultiButtonEntry.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_56callback_unfocused_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":289
+ * self._callback_del("focused", func)
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("unfocused", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_56callback_unfocused_add(struct PyElementaryMultiButtonEntry *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":290
+ *
+ * def callback_unfocused_add(self, func, *args, **kwargs):
+ * self._callback_add("unfocused", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_unfocused_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 290; __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[60]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfocused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfocused));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_unfocused_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_59callback_unfocused_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_59callback_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_10elementary_12c_elementary_16MultiButtonEntry_58callback_unfocused_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":292
+ * self._callback_add("unfocused", func, *args, **kwargs)
+ *
+ * def callback_unfocused_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("unfocused", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_58callback_unfocused_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_unfocused_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":293
+ *
+ * def callback_unfocused_del(self, func):
+ * self._callback_del("unfocused", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 293; __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[60]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfocused));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__unfocused));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_unfocused_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_61callback_expanded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_61callback_expanded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expanded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_expanded_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 295; __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_expanded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 295; __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("elementary.c_elementary.MultiButtonEntry.callback_expanded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_60callback_expanded_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":295
+ * self._callback_del("unfocused", func)
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("expanded", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_60callback_expanded_add(struct PyElementaryMultiButtonEntry *__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_expanded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":296
+ *
+ * def callback_expanded_add(self, func, *args, **kwargs):
+ * self._callback_add("expanded", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_expanded_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 296; __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[60]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__expanded));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__expanded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__expanded));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_expanded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_63callback_expanded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_63callback_expanded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expanded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_62callback_expanded_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":298
+ * self._callback_add("expanded", func, *args, **kwargs)
+ *
+ * def callback_expanded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("expanded", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_62callback_expanded_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_expanded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":299
+ *
+ * def callback_expanded_del(self, func):
+ * self._callback_del("expanded", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 299; __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[60]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__expanded));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__expanded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__expanded));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_expanded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_65callback_contracted_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_65callback_contracted_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_contracted_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_contracted_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 301; __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_contracted_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 301; __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("elementary.c_elementary.MultiButtonEntry.callback_contracted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_64callback_contracted_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":301
+ * self._callback_del("expanded", func)
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("contracted", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_64callback_contracted_add(struct PyElementaryMultiButtonEntry *__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_contracted_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":302
+ *
+ * def callback_contracted_add(self, func, *args, **kwargs):
+ * self._callback_add("contracted", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_contracted_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 302; __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[60]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__contracted));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__contracted));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__contracted));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_contracted_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_67callback_contracted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_67callback_contracted_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_contracted_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_66callback_contracted_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":304
+ * self._callback_add("contracted", func, *args, **kwargs)
+ *
+ * def callback_contracted_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("contracted", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_66callback_contracted_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_contracted_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":305
+ *
+ * def callback_contracted_del(self, func):
+ * self._callback_del("contracted", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_expand_state_changed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 305; __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[60]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__contracted));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__contracted));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__contracted));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_contracted_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_69callback_expand_state_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_69callback_expand_state_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expand_state_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_expand_state_changed_add") < 0)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 307; __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_expand_state_changed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[60]; __pyx_lineno = 307; __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("elementary.c_elementary.MultiButtonEntry.callback_expand_state_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_68callback_expand_state_changed_add(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":307
+ * self._callback_del("contracted", func)
+ *
+ * def callback_expand_state_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * self._callback_add("expand,state,changed", func, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_68callback_expand_state_changed_add(struct PyElementaryMultiButtonEntry *__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_expand_state_changed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":308
+ *
+ * def callback_expand_state_changed_add(self, func, *args, **kwargs):
+ * self._callback_add("expand,state,changed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_expand_state_changed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 308; __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[60]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_239));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_239));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_239));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.MultiButtonEntry.callback_expand_state_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_71callback_expand_state_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_71callback_expand_state_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_expand_state_changed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_70callback_expand_state_changed_del(((struct PyElementaryMultiButtonEntry *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":310
+ * self._callback_add("expand,state,changed", func, *args, **kwargs)
+ *
+ * def callback_expand_state_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("expand,state,changed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16MultiButtonEntry_70callback_expand_state_changed_del(struct PyElementaryMultiButtonEntry *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_expand_state_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":311
+ *
+ * def callback_expand_state_changed_del(self, func):
+ * self._callback_del("expand,state,changed", func) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 311; __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[60]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_239));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_239));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_239));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.MultiButtonEntry.callback_expand_state_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_a = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_ka = 0;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
+ if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 1))) return -1;
+ __pyx_v_ka = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
+ if (unlikely(!__pyx_v_ka)) return -1;
+ __Pyx_GOTREF(__pyx_v_ka);
+ __Pyx_INCREF(__pyx_args);
+ __pyx_v_a = __pyx_args;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit___cinit__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_a, __pyx_v_ka);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":65
+ * cdef Elm_Transit* obj
+ *
+ * def __cinit__(self, *a, **ka): # <<<<<<<<<<<<<<
+ * self.obj = NULL
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit___cinit__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":66
+ *
+ * def __cinit__(self, *a, **ka):
+ * self.obj = NULL # <<<<<<<<<<<<<<
+ *
+ * def __init__(self):
+ */
+ __pyx_v_self->obj = NULL;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_2__init__[] = "Create new transit.\n\n @note: It is not necessary to delete the transit object, it will be\n deleted at the end of its operation.\n @note: The transit will start playing when the program enters the\n main loop.\n\n @return: The transit object.\n\n ";
+ struct wrapperbase __pyx_wrapperbase_10elementary_12c_elementary_7Transit_2__init__;
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
+ __Pyx_RaiseArgtupleInvalid("__init__", 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, "__init__", 0))) return -1;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_2__init__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":68
+ * self.obj = NULL
+ *
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * """Create new transit.
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_2__init__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":79
+ *
+ * """
+ * self.obj = elm_transit_add() # <<<<<<<<<<<<<<
+ *
+ * def delete(self):
+ */
+ __pyx_v_self->obj = elm_transit_add();
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_4delete[] = "delete()\n\n Stops the animation and delete the C{transit} object.\n\n Call this function if you want to stop the animation before the\n transit time. Make sure the C{transit} object is still alive with\n L{del_cb_set()} function. All added effects will be deleted, calling\n its respective data_free_cb functions. The function set by\n L{del_cb_set()} will be called.\n\n L{del_cb_set()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_5delete(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_4delete(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":81
+ * self.obj = elm_transit_add()
+ *
+ * def delete(self): # <<<<<<<<<<<<<<
+ * """delete()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_4delete(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("delete", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":95
+ *
+ * """
+ * elm_transit_del(self.obj) # <<<<<<<<<<<<<<
+ *
+ * #def effect_add(self, Elm_Transit_Effect_Transition_Cb transition_cb, effect, Elm_Transit_Effect_End_Cb end_cb):
+ */
+ elm_transit_del(__pyx_v_self->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_7object_add(PyObject *__pyx_v_self, PyObject *__pyx_v_obj); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_6object_add[] = "object_add(obj)\n\n Add new object to apply the effects.\n\n @note: After the first addition of an object to C{transit}, if its\n object list become empty again, the C{transit} will be killed by\n elm_transit_del(transit) function.\n @note: If the C{obj} belongs to another transit, the C{obj} will be\n removed from it and it will only belong to the other C{transit}.\n If the old transit stays without objects, it will die.\n @note: When you add an object into the C{transit}, its state from\n evas_object_pass_events_get(obj) is saved, and it is applied\n when the transit ends, if you change this state with\n evas_object_pass_events_set() after add the object, this state\n will change again when C{transit} stops.\n\n @param obj: Object to be animated.\n\n @warning: It is not allowed to add a new object after transit begins.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_7object_add(PyObject *__pyx_v_self, PyObject *__pyx_v_obj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_add (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_6object_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_obj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":151
+ * #elm_transit_effect_del(self.obj, transition_cb, effect)
+ *
+ * def object_add(self, evasObject obj): # <<<<<<<<<<<<<<
+ * """object_add(obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_6object_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct PyEvasObject *__pyx_v_obj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":173
+ *
+ * """
+ * elm_transit_object_add(self.obj, obj.obj) # <<<<<<<<<<<<<<
+ *
+ * def object_remove(self, evasObject obj):
+ */
+ elm_transit_object_add(__pyx_v_self->obj, __pyx_v_obj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_9object_remove(PyObject *__pyx_v_self, PyObject *__pyx_v_obj); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_8object_remove[] = "object_remove(obj)\n\n Removes an added object from the transit.\n\n @note: If the C{obj} is not in the C{transit}, nothing is done.\n @note: If the list become empty, this function will call\n transit.delete(), i.e., it will kill the C{transit}.\n\n @param obj: Object to be removed from C{transit}.\n\n @warning: It is not allowed to remove objects after transit begins.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_9object_remove(PyObject *__pyx_v_self, PyObject *__pyx_v_obj) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_remove (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_ptype_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_8object_remove(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((struct PyEvasObject *)__pyx_v_obj));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":175
+ * elm_transit_object_add(self.obj, obj.obj)
+ *
+ * def object_remove(self, evasObject obj): # <<<<<<<<<<<<<<
+ * """object_remove(obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_8object_remove(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct PyEvasObject *__pyx_v_obj) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_remove", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":189
+ *
+ * """
+ * elm_transit_object_remove(self.obj, obj.obj) # <<<<<<<<<<<<<<
+ *
+ * property objects:
+ */
+ elm_transit_object_remove(__pyx_v_self->obj, __pyx_v_obj->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_7objects_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_7objects_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_7objects___get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":197
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ * cdef Evas_Object *data
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_7objects___get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ Evas_Object *__pyx_v_data;
+ PyObject *__pyx_v_ret = NULL;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":200
+ * cdef Eina_List *lst
+ * cdef Evas_Object *data
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = <Eina_List *>elm_transit_objects_get(self.obj)
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":201
+ * cdef Evas_Object *data
+ * ret = []
+ * lst = <Eina_List *>elm_transit_objects_get(self.obj) # <<<<<<<<<<<<<<
+ * while lst:
+ * data = <Evas_Object *>lst.data
+ */
+ __pyx_v_lst = ((Eina_List *)elm_transit_objects_get(__pyx_v_self->obj));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":202
+ * ret = []
+ * lst = <Eina_List *>elm_transit_objects_get(self.obj)
+ * while lst: # <<<<<<<<<<<<<<
+ * data = <Evas_Object *>lst.data
+ * if data != NULL:
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":203
+ * lst = <Eina_List *>elm_transit_objects_get(self.obj)
+ * while lst:
+ * data = <Evas_Object *>lst.data # <<<<<<<<<<<<<<
+ * if data != NULL:
+ * o = Object_from_instance(data)
+ */
+ __pyx_v_data = ((Evas_Object *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":204
+ * while lst:
+ * data = <Evas_Object *>lst.data
+ * if data != NULL: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(data)
+ * ret.append(o)
+ */
+ __pyx_t_2 = (__pyx_v_data != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":205
+ * data = <Evas_Object *>lst.data
+ * if data != NULL:
+ * o = Object_from_instance(data) # <<<<<<<<<<<<<<
+ * ret.append(o)
+ * lst = lst.next
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_data)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(((PyObject *)__pyx_v_o));
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":206
+ * if data != NULL:
+ * o = Object_from_instance(data)
+ * ret.append(o) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_3 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_v_o)); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 206; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":207
+ * o = Object_from_instance(data)
+ * ret.append(o)
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":208
+ * ret.append(o)
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * property objects_final_state_keep:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.objects.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_24objects_final_state_keep_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_state_keep); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_24objects_final_state_keep_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_state_keep) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_24objects_final_state_keep___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_state_keep));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":221
+ *
+ * """
+ * def __set__(self, state_keep): # <<<<<<<<<<<<<<
+ * elm_transit_objects_final_state_keep_set(self.obj, state_keep)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_24objects_final_state_keep___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_state_keep) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":222
+ * """
+ * def __set__(self, state_keep):
+ * elm_transit_objects_final_state_keep_set(self.obj, state_keep) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_state_keep); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_objects_final_state_keep_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.objects_final_state_keep.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_24objects_final_state_keep_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_24objects_final_state_keep_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_24objects_final_state_keep_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":224
+ * elm_transit_objects_final_state_keep_set(self.obj, state_keep)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_transit_objects_final_state_keep_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_24objects_final_state_keep_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":225
+ *
+ * def __get__(self):
+ * return bool(elm_transit_objects_final_state_keep_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property event_enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_transit_objects_final_state_keep_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Transit.objects_final_state_keep.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_13event_enabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_13event_enabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_13event_enabled___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_enabled));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":242
+ *
+ * """
+ * def __set__(self, enabled): # <<<<<<<<<<<<<<
+ * elm_transit_event_enabled_set(self.obj, enabled)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_13event_enabled___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_enabled) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":243
+ * """
+ * def __set__(self, enabled):
+ * elm_transit_event_enabled_set(self.obj, enabled) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_transit_event_enabled_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_enabled); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_event_enabled_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.event_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_13event_enabled_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_13event_enabled_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_13event_enabled_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":244
+ * def __set__(self, enabled):
+ * elm_transit_event_enabled_set(self.obj, enabled)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_transit_event_enabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_13event_enabled_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":245
+ * elm_transit_event_enabled_set(self.obj, enabled)
+ * def __get__(self):
+ * return bool(elm_transit_event_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def del_cb_set(self, cb, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_transit_event_enabled_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Transit.event_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_11del_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_10del_cb_set[] = "Set the user-callback function when the transit is deleted.\n\n @note: Using this function twice will overwrite the first function set.\n @note: the C{transit} object will be deleted after call C{cb} function.\n\n @param cb: Callback function pointer. This function will be called before\n the deletion of the transit.\n @param data: Callback function user data. It is the C{op} parameter.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_11del_cb_set(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_cb = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_args = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__cb,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("del_cb_set (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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cb);
+ if (likely(values[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, "del_cb_set") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 247; __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_cb = values[0];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("del_cb_set", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 247; __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("elementary.c_elementary.Transit.del_cb_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_10del_cb_set(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_cb, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":247
+ * return bool(elm_transit_event_enabled_get(self.obj))
+ *
+ * def del_cb_set(self, cb, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Set the user-callback function when the transit is deleted.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_10del_cb_set(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_cb, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("del_cb_set", 0);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_12auto_reverse_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_reverse); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_12auto_reverse_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_reverse) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_12auto_reverse___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_reverse));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":273
+ *
+ * """
+ * def __set__(self, reverse): # <<<<<<<<<<<<<<
+ * elm_transit_auto_reverse_set(self.obj, reverse)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_12auto_reverse___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_reverse) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":274
+ * """
+ * def __set__(self, reverse):
+ * elm_transit_auto_reverse_set(self.obj, reverse) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_transit_auto_reverse_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_reverse); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_auto_reverse_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.auto_reverse.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_12auto_reverse_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_12auto_reverse_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_12auto_reverse_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":275
+ * def __set__(self, reverse):
+ * elm_transit_auto_reverse_set(self.obj, reverse)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_transit_auto_reverse_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_12auto_reverse_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":276
+ * elm_transit_auto_reverse_set(self.obj, reverse)
+ * def __get__(self):
+ * return bool(elm_transit_auto_reverse_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property repeat_times:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_transit_auto_reverse_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Transit.auto_reverse.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_12repeat_times_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_repeat); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_12repeat_times_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_repeat) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_12repeat_times___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_repeat));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":293
+ *
+ * """
+ * def __set__(self, repeat): # <<<<<<<<<<<<<<
+ * elm_transit_repeat_times_set(self.obj, repeat)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_12repeat_times___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_repeat) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":294
+ * """
+ * def __set__(self, repeat):
+ * elm_transit_repeat_times_set(self.obj, repeat) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_transit_repeat_times_get(self.obj)
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_repeat); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_repeat_times_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.repeat_times.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_12repeat_times_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_12repeat_times_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_12repeat_times_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":295
+ * def __set__(self, repeat):
+ * elm_transit_repeat_times_set(self.obj, repeat)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_transit_repeat_times_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_12repeat_times_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":296
+ * elm_transit_repeat_times_set(self.obj, repeat)
+ * def __get__(self):
+ * return elm_transit_repeat_times_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property tween_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_transit_repeat_times_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.repeat_times.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_10tween_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_tween_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_10tween_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_tween_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_10tween_mode___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_tween_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":313
+ *
+ * """
+ * def __set__(self, tween_mode): # <<<<<<<<<<<<<<
+ * elm_transit_tween_mode_set(self.obj, tween_mode)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_10tween_mode___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_tween_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Transit_Tween_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":314
+ * """
+ * def __set__(self, tween_mode):
+ * elm_transit_tween_mode_set(self.obj, tween_mode) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_transit_tween_mode_get(self.obj)
+ */
+ __pyx_t_1 = ((Elm_Transit_Tween_Mode)PyInt_AsLong(__pyx_v_tween_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_tween_mode_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.tween_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_10tween_mode_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_10tween_mode_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_10tween_mode_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":315
+ * def __set__(self, tween_mode):
+ * elm_transit_tween_mode_set(self.obj, tween_mode)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_transit_tween_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_10tween_mode_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":316
+ * elm_transit_tween_mode_set(self.obj, tween_mode)
+ * def __get__(self):
+ * return elm_transit_tween_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property duration:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_transit_tween_mode_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.tween_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_8duration_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_duration); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_8duration_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_duration) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_8duration___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_duration));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":324
+ *
+ * """
+ * def __set__(self, duration): # <<<<<<<<<<<<<<
+ * elm_transit_duration_set(self.obj, duration)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_8duration___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_duration) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":325
+ * """
+ * def __set__(self, duration):
+ * elm_transit_duration_set(self.obj, duration) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_transit_duration_get(self.obj)
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_duration); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_duration_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.duration.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_8duration_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_8duration_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_8duration_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":326
+ * def __set__(self, duration):
+ * elm_transit_duration_set(self.obj, duration)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_transit_duration_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_8duration_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":327
+ * elm_transit_duration_set(self.obj, duration)
+ * def __get__(self):
+ * return elm_transit_duration_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def go(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_transit_duration_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.duration.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_13go(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_12go[] = "go()\n\n Starts the transition. Once this API is called, the transit\n begins to measure the time.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_13go(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("go (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_12go(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":329
+ * return elm_transit_duration_get(self.obj)
+ *
+ * def go(self): # <<<<<<<<<<<<<<
+ * """go()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_12go(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("go", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":336
+ *
+ * """
+ * elm_transit_go(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property paused:
+ */
+ elm_transit_go(__pyx_v_self->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_6paused_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_paused); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_7Transit_6paused_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_paused) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_6paused___set__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_paused));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":347
+ *
+ * """
+ * def __set__(self, paused): # <<<<<<<<<<<<<<
+ * elm_transit_paused_set(self.obj, paused)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_7Transit_6paused___set__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_paused) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":348
+ * """
+ * def __set__(self, paused):
+ * elm_transit_paused_set(self.obj, paused) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_transit_paused_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_paused); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 348; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_transit_paused_set(__pyx_v_self->obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.paused.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_6paused_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_6paused_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_6paused_2__get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":349
+ * def __set__(self, paused):
+ * elm_transit_paused_set(self.obj, paused)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_transit_paused_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_6paused_2__get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":350
+ * elm_transit_paused_set(self.obj, paused)
+ * def __get__(self):
+ * return bool(elm_transit_paused_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property progress_value:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_transit_paused_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Transit.paused.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_14progress_value_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_14progress_value_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_14progress_value___get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":362
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_transit_progress_value_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_14progress_value___get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":363
+ * """
+ * def __get__(self):
+ * return elm_transit_progress_value_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def chain_transit_add(self, Transit chain_transit):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_transit_progress_value_get(__pyx_v_self->obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.progress_value.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_15chain_transit_add(PyObject *__pyx_v_self, PyObject *__pyx_v_chain_transit); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_14chain_transit_add[] = "chain_transit_add(chain_transit)\n\n Makes the chain relationship between two transits.\n\n This function adds C{chain_transit} transition to a chain after the\n C{transit}, and will be started as soon as C{transit} ends.\n\n @note: C{chain_transit} can not be None. Chain transits could be\n chained to the only one transit.\n\n @param chain_transit: The chain transit object. This transit will be\n operated after transit is done.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_15chain_transit_add(PyObject *__pyx_v_self, PyObject *__pyx_v_chain_transit) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("chain_transit_add (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_chain_transit), __pyx_ptype_10elementary_12c_elementary_Transit, 1, "chain_transit", 0))) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_14chain_transit_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_chain_transit));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":365
+ * return elm_transit_progress_value_get(self.obj)
+ *
+ * def chain_transit_add(self, Transit chain_transit): # <<<<<<<<<<<<<<
+ * """chain_transit_add(chain_transit)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_14chain_transit_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_chain_transit) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("chain_transit_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":380
+ *
+ * """
+ * elm_transit_chain_transit_add(self.obj, chain_transit.obj) # <<<<<<<<<<<<<<
+ *
+ * def chain_transit_del(self, Transit chain_transit):
+ */
+ elm_transit_chain_transit_add(__pyx_v_self->obj, __pyx_v_chain_transit->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_17chain_transit_del(PyObject *__pyx_v_self, PyObject *__pyx_v_chain_transit); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_16chain_transit_del[] = "chain_transit_del(chain_transit)\n\n Cut off the chain relationship between two transits.\n\n This function removes the C{chain_transit} transition from the\n C{transit}.\n\n @note: C{chain_transit} can not be None. Chain transits should be\n chained to the C{transit}.\n\n @param chain_transit: The chain transit object.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_17chain_transit_del(PyObject *__pyx_v_self, PyObject *__pyx_v_chain_transit) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("chain_transit_del (wrapper)", 0);
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_chain_transit), __pyx_ptype_10elementary_12c_elementary_Transit, 1, "chain_transit", 0))) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_16chain_transit_del(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_chain_transit));
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":382
+ * elm_transit_chain_transit_add(self.obj, chain_transit.obj)
+ *
+ * def chain_transit_del(self, Transit chain_transit): # <<<<<<<<<<<<<<
+ * """chain_transit_del(chain_transit)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_16chain_transit_del(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_chain_transit) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("chain_transit_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":396
+ *
+ * """
+ * elm_transit_chain_transit_del(self.obj, chain_transit.obj) # <<<<<<<<<<<<<<
+ *
+ * property chain_transits:
+ */
+ elm_transit_chain_transit_del(__pyx_v_self->obj, __pyx_v_chain_transit->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_14chain_transits_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_14chain_transits_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_14chain_transits___get__(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":404
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_List *lst
+ * cdef Evas_Object *data
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_14chain_transits___get__(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ Eina_List *__pyx_v_lst;
+ Evas_Object *__pyx_v_data;
+ PyObject *__pyx_v_ret = NULL;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":407
+ * cdef Eina_List *lst
+ * cdef Evas_Object *data
+ * ret = [] # <<<<<<<<<<<<<<
+ * lst = elm_transit_chain_transits_get(self.obj)
+ * while lst:
+ */
+ __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":408
+ * cdef Evas_Object *data
+ * ret = []
+ * lst = elm_transit_chain_transits_get(self.obj) # <<<<<<<<<<<<<<
+ * while lst:
+ * data = <Evas_Object *>lst.data
+ */
+ __pyx_v_lst = elm_transit_chain_transits_get(__pyx_v_self->obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":409
+ * ret = []
+ * lst = elm_transit_chain_transits_get(self.obj)
+ * while lst: # <<<<<<<<<<<<<<
+ * data = <Evas_Object *>lst.data
+ * if data != NULL:
+ */
+ while (1) {
+ __pyx_t_2 = (__pyx_v_lst != 0);
+ if (!__pyx_t_2) break;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":410
+ * lst = elm_transit_chain_transits_get(self.obj)
+ * while lst:
+ * data = <Evas_Object *>lst.data # <<<<<<<<<<<<<<
+ * if data != NULL:
+ * o = Object_from_instance(data)
+ */
+ __pyx_v_data = ((Evas_Object *)__pyx_v_lst->data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":411
+ * while lst:
+ * data = <Evas_Object *>lst.data
+ * if data != NULL: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(data)
+ * ret.append(o)
+ */
+ __pyx_t_2 = (__pyx_v_data != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":412
+ * data = <Evas_Object *>lst.data
+ * if data != NULL:
+ * o = Object_from_instance(data) # <<<<<<<<<<<<<<
+ * ret.append(o)
+ * lst = lst.next
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_data)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_XDECREF(((PyObject *)__pyx_v_o));
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":413
+ * if data != NULL:
+ * o = Object_from_instance(data)
+ * ret.append(o) # <<<<<<<<<<<<<<
+ * lst = lst.next
+ * return ret
+ */
+ __pyx_t_3 = PyList_Append(__pyx_v_ret, ((PyObject *)__pyx_v_o)); if (unlikely(__pyx_t_3 == -1)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 413; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L5;
+ }
+ __pyx_L5:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":414
+ * o = Object_from_instance(data)
+ * ret.append(o)
+ * lst = lst.next # <<<<<<<<<<<<<<
+ * return ret
+ *
+ */
+ __pyx_v_lst = __pyx_v_lst->next;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":415
+ * ret.append(o)
+ * lst = lst.next
+ * return ret # <<<<<<<<<<<<<<
+ *
+ * def effect_resizing_add(self, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.chain_transits.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_19effect_resizing_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_18effect_resizing_add[] = "effect_resizing_add(from_w, from_h, to_w, to_h)\n\n Add the Resizing Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates resizing effect\n context and add it's required APIs to elm_transit_effect_add.\n\n @see: L{effect_add()}\n\n @param from_w: Object width size when effect begins.\n @type from_w: Evas_Coord (int)\n @param from_h: Object height size when effect begins.\n @type from_h: Evas_Coord (int)\n @param to_w: Object width size when effect ends.\n @type to_w: Evas_Coord (int)\n @param to_h: Object height size when effect ends.\n @type to_h: Evas_Coord (int)\n @return: Resizing effect context data.\n @rtype: Elm_Transit_Effect\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_19effect_resizing_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Evas_Coord __pyx_v_from_w;
+ Evas_Coord __pyx_v_from_h;
+ Evas_Coord __pyx_v_to_w;
+ Evas_Coord __pyx_v_to_h;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__from_w,&__pyx_n_s__from_h,&__pyx_n_s__to_w,&__pyx_n_s__to_h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_resizing_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_w);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_h);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_resizing_add", 1, 4, 4, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_w);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_resizing_add", 1, 4, 4, 2); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_resizing_add", 1, 4, 4, 3); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_resizing_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __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_from_w = __Pyx_PyInt_from_py_Evas_Coord(values[0]); if (unlikely((__pyx_v_from_w == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_from_h = __Pyx_PyInt_from_py_Evas_Coord(values[1]); if (unlikely((__pyx_v_from_h == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_w = __Pyx_PyInt_from_py_Evas_Coord(values[2]); if (unlikely((__pyx_v_to_w == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_h = __Pyx_PyInt_from_py_Evas_Coord(values[3]); if (unlikely((__pyx_v_to_h == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_resizing_add", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_resizing_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_18effect_resizing_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_from_w, __pyx_v_from_h, __pyx_v_to_w, __pyx_v_to_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":417
+ * return ret
+ *
+ * def effect_resizing_add(self, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h): # <<<<<<<<<<<<<<
+ * """effect_resizing_add(from_w, from_h, to_w, to_h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_18effect_resizing_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Evas_Coord __pyx_v_from_w, Evas_Coord __pyx_v_from_h, Evas_Coord __pyx_v_to_w, Evas_Coord __pyx_v_to_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_resizing_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":440
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_resizing_add(self.obj, from_w, from_h, to_w, to_h) # <<<<<<<<<<<<<<
+ *
+ * def effect_translation_add(self, Evas_Coord from_dx, Evas_Coord from_dy, Evas_Coord to_dx, Evas_Coord to_dy):
+ */
+ elm_transit_effect_resizing_add(__pyx_v_self->obj, __pyx_v_from_w, __pyx_v_from_h, __pyx_v_to_w, __pyx_v_to_h);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_21effect_translation_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_20effect_translation_add[] = "effect_translation_add(from_dx, from_dy, to_dx, to_dy)\n\n Add the Translation Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates translation effect\n context and add it's required APIs to elm_transit_effect_add.\n\n @see: L{effect_add()}\n\n @param from_dx: X Position variation when effect begins.\n @param from_dy: Y Position variation when effect begins.\n @param to_dx: X Position variation when effect ends.\n @param to_dy: Y Position variation when effect ends.\n @return: Translation effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n geometry information about the objects, and if the window was\n not created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_21effect_translation_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Evas_Coord __pyx_v_from_dx;
+ Evas_Coord __pyx_v_from_dy;
+ Evas_Coord __pyx_v_to_dx;
+ Evas_Coord __pyx_v_to_dy;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__from_dx,&__pyx_n_s__from_dy,&__pyx_n_s__to_dx,&__pyx_n_s__to_dy,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_translation_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_dx);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_dy);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_translation_add", 1, 4, 4, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_dx);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_translation_add", 1, 4, 4, 2); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_dy);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_translation_add", 1, 4, 4, 3); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_translation_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __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_from_dx = __Pyx_PyInt_from_py_Evas_Coord(values[0]); if (unlikely((__pyx_v_from_dx == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_from_dy = __Pyx_PyInt_from_py_Evas_Coord(values[1]); if (unlikely((__pyx_v_from_dy == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_dx = __Pyx_PyInt_from_py_Evas_Coord(values[2]); if (unlikely((__pyx_v_to_dx == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_dy = __Pyx_PyInt_from_py_Evas_Coord(values[3]); if (unlikely((__pyx_v_to_dy == (Evas_Coord)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_translation_add", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_translation_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_20effect_translation_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_from_dx, __pyx_v_from_dy, __pyx_v_to_dx, __pyx_v_to_dy);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":442
+ * elm_transit_effect_resizing_add(self.obj, from_w, from_h, to_w, to_h)
+ *
+ * def effect_translation_add(self, Evas_Coord from_dx, Evas_Coord from_dy, Evas_Coord to_dx, Evas_Coord to_dy): # <<<<<<<<<<<<<<
+ * """effect_translation_add(from_dx, from_dy, to_dx, to_dy)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_20effect_translation_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Evas_Coord __pyx_v_from_dx, Evas_Coord __pyx_v_from_dy, Evas_Coord __pyx_v_to_dx, Evas_Coord __pyx_v_to_dy) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_translation_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":467
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_translation_add(self.obj, from_dx, from_dy, to_dx, to_dy) # <<<<<<<<<<<<<<
+ *
+ * def effect_zoom_add(self, float from_rate, float to_rate):
+ */
+ elm_transit_effect_translation_add(__pyx_v_self->obj, __pyx_v_from_dx, __pyx_v_from_dy, __pyx_v_to_dx, __pyx_v_to_dy);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_23effect_zoom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_22effect_zoom_add[] = "effect_zoom_add(from_rate, to_rate)\n\n Add the Zoom Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates zoom effect context\n and add it's required APIs to elm_transit_effect_add.\n\n @see: L{effect_add()}\n\n @param from_rate: Scale rate when effect begins (1 is current rate).\n @param to_rate: Scale rate when effect ends.\n @return: Zoom effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n geometry information about the objects, and if the window was\n not created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_23effect_zoom_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ float __pyx_v_from_rate;
+ float __pyx_v_to_rate;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__from_rate,&__pyx_n_s__to_rate,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_zoom_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_rate);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_rate);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_zoom_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 469; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_zoom_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 469; __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_from_rate = __pyx_PyFloat_AsFloat(values[0]); if (unlikely((__pyx_v_from_rate == (float)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 469; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_rate = __pyx_PyFloat_AsFloat(values[1]); if (unlikely((__pyx_v_to_rate == (float)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 469; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_zoom_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 469; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_zoom_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_22effect_zoom_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_from_rate, __pyx_v_to_rate);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":469
+ * elm_transit_effect_translation_add(self.obj, from_dx, from_dy, to_dx, to_dy)
+ *
+ * def effect_zoom_add(self, float from_rate, float to_rate): # <<<<<<<<<<<<<<
+ * """effect_zoom_add(from_rate, to_rate)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_22effect_zoom_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, float __pyx_v_from_rate, float __pyx_v_to_rate) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_zoom_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":492
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_zoom_add(self.obj, from_rate, to_rate) # <<<<<<<<<<<<<<
+ *
+ * def effect_flip_add(self, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw):
+ */
+ elm_transit_effect_zoom_add(__pyx_v_self->obj, __pyx_v_from_rate, __pyx_v_to_rate);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_25effect_flip_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_24effect_flip_add[] = "effect_flip_add(axis, cw)\n\n Add the Flip Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates flip effect context\n and add it's required APIs to elm_transit_effect_add.\n @note: This effect is applied to each pair of objects in the order\n they are listed in the transit list of objects. The first object\n in the pair will be the \"front\" object and the second will be the\n \"back\" object.\n\n @see: L{effect_add()}\n\n @param axis: Flipping Axis(X or Y).\n @param cw: Flipping Direction. True is clock-wise.\n @return: Flip effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n geometry information about the objects, and if the window was\n not created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_25effect_flip_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Elm_Transit_Effect_Flip_Axis __pyx_v_axis;
+ Eina_Bool __pyx_v_cw;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__axis,&__pyx_n_s__cw,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_flip_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__axis);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cw);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_flip_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_flip_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 494; __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_axis = ((Elm_Transit_Effect_Flip_Axis)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_cw = __Pyx_PyInt_from_py_Eina_Bool(values[1]); if (unlikely((__pyx_v_cw == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_flip_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_flip_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_24effect_flip_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_axis, __pyx_v_cw);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":494
+ * elm_transit_effect_zoom_add(self.obj, from_rate, to_rate)
+ *
+ * def effect_flip_add(self, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw): # <<<<<<<<<<<<<<
+ * """effect_flip_add(axis, cw)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_24effect_flip_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Elm_Transit_Effect_Flip_Axis __pyx_v_axis, Eina_Bool __pyx_v_cw) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_flip_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":521
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_flip_add(self.obj, axis, cw) # <<<<<<<<<<<<<<
+ *
+ * def effect_resizable_flip_add(self, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw):
+ */
+ elm_transit_effect_flip_add(__pyx_v_self->obj, __pyx_v_axis, __pyx_v_cw);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_27effect_resizable_flip_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_26effect_resizable_flip_add[] = "effect_resizable_flip_add(axis, cw)\n\n Add the Resizeable Flip Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates resizable flip\n effect context and add it's required APIs to\n elm_transit_effect_add.\n @note: This effect is applied to each pair of objects in the order\n they are listed in the transit list of objects. The first object\n in the pair will be the \"front\" object and the second will be the\n \"back\" object.\n\n @see: L{effect_add()}\n\n @param axis: Flipping Axis(X or Y).\n @param cw: Flipping Direction. True is clock-wise.\n @return: Resizeable flip effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n geometry information about the objects, and if the window was\n not created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_27effect_resizable_flip_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Elm_Transit_Effect_Flip_Axis __pyx_v_axis;
+ Eina_Bool __pyx_v_cw;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__axis,&__pyx_n_s__cw,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_resizable_flip_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__axis);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__cw);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_resizable_flip_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_resizable_flip_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 523; __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_axis = ((Elm_Transit_Effect_Flip_Axis)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_cw = __Pyx_PyInt_from_py_Eina_Bool(values[1]); if (unlikely((__pyx_v_cw == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_resizable_flip_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 523; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_resizable_flip_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_26effect_resizable_flip_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_axis, __pyx_v_cw);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":523
+ * elm_transit_effect_flip_add(self.obj, axis, cw)
+ *
+ * def effect_resizable_flip_add(self, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw): # <<<<<<<<<<<<<<
+ * """effect_resizable_flip_add(axis, cw)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_26effect_resizable_flip_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Elm_Transit_Effect_Flip_Axis __pyx_v_axis, Eina_Bool __pyx_v_cw) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_resizable_flip_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":551
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_resizable_flip_add(self.obj, axis, cw) # <<<<<<<<<<<<<<
+ *
+ * def effect_wipe_add(self, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir):
+ */
+ elm_transit_effect_resizable_flip_add(__pyx_v_self->obj, __pyx_v_axis, __pyx_v_cw);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_29effect_wipe_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_28effect_wipe_add[] = "effect_wipe_add(type, dir)\n\n Add the Wipe Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates wipe effect context\n and add it's required APIs to elm_transit_effect_add.\n\n @see: L{effect_add()}\n\n @param type: Wipe type. Hide or show.\n @param dir: Wipe Direction.\n @return: Wipe effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n geometry information about the objects, and if the window was\n not created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_29effect_wipe_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ Elm_Transit_Effect_Wipe_Type __pyx_v_type;
+ Elm_Transit_Effect_Wipe_Dir __pyx_v_dir;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__type,&__pyx_n_s__dir,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_wipe_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__type);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__dir);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_wipe_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_wipe_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 553; __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_type = ((Elm_Transit_Effect_Wipe_Type)PyInt_AsLong(values[0])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_dir = ((Elm_Transit_Effect_Wipe_Dir)PyInt_AsLong(values[1])); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_wipe_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 553; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_wipe_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_28effect_wipe_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_type, __pyx_v_dir);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":553
+ * elm_transit_effect_resizable_flip_add(self.obj, axis, cw)
+ *
+ * def effect_wipe_add(self, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir): # <<<<<<<<<<<<<<
+ * """effect_wipe_add(type, dir)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_28effect_wipe_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, Elm_Transit_Effect_Wipe_Type __pyx_v_type, Elm_Transit_Effect_Wipe_Dir __pyx_v_dir) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_wipe_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":576
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_wipe_add(self.obj, type, dir) # <<<<<<<<<<<<<<
+ *
+ * def effect_color_add(self, unsigned int from_r, unsigned int from_g, unsigned int from_b, unsigned int from_a, unsigned int to_r, unsigned int to_g, unsigned int to_b, unsigned int to_a):
+ */
+ elm_transit_effect_wipe_add(__pyx_v_self->obj, __pyx_v_type, __pyx_v_dir);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_31effect_color_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_30effect_color_add[] = "effect_color_add(from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a)\n\n Add the Color Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates color effect\n context and add it's required APIs to elm_transit_effect_add.\n\n @see: L{effect_add()}\n\n @param from_r: RGB R when effect begins.\n @param from_g: RGB G when effect begins.\n @param from_b: RGB B when effect begins.\n @param from_a: RGB A when effect begins.\n @param to_r: RGB R when effect ends.\n @param to_g: RGB G when effect ends.\n @param to_b: RGB B when effect ends.\n @param to_a: RGB A when effect ends.\n @return: Color effect context data.\n @rtype: Elm_Transit_Effect\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_31effect_color_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ unsigned int __pyx_v_from_r;
+ unsigned int __pyx_v_from_g;
+ unsigned int __pyx_v_from_b;
+ unsigned int __pyx_v_from_a;
+ unsigned int __pyx_v_to_r;
+ unsigned int __pyx_v_to_g;
+ unsigned int __pyx_v_to_b;
+ unsigned int __pyx_v_to_a;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__from_r,&__pyx_n_s__from_g,&__pyx_n_s__from_b,&__pyx_n_s__from_a,&__pyx_n_s__to_r,&__pyx_n_s__to_g,&__pyx_n_s__to_b,&__pyx_n_s__to_a,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_color_add (wrapper)", 0);
+ {
+ PyObject* values[8] = {0,0,0,0,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 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
+ case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_r);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_g);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_b);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 2); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_a);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 3); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 4:
+ values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_r);
+ if (likely(values[4])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 4); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 5:
+ values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_g);
+ if (likely(values[5])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 5); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 6:
+ values[6] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_b);
+ if (likely(values[6])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 6); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 7:
+ values[7] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_a);
+ if (likely(values[7])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, 7); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_color_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else if (PyTuple_GET_SIZE(__pyx_args) != 8) {
+ 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);
+ values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+ values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+ values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+ values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
+ }
+ __pyx_v_from_r = __Pyx_PyInt_AsUnsignedInt(values[0]); if (unlikely((__pyx_v_from_r == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_from_g = __Pyx_PyInt_AsUnsignedInt(values[1]); if (unlikely((__pyx_v_from_g == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_from_b = __Pyx_PyInt_AsUnsignedInt(values[2]); if (unlikely((__pyx_v_from_b == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_from_a = __Pyx_PyInt_AsUnsignedInt(values[3]); if (unlikely((__pyx_v_from_a == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_r = __Pyx_PyInt_AsUnsignedInt(values[4]); if (unlikely((__pyx_v_to_r == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_g = __Pyx_PyInt_AsUnsignedInt(values[5]); if (unlikely((__pyx_v_to_g == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_b = __Pyx_PyInt_AsUnsignedInt(values[6]); if (unlikely((__pyx_v_to_b == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_a = __Pyx_PyInt_AsUnsignedInt(values[7]); if (unlikely((__pyx_v_to_a == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_color_add", 1, 8, 8, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 578; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_color_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_30effect_color_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_from_r, __pyx_v_from_g, __pyx_v_from_b, __pyx_v_from_a, __pyx_v_to_r, __pyx_v_to_g, __pyx_v_to_b, __pyx_v_to_a);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":578
+ * elm_transit_effect_wipe_add(self.obj, type, dir)
+ *
+ * def effect_color_add(self, unsigned int from_r, unsigned int from_g, unsigned int from_b, unsigned int from_a, unsigned int to_r, unsigned int to_g, unsigned int to_b, unsigned int to_a): # <<<<<<<<<<<<<<
+ * """effect_color_add(from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_30effect_color_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, unsigned int __pyx_v_from_r, unsigned int __pyx_v_from_g, unsigned int __pyx_v_from_b, unsigned int __pyx_v_from_a, unsigned int __pyx_v_to_r, unsigned int __pyx_v_to_g, unsigned int __pyx_v_to_b, unsigned int __pyx_v_to_a) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_color_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":601
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_color_add(self.obj, from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a) # <<<<<<<<<<<<<<
+ *
+ * def effect_fade_add(self):
+ */
+ elm_transit_effect_color_add(__pyx_v_self->obj, __pyx_v_from_r, __pyx_v_from_g, __pyx_v_from_b, __pyx_v_from_a, __pyx_v_to_r, __pyx_v_to_g, __pyx_v_to_b, __pyx_v_to_a);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_33effect_fade_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_32effect_fade_add[] = "effect_face_add()\n\n Add the Fade Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates fade effect context\n and add it's required APIs to elm_transit_effect_add.\n @note: This effect is applied to each pair of objects in the order\n they are listed in the transit list of objects. The first object\n in the pair will be the \"before\" object and the second will be\n the \"after\" object.\n\n @see: L{effect_add()}\n\n @return: Fade effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n color information about the objects, and if the window was not\n created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_33effect_fade_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_fade_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_32effect_fade_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":603
+ * elm_transit_effect_color_add(self.obj, from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a)
+ *
+ * def effect_fade_add(self): # <<<<<<<<<<<<<<
+ * """effect_face_add()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_32effect_fade_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_fade_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":628
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_fade_add(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def effect_blend_add(self):
+ */
+ elm_transit_effect_fade_add(__pyx_v_self->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_35effect_blend_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_34effect_blend_add[] = "effect_blend_add()\n\n Add the Blend Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates blend effect\n context and add it's required APIs to elm_transit_effect_add.\n @note: This effect is applied to each pair of objects in the order\n they are listed in the transit list of objects. The first object\n in the pair will be the \"before\" object and the second will be\n the \"after\" object.\n\n @see: L{effect_add()}\n\n @return: Blend effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n color information about the objects, and if the window was not\n created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_35effect_blend_add(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_blend_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_34effect_blend_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":630
+ * elm_transit_effect_fade_add(self.obj)
+ *
+ * def effect_blend_add(self): # <<<<<<<<<<<<<<
+ * """effect_blend_add()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_34effect_blend_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_blend_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":655
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_blend_add(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def effect_rotation_add(self, float from_degree, float to_degree):
+ */
+ elm_transit_effect_blend_add(__pyx_v_self->obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_37effect_rotation_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_36effect_rotation_add[] = "effect_rotation_add(from_degree, to_degree)\n\n Add the Rotation Effect to Elm_Transit.\n\n @note: This API is one of the facades. It creates rotation effect\n context and add it's required APIs to elm_transit_effect_add.\n\n @see: L{effect_add()}\n\n @param from_degree: Degree when effect begins.\n @type from_degree: float\n @param to_degree: Degree when effect is ends.\n @type to_degree: float\n @return: Rotation effect context data.\n @rtype: Elm_Transit_Effect\n\n @warning: It is highly recommended just create a transit with this\n effect when the window that the objects of the transit belongs\n has already been created. This is because this effect needs the\n geometry information about the objects, and if the window was\n not created yet, it can get a wrong information.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_37effect_rotation_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ float __pyx_v_from_degree;
+ float __pyx_v_to_degree;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__from_degree,&__pyx_n_s__to_degree,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_rotation_add (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__from_degree);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__to_degree);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("effect_rotation_add", 1, 2, 2, 1); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "effect_rotation_add") < 0)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 657; __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_from_degree = __pyx_PyFloat_AsFloat(values[0]); if (unlikely((__pyx_v_from_degree == (float)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_v_to_degree = __pyx_PyFloat_AsFloat(values[1]); if (unlikely((__pyx_v_to_degree == (float)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("effect_rotation_add", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[61]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Transit.effect_rotation_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_36effect_rotation_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), __pyx_v_from_degree, __pyx_v_to_degree);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":657
+ * elm_transit_effect_blend_add(self.obj)
+ *
+ * def effect_rotation_add(self, float from_degree, float to_degree): # <<<<<<<<<<<<<<
+ * """effect_rotation_add(from_degree, to_degree)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_36effect_rotation_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, float __pyx_v_from_degree, float __pyx_v_to_degree) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_rotation_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":682
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_rotation_add(self.obj, from_degree, to_degree) # <<<<<<<<<<<<<<
+ *
+ * def effect_image_animation_add(self, images):
+ */
+ elm_transit_effect_rotation_add(__pyx_v_self->obj, __pyx_v_from_degree, __pyx_v_to_degree);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_39effect_image_animation_add(PyObject *__pyx_v_self, PyObject *__pyx_v_images); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_7Transit_38effect_image_animation_add[] = "effect_image_animation_add(images)\n\n Add the ImageAnimation Effect to Elm_Transit.\n\n Example::\n t = Transit()\n images = []\n images.append(\"%s/images/icon_11.png\" % PACKAGE_DATA_DIR)\n images.append(\"%s/images/logo_small.png\" % PACKAGE_DATA_DIR)\n t.effect_image_animation_add(images)\n\n @note: This API is one of the facades. It creates image animation\n effect context and add it's required APIs to\n elm_transit_effect_add. The C{images} parameter is a list images\n paths. This list and its contents will be deleted at the end of\n the effect by elm_transit_effect_image_animation_context_free()\n function.\n\n @see: L{effect_add()}\n\n @param images: A list of images file paths. This list and its\n contents will be deleted at the end of the effect by\n elm_transit_effect_image_animation_context_free() function.\n @type images: list\n @return: Image Animation effect context data.\n @rtype: Elm_Transit_Effect\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_7Transit_39effect_image_animation_add(PyObject *__pyx_v_self, PyObject *__pyx_v_images) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_image_animation_add (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_7Transit_38effect_image_animation_add(((struct __pyx_obj_10elementary_12c_elementary_Transit *)__pyx_v_self), ((PyObject *)__pyx_v_images));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":684
+ * elm_transit_effect_rotation_add(self.obj, from_degree, to_degree)
+ *
+ * def effect_image_animation_add(self, images): # <<<<<<<<<<<<<<
+ * """effect_image_animation_add(images)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_7Transit_38effect_image_animation_add(struct __pyx_obj_10elementary_12c_elementary_Transit *__pyx_v_self, PyObject *__pyx_v_images) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("effect_image_animation_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_transit.pxi":714
+ * """
+ * #TODO: can the return value Elm_Transit_Effect be used somehow?
+ * elm_transit_effect_image_animation_add(self.obj, _strings_from_python(images)) # <<<<<<<<<<<<<<
+ */
+ elm_transit_effect_image_animation_add(__pyx_v_self->obj, __pyx_f_10elementary_12c_elementary__strings_from_python(__pyx_v_images));
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":19
+ * #
+ *
+ * cdef _py_elm_slideshow_item_call(func, Evas_Object *obj, data) with gil: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+
+ static PyObject *__pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_call(PyObject *__pyx_v_func, Evas_Object *__pyx_v_obj, PyObject *__pyx_v_data) {
+ struct PyEvasObject *__pyx_v_o = NULL;
+ PyObject *__pyx_v_args = NULL;
+ PyObject *__pyx_v_kwargs = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *(*__pyx_t_7)(PyObject *);
+ int __pyx_t_8;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_slideshow_item_call", 0);
+ __Pyx_INCREF(__pyx_v_func);
+ __Pyx_INCREF(__pyx_v_data);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":20
+ *
+ * cdef _py_elm_slideshow_item_call(func, Evas_Object *obj, data) with gil:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * (args, kwargs) = data
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_1);
+ __Pyx_XGOTREF(__pyx_t_2);
+ __Pyx_XGOTREF(__pyx_t_3);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":21
+ * cdef _py_elm_slideshow_item_call(func, Evas_Object *obj, data) with gil:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * (args, kwargs) = data
+ * return func(o, *args, **kwargs)
+ */
+ __pyx_t_4 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":22
+ * try:
+ * o = Object_from_instance(obj)
+ * (args, kwargs) = data # <<<<<<<<<<<<<<
+ * return func(o, *args, **kwargs)
+ * except Exception as e:
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_data))) || (PyList_CheckExact(__pyx_v_data))) {
+ PyObject* sequence = __pyx_v_data;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ __pyx_t_4 = PyList_GET_ITEM(sequence, 0);
+ __pyx_t_5 = PyList_GET_ITEM(sequence, 1);
+ }
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_t_5);
+ } else {
+ Py_ssize_t index = -1;
+ __pyx_t_6 = PyObject_GetIter(__pyx_v_data); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = Py_TYPE(__pyx_t_6)->tp_iternext;
+ index = 0; __pyx_t_4 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_4)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_4);
+ index = 1; __pyx_t_5 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L11_unpacking_failed;
+ __Pyx_GOTREF(__pyx_t_5);
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L12_unpacking_done;
+ __pyx_L11_unpacking_failed:;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L12_unpacking_done:;
+ }
+ __pyx_v_args = __pyx_t_4;
+ __pyx_t_4 = 0;
+ __pyx_v_kwargs = __pyx_t_5;
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":23
+ * o = Object_from_instance(obj)
+ * (args, kwargs) = data
+ * return func(o, *args, **kwargs) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ __pyx_t_4 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __pyx_t_6 = PyNumber_Add(((PyObject *)__pyx_t_5), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_6));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ if (unlikely(__pyx_v_kwargs == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ if (likely(PyDict_Check(__pyx_v_kwargs))) {
+ __pyx_t_4 = __pyx_v_kwargs;
+ __Pyx_INCREF(__pyx_t_4);
+ } else {
+ __pyx_t_4 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_kwargs, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ }
+ __pyx_t_5 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_r = __pyx_t_5;
+ __pyx_t_5 = 0;
+ goto __pyx_L7_try_return;
+ }
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ goto __pyx_L10_try_end;
+ __pyx_L7_try_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L3_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":24
+ * (args, kwargs) = data
+ * return func(o, *args, **kwargs)
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return None
+ */
+ __pyx_t_8 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_8) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_slideshow_item_call", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(__pyx_t_4);
+ __pyx_v_e = __pyx_t_4;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":25
+ * return func(o, *args, **kwargs)
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return None
+ *
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":26
+ * except Exception as e:
+ * traceback.print_exc()
+ * return None # <<<<<<<<<<<<<<
+ *
+ * cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with gil:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L6_except_return;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ goto __pyx_L4_exception_handled;
+ }
+ __pyx_L5_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L1_error;
+ __pyx_L6_except_return:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ goto __pyx_L0;
+ __pyx_L4_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_1);
+ __Pyx_XGIVEREF(__pyx_t_2);
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
+ __pyx_L10_try_end:;
+ }
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_slideshow_item_call", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":28
+ * return None
+ *
+ * cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with gil: # <<<<<<<<<<<<<<
+ * cdef SlideshowItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static Evas_Object *__pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_get(void *__pyx_v_data, Evas_Object *__pyx_v_obj) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ PyObject *__pyx_v_ret = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ Evas_Object *__pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_slideshow_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":29
+ *
+ * cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with gil:
+ * cdef SlideshowItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef evasObject icon
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_SlideshowItem))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":30
+ * cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with gil:
+ * cdef SlideshowItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef evasObject icon
+ * cdef SlideshowItemClass itc = params[0]
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":32
+ * cdef object params = item.params
+ * cdef evasObject icon
+ * cdef SlideshowItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._get_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 32; __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_10elementary_12c_elementary_SlideshowItemClass))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":34
+ * cdef SlideshowItemClass itc = params[0]
+ *
+ * func = itc._get_func # <<<<<<<<<<<<<<
+ * if func is None:
+ * return NULL
+ */
+ __Pyx_INCREF(__pyx_v_itc->_get_func);
+ __pyx_v_func = __pyx_v_itc->_get_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":35
+ *
+ * func = itc._get_func
+ * if func is None: # <<<<<<<<<<<<<<
+ * return NULL
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":36
+ * func = itc._get_func
+ * if func is None:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * ret = _py_elm_slideshow_item_call(func, obj, params[1])
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":38
+ * return NULL
+ *
+ * ret = _py_elm_slideshow_item_call(func, obj, params[1]) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * try:
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_call(__pyx_v_func, __pyx_v_obj, __pyx_t_1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v_ret = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":39
+ *
+ * ret = _py_elm_slideshow_item_call(func, obj, params[1])
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * try:
+ * icon = ret
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":40
+ * ret = _py_elm_slideshow_item_call(func, obj, params[1])
+ * if ret is not None:
+ * try: # <<<<<<<<<<<<<<
+ * icon = ret
+ * return icon.obj
+ */
+ {
+ __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:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":41
+ * if ret is not None:
+ * try:
+ * icon = ret # <<<<<<<<<<<<<<
+ * return icon.obj
+ * except Exception as e:
+ */
+ if (!(likely(((__pyx_v_ret) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_ret, __pyx_ptype_4evas_6c_evas_Object))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_INCREF(__pyx_v_ret);
+ __pyx_v_icon = ((struct PyEvasObject *)__pyx_v_ret);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":42
+ * try:
+ * icon = ret
+ * return icon.obj # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_r = __pyx_v_icon->obj;
+ goto __pyx_L9_try_return;
+ }
+ __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_L9_try_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_L5_error:;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":43
+ * icon = ret
+ * return icon.obj
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return NULL
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_slideshow_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_v_e = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":44
+ * return icon.obj
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return NULL
+ * else:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":45
+ * except Exception as e:
+ * traceback.print_exc()
+ * return NULL # <<<<<<<<<<<<<<
+ * else:
+ * return NULL
+ */
+ __pyx_r = NULL;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L8_except_return;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __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_L8_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_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;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":47
+ * return NULL
+ * else:
+ * return NULL # <<<<<<<<<<<<<<
+ *
+ * cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil:
+ */
+ __pyx_r = NULL;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_slideshow_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_icon);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":49
+ * return NULL
+ *
+ * cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil: # <<<<<<<<<<<<<<
+ * cdef SlideshowItem item = <object>data
+ * cdef object params = item.params
+ */
+
+ static void __pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_del(void *__pyx_v_data, Evas_Object *__pyx_v_obj) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_item = 0;
+ PyObject *__pyx_v_params = 0;
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_itc = 0;
+ PyObject *__pyx_v_func = NULL;
+ struct PyEvasObject *__pyx_v_o = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_slideshow_item_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":50
+ *
+ * cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil:
+ * cdef SlideshowItem item = <object>data # <<<<<<<<<<<<<<
+ * cdef object params = item.params
+ * cdef SlideshowItemClass itc = params[0]
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_10elementary_12c_elementary_SlideshowItem))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data));
+ __pyx_v_item = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)((PyObject *)__pyx_v_data));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":51
+ * cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil:
+ * cdef SlideshowItem item = <object>data
+ * cdef object params = item.params # <<<<<<<<<<<<<<
+ * cdef SlideshowItemClass itc = params[0]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":52
+ * cdef SlideshowItem item = <object>data
+ * cdef object params = item.params
+ * cdef SlideshowItemClass itc = params[0] # <<<<<<<<<<<<<<
+ *
+ * func = itc._del_func
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 52; __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_10elementary_12c_elementary_SlideshowItemClass))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_itc = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":54
+ * cdef SlideshowItemClass itc = params[0]
+ *
+ * func = itc._del_func # <<<<<<<<<<<<<<
+ * if func is not None:
+ * try:
+ */
+ __Pyx_INCREF(__pyx_v_itc->_del_func);
+ __pyx_v_func = __pyx_v_itc->_del_func;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":55
+ *
+ * func = itc._del_func
+ * if func is not None: # <<<<<<<<<<<<<<
+ * try:
+ * o = Object_from_instance(obj)
+ */
+ __pyx_t_2 = (__pyx_v_func != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":56
+ * func = itc._del_func
+ * if func is not None:
+ * try: # <<<<<<<<<<<<<<
+ * o = Object_from_instance(obj)
+ * func(o, params[1])
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5);
+ __Pyx_XGOTREF(__pyx_t_3);
+ __Pyx_XGOTREF(__pyx_t_4);
+ __Pyx_XGOTREF(__pyx_t_5);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":57
+ * if func is not None:
+ * try:
+ * o = Object_from_instance(obj) # <<<<<<<<<<<<<<
+ * func(o, params[1])
+ * except Exception as e:
+ */
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(__pyx_v_obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_o = ((struct PyEvasObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":58
+ * try:
+ * o = Object_from_instance(obj)
+ * func(o, params[1]) # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_INCREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_o));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_o));
+ PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_6), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L4_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_6)); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ }
+ __Pyx_XDECREF(__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;
+ goto __pyx_L11_try_end;
+ __pyx_L4_error:;
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":59
+ * o = Object_from_instance(obj)
+ * func(o, params[1])
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * item._unset_obj()
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_slideshow_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_6, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_6);
+ __pyx_v_e = __pyx_t_6;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":60
+ * func(o, params[1])
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * item._unset_obj()
+ * Py_DECREF(item)
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L6_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L5_exception_handled;
+ }
+ __pyx_L6_except_error:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ goto __pyx_L1_error;
+ __pyx_L5_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_3);
+ __Pyx_XGIVEREF(__pyx_t_4);
+ __Pyx_XGIVEREF(__pyx_t_5);
+ __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+ __pyx_L11_try_end:;
+ }
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":61
+ * except Exception as e:
+ * traceback.print_exc()
+ * item._unset_obj() # <<<<<<<<<<<<<<
+ * Py_DECREF(item)
+ *
+ */
+ ((struct __pyx_vtabstruct_10elementary_12c_elementary_SlideshowItem *)__pyx_v_item->__pyx_base.__pyx_vtab)->_unset_obj(__pyx_v_item);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":62
+ * traceback.print_exc()
+ * item._unset_obj()
+ * Py_DECREF(item) # <<<<<<<<<<<<<<
+ *
+ * cdef int _py_elm_slideshow_compare_func(const_void *data1, const_void *data2) with gil:
+ */
+ Py_DECREF(((PyObject *)__pyx_v_item));
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_slideshow_item_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF((PyObject *)__pyx_v_itc);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF((PyObject *)__pyx_v_o);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":64
+ * Py_DECREF(item)
+ *
+ * cdef int _py_elm_slideshow_compare_func(const_void *data1, const_void *data2) with gil: # <<<<<<<<<<<<<<
+ * cdef SlideshowItem item1 = <object>data1
+ * cdef SlideshowItem item2 = <object>data2
+ */
+
+ static int __pyx_f_10elementary_12c_elementary__py_elm_slideshow_compare_func(const void *__pyx_v_data1, const void *__pyx_v_data2) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_item1 = 0;
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_item2 = 0;
+ PyObject *__pyx_v_params = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_ret = NULL;
+ CYTHON_UNUSED PyObject *__pyx_v_e = NULL;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ 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;
+ PyObject *__pyx_t_8 = NULL;
+ PyObject *__pyx_t_9 = NULL;
+ PyObject *__pyx_t_10 = 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_slideshow_compare_func", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":65
+ *
+ * cdef int _py_elm_slideshow_compare_func(const_void *data1, const_void *data2) with gil:
+ * cdef SlideshowItem item1 = <object>data1 # <<<<<<<<<<<<<<
+ * cdef SlideshowItem item2 = <object>data2
+ * cdef object params = item1.params
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data1)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data1), __pyx_ptype_10elementary_12c_elementary_SlideshowItem))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data1));
+ __pyx_v_item1 = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)((PyObject *)__pyx_v_data1));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":66
+ * cdef int _py_elm_slideshow_compare_func(const_void *data1, const_void *data2) with gil:
+ * cdef SlideshowItem item1 = <object>data1
+ * cdef SlideshowItem item2 = <object>data2 # <<<<<<<<<<<<<<
+ * cdef object params = item1.params
+ * cdef object func = params[2]
+ */
+ if (!(likely(((((PyObject *)__pyx_v_data2)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_data2), __pyx_ptype_10elementary_12c_elementary_SlideshowItem))))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_INCREF(((PyObject *)__pyx_v_data2));
+ __pyx_v_item2 = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)((PyObject *)__pyx_v_data2));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":67
+ * cdef SlideshowItem item1 = <object>data1
+ * cdef SlideshowItem item2 = <object>data2
+ * cdef object params = item1.params # <<<<<<<<<<<<<<
+ * cdef object func = params[2]
+ *
+ */
+ __Pyx_INCREF(__pyx_v_item1->__pyx_base.params);
+ __pyx_v_params = __pyx_v_item1->__pyx_base.params;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":68
+ * cdef SlideshowItem item2 = <object>data2
+ * cdef object params = item1.params
+ * cdef object func = params[2] # <<<<<<<<<<<<<<
+ *
+ * if func is None:
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_params, 2, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_func = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":70
+ * cdef object func = params[2]
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * return 0
+ *
+ */
+ __pyx_t_2 = (__pyx_v_func == Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":71
+ *
+ * if func is None:
+ * return 0 # <<<<<<<<<<<<<<
+ *
+ * ret = func(item1, item2)
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":73
+ * return 0
+ *
+ * ret = func(item1, item2) # <<<<<<<<<<<<<<
+ * if ret is not None:
+ * try:
+ */
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item1));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_item1));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item1));
+ __Pyx_INCREF(((PyObject *)__pyx_v_item2));
+ PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_item2));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item2));
+ __pyx_t_3 = PyObject_Call(__pyx_v_func, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_v_ret = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":74
+ *
+ * ret = func(item1, item2)
+ * if ret is not None: # <<<<<<<<<<<<<<
+ * try:
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_ret != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":75
+ * ret = func(item1, item2)
+ * if ret is not None:
+ * try: # <<<<<<<<<<<<<<
+ * return ret
+ * except Exception as e:
+ */
+ {
+ __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:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":76
+ * if ret is not None:
+ * try:
+ * return ret # <<<<<<<<<<<<<<
+ * except Exception as e:
+ * traceback.print_exc()
+ */
+ __pyx_t_7 = __Pyx_PyInt_AsInt(__pyx_v_ret); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __pyx_r = __pyx_t_7;
+ goto __pyx_L9_try_return;
+ }
+ __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_L9_try_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_L5_error:;
+ __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":77
+ * try:
+ * return ret
+ * except Exception as e: # <<<<<<<<<<<<<<
+ * traceback.print_exc()
+ * return 0
+ */
+ __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_Exception);
+ if (__pyx_t_7) {
+ __Pyx_AddTraceback("elementary.c_elementary._py_elm_slideshow_compare_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_8) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_t_8);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_v_e = __pyx_t_1;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":78
+ * return ret
+ * except Exception as e:
+ * traceback.print_exc() # <<<<<<<<<<<<<<
+ * return 0
+ * else:
+ */
+ __pyx_t_9 = __Pyx_GetName(__pyx_m, __pyx_n_s__traceback); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __pyx_t_10 = PyObject_GetAttr(__pyx_t_9, __pyx_n_s__print_exc); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_10);
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_t_9 = PyObject_Call(__pyx_t_10, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L7_except_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":79
+ * except Exception as e:
+ * traceback.print_exc()
+ * return 0 # <<<<<<<<<<<<<<
+ * else:
+ * return 0
+ */
+ __pyx_r = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L8_except_return;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L6_exception_handled;
+ }
+ __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_L8_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_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;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":81
+ * return 0
+ * else:
+ * return 0 # <<<<<<<<<<<<<<
+ *
+ * cdef class SlideshowItemClass (object):
+ */
+ __pyx_r = 0;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_WriteUnraisable("elementary.c_elementary._py_elm_slideshow_compare_func", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_item1);
+ __Pyx_XDECREF((PyObject *)__pyx_v_item2);
+ __Pyx_XDECREF(__pyx_v_params);
+ __Pyx_XDECREF(__pyx_v_func);
+ __Pyx_XDECREF(__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_e);
+ __Pyx_RefNannyFinishContext();
+ #ifdef WITH_THREAD
+ PyGILState_Release(__pyx_gilstate_save);
+ #endif
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED PyObject *__pyx_v_a = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_ka = 0;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
+ if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__cinit__", 1))) return -1;
+ __pyx_v_ka = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
+ if (unlikely(!__pyx_v_ka)) return -1;
+ __Pyx_GOTREF(__pyx_v_ka);
+ __Pyx_INCREF(__pyx_args);
+ __pyx_v_a = __pyx_args;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass___cinit__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self), __pyx_v_a, __pyx_v_ka);
+ __Pyx_XDECREF(__pyx_v_a);
+ __Pyx_XDECREF(__pyx_v_ka);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":116
+ * cdef readonly object _del_func
+ *
+ * def __cinit__(self, *a, **ka): # <<<<<<<<<<<<<<
+ * self._get_func = None
+ * self._del_func = None
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass___cinit__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_a, CYTHON_UNUSED PyObject *__pyx_v_ka) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__cinit__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":117
+ *
+ * def __cinit__(self, *a, **ka):
+ * self._get_func = None # <<<<<<<<<<<<<<
+ * self._del_func = None
+ *
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_get_func);
+ __Pyx_DECREF(__pyx_v_self->_get_func);
+ __pyx_v_self->_get_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":118
+ * def __cinit__(self, *a, **ka):
+ * self._get_func = None
+ * self._del_func = None # <<<<<<<<<<<<<<
+ *
+ * self.obj.func.get = _py_elm_slideshow_item_get
+ */
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ __Pyx_GOTREF(__pyx_v_self->_del_func);
+ __Pyx_DECREF(__pyx_v_self->_del_func);
+ __pyx_v_self->_del_func = Py_None;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":120
+ * self._del_func = None
+ *
+ * self.obj.func.get = _py_elm_slideshow_item_get # <<<<<<<<<<<<<<
+ * self.obj.func.del_ = _py_elm_slideshow_item_del
+ *
+ */
+ __pyx_v_self->obj.func.get = __pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_get;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":121
+ *
+ * self.obj.func.get = _py_elm_slideshow_item_get
+ * self.obj.func.del_ = _py_elm_slideshow_item_del # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, get_func=None, del_func=None):
+ */
+ __pyx_v_self->obj.func.del = __pyx_f_10elementary_12c_elementary__py_elm_slideshow_item_del;
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_get_func = 0;
+ PyObject *__pyx_v_del_func = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__get_func,&__pyx_n_s__del_func,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":123
+ * self.obj.func.del_ = _py_elm_slideshow_item_del
+ *
+ * def __init__(self, get_func=None, del_func=None): # <<<<<<<<<<<<<<
+ * if get_func and not callable(get_func):
+ * raise TypeError("get_func is not callable!")
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((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 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__get_func);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__del_func);
+ if (value) { values[1] = 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[62]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_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;
+ }
+ }
+ __pyx_v_get_func = values[0];
+ __pyx_v_del_func = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_2__init__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self), __pyx_v_get_func, __pyx_v_del_func);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static int __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_2__init__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self, PyObject *__pyx_v_get_func, PyObject *__pyx_v_del_func) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ int __pyx_t_9;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":124
+ *
+ * def __init__(self, get_func=None, del_func=None):
+ * if get_func and not callable(get_func): # <<<<<<<<<<<<<<
+ * raise TypeError("get_func is not callable!")
+ * elif get_func:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_get_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_get_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_get_func);
+ __Pyx_GIVEREF(__pyx_v_get_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_5 = (!__pyx_t_4);
+ __pyx_t_4 = __pyx_t_5;
+ } else {
+ __pyx_t_4 = __pyx_t_1;
+ }
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":125
+ * def __init__(self, get_func=None, del_func=None):
+ * if get_func and not callable(get_func):
+ * raise TypeError("get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif get_func:
+ * self._get_func = get_func
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_241), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 125; __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[62]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":126
+ * if get_func and not callable(get_func):
+ * raise TypeError("get_func is not callable!")
+ * elif get_func: # <<<<<<<<<<<<<<
+ * self._get_func = get_func
+ * else:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_get_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":127
+ * raise TypeError("get_func is not callable!")
+ * elif get_func:
+ * self._get_func = get_func # <<<<<<<<<<<<<<
+ * else:
+ * self._get_func = self.get
+ */
+ __Pyx_INCREF(__pyx_v_get_func);
+ __Pyx_GIVEREF(__pyx_v_get_func);
+ __Pyx_GOTREF(__pyx_v_self->_get_func);
+ __Pyx_DECREF(__pyx_v_self->_get_func);
+ __pyx_v_self->_get_func = __pyx_v_get_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":129
+ * self._get_func = get_func
+ * else:
+ * self._get_func = self.get # <<<<<<<<<<<<<<
+ *
+ * if del_func and not callable(del_func):
+ */
+ __pyx_t_3 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__get); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ __Pyx_GOTREF(__pyx_v_self->_get_func);
+ __Pyx_DECREF(__pyx_v_self->_get_func);
+ __pyx_v_self->_get_func = __pyx_t_3;
+ __pyx_t_3 = 0;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":131
+ * self._get_func = self.get
+ *
+ * if del_func and not callable(del_func): # <<<<<<<<<<<<<<
+ * raise TypeError("del_func is not callable!")
+ * elif del_func:
+ */
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_del_func); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_4) {
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_del_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_del_func);
+ __Pyx_GIVEREF(__pyx_v_del_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_5 = (!__pyx_t_1);
+ __pyx_t_1 = __pyx_t_5;
+ } else {
+ __pyx_t_1 = __pyx_t_4;
+ }
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":132
+ *
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!") # <<<<<<<<<<<<<<
+ * elif del_func:
+ * self._del_func = del_func
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_242), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":133
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!")
+ * elif del_func: # <<<<<<<<<<<<<<
+ * self._del_func = del_func
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_del_func); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":134
+ * raise TypeError("del_func is not callable!")
+ * elif del_func:
+ * self._del_func = del_func # <<<<<<<<<<<<<<
+ * else:
+ * try:
+ */
+ __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_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":136
+ * self._del_func = del_func
+ * else:
+ * try: # <<<<<<<<<<<<<<
+ * self._del_func = self.delete
+ * except AttributeError:
+ */
+ {
+ __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+ __Pyx_XGOTREF(__pyx_t_6);
+ __Pyx_XGOTREF(__pyx_t_7);
+ __Pyx_XGOTREF(__pyx_t_8);
+ /*try:*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":137
+ * else:
+ * try:
+ * self._del_func = self.delete # <<<<<<<<<<<<<<
+ * except AttributeError:
+ * pass
+ */
+ __pyx_t_2 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__delete); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_GOTREF(__pyx_v_self->_del_func);
+ __Pyx_DECREF(__pyx_v_self->_del_func);
+ __pyx_v_self->_del_func = __pyx_t_2;
+ __pyx_t_2 = 0;
+ }
+ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+ goto __pyx_L12_try_end;
+ __pyx_L5_error:;
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":138
+ * try:
+ * self._del_func = self.delete
+ * except AttributeError: # <<<<<<<<<<<<<<
+ * pass
+ *
+ */
+ __pyx_t_9 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
+ if (__pyx_t_9) {
+ PyErr_Restore(0,0,0);
+ goto __pyx_L6_exception_handled;
+ }
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ goto __pyx_L1_error;
+ __pyx_L6_exception_handled:;
+ __Pyx_XGIVEREF(__pyx_t_6);
+ __Pyx_XGIVEREF(__pyx_t_7);
+ __Pyx_XGIVEREF(__pyx_t_8);
+ __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
+ __pyx_L12_try_end:;
+ }
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItemClass.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_5__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_5__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_4__str__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":141
+ * pass
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return ("%s(get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_4__str__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__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("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":142
+ *
+ * def __str__(self):
+ * return ("%s(get_func=%s, del_func=%s)") % \ # <<<<<<<<<<<<<<
+ * (self.__class__.__name__,
+ * self._get_func,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":143
+ * def __str__(self):
+ * return ("%s(get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self._get_func,
+ * self._del_func)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":145
+ * (self.__class__.__name__,
+ * self._get_func,
+ * self._del_func) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_self->_get_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->_get_func);
+ __Pyx_GIVEREF(__pyx_v_self->_get_func);
+ __Pyx_INCREF(__pyx_v_self->_del_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_self->_del_func);
+ __Pyx_GIVEREF(__pyx_v_self->_del_func);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_243), ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.SlideshowItemClass.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_7__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_7__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_6__repr__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":147
+ * self._del_func)
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Slideshow_Item_Class=%#x, "
+ * "get_func=%s, del_func=%s)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_6__repr__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":148
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Slideshow_Item_Class=%#x, " # <<<<<<<<<<<<<<
+ * "get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":150
+ * return ("%s(%#x, refcount=%d, Elm_Slideshow_Item_Class=%#x, "
+ * "get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":151
+ * "get_func=%s, del_func=%s)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void *>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>&self.obj,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":152
+ * (self.__class__.__name__,
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>&self.obj,
+ * self._get_func,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":153
+ * <unsigned long><void *>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>&self.obj, # <<<<<<<<<<<<<<
+ * self._get_func,
+ * self._del_func)
+ */
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)(&__pyx_v_self->obj))); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":155
+ * <unsigned long>&self.obj,
+ * self._get_func,
+ * self._del_func) # <<<<<<<<<<<<<<
+ *
+ * def get(self, evasObject obj, item_data):
+ */
+ __pyx_t_5 = PyTuple_New(6); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __Pyx_INCREF(__pyx_v_self->_get_func);
+ PyTuple_SET_ITEM(__pyx_t_5, 4, __pyx_v_self->_get_func);
+ __Pyx_GIVEREF(__pyx_v_self->_get_func);
+ __Pyx_INCREF(__pyx_v_self->_del_func);
+ PyTuple_SET_ITEM(__pyx_t_5, 5, __pyx_v_self->_del_func);
+ __Pyx_GIVEREF(__pyx_v_self->_del_func);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_244), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItemClass.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18SlideshowItemClass_8get[] = "get(obj, item_data)\n\n To be called by Slideshow for each item to get its icon.\n\n @param obj: the Slideshow instance\n @param item_data: the value given to slideshow append/prepend.\n\n @return: icon object to be used and swallowed.\n @rtype: evas Object or None\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9get(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj = 0;
+ CYTHON_UNUSED PyObject *__pyx_v_item_data = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__obj,&__pyx_n_s__item_data,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("get (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__obj);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_data);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("get", 1, 2, 2, 1); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "get") < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 157; __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_obj = ((struct PyEvasObject *)values[0]);
+ __pyx_v_item_data = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("get", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItemClass.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_4evas_6c_evas_Object, 1, "obj", 0))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_8get(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self), __pyx_v_obj, __pyx_v_item_data);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":157
+ * self._del_func)
+ *
+ * def get(self, evasObject obj, item_data): # <<<<<<<<<<<<<<
+ * """get(obj, item_data)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_8get(CYTHON_UNUSED struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self, CYTHON_UNUSED struct PyEvasObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_item_data) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":168
+ * @rtype: evas Object or None
+ * """
+ * return None # <<<<<<<<<<<<<<
+ *
+ * cdef class SlideshowItem(ObjectItem):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9_get_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9_get_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_9_get_func___get__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":113
+ * """
+ * cdef Elm_Slideshow_Item_Class obj
+ * cdef readonly object _get_func # <<<<<<<<<<<<<<
+ * cdef readonly object _del_func
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_9_get_func___get__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_get_func);
+ __pyx_r = __pyx_v_self->_get_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9_del_func_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9_del_func_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_9_del_func___get__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":114
+ * cdef Elm_Slideshow_Item_Class obj
+ * cdef readonly object _get_func
+ * cdef readonly object _del_func # <<<<<<<<<<<<<<
+ *
+ * def __cinit__(self, *a, **ka):
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SlideshowItemClass_9_del_func___get__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__", 0);
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_self->_del_func);
+ __pyx_r = __pyx_v_self->_del_func;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":174
+ * """An item for Slideshow."""
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0: # <<<<<<<<<<<<<<
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ */
+
+ int __pyx_f_10elementary_12c_elementary_13SlideshowItem__set_obj(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, Elm_Object_Item *__pyx_v_item, struct __pyx_opt_args_10elementary_12c_elementary_13SlideshowItem__set_obj *__pyx_optional_args) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_set_obj", 0);
+ if (__pyx_optional_args) {
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":175
+ *
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0:
+ * assert self.item == NULL, "Object must be clean" # <<<<<<<<<<<<<<
+ * self.item = item
+ * Py_INCREF(self)
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_self->item == NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_39));
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":176
+ * cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0:
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item # <<<<<<<<<<<<<<
+ * Py_INCREF(self)
+ * return 1
+ */
+ __pyx_v_self->item = __pyx_v_item;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":177
+ * assert self.item == NULL, "Object must be clean"
+ * self.item = item
+ * Py_INCREF(self) # <<<<<<<<<<<<<<
+ * return 1
+ *
+ */
+ Py_INCREF(((PyObject *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":178
+ * self.item = item
+ * Py_INCREF(self)
+ * return 1 # <<<<<<<<<<<<<<
+ *
+ * cdef void _unset_obj(self):
+ */
+ __pyx_r = 1;
+ goto __pyx_L0;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItem._set_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ int __pyx_f_10elementary_12c_elementary_13SlideshowItem__set_obj__pyx_wrap_1(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *__pyx_v_self, Elm_Object_Item *__pyx_v_item) {
+ return __pyx_f_10elementary_12c_elementary_13SlideshowItem__set_obj(__pyx_v_self, __pyx_v_item, NULL);
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":180
+ * return 1
+ *
+ * cdef void _unset_obj(self): # <<<<<<<<<<<<<<
+ * assert self.item != NULL, "Object must wrap something"
+ * self.item = NULL
+ */
+
+ static void __pyx_f_10elementary_12c_elementary_13SlideshowItem__unset_obj(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_self) {
+ __Pyx_RefNannyDeclarations
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("_unset_obj", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":181
+ *
+ * cdef void _unset_obj(self):
+ * assert self.item != NULL, "Object must wrap something" # <<<<<<<<<<<<<<
+ * self.item = NULL
+ *
+ */
+ #ifndef CYTHON_WITHOUT_ASSERTIONS
+ if (unlikely(!(__pyx_v_self->__pyx_base.item != NULL))) {
+ PyErr_SetObject(PyExc_AssertionError, ((PyObject *)__pyx_kp_s_126));
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ #endif
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":182
+ * cdef void _unset_obj(self):
+ * assert self.item != NULL, "Object must wrap something"
+ * self.item = NULL # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ __pyx_v_self->__pyx_base.item = NULL;
+
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_WriteUnraisable("elementary.c_elementary.SlideshowItem._unset_obj", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_1__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_1__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13SlideshowItem___str__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":184
+ * self.item = NULL
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem___str__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":185
+ *
+ * def __str__(self):
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \ # <<<<<<<<<<<<<<
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":186
+ * def __str__(self):
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[0].__class__.__name__,
+ * self.params[3],
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":187
+ * return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[3],
+ * self.params[1])
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____class__); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s____name__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":188
+ * (self.__class__.__name__,
+ * self.params[0].__class__.__name__,
+ * self.params[3], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 3, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":189
+ * self.params[0].__class__.__name__,
+ * self.params[3],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_4) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_4 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_127), ((PyObject *)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_4);
+ __pyx_t_4 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItem.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_3__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_3__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13SlideshowItem_2__repr__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":191
+ * self.params[1])
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem_2__repr__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__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;
+ unsigned long __pyx_t_5;
+ 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_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":192
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, " # <<<<<<<<<<<<<<
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":194
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":195
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.obj,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":196
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>self.obj,
+ * self.params[0].__class__.__name__,
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":197
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.obj, # <<<<<<<<<<<<<<
+ * self.params[0].__class__.__name__,
+ * self.params[3],
+ */
+ __pyx_t_4 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s__obj); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = __Pyx_PyInt_AsUnsignedLong(__pyx_t_4); if (unlikely((__pyx_t_5 == (unsigned long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)__pyx_t_5)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":198
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.obj,
+ * self.params[0].__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[3],
+ * self.params[1])
+ */
+ __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_6) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = PyObject_GetAttr(__pyx_t_6, __pyx_n_s____class__); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ __pyx_t_6 = PyObject_GetAttr(__pyx_t_7, __pyx_n_s____name__); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":199
+ * <unsigned long>self.obj,
+ * self.params[0].__class__.__name__,
+ * self.params[3], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 3, sizeof(long), PyInt_FromLong); if (!__pyx_t_7) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":200
+ * self.params[0].__class__.__name__,
+ * self.params[3],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * property object:
+ */
+ __pyx_t_8 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_8) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_8);
+ __pyx_t_9 = PyTuple_New(7); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_9);
+ PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_9, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_9, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_9, 4, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ PyTuple_SET_ITEM(__pyx_t_9, 5, __pyx_t_7);
+ __Pyx_GIVEREF(__pyx_t_7);
+ PyTuple_SET_ITEM(__pyx_t_9, 6, __pyx_t_8);
+ __Pyx_GIVEREF(__pyx_t_8);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_7 = 0;
+ __pyx_t_8 = 0;
+ __pyx_t_8 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_128), ((PyObject *)__pyx_t_9)); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_8));
+ __Pyx_DECREF(((PyObject *)__pyx_t_9)); __pyx_t_9 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_8);
+ __pyx_t_8 = 0;
+ goto __pyx_L0;
+
+ __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_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_XDECREF(__pyx_t_9);
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_6object_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_6object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13SlideshowItem_6object___get__(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":219
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_slideshow_item_object_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":220
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_slideshow_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def show(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_slideshow_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SlideshowItem.object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_5show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_13SlideshowItem_4show[] = "show()\n\n Display a given slideshow widget's item, programmatically.\n\n The change between the current item and this item will use the\n transition the slideshow object is set to use.\n\n @see: L{Slideshow.transition_set()}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_13SlideshowItem_5show(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_13SlideshowItem_4show(((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":222
+ * return Object_from_instance(elm_slideshow_item_object_get(self.item))
+ *
+ * def show(self): # <<<<<<<<<<<<<<
+ * """show()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_13SlideshowItem_4show(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":233
+ *
+ * """
+ * elm_slideshow_item_show(self.item) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ elm_slideshow_item_show(__pyx_v_self->__pyx_base.item);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 290; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow___init__(((struct PyElementarySlideshow *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":290
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_slideshow_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow___init__(struct PyElementarySlideshow *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":291
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_slideshow_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 291; __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[62]; __pyx_lineno = 291; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 291; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":292
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_slideshow_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_add(self, SlideshowItemClass item_class not None, *args, **kwargs):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Slideshow *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_slideshow_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Slideshow.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_3item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_2item_add[] = "item_add(item_class, *args, **kwargs)\n\n Add (append) a new item in a given slideshow widget.\n\n Add a new item to C{obj's} internal list of items, appending it.\n The item's class must contain the function really fetching the\n image object to show for this item, which could be an Evas image\n object or an Elementary photo, for example. The C{data}\n parameter is going to be passed to both class functions of the\n item.\n\n @see: Elm_Slideshow_Item_Class\n @see: L{item_sorted_insert()}\n @see: L{ObjectItem.data}\n\n @param item_class: The item class for the item\n @type item_class: SlideshowItemClass\n\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{SlideshowItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_3item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[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, "item_add") < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 294; __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_item_class = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 294; __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("elementary.c_elementary.Slideshow.item_add", __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_10elementary_12c_elementary_SlideshowItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_2item_add(((struct PyElementarySlideshow *)__pyx_v_self), __pyx_v_item_class, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":294
+ * self._set_obj(elm_slideshow_add(parent.obj))
+ *
+ * def item_add(self, SlideshowItemClass item_class not None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_add(item_class, *args, **kwargs)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_2item_add(struct PyElementarySlideshow *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_item_class, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_v_item_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":317
+ *
+ * """
+ * cdef SlideshowItem ret = SlideshowItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_SlideshowItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":320
+ * cdef Elm_Object_Item *item
+ *
+ * item_data = (args, kwargs) # <<<<<<<<<<<<<<
+ * ret.params = (item_class, item_data)
+ * item = elm_slideshow_item_add(self.obj, &item_class.obj, <void*>ret)
+ */
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_item_data = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":321
+ *
+ * item_data = (args, kwargs)
+ * ret.params = (item_class, item_data) # <<<<<<<<<<<<<<
+ * item = elm_slideshow_item_add(self.obj, &item_class.obj, <void*>ret)
+ * if item != NULL:
+ */
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_class));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_item_class));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_class));
+ __Pyx_INCREF(((PyObject *)__pyx_v_item_data));
+ PyTuple_SET_ITEM(__pyx_t_1, 1, ((PyObject *)__pyx_v_item_data));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_item_data));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_1));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":322
+ * item_data = (args, kwargs)
+ * ret.params = (item_class, item_data)
+ * item = elm_slideshow_item_add(self.obj, &item_class.obj, <void*>ret) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_slideshow_item_add(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":323
+ * ret.params = (item_class, item_data)
+ * item = elm_slideshow_item_add(self.obj, &item_class.obj, <void*>ret)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_2 = (__pyx_v_item != NULL);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":324
+ * item = elm_slideshow_item_add(self.obj, &item_class.obj, <void*>ret)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_3 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_SlideshowItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->_set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item, NULL); if (unlikely(__pyx_t_3 == 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 324; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":325
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":327
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_sorted_insert(self, SlideshowItemClass item_class not None,
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_item_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_5item_sorted_insert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_4item_sorted_insert[] = "item_sorted_insert(itc, func, *args, **kwargs)\n\n Insert a new item into the given slideshow widget, using the C{func}\n function to sort items (by item handles).\n\n Add a new item to C{obj}'s internal list of items, in a position\n determined by the C{func} comparing function. The item's class\n must contain the function really fetching the image object to\n show for this item, which could be an Evas image object or an\n Elementary photo, for example. The C{data} parameter is going to\n be passed to both class functions of the item.\n\n The compare function compares data1 and data2. If data1 is 'less'\n than data2, -1 must be returned, if it is 'greater', 1 must be\n returned, and if they are equal, 0 must be returned.\n\n @see: L{SlideshowItemClass}\n @see: L{item_add()}\n\n @param itc: The item class for the item\n @param func: The comparing function to be used to sort slideshow\n items B{by SlideshowItemClass item handles}\n @return: Returns The slideshow item handle, on success, or\n C{None}, on errors\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_5item_sorted_insert(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_item_class = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__item_class,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_sorted_insert (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) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, 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);
+ }
+ {
+ 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) {
+ default:
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__item_class);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("item_sorted_insert", 0, 2, 2, 1); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_sorted_insert") < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 329; __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_item_class = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)values[0]);
+ __pyx_v_func = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_sorted_insert", 0, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 329; __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("elementary.c_elementary.Slideshow.item_sorted_insert", __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_10elementary_12c_elementary_SlideshowItemClass, 0, "item_class", 0))) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(((PyObject *)__pyx_v_func) == Py_None)) {
+ PyErr_Format(PyExc_TypeError, "Argument 'func' must not be None"); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_4item_sorted_insert(((struct PyElementarySlideshow *)__pyx_v_self), __pyx_v_item_class, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":329
+ * return None
+ *
+ * def item_sorted_insert(self, SlideshowItemClass item_class not None, # <<<<<<<<<<<<<<
+ * func not None, *args, **kwargs):
+ * """item_sorted_insert(itc, func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_4item_sorted_insert(struct PyElementarySlideshow *__pyx_v_self, struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *__pyx_v_item_class, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ Eina_Compare_Cb __pyx_v_compare;
+ PyObject *__pyx_v_item_data = NULL;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_t_3;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_sorted_insert", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":357
+ *
+ * """
+ * cdef SlideshowItem ret = SlideshowItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ * cdef Eina_Compare_Cb compare
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_SlideshowItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":361
+ * cdef Eina_Compare_Cb compare
+ *
+ * if callable(func): # <<<<<<<<<<<<<<
+ * compare = _py_elm_slideshow_compare_func
+ * else:
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 361; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":362
+ *
+ * if callable(func):
+ * compare = _py_elm_slideshow_compare_func # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_compare = __pyx_f_10elementary_12c_elementary__py_elm_slideshow_compare_func;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":364
+ * compare = _py_elm_slideshow_compare_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * item_data = (args, kwargs)
+ */
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_245), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ {__pyx_filename = __pyx_f[62]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":366
+ * raise TypeError("func is not None or callable")
+ *
+ * item_data = (args, kwargs) # <<<<<<<<<<<<<<
+ * ret.params = (item_class, item_data, func)
+ * item = elm_slideshow_item_sorted_insert(self.obj, &item_class.obj, <void*>ret, compare)
+ */
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __pyx_v_item_data = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":367
+ *
+ * item_data = (args, kwargs)
+ * ret.params = (item_class, item_data, func) # <<<<<<<<<<<<<<
+ * item = elm_slideshow_item_sorted_insert(self.obj, &item_class.obj, <void*>ret, compare)
+ * if item != NULL:
+ */
+ __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 367; __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(((PyObject *)__pyx_v_item_data));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_item_data));
+ __Pyx_GIVEREF(((PyObject *)__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_GIVEREF(((PyObject *)__pyx_t_2));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":368
+ * item_data = (args, kwargs)
+ * ret.params = (item_class, item_data, func)
+ * item = elm_slideshow_item_sorted_insert(self.obj, &item_class.obj, <void*>ret, compare) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_slideshow_item_sorted_insert(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, (&__pyx_v_item_class->obj), ((void *)__pyx_v_ret), __pyx_v_compare);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":369
+ * ret.params = (item_class, item_data, func)
+ * item = elm_slideshow_item_sorted_insert(self.obj, &item_class.obj, <void*>ret, compare)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":370
+ * item = elm_slideshow_item_sorted_insert(self.obj, &item_class.obj, <void*>ret, compare)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_SlideshowItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->_set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item, NULL); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":371
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":373
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def next(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L4:;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.item_sorted_insert", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XDECREF(__pyx_v_item_data);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_7next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_6next[] = "next()\n\n Slide to the B{next} item, in a given slideshow widget\n\n The sliding animation the object is set to use will be the\n transition effect used, after this call is issued.\n\n @note: If the end of the slideshow's internal list of items is\n reached, it'll wrap around to the list's beginning, again.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_7next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("next (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_6next(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":375
+ * return None
+ *
+ * def next(self): # <<<<<<<<<<<<<<
+ * """next()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_6next(struct PyElementarySlideshow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("next", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":387
+ *
+ * """
+ * elm_slideshow_next(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def previous(self):
+ */
+ elm_slideshow_next(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_9previous(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_8previous[] = "previous()\n\n Slide to the B{previous} item, in a given slideshow widget\n\n The sliding animation the object is set to use will be the\n transition effect used, after this call is issued.\n\n @note: If the beginning of the slideshow's internal list of items\n is reached, it'll wrap around to the list's end, again.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_9previous(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("previous (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_8previous(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":389
+ * elm_slideshow_next(self.obj)
+ *
+ * def previous(self): # <<<<<<<<<<<<<<
+ * """previous()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_8previous(struct PyElementarySlideshow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("previous", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":401
+ *
+ * """
+ * elm_slideshow_previous(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property transitions:
+ */
+ elm_slideshow_previous(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_11transitions_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_11transitions_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_11transitions___get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":431
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_strings_to_python(elm_slideshow_transitions_get(self.obj)))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_11transitions___get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":432
+ * """
+ * def __get__(self):
+ * return tuple(_strings_to_python(elm_slideshow_transitions_get(self.obj))) # <<<<<<<<<<<<<<
+ *
+ * property transition:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(elm_slideshow_transitions_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 432; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.transitions.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_10transition_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_transition); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_10transition_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_transition) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_10transition___set__(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_transition));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":444
+ *
+ * """
+ * def __set__(self, transition): # <<<<<<<<<<<<<<
+ * elm_slideshow_transition_set(self.obj, _cfruni(transition))
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow_10transition___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_transition) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":445
+ * """
+ * def __set__(self, transition):
+ * elm_slideshow_transition_set(self.obj, _cfruni(transition)) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return _ctouni(elm_slideshow_transition_get(self.obj))
+ */
+ elm_slideshow_transition_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_transition));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_10transition_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_10transition_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_10transition_2__get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":446
+ * def __set__(self, transition):
+ * elm_slideshow_transition_set(self.obj, _cfruni(transition))
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_slideshow_transition_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_10transition_2__get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":447
+ * elm_slideshow_transition_set(self.obj, _cfruni(transition))
+ * def __get__(self):
+ * return _ctouni(elm_slideshow_transition_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property timeout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_slideshow_transition_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.transition.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_7timeout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_7timeout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_7timeout___set__(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":467
+ *
+ * """
+ * def __set__(self, timeout): # <<<<<<<<<<<<<<
+ * elm_slideshow_timeout_set(self.obj, timeout)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow_7timeout___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":468
+ * """
+ * def __set__(self, timeout):
+ * elm_slideshow_timeout_set(self.obj, timeout) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_slideshow_timeout_get(self.obj)
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_timeout); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slideshow_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_7timeout_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_7timeout_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_7timeout_2__get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":469
+ * def __set__(self, timeout):
+ * elm_slideshow_timeout_set(self.obj, timeout)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_slideshow_timeout_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_7timeout_2__get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":470
+ * elm_slideshow_timeout_set(self.obj, timeout)
+ * def __get__(self):
+ * return elm_slideshow_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property loop:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_slideshow_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_4loop_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_loop); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_4loop_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_loop) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_4loop___set__(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_loop));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":484
+ *
+ * """
+ * def __set__(self, loop): # <<<<<<<<<<<<<<
+ * elm_slideshow_loop_set(self.obj, loop)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow_4loop___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_loop) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":485
+ * """
+ * def __set__(self, loop):
+ * elm_slideshow_loop_set(self.obj, loop) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_slideshow_loop_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_loop); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 485; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slideshow_loop_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.loop.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_4loop_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_4loop_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_4loop_2__get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":486
+ * def __set__(self, loop):
+ * elm_slideshow_loop_set(self.obj, loop)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_slideshow_loop_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_4loop_2__get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":487
+ * elm_slideshow_loop_set(self.obj, loop)
+ * def __get__(self):
+ * return bool(elm_slideshow_loop_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def clear(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_slideshow_loop_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 487; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.loop.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_11clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_10clear[] = "clear()\n\n Remove all items from a given slideshow widget.\n\n This removes (and deletes) all items in the object, leaving it empty.\n\n @see: L{ObjectItem.delete()}, to remove just one item.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_11clear(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_10clear(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":489
+ * return bool(elm_slideshow_loop_get(self.obj))
+ *
+ * def clear(self): # <<<<<<<<<<<<<<
+ * """clear()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_10clear(struct PyElementarySlideshow *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("clear", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":499
+ *
+ * """
+ * elm_slideshow_clear(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ elm_slideshow_clear(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_5items___get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":515
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_object_item_list_to_python(elm_slideshow_items_get(self.obj)))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_5items___get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":516
+ * """
+ * def __get__(self):
+ * return tuple(_object_item_list_to_python(elm_slideshow_items_get(self.obj))) # <<<<<<<<<<<<<<
+ *
+ * property current_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_slideshow_items_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 516; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_12current_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_12current_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_12current_item___get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":524
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_slideshow_item_current_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_12current_item___get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":525
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_slideshow_item_current_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def nth_item_get(self, nth):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_slideshow_item_current_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 525; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.current_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_13nth_item_get(PyObject *__pyx_v_self, PyObject *__pyx_v_nth); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_12nth_item_get[] = "nth_item_get(nth)\n\n Get the the item, in a given slideshow widget, placed at position\n C{nth} in its internal items list.\n\n @param nth: The number of the item to grab a handle to (0 being the\n first)\n @type nth: int\n\n @return: The item stored in C{obj} at position C{nth} or C{None},\n if there's no item with that index (and on errors)\n @rtype: L{SlideshowItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_13nth_item_get(PyObject *__pyx_v_self, PyObject *__pyx_v_nth) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("nth_item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_12nth_item_get(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_nth));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":527
+ * return _object_item_to_python(elm_slideshow_item_current_get(self.obj))
+ *
+ * def nth_item_get(self, nth): # <<<<<<<<<<<<<<
+ * """nth_item_get(nth)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_12nth_item_get(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_nth) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ unsigned int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("nth_item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":542
+ *
+ * """
+ * return _object_item_to_python(elm_slideshow_item_nth_get(self.obj, nth)) # <<<<<<<<<<<<<<
+ *
+ * property layout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsUnsignedInt(__pyx_v_nth); if (unlikely((__pyx_t_1 == (unsigned int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_slideshow_item_nth_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 542; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.nth_item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_6layout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layout); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_6layout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_layout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_6layout___set__(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_layout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":554
+ *
+ * """
+ * def __set__(self, layout): # <<<<<<<<<<<<<<
+ * elm_slideshow_layout_set(self.obj, _cfruni(layout))
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow_6layout___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_layout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":555
+ * """
+ * def __set__(self, layout):
+ * elm_slideshow_layout_set(self.obj, _cfruni(layout)) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return _ctouni(elm_slideshow_layout_get(self.obj))
+ */
+ elm_slideshow_layout_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_layout));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_6layout_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_6layout_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_6layout_2__get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":556
+ * def __set__(self, layout):
+ * elm_slideshow_layout_set(self.obj, _cfruni(layout))
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_slideshow_layout_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_6layout_2__get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":557
+ * elm_slideshow_layout_set(self.obj, _cfruni(layout))
+ * def __get__(self):
+ * return _ctouni(elm_slideshow_layout_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property layouts:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_slideshow_layout_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 557; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.layout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_7layouts_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_7layouts_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_7layouts___get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":585
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_strings_to_python(elm_slideshow_layouts_get(self.obj)))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_7layouts___get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":586
+ * """
+ * def __get__(self):
+ * return tuple(_strings_to_python(elm_slideshow_layouts_get(self.obj))) # <<<<<<<<<<<<<<
+ *
+ * property cache_before:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__strings_to_python(elm_slideshow_layouts_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 586; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.layouts.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_12cache_before_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_count); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_12cache_before_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_count) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_12cache_before___set__(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_count));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":598
+ *
+ * """
+ * def __set__(self, count): # <<<<<<<<<<<<<<
+ * elm_slideshow_cache_before_set(self.obj, count)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow_12cache_before___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_count) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":599
+ * """
+ * def __set__(self, count):
+ * elm_slideshow_cache_before_set(self.obj, count) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_slideshow_cache_before_get(self.obj)
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_count); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 599; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slideshow_cache_before_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.cache_before.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_12cache_before_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_12cache_before_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_12cache_before_2__get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":600
+ * def __set__(self, count):
+ * elm_slideshow_cache_before_set(self.obj, count)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_slideshow_cache_before_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_12cache_before_2__get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":601
+ * elm_slideshow_cache_before_set(self.obj, count)
+ * def __get__(self):
+ * return elm_slideshow_cache_before_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property cache_after:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_slideshow_cache_before_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 601; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.cache_before.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_11cache_after_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_count); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9Slideshow_11cache_after_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_count) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_11cache_after___set__(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_count));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":615
+ *
+ * """
+ * def __set__(self, count): # <<<<<<<<<<<<<<
+ * elm_slideshow_cache_after_set(self.obj, count)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_9Slideshow_11cache_after___set__(struct PyElementarySlideshow *__pyx_v_self, PyObject *__pyx_v_count) {
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":616
+ * """
+ * def __set__(self, count):
+ * elm_slideshow_cache_after_set(self.obj, count) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_slideshow_cache_after_get(self.obj)
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_count); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 616; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_slideshow_cache_after_set(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.cache_after.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_11cache_after_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_11cache_after_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_11cache_after_2__get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":617
+ * def __set__(self, count):
+ * elm_slideshow_cache_after_set(self.obj, count)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_slideshow_cache_after_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_11cache_after_2__get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":618
+ * elm_slideshow_cache_after_set(self.obj, count)
+ * def __get__(self):
+ * return elm_slideshow_cache_after_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property count:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_slideshow_cache_after_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.cache_after.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_5count_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_5count_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_5count___get__(((struct PyElementarySlideshow *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":626
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_slideshow_count_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_5count___get__(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":627
+ * """
+ * def __get__(self):
+ * return elm_slideshow_count_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyLong_FromUnsignedLong(elm_slideshow_count_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Slideshow.count.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_15callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_14callback_changed_add[] = "When the slideshow switches its view to a new item. event_info\n parameter in callback contains the current visible item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_15callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[62]; __pyx_lineno = 629; __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[62]; __pyx_lineno = 629; __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("elementary.c_elementary.Slideshow.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_14callback_changed_add(((struct PyElementarySlideshow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":629
+ * return elm_slideshow_count_get(self.obj)
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the slideshow switches its view to a new item. event_info
+ * parameter in callback contains the current visible item."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_14callback_changed_add(struct PyElementarySlideshow *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":632
+ * """When the slideshow switches its view to a new item. event_info
+ * parameter in callback contains the current visible item."""
+ * self._callback_add_full("changed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":633
+ * parameter in callback contains the current visible item."""
+ * self._callback_add_full("changed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__changed));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":632
+ * """When the slideshow switches its view to a new item. event_info
+ * parameter in callback contains the current visible item."""
+ * self._callback_add_full("changed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":633
+ * parameter in callback contains the current visible item."""
+ * self._callback_add_full("changed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Slideshow.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_17callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_17callback_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_10elementary_12c_elementary_9Slideshow_16callback_changed_del(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":635
+ * func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("changed", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_16callback_changed_del(struct PyElementarySlideshow *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":636
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del_full("changed", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * def callback_transition_end_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 636; __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[62]; __pyx_lineno = 636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__changed));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 636; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_19callback_transition_end_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_9Slideshow_18callback_transition_end_add[] = "When a slide transition ends. event_info parameter in callback\n contains the current visible item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_19callback_transition_end_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_transition_end_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_transition_end_add") < 0)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 638; __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_transition_end_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[62]; __pyx_lineno = 638; __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("elementary.c_elementary.Slideshow.callback_transition_end_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_18callback_transition_end_add(((struct PyElementarySlideshow *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":638
+ * self._callback_del_full("changed", _cb_object_item_conv, func)
+ *
+ * def callback_transition_end_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When a slide transition ends. event_info parameter in callback
+ * contains the current visible item."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_18callback_transition_end_add(struct PyElementarySlideshow *__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_transition_end_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":641
+ * """When a slide transition ends. event_info parameter in callback
+ * contains the current visible item."""
+ * self._callback_add_full("transition,end", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":642
+ * contains the current visible item."""
+ * self._callback_add_full("transition,end", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_transition_end_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_246));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_246));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_246));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":641
+ * """When a slide transition ends. event_info parameter in callback
+ * contains the current visible item."""
+ * self._callback_add_full("transition,end", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":642
+ * contains the current visible item."""
+ * self._callback_add_full("transition,end", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_transition_end_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 641; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.Slideshow.callback_transition_end_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_21callback_transition_end_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9Slideshow_21callback_transition_end_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_transition_end_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9Slideshow_20callback_transition_end_del(((struct PyElementarySlideshow *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":644
+ * func, *args, **kwargs)
+ *
+ * def callback_transition_end_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("transition,end", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9Slideshow_20callback_transition_end_del(struct PyElementarySlideshow *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_transition_end_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":645
+ *
+ * def callback_transition_end_del(self, func):
+ * self._callback_del_full("transition,end", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("slideshow", Slideshow)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 645; __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[62]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_246));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_kp_s_246));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_246));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Slideshow.callback_transition_end_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_1index_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18SegmentControlItem_index_get[] = "Get the index of an item.\n\n Index is the position of an item in segment control widget. Its\n range is from C{0} to <tt> count - 1 </tt>.\n Count is the number of items, that can be get with\n elm_segment_control_item_count_get().\n\n @return: The position index\n @rtype: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_1index_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_10elementary_12c_elementary_18SegmentControlItem_index_get(((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":23
+ * """An item for L{SegmentControl}."""
+ *
+ * def index_get(self): # <<<<<<<<<<<<<<
+ * """Get the index of an item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_index_get(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":35
+ *
+ * """
+ * return elm_segment_control_item_index_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * property index:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_segment_control_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControlItem.index_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_5index_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_5index_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_5index___get__(((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":48
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_segment_control_item_index_get(self.item)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_5index___get__(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":49
+ * """
+ * def __get__(self):
+ * return elm_segment_control_item_index_get(self.item) # <<<<<<<<<<<<<<
+ *
+ * def object_get(self):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_segment_control_item_index_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControlItem.index.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_3object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18SegmentControlItem_2object_get[] = "Get the base object of the item.\n\n @return: The SegmentControl object\n @rtype: L{SegmentControl}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_3object_get(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("object_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_2object_get(((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":51
+ * return elm_segment_control_item_index_get(self.item)
+ *
+ * def object_get(self): # <<<<<<<<<<<<<<
+ * """Get the base object of the item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_2object_get(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__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("object_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":58
+ *
+ * """
+ * return Object_from_instance(elm_segment_control_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_segment_control_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControlItem.object_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_6object_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_6object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_6object___get__(((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":66
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return Object_from_instance(elm_segment_control_item_object_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_6object___get__(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":67
+ * """
+ * def __get__(self):
+ * return Object_from_instance(elm_segment_control_item_object_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, select):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_segment_control_item_object_get(__pyx_v_self->__pyx_base.item))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControlItem.object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_5selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_select); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_18SegmentControlItem_4selected_set[] = "Set the selected state of an item.\n\n This sets the selected state of the given item C{it}.\n C{True} for selected, C{False} for not selected.\n\n If a new item is selected the previously selected will be unselected.\n\n The selected item always will be highlighted on segment control.\n\n @param select: The selected state\n @type select: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_5selected_set(PyObject *__pyx_v_self, PyObject *__pyx_v_select) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("selected_set (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_4selected_set(((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_self), ((PyObject *)__pyx_v_select));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":69
+ * return Object_from_instance(elm_segment_control_item_object_get(self.item))
+ *
+ * def selected_set(self, select): # <<<<<<<<<<<<<<
+ * """Set the selected state of an item.
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_18SegmentControlItem_4selected_set(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self, PyObject *__pyx_v_select) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("selected_set", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":83
+ *
+ * """
+ * elm_segment_control_item_selected_set(self.item, select) # <<<<<<<<<<<<<<
+ *
+ * property selected:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_select); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_segment_control_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControlItem.selected_set", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_18SegmentControlItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_select); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_18SegmentControlItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_select) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_8selected___set__(((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_self), ((PyObject *)__pyx_v_select));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":100
+ *
+ * """
+ * def __set__(self, select): # <<<<<<<<<<<<<<
+ * elm_segment_control_item_selected_set(self.item, select)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_18SegmentControlItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_self, PyObject *__pyx_v_select) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":101
+ * """
+ * def __set__(self, select):
+ * elm_segment_control_item_selected_set(self.item, select) # <<<<<<<<<<<<<<
+ *
+ * cdef public class SegmentControl(LayoutClass) [object PyElementarySegmentControl, type PyElementarySegmentControl_Type]:
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_select); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_segment_control_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControlItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_14SegmentControl_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_14SegmentControl_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 132; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[63]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl___init__(((struct PyElementarySegmentControl *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":132
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_segment_control_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_14SegmentControl___init__(struct PyElementarySegmentControl *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":133
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_segment_control_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 133; __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[63]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":134
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_segment_control_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_add(self, evasObject icon, label = None):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControl *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_segment_control_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.SegmentControl.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_3item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_2item_add[] = "item_add(icon, label=None)\n\n Append a new item to the segment control object.\n\n A new item will be created and appended to the segment control, i.e., will\n be set as B{last} item.\n\n If it should be inserted at another position,\n elm_segment_control_item_insert_at() should be used instead.\n\n Items created with this function can be deleted with function\n L{ObjectItem.delete()} or L{item_del_at()}.\n\n Simple example::\n sc = SegmentControl(win)\n ic = Icon(win)\n ic.file_set(\"path/to/image\")\n ic.resizable_set(True, True)\n sc.item_add(ic, \"label\")\n sc.show()\n\n @note: C{label} set to C{None} is different from empty string \"\".\n If an item only has icon, it will be displayed bigger and\n centered. If it has icon and label, even that an empty string,\n icon will be smaller and positioned at left.\n\n @see: L{SegmentControl.item_insert_at()}\n @see: L{ObjectItem.delete()}\n\n @param icon: The icon object to use for the left side of the item. An\n icon can be any Evas object, but usually it is an icon created\n with elm_icon_add().\n @type icon: L{Object}\n @param label: The label of the item. Note that, None is different\n from empty string \"\".\n @type label: string\n @return: The created item or C{None} upon failure.\n @rtype: L{SegmentControlItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_3item_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_label = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__icon,&__pyx_n_s__label,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_add (wrapper)", 0);
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":136
+ * self._set_obj(elm_segment_control_add(parent.obj))
+ *
+ * def item_add(self, evasObject icon, label = None): # <<<<<<<<<<<<<<
+ * """item_add(icon, label=None)
+ *
+ */
+ values[1] = ((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 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "item_add") < 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_icon = ((struct PyEvasObject *)values[0]);
+ __pyx_v_label = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_add", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[63]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_2item_add(((struct PyElementarySegmentControl *)__pyx_v_self), __pyx_v_icon, __pyx_v_label);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_2item_add(struct PyElementarySegmentControl *__pyx_v_self, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_label) {
+ struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Evas_Object *__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("item_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":177
+ *
+ * """
+ * cdef SegmentControlItem ret = SegmentControlItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_SegmentControlItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":181
+ *
+ * item = elm_segment_control_item_add(self.obj,
+ * icon.obj if icon else NULL, # <<<<<<<<<<<<<<
+ * _cfruni(label))
+ * if item != NULL:
+ */
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_icon)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_3) {
+ __pyx_t_2 = __pyx_v_icon->obj;
+ } else {
+ __pyx_t_2 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":182
+ * item = elm_segment_control_item_add(self.obj,
+ * icon.obj if icon else NULL,
+ * _cfruni(label)) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_v_item = elm_segment_control_item_add(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_2, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":183
+ * icon.obj if icon else NULL,
+ * _cfruni(label))
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":184
+ * _cfruni(label))
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":185
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":187
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_insert_at(self, evasObject icon, label = None, index = 0):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_5item_insert_at(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_4item_insert_at[] = "item_insert_at(icon, label=None, index=0)\n\n Insert a new item to the segment control object at specified position.\n\n Index values must be between C{0}, when item will be prepended to\n segment control, and items count, that can be get with\n elm_segment_control_item_count_get(), case when item will be appended\n to segment control, just like elm_segment_control_item_add().\n\n Items created with this function can be deleted with function\n elm_object_item_del() or elm_segment_control_item_del_at().\n\n @note: C{label} set to C{None} is different from empty string \"\".\n If an item only has icon, it will be displayed bigger and\n centered. If it has icon and label, even that an empty string,\n icon will be smaller and positioned at left.\n\n @see: L{SegmentControl.item_add()}\n @see: L{SegmentControl.item_count_get()}\n @see: L{ObjectItem.delete()}\n\n @param icon: The icon object to use for the left side of the item. An\n icon can be any Evas object, but usually it is an icon created\n with elm_icon_add().\n @type icon: L{Object}\n @param label: The label of the item.\n @type label: string\n @param index: Item position. Value should be between 0 and items count.\n @type index: int\n @return: The created item or C{None} upon failure.\n @rtype: L{SegmentControlItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_5item_insert_at(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_index = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__icon,&__pyx_n_s__label,&__pyx_n_s__index,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_insert_at (wrapper)", 0);
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":189
+ * return None
+ *
+ * def item_insert_at(self, evasObject icon, label = None, index = 0): # <<<<<<<<<<<<<<
+ * """item_insert_at(icon, label=None, index=0)
+ *
+ */
+ values[1] = ((PyObject *)Py_None);
+ values[2] = ((PyObject *)__pyx_int_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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__index);
+ 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_insert_at") < 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 189; __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);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ }
+ __pyx_v_icon = ((struct PyEvasObject *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_index = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("item_insert_at", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[63]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_insert_at", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_4item_insert_at(((struct PyElementarySegmentControl *)__pyx_v_self), __pyx_v_icon, __pyx_v_label, __pyx_v_index);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_4item_insert_at(struct PyElementarySegmentControl *__pyx_v_self, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_label, PyObject *__pyx_v_index) {
+ struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *__pyx_v_ret = 0;
+ Elm_Object_Item *__pyx_v_item;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ Evas_Object *__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("item_insert_at", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":223
+ *
+ * """
+ * cdef SegmentControlItem ret = SegmentControlItem() # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ *
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_SegmentControlItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":227
+ *
+ * item = elm_segment_control_item_insert_at(self.obj,
+ * icon.obj if icon else NULL, # <<<<<<<<<<<<<<
+ * _cfruni(label), index)
+ * if item != NULL:
+ */
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_icon)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_3) {
+ __pyx_t_2 = __pyx_v_icon->obj;
+ } else {
+ __pyx_t_2 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":228
+ * item = elm_segment_control_item_insert_at(self.obj,
+ * icon.obj if icon else NULL,
+ * _cfruni(label), index) # <<<<<<<<<<<<<<
+ * if item != NULL:
+ * ret._set_obj(item)
+ */
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_index); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 228; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_v_item = elm_segment_control_item_insert_at(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_2, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":229
+ * icon.obj if icon else NULL,
+ * _cfruni(label), index)
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_3 = (__pyx_v_item != NULL);
+ if (__pyx_t_3) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":230
+ * _cfruni(label), index)
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControlItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":231
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return None
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":233
+ * return ret
+ * else:
+ * return None # <<<<<<<<<<<<<<
+ *
+ * def item_del_at(self, index):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(Py_None);
+ __pyx_r = Py_None;
+ goto __pyx_L0;
+ }
+ __pyx_L3:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_insert_at", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_7item_del_at(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_6item_del_at[] = "item_del_at(index)\n\n Remove a segment control item at given index from its parent,\n deleting it.\n\n Items can be added with elm_segment_control_item_add() or\n elm_segment_control_item_insert_at().\n\n @param index: The position of the segment control item to be deleted.\n @type index: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_7item_del_at(PyObject *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_del_at (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_6item_del_at(((struct PyElementarySegmentControl *)__pyx_v_self), ((PyObject *)__pyx_v_index));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":235
+ * return None
+ *
+ * def item_del_at(self, index): # <<<<<<<<<<<<<<
+ * """item_del_at(index)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_6item_del_at(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index) {
+ 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("item_del_at", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":248
+ *
+ * """
+ * elm_segment_control_item_del_at(self.obj, index) # <<<<<<<<<<<<<<
+ *
+ * property item_count:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_index); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_segment_control_item_del_at(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_del_at", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_10item_count_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_10item_count_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_10item_count___get__(((struct PyElementarySegmentControl *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":258
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_segment_control_item_count_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_10item_count___get__(struct PyElementarySegmentControl *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":259
+ * """
+ * def __get__(self):
+ * return elm_segment_control_item_count_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def item_get(self, index):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_segment_control_item_count_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_count.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_9item_get(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_8item_get[] = "item_get(index)\n\n Get the item placed at specified index.\n\n Index is the position of an item in segment control widget. Its\n range is from C{0} to <tt> count - 1 </tt>.\n Count is the number of items, that can be get with\n elm_segment_control_item_count_get().\n\n @param index: The index of the segment item.\n @type index: int\n @return: The segment control item or C{None} on failure.\n @rtype: L{SegmentControlItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_9item_get(PyObject *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_8item_get(((struct PyElementarySegmentControl *)__pyx_v_self), ((PyObject *)__pyx_v_index));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":261
+ * return elm_segment_control_item_count_get(self.obj)
+ *
+ * def item_get(self, index): # <<<<<<<<<<<<<<
+ * """item_get(index)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_8item_get(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":277
+ *
+ * """
+ * return _object_item_to_python(elm_segment_control_item_get(self.obj, index)) # <<<<<<<<<<<<<<
+ *
+ * def item_label_get(self, index):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_index); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_segment_control_item_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_11item_label_get(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_10item_label_get[] = "item_label_get(index)\n\n Get the label of item.\n\n The return value is a pointer to the label associated to the item when\n it was created, with function elm_segment_control_item_add(), or later\n with function elm_object_item_text_set. If no label\n was passed as argument, it will return C{None}.\n\n @see: L{ObjectItem.text_set()} for more details.\n @see: L{SegmentControl.item_add()}\n\n @param index: The index of the segment item.\n @type index: int\n @return: The label of the item at C{index}.\n @rtype: string\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_11item_label_get(PyObject *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_label_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_10item_label_get(((struct PyElementarySegmentControl *)__pyx_v_self), ((PyObject *)__pyx_v_index));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":279
+ * return _object_item_to_python(elm_segment_control_item_get(self.obj, index))
+ *
+ * def item_label_get(self, index): # <<<<<<<<<<<<<<
+ * """item_label_get(index)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_10item_label_get(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_label_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":298
+ *
+ * """
+ * return _ctouni(elm_segment_control_item_label_get(self.obj, index)) # <<<<<<<<<<<<<<
+ *
+ * def item_icon_get(self, index):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_index); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_segment_control_item_label_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_label_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_13item_icon_get(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_12item_icon_get[] = "item_icon_get(index)\n\n Get the icon associated to the item.\n\n The return value is a pointer to the icon associated to the item when\n it was created, with function elm_segment_control_item_add(), or later\n with function elm_object_item_part_content_set(). If no icon\n was passed as argument, it will return C{None}.\n\n @see: L{SegmentControl.item_add()}\n @see: L{ObjectItem.part_content_set()}\n\n @param index: The index of the segment item.\n @type index: int\n @return: The left side icon associated to the item at C{index}.\n @rtype: L{Object}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_13item_icon_get(PyObject *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_icon_get (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_12item_icon_get(((struct PyElementarySegmentControl *)__pyx_v_self), ((PyObject *)__pyx_v_index));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":300
+ * return _ctouni(elm_segment_control_item_label_get(self.obj, index))
+ *
+ * def item_icon_get(self, index): # <<<<<<<<<<<<<<
+ * """item_icon_get(index)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_12item_icon_get(struct PyElementarySegmentControl *__pyx_v_self, PyObject *__pyx_v_index) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_icon_get", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":319
+ *
+ * """
+ * return Object_from_instance(elm_segment_control_item_icon_get(self.obj, index)) # <<<<<<<<<<<<<<
+ *
+ * property item_selected:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_index); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = ((PyObject *)__pyx_f_4evas_6c_evas_Object_from_instance(elm_segment_control_item_icon_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj, __pyx_t_1))); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_icon_get", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_13item_selected_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_13item_selected_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_13item_selected___get__(((struct PyElementarySegmentControl *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":332
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_segment_control_item_selected_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_13item_selected___get__(struct PyElementarySegmentControl *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":333
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_segment_control_item_selected_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_segment_control_item_selected_get(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.SegmentControl.item_selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_15callback_changed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_14SegmentControl_14callback_changed_add[] = "When the user clicks on a segment item which is not previously\n selected and get selected. The event_info parameter is the segment\n item.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_15callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[63]; __pyx_lineno = 335; __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[63]; __pyx_lineno = 335; __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("elementary.c_elementary.SegmentControl.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_14SegmentControl_14callback_changed_add(((struct PyElementarySegmentControl *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":335
+ * return _object_item_to_python(elm_segment_control_item_selected_get(self.obj))
+ *
+ * def callback_changed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user clicks on a segment item which is not previously
+ * selected and get selected. The event_info parameter is the segment
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_14callback_changed_add(struct PyElementarySegmentControl *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":339
+ * selected and get selected. The event_info parameter is the segment
+ * item."""
+ * self._callback_add_full("changed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":340
+ * item."""
+ * self._callback_add_full("changed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__changed));
+ 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;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":339
+ * selected and get selected. The event_info parameter is the segment
+ * item."""
+ * self._callback_add_full("changed", _cb_object_item_conv, # <<<<<<<<<<<<<<
+ * func, *args, **kwargs)
+ *
+ */
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":340
+ * item."""
+ * self._callback_add_full("changed", _cb_object_item_conv,
+ * func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_changed_del(self, func):
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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("elementary.c_elementary.SegmentControl.callback_changed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_17callback_changed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_14SegmentControl_17callback_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_10elementary_12c_elementary_14SegmentControl_16callback_changed_del(((struct PyElementarySegmentControl *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":342
+ * func, *args, **kwargs)
+ *
+ * def callback_changed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del_full("changed", _cb_object_item_conv, func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_14SegmentControl_16callback_changed_del(struct PyElementarySegmentControl *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_changed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":343
+ *
+ * def callback_changed_del(self, func):
+ * self._callback_del_full("changed", _cb_object_item_conv, func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("segment_control", SegmentControl)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del_full); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_99); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 343; __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[63]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__changed));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__changed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__changed));
+ 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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.SegmentControl.callback_changed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_9PopupItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_9PopupItem_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_popup = 0;
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__popup,&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__func,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);
+ }
+ {
+ PyObject* values[4] = {0,0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":31
+ * """
+ *
+ * def __init__(self, evasObject popup, label = None, evasObject icon = None, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb
+ */
+ values[1] = ((PyObject *)Py_None);
+ values[2] = (PyObject *)((struct PyEvasObject *)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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__popup);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ case 2:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ 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)) {
+ 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[64]; __pyx_lineno = 31; __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_popup = ((struct PyEvasObject *)values[0]);
+ __pyx_v_label = values[1];
+ __pyx_v_icon = ((struct PyEvasObject *)values[2]);
+ __pyx_v_func = 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[64]; __pyx_lineno = 31; __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("elementary.c_elementary.PopupItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_popup), __pyx_ptype_4evas_6c_evas_Object, 1, "popup", 0))) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9PopupItem___init__(((struct __pyx_obj_10elementary_12c_elementary_PopupItem *)__pyx_v_self), __pyx_v_popup, __pyx_v_label, __pyx_v_icon, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ 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_10elementary_12c_elementary_9PopupItem___init__(struct __pyx_obj_10elementary_12c_elementary_PopupItem *__pyx_v_self, struct PyEvasObject *__pyx_v_popup, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, PyObject *__pyx_v_func, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ Elm_Object_Item *__pyx_v_item;
+ Evas_Smart_Cb __pyx_v_cb;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ Evas_Object *__pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":35
+ * cdef Evas_Smart_Cb cb
+ *
+ * if func is None: # <<<<<<<<<<<<<<
+ * cb = NULL
+ * elif callable(func):
+ */
+ __pyx_t_1 = (__pyx_v_func == Py_None);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":36
+ *
+ * if func is None:
+ * cb = NULL # <<<<<<<<<<<<<<
+ * elif callable(func):
+ * cb = _object_item_callback
+ */
+ __pyx_v_cb = NULL;
+ goto __pyx_L3;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":37
+ * if func is None:
+ * cb = NULL
+ * elif callable(func): # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ * else:
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":38
+ * cb = NULL
+ * elif callable(func):
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ * else:
+ * raise TypeError("func is not None or callable")
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":40
+ * cb = _object_item_callback
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * self.params = (func, args, kwargs)
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_247), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 40; __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[64]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":42
+ * raise TypeError("func is not None or callable")
+ *
+ * self.params = (func, args, kwargs) # <<<<<<<<<<<<<<
+ * item = elm_popup_item_append(popup.obj, _cfruni(label),
+ * icon.obj if icon else NULL,
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_self->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_self->__pyx_base.params);
+ __pyx_v_self->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":44
+ * self.params = (func, args, kwargs)
+ * item = elm_popup_item_append(popup.obj, _cfruni(label),
+ * icon.obj if icon else NULL, # <<<<<<<<<<<<<<
+ * cb, <void *>self)
+ *
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_icon)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_t_1) {
+ __pyx_t_4 = __pyx_v_icon->obj;
+ } else {
+ __pyx_t_4 = NULL;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":45
+ * item = elm_popup_item_append(popup.obj, _cfruni(label),
+ * icon.obj if icon else NULL,
+ * cb, <void *>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_popup_item_append(__pyx_v_popup->obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_t_4, __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":47
+ * cb, <void *>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * self._set_obj(item)
+ * else:
+ */
+ __pyx_t_1 = (__pyx_v_item != NULL);
+ if (__pyx_t_1) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":48
+ *
+ * if item != NULL:
+ * self._set_obj(item) # <<<<<<<<<<<<<<
+ * else:
+ * Py_DECREF(self)
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_PopupItem *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_self), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":50
+ * self._set_obj(item)
+ * else:
+ * Py_DECREF(self) # <<<<<<<<<<<<<<
+ *
+ * def __str__(self):
+ */
+ Py_DECREF(((PyObject *)__pyx_v_self));
+ }
+ __pyx_L4:;
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.PopupItem.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9PopupItem_3__str__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9PopupItem_3__str__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9PopupItem_2__str__(((struct __pyx_obj_10elementary_12c_elementary_PopupItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":52
+ * Py_DECREF(self)
+ *
+ * def __str__(self): # <<<<<<<<<<<<<<
+ * return "%s(func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9PopupItem_2__str__(struct __pyx_obj_10elementary_12c_elementary_PopupItem *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__str__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":53
+ *
+ * def __str__(self):
+ * return "%s(func=%s, item_data=%s)" % \ # <<<<<<<<<<<<<<
+ * (self.__class__.__name__,
+ * self.params[0],
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":54
+ * def __str__(self):
+ * return "%s(func=%s, item_data=%s)" % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * self.params[0],
+ * self.params[1])
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":55
+ * return "%s(func=%s, item_data=%s)" % \
+ * (self.__class__.__name__,
+ * self.params[0], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_1) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":56
+ * (self.__class__.__name__,
+ * self.params[0],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_3) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 56; __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[64]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_3 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_248), ((PyObject *)__pyx_t_4)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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("elementary.c_elementary.PopupItem.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9PopupItem_5__repr__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_9PopupItem_5__repr__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_9PopupItem_4__repr__(((struct __pyx_obj_10elementary_12c_elementary_PopupItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":58
+ * self.params[1])
+ *
+ * def __repr__(self): # <<<<<<<<<<<<<<
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_9PopupItem_4__repr__(struct __pyx_obj_10elementary_12c_elementary_PopupItem *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ PyObject *__pyx_t_5 = NULL;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__repr__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":59
+ *
+ * def __repr__(self):
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, " # <<<<<<<<<<<<<<
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ */
+ __Pyx_XDECREF(__pyx_r);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":61
+ * return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__, # <<<<<<<<<<<<<<
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s____class__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_1, __pyx_n_s____name__); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":62
+ * "item_class=%s, func=%s, item_data=%r)") % \
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self, # <<<<<<<<<<<<<<
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item,
+ */
+ __pyx_t_1 = PyLong_FromUnsignedLong(((unsigned long)((void *)__pyx_v_self))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 62; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":63
+ * (self.__class__.__name__,
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self), # <<<<<<<<<<<<<<
+ * <unsigned long>self.item,
+ * self.params[0],
+ */
+ __pyx_t_3 = PyInt_FromLong(__pyx_f_10elementary_12c_elementary_PY_REFCOUNT(((PyObject *)__pyx_v_self))); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":64
+ * <unsigned long><void*>self,
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item, # <<<<<<<<<<<<<<
+ * self.params[0],
+ * self.params[1])
+ */
+ __pyx_t_4 = PyLong_FromUnsignedLong(((unsigned long)__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":65
+ * PY_REFCOUNT(self),
+ * <unsigned long>self.item,
+ * self.params[0], # <<<<<<<<<<<<<<
+ * self.params[1])
+ *
+ */
+ __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 0, sizeof(long), PyInt_FromLong); if (!__pyx_t_5) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":66
+ * <unsigned long>self.item,
+ * self.params[0],
+ * self.params[1]) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Popup(Object) [object PyElementaryPopup, type PyElementaryPopup_Type]:
+ */
+ __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base.params, 1, sizeof(long), PyInt_FromLong); if (!__pyx_t_6) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = PyTuple_New(6); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_7);
+ PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ PyTuple_SET_ITEM(__pyx_t_7, 4, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_7, 5, __pyx_t_6);
+ __Pyx_GIVEREF(__pyx_t_6);
+ __pyx_t_2 = 0;
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_t_5 = 0;
+ __pyx_t_6 = 0;
+ __pyx_t_6 = PyNumber_Remainder(((PyObject *)__pyx_kp_s_128), ((PyObject *)__pyx_t_7)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_6));
+ __Pyx_DECREF(((PyObject *)__pyx_t_7)); __pyx_t_7 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_6);
+ __pyx_t_6 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_XDECREF(__pyx_t_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_AddTraceback("elementary.c_elementary.PopupItem.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 143; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[64]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup___init__(((struct PyElementaryPopup *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":143
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_popup_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Popup___init__(struct PyElementaryPopup *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":144
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_popup_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 144; __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[64]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":145
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_popup_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label = None, evasObject icon = None, func = None, *args, **kwargs):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Popup *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_popup_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Popup.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_3item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Popup_2item_append[] = "item_append(label, icon, func, *args, **kwargs)\n\n Add a new item to a Popup object\n\n Both an item list and a content cannot be set at the same time!\n Once you add an item, the previous content will be removed.\n\n @param label: The Label of the new item\n @type label: string\n @param icon: Icon to be set on new item\n @type icon: L{Object}\n @param func: Convenience function called when item selected\n @type func: function\n\n @return: A handle to the item added or C{None} on errors.\n @rtype: L{PopupItem}\n\n @warning: When the first item is appended to popup object, any\n previous content of the content area is deleted. At a time, only\n one of content, content-text and item(s) can be there in a popup\n content area.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_3item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ struct PyEvasObject *__pyx_v_icon = 0;
+ PyObject *__pyx_v_func = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__icon,&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (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) > 3) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 3, 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);
+ }
+ {
+ PyObject* values[3] = {0,0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":147
+ * self._set_obj(elm_popup_add(parent.obj))
+ *
+ * def item_append(self, label = None, evasObject icon = None, func = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_append(label, icon, func, *args, **kwargs)
+ *
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = (PyObject *)((struct PyEvasObject *)Py_None);
+ 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) {
+ default:
+ 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 (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__icon);
+ 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--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 3) ? pos_args : 3;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ 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;
+ }
+ }
+ __pyx_v_label = values[0];
+ __pyx_v_icon = ((struct PyEvasObject *)values[1]);
+ __pyx_v_func = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_icon), __pyx_ptype_4evas_6c_evas_Object, 1, "icon", 0))) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_2item_append(((struct PyElementaryPopup *)__pyx_v_self), __pyx_v_label, __pyx_v_icon, __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_2item_append(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_label, struct PyEvasObject *__pyx_v_icon, 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":171
+ *
+ * """
+ * return PopupItem(self, label, icon, func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * property content_text_wrap_type:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(__pyx_v_label);
+ PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_label);
+ __Pyx_GIVEREF(__pyx_v_label);
+ __Pyx_INCREF(((PyObject *)__pyx_v_icon));
+ PyTuple_SET_ITEM(__pyx_t_1, 2, ((PyObject *)__pyx_v_icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_icon));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_2 = PySequence_Tuple(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_3 = PyNumber_Add(((PyObject *)__pyx_t_1), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_PopupItem)), ((PyObject *)__pyx_t_3), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Popup.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_22content_text_wrap_type_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_22content_text_wrap_type_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_22content_text_wrap_type___set__(((struct PyElementaryPopup *)__pyx_v_self), ((PyObject *)__pyx_v_wrap));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":180
+ *
+ * """
+ * def __set__(self, wrap): # <<<<<<<<<<<<<<
+ * elm_popup_content_text_wrap_type_set(self.obj, wrap)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Popup_22content_text_wrap_type___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_wrap) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Wrap_Type __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":181
+ * """
+ * def __set__(self, wrap):
+ * elm_popup_content_text_wrap_type_set(self.obj, wrap) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_popup_content_text_wrap_type_get(self.obj)
+ */
+ __pyx_t_1 = ((Elm_Wrap_Type)PyInt_AsLong(__pyx_v_wrap)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_popup_content_text_wrap_type_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.content_text_wrap_type.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_22content_text_wrap_type_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_22content_text_wrap_type_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_22content_text_wrap_type_2__get__(((struct PyElementaryPopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":182
+ * def __set__(self, wrap):
+ * elm_popup_content_text_wrap_type_set(self.obj, wrap)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_popup_content_text_wrap_type_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_22content_text_wrap_type_2__get__(struct PyElementaryPopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":183
+ * elm_popup_content_text_wrap_type_set(self.obj, wrap)
+ * def __get__(self):
+ * return elm_popup_content_text_wrap_type_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property orient:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_popup_content_text_wrap_type_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.content_text_wrap_type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_6orient_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orient); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_6orient_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_orient) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_6orient___set__(((struct PyElementaryPopup *)__pyx_v_self), ((PyObject *)__pyx_v_orient));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":193
+ *
+ * """
+ * def __set__(self, orient): # <<<<<<<<<<<<<<
+ * elm_popup_orient_set(self.obj, orient)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Popup_6orient___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_orient) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Popup_Orient __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":194
+ * """
+ * def __set__(self, orient):
+ * elm_popup_orient_set(self.obj, orient) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_popup_orient_get(self.obj)
+ */
+ __pyx_t_1 = ((Elm_Popup_Orient)PyInt_AsLong(__pyx_v_orient)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_popup_orient_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.orient.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_6orient_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_6orient_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_6orient_2__get__(((struct PyElementaryPopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":195
+ * def __set__(self, orient):
+ * elm_popup_orient_set(self.obj, orient)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_popup_orient_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_6orient_2__get__(struct PyElementaryPopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":196
+ * elm_popup_orient_set(self.obj, orient)
+ * def __get__(self):
+ * return elm_popup_orient_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property timeout:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_popup_orient_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.orient.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_7timeout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_7timeout_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_7timeout___set__(((struct PyElementaryPopup *)__pyx_v_self), ((PyObject *)__pyx_v_timeout));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":216
+ *
+ * """
+ * def __set__(self, timeout): # <<<<<<<<<<<<<<
+ * elm_popup_timeout_set(self.obj, timeout)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Popup_7timeout___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_timeout) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":217
+ * """
+ * def __set__(self, timeout):
+ * elm_popup_timeout_set(self.obj, timeout) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_popup_timeout_get(self.obj)
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_timeout); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_popup_timeout_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.timeout.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_7timeout_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_7timeout_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_7timeout_2__get__(((struct PyElementaryPopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":218
+ * def __set__(self, timeout):
+ * elm_popup_timeout_set(self.obj, timeout)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_popup_timeout_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_7timeout_2__get__(struct PyElementaryPopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":219
+ * elm_popup_timeout_set(self.obj, timeout)
+ * def __get__(self):
+ * return elm_popup_timeout_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property allow_events:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_popup_timeout_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.timeout.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_12allow_events_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_allow); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_5Popup_12allow_events_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_allow) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_12allow_events___set__(((struct PyElementaryPopup *)__pyx_v_self), ((PyObject *)__pyx_v_allow));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":232
+ *
+ * """
+ * def __set__(self, allow): # <<<<<<<<<<<<<<
+ * elm_popup_allow_events_set(self.obj, allow)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_5Popup_12allow_events___set__(struct PyElementaryPopup *__pyx_v_self, PyObject *__pyx_v_allow) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":233
+ * """
+ * def __set__(self, allow):
+ * elm_popup_allow_events_set(self.obj, allow) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_popup_allow_events_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_allow); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_popup_allow_events_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Popup.allow_events.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_12allow_events_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_12allow_events_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_12allow_events_2__get__(((struct PyElementaryPopup *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":234
+ * def __set__(self, allow):
+ * elm_popup_allow_events_set(self.obj, allow)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_popup_allow_events_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_12allow_events_2__get__(struct PyElementaryPopup *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":235
+ * elm_popup_allow_events_set(self.obj, allow)
+ * def __get__(self):
+ * return bool(elm_popup_allow_events_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_timeout_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_popup_allow_events_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Popup.allow_events.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_5callback_timeout_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Popup_4callback_timeout_add[] = "When popup is closed as a result of timeout.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_5callback_timeout_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_timeout_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_timeout_add") < 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 237; __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_timeout_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[64]; __pyx_lineno = 237; __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("elementary.c_elementary.Popup.callback_timeout_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_4callback_timeout_add(((struct PyElementaryPopup *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":237
+ * return bool(elm_popup_allow_events_get(self.obj))
+ *
+ * def callback_timeout_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When popup is closed as a result of timeout."""
+ * self._callback_add("timeout", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_4callback_timeout_add(struct PyElementaryPopup *__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_timeout_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":239
+ * def callback_timeout_add(self, func, *args, **kwargs):
+ * """When popup is closed as a result of timeout."""
+ * self._callback_add("timeout", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_timeout_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 239; __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[64]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__timeout));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__timeout));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__timeout));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Popup.callback_timeout_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_7callback_timeout_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_7callback_timeout_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_timeout_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_6callback_timeout_del(((struct PyElementaryPopup *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":241
+ * self._callback_add("timeout", func, *args, **kwargs)
+ *
+ * def callback_timeout_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("timeout", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_6callback_timeout_del(struct PyElementaryPopup *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_timeout_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":242
+ *
+ * def callback_timeout_del(self, func):
+ * self._callback_del("timeout", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_block_clicked_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 242; __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[64]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__timeout));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__timeout));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__timeout));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Popup.callback_timeout_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_9callback_block_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_5Popup_8callback_block_clicked_add[] = "When the user taps on Blocked Event area.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_9callback_block_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_block_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_block_clicked_add") < 0)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 244; __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_block_clicked_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[64]; __pyx_lineno = 244; __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("elementary.c_elementary.Popup.callback_block_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_8callback_block_clicked_add(((struct PyElementaryPopup *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":244
+ * self._callback_del("timeout", func)
+ *
+ * def callback_block_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the user taps on Blocked Event area."""
+ * self._callback_add("block,clicked", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_8callback_block_clicked_add(struct PyElementaryPopup *__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_block_clicked_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":246
+ * def callback_block_clicked_add(self, func, *args, **kwargs):
+ * """When the user taps on Blocked Event area."""
+ * self._callback_add("block,clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_block_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 246; __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[64]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_172));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_172));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_172));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Popup.callback_block_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_11callback_block_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_5Popup_11callback_block_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_block_clicked_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_5Popup_10callback_block_clicked_del(((struct PyElementaryPopup *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":248
+ * self._callback_add("block,clicked", func, *args, **kwargs)
+ *
+ * def callback_block_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("block,clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_5Popup_10callback_block_clicked_del(struct PyElementaryPopup *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_block_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":249
+ *
+ * def callback_block_clicked_del(self, func):
+ * self._callback_del("block,clicked", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("popup", Popup)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 249; __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[64]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_172));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_172));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_172));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Popup.callback_block_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_4Plug_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_4Plug_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 28; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[65]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Plug.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Plug___init__(((struct PyElementaryPlug *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":28
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_plug_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_4Plug___init__(struct PyElementaryPlug *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":29
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_plug_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 29; __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[65]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":30
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_plug_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def connect(self, svcname, svcnum, svcsys):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Plug *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_plug_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Plug.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Plug_3connect(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_4Plug_2connect[] = "connect(svcname, svcnum, svcsys)\n\n Connect a plug widget to service provided by socket image.\n\n @param svcname: The service name to connect to set up by the socket.\n @type svcname: string\n @param svcnum: The service number to connect to (set up by socket).\n @type svcnum: int\n @param svcsys: Boolean to set if the service is a system one or not\n (set up by socket).\n @type svcsys: bool\n\n @return: (C{True} = success, C{False} = error)\n @rtype: bool\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Plug_3connect(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_svcname = 0;
+ PyObject *__pyx_v_svcnum = 0;
+ PyObject *__pyx_v_svcsys = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__svcname,&__pyx_n_s__svcnum,&__pyx_n_s__svcsys,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("connect (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__svcname);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__svcnum);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("connect", 1, 3, 3, 1); {__pyx_filename = __pyx_f[65]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__svcsys);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("connect", 1, 3, 3, 2); {__pyx_filename = __pyx_f[65]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "connect") < 0)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 32; __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_svcname = values[0];
+ __pyx_v_svcnum = values[1];
+ __pyx_v_svcsys = values[2];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("connect", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[65]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Plug.connect", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Plug_2connect(((struct PyElementaryPlug *)__pyx_v_self), __pyx_v_svcname, __pyx_v_svcnum, __pyx_v_svcsys);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":32
+ * self._set_obj(elm_plug_add(parent.obj))
+ *
+ * def connect(self, svcname, svcnum, svcsys): # <<<<<<<<<<<<<<
+ * """connect(svcname, svcnum, svcsys)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Plug_2connect(struct PyElementaryPlug *__pyx_v_self, PyObject *__pyx_v_svcname, PyObject *__pyx_v_svcnum, PyObject *__pyx_v_svcsys) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ Eina_Bool __pyx_t_2;
+ 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("connect", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":49
+ *
+ * """
+ * return bool(elm_plug_connect(self.obj, _cfruni(svcname), svcnum, svcsys)) # <<<<<<<<<<<<<<
+ *
+ * property image_object:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_svcnum); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_svcsys); if (unlikely((__pyx_t_2 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_to_py_Eina_Bool(elm_plug_connect(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_svcname), __pyx_t_1, __pyx_t_2)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 49; __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 = 0;
+ __pyx_t_3 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __pyx_r = __pyx_t_3;
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("elementary.c_elementary.Plug.connect", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Plug_12image_object_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_4Plug_12image_object_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_4Plug_12image_object___get__(((struct PyElementaryPlug *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":64
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_plug_image_object_get(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_4Plug_12image_object___get__(struct PyElementaryPlug *__pyx_v_self) {
+ struct PyEvasImage *__pyx_v_img = 0;
+ Evas_Object *__pyx_v_obj;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":65
+ * """
+ * def __get__(self):
+ * cdef evasImage img = evasImage() # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = elm_plug_image_object_get(self.obj)
+ * img.obj = obj
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_Image)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_img = ((struct PyEvasImage *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":66
+ * def __get__(self):
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_plug_image_object_get(self.obj) # <<<<<<<<<<<<<<
+ * img.obj = obj
+ * return img
+ */
+ __pyx_v_obj = elm_plug_image_object_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":67
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_plug_image_object_get(self.obj)
+ * img.obj = obj # <<<<<<<<<<<<<<
+ * return img
+ *
+ */
+ __pyx_v_img->__pyx_base.obj = __pyx_v_obj;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":68
+ * cdef Evas_Object *obj = elm_plug_image_object_get(self.obj)
+ * img.obj = obj
+ * return img # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("plug", Plug)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_img));
+ __pyx_r = ((PyObject *)__pyx_v_img);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Plug.image_object.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_img);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 54; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam___init__(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":54
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_photocam_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam___init__(struct PyElementaryPhotocam *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":55
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_photocam_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 55; __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[66]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":56
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_photocam_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * property file:
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_Photocam *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_photocam_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.Photocam.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_file); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_4file_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_file) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_4file___set__(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_file));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":71
+ *
+ * """
+ * def __set__(self, file): # <<<<<<<<<<<<<<
+ * elm_photocam_file_set(self.obj, _cfruni(file))
+ * #TODO: handle errors from return status
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam_4file___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_file) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":72
+ * """
+ * def __set__(self, file):
+ * elm_photocam_file_set(self.obj, _cfruni(file)) # <<<<<<<<<<<<<<
+ * #TODO: handle errors from return status
+ * def __get__(self):
+ */
+ elm_photocam_file_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_file));
+
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_4file_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_4file_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_4file_2__get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":74
+ * elm_photocam_file_set(self.obj, _cfruni(file))
+ * #TODO: handle errors from return status
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_photocam_file_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_4file_2__get__(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":75
+ * #TODO: handle errors from return status
+ * def __get__(self):
+ * return _ctouni(elm_photocam_file_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property zoom:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = ((PyObject *)__pyx_f_10elementary_12c_elementary__ctouni(elm_photocam_file_get(__pyx_v_self->__pyx_base.__pyx_base.obj))); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.file.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_4zoom_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_4zoom_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_4zoom___set__(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_zoom));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":89
+ *
+ * """
+ * def __set__(self, zoom): # <<<<<<<<<<<<<<
+ * elm_photocam_zoom_set(self.obj, zoom)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam_4zoom___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_zoom) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":90
+ * """
+ * def __set__(self, zoom):
+ * elm_photocam_zoom_set(self.obj, zoom) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_photocam_zoom_get(self.obj)
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_zoom); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photocam_zoom_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.zoom.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_4zoom_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_4zoom_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_4zoom_2__get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":91
+ * def __set__(self, zoom):
+ * elm_photocam_zoom_set(self.obj, zoom)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_photocam_zoom_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_4zoom_2__get__(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":92
+ * elm_photocam_zoom_set(self.obj, zoom)
+ * def __get__(self):
+ * return elm_photocam_zoom_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property zoom_mode:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_photocam_zoom_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.zoom.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_9zoom_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_9zoom_mode_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_9zoom_mode___set__(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_mode));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":111
+ *
+ * """
+ * def __set__(self, mode): # <<<<<<<<<<<<<<
+ * elm_photocam_zoom_mode_set(self.obj, mode)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam_9zoom_mode___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_mode) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Elm_Photocam_Zoom_Mode __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":112
+ * """
+ * def __set__(self, mode):
+ * elm_photocam_zoom_mode_set(self.obj, mode) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return elm_photocam_zoom_mode_get(self.obj)
+ */
+ __pyx_t_1 = ((Elm_Photocam_Zoom_Mode)PyInt_AsLong(__pyx_v_mode)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photocam_zoom_mode_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.zoom_mode.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_9zoom_mode_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_9zoom_mode_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_9zoom_mode_2__get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":113
+ * def __set__(self, mode):
+ * elm_photocam_zoom_mode_set(self.obj, mode)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_photocam_zoom_mode_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_9zoom_mode_2__get__(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":114
+ * elm_photocam_zoom_mode_set(self.obj, mode)
+ * def __get__(self):
+ * return elm_photocam_zoom_mode_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * property image_size:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(elm_photocam_zoom_mode_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.zoom_mode.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_10image_size_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_10image_size_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_10image_size___get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":126
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int w, h
+ * elm_photocam_image_size_get(self.obj, &w, &h)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_10image_size___get__(struct PyElementaryPhotocam *__pyx_v_self) {
+ int __pyx_v_w;
+ int __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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":128
+ * def __get__(self):
+ * cdef int w, h
+ * elm_photocam_image_size_get(self.obj, &w, &h) # <<<<<<<<<<<<<<
+ * return (w, h)
+ *
+ */
+ elm_photocam_image_size_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":129
+ * cdef int w, h
+ * elm_photocam_image_size_get(self.obj, &w, &h)
+ * return (w, h) # <<<<<<<<<<<<<<
+ *
+ * property image_region:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 129; __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[66]; __pyx_lineno = 129; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.image_size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_12image_region_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_12image_region_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_12image_region___get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":140
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef int x, y, w, h
+ * elm_photocam_image_region_get(self.obj, &x, &y, &w, &h)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_12image_region___get__(struct PyElementaryPhotocam *__pyx_v_self) {
+ int __pyx_v_x;
+ int __pyx_v_y;
+ int __pyx_v_w;
+ int __pyx_v_h;
+ 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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__get__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":142
+ * def __get__(self):
+ * cdef int x, y, w, h
+ * elm_photocam_image_region_get(self.obj, &x, &y, &w, &h) # <<<<<<<<<<<<<<
+ * return (x, y, w, h)
+ *
+ */
+ elm_photocam_image_region_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_x), (&__pyx_v_y), (&__pyx_v_w), (&__pyx_v_h));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":143
+ * cdef int x, y, w, h
+ * elm_photocam_image_region_get(self.obj, &x, &y, &w, &h)
+ * return (x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def image_region_show(self, x, y, w, h):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyInt_FromLong(__pyx_v_x); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyInt_FromLong(__pyx_v_y); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyInt_FromLong(__pyx_v_w); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = PyInt_FromLong(__pyx_v_h); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_4);
+ __Pyx_GIVEREF(__pyx_t_4);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_t_4 = 0;
+ __pyx_r = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+ goto __pyx_L0;
+
+ __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_5);
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.image_region.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_3image_region_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_2image_region_show[] = "image_region_show(x, y, w, h)\n\n Set the viewed region of the image\n\n This shows the region of the image without using animation.\n\n @param x: X-coordinate of region in image original pixels\n @type x: int\n @param y: Y-coordinate of region in image original pixels\n @type y: int\n @param w: Width of region in image original pixels\n @type w: int\n @param h: Height of region in image original pixels\n @type h: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_3image_region_show(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("image_region_show (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("image_region_show", 1, 4, 4, 1); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("image_region_show", 1, 4, 4, 2); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("image_region_show", 1, 4, 4, 3); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "image_region_show") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 145; __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_x = values[0];
+ __pyx_v_y = values[1];
+ __pyx_v_w = values[2];
+ __pyx_v_h = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("image_region_show", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.image_region_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_2image_region_show(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":145
+ * return (x, y, w, h)
+ *
+ * def image_region_show(self, x, y, w, h): # <<<<<<<<<<<<<<
+ * """image_region_show(x, y, w, h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_2image_region_show(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("image_region_show", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":162
+ *
+ * """
+ * elm_photocam_image_region_show(self.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * def image_region_bring_in(self, x, y, w, h):
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_x); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_y); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_w); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_h); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photocam_image_region_show(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.image_region_show", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_5image_region_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_4image_region_bring_in[] = "image_region_bring_in(x, y, w, h)\n\n Bring in the viewed portion of the image\n\n This shows the region of the image using animation.\n\n @param x: X-coordinate of region in image original pixels\n @type x: int\n @param y: Y-coordinate of region in image original pixels\n @type y: int\n @param w: Width of region in image original pixels\n @type w: int\n @param h: Height of region in image original pixels\n @type h: int\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_5image_region_bring_in(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_x = 0;
+ PyObject *__pyx_v_y = 0;
+ PyObject *__pyx_v_w = 0;
+ PyObject *__pyx_v_h = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__x,&__pyx_n_s__y,&__pyx_n_s__w,&__pyx_n_s__h,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("image_region_bring_in (wrapper)", 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__x);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ case 1:
+ values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__y);
+ if (likely(values[1])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("image_region_bring_in", 1, 4, 4, 1); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 2:
+ values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__w);
+ if (likely(values[2])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("image_region_bring_in", 1, 4, 4, 2); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ case 3:
+ values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__h);
+ if (likely(values[3])) kw_args--;
+ else {
+ __Pyx_RaiseArgtupleInvalid("image_region_bring_in", 1, 4, 4, 3); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "image_region_bring_in") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 164; __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_x = values[0];
+ __pyx_v_y = values[1];
+ __pyx_v_w = values[2];
+ __pyx_v_h = values[3];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("image_region_bring_in", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.image_region_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_4image_region_bring_in(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_x, __pyx_v_y, __pyx_v_w, __pyx_v_h);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":164
+ * elm_photocam_image_region_show(self.obj, x, y, w, h)
+ *
+ * def image_region_bring_in(self, x, y, w, h): # <<<<<<<<<<<<<<
+ * """image_region_bring_in(x, y, w, h)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_4image_region_bring_in(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y, PyObject *__pyx_v_w, PyObject *__pyx_v_h) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ 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("image_region_bring_in", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":181
+ *
+ * """
+ * elm_photocam_image_region_bring_in(self.obj, x, y, w, h) # <<<<<<<<<<<<<<
+ *
+ * property paused:
+ */
+ __pyx_t_1 = __Pyx_PyInt_AsInt(__pyx_v_x); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_2 = __Pyx_PyInt_AsInt(__pyx_v_y); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_3 = __Pyx_PyInt_AsInt(__pyx_v_w); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_4 = __Pyx_PyInt_AsInt(__pyx_v_h); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photocam_image_region_bring_in(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1, __pyx_t_2, __pyx_t_3, __pyx_t_4);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.image_region_bring_in", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_6paused_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_paused); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_6paused_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_paused) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_6paused___set__(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_paused));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":194
+ *
+ * """
+ * def __set__(self, paused): # <<<<<<<<<<<<<<
+ * elm_photocam_paused_set(self.obj, paused)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam_6paused___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_paused) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":195
+ * """
+ * def __set__(self, paused):
+ * elm_photocam_paused_set(self.obj, paused) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_photocam_paused_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_paused); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photocam_paused_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.paused.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_6paused_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_6paused_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_6paused_2__get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":196
+ * def __set__(self, paused):
+ * elm_photocam_paused_set(self.obj, paused)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_photocam_paused_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_6paused_2__get__(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":197
+ * elm_photocam_paused_set(self.obj, paused)
+ * def __get__(self):
+ * return bool(elm_photocam_paused_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property internal_image:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_photocam_paused_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.paused.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_14internal_image_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_14internal_image_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_14internal_image___get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":209
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_14internal_image___get__(struct PyElementaryPhotocam *__pyx_v_self) {
+ struct PyEvasImage *__pyx_v_img = 0;
+ Evas_Object *__pyx_v_obj;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":210
+ * """
+ * def __get__(self):
+ * cdef evasImage img = evasImage() # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj)
+ * img.obj = obj
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_4evas_6c_evas_Image)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_img = ((struct PyEvasImage *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":211
+ * def __get__(self):
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj) # <<<<<<<<<<<<<<
+ * img.obj = obj
+ * return img
+ */
+ __pyx_v_obj = elm_photocam_internal_image_get(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":212
+ * cdef evasImage img = evasImage()
+ * cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj)
+ * img.obj = obj # <<<<<<<<<<<<<<
+ * return img
+ *
+ */
+ __pyx_v_img->__pyx_base.obj = __pyx_v_obj;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":213
+ * cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj)
+ * img.obj = obj
+ * return img # <<<<<<<<<<<<<<
+ *
+ * property bounce:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_img));
+ __pyx_r = ((PyObject *)__pyx_v_img);
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.internal_image.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_img);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_6bounce_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_6bounce_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_6bounce___set__(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_value));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":221
+ *
+ * """
+ * def __set__(self, value): # <<<<<<<<<<<<<<
+ * h_bounce, v_bounce = value
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam_6bounce___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_value) {
+ PyObject *__pyx_v_h_bounce = NULL;
+ PyObject *__pyx_v_v_bounce = 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 *);
+ Eina_Bool __pyx_t_5;
+ Eina_Bool __pyx_t_6;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":222
+ * """
+ * def __set__(self, value):
+ * h_bounce, v_bounce = value # <<<<<<<<<<<<<<
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ * def __get__(self):
+ */
+ if ((likely(PyTuple_CheckExact(__pyx_v_value))) || (PyList_CheckExact(__pyx_v_value))) {
+ PyObject* sequence = __pyx_v_value;
+ if (likely(PyTuple_CheckExact(sequence))) {
+ if (unlikely(PyTuple_GET_SIZE(sequence) != 2)) {
+ if (PyTuple_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyTuple_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[66]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0);
+ __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1);
+ } else {
+ if (unlikely(PyList_GET_SIZE(sequence) != 2)) {
+ if (PyList_GET_SIZE(sequence) > 2) __Pyx_RaiseTooManyValuesError(2);
+ else __Pyx_RaiseNeedMoreValuesError(PyList_GET_SIZE(sequence));
+ {__pyx_filename = __pyx_f[66]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __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 {
+ Py_ssize_t index = -1;
+ __pyx_t_3 = PyObject_GetIter(__pyx_v_value); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 222; __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[66]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __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;
+ if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_StopIteration)) PyErr_Clear();
+ if (!PyErr_Occurred()) __Pyx_RaiseNeedMoreValuesError(index);
+ {__pyx_filename = __pyx_f[66]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_L4_unpacking_done:;
+ }
+ __pyx_v_h_bounce = __pyx_t_1;
+ __pyx_t_1 = 0;
+ __pyx_v_v_bounce = __pyx_t_2;
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":223
+ * def __set__(self, value):
+ * h_bounce, v_bounce = value
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ */
+ __pyx_t_5 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely((__pyx_t_5 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_t_6 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely((__pyx_t_6 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_scroller_bounce_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_5, __pyx_t_6);
+
+ __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("elementary.c_elementary.Photocam.bounce.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_h_bounce);
+ __Pyx_XDECREF(__pyx_v_v_bounce);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_6bounce_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_6bounce_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_6bounce_2__get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":224
+ * h_bounce, v_bounce = value
+ * elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_6bounce_2__get__(struct PyElementaryPhotocam *__pyx_v_self) {
+ Eina_Bool __pyx_v_h_bounce;
+ Eina_Bool __pyx_v_v_bounce;
+ 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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":226
+ * def __get__(self):
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce) # <<<<<<<<<<<<<<
+ * return (h_bounce, v_bounce)
+ *
+ */
+ elm_scroller_bounce_get(__pyx_v_self->__pyx_base.__pyx_base.obj, (&__pyx_v_h_bounce), (&__pyx_v_v_bounce));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":227
+ * cdef Eina_Bool h_bounce, v_bounce
+ * elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ * return (h_bounce, v_bounce) # <<<<<<<<<<<<<<
+ *
+ * property gesture_enabled:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_h_bounce); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_to_py_Eina_Bool(__pyx_v_v_bounce); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 227; __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[66]; __pyx_lineno = 227; __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 = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.bounce.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_15gesture_enabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_gesture); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_8Photocam_15gesture_enabled_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_gesture) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_15gesture_enabled___set__(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_gesture));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":238
+ *
+ * """
+ * def __set__(self, gesture): # <<<<<<<<<<<<<<
+ * elm_photocam_gesture_enabled_set(self.obj, gesture)
+ * def __get__(self):
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_8Photocam_15gesture_enabled___set__(struct PyElementaryPhotocam *__pyx_v_self, PyObject *__pyx_v_gesture) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":239
+ * """
+ * def __set__(self, gesture):
+ * elm_photocam_gesture_enabled_set(self.obj, gesture) # <<<<<<<<<<<<<<
+ * def __get__(self):
+ * return bool(elm_photocam_gesture_enabled_get(self.obj))
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_gesture); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_photocam_gesture_enabled_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.Photocam.gesture_enabled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_15gesture_enabled_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_15gesture_enabled_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_15gesture_enabled_2__get__(((struct PyElementaryPhotocam *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":240
+ * def __set__(self, gesture):
+ * elm_photocam_gesture_enabled_set(self.obj, gesture)
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_photocam_gesture_enabled_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_15gesture_enabled_2__get__(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":241
+ * elm_photocam_gesture_enabled_set(self.obj, gesture)
+ * def __get__(self):
+ * return bool(elm_photocam_gesture_enabled_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_photocam_gesture_enabled_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 241; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.gesture_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_7callback_clicked_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_6callback_clicked_add[] = "This is called when a user has clicked the photo without dragging\n around.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_7callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 243; __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[66]; __pyx_lineno = 243; __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("elementary.c_elementary.Photocam.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_6callback_clicked_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":243
+ * return bool(elm_photocam_gesture_enabled_get(self.obj))
+ *
+ * def callback_clicked_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has clicked the photo without dragging
+ * around."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_6callback_clicked_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":246
+ * """This is called when a user has clicked the photo without dragging
+ * around."""
+ * self._callback_add("clicked", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 246; __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[66]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_clicked_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_9callback_clicked_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_9callback_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_10elementary_12c_elementary_8Photocam_8callback_clicked_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":248
+ * self._callback_add("clicked", func, *args, **kwargs)
+ *
+ * def callback_clicked_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_8callback_clicked_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":249
+ *
+ * def callback_clicked_del(self, func):
+ * self._callback_del("clicked", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 249; __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[66]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__clicked));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__clicked));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__clicked));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_clicked_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_11callback_press_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_10callback_press_add[] = "This is called when a user has pressed down on the photo.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_11callback_press_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_press_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 251; __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_press_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 251; __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("elementary.c_elementary.Photocam.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_10callback_press_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":251
+ * self._callback_del("clicked", func)
+ *
+ * def callback_press_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has pressed down on the photo."""
+ * self._callback_add("press", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_10callback_press_add(struct PyElementaryPhotocam *__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_press_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":253
+ * def callback_press_add(self, func, *args, **kwargs):
+ * """This is called when a user has pressed down on the photo."""
+ * self._callback_add("press", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_press_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 253; __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[66]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_press_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_13callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_13callback_press_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_press_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_12callback_press_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":255
+ * self._callback_add("press", func, *args, **kwargs)
+ *
+ * def callback_press_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("press", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_12callback_press_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_press_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":256
+ *
+ * def callback_press_del(self, func):
+ * self._callback_del("press", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 256; __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[66]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__press));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__press));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__press));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 256; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_press_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_15callback_longpressed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_14callback_longpressed_add[] = "This is called when a user has pressed down on the photo for a\n long time without dragging around.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_15callback_longpressed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_longpressed_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 258; __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_longpressed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 258; __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("elementary.c_elementary.Photocam.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_14callback_longpressed_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":258
+ * self._callback_del("press", func)
+ *
+ * def callback_longpressed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has pressed down on the photo for a
+ * long time without dragging around."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_14callback_longpressed_add(struct PyElementaryPhotocam *__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_longpressed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":261
+ * """This is called when a user has pressed down on the photo for a
+ * long time without dragging around."""
+ * self._callback_add("longpressed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_longpressed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 261; __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[66]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_longpressed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_17callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_17callback_longpressed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_longpressed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_16callback_longpressed_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":263
+ * self._callback_add("longpressed", func, *args, **kwargs)
+ *
+ * def callback_longpressed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("longpressed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_16callback_longpressed_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_longpressed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":264
+ *
+ * def callback_longpressed_del(self, func):
+ * self._callback_del("longpressed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 264; __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[66]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__longpressed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__longpressed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 264; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_longpressed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_19callback_clicked_double_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_18callback_clicked_double_add[] = "This is called when a user has double-clicked the photo.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_19callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 266; __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[66]; __pyx_lineno = 266; __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("elementary.c_elementary.Photocam.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_18callback_clicked_double_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":266
+ * self._callback_del("longpressed", func)
+ *
+ * def callback_clicked_double_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when a user has double-clicked the photo."""
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_18callback_clicked_double_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":268
+ * def callback_clicked_double_add(self, func, *args, **kwargs):
+ * """This is called when a user has double-clicked the photo."""
+ * self._callback_add("clicked,double", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_clicked_double_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 268; __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[66]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_clicked_double_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_21callback_clicked_double_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_21callback_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_10elementary_12c_elementary_8Photocam_20callback_clicked_double_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":270
+ * self._callback_add("clicked,double", func, *args, **kwargs)
+ *
+ * def callback_clicked_double_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("clicked,double", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_20callback_clicked_double_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_clicked_double_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":271
+ *
+ * def callback_clicked_double_del(self, func):
+ * self._callback_del("clicked,double", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 271; __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[66]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_78));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_78));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_78));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 271; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_clicked_double_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_23callback_load_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_22callback_load_add[] = "Photo load begins.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_23callback_load_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 273; __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_load_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 273; __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("elementary.c_elementary.Photocam.callback_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_22callback_load_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":273
+ * self._callback_del("clicked,double", func)
+ *
+ * def callback_load_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Photo load begins."""
+ * self._callback_add("load", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_22callback_load_add(struct PyElementaryPhotocam *__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_load_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":275
+ * def callback_load_add(self, func, *args, **kwargs):
+ * """Photo load begins."""
+ * self._callback_add("load", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 275; __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[66]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__load));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__load));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__load));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_load_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_25callback_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_25callback_load_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_24callback_load_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":277
+ * self._callback_add("load", func, *args, **kwargs)
+ *
+ * def callback_load_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("load", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_24callback_load_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":278
+ *
+ * def callback_load_del(self, func):
+ * self._callback_del("load", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_loaded_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 278; __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[66]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__load));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__load));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__load));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_load_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_27callback_loaded_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_26callback_loaded_add[] = "This is called when the image file load is complete for the first\n view (low resolution blurry version).";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_27callback_loaded_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_loaded_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_loaded_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 280; __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_loaded_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 280; __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("elementary.c_elementary.Photocam.callback_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_26callback_loaded_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":280
+ * self._callback_del("load", func)
+ *
+ * def callback_loaded_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when the image file load is complete for the first
+ * view (low resolution blurry version)."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_26callback_loaded_add(struct PyElementaryPhotocam *__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_loaded_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":283
+ * """This is called when the image file load is complete for the first
+ * view (low resolution blurry version)."""
+ * self._callback_add("loaded", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_loaded_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 283; __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[66]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__loaded));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__loaded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__loaded));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_loaded_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_29callback_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_29callback_loaded_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_loaded_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_28callback_loaded_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":285
+ * self._callback_add("loaded", func, *args, **kwargs)
+ *
+ * def callback_loaded_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("loaded", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_28callback_loaded_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_loaded_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":286
+ *
+ * def callback_loaded_del(self, func):
+ * self._callback_del("loaded", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_detail_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 286; __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[66]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__loaded));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__loaded));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__loaded));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_loaded_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_31callback_load_detail_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_30callback_load_detail_add[] = "Photo detailed data load begins.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_31callback_load_detail_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_detail_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_load_detail_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 288; __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_load_detail_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 288; __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("elementary.c_elementary.Photocam.callback_load_detail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_30callback_load_detail_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":288
+ * self._callback_del("loaded", func)
+ *
+ * def callback_load_detail_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Photo detailed data load begins."""
+ * self._callback_add("load,detail", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_30callback_load_detail_add(struct PyElementaryPhotocam *__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_load_detail_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":290
+ * def callback_load_detail_add(self, func, *args, **kwargs):
+ * """Photo detailed data load begins."""
+ * self._callback_add("load,detail", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_load_detail_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 290; __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[66]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_249));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_249));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_249));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_load_detail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_33callback_load_detail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_33callback_load_detail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_load_detail_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_32callback_load_detail_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":292
+ * self._callback_add("load,detail", func, *args, **kwargs)
+ *
+ * def callback_load_detail_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("load,detail", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_32callback_load_detail_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_load_detail_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":293
+ *
+ * def callback_load_detail_del(self, func):
+ * self._callback_del("load,detail", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_loaded_detail_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 293; __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[66]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_249));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_249));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_249));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_load_detail_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_35callback_loaded_detail_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_34callback_loaded_detail_add[] = "This is called when the image file load is complete for the\n detailed image data (full resolution needed).";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_35callback_loaded_detail_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_loaded_detail_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_loaded_detail_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 295; __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_loaded_detail_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 295; __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("elementary.c_elementary.Photocam.callback_loaded_detail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_34callback_loaded_detail_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":295
+ * self._callback_del("load,detail", func)
+ *
+ * def callback_loaded_detail_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """This is called when the image file load is complete for the
+ * detailed image data (full resolution needed)."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_34callback_loaded_detail_add(struct PyElementaryPhotocam *__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_loaded_detail_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":298
+ * """This is called when the image file load is complete for the
+ * detailed image data (full resolution needed)."""
+ * self._callback_add("loaded,detail", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_loaded_detail_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 298; __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[66]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_250));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_250));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_250));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_loaded_detail_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_37callback_loaded_detail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_37callback_loaded_detail_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_loaded_detail_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_36callback_loaded_detail_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":300
+ * self._callback_add("loaded,detail", func, *args, **kwargs)
+ *
+ * def callback_loaded_detail_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("loaded,detail", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_36callback_loaded_detail_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_loaded_detail_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":301
+ *
+ * def callback_loaded_detail_del(self, func):
+ * self._callback_del("loaded,detail", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 301; __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[66]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_250));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_250));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_250));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_loaded_detail_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_39callback_zoom_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_38callback_zoom_start_add[] = "Zoom animation started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_39callback_zoom_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_zoom_start_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 303; __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_zoom_start_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 303; __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("elementary.c_elementary.Photocam.callback_zoom_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_38callback_zoom_start_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":303
+ * self._callback_del("loaded,detail", func)
+ *
+ * def callback_zoom_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Zoom animation started."""
+ * self._callback_add("zoom,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_38callback_zoom_start_add(struct PyElementaryPhotocam *__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_zoom_start_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":305
+ * def callback_zoom_start_add(self, func, *args, **kwargs):
+ * """Zoom animation started."""
+ * self._callback_add("zoom,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 305; __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[66]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_218));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_218));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_218));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_zoom_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_41callback_zoom_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_41callback_zoom_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_start_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_40callback_zoom_start_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":307
+ * self._callback_add("zoom,start", func, *args, **kwargs)
+ *
+ * def callback_zoom_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("zoom,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_40callback_zoom_start_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_zoom_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":308
+ *
+ * def callback_zoom_start_del(self, func):
+ * self._callback_del("zoom,start", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_stop_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 308; __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[66]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_218));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_218));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_218));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_zoom_start_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_43callback_zoom_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_42callback_zoom_stop_add[] = "Zoom animation stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_43callback_zoom_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_zoom_stop_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 310; __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_zoom_stop_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 310; __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("elementary.c_elementary.Photocam.callback_zoom_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_42callback_zoom_stop_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":310
+ * self._callback_del("zoom,start", func)
+ *
+ * def callback_zoom_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Zoom animation stopped."""
+ * self._callback_add("zoom,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_42callback_zoom_stop_add(struct PyElementaryPhotocam *__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_zoom_stop_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":312
+ * def callback_zoom_stop_add(self, func, *args, **kwargs):
+ * """Zoom animation stopped."""
+ * self._callback_add("zoom,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 312; __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[66]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_219));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_219));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_219));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_zoom_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_45callback_zoom_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_45callback_zoom_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_stop_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_44callback_zoom_stop_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":314
+ * self._callback_add("zoom,stop", func, *args, **kwargs)
+ *
+ * def callback_zoom_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("zoom,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_44callback_zoom_stop_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_zoom_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":315
+ *
+ * def callback_zoom_stop_del(self, func):
+ * self._callback_del("zoom,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_change_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 315; __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[66]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_219));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_219));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_219));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_zoom_stop_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_47callback_zoom_change_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_46callback_zoom_change_add[] = "Zoom changed when using an auto zoom mode.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_47callback_zoom_change_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_change_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_zoom_change_add") < 0)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 317; __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_zoom_change_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[66]; __pyx_lineno = 317; __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("elementary.c_elementary.Photocam.callback_zoom_change_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_46callback_zoom_change_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":317
+ * self._callback_del("zoom,stop", func)
+ *
+ * def callback_zoom_change_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Zoom changed when using an auto zoom mode."""
+ * self._callback_add("zoom,change", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_46callback_zoom_change_add(struct PyElementaryPhotocam *__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_zoom_change_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":319
+ * def callback_zoom_change_add(self, func, *args, **kwargs):
+ * """Zoom changed when using an auto zoom mode."""
+ * self._callback_add("zoom,change", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_zoom_change_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 319; __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[66]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_220));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_220));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_220));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_zoom_change_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_49callback_zoom_change_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_49callback_zoom_change_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_zoom_change_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_48callback_zoom_change_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":321
+ * self._callback_add("zoom,change", func, *args, **kwargs)
+ *
+ * def callback_zoom_change_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("zoom,change", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_48callback_zoom_change_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_zoom_change_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":322
+ *
+ * def callback_zoom_change_del(self, func):
+ * self._callback_del("zoom,change", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 322; __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[66]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_220));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_220));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_220));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_zoom_change_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_51callback_scroll_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_50callback_scroll_add[] = "The content has been scrolled (moved).";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_51callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 324; __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[66]; __pyx_lineno = 324; __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("elementary.c_elementary.Photocam.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_50callback_scroll_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":324
+ * self._callback_del("zoom,change", func)
+ *
+ * def callback_scroll_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """The content has been scrolled (moved)."""
+ * self._callback_add("scroll", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_50callback_scroll_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":326
+ * def callback_scroll_add(self, func, *args, **kwargs):
+ * """The content has been scrolled (moved)."""
+ * self._callback_add("scroll", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 326; __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[66]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scroll));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__scroll));
+ __Pyx_GIVEREF(((PyObject *)__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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.callback_scroll_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_53callback_scroll_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_53callback_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_10elementary_12c_elementary_8Photocam_52callback_scroll_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":328
+ * self._callback_add("scroll", func, *args, **kwargs)
+ *
+ * def callback_scroll_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_52callback_scroll_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":329
+ *
+ * def callback_scroll_del(self, func):
+ * self._callback_del("scroll", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 329; __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[66]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scroll));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__scroll));
+ __Pyx_GIVEREF(((PyObject *)__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 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.callback_scroll_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_55callback_scroll_anim_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_54callback_scroll_anim_start_add[] = "Scrolling animation has started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_55callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 331; __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[66]; __pyx_lineno = 331; __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("elementary.c_elementary.Photocam.callback_scroll_anim_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_54callback_scroll_anim_start_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":331
+ * self._callback_del("scroll", func)
+ *
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Scrolling animation has started."""
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_54callback_scroll_anim_start_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":333
+ * def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ * """Scrolling animation has started."""
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 333; __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[66]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_57callback_scroll_anim_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_57callback_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_10elementary_12c_elementary_8Photocam_56callback_scroll_anim_start_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":335
+ * self._callback_add("scroll,anim,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_56callback_scroll_anim_start_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":336
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 336; __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[66]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_69));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_69));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_69));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_59callback_scroll_anim_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_58callback_scroll_anim_stop_add[] = "Scrolling animation has stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_59callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 338; __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[66]; __pyx_lineno = 338; __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("elementary.c_elementary.Photocam.callback_scroll_anim_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_58callback_scroll_anim_stop_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":338
+ * self._callback_del("scroll,anim,start", func)
+ *
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Scrolling animation has stopped."""
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_58callback_scroll_anim_stop_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":340
+ * def callback_scroll_anim_stop_add(self, func, *args, **kwargs):
+ * """Scrolling animation has stopped."""
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 340; __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[66]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 340; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_61callback_scroll_anim_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_61callback_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_10elementary_12c_elementary_8Photocam_60callback_scroll_anim_stop_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":342
+ * self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_anim_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_60callback_scroll_anim_stop_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_anim_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":343
+ *
+ * def callback_scroll_anim_stop_del(self, func):
+ * self._callback_del("scroll,anim,stop", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 343; __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[66]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_70));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_70));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_70));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_63callback_scroll_drag_start_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_62callback_scroll_drag_start_add[] = "Dragging the contents around has started.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_63callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 345; __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[66]; __pyx_lineno = 345; __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("elementary.c_elementary.Photocam.callback_scroll_drag_start_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_62callback_scroll_drag_start_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":345
+ * self._callback_del("scroll,anim,stop", func)
+ *
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the contents around has started."""
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_62callback_scroll_drag_start_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":347
+ * def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ * """Dragging the contents around has started."""
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_start_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 347; __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[66]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_65callback_scroll_drag_start_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_65callback_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_10elementary_12c_elementary_8Photocam_64callback_scroll_drag_start_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":349
+ * self._callback_add("scroll,drag,start", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_start_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,start", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_64callback_scroll_drag_start_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_start_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":350
+ *
+ * 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_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 350; __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[66]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_71));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_71));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_71));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_67callback_scroll_drag_stop_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_8Photocam_66callback_scroll_drag_stop_add[] = "Dragging the contents around has stopped.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_67callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[66]; __pyx_lineno = 352; __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[66]; __pyx_lineno = 352; __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("elementary.c_elementary.Photocam.callback_scroll_drag_stop_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_8Photocam_66callback_scroll_drag_stop_add(((struct PyElementaryPhotocam *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":352
+ * self._callback_del("scroll,drag,start", func)
+ *
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """Dragging the contents around has stopped."""
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_66callback_scroll_drag_stop_add(struct PyElementaryPhotocam *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":354
+ * def callback_scroll_drag_stop_add(self, func, *args, **kwargs):
+ * """Dragging the contents around has stopped."""
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 354; __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[66]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_69callback_scroll_drag_stop_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_8Photocam_69callback_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_10elementary_12c_elementary_8Photocam_68callback_scroll_drag_stop_del(((struct PyElementaryPhotocam *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":356
+ * self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+ *
+ * def callback_scroll_drag_stop_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_8Photocam_68callback_scroll_drag_stop_del(struct PyElementaryPhotocam *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_scroll_drag_stop_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":357
+ *
+ * def callback_scroll_drag_stop_del(self, func):
+ * self._callback_del("scroll,drag,stop", func) # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 357; __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[66]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_72));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_kp_s_72));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_72));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.Photocam.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;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_8selected_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_8selected___set__(((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)__pyx_v_self), ((PyObject *)__pyx_v_selected));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":36
+ *
+ * """
+ * def __set__(self, selected): # <<<<<<<<<<<<<<
+ * elm_flipselector_item_selected_set(self.item, selected)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_8selected___set__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_self, PyObject *__pyx_v_selected) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ Eina_Bool __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":37
+ * """
+ * def __set__(self, selected):
+ * elm_flipselector_item_selected_set(self.item, selected) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __Pyx_PyInt_from_py_Eina_Bool(__pyx_v_selected); if (unlikely((__pyx_t_1 == (Eina_Bool)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flipselector_item_selected_set(__pyx_v_self->__pyx_base.item, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelectorItem.selected.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_8selected_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_8selected_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_8selected_2__get__(((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":39
+ * elm_flipselector_item_selected_set(self.item, selected)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return bool(elm_flipselector_item_selected_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_8selected_2__get__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":40
+ *
+ * def __get__(self):
+ * return bool(elm_flipselector_item_selected_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property prev:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __Pyx_PyInt_to_py_Eina_Bool(elm_flipselector_item_selected_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_7cpython_4bool_bool)), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FlipSelectorItem.selected.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_4prev_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_4prev_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_4prev___get__(((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":51
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_flipselector_item_prev_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_4prev___get__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":52
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_flipselector_item_prev_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * property next:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_flipselector_item_prev_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelectorItem.prev.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_4next_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_4next_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_4next___get__(((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":63
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_flipselector_item_next_get(self.item))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_16FlipSelectorItem_4next___get__(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":64
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_flipselector_item_next_get(self.item)) # <<<<<<<<<<<<<<
+ *
+ * cdef public class FlipSelector(Object) [object PyElementaryFlipSelector, type PyElementaryFlipSelector_Type]:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_flipselector_item_next_get(__pyx_v_self->__pyx_base.item)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelectorItem.next.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12FlipSelector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12FlipSelector_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ struct PyEvasObject *__pyx_v_parent = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__parent,0};
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 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) {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__parent);
+ if (likely(values[0])) kw_args--;
+ else goto __pyx_L5_argtuple_error;
+ }
+ if (unlikely(kw_args > 0)) {
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 98; __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 PyEvasObject *)values[0]);
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[67]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ __pyx_L3_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.__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_4evas_6c_evas_Object, 1, "parent", 0))) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector___init__(((struct PyElementaryFlipSelector *)__pyx_v_self), __pyx_v_parent);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":98
+ * """
+ *
+ * def __init__(self, evasObject parent): # <<<<<<<<<<<<<<
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_flipselector_add(parent.obj))
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12FlipSelector___init__(struct PyElementaryFlipSelector *__pyx_v_self, struct PyEvasObject *__pyx_v_parent) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__init__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":99
+ *
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas) # <<<<<<<<<<<<<<
+ * self._set_obj(elm_flipselector_add(parent.obj))
+ *
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Object)), __pyx_n_s____init__); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 99; __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[67]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_v_self));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+ __Pyx_INCREF(((PyObject *)__pyx_v_parent->evas));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_parent->evas));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_parent->evas));
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":100
+ * def __init__(self, evasObject parent):
+ * Object.__init__(self, parent.evas)
+ * self._set_obj(elm_flipselector_add(parent.obj)) # <<<<<<<<<<<<<<
+ *
+ * def next(self):
+ */
+ __pyx_t_4 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelector *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._set_obj(((struct PyEvasObject *)__pyx_v_self), elm_flipselector_add(__pyx_v_parent->obj)); if (unlikely(__pyx_t_4 == 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ __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("elementary.c_elementary.FlipSelector.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_3next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_2next[] = "next()\n\n Programmatically select the next item of a flip selector widget\n\n @note: The selection will be animated. Also, if it reaches the\n end of its list of member items, it will continue with the first\n one onwards.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_3next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("next (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_2next(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":102
+ * self._set_obj(elm_flipselector_add(parent.obj))
+ *
+ * def next(self): # <<<<<<<<<<<<<<
+ * """next()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_2next(struct PyElementaryFlipSelector *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("next", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":112
+ *
+ * """
+ * elm_flipselector_flip_next(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def prev(self):
+ */
+ elm_flipselector_flip_next(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_5prev(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_4prev[] = "prev()\n\n Programmatically select the previous item of a flip selector\n widget\n\n @note: The selection will be animated. Also, if it reaches the\n beginning of its list of member items, it will continue with the\n last one backwards.\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_5prev(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prev (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_4prev(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":114
+ * elm_flipselector_flip_next(self.obj)
+ *
+ * def prev(self): # <<<<<<<<<<<<<<
+ * """prev()
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_4prev(struct PyElementaryFlipSelector *__pyx_v_self) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("prev", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":125
+ *
+ * """
+ * elm_flipselector_flip_prev(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def item_append(self, label = None, callback = None, *args, **kwargs):
+ */
+ elm_flipselector_flip_prev(__pyx_v_self->__pyx_base.__pyx_base.obj);
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_7item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_6item_append[] = "item_append(label=None, callback=None, *args, **kwargs)\n\n Append a (text) item to a flip selector widget\n\n The widget's list of labels to show will be appended with the\n given value. If the user wishes so, a callback function pointer\n can be passed, which will get called when this same item is\n selected.\n\n @note: The current selection B{won't} be modified by appending an\n element to the list.\n\n @note: The maximum length of the text label is going to be\n determined B{by the widget's theme}. Strings larger than\n that value are going to be B{truncated}.\n\n @param label: The (text) label of the new item\n @type label: string\n @param func: Convenience callback function to take place when item\n is selected\n @type func: function\n\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{FlipSelectorItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_7item_append(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_append (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) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, 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);
+ }
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":127
+ * elm_flipselector_flip_prev(self.obj)
+ *
+ * def item_append(self, label = None, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_append(label=None, callback=None, *args, **kwargs)
+ *
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((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 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 (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_append") < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ case 0: break;
+ }
+ }
+ __pyx_v_label = values[0];
+ __pyx_v_callback = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_6item_append(((struct PyElementaryFlipSelector *)__pyx_v_self), __pyx_v_label, __pyx_v_callback, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_6item_append(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ Elm_Object_Item *__pyx_v_item;
+ Evas_Smart_Cb __pyx_v_cb;
+ struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_ret = 0;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_append", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":155
+ * """
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ * cdef FlipSelectorItem ret = FlipSelectorItem()
+ *
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":156
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb = NULL
+ * cdef FlipSelectorItem ret = FlipSelectorItem() # <<<<<<<<<<<<<<
+ *
+ * if callback is not None:
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_FlipSelectorItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":158
+ * cdef FlipSelectorItem ret = FlipSelectorItem()
+ *
+ * if callback is not None: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_2 = (__pyx_v_callback != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":159
+ *
+ * if callback is not None:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_2);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":160
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_251), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 160; __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[67]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":161
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * ret.params = (callback, args, kwargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":163
+ * cb = _object_item_callback
+ *
+ * ret.params = (callback, args, kwargs) # <<<<<<<<<<<<<<
+ * item = elm_flipselector_item_append(self.obj,
+ * _cfruni(label),
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":167
+ * _cfruni(label),
+ * cb,
+ * <void *>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_flipselector_item_append(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":169
+ * <void *>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":170
+ *
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelectorItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":171
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":173
+ * return ret
+ * else:
+ * return # <<<<<<<<<<<<<<
+ *
+ * def item_prepend(self, label = None, callback = None, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ }
+ __pyx_L5:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.item_append", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_9item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_8item_prepend[] = "item_prepend(label=None, callback=None, *args, **kwargs)\n\n Prepend a (text) item to a flip selector widget\n\n The widget's list of labels to show will be prepended with the\n given value. If the user wishes so, a callback function pointer\n can be passed, which will get called when this same item is\n selected.\n\n @note: The current selection B{won't} be modified by prepending\n an element to the list.\n\n @note: The maximum length of the text label is going to be\n determined B{by the widget's theme}. Strings larger than\n that value are going to be B{truncated}.\n\n @param label: The (text) label of the new item\n @type label: string\n @param func: Convenience callback function to take place when item\n is selected\n @type func: function\n\n @return: A handle to the item added or C{None}, on errors\n @rtype: L{FlipSelectorItem}\n\n ";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_9item_prepend(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_label = 0;
+ PyObject *__pyx_v_callback = 0;
+ PyObject *__pyx_v_args = 0;
+ PyObject *__pyx_v_kwargs = 0;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__label,&__pyx_n_s__callback,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("item_prepend (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) > 2) {
+ __pyx_v_args = PyTuple_GetSlice(__pyx_args, 2, 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);
+ }
+ {
+ PyObject* values[2] = {0,0};
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":175
+ * return
+ *
+ * def item_prepend(self, label = None, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_prepend(label=None, callback=None, *args, **kwargs)
+ *
+ */
+ values[0] = ((PyObject *)Py_None);
+ values[1] = ((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 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 (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__label);
+ if (value) { values[0] = value; kw_args--; }
+ }
+ case 1:
+ if (kw_args > 0) {
+ PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s__callback);
+ if (value) { values[1] = value; kw_args--; }
+ }
+ }
+ if (unlikely(kw_args > 0)) {
+ const Py_ssize_t used_pos_args = (pos_args < 2) ? pos_args : 2;
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, "item_prepend") < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
+ }
+ } else {
+ switch (PyTuple_GET_SIZE(__pyx_args)) {
+ default:
+ case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+ case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+ case 0: break;
+ }
+ }
+ __pyx_v_label = values[0];
+ __pyx_v_callback = values[1];
+ }
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
+ __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_8item_prepend(((struct PyElementaryFlipSelector *)__pyx_v_self), __pyx_v_label, __pyx_v_callback, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_8item_prepend(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_label, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
+ Elm_Object_Item *__pyx_v_item;
+ Evas_Smart_Cb __pyx_v_cb;
+ struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *__pyx_v_ret = 0;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("item_prepend", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":203
+ * """
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb = NULL # <<<<<<<<<<<<<<
+ * cdef FlipSelectorItem ret = FlipSelectorItem()
+ *
+ */
+ __pyx_v_cb = NULL;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":204
+ * cdef Elm_Object_Item *item
+ * cdef Evas_Smart_Cb cb = NULL
+ * cdef FlipSelectorItem ret = FlipSelectorItem() # <<<<<<<<<<<<<<
+ *
+ * if callback is not None:
+ */
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_FlipSelectorItem)), ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_v_ret = ((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)__pyx_t_1);
+ __pyx_t_1 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":206
+ * cdef FlipSelectorItem ret = FlipSelectorItem()
+ *
+ * if callback is not None: # <<<<<<<<<<<<<<
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ */
+ __pyx_t_2 = (__pyx_v_callback != Py_None);
+ if (__pyx_t_2) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":207
+ *
+ * if callback is not None:
+ * if not callable(callback): # <<<<<<<<<<<<<<
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback
+ */
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_callable, ((PyObject *)__pyx_t_1), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_4 = (!__pyx_t_2);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":208
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_t_3 = PyObject_Call(__pyx_builtin_TypeError, ((PyObject *)__pyx_k_tuple_252), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 208; __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[67]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ goto __pyx_L4;
+ }
+ __pyx_L4:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":209
+ * if not callable(callback):
+ * raise TypeError("callback is not callable")
+ * cb = _object_item_callback # <<<<<<<<<<<<<<
+ *
+ * ret.params = (callback, args, kwargs)
+ */
+ __pyx_v_cb = __pyx_f_10elementary_12c_elementary__object_item_callback;
+ goto __pyx_L3;
+ }
+ __pyx_L3:;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":211
+ * cb = _object_item_callback
+ *
+ * ret.params = (callback, args, kwargs) # <<<<<<<<<<<<<<
+ * item = elm_flipselector_item_append(self.obj,
+ * _cfruni(label),
+ */
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v_callback);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_callback);
+ __Pyx_GIVEREF(__pyx_v_callback);
+ __Pyx_INCREF(((PyObject *)__pyx_v_args));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, ((PyObject *)__pyx_v_args));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_args));
+ __Pyx_INCREF(((PyObject *)__pyx_v_kwargs));
+ PyTuple_SET_ITEM(__pyx_t_3, 2, ((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_v_kwargs));
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_3));
+ __Pyx_GOTREF(__pyx_v_ret->__pyx_base.params);
+ __Pyx_DECREF(__pyx_v_ret->__pyx_base.params);
+ __pyx_v_ret->__pyx_base.params = ((PyObject *)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":215
+ * _cfruni(label),
+ * cb,
+ * <void *>self) # <<<<<<<<<<<<<<
+ *
+ * if item != NULL:
+ */
+ __pyx_v_item = elm_flipselector_item_append(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_f_10elementary_12c_elementary__cfruni(__pyx_v_label), __pyx_v_cb, ((void *)__pyx_v_self));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":217
+ * <void *>self)
+ *
+ * if item != NULL: # <<<<<<<<<<<<<<
+ * ret._set_obj(item)
+ * return ret
+ */
+ __pyx_t_4 = (__pyx_v_item != NULL);
+ if (__pyx_t_4) {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":218
+ *
+ * if item != NULL:
+ * ret._set_obj(item) # <<<<<<<<<<<<<<
+ * return ret
+ * else:
+ */
+ __pyx_t_5 = ((struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelectorItem *)__pyx_v_ret->__pyx_base.__pyx_vtab)->__pyx_base._set_obj(((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)__pyx_v_ret), __pyx_v_item); if (unlikely(__pyx_t_5 == 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":219
+ * if item != NULL:
+ * ret._set_obj(item)
+ * return ret # <<<<<<<<<<<<<<
+ * else:
+ * return
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(((PyObject *)__pyx_v_ret));
+ __pyx_r = ((PyObject *)__pyx_v_ret);
+ goto __pyx_L0;
+ goto __pyx_L5;
+ }
+ /*else*/ {
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":221
+ * return ret
+ * else:
+ * return # <<<<<<<<<<<<<<
+ *
+ * property items:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ }
+ __pyx_L5:;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.item_prepend", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_5items_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_5items_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_5items___get__(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":241
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return tuple(_object_item_list_to_python(elm_flipselector_items_get(self.obj)))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_5items___get__(struct PyElementaryFlipSelector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":242
+ * """
+ * def __get__(self):
+ * return tuple(_object_item_list_to_python(elm_flipselector_items_get(self.obj))) # <<<<<<<<<<<<<<
+ *
+ * property first_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_list_to_python(elm_flipselector_items_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __pyx_t_1 = 0;
+ __pyx_t_1 = PyObject_Call(((PyObject *)((PyObject*)(&PyTuple_Type))), ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __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_AddTraceback("elementary.c_elementary.FlipSelector.items.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_10first_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_10first_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_10first_item___get__(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":254
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_flipselector_first_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_10first_item___get__(struct PyElementaryFlipSelector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":255
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_flipselector_first_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property last_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_flipselector_first_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.first_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_9last_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_9last_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_9last_item___get__(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":267
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_flipselector_last_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_9last_item___get__(struct PyElementaryFlipSelector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":268
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_flipselector_last_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property selected_item:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_flipselector_last_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.last_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_13selected_item_1__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_13selected_item_1__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_13selected_item___get__(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":276
+ *
+ * """
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return _object_item_to_python(elm_flipselector_selected_item_get(self.obj))
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_13selected_item___get__(struct PyElementaryFlipSelector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":277
+ * """
+ * def __get__(self):
+ * return _object_item_to_python(elm_flipselector_selected_item_get(self.obj)) # <<<<<<<<<<<<<<
+ *
+ * property first_interval:
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = __pyx_f_10elementary_12c_elementary__object_item_to_python(elm_flipselector_selected_item_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.selected_item.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static int __pyx_pw_10elementary_12c_elementary_12FlipSelector_14first_interval_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval); /*proto*/
+ static int __pyx_pw_10elementary_12c_elementary_12FlipSelector_14first_interval_1__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_14first_interval___set__(((struct PyElementaryFlipSelector *)__pyx_v_self), ((PyObject *)__pyx_v_interval));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":301
+ *
+ * """
+ * def __set__(self, interval): # <<<<<<<<<<<<<<
+ * elm_flipselector_first_interval_set(self.obj, interval)
+ *
+ */
+
+ static int __pyx_pf_10elementary_12c_elementary_12FlipSelector_14first_interval___set__(struct PyElementaryFlipSelector *__pyx_v_self, PyObject *__pyx_v_interval) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ double __pyx_t_1;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__set__", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":302
+ * """
+ * def __set__(self, interval):
+ * elm_flipselector_first_interval_set(self.obj, interval) # <<<<<<<<<<<<<<
+ *
+ * def __get__(self):
+ */
+ __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_interval); if (unlikely((__pyx_t_1 == (double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ elm_flipselector_first_interval_set(__pyx_v_self->__pyx_base.__pyx_base.obj, __pyx_t_1);
+
+ __pyx_r = 0;
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.first_interval.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = -1;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_14first_interval_3__get__(PyObject *__pyx_v_self); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_14first_interval_3__get__(PyObject *__pyx_v_self) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_14first_interval_2__get__(((struct PyElementaryFlipSelector *)__pyx_v_self));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":304
+ * elm_flipselector_first_interval_set(self.obj, interval)
+ *
+ * def __get__(self): # <<<<<<<<<<<<<<
+ * return elm_flipselector_first_interval_get(self.obj)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_14first_interval_2__get__(struct PyElementaryFlipSelector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":305
+ *
+ * def __get__(self):
+ * return elm_flipselector_first_interval_get(self.obj) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_add(self, func, *args, **kwargs):
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_t_1 = PyFloat_FromDouble(elm_flipselector_first_interval_get(__pyx_v_self->__pyx_base.__pyx_base.obj)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 305; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("elementary.c_elementary.FlipSelector.first_interval.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_11callback_selected_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_10callback_selected_add[] = "When the widget's selected text item is changed.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_11callback_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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[67]; __pyx_lineno = 307; __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[67]; __pyx_lineno = 307; __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("elementary.c_elementary.FlipSelector.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_10callback_selected_add(((struct PyElementaryFlipSelector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":307
+ * return elm_flipselector_first_interval_get(self.obj)
+ *
+ * def callback_selected_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the widget's selected text item is changed."""
+ * self._callback_add("selected", func, *args, **kwargs)
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_10callback_selected_add(struct PyElementaryFlipSelector *__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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":309
+ * def callback_selected_add(self, func, *args, **kwargs):
+ * """When the widget's selected text item is changed."""
+ * self._callback_add("selected", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_selected_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 309; __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[67]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__selected));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 309; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FlipSelector.callback_selected_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_13callback_selected_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_13callback_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_10elementary_12c_elementary_12FlipSelector_12callback_selected_del(((struct PyElementaryFlipSelector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":311
+ * self._callback_add("selected", func, *args, **kwargs)
+ *
+ * def callback_selected_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("selected", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_12callback_selected_del(struct PyElementaryFlipSelector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_selected_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":312
+ *
+ * def callback_selected_del(self, func):
+ * self._callback_del("selected", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_overflowed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 312; __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[67]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__selected));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__selected));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__selected));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FlipSelector.callback_selected_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_15callback_overflowed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_14callback_overflowed_add[] = "When the widget's current selection is changed from the first\n item in its list to the last.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_15callback_overflowed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_overflowed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_overflowed_add") < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 314; __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_overflowed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[67]; __pyx_lineno = 314; __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("elementary.c_elementary.FlipSelector.callback_overflowed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_14callback_overflowed_add(((struct PyElementaryFlipSelector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":314
+ * self._callback_del("selected", func)
+ *
+ * def callback_overflowed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the widget's current selection is changed from the first
+ * item in its list to the last."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_14callback_overflowed_add(struct PyElementaryFlipSelector *__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_overflowed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":317
+ * """When the widget's current selection is changed from the first
+ * item in its list to the last."""
+ * self._callback_add("overflowed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_overflowed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 317; __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[67]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__overflowed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__overflowed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__overflowed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FlipSelector.callback_overflowed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_17callback_overflowed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_17callback_overflowed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_overflowed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_16callback_overflowed_del(((struct PyElementaryFlipSelector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":319
+ * self._callback_add("overflowed", func, *args, **kwargs)
+ *
+ * def callback_overflowed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("overflowed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_16callback_overflowed_del(struct PyElementaryFlipSelector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_overflowed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":320
+ *
+ * def callback_overflowed_del(self, func):
+ * self._callback_del("overflowed", func) # <<<<<<<<<<<<<<
+ *
+ * def callback_underflowed_add(self, func, *args, **kwargs):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 320; __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[67]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__overflowed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__overflowed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__overflowed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FlipSelector.callback_overflowed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_19callback_underflowed_add(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+ static char __pyx_doc_10elementary_12c_elementary_12FlipSelector_18callback_underflowed_add[] = "When the widget's current selection is changed from the last item\n in its list to the first.";
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_19callback_underflowed_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;
+ static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__func,0};
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_underflowed_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);
+ }
+ {
+ 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:
+ values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s__func);
+ if (likely(values[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_underflowed_add") < 0)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 322; __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_underflowed_add", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[67]; __pyx_lineno = 322; __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("elementary.c_elementary.FlipSelector.callback_underflowed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_18callback_underflowed_add(((struct PyElementaryFlipSelector *)__pyx_v_self), __pyx_v_func, __pyx_v_args, __pyx_v_kwargs);
+ __Pyx_XDECREF(__pyx_v_args);
+ __Pyx_XDECREF(__pyx_v_kwargs);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":322
+ * self._callback_del("overflowed", func)
+ *
+ * def callback_underflowed_add(self, func, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """When the widget's current selection is changed from the last item
+ * in its list to the first."""
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_18callback_underflowed_add(struct PyElementaryFlipSelector *__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_underflowed_add", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":325
+ * """When the widget's current selection is changed from the last item
+ * in its list to the first."""
+ * self._callback_add("underflowed", func, *args, **kwargs) # <<<<<<<<<<<<<<
+ *
+ * def callback_underflowed_del(self, func):
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_add); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 325; __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[67]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__underflowed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__underflowed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__underflowed));
+ __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(((PyObject *)__pyx_v_args)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_3));
+ __pyx_t_4 = PyNumber_Add(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_4));
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = ((PyObject *)__pyx_v_kwargs);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_4), ((PyObject *)__pyx_t_3)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ __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("elementary.c_elementary.FlipSelector.callback_underflowed_add", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* Python wrapper */
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_21callback_underflowed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func); /*proto*/
+ static PyObject *__pyx_pw_10elementary_12c_elementary_12FlipSelector_21callback_underflowed_del(PyObject *__pyx_v_self, PyObject *__pyx_v_func) {
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("callback_underflowed_del (wrapper)", 0);
+ __pyx_r = __pyx_pf_10elementary_12c_elementary_12FlipSelector_20callback_underflowed_del(((struct PyElementaryFlipSelector *)__pyx_v_self), ((PyObject *)__pyx_v_func));
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":327
+ * self._callback_add("underflowed", func, *args, **kwargs)
+ *
+ * def callback_underflowed_del(self, func): # <<<<<<<<<<<<<<
+ * self._callback_del("underflowed", func)
+ *
+ */
+
+ static PyObject *__pyx_pf_10elementary_12c_elementary_12FlipSelector_20callback_underflowed_del(struct PyElementaryFlipSelector *__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;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("callback_underflowed_del", 0);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":328
+ *
+ * def callback_underflowed_del(self, func):
+ * self._callback_del("underflowed", func) # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("flipselector", FlipSelector)
+ */
+ __pyx_t_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_n_s___callback_del); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 328; __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[67]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__underflowed));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__underflowed));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__underflowed));
+ __Pyx_INCREF(__pyx_v_func);
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_func);
+ __Pyx_GIVEREF(__pyx_v_func);
+ __pyx_t_3 = PyObject_Call(__pyx_t_1, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 328; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ __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_AddTraceback("elementary.c_elementary.FlipSelector.callback_underflowed_del", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+ }
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Configuration(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Configuration(PyObject *o) {
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_profile(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_7profile_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_profile(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_7profile_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_profile_list(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_12profile_list_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_bounce_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_bounce_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_21scroll_bounce_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_bounce_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_bounce_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_22scroll_bounce_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_page_scroll_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_page_scroll_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_page_scroll_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_bring_in_scroll_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_bring_in_scroll_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_31scroll_bring_in_scroll_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_zoom_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_zoom_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_20scroll_zoom_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_26scroll_thumbscroll_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_threshold(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_threshold(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_28scroll_thumbscroll_threshold_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_momentum_threshold(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_momentum_threshold(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_37scroll_thumbscroll_momentum_threshold_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_27scroll_thumbscroll_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_border_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_border_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_34scroll_thumbscroll_border_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_sensitivity_friction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_sensitivity_friction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_39scroll_thumbscroll_sensitivity_friction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_longpress_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_17longpress_timeout_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_longpress_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_17longpress_timeout_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_tooltip_delay(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_13tooltip_delay_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_tooltip_delay(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_13tooltip_delay_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cursor_engine_only(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_18cursor_engine_only_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cursor_engine_only(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_18cursor_engine_only_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_scale(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_5scale_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_scale(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_5scale_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_password_show_last(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_18password_show_last_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_password_show_last(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_18password_show_last_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_password_show_last_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_password_show_last_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_26password_show_last_timeout_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_engine(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_6engine_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_engine(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_6engine_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_preferred_engine(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_16preferred_engine_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_preferred_engine(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_16preferred_engine_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_text_classes_list(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_17text_classes_list_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_font_overlay_list(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_17font_overlay_list_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_finger_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_11finger_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_finger_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_11finger_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cache_flush_interval(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_20cache_flush_interval_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_flush_interval(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_20cache_flush_interval_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cache_flush_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_flush_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_19cache_flush_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cache_font_cache_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_font_cache_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_21cache_font_cache_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cache_image_cache_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_image_cache_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_22cache_image_cache_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cache_edje_file_cache_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_edje_file_cache_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_26cache_edje_file_cache_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_cache_edje_collection_cache_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_edje_collection_cache_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_32cache_edje_collection_cache_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_focus_highlight_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_focus_highlight_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_focus_highlight_animate(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_focus_highlight_animate(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_23focus_highlight_animate_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Configuration_mirrored(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_8mirrored_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Configuration_mirrored(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Configuration_8mirrored_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Configuration[] = {
+ {__Pyx_NAMESTR("save"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_1save, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_save)},
+ {__Pyx_NAMESTR("reload"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_3reload, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_2reload)},
+ {__Pyx_NAMESTR("all_flush"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_5all_flush, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_4all_flush)},
+ {__Pyx_NAMESTR("profile_dir_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_7profile_dir_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_6profile_dir_get)},
+ {__Pyx_NAMESTR("font_overlay_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_9font_overlay_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_8font_overlay_set)},
+ {__Pyx_NAMESTR("font_overlay_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_11font_overlay_unset, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_10font_overlay_unset)},
+ {__Pyx_NAMESTR("font_overlay_apply"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Configuration_13font_overlay_apply, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Configuration_12font_overlay_apply)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Configuration[] = {
+ {(char *)"profile", __pyx_getprop_10elementary_12c_elementary_13Configuration_profile, __pyx_setprop_10elementary_12c_elementary_13Configuration_profile, __Pyx_DOCSTR(__pyx_k_253), 0},
+ {(char *)"profile_list", __pyx_getprop_10elementary_12c_elementary_13Configuration_profile_list, 0, __Pyx_DOCSTR(__pyx_k_254), 0},
+ {(char *)"scroll_bounce_enabled", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_bounce_enabled, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_bounce_enabled, __Pyx_DOCSTR(__pyx_k_255), 0},
+ {(char *)"scroll_bounce_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_bounce_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_bounce_friction, __Pyx_DOCSTR(__pyx_k_256), 0},
+ {(char *)"scroll_page_scroll_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_page_scroll_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_page_scroll_friction, __Pyx_DOCSTR(__pyx_k_257), 0},
+ {(char *)"scroll_bring_in_scroll_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_bring_in_scroll_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_bring_in_scroll_friction, __Pyx_DOCSTR(__pyx_k_258), 0},
+ {(char *)"scroll_zoom_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_zoom_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_zoom_friction, __Pyx_DOCSTR(__pyx_k_259), 0},
+ {(char *)"scroll_thumbscroll_enabled", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_enabled, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_enabled, __Pyx_DOCSTR(__pyx_k_260), 0},
+ {(char *)"scroll_thumbscroll_threshold", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_threshold, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_threshold, __Pyx_DOCSTR(__pyx_k_261), 0},
+ {(char *)"scroll_thumbscroll_momentum_threshold", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_momentum_threshold, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_momentum_threshold, __Pyx_DOCSTR(__pyx_k_262), 0},
+ {(char *)"scroll_thumbscroll_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_friction, __Pyx_DOCSTR(__pyx_k_263), 0},
+ {(char *)"scroll_thumbscroll_border_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_border_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_border_friction, __Pyx_DOCSTR(__pyx_k_264), 0},
+ {(char *)"scroll_thumbscroll_sensitivity_friction", __pyx_getprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_sensitivity_friction, __pyx_setprop_10elementary_12c_elementary_13Configuration_scroll_thumbscroll_sensitivity_friction, __Pyx_DOCSTR(__pyx_k_265), 0},
+ {(char *)"longpress_timeout", __pyx_getprop_10elementary_12c_elementary_13Configuration_longpress_timeout, __pyx_setprop_10elementary_12c_elementary_13Configuration_longpress_timeout, __Pyx_DOCSTR(__pyx_k_266), 0},
+ {(char *)"tooltip_delay", __pyx_getprop_10elementary_12c_elementary_13Configuration_tooltip_delay, __pyx_setprop_10elementary_12c_elementary_13Configuration_tooltip_delay, __Pyx_DOCSTR(__pyx_k_267), 0},
+ {(char *)"cursor_engine_only", __pyx_getprop_10elementary_12c_elementary_13Configuration_cursor_engine_only, __pyx_setprop_10elementary_12c_elementary_13Configuration_cursor_engine_only, __Pyx_DOCSTR(__pyx_k_268), 0},
+ {(char *)"scale", __pyx_getprop_10elementary_12c_elementary_13Configuration_scale, __pyx_setprop_10elementary_12c_elementary_13Configuration_scale, __Pyx_DOCSTR(__pyx_k_269), 0},
+ {(char *)"password_show_last", __pyx_getprop_10elementary_12c_elementary_13Configuration_password_show_last, __pyx_setprop_10elementary_12c_elementary_13Configuration_password_show_last, __Pyx_DOCSTR(__pyx_k_270), 0},
+ {(char *)"password_show_last_timeout", __pyx_getprop_10elementary_12c_elementary_13Configuration_password_show_last_timeout, __pyx_setprop_10elementary_12c_elementary_13Configuration_password_show_last_timeout, __Pyx_DOCSTR(__pyx_k_271), 0},
+ {(char *)"engine", __pyx_getprop_10elementary_12c_elementary_13Configuration_engine, __pyx_setprop_10elementary_12c_elementary_13Configuration_engine, __Pyx_DOCSTR(__pyx_k_272), 0},
+ {(char *)"preferred_engine", __pyx_getprop_10elementary_12c_elementary_13Configuration_preferred_engine, __pyx_setprop_10elementary_12c_elementary_13Configuration_preferred_engine, __Pyx_DOCSTR(__pyx_k_273), 0},
+ {(char *)"text_classes_list", __pyx_getprop_10elementary_12c_elementary_13Configuration_text_classes_list, 0, __Pyx_DOCSTR(__pyx_k_274), 0},
+ {(char *)"font_overlay_list", __pyx_getprop_10elementary_12c_elementary_13Configuration_font_overlay_list, 0, __Pyx_DOCSTR(__pyx_k_275), 0},
+ {(char *)"finger_size", __pyx_getprop_10elementary_12c_elementary_13Configuration_finger_size, __pyx_setprop_10elementary_12c_elementary_13Configuration_finger_size, __Pyx_DOCSTR(__pyx_k_276), 0},
+ {(char *)"cache_flush_interval", __pyx_getprop_10elementary_12c_elementary_13Configuration_cache_flush_interval, __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_flush_interval, __Pyx_DOCSTR(__pyx_k_277), 0},
+ {(char *)"cache_flush_enabled", __pyx_getprop_10elementary_12c_elementary_13Configuration_cache_flush_enabled, __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_flush_enabled, __Pyx_DOCSTR(__pyx_k_278), 0},
+ {(char *)"cache_font_cache_size", __pyx_getprop_10elementary_12c_elementary_13Configuration_cache_font_cache_size, __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_font_cache_size, __Pyx_DOCSTR(__pyx_k_279), 0},
+ {(char *)"cache_image_cache_size", __pyx_getprop_10elementary_12c_elementary_13Configuration_cache_image_cache_size, __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_image_cache_size, __Pyx_DOCSTR(__pyx_k_280), 0},
+ {(char *)"cache_edje_file_cache_size", __pyx_getprop_10elementary_12c_elementary_13Configuration_cache_edje_file_cache_size, __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_edje_file_cache_size, __Pyx_DOCSTR(__pyx_k_281), 0},
+ {(char *)"cache_edje_collection_cache_size", __pyx_getprop_10elementary_12c_elementary_13Configuration_cache_edje_collection_cache_size, __pyx_setprop_10elementary_12c_elementary_13Configuration_cache_edje_collection_cache_size, __Pyx_DOCSTR(__pyx_k_282), 0},
+ {(char *)"focus_highlight_enabled", __pyx_getprop_10elementary_12c_elementary_13Configuration_focus_highlight_enabled, __pyx_setprop_10elementary_12c_elementary_13Configuration_focus_highlight_enabled, __Pyx_DOCSTR(__pyx_k_283), 0},
+ {(char *)"focus_highlight_animate", __pyx_getprop_10elementary_12c_elementary_13Configuration_focus_highlight_animate, __pyx_setprop_10elementary_12c_elementary_13Configuration_focus_highlight_animate, __Pyx_DOCSTR(__pyx_k_284), 0},
+ {(char *)"mirrored", __pyx_getprop_10elementary_12c_elementary_13Configuration_mirrored, __pyx_setprop_10elementary_12c_elementary_13Configuration_mirrored, __Pyx_DOCSTR(__pyx_k_285), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Configuration = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Configuration = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Configuration = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Configuration = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_Configuration = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Configuration"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_Configuration), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Configuration, /*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*/
+ &__pyx_tp_as_number_Configuration, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Configuration, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Configuration, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Configuration, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ __Pyx_DOCSTR("Elementary configuration is formed by a set options bounded to a\n given profile, like theme, \"finger size\", etc.\n\n These are functions with which one synchronizes changes made to those\n values to the configuration storing files, de facto. You most probably\n don't want to use the functions in this group unless you're writing an\n elementary configuration manager.\n\n "), /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Configuration, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Configuration, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Configuration, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Theme(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ if (__pyx_pw_10elementary_12c_elementary_5Theme_1__cinit__(o, __pyx_empty_tuple, NULL) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Theme(PyObject *o) {
+ {
+ PyObject *etype, *eval, *etb;
+ PyErr_Fetch(&etype, &eval, &etb);
+ ++Py_REFCNT(o);
+ __pyx_pw_10elementary_12c_elementary_5Theme_5__dealloc__(o);
+ if (PyErr_Occurred()) PyErr_WriteUnraisable(o);
+ --Py_REFCNT(o);
+ PyErr_Restore(etype, eval, etb);
+ }
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Theme_reference(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_9reference_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Theme_reference(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_9reference_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Theme_overlay_list(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_12overlay_list_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Theme_extension_list(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_14extension_list_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Theme_order(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_5order_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Theme_order(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_5order_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Theme_elements(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Theme_8elements_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Theme[] = {
+ {__Pyx_NAMESTR("copy"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_7copy, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_6copy)},
+ {__Pyx_NAMESTR("overlay_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_9overlay_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_8overlay_add)},
+ {__Pyx_NAMESTR("overlay_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_11overlay_del, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_10overlay_del)},
+ {__Pyx_NAMESTR("extension_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_13extension_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_12extension_add)},
+ {__Pyx_NAMESTR("extension_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_15extension_del, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_14extension_del)},
+ {__Pyx_NAMESTR("flush"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_17flush, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_16flush)},
+ {__Pyx_NAMESTR("data_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Theme_19data_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Theme_18data_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Theme[] = {
+ {(char *)"reference", __pyx_getprop_10elementary_12c_elementary_5Theme_reference, __pyx_setprop_10elementary_12c_elementary_5Theme_reference, __Pyx_DOCSTR(__pyx_k_286), 0},
+ {(char *)"overlay_list", __pyx_getprop_10elementary_12c_elementary_5Theme_overlay_list, 0, __Pyx_DOCSTR(__pyx_k_287), 0},
+ {(char *)"extension_list", __pyx_getprop_10elementary_12c_elementary_5Theme_extension_list, 0, __Pyx_DOCSTR(__pyx_k_288), 0},
+ {(char *)"order", __pyx_getprop_10elementary_12c_elementary_5Theme_order, __pyx_setprop_10elementary_12c_elementary_5Theme_order, __Pyx_DOCSTR(__pyx_k_289), 0},
+ {(char *)"elements", __pyx_getprop_10elementary_12c_elementary_5Theme_elements, 0, __Pyx_DOCSTR(__pyx_k_290), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Theme = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Theme = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Theme = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Theme = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_Theme = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Theme"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_Theme), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Theme, /*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*/
+ &__pyx_tp_as_number_Theme, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Theme, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Theme, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Theme, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ __Pyx_DOCSTR("Elementary uses Edje to theme its widgets, naturally. But for the most\n part this is hidden behind a simpler interface that lets the user set\n extensions and choose the style of widgets in a much easier way.\n\n Instead of thinking in terms of paths to Edje files and their groups\n each time you want to change the appearance of a widget, Elementary\n works so you can add any theme file with extensions or replace the\n main theme at one point in the application, and then just set the style\n of widgets with elm_object_style_set() and related functions. Elementary\n will then look in its list of themes for a matching group and apply it,\n and when the theme changes midway through the application, all widgets\n will be updated accordingly.\n\n There are three concepts you need to know to understand how Elementary\n theming works: default theme, extensions and overlays.\n\n Default theme, obviously enough, is the one that provides the default\n look of all widgets. End users can change the theme used by Elementary\n by setting the C{ELM_THEME} environment variable before running an\n application, or globally for all programs using the C{elementary_config}\n utility. Applications can change the default theme using elm_theme_set(),\n but this can go against the user wishes, so it's not an advised practice.\n\n Ideally, applications should find everything they need in the already\n provided theme, but there may be occasions when that's not enough and\n custom styles are required to correctly express the idea. For this\n cases, Elementary has extensions.\n\n Extensions allow the application developer to write styles of its own\n to apply to some widgets. This requires knowledge of how each widget\n is themed, as extensions will always replace the entire group used by\n the widget, so important signals and parts need to be there for the\n object to behave properly (see documentation of Edje for details).\n Once the theme for the extension is done, the application needs to add\n it to the list of themes Elementary will look into, using\n elm_theme_extension_add(), and set the style of the desired widgets as\n he would normally with elm_object_style_set().\n\n Overlays, on the other hand, can replace the look of all widgets by\n overriding the default style. Like extensions, it's up to the application\n developer to write the theme for the widgets it wants, the difference\n being that when looking for the theme, Elementary will check first the\n list of overlays, then the set theme and lastly the list of extensions,\n so with overlays it's possible to replace the default view and every\n widget will be affected. This is very much alike to setting the whole\n theme for the application and will probably clash with the end user\n options, not to mention the risk of ending up with not matching styles\n across the program. Unless there's a very special reason to use them,\n overlays should be avoided for the reasons exposed before.\n\n All these theme lists are handled by ::Elm_Theme instances. Elementary\n keeps one default internally and every function that receives one of\n these can be called with NULL to refer to this default (except for\n elm_theme_free()). It's possible to create a new instance of a\n ::Elm_Theme to set other theme for a specific widget (and all of its\n children), but this is as discouraged, if not even more so, than using\n overlays. Don't use this unless you really know what you are doing.\n\n "), /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Theme, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Theme, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Theme_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Theme, /*tp_new*/
+ 0, /*tp_free*/
+ 0, /*tp_is_gc*/
+ 0, /*tp_bases*/
+ 0, /*tp_mro*/
+ 0, /*tp_cache*/
+ 0, /*tp_subclasses*/
+ 0, /*tp_weaklist*/
+ 0, /*tp_del*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Canvas __pyx_vtable_10elementary_12c_elementary_Canvas;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Canvas(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_Canvas *p;
+ PyObject *o = __pyx_ptype_4evas_6c_evas_Canvas->tp_new(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_Canvas *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Canvas*)__pyx_vtabptr_10elementary_12c_elementary_Canvas;
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Canvas(PyObject *o) {
+ __pyx_ptype_4evas_6c_evas_Canvas->tp_dealloc(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_Canvas(PyObject *o, visitproc v, void *a) {
+ int e;
+ if (__pyx_ptype_4evas_6c_evas_Canvas->tp_traverse) {
+ e = __pyx_ptype_4evas_6c_evas_Canvas->tp_traverse(o, v, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_Canvas(PyObject *o) {
+ if (__pyx_ptype_4evas_6c_evas_Canvas->tp_clear) {
+ __pyx_ptype_4evas_6c_evas_Canvas->tp_clear(o);
+ }
+ return 0;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Canvas[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Canvas = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Canvas = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Canvas = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Canvas = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_Canvas = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Canvas"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_Canvas), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Canvas, /*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*/
+ &__pyx_tp_as_number_Canvas, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Canvas, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Canvas, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Canvas, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Canvas, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Canvas, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Canvas, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Canvas_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Canvas, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Object __pyx_vtable_10elementary_12c_elementary_Object;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Object(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryObject *p;
+ PyObject *o = __pyx_ptype_4evas_6c_evas_Object->tp_new(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryObject *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Object;
+ p->_elmcallbacks = Py_None; Py_INCREF(Py_None);
+ p->_elm_event_cbs = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Object(PyObject *o) {
+ struct PyElementaryObject *p = (struct PyElementaryObject *)o;
+ Py_XDECREF(p->_elmcallbacks);
+ Py_XDECREF(p->_elm_event_cbs);
+ __pyx_ptype_4evas_6c_evas_Object->tp_dealloc(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_Object(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct PyElementaryObject *p = (struct PyElementaryObject *)o;
+ if (__pyx_ptype_4evas_6c_evas_Object->tp_traverse) {
+ e = __pyx_ptype_4evas_6c_evas_Object->tp_traverse(o, v, a); if (e) return e;
+ }
+ if (p->_elmcallbacks) {
+ e = (*v)(p->_elmcallbacks, a); if (e) return e;
+ }
+ if (p->_elm_event_cbs) {
+ e = (*v)(p->_elm_event_cbs, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_Object(PyObject *o) {
+ struct PyElementaryObject *p = (struct PyElementaryObject *)o;
+ PyObject* tmp;
+ if (__pyx_ptype_4evas_6c_evas_Object->tp_clear) {
+ __pyx_ptype_4evas_6c_evas_Object->tp_clear(o);
+ }
+ tmp = ((PyObject*)p->_elmcallbacks);
+ p->_elmcallbacks = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ tmp = ((PyObject*)p->_elm_event_cbs);
+ p->_elm_event_cbs = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_text(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_4text_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_text(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_4text_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_content(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_7content_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_content(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_7content_3__set__(o, v);
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_6Object_7content_5__del__(o);
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_5style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_5style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_8disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_8disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_parent_widget(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13parent_widget_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_top_widget(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_10top_widget_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_widget_type(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_11widget_type_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_cursor(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_6cursor_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_cursor(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_6cursor_3__set__(o, v);
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_6Object_6cursor_5__del__(o);
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_cursor_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_12cursor_style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_cursor_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_12cursor_style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_cursor_theme_search_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_cursor_theme_search_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_27cursor_theme_search_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_focus_allow(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_11focus_allow_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_focus_allow(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_11focus_allow_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_focus_custom_chain(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_focus_custom_chain(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_3__set__(o, v);
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_6Object_18focus_custom_chain_5__del__(o);
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_tree_focus_allow(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_16tree_focus_allow_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_tree_focus_allow(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_16tree_focus_allow_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_mirrored(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_8mirrored_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_mirrored(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_8mirrored_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_mirrored_automatic(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_18mirrored_automatic_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_mirrored_automatic(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_18mirrored_automatic_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_scale(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_5scale_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_scale(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_5scale_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_scroll_lock_x(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_x_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_scroll_lock_x(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_x_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_scroll_lock_y(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_y_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_scroll_lock_y(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13scroll_lock_y_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_theme(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_5theme_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_theme(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_5theme_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_tooltip_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13tooltip_style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_tooltip_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_13tooltip_style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_tooltip_window_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_19tooltip_window_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_tooltip_window_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_19tooltip_window_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Object_translatable_text(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_17translatable_text_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Object_translatable_text(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Object_17translatable_text_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Object[] = {
+ {__Pyx_NAMESTR("part_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_1part_text_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_part_text_set)},
+ {__Pyx_NAMESTR("text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_3text_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_2text_set)},
+ {__Pyx_NAMESTR("part_text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_5part_text_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_4part_text_get)},
+ {__Pyx_NAMESTR("text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_7text_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_6text_get)},
+ {__Pyx_NAMESTR("part_content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_9part_content_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_8part_content_set)},
+ {__Pyx_NAMESTR("content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_11content_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("part_content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_13part_content_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_12part_content_get)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_15content_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("part_content_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_17part_content_unset, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_16part_content_unset)},
+ {__Pyx_NAMESTR("content_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_19content_unset, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("access_info_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_21access_info_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_20access_info_set)},
+ {__Pyx_NAMESTR("name_find"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_23name_find, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_22name_find)},
+ {__Pyx_NAMESTR("style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_25style_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_24style_set)},
+ {__Pyx_NAMESTR("style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_27style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_26style_get)},
+ {__Pyx_NAMESTR("disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_29disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_28disabled_set)},
+ {__Pyx_NAMESTR("disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_31disabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_30disabled_get)},
+ {__Pyx_NAMESTR("widget_check"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_33widget_check, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_32widget_check)},
+ {__Pyx_NAMESTR("parent_widget_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_35parent_widget_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_34parent_widget_get)},
+ {__Pyx_NAMESTR("top_widget_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_37top_widget_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_36top_widget_get)},
+ {__Pyx_NAMESTR("widget_type_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_39widget_type_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_38widget_type_get)},
+ {__Pyx_NAMESTR("signal_emit"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_41signal_emit, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_40signal_emit)},
+ {__Pyx_NAMESTR("elm_event_callback_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_43elm_event_callback_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_42elm_event_callback_add)},
+ {__Pyx_NAMESTR("elm_event_callback_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_45elm_event_callback_del, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_44elm_event_callback_del)},
+ {__Pyx_NAMESTR("cursor_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_47cursor_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_46cursor_set)},
+ {__Pyx_NAMESTR("cursor_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_49cursor_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("cursor_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_51cursor_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_50cursor_unset)},
+ {__Pyx_NAMESTR("cursor_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_53cursor_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_52cursor_style_set)},
+ {__Pyx_NAMESTR("cursor_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_55cursor_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_54cursor_style_get)},
+ {__Pyx_NAMESTR("cursor_theme_search_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_57cursor_theme_search_enabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_56cursor_theme_search_enabled_set)},
+ {__Pyx_NAMESTR("cursor_theme_search_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_59cursor_theme_search_enabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_58cursor_theme_search_enabled_get)},
+ {__Pyx_NAMESTR("focus_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_61focus_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_60focus_get)},
+ {__Pyx_NAMESTR("focus_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_63focus_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_62focus_set)},
+ {__Pyx_NAMESTR("focus_allow_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_65focus_allow_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_64focus_allow_set)},
+ {__Pyx_NAMESTR("focus_allow_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_67focus_allow_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_66focus_allow_get)},
+ {__Pyx_NAMESTR("focus_custom_chain_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_69focus_custom_chain_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_68focus_custom_chain_set)},
+ {__Pyx_NAMESTR("focus_custom_chain_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_71focus_custom_chain_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_70focus_custom_chain_unset)},
+ {__Pyx_NAMESTR("focus_custom_chain_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_73focus_custom_chain_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_72focus_custom_chain_get)},
+ {__Pyx_NAMESTR("focus_custom_chain_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_75focus_custom_chain_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_74focus_custom_chain_append)},
+ {__Pyx_NAMESTR("focus_custom_chain_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_77focus_custom_chain_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_76focus_custom_chain_prepend)},
+ {__Pyx_NAMESTR("tree_focus_allow_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_79tree_focus_allow_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_78tree_focus_allow_set)},
+ {__Pyx_NAMESTR("tree_focus_allow_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_81tree_focus_allow_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_80tree_focus_allow_get)},
+ {__Pyx_NAMESTR("mirrored_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_83mirrored_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_82mirrored_get)},
+ {__Pyx_NAMESTR("mirrored_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_85mirrored_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_84mirrored_set)},
+ {__Pyx_NAMESTR("mirrored_automatic_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_87mirrored_automatic_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_86mirrored_automatic_get)},
+ {__Pyx_NAMESTR("mirrored_automatic_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_89mirrored_automatic_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_88mirrored_automatic_set)},
+ {__Pyx_NAMESTR("scale_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_91scale_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_90scale_set)},
+ {__Pyx_NAMESTR("scale_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_93scale_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_92scale_get)},
+ {__Pyx_NAMESTR("scroll_hold_push"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_95scroll_hold_push, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_94scroll_hold_push)},
+ {__Pyx_NAMESTR("scroll_hold_pop"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_97scroll_hold_pop, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_96scroll_hold_pop)},
+ {__Pyx_NAMESTR("scroll_freeze_push"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_99scroll_freeze_push, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_98scroll_freeze_push)},
+ {__Pyx_NAMESTR("scroll_freeze_pop"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_101scroll_freeze_pop, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_100scroll_freeze_pop)},
+ {__Pyx_NAMESTR("scroll_lock_x_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_103scroll_lock_x_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroll_lock_y_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_105scroll_lock_y_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroll_lock_x_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_107scroll_lock_x_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroll_lock_y_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_109scroll_lock_y_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_111tooltip_show, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_110tooltip_show)},
+ {__Pyx_NAMESTR("tooltip_hide"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_113tooltip_hide, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_112tooltip_hide)},
+ {__Pyx_NAMESTR("tooltip_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_115tooltip_text_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_114tooltip_text_set)},
+ {__Pyx_NAMESTR("tooltip_domain_translatable_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_117tooltip_domain_translatable_text_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_translatable_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_119tooltip_translatable_text_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_content_cb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_121tooltip_content_cb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_120tooltip_content_cb_set)},
+ {__Pyx_NAMESTR("tooltip_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_123tooltip_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_122tooltip_unset)},
+ {__Pyx_NAMESTR("tooltip_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_125tooltip_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_124tooltip_style_set)},
+ {__Pyx_NAMESTR("tooltip_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_127tooltip_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_126tooltip_style_get)},
+ {__Pyx_NAMESTR("tooltip_window_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_129tooltip_window_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_window_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_131tooltip_window_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("domain_translatable_text_part_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_133domain_translatable_text_part_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_132domain_translatable_text_part_set)},
+ {__Pyx_NAMESTR("domain_translatable_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_135domain_translatable_text_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("translatable_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_137translatable_text_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("translatable_text_part_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_139translatable_text_part_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_138translatable_text_part_get)},
+ {__Pyx_NAMESTR("translatable_text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_141translatable_text_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("_callback_add_full"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_143_callback_add_full, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_142_callback_add_full)},
+ {__Pyx_NAMESTR("_callback_del_full"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_145_callback_del_full, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_144_callback_del_full)},
+ {__Pyx_NAMESTR("_callback_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_147_callback_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_146_callback_add)},
+ {__Pyx_NAMESTR("_callback_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_149_callback_del, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_148_callback_del)},
+ {__Pyx_NAMESTR("_get_obj_addr"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Object_151_get_obj_addr, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Object_150_get_obj_addr)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Object[] = {
+ {(char *)"text", __pyx_getprop_10elementary_12c_elementary_6Object_text, __pyx_setprop_10elementary_12c_elementary_6Object_text, 0, 0},
+ {(char *)"content", __pyx_getprop_10elementary_12c_elementary_6Object_content, __pyx_setprop_10elementary_12c_elementary_6Object_content, 0, 0},
+ {(char *)"style", __pyx_getprop_10elementary_12c_elementary_6Object_style, __pyx_setprop_10elementary_12c_elementary_6Object_style, __Pyx_DOCSTR(__pyx_k_291), 0},
+ {(char *)"disabled", __pyx_getprop_10elementary_12c_elementary_6Object_disabled, __pyx_setprop_10elementary_12c_elementary_6Object_disabled, __Pyx_DOCSTR(__pyx_k_292), 0},
+ {(char *)"parent_widget", __pyx_getprop_10elementary_12c_elementary_6Object_parent_widget, 0, __Pyx_DOCSTR(__pyx_k_293), 0},
+ {(char *)"top_widget", __pyx_getprop_10elementary_12c_elementary_6Object_top_widget, 0, __Pyx_DOCSTR(__pyx_k_294), 0},
+ {(char *)"widget_type", __pyx_getprop_10elementary_12c_elementary_6Object_widget_type, 0, __Pyx_DOCSTR(__pyx_k_295), 0},
+ {(char *)"cursor", __pyx_getprop_10elementary_12c_elementary_6Object_cursor, __pyx_setprop_10elementary_12c_elementary_6Object_cursor, __Pyx_DOCSTR(__pyx_k_296), 0},
+ {(char *)"cursor_style", __pyx_getprop_10elementary_12c_elementary_6Object_cursor_style, __pyx_setprop_10elementary_12c_elementary_6Object_cursor_style, __Pyx_DOCSTR(__pyx_k_297), 0},
+ {(char *)"cursor_theme_search_enabled", __pyx_getprop_10elementary_12c_elementary_6Object_cursor_theme_search_enabled, __pyx_setprop_10elementary_12c_elementary_6Object_cursor_theme_search_enabled, 0, 0},
+ {(char *)"focus_allow", __pyx_getprop_10elementary_12c_elementary_6Object_focus_allow, __pyx_setprop_10elementary_12c_elementary_6Object_focus_allow, __Pyx_DOCSTR(__pyx_k_298), 0},
+ {(char *)"focus_custom_chain", __pyx_getprop_10elementary_12c_elementary_6Object_focus_custom_chain, __pyx_setprop_10elementary_12c_elementary_6Object_focus_custom_chain, __Pyx_DOCSTR(__pyx_k_299), 0},
+ {(char *)"tree_focus_allow", __pyx_getprop_10elementary_12c_elementary_6Object_tree_focus_allow, __pyx_setprop_10elementary_12c_elementary_6Object_tree_focus_allow, __Pyx_DOCSTR(__pyx_k_300), 0},
+ {(char *)"mirrored", __pyx_getprop_10elementary_12c_elementary_6Object_mirrored, __pyx_setprop_10elementary_12c_elementary_6Object_mirrored, __Pyx_DOCSTR(__pyx_k_301), 0},
+ {(char *)"mirrored_automatic", __pyx_getprop_10elementary_12c_elementary_6Object_mirrored_automatic, __pyx_setprop_10elementary_12c_elementary_6Object_mirrored_automatic, __Pyx_DOCSTR(__pyx_k_302), 0},
+ {(char *)"scale", __pyx_getprop_10elementary_12c_elementary_6Object_scale, __pyx_setprop_10elementary_12c_elementary_6Object_scale, __Pyx_DOCSTR(__pyx_k_303), 0},
+ {(char *)"scroll_lock_x", __pyx_getprop_10elementary_12c_elementary_6Object_scroll_lock_x, __pyx_setprop_10elementary_12c_elementary_6Object_scroll_lock_x, 0, 0},
+ {(char *)"scroll_lock_y", __pyx_getprop_10elementary_12c_elementary_6Object_scroll_lock_y, __pyx_setprop_10elementary_12c_elementary_6Object_scroll_lock_y, 0, 0},
+ {(char *)"theme", __pyx_getprop_10elementary_12c_elementary_6Object_theme, __pyx_setprop_10elementary_12c_elementary_6Object_theme, __Pyx_DOCSTR(__pyx_k_304), 0},
+ {(char *)"tooltip_style", __pyx_getprop_10elementary_12c_elementary_6Object_tooltip_style, __pyx_setprop_10elementary_12c_elementary_6Object_tooltip_style, __Pyx_DOCSTR(__pyx_k_305), 0},
+ {(char *)"tooltip_window_mode", __pyx_getprop_10elementary_12c_elementary_6Object_tooltip_window_mode, __pyx_setprop_10elementary_12c_elementary_6Object_tooltip_window_mode, 0, 0},
+ {(char *)"translatable_text", __pyx_getprop_10elementary_12c_elementary_6Object_translatable_text, __pyx_setprop_10elementary_12c_elementary_6Object_translatable_text, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Object = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Object = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Object = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Object = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryObject_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Object"), /*tp_name*/
+ sizeof(struct PyElementaryObject), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Object, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Object, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Object, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Object, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An abstract class to manage object and callback handling.\n\n All widgets are based on this class.\n\n @group General: part_text_set, text_set, part_text_get, text_get, text,\n part_content_*, content_*, access_info_set, name_find, signal_emit,\n elm_event_callback_*, domain_translatable_*, translatable_*\n @group Styles: style_*, disabled_*, disabled\n @group Widget Tree Navigation: widget_check, parent_widget_get,\n top_widget_get, widget_type_get\n @group Cursors: cursor_*\n @group Focus: focus_*\n @group Mirroring: mirrored_*\n @group Widget Scaling: scale_*\n @group Scrollhints: scroll_*\n @group Tooltips: tooltip_*\n\n @group Callbacks: callback_*\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Object, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Object, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Object, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem __pyx_vtable_10elementary_12c_elementary_ObjectItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_ObjectItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *p;
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)o);
+ p->__pyx_vtab = __pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ p->params = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *p = (struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)o;
+ {
+ PyObject *etype, *eval, *etb;
+ PyErr_Fetch(&etype, &eval, &etb);
+ ++Py_REFCNT(o);
+ __pyx_pw_10elementary_12c_elementary_10ObjectItem_1__dealloc__(o);
+ if (PyErr_Occurred()) PyErr_WriteUnraisable(o);
+ --Py_REFCNT(o);
+ PyErr_Restore(etype, eval, etb);
+ }
+ Py_XDECREF(p->params);
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *p = (struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)o;
+ if (p->params) {
+ e = (*v)(p->params, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_ObjectItem(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_ObjectItem *p = (struct __pyx_obj_10elementary_12c_elementary_ObjectItem *)o;
+ PyObject* tmp;
+ tmp = ((PyObject*)p->params);
+ p->params = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10ObjectItem_text(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10ObjectItem_4text_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10ObjectItem_text(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10ObjectItem_4text_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10ObjectItem_data(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10ObjectItem_4data_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10ObjectItem_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10ObjectItem_8disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10ObjectItem_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10ObjectItem_8disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_ObjectItem[] = {
+ {__Pyx_NAMESTR("widget_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_3widget_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_2widget_get)},
+ {__Pyx_NAMESTR("part_content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_5part_content_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_4part_content_set)},
+ {__Pyx_NAMESTR("content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_7content_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("part_content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_9part_content_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_8part_content_get)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_11content_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("part_content_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_13part_content_unset, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_12part_content_unset)},
+ {__Pyx_NAMESTR("content_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_15content_unset, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("part_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_17part_text_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_16part_text_set)},
+ {__Pyx_NAMESTR("text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_19text_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_18text_set)},
+ {__Pyx_NAMESTR("part_text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_21part_text_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_20part_text_get)},
+ {__Pyx_NAMESTR("text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_23text_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_22text_get)},
+ {__Pyx_NAMESTR("access_info_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_25access_info_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_24access_info_set)},
+ {__Pyx_NAMESTR("data_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_27data_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_26data_get)},
+ {__Pyx_NAMESTR("data_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_29data_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_28data_set)},
+ {__Pyx_NAMESTR("signal_emit"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_31signal_emit, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_30signal_emit)},
+ {__Pyx_NAMESTR("disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_33disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_32disabled_set)},
+ {__Pyx_NAMESTR("disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_35disabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_34disabled_get)},
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_37delete, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_39tooltip_text_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_38tooltip_text_set)},
+ {__Pyx_NAMESTR("tooltip_window_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_41tooltip_window_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_window_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_43tooltip_window_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_content_cb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_45tooltip_content_cb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_44tooltip_content_cb_set)},
+ {__Pyx_NAMESTR("tooltip_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_47tooltip_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_46tooltip_unset)},
+ {__Pyx_NAMESTR("tooltip_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_49tooltip_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_48tooltip_style_set)},
+ {__Pyx_NAMESTR("tooltip_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_51tooltip_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_50tooltip_style_get)},
+ {__Pyx_NAMESTR("cursor_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_53cursor_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_52cursor_set)},
+ {__Pyx_NAMESTR("cursor_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_55cursor_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("cursor_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_57cursor_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_56cursor_unset)},
+ {__Pyx_NAMESTR("cursor_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_59cursor_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_58cursor_style_set)},
+ {__Pyx_NAMESTR("cursor_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_61cursor_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_60cursor_style_get)},
+ {__Pyx_NAMESTR("cursor_engine_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_63cursor_engine_only_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_62cursor_engine_only_set)},
+ {__Pyx_NAMESTR("cursor_engine_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10ObjectItem_65cursor_engine_only_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10ObjectItem_64cursor_engine_only_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_ObjectItem[] = {
+ {(char *)"text", __pyx_getprop_10elementary_12c_elementary_10ObjectItem_text, __pyx_setprop_10elementary_12c_elementary_10ObjectItem_text, __Pyx_DOCSTR(__pyx_k_306), 0},
+ {(char *)"data", __pyx_getprop_10elementary_12c_elementary_10ObjectItem_data, 0, 0, 0},
+ {(char *)"disabled", __pyx_getprop_10elementary_12c_elementary_10ObjectItem_disabled, __pyx_setprop_10elementary_12c_elementary_10ObjectItem_disabled, __Pyx_DOCSTR(__pyx_k_307), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_ObjectItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_ObjectItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_ObjectItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_ObjectItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_ObjectItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.ObjectItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_ObjectItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_ObjectItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_ObjectItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_ObjectItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_ObjectItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A generic item for the widgets.\n\n @group General: widget_get, part_content_set, content_set, part_content_get,\n content_get, part_content_unset, content_unset, part_text_set, text_set,\n part_text_get, text_get, text, access_info_set, data_get, signal_emit,\n tooltip_text_set, tooltip_window_mode_set, tooltip_window_mode_get,\n tooltip_content_cb_set, tooltip_unset, tooltip_style_set,\n tooltip_style_get, cursor_set, cursor_get, cursor_unset,\n cursor_style_set, cursor_style_get, cursor_engine_only_set,\n cursor_engine_only_get\n\n @group Styles: disabled_set, disabled_get, disabled\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_ObjectItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_ObjectItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_ObjectItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_GestureLayer __pyx_vtable_10elementary_12c_elementary_GestureLayer;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_GestureLayer(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryGestureLayer *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryGestureLayer *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_GestureLayer;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12GestureLayer_hold_events(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12GestureLayer_11hold_events_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12GestureLayer_hold_events(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12GestureLayer_11hold_events_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12GestureLayer_zoom_step(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12GestureLayer_9zoom_step_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12GestureLayer_zoom_step(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12GestureLayer_9zoom_step_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12GestureLayer_rotate_step(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12GestureLayer_11rotate_step_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12GestureLayer_rotate_step(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12GestureLayer_11rotate_step_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_GestureLayer[] = {
+ {__Pyx_NAMESTR("cb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12GestureLayer_3cb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12GestureLayer_2cb_set)},
+ {__Pyx_NAMESTR("attach"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12GestureLayer_5attach, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12GestureLayer_4attach)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_GestureLayer[] = {
+ {(char *)"hold_events", __pyx_getprop_10elementary_12c_elementary_12GestureLayer_hold_events, __pyx_setprop_10elementary_12c_elementary_12GestureLayer_hold_events, __Pyx_DOCSTR(__pyx_k_308), 0},
+ {(char *)"zoom_step", __pyx_getprop_10elementary_12c_elementary_12GestureLayer_zoom_step, __pyx_setprop_10elementary_12c_elementary_12GestureLayer_zoom_step, __Pyx_DOCSTR(__pyx_k_309), 0},
+ {(char *)"rotate_step", __pyx_getprop_10elementary_12c_elementary_12GestureLayer_rotate_step, __pyx_setprop_10elementary_12c_elementary_12GestureLayer_rotate_step, __Pyx_DOCSTR(__pyx_k_310), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_GestureLayer = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_GestureLayer = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_GestureLayer = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_GestureLayer = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryGestureLayer_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.GestureLayer"), /*tp_name*/
+ sizeof(struct PyElementaryGestureLayer), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_GestureLayer, /*tp_as_number*/
+ &__pyx_tp_as_sequence_GestureLayer, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_GestureLayer, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_GestureLayer, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Use Gesture Layer to detect gestures. The advantage is that you don't\n have to implement gesture detection, just set callbacks of gesture state.\n By using gesture layer we make standard interface.\n\n In order to use Gesture Layer you start with instantiating this class\n with a parent object parameter. Next 'activate' gesture layer with a\n L{attach()} call. Usually with same object as target (2nd parameter).\n\n Now you need to tell gesture layer what gestures you follow. This is\n done with L{cb_set()} call. By setting the callback you actually saying\n to gesture layer: I would like to know when the gesture\n C{Elm_Gesture_Type} switches to state C{Elm_Gesture_State}.\n\n Next, you need to implement the actual action that follows the input in\n your callback.\n\n Note that if you like to stop being reported about a gesture, just set\n all callbacks referring this gesture to None. (again with L{cb_set()})\n\n The information reported by gesture layer to your callback is depending\n on C{Elm_Gesture_Type}:\n - C{Elm_Gesture_Taps_Info} is the info reported for tap gestures:\n - C{ELM_GESTURE_N_TAPS}\n - C{ELM_GESTURE_N_LONG_TAPS}\n - C{ELM_GESTURE_N_DOUBLE_TAPS}\n - C{ELM_GESTURE_N_TRIPLE_TAPS}\n - C{Elm_Gesture_Momentum_Info} is info reported for momentum gestures:\n - C{ELM_GESTURE_MOMENTUM}\n - C{Elm_Gesture_Line_Info} is the info reported for line gestures\n (this also contains C{Elm_Gesture_Momentum_Info} internal structure):\n - C{ELM_GESTURE_N_LINES}\n - C{ELM_GESTURE_N_FLICKS}\n\n Note that we consider a flick as a line-gesture that should be completed\n in flick-time-limit as defined in L{Configuration}.\n\n C{Elm_Gesture_Zoom_Info} is the info reported for C{ELM_GESTURE_ZOOM}\n gesture.\n\n C{Elm_Gesture_Rotate_Info} is the info reported for\n C{ELM_GESTURE_ROTATE} gesture.\n\n Gesture Layer Tweaks:\n\n Note that line, flick, gestures can start without the need to remove\n fingers from surface. When user fingers rests on same-spot gesture is\n ended and starts again when fingers moved.\n\n Setting glayer_continues_enable to false in L{Configuration} will change\n this behavior so gesture starts when user touches (a *DOWN event)\n touch-surface and ends when no fingers touches surface (a *UP event).\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_GestureLayer, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_GestureLayer, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12GestureLayer_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_GestureLayer, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_LayoutClass __pyx_vtable_10elementary_12c_elementary_LayoutClass;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_LayoutClass(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_LayoutClass *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ return o;
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11LayoutClass_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_4file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11LayoutClass_theme(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_5theme_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11LayoutClass_edje(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_4edje_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11LayoutClass_icon(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_4icon_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11LayoutClass_icon(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_4icon_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11LayoutClass_end(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_3end_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11LayoutClass_end(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11LayoutClass_3end_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_LayoutClass[] = {
+ {__Pyx_NAMESTR("file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_1file_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_file_set)},
+ {__Pyx_NAMESTR("theme_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_3theme_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_2theme_set)},
+ {__Pyx_NAMESTR("signal_emit"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_5signal_emit, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_4signal_emit)},
+ {__Pyx_NAMESTR("box_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_7box_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_6box_append)},
+ {__Pyx_NAMESTR("box_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_9box_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_8box_prepend)},
+ {__Pyx_NAMESTR("box_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_11box_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_10box_insert_before)},
+ {__Pyx_NAMESTR("box_insert_at"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_13box_insert_at, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_12box_insert_at)},
+ {__Pyx_NAMESTR("box_remove"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_15box_remove, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_14box_remove)},
+ {__Pyx_NAMESTR("box_remove_all"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_17box_remove_all, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_16box_remove_all)},
+ {__Pyx_NAMESTR("table_pack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_19table_pack, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_18table_pack)},
+ {__Pyx_NAMESTR("table_unpack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_21table_unpack, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_20table_unpack)},
+ {__Pyx_NAMESTR("table_clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_23table_clear, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_22table_clear)},
+ {__Pyx_NAMESTR("edje_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_25edje_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_24edje_get)},
+ {__Pyx_NAMESTR("data_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_27data_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_26data_get)},
+ {__Pyx_NAMESTR("sizing_eval"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_29sizing_eval, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_28sizing_eval)},
+ {__Pyx_NAMESTR("part_cursor_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_31part_cursor_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_30part_cursor_set)},
+ {__Pyx_NAMESTR("part_cursor_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_33part_cursor_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_32part_cursor_get)},
+ {__Pyx_NAMESTR("part_cursor_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_35part_cursor_unset, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_34part_cursor_unset)},
+ {__Pyx_NAMESTR("part_cursor_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_37part_cursor_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_36part_cursor_style_set)},
+ {__Pyx_NAMESTR("part_cursor_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_39part_cursor_style_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_38part_cursor_style_get)},
+ {__Pyx_NAMESTR("part_cursor_engine_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_41part_cursor_engine_only_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_40part_cursor_engine_only_set)},
+ {__Pyx_NAMESTR("part_cursor_engine_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_43part_cursor_engine_only_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_42part_cursor_engine_only_get)},
+ {__Pyx_NAMESTR("icon_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_45icon_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_44icon_set)},
+ {__Pyx_NAMESTR("icon_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_47icon_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_46icon_get)},
+ {__Pyx_NAMESTR("end_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_49end_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_48end_set)},
+ {__Pyx_NAMESTR("end_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_51end_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_50end_get)},
+ {__Pyx_NAMESTR("callback_theme_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_53callback_theme_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11LayoutClass_52callback_theme_changed_add)},
+ {__Pyx_NAMESTR("callback_theme_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11LayoutClass_55callback_theme_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_LayoutClass[] = {
+ {(char *)"file", 0, __pyx_setprop_10elementary_12c_elementary_11LayoutClass_file, __Pyx_DOCSTR(__pyx_k_311), 0},
+ {(char *)"theme", 0, __pyx_setprop_10elementary_12c_elementary_11LayoutClass_theme, __Pyx_DOCSTR(__pyx_k_312), 0},
+ {(char *)"edje", __pyx_getprop_10elementary_12c_elementary_11LayoutClass_edje, 0, __Pyx_DOCSTR(__pyx_k_313), 0},
+ {(char *)"icon", __pyx_getprop_10elementary_12c_elementary_11LayoutClass_icon, __pyx_setprop_10elementary_12c_elementary_11LayoutClass_icon, __Pyx_DOCSTR(__pyx_k_314), 0},
+ {(char *)"end", __pyx_getprop_10elementary_12c_elementary_11LayoutClass_end, __pyx_setprop_10elementary_12c_elementary_11LayoutClass_end, __Pyx_DOCSTR(__pyx_k_315), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_LayoutClass = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_LayoutClass = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_LayoutClass = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_LayoutClass = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_LayoutClass = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.LayoutClass"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_LayoutClass), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_LayoutClass, /*tp_as_number*/
+ &__pyx_tp_as_sequence_LayoutClass, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_LayoutClass, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_LayoutClass, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Elementary, besides having the L{Layout} widget, exposes its\n foundation -- the Elementary Layout Class -- in order to create\n other widgets which are, basically, a certain layout with some more\n logic on top.\n\n The idea is to make the creation of that widgets as easy as possible,\n factorizing code on this common base. For example, a button is a\n layout (that looks like push button) that happens to react on\n clicks and keyboard events in a special manner, calling its user\n back on those events. That's no surprise, then, that the L{Button}\n implementation relies on LayoutClass, if you go to check it.\n\n Container parts, here, map directly to Edje parts from the layout's Edje\n group. Besides that, there's a whole infrastructure around Edje files:\n - interfacing by signals,\n - setting/retrieving text part values,\n - dealing with table and box parts directly,\n - etc.\n\n Finally, layout objects will do B{part aliasing} for you, if you set\n it up properly. For that, take a look at\n Elm_Layout_Part_Alias_Description, where it's explained in detail.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_LayoutClass, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_LayoutClass, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_LayoutClass, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Layout __pyx_vtable_10elementary_12c_elementary_Layout;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Layout(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryLayout *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryLayout *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Layout;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Layout[] = {
+ {__Pyx_NAMESTR("content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Layout_3content_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Layout_2content_set)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Layout_5content_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Layout_4content_get)},
+ {__Pyx_NAMESTR("content_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Layout_7content_unset, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Layout_6content_unset)},
+ {__Pyx_NAMESTR("text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Layout_9text_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Layout_8text_set)},
+ {__Pyx_NAMESTR("text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Layout_11text_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Layout_10text_get)},
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Layout = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Layout = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Layout = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Layout = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryLayout_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Layout"), /*tp_name*/
+ sizeof(struct PyElementaryLayout), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Layout, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Layout, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Layout, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Layout, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is a container widget that takes a standard Edje design file and\n wraps it very thinly in a widget.\n\n An Edje design (theme) file has a very wide range of possibilities to\n describe the behavior of elements added to the Layout. Check out the Edje\n documentation and the EDC reference to get more information about what can\n be done with Edje.\n\n Just like L{List}, L{Box}, and other container widgets, any\n object added to the Layout will become its child, meaning that it will be\n deleted if the Layout is deleted, move if the Layout is moved, and so on.\n\n The Layout widget can contain as many Contents, Boxes or Tables as\n described in its theme file. For instance, objects can be added to\n different Tables by specifying the respective Table part names. The same\n is valid for Content and Box.\n\n The objects added as child of the Layout will behave as described in the\n part description where they were added. There are 3 possible types of\n parts where a child can be added:\n\n Content (SWALLOW part)\n ======================\n\n Only one object can be added to the C{SWALLOW} part (but you still can\n have many C{SWALLOW} parts and one object on each of them). Use the\n C{Object.content_set/get/unset} functions to set, retrieve and unset\n objects as content of the C{SWALLOW}. After being set to this part, the\n object size, position, visibility, clipping and other description\n properties will be totally controlled by the description of the given part\n (inside the Edje theme file).\n\n One can use C{size_hint_*} functions on the child to have some\n kind of control over its behavior, but the resulting behavior will still\n depend heavily on the C{SWALLOW} part description.\n\n The Edje theme also can change the part description, based on signals or\n scripts running inside the theme. This change can also be animated. All of\n this will affect the child object set as content accordingly. The object\n size will be changed if the part size is changed, it will animate move if\n the part is moving, and so on.\n\n Box (BOX part)\n ==============\n\n An Edje C{BOX} part is very similar to the Elementary L{Box} widget. It\n allows one to add objects to the box and have them distributed along its\n area, accordingly to the specified C{layout} property (now by C{layout} we\n mean the chosen layouting design of the Box, not the Layout widget\n itself).\n\n A similar effect for having a box with its position, size and other things\n controlled by the Layout theme would be to create an Elementary L{Box}\n widget and add it as a Content in the C{SWALLOW} part.\n\n The main difference of using the Layout Box is that its behavior, the box\n properties like layouting format, padding, align, etc. will be all\n controlled by the theme. This means, for example, that a signal could be\n sent to the Layout theme (with L{Object.signal_emit()}) and the theme\n handled the signal by changing the box padding, or align, or both. Using\n the Elementary L{Box} widget is not necessarily harder or easier, it\n just depends on the circumstances and requirements.\n\n The Layout Box can be used through the C{box_*} set of\n functions.\n\n Table (TABLE part)\n ==================\n\n Just like the C{Box}, the Layout Table is very similar to the\n Elementary L{Table} widget. It allows one to add objects to the Table\n specifying the row and column where the object should be added, and any\n column or row span if necessary.\n\n Again, we could have this design by adding a L{Table} widget to the\n C{SWALLOW} part using L{Object.part_content_set()}. The same difference happens\n here when choosing to use the Layout Table (a C{TABLE} part) instead of\n the L{Table} plus C{SWALLOW} part. It's just a matter of convenience.\n\n The Layout Table can be used through the C{table_*} set of\n functions.\n\n Predefined Layouts\n ==================\n\n Another interesting thing about the Layout widget is that it offers some\n predefined themes that come with the default Elementary theme. These\n themes can be set by the call L{theme_set()}, and provide some\n basic functionality depending on the theme used.\n\n Most of them already send some signals, some already provide a toolbar or\n back and next buttons.\n\n These are available predefined theme layouts. All of them have class =\n C{layout}, group = C{application}, and style = one of the following options:\n\n - C{toolbar-content} - application with toolbar and main content area\n - C{toolbar-content-back} - application with toolbar and main content\n area with a back button and title area\n - C{toolbar-content-back-next} - application with toolbar and main\n content area with a back and next buttons and title area\n - C{content-back} - application with a main content area with a back\n button and title area\n - C{content-back-next} - application with a main content area with a\n back and next buttons and title area\n - C{toolbar-vbox} - application with toolbar and main content area as a\n vertical box\n - C{toolbar-table} - application with toolbar and main content area as a\n table\n\n Emitted signals\n ===============\n\n This widget emits the following signals:\n\n - \"theme,changed\": The theme was changed.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Layout, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Layout_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Layout, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Image __pyx_vtable_10elementary_12c_elementary_Image;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Image(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryImage *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryImage *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Image;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_file(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_4file_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_4file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_smooth(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_6smooth_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_smooth(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_6smooth_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_object_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_11object_size_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_no_scale(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8no_scale_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_no_scale(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8no_scale_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_resizable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_9resizable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_resizable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_9resizable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_fill_outside(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_12fill_outside_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_fill_outside(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_12fill_outside_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_preload_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_16preload_disabled_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_prescale(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8prescale_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_prescale(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8prescale_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_orient(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_6orient_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_orient(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_6orient_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_editable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8editable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_editable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8editable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_6object_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_aspect_fixed(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_12aspect_fixed_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_aspect_fixed(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_12aspect_fixed_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_animated_available(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_18animated_available_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_animated(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8animated_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_animated(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_8animated_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Image_animated_play(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_13animated_play_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Image_animated_play(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Image_13animated_play_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Image[] = {
+ {__Pyx_NAMESTR("file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_3file_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_2file_set)},
+ {__Pyx_NAMESTR("file_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_5file_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_4file_get)},
+ {__Pyx_NAMESTR("smooth_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_7smooth_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_6smooth_set)},
+ {__Pyx_NAMESTR("smooth_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_9smooth_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_8smooth_get)},
+ {__Pyx_NAMESTR("object_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_11object_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_10object_size_get)},
+ {__Pyx_NAMESTR("no_scale_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_13no_scale_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_12no_scale_set)},
+ {__Pyx_NAMESTR("no_scale_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_15no_scale_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_14no_scale_get)},
+ {__Pyx_NAMESTR("resizable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_17resizable_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_16resizable_set)},
+ {__Pyx_NAMESTR("resizable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_19resizable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_18resizable_get)},
+ {__Pyx_NAMESTR("fill_outside_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_21fill_outside_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_20fill_outside_set)},
+ {__Pyx_NAMESTR("fill_outside_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_23fill_outside_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_22fill_outside_get)},
+ {__Pyx_NAMESTR("preload_disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_25preload_disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_24preload_disabled_set)},
+ {__Pyx_NAMESTR("prescale_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_27prescale_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_26prescale_set)},
+ {__Pyx_NAMESTR("prescale_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_29prescale_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_28prescale_get)},
+ {__Pyx_NAMESTR("orient_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_31orient_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_30orient_set)},
+ {__Pyx_NAMESTR("orient_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_33orient_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_32orient_get)},
+ {__Pyx_NAMESTR("editable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_35editable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_34editable_set)},
+ {__Pyx_NAMESTR("editable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_37editable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_36editable_get)},
+ {__Pyx_NAMESTR("object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_39object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_38object_get)},
+ {__Pyx_NAMESTR("aspect_fixed_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_41aspect_fixed_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_40aspect_fixed_set)},
+ {__Pyx_NAMESTR("aspect_fixed_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_43aspect_fixed_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_42aspect_fixed_get)},
+ {__Pyx_NAMESTR("animated_available_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_45animated_available_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_44animated_available_get)},
+ {__Pyx_NAMESTR("animated_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_47animated_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_46animated_set)},
+ {__Pyx_NAMESTR("animated_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_49animated_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_48animated_get)},
+ {__Pyx_NAMESTR("animated_play_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_51animated_play_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_50animated_play_set)},
+ {__Pyx_NAMESTR("animated_play_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_53animated_play_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_52animated_play_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_55callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_54callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_57callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_59callback_drop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Image_58callback_drop_add)},
+ {__Pyx_NAMESTR("callback_drop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Image_61callback_drop_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Image[] = {
+ {(char *)"file", __pyx_getprop_10elementary_12c_elementary_5Image_file, __pyx_setprop_10elementary_12c_elementary_5Image_file, __Pyx_DOCSTR(__pyx_k_316), 0},
+ {(char *)"smooth", __pyx_getprop_10elementary_12c_elementary_5Image_smooth, __pyx_setprop_10elementary_12c_elementary_5Image_smooth, __Pyx_DOCSTR(__pyx_k_317), 0},
+ {(char *)"object_size", __pyx_getprop_10elementary_12c_elementary_5Image_object_size, 0, __Pyx_DOCSTR(__pyx_k_318), 0},
+ {(char *)"no_scale", __pyx_getprop_10elementary_12c_elementary_5Image_no_scale, __pyx_setprop_10elementary_12c_elementary_5Image_no_scale, __Pyx_DOCSTR(__pyx_k_319), 0},
+ {(char *)"resizable", __pyx_getprop_10elementary_12c_elementary_5Image_resizable, __pyx_setprop_10elementary_12c_elementary_5Image_resizable, __Pyx_DOCSTR(__pyx_k_320), 0},
+ {(char *)"fill_outside", __pyx_getprop_10elementary_12c_elementary_5Image_fill_outside, __pyx_setprop_10elementary_12c_elementary_5Image_fill_outside, __Pyx_DOCSTR(__pyx_k_321), 0},
+ {(char *)"preload_disabled", 0, __pyx_setprop_10elementary_12c_elementary_5Image_preload_disabled, __Pyx_DOCSTR(__pyx_k_322), 0},
+ {(char *)"prescale", __pyx_getprop_10elementary_12c_elementary_5Image_prescale, __pyx_setprop_10elementary_12c_elementary_5Image_prescale, __Pyx_DOCSTR(__pyx_k_323), 0},
+ {(char *)"orient", __pyx_getprop_10elementary_12c_elementary_5Image_orient, __pyx_setprop_10elementary_12c_elementary_5Image_orient, __Pyx_DOCSTR(__pyx_k_324), 0},
+ {(char *)"editable", __pyx_getprop_10elementary_12c_elementary_5Image_editable, __pyx_setprop_10elementary_12c_elementary_5Image_editable, __Pyx_DOCSTR(__pyx_k_325), 0},
+ {(char *)"object", __pyx_getprop_10elementary_12c_elementary_5Image_object, 0, __Pyx_DOCSTR(__pyx_k_326), 0},
+ {(char *)"aspect_fixed", __pyx_getprop_10elementary_12c_elementary_5Image_aspect_fixed, __pyx_setprop_10elementary_12c_elementary_5Image_aspect_fixed, __Pyx_DOCSTR(__pyx_k_327), 0},
+ {(char *)"animated_available", __pyx_getprop_10elementary_12c_elementary_5Image_animated_available, 0, __Pyx_DOCSTR(__pyx_k_328), 0},
+ {(char *)"animated", __pyx_getprop_10elementary_12c_elementary_5Image_animated, __pyx_setprop_10elementary_12c_elementary_5Image_animated, __Pyx_DOCSTR(__pyx_k_329), 0},
+ {(char *)"animated_play", __pyx_getprop_10elementary_12c_elementary_5Image_animated_play, __pyx_setprop_10elementary_12c_elementary_5Image_animated_play, __Pyx_DOCSTR(__pyx_k_330), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Image = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Image = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Image = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Image = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryImage_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Image"), /*tp_name*/
+ sizeof(struct PyElementaryImage), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Image, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Image, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Image, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Image, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An Elementary image object allows one to load and display an image\n file on it, be it from a disk file or from a memory region.\n\n Exceptionally, one may also load an Edje group as the contents of the\n image. In this case, though, most of the functions of the image API will\n act as a no-op.\n\n One can tune various properties of the image, like:\n - pre-scaling,\n - smooth scaling,\n - orientation,\n - aspect ratio during resizes, etc.\n\n An image object may also be made valid source and destination for drag\n and drop actions, through the L{editable_set()} call.\n\n Signals that you can add callbacks for are:\n\n - C{\"drop\"} - This is called when a user has dropped an image\n typed object onto the object in question -- the\n event info argument is the path to that image file\n - C{\"clicked\"} - This is called when a user has clicked the image\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Image, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Image, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Image_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Image, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Button __pyx_vtable_10elementary_12c_elementary_Button;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Button(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryButton *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryButton *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Button;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Button_autorepeat(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Button_10autorepeat_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Button_autorepeat(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Button_10autorepeat_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Button_autorepeat_initial_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Button_autorepeat_initial_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Button_26autorepeat_initial_timeout_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Button_autorepeat_gap_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Button_autorepeat_gap_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Button_22autorepeat_gap_timeout_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Button[] = {
+ {__Pyx_NAMESTR("autorepeat_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_3autorepeat_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_2autorepeat_set)},
+ {__Pyx_NAMESTR("autorepeat_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_5autorepeat_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_4autorepeat_get)},
+ {__Pyx_NAMESTR("autorepeat_initial_timeout_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_7autorepeat_initial_timeout_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_6autorepeat_initial_timeout_set)},
+ {__Pyx_NAMESTR("autorepeat_initial_timeout_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_9autorepeat_initial_timeout_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_8autorepeat_initial_timeout_get)},
+ {__Pyx_NAMESTR("autorepeat_gap_timeout_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_11autorepeat_gap_timeout_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_10autorepeat_gap_timeout_set)},
+ {__Pyx_NAMESTR("autorepeat_gap_timeout_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_13autorepeat_gap_timeout_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_12autorepeat_gap_timeout_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_15callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_14callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_17callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_repeated_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_19callback_repeated_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_18callback_repeated_add)},
+ {__Pyx_NAMESTR("callback_repeated_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_21callback_repeated_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_pressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_23callback_pressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_22callback_pressed_add)},
+ {__Pyx_NAMESTR("callback_pressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_25callback_pressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_27callback_unpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Button_26callback_unpressed_add)},
+ {__Pyx_NAMESTR("callback_unpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Button_29callback_unpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Button[] = {
+ {(char *)"autorepeat", __pyx_getprop_10elementary_12c_elementary_6Button_autorepeat, __pyx_setprop_10elementary_12c_elementary_6Button_autorepeat, __Pyx_DOCSTR(__pyx_k_331), 0},
+ {(char *)"autorepeat_initial_timeout", __pyx_getprop_10elementary_12c_elementary_6Button_autorepeat_initial_timeout, __pyx_setprop_10elementary_12c_elementary_6Button_autorepeat_initial_timeout, __Pyx_DOCSTR(__pyx_k_332), 0},
+ {(char *)"autorepeat_gap_timeout", __pyx_getprop_10elementary_12c_elementary_6Button_autorepeat_gap_timeout, __pyx_setprop_10elementary_12c_elementary_6Button_autorepeat_gap_timeout, __Pyx_DOCSTR(__pyx_k_333), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Button = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Button = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Button = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Button = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryButton_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Button"), /*tp_name*/
+ sizeof(struct PyElementaryButton), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Button, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Button, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Button, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Button, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is a push-button. Press it and run some function. It can contain\n a simple label and icon object and it also has an autorepeat feature.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - \"clicked\": the user clicked the button (press/release).\n - \"repeated\": the user pressed the button without releasing it.\n - \"pressed\": button was pressed.\n - \"unpressed\": button was released after being pressed.\n\n Also, defined in the default theme, the button has the following styles\n available:\n - default: a normal button.\n - anchor: Like default, but the button fades away when the mouse is not\n over it, leaving only the text or icon.\n - hoversel_vertical: Internally used by L{Hoversel} to give a\n continuous look across its options.\n - hoversel_vertical_entry: Another internal for L{Hoversel}.\n - naviframe: Internally used by L{Naviframe} for its back button.\n - colorselector: Internally used by L{Colorselector}\n for its left and right buttons.\n\n Default content parts of the button widget that you can use for are:\n - \"icon\" - An icon of the button\n\n Default text parts of the button widget that you can use for are:\n - \"default\" - Label of the button\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Button, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Button, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Button_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Button, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Window __pyx_vtable_10elementary_12c_elementary_Window;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Window(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryWindow *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryWindow *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Window;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_title(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5title_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_title(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5title_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_icon_name(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9icon_name_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_icon_name(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9icon_name_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_role(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_4role_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_role(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_4role_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_icon_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_11icon_object_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_icon_object(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_11icon_object_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_autodel(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_7autodel_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_autodel(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_7autodel_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_borderless(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10borderless_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_borderless(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10borderless_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_shaped(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6shaped_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_shaped(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6shaped_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_alpha(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5alpha_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_alpha(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5alpha_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_override(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_8override_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_override(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_8override_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_fullscreen(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10fullscreen_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_fullscreen(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10fullscreen_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_maximized(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9maximized_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_maximized(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9maximized_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_iconified(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9iconified_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_iconified(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9iconified_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_withdrawn(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9withdrawn_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_withdrawn(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9withdrawn_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_urgent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6urgent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_urgent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6urgent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_demand_attention(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_16demand_attention_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_demand_attention(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_16demand_attention_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_modal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5modal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_modal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5modal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_aspect(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6aspect_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_aspect(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6aspect_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_size_base(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9size_base_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_size_base(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9size_base_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_size_step(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9size_step_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_size_step(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_9size_step_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_layer(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5layer_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_layer(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5layer_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_rotation(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_8rotation_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_rotation(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_8rotation_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_rotation_with_resize(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_20rotation_with_resize_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_sticky(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6sticky_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_sticky(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_6sticky_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_conformant(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10conformant_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_conformant(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10conformant_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_quickpanel(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10quickpanel_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_10quickpanel_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_quickpanel_priority_major(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_major_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel_priority_major(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_major_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_quickpanel_priority_minor(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel_priority_minor(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_25quickpanel_priority_minor_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_quickpanel_zone(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_15quickpanel_zone_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel_zone(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_15quickpanel_zone_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_focus_skip_set(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_14focus_skip_set_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_inlined_image_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_20inlined_image_object_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_focus(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_5focus_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_screen_constrain(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_16screen_constrain_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_screen_constrain(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_16screen_constrain_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_screen_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_11screen_size_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_focus_highlight_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_23focus_highlight_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_focus_highlight_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_23focus_highlight_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_focus_highlight_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_21focus_highlight_style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_focus_highlight_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_21focus_highlight_style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_keyboard_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_13keyboard_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_keyboard_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_13keyboard_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_keyboard_win(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_12keyboard_win_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_keyboard_win(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_12keyboard_win_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_indicator_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_14indicator_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_indicator_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_14indicator_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_indicator_opacity(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_17indicator_opacity_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Window_indicator_opacity(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_17indicator_opacity_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_screen_position(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_15screen_position_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Window_xwindow_xid(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Window_11xwindow_xid_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Window[] = {
+ {__Pyx_NAMESTR("resize_object_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_3resize_object_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_2resize_object_add)},
+ {__Pyx_NAMESTR("resize_object_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_5resize_object_del, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_4resize_object_del)},
+ {__Pyx_NAMESTR("title_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_7title_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_6title_set)},
+ {__Pyx_NAMESTR("title_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_9title_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_8title_get)},
+ {__Pyx_NAMESTR("icon_name_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_11icon_name_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_10icon_name_set)},
+ {__Pyx_NAMESTR("icon_name_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_13icon_name_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_12icon_name_get)},
+ {__Pyx_NAMESTR("role_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_15role_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_14role_set)},
+ {__Pyx_NAMESTR("role_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_17role_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_16role_get)},
+ {__Pyx_NAMESTR("icon_object_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_19icon_object_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_18icon_object_set)},
+ {__Pyx_NAMESTR("icon_object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_21icon_object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_20icon_object_get)},
+ {__Pyx_NAMESTR("autodel_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_23autodel_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_22autodel_set)},
+ {__Pyx_NAMESTR("autodel_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_25autodel_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_24autodel_get)},
+ {__Pyx_NAMESTR("activate"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_27activate, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_26activate)},
+ {__Pyx_NAMESTR("lower"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_29lower, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_28lower)},
+ {__Pyx_NAMESTR("_raise"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_31_raise, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_30_raise)},
+ {__Pyx_NAMESTR("center"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_33center, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_32center)},
+ {__Pyx_NAMESTR("borderless_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_35borderless_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_34borderless_set)},
+ {__Pyx_NAMESTR("borderless_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_37borderless_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_36borderless_get)},
+ {__Pyx_NAMESTR("shaped_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_39shaped_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_38shaped_set)},
+ {__Pyx_NAMESTR("shaped_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_41shaped_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_40shaped_get)},
+ {__Pyx_NAMESTR("alpha_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_43alpha_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_42alpha_set)},
+ {__Pyx_NAMESTR("alpha_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_45alpha_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_44alpha_get)},
+ {__Pyx_NAMESTR("override_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_47override_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_46override_set)},
+ {__Pyx_NAMESTR("override_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_49override_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_48override_get)},
+ {__Pyx_NAMESTR("fullscreen_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_51fullscreen_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_50fullscreen_set)},
+ {__Pyx_NAMESTR("fullscreen_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_53fullscreen_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_52fullscreen_get)},
+ {__Pyx_NAMESTR("maximized_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_55maximized_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_54maximized_set)},
+ {__Pyx_NAMESTR("maximized_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_57maximized_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_56maximized_get)},
+ {__Pyx_NAMESTR("iconified_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_59iconified_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_58iconified_set)},
+ {__Pyx_NAMESTR("iconified_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_61iconified_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_60iconified_get)},
+ {__Pyx_NAMESTR("withdrawn_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_63withdrawn_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_62withdrawn_set)},
+ {__Pyx_NAMESTR("withdrawn_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_65withdrawn_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_64withdrawn_get)},
+ {__Pyx_NAMESTR("urgent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_67urgent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_66urgent_set)},
+ {__Pyx_NAMESTR("urgent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_69urgent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_68urgent_get)},
+ {__Pyx_NAMESTR("demand_attention_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_71demand_attention_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_70demand_attention_set)},
+ {__Pyx_NAMESTR("demand_attention_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_73demand_attention_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_72demand_attention_get)},
+ {__Pyx_NAMESTR("modal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_75modal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_74modal_set)},
+ {__Pyx_NAMESTR("modal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_77modal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_76modal_get)},
+ {__Pyx_NAMESTR("aspect_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_79aspect_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_78aspect_set)},
+ {__Pyx_NAMESTR("aspect_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_81aspect_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_80aspect_get)},
+ {__Pyx_NAMESTR("layer_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_83layer_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_82layer_set)},
+ {__Pyx_NAMESTR("layer_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_85layer_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_84layer_get)},
+ {__Pyx_NAMESTR("rotation_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_87rotation_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_86rotation_set)},
+ {__Pyx_NAMESTR("rotation_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_89rotation_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_88rotation_get)},
+ {__Pyx_NAMESTR("rotation_with_resize_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_91rotation_with_resize_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_90rotation_with_resize_set)},
+ {__Pyx_NAMESTR("sticky_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_93sticky_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_92sticky_set)},
+ {__Pyx_NAMESTR("sticky_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_95sticky_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_94sticky_get)},
+ {__Pyx_NAMESTR("conformant_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_97conformant_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_96conformant_set)},
+ {__Pyx_NAMESTR("conformant_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_99conformant_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_98conformant_get)},
+ {__Pyx_NAMESTR("quickpanel_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_101quickpanel_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_100quickpanel_set)},
+ {__Pyx_NAMESTR("quickpanel_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_103quickpanel_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_102quickpanel_get)},
+ {__Pyx_NAMESTR("quickpanel_priority_major_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_105quickpanel_priority_major_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_104quickpanel_priority_major_set)},
+ {__Pyx_NAMESTR("quickpanel_priority_major_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_107quickpanel_priority_major_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_106quickpanel_priority_major_get)},
+ {__Pyx_NAMESTR("quickpanel_priority_minor_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_109quickpanel_priority_minor_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_108quickpanel_priority_minor_set)},
+ {__Pyx_NAMESTR("quickpanel_priority_minor_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_111quickpanel_priority_minor_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_110quickpanel_priority_minor_get)},
+ {__Pyx_NAMESTR("quickpanel_zone_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_113quickpanel_zone_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_112quickpanel_zone_set)},
+ {__Pyx_NAMESTR("quickpanel_zone_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_115quickpanel_zone_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_114quickpanel_zone_get)},
+ {__Pyx_NAMESTR("prop_focus_skip_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_117prop_focus_skip_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_116prop_focus_skip_set)},
+ {__Pyx_NAMESTR("illume_command_send"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_119illume_command_send, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_118illume_command_send)},
+ {__Pyx_NAMESTR("inlined_image_object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_121inlined_image_object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_120inlined_image_object_get)},
+ {__Pyx_NAMESTR("focus_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_123focus_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_122focus_get)},
+ {__Pyx_NAMESTR("screen_constrain_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_125screen_constrain_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_124screen_constrain_set)},
+ {__Pyx_NAMESTR("screen_constrain_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_127screen_constrain_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_126screen_constrain_get)},
+ {__Pyx_NAMESTR("screen_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_129screen_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_128screen_size_get)},
+ {__Pyx_NAMESTR("focus_highlight_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_131focus_highlight_enabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_130focus_highlight_enabled_set)},
+ {__Pyx_NAMESTR("focus_highlight_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_133focus_highlight_enabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_132focus_highlight_enabled_get)},
+ {__Pyx_NAMESTR("focus_highlight_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_135focus_highlight_style_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_134focus_highlight_style_set)},
+ {__Pyx_NAMESTR("focus_highlight_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_137focus_highlight_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_136focus_highlight_style_get)},
+ {__Pyx_NAMESTR("keyboard_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_139keyboard_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_138keyboard_mode_set)},
+ {__Pyx_NAMESTR("keyboard_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_141keyboard_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_140keyboard_mode_get)},
+ {__Pyx_NAMESTR("keyboard_win_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_143keyboard_win_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_142keyboard_win_set)},
+ {__Pyx_NAMESTR("keyboard_win_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_145keyboard_win_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_144keyboard_win_get)},
+ {__Pyx_NAMESTR("indicator_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_147indicator_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_146indicator_mode_set)},
+ {__Pyx_NAMESTR("indicator_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_149indicator_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_148indicator_mode_get)},
+ {__Pyx_NAMESTR("indicator_opacity_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_151indicator_opacity_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_150indicator_opacity_set)},
+ {__Pyx_NAMESTR("indicator_opacity_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_153indicator_opacity_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_152indicator_opacity_get)},
+ {__Pyx_NAMESTR("screen_position_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_155screen_position_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_154screen_position_get)},
+ {__Pyx_NAMESTR("socket_listen"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_157socket_listen, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_156socket_listen)},
+ {__Pyx_NAMESTR("xwindow_xid_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_159xwindow_xid_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_158xwindow_xid_get)},
+ {__Pyx_NAMESTR("callback_delete_request_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_161callback_delete_request_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_160callback_delete_request_add)},
+ {__Pyx_NAMESTR("callback_delete_request_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_163callback_delete_request_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_focus_in_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_165callback_focus_in_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_164callback_focus_in_add)},
+ {__Pyx_NAMESTR("callback_focus_in_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_167callback_focus_in_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_focus_out_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_169callback_focus_out_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_168callback_focus_out_add)},
+ {__Pyx_NAMESTR("callback_focus_out_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_171callback_focus_out_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_173callback_moved_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_172callback_moved_add)},
+ {__Pyx_NAMESTR("callback_moved_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_175callback_moved_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_withdrawn_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_177callback_withdrawn_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_176callback_withdrawn_add)},
+ {__Pyx_NAMESTR("callback_withdrawn_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_179callback_withdrawn_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_iconified_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_181callback_iconified_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_180callback_iconified_add)},
+ {__Pyx_NAMESTR("callback_iconified_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_183callback_iconified_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_normal_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_185callback_normal_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_184callback_normal_add)},
+ {__Pyx_NAMESTR("callback_normal_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_187callback_normal_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_stick_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_189callback_stick_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_188callback_stick_add)},
+ {__Pyx_NAMESTR("callback_stick_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_191callback_stick_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unstick_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_193callback_unstick_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_192callback_unstick_add)},
+ {__Pyx_NAMESTR("callback_unstick_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_195callback_unstick_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_fullscreen_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_197callback_fullscreen_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_196callback_fullscreen_add)},
+ {__Pyx_NAMESTR("callback_fullscreen_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_199callback_fullscreen_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unfullscreen_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_201callback_unfullscreen_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_200callback_unfullscreen_add)},
+ {__Pyx_NAMESTR("callback_unfullscreen_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_203callback_unfullscreen_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_maximized_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_205callback_maximized_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_204callback_maximized_add)},
+ {__Pyx_NAMESTR("callback_maximized_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_207callback_maximized_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unmaximized_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_209callback_unmaximized_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Window_208callback_unmaximized_add)},
+ {__Pyx_NAMESTR("callback_unmaximized_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Window_211callback_unmaximized_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Window[] = {
+ {(char *)"title", __pyx_getprop_10elementary_12c_elementary_6Window_title, __pyx_setprop_10elementary_12c_elementary_6Window_title, __Pyx_DOCSTR(__pyx_k_334), 0},
+ {(char *)"icon_name", __pyx_getprop_10elementary_12c_elementary_6Window_icon_name, __pyx_setprop_10elementary_12c_elementary_6Window_icon_name, __Pyx_DOCSTR(__pyx_k_335), 0},
+ {(char *)"role", __pyx_getprop_10elementary_12c_elementary_6Window_role, __pyx_setprop_10elementary_12c_elementary_6Window_role, __Pyx_DOCSTR(__pyx_k_336), 0},
+ {(char *)"icon_object", __pyx_getprop_10elementary_12c_elementary_6Window_icon_object, __pyx_setprop_10elementary_12c_elementary_6Window_icon_object, __Pyx_DOCSTR(__pyx_k_337), 0},
+ {(char *)"autodel", __pyx_getprop_10elementary_12c_elementary_6Window_autodel, __pyx_setprop_10elementary_12c_elementary_6Window_autodel, __Pyx_DOCSTR(__pyx_k_338), 0},
+ {(char *)"borderless", __pyx_getprop_10elementary_12c_elementary_6Window_borderless, __pyx_setprop_10elementary_12c_elementary_6Window_borderless, __Pyx_DOCSTR(__pyx_k_339), 0},
+ {(char *)"shaped", __pyx_getprop_10elementary_12c_elementary_6Window_shaped, __pyx_setprop_10elementary_12c_elementary_6Window_shaped, __Pyx_DOCSTR(__pyx_k_340), 0},
+ {(char *)"alpha", __pyx_getprop_10elementary_12c_elementary_6Window_alpha, __pyx_setprop_10elementary_12c_elementary_6Window_alpha, __Pyx_DOCSTR(__pyx_k_341), 0},
+ {(char *)"override", __pyx_getprop_10elementary_12c_elementary_6Window_override, __pyx_setprop_10elementary_12c_elementary_6Window_override, __Pyx_DOCSTR(__pyx_k_342), 0},
+ {(char *)"fullscreen", __pyx_getprop_10elementary_12c_elementary_6Window_fullscreen, __pyx_setprop_10elementary_12c_elementary_6Window_fullscreen, __Pyx_DOCSTR(__pyx_k_343), 0},
+ {(char *)"maximized", __pyx_getprop_10elementary_12c_elementary_6Window_maximized, __pyx_setprop_10elementary_12c_elementary_6Window_maximized, __Pyx_DOCSTR(__pyx_k_344), 0},
+ {(char *)"iconified", __pyx_getprop_10elementary_12c_elementary_6Window_iconified, __pyx_setprop_10elementary_12c_elementary_6Window_iconified, __Pyx_DOCSTR(__pyx_k_345), 0},
+ {(char *)"withdrawn", __pyx_getprop_10elementary_12c_elementary_6Window_withdrawn, __pyx_setprop_10elementary_12c_elementary_6Window_withdrawn, __Pyx_DOCSTR(__pyx_k_346), 0},
+ {(char *)"urgent", __pyx_getprop_10elementary_12c_elementary_6Window_urgent, __pyx_setprop_10elementary_12c_elementary_6Window_urgent, __Pyx_DOCSTR(__pyx_k_347), 0},
+ {(char *)"demand_attention", __pyx_getprop_10elementary_12c_elementary_6Window_demand_attention, __pyx_setprop_10elementary_12c_elementary_6Window_demand_attention, __Pyx_DOCSTR(__pyx_k_348), 0},
+ {(char *)"modal", __pyx_getprop_10elementary_12c_elementary_6Window_modal, __pyx_setprop_10elementary_12c_elementary_6Window_modal, __Pyx_DOCSTR(__pyx_k_349), 0},
+ {(char *)"aspect", __pyx_getprop_10elementary_12c_elementary_6Window_aspect, __pyx_setprop_10elementary_12c_elementary_6Window_aspect, __Pyx_DOCSTR(__pyx_k_350), 0},
+ {(char *)"size_base", __pyx_getprop_10elementary_12c_elementary_6Window_size_base, __pyx_setprop_10elementary_12c_elementary_6Window_size_base, __Pyx_DOCSTR(__pyx_k_351), 0},
+ {(char *)"size_step", __pyx_getprop_10elementary_12c_elementary_6Window_size_step, __pyx_setprop_10elementary_12c_elementary_6Window_size_step, __Pyx_DOCSTR(__pyx_k_352), 0},
+ {(char *)"layer", __pyx_getprop_10elementary_12c_elementary_6Window_layer, __pyx_setprop_10elementary_12c_elementary_6Window_layer, __Pyx_DOCSTR(__pyx_k_353), 0},
+ {(char *)"rotation", __pyx_getprop_10elementary_12c_elementary_6Window_rotation, __pyx_setprop_10elementary_12c_elementary_6Window_rotation, __Pyx_DOCSTR(__pyx_k_354), 0},
+ {(char *)"rotation_with_resize", 0, __pyx_setprop_10elementary_12c_elementary_6Window_rotation_with_resize, __Pyx_DOCSTR(__pyx_k_355), 0},
+ {(char *)"sticky", __pyx_getprop_10elementary_12c_elementary_6Window_sticky, __pyx_setprop_10elementary_12c_elementary_6Window_sticky, __Pyx_DOCSTR(__pyx_k_356), 0},
+ {(char *)"conformant", __pyx_getprop_10elementary_12c_elementary_6Window_conformant, __pyx_setprop_10elementary_12c_elementary_6Window_conformant, __Pyx_DOCSTR(__pyx_k_357), 0},
+ {(char *)"quickpanel", __pyx_getprop_10elementary_12c_elementary_6Window_quickpanel, __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel, __Pyx_DOCSTR(__pyx_k_358), 0},
+ {(char *)"quickpanel_priority_major", __pyx_getprop_10elementary_12c_elementary_6Window_quickpanel_priority_major, __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel_priority_major, __Pyx_DOCSTR(__pyx_k_359), 0},
+ {(char *)"quickpanel_priority_minor", __pyx_getprop_10elementary_12c_elementary_6Window_quickpanel_priority_minor, __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel_priority_minor, __Pyx_DOCSTR(__pyx_k_360), 0},
+ {(char *)"quickpanel_zone", __pyx_getprop_10elementary_12c_elementary_6Window_quickpanel_zone, __pyx_setprop_10elementary_12c_elementary_6Window_quickpanel_zone, __Pyx_DOCSTR(__pyx_k_361), 0},
+ {(char *)"focus_skip_set", 0, __pyx_setprop_10elementary_12c_elementary_6Window_focus_skip_set, __Pyx_DOCSTR(__pyx_k_362), 0},
+ {(char *)"inlined_image_object", __pyx_getprop_10elementary_12c_elementary_6Window_inlined_image_object, 0, __Pyx_DOCSTR(__pyx_k_363), 0},
+ {(char *)"focus", __pyx_getprop_10elementary_12c_elementary_6Window_focus, 0, __Pyx_DOCSTR(__pyx_k_364), 0},
+ {(char *)"screen_constrain", __pyx_getprop_10elementary_12c_elementary_6Window_screen_constrain, __pyx_setprop_10elementary_12c_elementary_6Window_screen_constrain, __Pyx_DOCSTR(__pyx_k_365), 0},
+ {(char *)"screen_size", __pyx_getprop_10elementary_12c_elementary_6Window_screen_size, 0, __Pyx_DOCSTR(__pyx_k_366), 0},
+ {(char *)"focus_highlight_enabled", __pyx_getprop_10elementary_12c_elementary_6Window_focus_highlight_enabled, __pyx_setprop_10elementary_12c_elementary_6Window_focus_highlight_enabled, __Pyx_DOCSTR(__pyx_k_367), 0},
+ {(char *)"focus_highlight_style", __pyx_getprop_10elementary_12c_elementary_6Window_focus_highlight_style, __pyx_setprop_10elementary_12c_elementary_6Window_focus_highlight_style, __Pyx_DOCSTR(__pyx_k_368), 0},
+ {(char *)"keyboard_mode", __pyx_getprop_10elementary_12c_elementary_6Window_keyboard_mode, __pyx_setprop_10elementary_12c_elementary_6Window_keyboard_mode, __Pyx_DOCSTR(__pyx_k_369), 0},
+ {(char *)"keyboard_win", __pyx_getprop_10elementary_12c_elementary_6Window_keyboard_win, __pyx_setprop_10elementary_12c_elementary_6Window_keyboard_win, __Pyx_DOCSTR(__pyx_k_370), 0},
+ {(char *)"indicator_mode", __pyx_getprop_10elementary_12c_elementary_6Window_indicator_mode, __pyx_setprop_10elementary_12c_elementary_6Window_indicator_mode, __Pyx_DOCSTR(__pyx_k_371), 0},
+ {(char *)"indicator_opacity", __pyx_getprop_10elementary_12c_elementary_6Window_indicator_opacity, __pyx_setprop_10elementary_12c_elementary_6Window_indicator_opacity, __Pyx_DOCSTR(__pyx_k_372), 0},
+ {(char *)"screen_position", __pyx_getprop_10elementary_12c_elementary_6Window_screen_position, 0, __Pyx_DOCSTR(__pyx_k_373), 0},
+ {(char *)"xwindow_xid", __pyx_getprop_10elementary_12c_elementary_6Window_xwindow_xid, 0, __Pyx_DOCSTR(__pyx_k_374), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Window = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Window = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Window = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Window = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryWindow_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Window"), /*tp_name*/
+ sizeof(struct PyElementaryWindow), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Window, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Window, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Window, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Window, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The window class of Elementary.\n\n Contains functions to manipulate windows. The Evas engine used to render\n the window contents is specified in the system or user elementary config\n files (whichever is found last), and can be overridden with the\n ELM_ENGINE environment variable for testing. Engines that may be\n supported (depending on Evas and Ecore-Evas compilation setup and\n modules actually installed at runtime) are (listed in order of best\n supported and most likely to be complete and work to lowest quality).\n\n - \"x11\", \"x\", \"software-x11\", \"software_x11\" (Software rendering in\n X11)\n - \"gl\", \"opengl\", \"opengl-x11\", \"opengl_x11\" (OpenGL or OpenGL-ES2\n rendering in X11)\n - \"shot:...\" (Virtual screenshot renderer - renders to output file\n and exits)\n - \"fb\", \"software-fb\", \"software_fb\" (Linux framebuffer direct\n software rendering)\n - \"sdl\", \"software-sdl\", \"software_sdl\" (SDL software rendering to\n SDL buffer)\n - \"gl-sdl\", \"gl_sdl\", \"opengl-sdl\", \"opengl_sdl\" (OpenGL or\n OpenGL-ES2 rendering using SDL as the buffer)\n - \"gdi\", \"software-gdi\", \"software_gdi\" (Windows WIN32 rendering via\n GDI with software)\n - \"dfb\", \"directfb\" (Rendering to a DirectFB window)\n - \"x11-8\", \"x8\", \"software-8-x11\", \"software_8_x11\" (Rendering in\n grayscale using dedicated 8bit software engine in X11)\n - \"x11-16\", \"x16\", \"software-16-x11\", \"software_16_x11\" (Rendering in\n X11 using 16bit software engine)\n - \"wince-gdi\", \"software-16-wince-gdi\", \"software_16_wince_gdi\"\n (Windows CE rendering via GDI with 16bit software renderer)\n - \"sdl-16\", \"software-16-sdl\", \"software_16_sdl\" (Rendering to SDL\n buffer with 16bit software renderer)\n - \"ews\" (rendering to EWS - Ecore + Evas Single Process Windowing\n System)\n - \"gl-cocoa\", \"gl_cocoa\", \"opengl-cocoa\", \"opengl_cocoa\" (OpenGL\n rendering in Cocoa)\n - \"psl1ght\" (PS3 rendering using PSL1GHT)\n\n All engines use a simple string to select the engine to render, EXCEPT\n the \"shot\" engine. This actually encodes the output of the virtual\n screenshot and how long to delay in the engine string. The engine string\n is encoded in the following way::\n\n \"shot:[delay=XX][:][repeat=DDD][:][file=XX]\"\n\n Where options are separated by a \":\" char if more than one option is\n given, with delay, if provided being the first option and file the last\n (order is important). The delay specifies how long to wait after the\n window is shown before doing the virtual \"in memory\" rendering and then\n save the output to the file specified by the file option (and then exit).\n If no delay is given, the default is 0.5 seconds. If no file is given the\n default output file is \"out.png\". Repeat option is for continuous\n capturing screenshots. Repeat range is from 1 to 999 and filename is\n fixed to \"out001.png\" Some examples of using the shot engine::\n\n ELM_ENGINE=\"shot:delay=1.0:repeat=5:file=elm_test.png\" elementary_test\n ELM_ENGINE=\"shot:delay=1.0:file=elm_test.png\" elementary_test\n ELM_ENGINE=\"shot:file=elm_test2.png\" elementary_test\n ELM_ENGINE=\"shot:delay=2.0\" elementary_test\n ELM_ENGINE=\"shot:\" elementary_test\n\n Signals that you can add callbacks for are:\n\n - \"delete,request\": the user requested to close the window. See\n L{autodel_set()}.\n - \"focus,in\": window got focus\n - \"focus,out\": window lost focus\n - \"moved\": window that holds the canvas was moved\n - \"withdrawn\": window is still managed normally but removed from view\n - \"iconified\": window is minimized (perhaps into an icon or taskbar)\n - \"normal\": window is in a normal state (not withdrawn or iconified)\n - \"stick\": window has become sticky (shows on all desktops)\n - \"unstick\": window has stopped being sticky\n - \"fullscreen\": window has become fullscreen\n - \"unfullscreen\": window has stopped being fullscreen\n - \"maximized\": window has been maximized\n - \"unmaximized\": window has stopped being maximized\n\n @param name: A name for the new window.\n @type name: string\n @param type: A type for the new window:\n @type type: Elm_Win_Type\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Window, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Window, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Window_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Window, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_StandardWindow __pyx_vtable_10elementary_12c_elementary_StandardWindow;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_StandardWindow(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryStandardWindow *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryStandardWindow *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_StandardWindow;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_StandardWindow[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_StandardWindow = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_StandardWindow = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_StandardWindow = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_StandardWindow = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryStandardWindow_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.StandardWindow"), /*tp_name*/
+ sizeof(struct PyElementaryStandardWindow), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_StandardWindow, /*tp_as_number*/
+ &__pyx_tp_as_sequence_StandardWindow, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_StandardWindow, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_StandardWindow, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A L{Window} with standard setup.\n\n @param name: A name for the new window.\n @type name: string\n @param title: A title for the new window.\n @type title: string\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_StandardWindow, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_14StandardWindow_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_StandardWindow, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_InnerWindow __pyx_vtable_10elementary_12c_elementary_InnerWindow;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_InnerWindow(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryInnerWindow *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryInnerWindow *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_InnerWindow;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11InnerWindow_content(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11InnerWindow_content(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_3__set__(o, v);
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_5__del__(o);
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_InnerWindow[] = {
+ {__Pyx_NAMESTR("activate"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11InnerWindow_3activate, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11InnerWindow_2activate)},
+ {__Pyx_NAMESTR("content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11InnerWindow_5content_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11InnerWindow_4content_set)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11InnerWindow_7content_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11InnerWindow_6content_get)},
+ {__Pyx_NAMESTR("content_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11InnerWindow_9content_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11InnerWindow_8content_unset)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_InnerWindow[] = {
+ {(char *)"content", __pyx_getprop_10elementary_12c_elementary_11InnerWindow_content, __pyx_setprop_10elementary_12c_elementary_11InnerWindow_content, __Pyx_DOCSTR(__pyx_k_375), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_InnerWindow = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_InnerWindow = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_InnerWindow = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_InnerWindow = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryInnerWindow_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.InnerWindow"), /*tp_name*/
+ sizeof(struct PyElementaryInnerWindow), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_InnerWindow, /*tp_as_number*/
+ &__pyx_tp_as_sequence_InnerWindow, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_InnerWindow, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_InnerWindow, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An inwin is a window inside a window that is useful for a quick popup.\n It does not hover.\n\n It works by creating an object that will occupy the entire window, so it\n must be created using an L{Window} as parent only. The inwin\n object can be hidden or restacked below every other object if it's\n needed to show what's behind it without destroying it. If this is done,\n the L{activate()} function can be used to bring it back to\n full visibility again.\n\n There are three styles available in the default theme. These are:\n - default: The inwin is sized to take over most of the window it's\n placed in.\n - minimal: The size of the inwin will be the minimum necessary to show\n its contents.\n - minimal_vertical: Horizontally, the inwin takes as much space as\n possible, but it's sized vertically the most it needs to fit its\n contents.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_InnerWindow, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_InnerWindow, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_11InnerWindow_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_InnerWindow, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Background __pyx_vtable_10elementary_12c_elementary_Background;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Background(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryBackground *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryBackground *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Background;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10Background_file(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_4file_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10Background_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_4file_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10Background_option(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_6option_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10Background_option(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_6option_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10Background_color(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_5color_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10Background_color(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_5color_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10Background_load_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10Background_9load_size_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Background[] = {
+ {__Pyx_NAMESTR("file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_3file_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_2file_set)},
+ {__Pyx_NAMESTR("file_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_5file_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_4file_get)},
+ {__Pyx_NAMESTR("option_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_7option_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_6option_set)},
+ {__Pyx_NAMESTR("option_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_9option_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_8option_get)},
+ {__Pyx_NAMESTR("color_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_11color_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_10color_set)},
+ {__Pyx_NAMESTR("color_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_13color_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_12color_get)},
+ {__Pyx_NAMESTR("load_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10Background_15load_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_10Background_14load_size_set)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Background[] = {
+ {(char *)"file", __pyx_getprop_10elementary_12c_elementary_10Background_file, __pyx_setprop_10elementary_12c_elementary_10Background_file, __Pyx_DOCSTR(__pyx_k_376), 0},
+ {(char *)"option", __pyx_getprop_10elementary_12c_elementary_10Background_option, __pyx_setprop_10elementary_12c_elementary_10Background_option, __Pyx_DOCSTR(__pyx_k_377), 0},
+ {(char *)"color", __pyx_getprop_10elementary_12c_elementary_10Background_color, __pyx_setprop_10elementary_12c_elementary_10Background_color, __Pyx_DOCSTR(__pyx_k_378), 0},
+ {(char *)"load_size", 0, __pyx_setprop_10elementary_12c_elementary_10Background_load_size, __Pyx_DOCSTR(__pyx_k_379), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Background = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Background = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Background = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Background = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryBackground_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Background"), /*tp_name*/
+ sizeof(struct PyElementaryBackground), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Background, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Background, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Background, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Background, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Background widget object\n\n Used for setting a solid color, image or Edje group as a background to a\n window or any container object.\n\n The background widget is used for setting (solid) background decorations\n to a window (unless it has transparency enabled) or to any container\n object. It works just like an image, but has some properties useful to a\n background, like setting it to tiled, centered, scaled or stretched.\n\n Default content parts of the bg widget that you can use for are:\n - B{overlay} - overlay of the bg\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Background, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Background, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_10Background_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Background, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Icon __pyx_vtable_10elementary_12c_elementary_Icon;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Icon(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryIcon *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryIcon *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Icon;
+ return o;
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4Icon_thumb(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4Icon_5thumb_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Icon_standard(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Icon_8standard_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4Icon_standard(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4Icon_8standard_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Icon_order_lookup(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Icon_12order_lookup_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4Icon_order_lookup(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4Icon_12order_lookup_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Icon[] = {
+ {__Pyx_NAMESTR("thumb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_3thumb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_2thumb_set)},
+ {__Pyx_NAMESTR("standard_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_5standard_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_4standard_set)},
+ {__Pyx_NAMESTR("standard_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_7standard_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_6standard_get)},
+ {__Pyx_NAMESTR("order_lookup_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_9order_lookup_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_8order_lookup_set)},
+ {__Pyx_NAMESTR("order_lookup_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_11order_lookup_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_10order_lookup_get)},
+ {__Pyx_NAMESTR("callback_thumb_done_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_13callback_thumb_done_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_12callback_thumb_done_add)},
+ {__Pyx_NAMESTR("callback_thumb_done_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_15callback_thumb_done_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_thumb_error_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_17callback_thumb_error_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Icon_16callback_thumb_error_add)},
+ {__Pyx_NAMESTR("callback_thumb_error_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Icon_19callback_thumb_error_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Icon[] = {
+ {(char *)"thumb", 0, __pyx_setprop_10elementary_12c_elementary_4Icon_thumb, __Pyx_DOCSTR(__pyx_k_380), 0},
+ {(char *)"standard", __pyx_getprop_10elementary_12c_elementary_4Icon_standard, __pyx_setprop_10elementary_12c_elementary_4Icon_standard, __Pyx_DOCSTR(__pyx_k_381), 0},
+ {(char *)"order_lookup", __pyx_getprop_10elementary_12c_elementary_4Icon_order_lookup, __pyx_setprop_10elementary_12c_elementary_4Icon_order_lookup, __Pyx_DOCSTR(__pyx_k_382), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Icon = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Icon = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Icon = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Icon = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryIcon_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Icon"), /*tp_name*/
+ sizeof(struct PyElementaryIcon), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Icon, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Icon, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Icon, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Icon, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An icon object is used to display standard icon images (\"delete\",\n \"edit\", \"arrows\", etc.) or images coming from a custom file (PNG, JPG,\n EDJE, etc.), on icon contexts.\n\n The icon image requested can be in the Elementary theme in use, or in\n the C{freedesktop.org} theme paths. It's possible to set the order of\n preference from where an image will be fetched.\n\n This widget inherits from the L{Image} one, so that all the functions\n acting on it also work for icon objects.\n\n You should be using an icon, instead of an image, whenever one of the\n following apply:\n - you need a B{thumbnail} version of an original image\n - you need freedesktop.org provided icon images\n - you need theme provided icon images (Edje groups)\n\n Default images provided by Elementary's default theme are described below.\n\n These are names for icons that were first intended to be used in\n toolbars, but can be used in many other places too:\n - C{\"home\"}\n - C{\"close\"}\n - C{\"apps\"}\n - C{\"arrow_up\"}\n - C{\"arrow_down\"}\n - C{\"arrow_left\"}\n - C{\"arrow_right\"}\n - C{\"chat\"}\n - C{\"clock\"}\n - C{\"delete\"}\n - C{\"edit\"}\n - C{\"refresh\"}\n - C{\"folder\"}\n - C{\"file\"}\n\n These are names for icons that were designed to be used in menus\n (but again, you can use them anywhere else):\n - C{\"menu/home\"}\n - C{\"menu/close\"}\n - C{\"menu/apps\"}\n - C{\"menu/arrow_up\"}\n - C{\"menu/arrow_down\"}\n - C{\"menu/arrow_left\"}\n - C{\"menu/arrow_right\"}\n - C{\"menu/chat\"}\n - C{\"menu/clock\"}\n - C{\"menu/delete\"}\n - C{\"menu/edit\"}\n - C{\"menu/refresh\"}\n - C{\"menu/folder\"}\n - C{\"menu/file\"}\n\n And these are names for some media player specific icons:\n - C{\"media_player/forward\"}\n - C{\"media_player/info\"}\n - C{\"media_player/next\"}\n - C{\"media_player/pause\"}\n - C{\"media_player/play\"}\n - C{\"media_player/prev\"}\n - C{\"media_player/rewind\"}\n - C{\"media_player/stop\"}\n\n This widget emits the following signals, besides the ones sent from\n L{Image}:\n - C{\"thumb,done\"} - L{thumb_set()} has completed with success\n - C{\"thumb,error\"} - L{thumb_set()} has failed\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Icon, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Icon, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_4Icon_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Icon, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Box __pyx_vtable_10elementary_12c_elementary_Box;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Box(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryBox *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryBox *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Box;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Box_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Box_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Box_homogeneous(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_11homogeneous_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Box_homogeneous(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_11homogeneous_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Box_children(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_8children_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Box_children(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ PyErr_SetString(PyExc_NotImplementedError, "__set__");
+ return -1;
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_3Box_8children_3__del__(o);
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Box_padding(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_7padding_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Box_padding(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_7padding_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Box_align(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_5align_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Box_align(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_5align_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Box_layout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Box_6layout_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Box[] = {
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_3horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_2horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_5horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_4horizontal_get)},
+ {__Pyx_NAMESTR("homogeneous_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_7homogeneous_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_6homogeneous_set)},
+ {__Pyx_NAMESTR("homogeneous_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_9homogeneous_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_8homogeneous_get)},
+ {__Pyx_NAMESTR("pack_start"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_11pack_start, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_10pack_start)},
+ {__Pyx_NAMESTR("pack_end"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_13pack_end, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_12pack_end)},
+ {__Pyx_NAMESTR("pack_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_15pack_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_14pack_before)},
+ {__Pyx_NAMESTR("pack_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_17pack_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_16pack_after)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_19clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_18clear)},
+ {__Pyx_NAMESTR("unpack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_21unpack, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_20unpack)},
+ {__Pyx_NAMESTR("unpack_all"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_23unpack_all, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_22unpack_all)},
+ {__Pyx_NAMESTR("children_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_25children_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_24children_get)},
+ {__Pyx_NAMESTR("padding_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_27padding_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_26padding_set)},
+ {__Pyx_NAMESTR("padding_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_29padding_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_28padding_get)},
+ {__Pyx_NAMESTR("align_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_31align_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_30align_set)},
+ {__Pyx_NAMESTR("align_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_33align_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_32align_get)},
+ {__Pyx_NAMESTR("recalculate"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_35recalculate, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_34recalculate)},
+ {__Pyx_NAMESTR("layout_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_37layout_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_36layout_set)},
+ {__Pyx_NAMESTR("layout_transition"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Box_39layout_transition, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_3Box_38layout_transition)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Box[] = {
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_3Box_horizontal, __pyx_setprop_10elementary_12c_elementary_3Box_horizontal, __Pyx_DOCSTR(__pyx_k_383), 0},
+ {(char *)"homogeneous", __pyx_getprop_10elementary_12c_elementary_3Box_homogeneous, __pyx_setprop_10elementary_12c_elementary_3Box_homogeneous, __Pyx_DOCSTR(__pyx_k_384), 0},
+ {(char *)"children", __pyx_getprop_10elementary_12c_elementary_3Box_children, __pyx_setprop_10elementary_12c_elementary_3Box_children, __Pyx_DOCSTR(__pyx_k_385), 0},
+ {(char *)"padding", __pyx_getprop_10elementary_12c_elementary_3Box_padding, __pyx_setprop_10elementary_12c_elementary_3Box_padding, __Pyx_DOCSTR(__pyx_k_386), 0},
+ {(char *)"align", __pyx_getprop_10elementary_12c_elementary_3Box_align, __pyx_setprop_10elementary_12c_elementary_3Box_align, __Pyx_DOCSTR(__pyx_k_387), 0},
+ {(char *)"layout", 0, __pyx_setprop_10elementary_12c_elementary_3Box_layout, __Pyx_DOCSTR(__pyx_k_388), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Box = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Box = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Box = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Box = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryBox_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Box"), /*tp_name*/
+ sizeof(struct PyElementaryBox), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Box, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Box, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Box, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Box, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A box arranges objects in a linear fashion, governed by a layout function\n that defines the details of this arrangement.\n\n By default, the box will use an internal function to set the layout to\n a single row, either vertical or horizontal. This layout is affected\n by a number of parameters, such as the homogeneous flag set by\n L{homogeneous_set()}, the values given by L{padding_set()} and\n L{align_set()} and the hints set to each object in the box.\n\n For this default layout, it's possible to change the orientation with\n L{horizontal_set()}. The box will start in the vertical orientation,\n placing its elements ordered from top to bottom. When horizontal is set,\n the order will go from left to right. If the box is set to be\n homogeneous, every object in it will be assigned the same space, that\n of the largest object. Padding can be used to set some spacing between\n the cell given to each object. The alignment of the box, set with\n L{align_set()}, determines how the bounding box of all the elements\n will be placed within the space given to the box widget itself.\n\n The size hints of each object also affect how they are placed and sized\n within the box. L{size_hint_min_set()} will give the minimum\n size the object can have, and the box will use it as the basis for all\n latter calculations. Elementary widgets set their own minimum size as\n needed, so there's rarely any need to use it manually.\n\n C{size_hint_weight_set()}, when not in homogeneous mode, is\n used to tell whether the object will be allocated the minimum size it\n needs or if the space given to it should be expanded. It's important\n to realize that expanding the size given to the object is not the same\n thing as resizing the object. It could very well end being a small\n widget floating in a much larger empty space. If not set, the weight\n for objects will normally be 0.0 for both axis, meaning the widget will\n not be expanded. To take as much space possible, set the weight to\n C{EVAS_HINT_EXPAND} (defined to 1.0) for the desired axis to expand.\n\n Besides how much space each object is allocated, it's possible to control\n how the widget will be placed within that space using\n L{size_hint_align_set()}. By default, this value will be 0.5\n for both axis, meaning the object will be centered, but any value from\n 0.0 (left or top, for the C{x} and C{y} axis, respectively) to 1.0\n (right or bottom) can be used. The special value C{EVAS_HINT_FILL}, which\n is -1.0, means the object will be resized to fill the entire space it\n was allocated.\n\n In addition, customized functions to define the layout can be set, which\n allow the application developer to organize the objects within the box\n in any number of ways.\n\n The special L{layout_transition()} function can be used\n to switch from one layout to another, animating the motion of the\n children of the box.\n\n @note: Objects should not be added to box objects using _add() calls.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Box, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Box, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_3Box_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Box, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Frame __pyx_vtable_10elementary_12c_elementary_Frame;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Frame(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryFrame *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryFrame *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Frame;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Frame_autocollapse(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Frame_12autocollapse_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Frame_autocollapse(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Frame_12autocollapse_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Frame_collapse(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Frame_8collapse_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Frame_collapse(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Frame_8collapse_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Frame[] = {
+ {__Pyx_NAMESTR("autocollapse_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_3autocollapse_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Frame_2autocollapse_set)},
+ {__Pyx_NAMESTR("autocollapse_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_5autocollapse_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Frame_4autocollapse_get)},
+ {__Pyx_NAMESTR("collapse_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_7collapse_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Frame_6collapse_set)},
+ {__Pyx_NAMESTR("collapse_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_9collapse_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Frame_8collapse_get)},
+ {__Pyx_NAMESTR("collapse_go"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_11collapse_go, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Frame_10collapse_go)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_13callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Frame_12callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Frame_15callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Frame[] = {
+ {(char *)"autocollapse", __pyx_getprop_10elementary_12c_elementary_5Frame_autocollapse, __pyx_setprop_10elementary_12c_elementary_5Frame_autocollapse, __Pyx_DOCSTR(__pyx_k_389), 0},
+ {(char *)"collapse", __pyx_getprop_10elementary_12c_elementary_5Frame_collapse, __pyx_setprop_10elementary_12c_elementary_5Frame_collapse, __Pyx_DOCSTR(__pyx_k_390), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Frame = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Frame = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Frame = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Frame = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryFrame_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Frame"), /*tp_name*/
+ sizeof(struct PyElementaryFrame), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Frame, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Frame, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Frame, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Frame, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Frame is a widget that holds some content and has a title.\n\n The default look is a frame with a title, but Frame supports multiple\n styles:\n - default\n - pad_small\n - pad_medium\n - pad_large\n - pad_huge\n - outdent_top\n - outdent_bottom\n\n Of all this styles only default shows the title.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"clicked\"} - The user has clicked the frame's label\n\n Default content parts of the frame widget that you can use for are:\n - \"default\" - A content of the frame\n\n Default text parts of the frame widget that you can use for are:\n - \"default\" - Label of the frame\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Frame, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Frame, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Frame_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Frame, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Flip __pyx_vtable_10elementary_12c_elementary_Flip;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Flip(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryFlip *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryFlip *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Flip;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Flip_front_visible(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Flip_13front_visible_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Flip_interaction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Flip_11interaction_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4Flip_interaction(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4Flip_11interaction_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Flip[] = {
+ {__Pyx_NAMESTR("front_visible_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_3front_visible_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_2front_visible_get)},
+ {__Pyx_NAMESTR("perspective_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_5perspective_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_4perspective_set)},
+ {__Pyx_NAMESTR("go"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_7go, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_6go)},
+ {__Pyx_NAMESTR("interaction_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_9interaction_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_8interaction_set)},
+ {__Pyx_NAMESTR("interaction_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_11interaction_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_10interaction_get)},
+ {__Pyx_NAMESTR("interaction_direction_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_13interaction_direction_enabled_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_12interaction_direction_enabled_set)},
+ {__Pyx_NAMESTR("interaction_direction_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_15interaction_direction_enabled_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_14interaction_direction_enabled_get)},
+ {__Pyx_NAMESTR("interaction_direction_hitsize_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_17interaction_direction_hitsize_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_16interaction_direction_hitsize_set)},
+ {__Pyx_NAMESTR("interaction_direction_hitsize_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_19interaction_direction_hitsize_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_18interaction_direction_hitsize_get)},
+ {__Pyx_NAMESTR("callback_animate_begin_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_21callback_animate_begin_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_20callback_animate_begin_add)},
+ {__Pyx_NAMESTR("callback_animate_begin_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_23callback_animate_begin_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_animate_done_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_25callback_animate_done_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Flip_24callback_animate_done_add)},
+ {__Pyx_NAMESTR("callback_animate_done_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Flip_27callback_animate_done_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Flip[] = {
+ {(char *)"front_visible", __pyx_getprop_10elementary_12c_elementary_4Flip_front_visible, 0, __Pyx_DOCSTR(__pyx_k_391), 0},
+ {(char *)"interaction", __pyx_getprop_10elementary_12c_elementary_4Flip_interaction, __pyx_setprop_10elementary_12c_elementary_4Flip_interaction, __Pyx_DOCSTR(__pyx_k_392), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Flip = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Flip = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Flip = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Flip = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryFlip_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Flip"), /*tp_name*/
+ sizeof(struct PyElementaryFlip), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Flip, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Flip, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Flip, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Flip, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This widget holds two content objects L{Object}: one on the front and one\n on the back. It allows you to flip from front to back and vice-versa using\n various animations.\n\n If either the front or back contents are not set the flip will treat that\n as transparent. So if you were to set the front content but not the back,\n and then call L{go()} you would see whatever is below the flip.\n\n For a list of supported animations see L{go()}.\n\n Signals that you can add callbacks for are:\n - \"animate,begin\" - when a flip animation was started\n - \"animate,done\" - when a flip animation is finished\n\n Default content parts of the flip widget that you can use for are:\n - \"front\" - A front content of the flip\n - \"back\" - A back content of the flip\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Flip, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Flip, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_4Flip_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Flip, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Scroller __pyx_vtable_10elementary_12c_elementary_Scroller;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Scroller(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryScroller *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryScroller *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Scroller;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_policy(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_6policy_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Scroller_policy(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_6policy_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_region(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_6region_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_child_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_10child_size_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_bounce(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_6bounce_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Scroller_bounce(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_6bounce_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_page_relative(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_13page_relative_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Scroller_page_relative(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_13page_relative_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Scroller_page_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_9page_size_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_current_page(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_12current_page_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_last_page(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_9last_page_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_propagate_events(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_16propagate_events_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Scroller_propagate_events(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_16propagate_events_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Scroller_gravity(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_7gravity_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Scroller_gravity(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Scroller_7gravity_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Scroller[] = {
+ {__Pyx_NAMESTR("custom_widget_base_theme_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_3custom_widget_base_theme_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_2custom_widget_base_theme_set)},
+ {__Pyx_NAMESTR("content_min_limit"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_5content_min_limit, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_4content_min_limit)},
+ {__Pyx_NAMESTR("region_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_7region_show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_6region_show)},
+ {__Pyx_NAMESTR("policy_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_9policy_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_8policy_set)},
+ {__Pyx_NAMESTR("policy_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_11policy_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_10policy_get)},
+ {__Pyx_NAMESTR("region_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_13region_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_12region_get)},
+ {__Pyx_NAMESTR("child_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_15child_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_14child_size_get)},
+ {__Pyx_NAMESTR("bounce_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_17bounce_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_16bounce_set)},
+ {__Pyx_NAMESTR("bounce_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_19bounce_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_18bounce_get)},
+ {__Pyx_NAMESTR("page_relative_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_21page_relative_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_20page_relative_set)},
+ {__Pyx_NAMESTR("page_relative_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_23page_relative_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_22page_relative_get)},
+ {__Pyx_NAMESTR("page_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_25page_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_24page_size_set)},
+ {__Pyx_NAMESTR("current_page_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_27current_page_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_26current_page_get)},
+ {__Pyx_NAMESTR("last_page_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_29last_page_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_28last_page_get)},
+ {__Pyx_NAMESTR("page_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_31page_show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_30page_show)},
+ {__Pyx_NAMESTR("page_bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_33page_bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_32page_bring_in)},
+ {__Pyx_NAMESTR("region_bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_35region_bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_34region_bring_in)},
+ {__Pyx_NAMESTR("propagate_events_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_37propagate_events_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_36propagate_events_set)},
+ {__Pyx_NAMESTR("propagate_events_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_39propagate_events_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_38propagate_events_get)},
+ {__Pyx_NAMESTR("gravity_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_41gravity_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_40gravity_set)},
+ {__Pyx_NAMESTR("gravity_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_43gravity_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_42gravity_get)},
+ {__Pyx_NAMESTR("callback_edge_left_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_45callback_edge_left_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_44callback_edge_left_add)},
+ {__Pyx_NAMESTR("callback_edge_left_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_47callback_edge_left_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_right_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_49callback_edge_right_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_48callback_edge_right_add)},
+ {__Pyx_NAMESTR("callback_edge_right_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_51callback_edge_right_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_top_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_53callback_edge_top_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_52callback_edge_top_add)},
+ {__Pyx_NAMESTR("callback_edge_top_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_55callback_edge_top_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_bottom_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_57callback_edge_bottom_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_56callback_edge_bottom_add)},
+ {__Pyx_NAMESTR("callback_edge_bottom_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_59callback_edge_bottom_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_61callback_scroll_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_60callback_scroll_add)},
+ {__Pyx_NAMESTR("callback_scroll_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_63callback_scroll_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_65callback_scroll_anim_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_64callback_scroll_anim_start_add)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_67callback_scroll_anim_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_69callback_scroll_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_68callback_scroll_anim_stop_add)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_71callback_scroll_anim_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_73callback_scroll_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_72callback_scroll_drag_start_add)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_75callback_scroll_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_77callback_scroll_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Scroller_76callback_scroll_drag_stop_add)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Scroller_79callback_scroll_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Scroller[] = {
+ {(char *)"policy", __pyx_getprop_10elementary_12c_elementary_8Scroller_policy, __pyx_setprop_10elementary_12c_elementary_8Scroller_policy, __Pyx_DOCSTR(__pyx_k_393), 0},
+ {(char *)"region", __pyx_getprop_10elementary_12c_elementary_8Scroller_region, 0, __Pyx_DOCSTR(__pyx_k_394), 0},
+ {(char *)"child_size", __pyx_getprop_10elementary_12c_elementary_8Scroller_child_size, 0, __Pyx_DOCSTR(__pyx_k_395), 0},
+ {(char *)"bounce", __pyx_getprop_10elementary_12c_elementary_8Scroller_bounce, __pyx_setprop_10elementary_12c_elementary_8Scroller_bounce, __Pyx_DOCSTR(__pyx_k_396), 0},
+ {(char *)"page_relative", __pyx_getprop_10elementary_12c_elementary_8Scroller_page_relative, __pyx_setprop_10elementary_12c_elementary_8Scroller_page_relative, __Pyx_DOCSTR(__pyx_k_397), 0},
+ {(char *)"page_size", 0, __pyx_setprop_10elementary_12c_elementary_8Scroller_page_size, __Pyx_DOCSTR(__pyx_k_398), 0},
+ {(char *)"current_page", __pyx_getprop_10elementary_12c_elementary_8Scroller_current_page, 0, __Pyx_DOCSTR(__pyx_k_399), 0},
+ {(char *)"last_page", __pyx_getprop_10elementary_12c_elementary_8Scroller_last_page, 0, __Pyx_DOCSTR(__pyx_k_400), 0},
+ {(char *)"propagate_events", __pyx_getprop_10elementary_12c_elementary_8Scroller_propagate_events, __pyx_setprop_10elementary_12c_elementary_8Scroller_propagate_events, __Pyx_DOCSTR(__pyx_k_401), 0},
+ {(char *)"gravity", __pyx_getprop_10elementary_12c_elementary_8Scroller_gravity, __pyx_setprop_10elementary_12c_elementary_8Scroller_gravity, __Pyx_DOCSTR(__pyx_k_402), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Scroller = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Scroller = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Scroller = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Scroller = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryScroller_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Scroller"), /*tp_name*/
+ sizeof(struct PyElementaryScroller), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Scroller, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Scroller, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Scroller, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Scroller, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A scroller holds a single object and \"scrolls it around\".\n\n This means that it allows the user to use a scrollbar (or a finger) to\n drag the viewable region around, allowing to move through a much larger\n object that is contained in the scroller. The scroller will always have\n a small minimum size by default as it won't be limited by the contents\n of the scroller.\n\n Signals that you can add callbacks for are:\n - \"edge,left\" - the left edge of the content has been reached\n - \"edge,right\" - the right edge of the content has been reached\n - \"edge,top\" - the top edge of the content has been reached\n - \"edge,bottom\" - the bottom edge of the content has been reached\n - \"scroll\" - the content has been scrolled (moved)\n - \"scroll,anim,start\" - scrolling animation has started\n - \"scroll,anim,stop\" - scrolling animation has stopped\n - \"scroll,drag,start\" - dragging the contents around has started\n - \"scroll,drag,stop\" - dragging the contents around has stopped\n\n Default content parts of the scroller widget that you can use for are:\n - \"default\" - A content of the scroller\n\n @note: The \"scroll,anim,*\" and \"scroll,drag,*\" signals are only emitted by\n user intervention.\n\n @note: When Elementary is in embedded mode the scrollbars will not be\n draggable, they appear merely as indicators of how much has been\n scrolled.\n\n @note: When Elementary is in desktop mode the thumbscroll(a.k.a.\n fingerscroll) won't work.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Scroller, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Scroller, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8Scroller_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Scroller, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Label __pyx_vtable_10elementary_12c_elementary_Label;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Label(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryLabel *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryLabel *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Label;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Label_line_wrap(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_9line_wrap_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Label_line_wrap(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_9line_wrap_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Label_wrap_width(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_10wrap_width_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Label_wrap_width(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_10wrap_width_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Label_ellipsis(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_8ellipsis_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Label_ellipsis(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_8ellipsis_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Label_slide(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_5slide_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Label_slide(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_5slide_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Label_slide_duration(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_14slide_duration_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Label_slide_duration(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Label_14slide_duration_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Label[] = {
+ {__Pyx_NAMESTR("line_wrap_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_3line_wrap_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_2line_wrap_set)},
+ {__Pyx_NAMESTR("line_wrap_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_5line_wrap_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_4line_wrap_get)},
+ {__Pyx_NAMESTR("wrap_width_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_7wrap_width_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_6wrap_width_set)},
+ {__Pyx_NAMESTR("wrap_width_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_9wrap_width_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_8wrap_width_get)},
+ {__Pyx_NAMESTR("ellipsis_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_11ellipsis_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_10ellipsis_set)},
+ {__Pyx_NAMESTR("ellipsis_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_13ellipsis_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_12ellipsis_get)},
+ {__Pyx_NAMESTR("slide_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_15slide_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_14slide_set)},
+ {__Pyx_NAMESTR("slide_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_17slide_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_16slide_get)},
+ {__Pyx_NAMESTR("slide_duration_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_19slide_duration_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_18slide_duration_set)},
+ {__Pyx_NAMESTR("slide_duration_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_21slide_duration_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_20slide_duration_get)},
+ {__Pyx_NAMESTR("callback_language_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_23callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Label_22callback_language_changed_add)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Label_25callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Label[] = {
+ {(char *)"line_wrap", __pyx_getprop_10elementary_12c_elementary_5Label_line_wrap, __pyx_setprop_10elementary_12c_elementary_5Label_line_wrap, __Pyx_DOCSTR(__pyx_k_403), 0},
+ {(char *)"wrap_width", __pyx_getprop_10elementary_12c_elementary_5Label_wrap_width, __pyx_setprop_10elementary_12c_elementary_5Label_wrap_width, __Pyx_DOCSTR(__pyx_k_404), 0},
+ {(char *)"ellipsis", __pyx_getprop_10elementary_12c_elementary_5Label_ellipsis, __pyx_setprop_10elementary_12c_elementary_5Label_ellipsis, __Pyx_DOCSTR(__pyx_k_405), 0},
+ {(char *)"slide", __pyx_getprop_10elementary_12c_elementary_5Label_slide, __pyx_setprop_10elementary_12c_elementary_5Label_slide, __Pyx_DOCSTR(__pyx_k_406), 0},
+ {(char *)"slide_duration", __pyx_getprop_10elementary_12c_elementary_5Label_slide_duration, __pyx_setprop_10elementary_12c_elementary_5Label_slide_duration, __Pyx_DOCSTR(__pyx_k_407), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Label = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Label = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Label = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Label = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryLabel_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Label"), /*tp_name*/
+ sizeof(struct PyElementaryLabel), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Label, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Label, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Label, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Label, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Widget to display text, with simple html-like markup.\n\n The Label widget B{doesn't} allow text to overflow its boundaries, if the\n text doesn't fit the geometry of the label it will be ellipsized or be\n cut. Elementary provides several styles for this widget:\n - default - No animation\n - marker - Centers the text in the label and makes it bold by default\n - slide_long - The entire text appears from the right of the screen and\n slides until it disappears in the left of the screen(reappearing on the\n right again).\n - slide_short - The text appears in the left of the label and slides to\n the right to show the overflow. When all of the text has been shown the\n position is reset.\n - slide_bounce - The text appears in the left of the label and slides to\n the right to show the overflow. When all of the text has been shown the\n animation reverses, moving the text to the left.\n\n Custom themes can of course invent new markup tags and style them any way\n they like.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"language,changed\"}: The program's language changed.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Label, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Label, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Label_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Label, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Table __pyx_vtable_10elementary_12c_elementary_Table;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Table(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryTable *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryTable *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Table;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Table_homogeneous(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Table_11homogeneous_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Table_homogeneous(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Table_11homogeneous_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Table_padding(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Table_7padding_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Table_padding(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Table_7padding_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Table[] = {
+ {__Pyx_NAMESTR("homogeneous_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_3homogeneous_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_2homogeneous_set)},
+ {__Pyx_NAMESTR("homogeneous_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_5homogeneous_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_4homogeneous_get)},
+ {__Pyx_NAMESTR("padding_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_7padding_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_6padding_set)},
+ {__Pyx_NAMESTR("padding_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_9padding_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_8padding_get)},
+ {__Pyx_NAMESTR("pack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_11pack, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_10pack)},
+ {__Pyx_NAMESTR("unpack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_13unpack, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_12unpack)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_15clear, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_14clear)},
+ {__Pyx_NAMESTR("pack_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_17pack_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_16pack_set)},
+ {__Pyx_NAMESTR("pack_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Table_19pack_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Table_18pack_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Table[] = {
+ {(char *)"homogeneous", __pyx_getprop_10elementary_12c_elementary_5Table_homogeneous, __pyx_setprop_10elementary_12c_elementary_5Table_homogeneous, __Pyx_DOCSTR(__pyx_k_408), 0},
+ {(char *)"padding", __pyx_getprop_10elementary_12c_elementary_5Table_padding, __pyx_setprop_10elementary_12c_elementary_5Table_padding, __Pyx_DOCSTR(__pyx_k_409), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Table = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Table = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Table = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Table = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryTable_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Table"), /*tp_name*/
+ sizeof(struct PyElementaryTable), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Table, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Table, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Table, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Table, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A container widget to arrange other widgets in a table where items can\n span multiple columns or rows - even overlap (and then be raised or\n lowered accordingly to adjust stacking if they do overlap).\n\n The row and column count is not fixed. The table widget adjusts itself when\n subobjects are added to it dynamically.\n\n The most common way to use a table is::\n table = Table(win)\n table.show()\n table.padding_set(table, space_between_columns, space_between_rows)\n table.pack(table_content_object, x_coord, y_coord, colspan, rowspan)\n table.pack(table_content_object, next_x_coord, next_y_coord, colspan, rowspan)\n table.pack(table_content_object, other_x_coord, other_y_coord, colspan, rowspan)\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Table, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Table, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Table_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Table, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Clock __pyx_vtable_10elementary_12c_elementary_Clock;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Clock(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryClock *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryClock *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Clock;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Clock_time(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_4time_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Clock_time(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_4time_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Clock_edit(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_4edit_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Clock_edit(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_4edit_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Clock_edit_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_9edit_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Clock_edit_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_9edit_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Clock_show_am_pm(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_10show_am_pm_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Clock_show_am_pm(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_10show_am_pm_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Clock_show_seconds(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_12show_seconds_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Clock_show_seconds(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_12show_seconds_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Clock_first_interval(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_14first_interval_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Clock_first_interval(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Clock_14first_interval_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Clock[] = {
+ {__Pyx_NAMESTR("time_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_3time_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_2time_set)},
+ {__Pyx_NAMESTR("time_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_5time_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_4time_get)},
+ {__Pyx_NAMESTR("edit_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_7edit_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_6edit_set)},
+ {__Pyx_NAMESTR("edit_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_9edit_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_8edit_get)},
+ {__Pyx_NAMESTR("edit_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_11edit_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_10edit_mode_set)},
+ {__Pyx_NAMESTR("edit_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_13edit_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_12edit_mode_get)},
+ {__Pyx_NAMESTR("show_am_pm_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_15show_am_pm_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_14show_am_pm_set)},
+ {__Pyx_NAMESTR("show_am_pm_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_17show_am_pm_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_16show_am_pm_get)},
+ {__Pyx_NAMESTR("show_seconds_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_19show_seconds_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_18show_seconds_set)},
+ {__Pyx_NAMESTR("show_seconds_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_21show_seconds_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_20show_seconds_get)},
+ {__Pyx_NAMESTR("first_interval_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_23first_interval_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_22first_interval_set)},
+ {__Pyx_NAMESTR("first_interval_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_25first_interval_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_24first_interval_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_27callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Clock_26callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Clock_29callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Clock[] = {
+ {(char *)"time", __pyx_getprop_10elementary_12c_elementary_5Clock_time, __pyx_setprop_10elementary_12c_elementary_5Clock_time, __Pyx_DOCSTR(__pyx_k_410), 0},
+ {(char *)"edit", __pyx_getprop_10elementary_12c_elementary_5Clock_edit, __pyx_setprop_10elementary_12c_elementary_5Clock_edit, __Pyx_DOCSTR(__pyx_k_411), 0},
+ {(char *)"edit_mode", __pyx_getprop_10elementary_12c_elementary_5Clock_edit_mode, __pyx_setprop_10elementary_12c_elementary_5Clock_edit_mode, __Pyx_DOCSTR(__pyx_k_412), 0},
+ {(char *)"show_am_pm", __pyx_getprop_10elementary_12c_elementary_5Clock_show_am_pm, __pyx_setprop_10elementary_12c_elementary_5Clock_show_am_pm, __Pyx_DOCSTR(__pyx_k_413), 0},
+ {(char *)"show_seconds", __pyx_getprop_10elementary_12c_elementary_5Clock_show_seconds, __pyx_setprop_10elementary_12c_elementary_5Clock_show_seconds, __Pyx_DOCSTR(__pyx_k_414), 0},
+ {(char *)"first_interval", __pyx_getprop_10elementary_12c_elementary_5Clock_first_interval, __pyx_setprop_10elementary_12c_elementary_5Clock_first_interval, __Pyx_DOCSTR(__pyx_k_415), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Clock = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Clock = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Clock = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Clock = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryClock_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Clock"), /*tp_name*/
+ sizeof(struct PyElementaryClock), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Clock, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Clock, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Clock, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Clock, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is a digital clock widget.\n\n In its default theme, it has a vintage \"flipping numbers clock\" appearance,\n which will animate sheets of individual algarisms individually as time goes\n by.\n\n A newly created clock will fetch system's time (already considering\n local time adjustments) to start with, and will tick accordingly. It may\n or may not show seconds.\n\n Clocks have an B{edition} mode. When in it, the sheets will display\n extra arrow indications on the top and bottom and the user may click on\n them to raise or lower the time values. After it's told to exit edition\n mode, it will keep ticking with that new time set (it keeps the\n difference from local time).\n\n Also, when under edition mode, user clicks on the cited arrows which are\n B{held} for some time will make the clock to flip the sheet, thus\n editing the time, continuously and automatically for the user. The\n interval between sheet flips will keep growing in time, so that it helps\n the user to reach a time which is distant from the one set.\n\n The time display is, by default, in military mode (24h), but an am/pm\n indicator may be optionally shown, too, when it will switch to 12h.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{changed} - the clock's user changed the time\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Clock, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Clock, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Clock_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Clock, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Hover __pyx_vtable_10elementary_12c_elementary_Hover;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Hover(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryHover *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryHover *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Hover;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Hover_target(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Hover_6target_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Hover_target(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Hover_6target_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Hover_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Hover_6parent_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Hover_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Hover_6parent_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Hover[] = {
+ {__Pyx_NAMESTR("target_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_3target_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_2target_set)},
+ {__Pyx_NAMESTR("target_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_5target_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_4target_get)},
+ {__Pyx_NAMESTR("parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_7parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_6parent_set)},
+ {__Pyx_NAMESTR("parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_9parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_8parent_get)},
+ {__Pyx_NAMESTR("best_content_location_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_11best_content_location_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_10best_content_location_get)},
+ {__Pyx_NAMESTR("dismiss"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_13dismiss, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_12dismiss)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_15callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_14callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_17callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_smart_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_19callback_smart_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Hover_18callback_smart_changed_add)},
+ {__Pyx_NAMESTR("callback_smart_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Hover_21callback_smart_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Hover[] = {
+ {(char *)"target", __pyx_getprop_10elementary_12c_elementary_5Hover_target, __pyx_setprop_10elementary_12c_elementary_5Hover_target, __Pyx_DOCSTR(__pyx_k_416), 0},
+ {(char *)"parent", __pyx_getprop_10elementary_12c_elementary_5Hover_parent, __pyx_setprop_10elementary_12c_elementary_5Hover_parent, __Pyx_DOCSTR(__pyx_k_417), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Hover = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Hover = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Hover = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Hover = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryHover_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Hover"), /*tp_name*/
+ sizeof(struct PyElementaryHover), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Hover, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Hover, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Hover, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Hover, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A Hover object will hover over its C{parent} object at the C{target}\n location.\n\n Anything in the background will be given a darker coloring to indicate\n that the hover object is on top (at the default theme). When the hover\n is clicked it is dismissed(hidden), if the contents of the hover are\n clicked that B{doesn't} cause the hover to be dismissed.\n\n A Hover object has two parents. One parent that owns it during creation\n and the other parent being the one over which the hover object spans.\n\n Elementary has the following styles for the hover widget:\n - default\n - popout\n - menu\n - hoversel_vertical\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"clicked\"} - the user clicked the empty space in the hover to\n dismiss\n - C{\"smart,changed\"} - a content object placed under the \"smart\"\n policy was replaced to a new slot direction.\n\n Default content parts of the hover widget that you can use for are:\n - C{\"left\"}\n - C{\"top-left\"}\n - C{\"top\"}\n - C{\"top-right\"}\n - C{\"right\"}\n - C{\"bottom-right\"}\n - C{\"bottom\"}\n - C{\"bottom-left\"}\n - C{\"middle\"}\n - C{\"smart\"}\n\n All directions may have contents at the same time, except for \"smart\".\n This is a special placement hint and its use case depends of the\n calculations coming from L{best_content_location_get()}. Its use is for\n cases when one desires only one hover content, but with a dynamic special\n placement within the hover area. The content's geometry, whenever it\n changes, will be used to decide on a best location, not extrapolating\n the hover's parent object view to show it in (still being the hover's\n target determinant of its medium part -- move and resize it to simulate\n finger sizes, for example). If one of the directions other than \"smart\"\n are used, a previously content set using it will be deleted, and\n vice-versa.\n\n @note: The hover object will take up the entire space of C{target}\n object.\n\n @note: The content parts listed indicate the direction that the content\n will be displayed\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Hover, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Hover, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Hover_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Hover, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Entry __pyx_vtable_10elementary_12c_elementary_Entry;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Entry(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryEntry *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryEntry *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Entry;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_single_line(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_11single_line_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_single_line(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_11single_line_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_password(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8password_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_password(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8password_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_entry(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_5entry_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_entry(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_5entry_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_selection(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_9selection_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_textblock(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_9textblock_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_line_wrap(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_9line_wrap_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_line_wrap(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_9line_wrap_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_editable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8editable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_editable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8editable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_cursor_pos(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_10cursor_pos_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_cursor_pos(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_10cursor_pos_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_context_menu_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_21context_menu_disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_context_menu_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_21context_menu_disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_file(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_4file_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_4file_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_autosave(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8autosave_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_autosave(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8autosave_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_scrollable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_10scrollable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_scrollable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_10scrollable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_icon_visible(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_12icon_visible_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_scrollbar_policy(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_16scrollbar_policy_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_bounce(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_6bounce_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_bounce(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_6bounce_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_layout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_18input_panel_layout_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_layout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_18input_panel_layout_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_19input_panel_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_19input_panel_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_language(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_20input_panel_language_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_language(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_20input_panel_language_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_return_key_type(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_return_key_type(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_27input_panel_return_key_type_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_return_key_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_return_key_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_31input_panel_return_key_disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_return_key_autoenabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_34input_panel_return_key_autoenabled_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_prediction_allow(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_16prediction_allow_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_prediction_allow(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_16prediction_allow_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_cnp_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8cnp_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_cnp_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_8cnp_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_anchor_hover_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_19anchor_hover_parent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_anchor_hover_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_19anchor_hover_parent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Entry_anchor_hover_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_18anchor_hover_style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Entry_anchor_hover_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Entry_18anchor_hover_style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Entry[] = {
+ {__Pyx_NAMESTR("single_line_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_3single_line_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_2single_line_set)},
+ {__Pyx_NAMESTR("single_line_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_5single_line_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_4single_line_get)},
+ {__Pyx_NAMESTR("password_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_7password_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_6password_set)},
+ {__Pyx_NAMESTR("password_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_9password_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_8password_get)},
+ {__Pyx_NAMESTR("entry_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_11entry_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_10entry_set)},
+ {__Pyx_NAMESTR("entry_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_13entry_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_12entry_get)},
+ {__Pyx_NAMESTR("entry_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_15entry_append, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_14entry_append)},
+ {__Pyx_NAMESTR("is_empty"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_17is_empty, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_16is_empty)},
+ {__Pyx_NAMESTR("selection_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_19selection_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_18selection_get)},
+ {__Pyx_NAMESTR("textblock_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_21textblock_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_20textblock_get)},
+ {__Pyx_NAMESTR("calc_force"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_23calc_force, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_22calc_force)},
+ {__Pyx_NAMESTR("entry_insert"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_25entry_insert, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_24entry_insert)},
+ {__Pyx_NAMESTR("line_wrap_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_27line_wrap_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_26line_wrap_set)},
+ {__Pyx_NAMESTR("line_wrap_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_29line_wrap_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_28line_wrap_get)},
+ {__Pyx_NAMESTR("editable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_31editable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_30editable_set)},
+ {__Pyx_NAMESTR("editable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_33editable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_32editable_get)},
+ {__Pyx_NAMESTR("select_none"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_35select_none, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_34select_none)},
+ {__Pyx_NAMESTR("select_all"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_37select_all, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_36select_all)},
+ {__Pyx_NAMESTR("cursor_next"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_39cursor_next, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_38cursor_next)},
+ {__Pyx_NAMESTR("cursor_prev"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_41cursor_prev, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_40cursor_prev)},
+ {__Pyx_NAMESTR("cursor_up"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_43cursor_up, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_42cursor_up)},
+ {__Pyx_NAMESTR("cursor_down"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_45cursor_down, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_44cursor_down)},
+ {__Pyx_NAMESTR("cursor_begin_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_47cursor_begin_set, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_46cursor_begin_set)},
+ {__Pyx_NAMESTR("cursor_end_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_49cursor_end_set, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_48cursor_end_set)},
+ {__Pyx_NAMESTR("cursor_line_begin_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_51cursor_line_begin_set, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_50cursor_line_begin_set)},
+ {__Pyx_NAMESTR("cursor_line_end_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_53cursor_line_end_set, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_52cursor_line_end_set)},
+ {__Pyx_NAMESTR("cursor_selection_begin"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_55cursor_selection_begin, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_54cursor_selection_begin)},
+ {__Pyx_NAMESTR("cursor_selection_end"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_57cursor_selection_end, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_56cursor_selection_end)},
+ {__Pyx_NAMESTR("cursor_is_format_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_59cursor_is_format_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_58cursor_is_format_get)},
+ {__Pyx_NAMESTR("cursor_is_visible_format_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_61cursor_is_visible_format_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_60cursor_is_visible_format_get)},
+ {__Pyx_NAMESTR("cursor_content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_63cursor_content_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_62cursor_content_get)},
+ {__Pyx_NAMESTR("cursor_geometry_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_65cursor_geometry_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_64cursor_geometry_get)},
+ {__Pyx_NAMESTR("cursor_pos_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_67cursor_pos_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_66cursor_pos_set)},
+ {__Pyx_NAMESTR("cursor_pos_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_69cursor_pos_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_68cursor_pos_get)},
+ {__Pyx_NAMESTR("selection_cut"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_71selection_cut, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_70selection_cut)},
+ {__Pyx_NAMESTR("selection_copy"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_73selection_copy, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_72selection_copy)},
+ {__Pyx_NAMESTR("selection_paste"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_75selection_paste, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_74selection_paste)},
+ {__Pyx_NAMESTR("context_menu_clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_77context_menu_clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_76context_menu_clear)},
+ {__Pyx_NAMESTR("context_menu_disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_79context_menu_disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_78context_menu_disabled_set)},
+ {__Pyx_NAMESTR("context_menu_disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_81context_menu_disabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_80context_menu_disabled_get)},
+ {__Pyx_NAMESTR("file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_83file_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_82file_set)},
+ {__Pyx_NAMESTR("file_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_85file_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_84file_get)},
+ {__Pyx_NAMESTR("file_save"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_87file_save, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_86file_save)},
+ {__Pyx_NAMESTR("autosave_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_89autosave_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_88autosave_set)},
+ {__Pyx_NAMESTR("autosave_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_91autosave_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_90autosave_get)},
+ {__Pyx_NAMESTR("scrollable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_93scrollable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_92scrollable_set)},
+ {__Pyx_NAMESTR("scrollable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_95scrollable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_94scrollable_get)},
+ {__Pyx_NAMESTR("icon_visible_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_97icon_visible_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_96icon_visible_set)},
+ {__Pyx_NAMESTR("scrollbar_policy_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_99scrollbar_policy_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_98scrollbar_policy_set)},
+ {__Pyx_NAMESTR("bounce_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_101bounce_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_100bounce_set)},
+ {__Pyx_NAMESTR("bounce_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_103bounce_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_102bounce_get)},
+ {__Pyx_NAMESTR("input_panel_layout_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_105input_panel_layout_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_104input_panel_layout_set)},
+ {__Pyx_NAMESTR("input_panel_layout_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_107input_panel_layout_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_106input_panel_layout_get)},
+ {__Pyx_NAMESTR("input_panel_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_109input_panel_enabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_108input_panel_enabled_set)},
+ {__Pyx_NAMESTR("input_panel_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_111input_panel_enabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_110input_panel_enabled_get)},
+ {__Pyx_NAMESTR("input_panel_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_113input_panel_show, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_112input_panel_show)},
+ {__Pyx_NAMESTR("input_panel_hide"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_115input_panel_hide, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_114input_panel_hide)},
+ {__Pyx_NAMESTR("input_panel_language_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_117input_panel_language_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_116input_panel_language_set)},
+ {__Pyx_NAMESTR("input_panel_language_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_119input_panel_language_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_118input_panel_language_get)},
+ {__Pyx_NAMESTR("input_panel_return_key_type_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_121input_panel_return_key_type_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_120input_panel_return_key_type_set)},
+ {__Pyx_NAMESTR("input_panel_return_key_type_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_123input_panel_return_key_type_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_122input_panel_return_key_type_get)},
+ {__Pyx_NAMESTR("input_panel_return_key_disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_125input_panel_return_key_disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_124input_panel_return_key_disabled_set)},
+ {__Pyx_NAMESTR("input_panel_return_key_disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_127input_panel_return_key_disabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_126input_panel_return_key_disabled_get)},
+ {__Pyx_NAMESTR("input_panel_return_key_autoenabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_129input_panel_return_key_autoenabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_128input_panel_return_key_autoenabled_set)},
+ {__Pyx_NAMESTR("imf_context_reset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_131imf_context_reset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_130imf_context_reset)},
+ {__Pyx_NAMESTR("prediction_allow_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_133prediction_allow_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_132prediction_allow_set)},
+ {__Pyx_NAMESTR("prediction_allow_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_135prediction_allow_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_134prediction_allow_get)},
+ {__Pyx_NAMESTR("cnp_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_137cnp_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_136cnp_mode_set)},
+ {__Pyx_NAMESTR("cnp_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_139cnp_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_138cnp_mode_get)},
+ {__Pyx_NAMESTR("anchor_hover_parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_141anchor_hover_parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_140anchor_hover_parent_set)},
+ {__Pyx_NAMESTR("anchor_hover_parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_143anchor_hover_parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_142anchor_hover_parent_get)},
+ {__Pyx_NAMESTR("anchor_hover_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_145anchor_hover_style_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_144anchor_hover_style_set)},
+ {__Pyx_NAMESTR("anchor_hover_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_147anchor_hover_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_146anchor_hover_style_get)},
+ {__Pyx_NAMESTR("anchor_hover_end"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_149anchor_hover_end, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_148anchor_hover_end)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_151callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_150callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_153callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_changed_user_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_155callback_changed_user_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_154callback_changed_user_add)},
+ {__Pyx_NAMESTR("callback_changed_user_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_157callback_changed_user_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_activated_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_159callback_activated_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_158callback_activated_add)},
+ {__Pyx_NAMESTR("callback_activated_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_161callback_activated_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_press_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_163callback_press_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_162callback_press_add)},
+ {__Pyx_NAMESTR("callback_press_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_165callback_press_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_167callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_166callback_longpressed_add)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_169callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_171callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_170callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_173callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_double_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_175callback_double_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_174callback_double_clicked_add)},
+ {__Pyx_NAMESTR("callback_double_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_177callback_double_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_triple_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_179callback_triple_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_178callback_triple_clicked_add)},
+ {__Pyx_NAMESTR("callback_triple_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_181callback_triple_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_focused_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_183callback_focused_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_182callback_focused_add)},
+ {__Pyx_NAMESTR("callback_focused_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_185callback_focused_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unfocused_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_187callback_unfocused_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_186callback_unfocused_add)},
+ {__Pyx_NAMESTR("callback_unfocused_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_189callback_unfocused_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_paste_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_191callback_selection_paste_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_190callback_selection_paste_add)},
+ {__Pyx_NAMESTR("callback_selection_paste_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_193callback_selection_paste_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_copy_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_195callback_selection_copy_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_194callback_selection_copy_add)},
+ {__Pyx_NAMESTR("callback_selection_copy_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_197callback_selection_copy_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_cut_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_199callback_selection_cut_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_198callback_selection_cut_add)},
+ {__Pyx_NAMESTR("callback_selection_cut_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_201callback_selection_cut_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_203callback_selection_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_202callback_selection_start_add)},
+ {__Pyx_NAMESTR("callback_selection_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_205callback_selection_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_207callback_selection_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_206callback_selection_changed_add)},
+ {__Pyx_NAMESTR("callback_selection_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_209callback_selection_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_cleared_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_211callback_selection_cleared_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_210callback_selection_cleared_add)},
+ {__Pyx_NAMESTR("callback_selection_cleared_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_213callback_selection_cleared_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_cursor_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_215callback_cursor_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_214callback_cursor_changed_add)},
+ {__Pyx_NAMESTR("callback_cursor_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_217callback_cursor_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_219callback_anchor_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_218callback_anchor_clicked_add)},
+ {__Pyx_NAMESTR("callback_anchor_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_221callback_anchor_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_in_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_223callback_anchor_in_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_222callback_anchor_in_add)},
+ {__Pyx_NAMESTR("callback_anchor_in_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_225callback_anchor_in_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_out_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_227callback_anchor_out_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_226callback_anchor_out_add)},
+ {__Pyx_NAMESTR("callback_anchor_out_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_229callback_anchor_out_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_up_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_231callback_anchor_up_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_230callback_anchor_up_add)},
+ {__Pyx_NAMESTR("callback_anchor_up_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_233callback_anchor_up_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_down_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_235callback_anchor_down_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_234callback_anchor_down_add)},
+ {__Pyx_NAMESTR("callback_anchor_down_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_237callback_anchor_down_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_hover_opened_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_239callback_anchor_hover_opened_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_anchor_hover_opened_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_241callback_anchor_hover_opened_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_preedit_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_243callback_preedit_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_242callback_preedit_changed_add)},
+ {__Pyx_NAMESTR("callback_preedit_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_245callback_preedit_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_language_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_247callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Entry_246callback_language_changed_add)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Entry_249callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Entry[] = {
+ {(char *)"single_line", __pyx_getprop_10elementary_12c_elementary_5Entry_single_line, __pyx_setprop_10elementary_12c_elementary_5Entry_single_line, __Pyx_DOCSTR(__pyx_k_418), 0},
+ {(char *)"password", __pyx_getprop_10elementary_12c_elementary_5Entry_password, __pyx_setprop_10elementary_12c_elementary_5Entry_password, __Pyx_DOCSTR(__pyx_k_419), 0},
+ {(char *)"entry", __pyx_getprop_10elementary_12c_elementary_5Entry_entry, __pyx_setprop_10elementary_12c_elementary_5Entry_entry, __Pyx_DOCSTR(__pyx_k_420), 0},
+ {(char *)"selection", __pyx_getprop_10elementary_12c_elementary_5Entry_selection, 0, __Pyx_DOCSTR(__pyx_k_421), 0},
+ {(char *)"textblock", __pyx_getprop_10elementary_12c_elementary_5Entry_textblock, 0, __Pyx_DOCSTR(__pyx_k_422), 0},
+ {(char *)"line_wrap", __pyx_getprop_10elementary_12c_elementary_5Entry_line_wrap, __pyx_setprop_10elementary_12c_elementary_5Entry_line_wrap, __Pyx_DOCSTR(__pyx_k_423), 0},
+ {(char *)"editable", __pyx_getprop_10elementary_12c_elementary_5Entry_editable, __pyx_setprop_10elementary_12c_elementary_5Entry_editable, __Pyx_DOCSTR(__pyx_k_424), 0},
+ {(char *)"cursor_pos", __pyx_getprop_10elementary_12c_elementary_5Entry_cursor_pos, __pyx_setprop_10elementary_12c_elementary_5Entry_cursor_pos, __Pyx_DOCSTR(__pyx_k_425), 0},
+ {(char *)"context_menu_disabled", __pyx_getprop_10elementary_12c_elementary_5Entry_context_menu_disabled, __pyx_setprop_10elementary_12c_elementary_5Entry_context_menu_disabled, __Pyx_DOCSTR(__pyx_k_426), 0},
+ {(char *)"file", __pyx_getprop_10elementary_12c_elementary_5Entry_file, __pyx_setprop_10elementary_12c_elementary_5Entry_file, __Pyx_DOCSTR(__pyx_k_427), 0},
+ {(char *)"autosave", __pyx_getprop_10elementary_12c_elementary_5Entry_autosave, __pyx_setprop_10elementary_12c_elementary_5Entry_autosave, __Pyx_DOCSTR(__pyx_k_428), 0},
+ {(char *)"scrollable", __pyx_getprop_10elementary_12c_elementary_5Entry_scrollable, __pyx_setprop_10elementary_12c_elementary_5Entry_scrollable, __Pyx_DOCSTR(__pyx_k_429), 0},
+ {(char *)"icon_visible", 0, __pyx_setprop_10elementary_12c_elementary_5Entry_icon_visible, __Pyx_DOCSTR(__pyx_k_430), 0},
+ {(char *)"scrollbar_policy", 0, __pyx_setprop_10elementary_12c_elementary_5Entry_scrollbar_policy, __Pyx_DOCSTR(__pyx_k_431), 0},
+ {(char *)"bounce", __pyx_getprop_10elementary_12c_elementary_5Entry_bounce, __pyx_setprop_10elementary_12c_elementary_5Entry_bounce, __Pyx_DOCSTR(__pyx_k_432), 0},
+ {(char *)"input_panel_layout", __pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_layout, __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_layout, __Pyx_DOCSTR(__pyx_k_433), 0},
+ {(char *)"input_panel_enabled", __pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_enabled, __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_enabled, __Pyx_DOCSTR(__pyx_k_434), 0},
+ {(char *)"input_panel_language", __pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_language, __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_language, __Pyx_DOCSTR(__pyx_k_435), 0},
+ {(char *)"input_panel_return_key_type", __pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_return_key_type, __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_return_key_type, __Pyx_DOCSTR(__pyx_k_436), 0},
+ {(char *)"input_panel_return_key_disabled", __pyx_getprop_10elementary_12c_elementary_5Entry_input_panel_return_key_disabled, __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_return_key_disabled, __Pyx_DOCSTR(__pyx_k_437), 0},
+ {(char *)"input_panel_return_key_autoenabled", 0, __pyx_setprop_10elementary_12c_elementary_5Entry_input_panel_return_key_autoenabled, __Pyx_DOCSTR(__pyx_k_438), 0},
+ {(char *)"prediction_allow", __pyx_getprop_10elementary_12c_elementary_5Entry_prediction_allow, __pyx_setprop_10elementary_12c_elementary_5Entry_prediction_allow, __Pyx_DOCSTR(__pyx_k_439), 0},
+ {(char *)"cnp_mode", __pyx_getprop_10elementary_12c_elementary_5Entry_cnp_mode, __pyx_setprop_10elementary_12c_elementary_5Entry_cnp_mode, __Pyx_DOCSTR(__pyx_k_440), 0},
+ {(char *)"anchor_hover_parent", __pyx_getprop_10elementary_12c_elementary_5Entry_anchor_hover_parent, __pyx_setprop_10elementary_12c_elementary_5Entry_anchor_hover_parent, __Pyx_DOCSTR(__pyx_k_441), 0},
+ {(char *)"anchor_hover_style", __pyx_getprop_10elementary_12c_elementary_5Entry_anchor_hover_style, __pyx_setprop_10elementary_12c_elementary_5Entry_anchor_hover_style, __Pyx_DOCSTR(__pyx_k_442), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Entry = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Entry = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Entry = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Entry = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryEntry_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Entry"), /*tp_name*/
+ sizeof(struct PyElementaryEntry), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Entry, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Entry, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Entry, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Entry, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An entry is a convenience widget which shows a box that the user can\n enter text into.\n\n Entries by default don't scroll, so they grow to\n accommodate the entire text, resizing the parent window as needed. This\n can be changed with the L{scrollable_set()} function.\n\n They can also be single line or multi line (the default) and when set\n to multi line mode they support text wrapping in any of the modes\n indicated by C{Elm_Wrap_Type}.\n\n Other features include password mode, filtering of inserted text with\n L{markup_filter_append()} and related functions, inline \"items\" and\n formatted markup text.\n\n Formatted text\n ==============\n\n The markup tags supported by the Entry are defined by the theme, but\n even when writing new themes or extensions it's a good idea to stick to\n a sane default, to maintain coherency and avoid application breakages.\n Currently defined by the default theme are the following tags:\n - <br>: Inserts a line break.\n - <ps>: Inserts a paragraph separator. This is preferred over line\n breaks.\n - <tab>: Inserts a tab.\n - <em>...</em>: Emphasis. Sets the @em oblique style for the\n enclosed text.\n - <b>...</b>: Sets the @b bold style for the enclosed text.\n - <link>...</link>: Underlines the enclosed text.\n - <hilight>...</hilight>: Highlights the enclosed text.\n\n Special markups\n ===============\n\n Besides those used to format text, entries support two special markup\n tags used to insert click-able portions of text or items inlined within\n the text.\n\n Anchors\n -------\n\n Anchors are similar to HTML anchors. Text can be surrounded by <a> and\n </a> tags and an event will be generated when this text is clicked,\n like this:\n\n C{This text is outside <a href=anc-01>but this one is an anchor</a>}\n\n The C{href} attribute in the opening tag gives the name that will be\n used to identify the anchor and it can be any valid utf8 string.\n\n When an anchor is clicked, an C{\"anchor,clicked\"} signal is emitted with\n an C{Elm_Entry_Anchor_Info} in the C{event_info} parameter for the\n callback function. The same applies for \"anchor,in\" (mouse in), \"anchor,out\"\n (mouse out), \"anchor,down\" (mouse down), and \"anchor,up\" (mouse up) events on\n an anchor.\n\n Items\n -----\n\n Inlined in the text, any other L{Object} can be inserted by using\n <item> tags this way:\n\n C{<item size=16x16 vsize=full href=emoticon/haha></item>}\n\n Just like with anchors, the C{href} identifies each item, but these need,\n in addition, to indicate their size, which is done using any one of\n C{size}, C{absize} or C{relsize} attributes. These attributes take their\n value in the WxH format, where W is the width and H the height of the\n item.\n\n - absize: Absolute pixel size for the item. Whatever value is set will\n be the item's size regardless of any scale value the object may have\n been set to. The final line height will be adjusted to fit larger items.\n - size: Similar to C{absize}, but it's adjusted to the scale value set\n for the object.\n - relsize: Size is adjusted for the item to fit within the current\n line height.\n\n Besides their size, items are specified a C{vsize} value that affects\n how their final size and position are calculated. The possible values\n are:\n - ascent: Item will be placed within the line's baseline and its\n ascent. That is, the height between the line where all characters are\n positioned and the highest point in the line. For C{size} and C{absize}\n items, the descent value will be added to the total line height to make\n them fit. C{relsize} items will be adjusted to fit within this space.\n - full: Items will be placed between the descent and ascent, or the\n lowest point in the line and its highest.\n\n After the size for an item is calculated, the entry will request an\n object to place in its space. For this, the functions set with\n L{item_provider_append()} and related functions will be called\n in order until one of them returns a non-C{None} value. If no providers\n are available, or all of them return C{None}, then the entry falls back\n to one of the internal defaults, provided the name matches with one of\n them.\n\n All of the following are currently supported:\n - emoticon/angry\n - emoticon/angry-shout\n - emoticon/crazy-laugh\n - emoticon/evil-laugh\n - emoticon/evil\n - emoticon/goggle-smile\n - emoticon/grumpy\n - emoticon/grumpy-smile\n - emoticon/guilty\n - emoticon/guilty-smile\n - emoticon/haha\n - emoticon/half-smile\n - emoticon/happy-panting\n - emoticon/happy\n - emoticon/indifferent\n - emoticon/kiss\n - emoticon/knowing-grin\n - emoticon/laugh\n - emoticon/little-bit-sorry\n - emoticon/love-lots\n - emoticon/love\n - emoticon/minimal-smile\n - emoticon/not-happy\n - emoticon/not-impressed\n - emoticon/omg\n - emoticon/opensmile\n - emoticon/smile\n - emoticon/sorry\n - emoticon/squint-laugh\n - emoticon/surprised\n - emoticon/suspicious\n - emoticon/tongue-dangling\n - emoticon/tongue-poke\n - emoticon/uh\n - emoticon/unhappy\n - emoticon/very-sorry\n - emoticon/what\n - emoticon/wink\n - emoticon/worried\n - emoticon/wtf\n\n Alternatively, an item may reference an image by its path, using\n the URI form C{file:///path/to/an/image.png} and the entry will then\n use that image for the item.\n\n Setting entry's style\n =====================\n\n There are 2 major ways to change the entry's style:\n - Theme - set the \"base\" field to the desired style.\n - User style - Pushing overrides to the theme style to the textblock object\n by using evas_object_textblock_style_user_push().\n\n You should modify the theme when you would like to change the style for\n aesthetic reasons. While the user style should be changed when you would\n like to change the style to something specific defined at run-time, e.g,\n setting font or font size in a text editor.\n\n Loading and saving files\n ========================\n\n Entries have convenience functions to load text from a file and save\n changes back to it after a short delay. The automatic saving is enabled\n by default, but can be disabled with L{autosave_set()} and files\n can be loaded directly as plain text or have any markup in them\n recognized. See L{file_set()} for more details.\n\n Emitted signals\n ===============\n\n This widget emits the following signals:\n - \"changed\": The text within the entry was changed.\n - \"changed,user\": The text within the entry was changed because of user interaction.\n - \"activated\": The enter key was pressed on a single line entry.\n - \"press\": A mouse button has been pressed on the entry.\n - \"longpressed\": A mouse button has been pressed and held for a couple\n seconds.\n - \"clicked\": The entry has been clicked (mouse press and release).\n - \"clicked,double\": The entry has been double clicked.\n - \"clicked,triple\": The entry has been triple clicked.\n - \"focused\": The entry has received focus.\n - \"unfocused\": The entry has lost focus.\n - \"selection,paste\": A paste of the clipboard contents was requested.\n - \"selection,copy\": A copy of the selected text into the clipboard was\n requested.\n - \"selection,cut\": A cut of the selected text into the clipboard was\n requested.\n - \"selection,start\": A selection has begun and no previous selection\n existed.\n - \"selection,changed\": The current selection has changed.\n - \"selection,cleared\": The current selection has been cleared.\n - \"cursor,changed\": The cursor has changed position.\n - \"anchor,clicked\": An anchor has been clicked. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n - \"anchor,in\": Mouse cursor has moved into an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n - \"anchor,out\": Mouse cursor has moved out of an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n - \"anchor,up\": Mouse button has been unpressed on an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n - \"anchor,down\": Mouse button has been pressed on an anchor. The event_info\n parameter for the callback will be an C{Elm_Entry_Anchor_Info}.\n - \"preedit,changed\": The preedit string has changed.\n - \"language,changed\": Program language changed.\n\n Default content parts of the entry items that you can use for are:\n - \"icon\" - An icon in the entry\n - \"end\" - A content in the end of the entry\n\n Default text parts of the entry that you can use for are:\n - \"default\" - text of the entry\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Entry, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Entry, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Entry_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Entry, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Bubble __pyx_vtable_10elementary_12c_elementary_Bubble;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Bubble(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryBubble *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryBubble *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Bubble;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Bubble_pos(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Bubble_3pos_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Bubble_pos(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Bubble_3pos_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Bubble[] = {
+ {__Pyx_NAMESTR("pos_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Bubble_3pos_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Bubble_2pos_set)},
+ {__Pyx_NAMESTR("pos_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Bubble_5pos_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Bubble_4pos_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Bubble_7callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Bubble_6callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Bubble_9callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Bubble[] = {
+ {(char *)"pos", __pyx_getprop_10elementary_12c_elementary_6Bubble_pos, __pyx_setprop_10elementary_12c_elementary_6Bubble_pos, __Pyx_DOCSTR(__pyx_k_443), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Bubble = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Bubble = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Bubble = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Bubble = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryBubble_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Bubble"), /*tp_name*/
+ sizeof(struct PyElementaryBubble), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Bubble, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Bubble, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Bubble, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Bubble, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The Bubble is a widget to show text similar to how speech is\n represented in comics.\n\n The bubble widget contains 5 important visual elements:\n - The frame is a rectangle with rounded edjes and an \"arrow\".\n - The C{icon} is an image to which the frame's arrow points to.\n - The C{label} is a text which appears to the right of the icon if the\n corner is B{top_left} or B{bottom_left} and is right aligned to\n the frame otherwise.\n - The C{info} is a text which appears to the right of the label. Info's\n font is of a lighter color than label.\n - The C{content} is an evas object that is shown inside the frame.\n\n The position of the arrow, icon, label and info depends on which corner is\n selected. The four available corners are:\n - B{top_left} - Default\n - B{top_right}\n - B{bottom_left}\n - B{bottom_right}\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{clicked} - This is called when a user has clicked the bubble.\n\n Default content parts of the bubble that you can use for are:\n - B{default} - A content of the bubble\n - B{icon} - An icon of the bubble\n\n Default text parts of the button widget that you can use for are:\n - B{default} - Label of the bubble\n - B{info} - info of the bubble\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Bubble, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Bubble, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Bubble_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Bubble, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Photo __pyx_vtable_10elementary_12c_elementary_Photo;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Photo(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPhoto *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPhoto *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Photo;
+ return o;
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Photo_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_4file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Photo_thumb(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_5thumb_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Photo_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_4size_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Photo_fill_inside(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_11fill_inside_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Photo_editable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_8editable_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Photo_aspect_fixed(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_12aspect_fixed_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Photo_aspect_fixed(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Photo_12aspect_fixed_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Photo[] = {
+ {__Pyx_NAMESTR("file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_3file_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_2file_set)},
+ {__Pyx_NAMESTR("thumb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_5thumb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_4thumb_set)},
+ {__Pyx_NAMESTR("size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_7size_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_6size_set)},
+ {__Pyx_NAMESTR("fill_inside_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_9fill_inside_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_8fill_inside_set)},
+ {__Pyx_NAMESTR("editable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_11editable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_10editable_set)},
+ {__Pyx_NAMESTR("aspect_fixed_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_13aspect_fixed_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_12aspect_fixed_set)},
+ {__Pyx_NAMESTR("aspect_fixed_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_15aspect_fixed_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_14aspect_fixed_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_17callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_16callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_19callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_21callback_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_20callback_drag_start_add)},
+ {__Pyx_NAMESTR("callback_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_23callback_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_end_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_25callback_drag_end_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Photo_24callback_drag_end_add)},
+ {__Pyx_NAMESTR("callback_drag_end_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Photo_27callback_drag_end_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Photo[] = {
+ {(char *)"file", 0, __pyx_setprop_10elementary_12c_elementary_5Photo_file, __Pyx_DOCSTR(__pyx_k_444), 0},
+ {(char *)"thumb", 0, __pyx_setprop_10elementary_12c_elementary_5Photo_thumb, __Pyx_DOCSTR(__pyx_k_445), 0},
+ {(char *)"size", 0, __pyx_setprop_10elementary_12c_elementary_5Photo_size, __Pyx_DOCSTR(__pyx_k_446), 0},
+ {(char *)"fill_inside", 0, __pyx_setprop_10elementary_12c_elementary_5Photo_fill_inside, __Pyx_DOCSTR(__pyx_k_447), 0},
+ {(char *)"editable", 0, __pyx_setprop_10elementary_12c_elementary_5Photo_editable, __Pyx_DOCSTR(__pyx_k_448), 0},
+ {(char *)"aspect_fixed", __pyx_getprop_10elementary_12c_elementary_5Photo_aspect_fixed, __pyx_setprop_10elementary_12c_elementary_5Photo_aspect_fixed, __Pyx_DOCSTR(__pyx_k_449), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Photo = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Photo = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Photo = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Photo = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPhoto_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Photo"), /*tp_name*/
+ sizeof(struct PyElementaryPhoto), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Photo, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Photo, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Photo, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Photo, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An Elementary photo widget is intended for displaying a photo, for\n ex., a person's image (contact).\n\n Simple, yet with a very specific purpose. It has a decorative frame\n around the inner image itself, on the default theme.\n\n This widget relies on an internal L{Icon}, so that the APIs of these two\n widgets are similar (drag and drop is also possible here, for example).\n\n Signals that you can add callbacks for are:\n - C{\"clicked\"} - This is called when a user has clicked the photo\n - C{\"drag,start\"} - One has started dragging the inner image out of the\n photo's frame\n - C{\"drag,end\"} - One has dropped the dragged image somewhere\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Photo, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Photo, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Photo_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Photo, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_HoverselItem __pyx_vtable_10elementary_12c_elementary_HoverselItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_HoverselItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_HoverselItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_HoverselItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_HoverselItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12HoverselItem_icon(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12HoverselItem_4icon_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12HoverselItem_icon(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12HoverselItem_4icon_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_HoverselItem[] = {
+ {__Pyx_NAMESTR("icon_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12HoverselItem_3icon_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12HoverselItem_2icon_set)},
+ {__Pyx_NAMESTR("icon_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12HoverselItem_5icon_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12HoverselItem_4icon_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_HoverselItem[] = {
+ {(char *)"icon", __pyx_getprop_10elementary_12c_elementary_12HoverselItem_icon, __pyx_setprop_10elementary_12c_elementary_12HoverselItem_icon, __Pyx_DOCSTR(__pyx_k_450), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_HoverselItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_HoverselItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_HoverselItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_HoverselItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_HoverselItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.HoverselItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_HoverselItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_HoverselItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_HoverselItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_HoverselItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_HoverselItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{Hoversel} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_HoverselItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_HoverselItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12HoverselItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_HoverselItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Hoversel __pyx_vtable_10elementary_12c_elementary_Hoversel;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Hoversel(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryHoversel *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryHoversel *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Hoversel;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Hoversel_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Hoversel_10horizontal_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Hoversel_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Hoversel_10horizontal_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Hoversel_hover_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Hoversel_12hover_parent_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Hoversel_hover_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Hoversel_12hover_parent_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Hoversel_expanded(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Hoversel_8expanded_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Hoversel_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Hoversel_5items_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Hoversel[] = {
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_3horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_2horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_5horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_4horizontal_get)},
+ {__Pyx_NAMESTR("hover_parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_7hover_parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_6hover_parent_set)},
+ {__Pyx_NAMESTR("hover_parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_9hover_parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_8hover_parent_get)},
+ {__Pyx_NAMESTR("hover_begin"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_11hover_begin, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_10hover_begin)},
+ {__Pyx_NAMESTR("hover_end"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_13hover_end, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_12hover_end)},
+ {__Pyx_NAMESTR("expanded_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_15expanded_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_14expanded_get)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_17clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_16clear)},
+ {__Pyx_NAMESTR("items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_19items_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_18items_get)},
+ {__Pyx_NAMESTR("item_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_21item_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_20item_add)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_23callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_22callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_25callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_27callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_26callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_29callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_dismissed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_31callback_dismissed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Hoversel_30callback_dismissed_add)},
+ {__Pyx_NAMESTR("callback_dismissed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Hoversel_33callback_dismissed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Hoversel[] = {
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_8Hoversel_horizontal, __pyx_setprop_10elementary_12c_elementary_8Hoversel_horizontal, __Pyx_DOCSTR(__pyx_k_451), 0},
+ {(char *)"hover_parent", __pyx_getprop_10elementary_12c_elementary_8Hoversel_hover_parent, __pyx_setprop_10elementary_12c_elementary_8Hoversel_hover_parent, __Pyx_DOCSTR(__pyx_k_452), 0},
+ {(char *)"expanded", __pyx_getprop_10elementary_12c_elementary_8Hoversel_expanded, 0, __Pyx_DOCSTR(__pyx_k_453), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_8Hoversel_items, 0, __Pyx_DOCSTR(__pyx_k_454), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Hoversel = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Hoversel = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Hoversel = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Hoversel = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryHoversel_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Hoversel"), /*tp_name*/
+ sizeof(struct PyElementaryHoversel), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Hoversel, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Hoversel, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Hoversel, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Hoversel, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A hoversel is a button that pops up a list of items (automatically\n choosing the direction to display) that have a label and, optionally, an\n icon to select from.\n\n It is a convenience widget to avoid the need to do all the piecing\n together yourself. It is intended for a small number of items in the\n hoversel menu (no more than 8), though is capable of many more.\n\n This widget emits the following signals, besides the ones sent from\n L{Button}:\n - C{\"clicked\"} - the user clicked the hoversel button and popped up\n the sel\n - C{\"selected\"} - an item in the hoversel list is selected. event_info\n is the item\n - C{\"dismissed\"} - the hover is dismissed\n\n Default content parts of the hoversel widget that you can use for are:\n - \"icon\" - An icon of the hoversel\n\n Default text parts of the hoversel widget that you can use for are:\n - \"default\" - Label of the hoversel\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Hoversel, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Hoversel, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8Hoversel_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Hoversel, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_ToolbarItemState(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *p;
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)o);
+ p->params = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_ToolbarItemState(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *p = (struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)o;
+ Py_XDECREF(p->params);
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_ToolbarItemState(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *p = (struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)o;
+ if (p->params) {
+ e = (*v)(p->params, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_ToolbarItemState(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *p = (struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState *)o;
+ PyObject* tmp;
+ tmp = ((PyObject*)p->params);
+ p->params = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_ToolbarItemState[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_ToolbarItemState = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_ToolbarItemState = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_ToolbarItemState = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_ToolbarItemState = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_ToolbarItemState = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.ToolbarItemState"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_ToolbarItemState), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ToolbarItemState, /*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*/
+ &__pyx_tp_as_number_ToolbarItemState, /*tp_as_number*/
+ &__pyx_tp_as_sequence_ToolbarItemState, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_ToolbarItemState, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_ToolbarItemState, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A state for a L{ToolbarItem}."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ToolbarItemState, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ToolbarItemState, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_ToolbarItemState, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16ToolbarItemState_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_ToolbarItemState, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_ToolbarItem __pyx_vtable_10elementary_12c_elementary_ToolbarItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_ToolbarItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_ToolbarItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_ToolbarItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4next_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_priority(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8priority_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_priority(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8priority_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8selected_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_8selected_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_icon(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4icon_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_icon(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4icon_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_6object_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_icon_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_11icon_object_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_icon_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9icon_file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_separator(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9separator_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_separator(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_9separator_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_menu(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4menu_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_menu(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_4menu_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_state(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_5__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_state(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_1__set__(o, v);
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_5state_3__del__(o);
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_state_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_10state_next_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11ToolbarItem_state_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11ToolbarItem_10state_prev_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_ToolbarItem[] = {
+ {__Pyx_NAMESTR("next_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_3next_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_2next_get)},
+ {__Pyx_NAMESTR("prev_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_5prev_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_4prev_get)},
+ {__Pyx_NAMESTR("priority_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_7priority_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_6priority_set)},
+ {__Pyx_NAMESTR("priority_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_9priority_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_8priority_get)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_11selected_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_10selected_get)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_13selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_12selected_set)},
+ {__Pyx_NAMESTR("icon_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_15icon_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_14icon_set)},
+ {__Pyx_NAMESTR("icon_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_17icon_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_16icon_get)},
+ {__Pyx_NAMESTR("object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_19object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_18object_get)},
+ {__Pyx_NAMESTR("icon_object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_21icon_object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_20icon_object_get)},
+ {__Pyx_NAMESTR("icon_memfile_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_23icon_memfile_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_22icon_memfile_set)},
+ {__Pyx_NAMESTR("icon_file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_25icon_file_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_24icon_file_set)},
+ {__Pyx_NAMESTR("separator_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_27separator_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_26separator_set)},
+ {__Pyx_NAMESTR("separator_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_29separator_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_28separator_get)},
+ {__Pyx_NAMESTR("menu_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_31menu_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_30menu_set)},
+ {__Pyx_NAMESTR("menu_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_33menu_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_32menu_get)},
+ {__Pyx_NAMESTR("state_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_35state_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_34state_add)},
+ {__Pyx_NAMESTR("state_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11ToolbarItem_37state_del, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11ToolbarItem_36state_del)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_ToolbarItem[] = {
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_next, 0, __Pyx_DOCSTR(__pyx_k_455), 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_prev, 0, __Pyx_DOCSTR(__pyx_k_456), 0},
+ {(char *)"priority", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_priority, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_priority, __Pyx_DOCSTR(__pyx_k_457), 0},
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_selected, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_selected, __Pyx_DOCSTR(__pyx_k_458), 0},
+ {(char *)"icon", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_icon, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_icon, __Pyx_DOCSTR(__pyx_k_459), 0},
+ {(char *)"object", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_object, 0, __Pyx_DOCSTR(__pyx_k_460), 0},
+ {(char *)"icon_object", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_icon_object, 0, __Pyx_DOCSTR(__pyx_k_461), 0},
+ {(char *)"icon_file", 0, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_icon_file, __Pyx_DOCSTR(__pyx_k_462), 0},
+ {(char *)"separator", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_separator, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_separator, __Pyx_DOCSTR(__pyx_k_463), 0},
+ {(char *)"menu", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_menu, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_menu, __Pyx_DOCSTR(__pyx_k_464), 0},
+ {(char *)"state", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_state, __pyx_setprop_10elementary_12c_elementary_11ToolbarItem_state, __Pyx_DOCSTR(__pyx_k_465), 0},
+ {(char *)"state_next", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_state_next, 0, __Pyx_DOCSTR(__pyx_k_466), 0},
+ {(char *)"state_prev", __pyx_getprop_10elementary_12c_elementary_11ToolbarItem_state_prev, 0, __Pyx_DOCSTR(__pyx_k_467), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_ToolbarItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_ToolbarItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_ToolbarItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_ToolbarItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_ToolbarItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.ToolbarItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_ToolbarItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_ToolbarItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_ToolbarItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_ToolbarItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_ToolbarItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{Toolbar} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_ToolbarItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_ToolbarItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_11ToolbarItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_ToolbarItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Toolbar __pyx_vtable_10elementary_12c_elementary_Toolbar;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Toolbar(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryToolbar *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryToolbar *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Toolbar;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_icon_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_size_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_icon_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_size_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_icon_order_lookup(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_icon_order_lookup(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_17icon_order_lookup_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_9last_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_more_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_9more_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_shrink_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11shrink_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_shrink_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11shrink_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_homogeneous(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11homogeneous_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_homogeneous(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11homogeneous_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_menu_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11menu_parent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_menu_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11menu_parent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_align(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_5align_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_align(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_5align_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_10horizontal_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_10horizontal_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_standard_priority(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_17standard_priority_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_standard_priority(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_17standard_priority_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Toolbar_select_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11select_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Toolbar_select_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Toolbar_11select_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Toolbar[] = {
+ {__Pyx_NAMESTR("icon_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_3icon_size_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_2icon_size_set)},
+ {__Pyx_NAMESTR("icon_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_5icon_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_4icon_size_get)},
+ {__Pyx_NAMESTR("icon_order_lookup_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_7icon_order_lookup_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_6icon_order_lookup_set)},
+ {__Pyx_NAMESTR("icon_order_lookup_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_9icon_order_lookup_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_8icon_order_lookup_get)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_11item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_10item_append)},
+ {__Pyx_NAMESTR("first_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_13first_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_12first_item_get)},
+ {__Pyx_NAMESTR("last_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_15last_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_14last_item_get)},
+ {__Pyx_NAMESTR("item_find_by_label"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_17item_find_by_label, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_16item_find_by_label)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_19selected_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_18selected_item_get)},
+ {__Pyx_NAMESTR("more_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_21more_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_20more_item_get)},
+ {__Pyx_NAMESTR("shrink_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_23shrink_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_22shrink_mode_set)},
+ {__Pyx_NAMESTR("shrink_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_25shrink_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_24shrink_mode_get)},
+ {__Pyx_NAMESTR("homogeneous_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_27homogeneous_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_26homogeneous_set)},
+ {__Pyx_NAMESTR("homogeneous_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_29homogeneous_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_28homogeneous_get)},
+ {__Pyx_NAMESTR("menu_parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_31menu_parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_30menu_parent_set)},
+ {__Pyx_NAMESTR("menu_parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_33menu_parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_32menu_parent_get)},
+ {__Pyx_NAMESTR("align_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_35align_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_34align_set)},
+ {__Pyx_NAMESTR("align_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_37align_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_36align_get)},
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_39horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_38horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_41horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_40horizontal_get)},
+ {__Pyx_NAMESTR("items_count"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_43items_count, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_42items_count)},
+ {__Pyx_NAMESTR("select_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_45select_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_44select_mode_set)},
+ {__Pyx_NAMESTR("select_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_47select_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_46select_mode_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_49callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_48callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_51callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_53callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_52callback_longpressed_add)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_55callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_language_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_57callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Toolbar_56callback_language_changed_add)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Toolbar_59callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Toolbar[] = {
+ {(char *)"icon_size", __pyx_getprop_10elementary_12c_elementary_7Toolbar_icon_size, __pyx_setprop_10elementary_12c_elementary_7Toolbar_icon_size, __Pyx_DOCSTR(__pyx_k_468), 0},
+ {(char *)"icon_order_lookup", __pyx_getprop_10elementary_12c_elementary_7Toolbar_icon_order_lookup, __pyx_setprop_10elementary_12c_elementary_7Toolbar_icon_order_lookup, __Pyx_DOCSTR(__pyx_k_469), 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_7Toolbar_first_item, 0, __Pyx_DOCSTR(__pyx_k_470), 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_7Toolbar_last_item, 0, __Pyx_DOCSTR(__pyx_k_471), 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_7Toolbar_selected_item, 0, __Pyx_DOCSTR(__pyx_k_472), 0},
+ {(char *)"more_item", __pyx_getprop_10elementary_12c_elementary_7Toolbar_more_item, 0, __Pyx_DOCSTR(__pyx_k_473), 0},
+ {(char *)"shrink_mode", __pyx_getprop_10elementary_12c_elementary_7Toolbar_shrink_mode, __pyx_setprop_10elementary_12c_elementary_7Toolbar_shrink_mode, __Pyx_DOCSTR(__pyx_k_474), 0},
+ {(char *)"homogeneous", __pyx_getprop_10elementary_12c_elementary_7Toolbar_homogeneous, __pyx_setprop_10elementary_12c_elementary_7Toolbar_homogeneous, __Pyx_DOCSTR(__pyx_k_475), 0},
+ {(char *)"menu_parent", __pyx_getprop_10elementary_12c_elementary_7Toolbar_menu_parent, __pyx_setprop_10elementary_12c_elementary_7Toolbar_menu_parent, __Pyx_DOCSTR(__pyx_k_476), 0},
+ {(char *)"align", __pyx_getprop_10elementary_12c_elementary_7Toolbar_align, __pyx_setprop_10elementary_12c_elementary_7Toolbar_align, __Pyx_DOCSTR(__pyx_k_477), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_7Toolbar_horizontal, __pyx_setprop_10elementary_12c_elementary_7Toolbar_horizontal, __Pyx_DOCSTR(__pyx_k_478), 0},
+ {(char *)"standard_priority", __pyx_getprop_10elementary_12c_elementary_7Toolbar_standard_priority, __pyx_setprop_10elementary_12c_elementary_7Toolbar_standard_priority, __Pyx_DOCSTR(__pyx_k_479), 0},
+ {(char *)"select_mode", __pyx_getprop_10elementary_12c_elementary_7Toolbar_select_mode, __pyx_setprop_10elementary_12c_elementary_7Toolbar_select_mode, __Pyx_DOCSTR(__pyx_k_480), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Toolbar = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Toolbar = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Toolbar = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Toolbar = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryToolbar_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Toolbar"), /*tp_name*/
+ sizeof(struct PyElementaryToolbar), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Toolbar, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Toolbar, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Toolbar, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Toolbar, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A toolbar is a widget that displays a list of items inside a box. It\n can be scrollable, show a menu with items that don't fit to toolbar size\n or even crop them.\n\n Only one item can be selected at a time.\n\n Items can have multiple states, or show menus when selected by the user.\n\n Smart callbacks one can listen to:\n - \"clicked\" - when the user clicks on a toolbar item and becomes selected.\n - \"longpressed\" - when the toolbar is pressed for a certain amount of time.\n - \"language,changed\" - when the program language changes.\n\n Available styles for it:\n - C{\"default\"}\n - C{\"transparent\"} - no background or shadow, just show the content\n\n Default text parts of the toolbar items that you can use for are:\n - \"default\" - label of the toolbar item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Toolbar, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Toolbar, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_7Toolbar_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Toolbar, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_ListItem __pyx_vtable_10elementary_12c_elementary_ListItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_ListItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_ListItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_ListItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_ListItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8ListItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8ListItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8ListItem_separator(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_9separator_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8ListItem_separator(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_9separator_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8ListItem_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_6object_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8ListItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8ListItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8ListItem_4next_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_ListItem[] = {
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_7selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_6selected_set)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_9selected_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_8selected_get)},
+ {__Pyx_NAMESTR("separator_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_11separator_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_10separator_set)},
+ {__Pyx_NAMESTR("separator_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_13separator_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_12separator_get)},
+ {__Pyx_NAMESTR("show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_15show, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_14show)},
+ {__Pyx_NAMESTR("bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_17bring_in, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_16bring_in)},
+ {__Pyx_NAMESTR("object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_19object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_18object_get)},
+ {__Pyx_NAMESTR("prev_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_21prev_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_20prev_get)},
+ {__Pyx_NAMESTR("next_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8ListItem_23next_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8ListItem_22next_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_ListItem[] = {
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_8ListItem_selected, __pyx_setprop_10elementary_12c_elementary_8ListItem_selected, __Pyx_DOCSTR(__pyx_k_481), 0},
+ {(char *)"separator", __pyx_getprop_10elementary_12c_elementary_8ListItem_separator, __pyx_setprop_10elementary_12c_elementary_8ListItem_separator, __Pyx_DOCSTR(__pyx_k_482), 0},
+ {(char *)"object", __pyx_getprop_10elementary_12c_elementary_8ListItem_object, 0, __Pyx_DOCSTR(__pyx_k_483), 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_8ListItem_prev, 0, __Pyx_DOCSTR(__pyx_k_484), 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_8ListItem_next, 0, __Pyx_DOCSTR(__pyx_k_485), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_ListItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_ListItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_ListItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_ListItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_ListItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.ListItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_ListItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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_10elementary_12c_elementary_8ListItem_5__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_ListItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_ListItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_ListItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_8ListItem_3__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_ListItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the list widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_ListItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_ListItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8ListItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_ListItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_List __pyx_vtable_10elementary_12c_elementary_List;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_List(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryList *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryList *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_List;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_multi_select(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_12multi_select_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4List_multi_select(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4List_12multi_select_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_4mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4List_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4List_4mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4List_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4List_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_select_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_11select_mode_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4List_select_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4List_11select_mode_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4List_bounce(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4List_6bounce_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_scroller_policy(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_15scroller_policy_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4List_scroller_policy(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4List_15scroller_policy_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_selected_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_14selected_items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4List_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4List_9last_item_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_List[] = {
+ {__Pyx_NAMESTR("go"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_3go, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_2go)},
+ {__Pyx_NAMESTR("multi_select_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_5multi_select_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_4multi_select_set)},
+ {__Pyx_NAMESTR("multi_select_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_7multi_select_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_6multi_select_get)},
+ {__Pyx_NAMESTR("mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_9mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_8mode_set)},
+ {__Pyx_NAMESTR("mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_11mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_10mode_get)},
+ {__Pyx_NAMESTR("select_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_13select_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_12select_mode_set)},
+ {__Pyx_NAMESTR("select_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_15select_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_14select_mode_get)},
+ {__Pyx_NAMESTR("bounce_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_17bounce_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_16bounce_set)},
+ {__Pyx_NAMESTR("bounce_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_19bounce_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_18bounce_get)},
+ {__Pyx_NAMESTR("scroller_policy_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_21scroller_policy_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_20scroller_policy_set)},
+ {__Pyx_NAMESTR("scroller_policy_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_23scroller_policy_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_22scroller_policy_get)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_25item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_24item_append)},
+ {__Pyx_NAMESTR("item_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_27item_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_26item_prepend)},
+ {__Pyx_NAMESTR("item_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_29item_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_28item_insert_before)},
+ {__Pyx_NAMESTR("item_insert_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_31item_insert_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_30item_insert_after)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_33clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_32clear)},
+ {__Pyx_NAMESTR("items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_35items_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_34items_get)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_37selected_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_36selected_item_get)},
+ {__Pyx_NAMESTR("selected_items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_39selected_items_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_38selected_items_get)},
+ {__Pyx_NAMESTR("first_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_41first_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_40first_item_get)},
+ {__Pyx_NAMESTR("last_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_43last_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_42last_item_get)},
+ {__Pyx_NAMESTR("callback_activated_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_45callback_activated_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_44callback_activated_add)},
+ {__Pyx_NAMESTR("callback_activated_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_47callback_activated_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_49callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_48callback_clicked_double_add)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_51callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_53callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_52callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_55callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unselected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_57callback_unselected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_56callback_unselected_add)},
+ {__Pyx_NAMESTR("callback_unselected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_59callback_unselected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_61callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_60callback_longpressed_add)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_63callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_top_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_65callback_edge_top_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_64callback_edge_top_add)},
+ {__Pyx_NAMESTR("callback_edge_top_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_67callback_edge_top_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_bottom_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_69callback_edge_bottom_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_68callback_edge_bottom_add)},
+ {__Pyx_NAMESTR("callback_edge_bottom_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_71callback_edge_bottom_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_left_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_73callback_edge_left_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_72callback_edge_left_add)},
+ {__Pyx_NAMESTR("callback_edge_left_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_75callback_edge_left_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_right_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_77callback_edge_right_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_76callback_edge_right_add)},
+ {__Pyx_NAMESTR("callback_edge_right_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_79callback_edge_right_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_language_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_81callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4List_80callback_language_changed_add)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4List_83callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_List[] = {
+ {(char *)"multi_select", __pyx_getprop_10elementary_12c_elementary_4List_multi_select, __pyx_setprop_10elementary_12c_elementary_4List_multi_select, __Pyx_DOCSTR(__pyx_k_486), 0},
+ {(char *)"mode", __pyx_getprop_10elementary_12c_elementary_4List_mode, __pyx_setprop_10elementary_12c_elementary_4List_mode, __Pyx_DOCSTR(__pyx_k_487), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_4List_horizontal, __pyx_setprop_10elementary_12c_elementary_4List_horizontal, __Pyx_DOCSTR(__pyx_k_488), 0},
+ {(char *)"select_mode", __pyx_getprop_10elementary_12c_elementary_4List_select_mode, __pyx_setprop_10elementary_12c_elementary_4List_select_mode, __Pyx_DOCSTR(__pyx_k_489), 0},
+ {(char *)"bounce", 0, __pyx_setprop_10elementary_12c_elementary_4List_bounce, __Pyx_DOCSTR(__pyx_k_490), 0},
+ {(char *)"scroller_policy", __pyx_getprop_10elementary_12c_elementary_4List_scroller_policy, __pyx_setprop_10elementary_12c_elementary_4List_scroller_policy, __Pyx_DOCSTR(__pyx_k_491), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_4List_items, 0, __Pyx_DOCSTR(__pyx_k_492), 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_4List_selected_item, 0, __Pyx_DOCSTR(__pyx_k_493), 0},
+ {(char *)"selected_items", __pyx_getprop_10elementary_12c_elementary_4List_selected_items, 0, __Pyx_DOCSTR(__pyx_k_494), 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_4List_first_item, 0, __Pyx_DOCSTR(__pyx_k_495), 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_4List_last_item, 0, __Pyx_DOCSTR(__pyx_k_496), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_List = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_List = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_List = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_List = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryList_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.List"), /*tp_name*/
+ sizeof(struct PyElementaryList), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_List, /*tp_as_number*/
+ &__pyx_tp_as_sequence_List, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_List, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_List, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A list widget is a container whose children are displayed vertically or\n horizontally, in order, and can be selected.\n The list can accept only one or multiple items selection. Also has many\n modes of items displaying.\n\n A list is a very simple type of list widget. For more robust\n lists, L{Genlist} should probably be used.\n\n Smart callbacks one can listen to:\n - C{\"activated\"} - The user has double-clicked or pressed\n (enter|return|spacebar) on an item. The C{event_info} parameter\n is the item that was activated.\n - C{\"clicked,double\"} - The user has double-clicked an item.\n The C{event_info} parameter is the item that was double-clicked.\n - \"selected\" - when the user selected an item\n - \"unselected\" - when the user unselected an item\n - \"longpressed\" - an item in the list is long-pressed\n - \"edge,top\" - the list is scrolled until the top edge\n - \"edge,bottom\" - the list is scrolled until the bottom edge\n - \"edge,left\" - the list is scrolled until the left edge\n - \"edge,right\" - the list is scrolled until the right edge\n - \"language,changed\" - the program's language changed\n\n Available styles for it:\n - C{\"default\"}\n\n Default content parts of the list items that you can use for are:\n - \"start\" - A start position object in the list item\n - \"end\" - A end position object in the list item\n\n Default text parts of the list items that you can use for are:\n - \"default\" - label in the list item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_List, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_List, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_4List_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_List, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Slider __pyx_vtable_10elementary_12c_elementary_Slider;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Slider(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementarySlider *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementarySlider *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Slider;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_span_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_9span_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_span_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_9span_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_unit_format(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_11unit_format_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_unit_format(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_11unit_format_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_indicator_format(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_16indicator_format_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_indicator_format(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_16indicator_format_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_min_max(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_7min_max_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_min_max(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_7min_max_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_5value_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_value(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_5value_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_inverted(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_8inverted_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_inverted(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_8inverted_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Slider_indicator_show(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_14indicator_show_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Slider_indicator_show(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Slider_14indicator_show_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Slider[] = {
+ {__Pyx_NAMESTR("span_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_3span_size_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_2span_size_set)},
+ {__Pyx_NAMESTR("span_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_5span_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_4span_size_get)},
+ {__Pyx_NAMESTR("unit_format_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_7unit_format_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_6unit_format_set)},
+ {__Pyx_NAMESTR("unit_format_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_9unit_format_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_8unit_format_get)},
+ {__Pyx_NAMESTR("indicator_format_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_11indicator_format_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_10indicator_format_set)},
+ {__Pyx_NAMESTR("indicator_format_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_13indicator_format_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_12indicator_format_get)},
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_15horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_14horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_17horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_16horizontal_get)},
+ {__Pyx_NAMESTR("min_max_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_19min_max_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_18min_max_set)},
+ {__Pyx_NAMESTR("min_max_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_21min_max_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_20min_max_get)},
+ {__Pyx_NAMESTR("value_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_23value_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_22value_set)},
+ {__Pyx_NAMESTR("value_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_25value_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_24value_get)},
+ {__Pyx_NAMESTR("inverted_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_27inverted_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_26inverted_set)},
+ {__Pyx_NAMESTR("inverted_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_29inverted_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_28inverted_get)},
+ {__Pyx_NAMESTR("indicator_show_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_31indicator_show_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_30indicator_show_set)},
+ {__Pyx_NAMESTR("indicator_show_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_33indicator_show_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_32indicator_show_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_35callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_34callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_37callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_slider_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_39callback_slider_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_38callback_slider_drag_start_add)},
+ {__Pyx_NAMESTR("callback_slider_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_41callback_slider_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_slider_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_43callback_slider_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_42callback_slider_drag_stop_add)},
+ {__Pyx_NAMESTR("callback_slider_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_45callback_slider_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_delay_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_47callback_delay_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Slider_46callback_delay_changed_add)},
+ {__Pyx_NAMESTR("callback_delay_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Slider_49callback_delay_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Slider[] = {
+ {(char *)"span_size", __pyx_getprop_10elementary_12c_elementary_6Slider_span_size, __pyx_setprop_10elementary_12c_elementary_6Slider_span_size, __Pyx_DOCSTR(__pyx_k_497), 0},
+ {(char *)"unit_format", __pyx_getprop_10elementary_12c_elementary_6Slider_unit_format, __pyx_setprop_10elementary_12c_elementary_6Slider_unit_format, __Pyx_DOCSTR(__pyx_k_498), 0},
+ {(char *)"indicator_format", __pyx_getprop_10elementary_12c_elementary_6Slider_indicator_format, __pyx_setprop_10elementary_12c_elementary_6Slider_indicator_format, __Pyx_DOCSTR(__pyx_k_499), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_6Slider_horizontal, __pyx_setprop_10elementary_12c_elementary_6Slider_horizontal, __Pyx_DOCSTR(__pyx_k_500), 0},
+ {(char *)"min_max", __pyx_getprop_10elementary_12c_elementary_6Slider_min_max, __pyx_setprop_10elementary_12c_elementary_6Slider_min_max, __Pyx_DOCSTR(__pyx_k_501), 0},
+ {(char *)"value", __pyx_getprop_10elementary_12c_elementary_6Slider_value, __pyx_setprop_10elementary_12c_elementary_6Slider_value, __Pyx_DOCSTR(__pyx_k_502), 0},
+ {(char *)"inverted", __pyx_getprop_10elementary_12c_elementary_6Slider_inverted, __pyx_setprop_10elementary_12c_elementary_6Slider_inverted, __Pyx_DOCSTR(__pyx_k_503), 0},
+ {(char *)"indicator_show", __pyx_getprop_10elementary_12c_elementary_6Slider_indicator_show, __pyx_setprop_10elementary_12c_elementary_6Slider_indicator_show, __Pyx_DOCSTR(__pyx_k_504), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Slider = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Slider = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Slider = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Slider = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementarySlider_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Slider"), /*tp_name*/
+ sizeof(struct PyElementarySlider), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Slider, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Slider, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Slider, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Slider, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The slider adds a draggable \"slider\" widget for selecting the value of\n something within a range.\n\n A slider can be horizontal or vertical. It can contain an Icon and has a\n primary label as well as a units label (that is formatted with floating\n point values and thus accepts a printf-style format string, like\n \"%1.2f units\". There is also an indicator string that may be somewhere\n else (like on the slider itself) that also accepts a format string like\n units. Label, Icon Unit and Indicator strings/objects are optional.\n\n A slider may be inverted which means values invert, with high vales being\n on the left or top and low values on the right or bottom (as opposed to\n normally being low on the left or top and high on the bottom and right).\n\n The slider should have its minimum and maximum values set by the\n application with L{min_max_set()} and value should also be set by\n the application before use with L{value_set()}. The span of the\n slider is its length (horizontally or vertically). This will be scaled by\n the object or applications scaling factor. At any point code can query the\n slider for its value with L{value_get()}.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - Whenever the slider value is changed by the user.\n - C{\"slider,drag,start\"} - dragging the slider indicator around has\n started.\n - C{\"slider,drag,stop\"} - dragging the slider indicator around has\n stopped.\n - C{\"delay,changed\"} - A short time after the value is changed by\n the user. This will be called only when the user stops dragging\n for a very short period or when they release their finger/mouse,\n so it avoids possibly expensive reactions to the value change.\n\n Available styles for it:\n - C{\"default\"}\n\n Default content parts of the slider widget that you can use for are:\n - \"icon\" - An icon of the slider\n - \"end\" - A end part content of the slider\n\n Default text parts of the slider widget that you can use for are:\n - \"default\" - Label of the slider\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Slider, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Slider, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Slider_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Slider, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_NaviframeItem __pyx_vtable_10elementary_12c_elementary_NaviframeItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_NaviframeItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_NaviframeItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_NaviframeItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13NaviframeItem_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13NaviframeItem_5style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13NaviframeItem_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13NaviframeItem_5style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13NaviframeItem_title_visible(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13NaviframeItem_title_visible(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_NaviframeItem[] = {
+ {__Pyx_NAMESTR("item_pop_to"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_1item_pop_to, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("pop_to"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_3pop_to, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13NaviframeItem_2pop_to)},
+ {__Pyx_NAMESTR("item_promote"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_5item_promote, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("promote"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_7promote, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13NaviframeItem_6promote)},
+ {__Pyx_NAMESTR("style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_9style_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13NaviframeItem_8style_set)},
+ {__Pyx_NAMESTR("style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_11style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13NaviframeItem_10style_get)},
+ {__Pyx_NAMESTR("title_visible_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_13title_visible_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13NaviframeItem_12title_visible_set)},
+ {__Pyx_NAMESTR("title_visible_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13NaviframeItem_15title_visible_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13NaviframeItem_14title_visible_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_NaviframeItem[] = {
+ {(char *)"style", __pyx_getprop_10elementary_12c_elementary_13NaviframeItem_style, __pyx_setprop_10elementary_12c_elementary_13NaviframeItem_style, __Pyx_DOCSTR(__pyx_k_505), 0},
+ {(char *)"title_visible", __pyx_getprop_10elementary_12c_elementary_13NaviframeItem_title_visible, __pyx_setprop_10elementary_12c_elementary_13NaviframeItem_title_visible, __Pyx_DOCSTR(__pyx_k_506), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_NaviframeItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_NaviframeItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_NaviframeItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_NaviframeItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_NaviframeItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.NaviframeItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_NaviframeItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_NaviframeItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_NaviframeItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_NaviframeItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_NaviframeItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the Naviframe widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_NaviframeItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_NaviframeItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_NaviframeItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Naviframe __pyx_vtable_10elementary_12c_elementary_Naviframe;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Naviframe(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryNaviframe *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryNaviframe *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Naviframe;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Naviframe_content_preserve_on_pop(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Naviframe_content_preserve_on_pop(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_23content_preserve_on_pop_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Naviframe_top_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_8top_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Naviframe_bottom_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_11bottom_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Naviframe_prev_btn_auto_pushed(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Naviframe_prev_btn_auto_pushed(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Naviframe_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Naviframe_event_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_13event_enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Naviframe_event_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Naviframe_13event_enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Naviframe[] = {
+ {__Pyx_NAMESTR("item_push"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_3item_push, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_2item_push)},
+ {__Pyx_NAMESTR("item_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_5item_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_4item_insert_before)},
+ {__Pyx_NAMESTR("item_insert_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_7item_insert_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_6item_insert_after)},
+ {__Pyx_NAMESTR("item_pop"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_9item_pop, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_8item_pop)},
+ {__Pyx_NAMESTR("content_preserve_on_pop_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_11content_preserve_on_pop_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_10content_preserve_on_pop_set)},
+ {__Pyx_NAMESTR("content_preserve_on_pop_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_13content_preserve_on_pop_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_12content_preserve_on_pop_get)},
+ {__Pyx_NAMESTR("top_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_15top_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_14top_item_get)},
+ {__Pyx_NAMESTR("bottom_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_17bottom_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_16bottom_item_get)},
+ {__Pyx_NAMESTR("prev_btn_auto_pushed_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_19prev_btn_auto_pushed_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_18prev_btn_auto_pushed_set)},
+ {__Pyx_NAMESTR("prev_btn_auto_pushed_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_21prev_btn_auto_pushed_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_20prev_btn_auto_pushed_get)},
+ {__Pyx_NAMESTR("items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_23items_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_22items_get)},
+ {__Pyx_NAMESTR("event_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_25event_enabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_24event_enabled_set)},
+ {__Pyx_NAMESTR("event_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_27event_enabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_26event_enabled_get)},
+ {__Pyx_NAMESTR("item_simple_push"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_29item_simple_push, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_28item_simple_push)},
+ {__Pyx_NAMESTR("item_simple_promote"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_31item_simple_promote, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_30item_simple_promote)},
+ {__Pyx_NAMESTR("callback_transition_finished_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_33callback_transition_finished_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_32callback_transition_finished_add)},
+ {__Pyx_NAMESTR("callback_transition_finished_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_35callback_transition_finished_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_title_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_37callback_title_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Naviframe_36callback_title_clicked_add)},
+ {__Pyx_NAMESTR("callback_title_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Naviframe_39callback_title_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Naviframe[] = {
+ {(char *)"content_preserve_on_pop", __pyx_getprop_10elementary_12c_elementary_9Naviframe_content_preserve_on_pop, __pyx_setprop_10elementary_12c_elementary_9Naviframe_content_preserve_on_pop, __Pyx_DOCSTR(__pyx_k_507), 0},
+ {(char *)"top_item", __pyx_getprop_10elementary_12c_elementary_9Naviframe_top_item, 0, __Pyx_DOCSTR(__pyx_k_508), 0},
+ {(char *)"bottom_item", __pyx_getprop_10elementary_12c_elementary_9Naviframe_bottom_item, 0, __Pyx_DOCSTR(__pyx_k_509), 0},
+ {(char *)"prev_btn_auto_pushed", __pyx_getprop_10elementary_12c_elementary_9Naviframe_prev_btn_auto_pushed, __pyx_setprop_10elementary_12c_elementary_9Naviframe_prev_btn_auto_pushed, __Pyx_DOCSTR(__pyx_k_510), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_9Naviframe_items, 0, __Pyx_DOCSTR(__pyx_k_511), 0},
+ {(char *)"event_enabled", __pyx_getprop_10elementary_12c_elementary_9Naviframe_event_enabled, __pyx_setprop_10elementary_12c_elementary_9Naviframe_event_enabled, __Pyx_DOCSTR(__pyx_k_512), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Naviframe = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Naviframe = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Naviframe = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Naviframe = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryNaviframe_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Naviframe"), /*tp_name*/
+ sizeof(struct PyElementaryNaviframe), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Naviframe, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Naviframe, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Naviframe, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Naviframe, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Naviframe stands for navigation frame. It's a views manager\n for applications.\n\n A naviframe holds views (or pages) as its items. Those items are\n organized in a stack, so that new items get pushed on top of the\n old, and only the topmost view is displayed at one time. The\n transition between views is animated, depending on the theme\n applied to the widget.\n\n Naviframe views hold spaces to various elements, which are:\n - back button, used to navigate to previous views,\n - next button, used to navigate to next views in the stack,\n - title label,\n - sub-title label,\n - title icon and\n - content area.\n\n Becase this widget is a layout, one places content on those areas\n by using L{content_set()} on the right swallow part names\n expected for each, which are:\n - C{\"default\"} - The main content of the current page\n - C{\"icon\"} - An icon in the title area of the current page\n - C{\"prev_btn\"} - A button of the current page to go to the\n previous page\n - C{\"next_btn\"} - A button of the current page to go to the next\n page\n\n For text, L{text_set()} will work here on:\n - C{\"default\"} - Title label in the title area of the current\n page\n - C{\"subtitle\"} - Sub-title label in the title area of the\n current page\n\n Most of those content objects can be passed at the time of an item\n creation (see L{item_push()}).\n\n Naviframe items can have different styles, which affect the\n transition between views, for example. On the default theme, two of\n them are supported:\n - C{\"basic\"} - views are switched sliding horizontally, one after\n the other\n - C{\"overlap\"} - like the previous one, but the previous view stays\n at its place and is ovelapped by the new\n\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"transition,finished\"} - When the transition is finished in\n changing the item\n - C{\"title,clicked\"} - User clicked title area\n\n All the parts, for content and text, described here will also be\n reachable by naviframe B{items} direct calls:\n - L{ObjectItem.part_text_set}\n - L{ObjectItem.part_text_get}\n - L{ObjectItem.part_content_set}\n - L{ObjectItem.part_content_get}\n - L{ObjectItem.part_content_unset}\n - L{ObjectItem.signal_emit}\n\n What happens is that the topmost item of a naviframe will be the\n widget's target layout, when accessed directly. Items lying below\n the top one can be interacted with this way.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Naviframe, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Naviframe, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_9Naviframe_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Naviframe, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Radio __pyx_vtable_10elementary_12c_elementary_Radio;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Radio(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryRadio *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryRadio *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Radio;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Radio_state_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Radio_11state_value_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Radio_state_value(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Radio_11state_value_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Radio_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Radio_5value_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Radio_value(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Radio_5value_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Radio_selected_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Radio_15selected_object_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Radio[] = {
+ {__Pyx_NAMESTR("group_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_3group_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_2group_add)},
+ {__Pyx_NAMESTR("state_value_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_5state_value_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_4state_value_set)},
+ {__Pyx_NAMESTR("state_value_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_7state_value_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_6state_value_get)},
+ {__Pyx_NAMESTR("value_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_9value_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_8value_set)},
+ {__Pyx_NAMESTR("value_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_11value_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_10value_get)},
+ {__Pyx_NAMESTR("value_pointer_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_13value_pointer_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_12value_pointer_set)},
+ {__Pyx_NAMESTR("selected_object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_15selected_object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_14selected_object_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_17callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Radio_16callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Radio_19callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Radio[] = {
+ {(char *)"state_value", __pyx_getprop_10elementary_12c_elementary_5Radio_state_value, __pyx_setprop_10elementary_12c_elementary_5Radio_state_value, __Pyx_DOCSTR(__pyx_k_513), 0},
+ {(char *)"value", __pyx_getprop_10elementary_12c_elementary_5Radio_value, __pyx_setprop_10elementary_12c_elementary_5Radio_value, __Pyx_DOCSTR(__pyx_k_514), 0},
+ {(char *)"selected_object", __pyx_getprop_10elementary_12c_elementary_5Radio_selected_object, 0, __Pyx_DOCSTR(__pyx_k_515), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Radio = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Radio = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Radio = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Radio = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryRadio_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Radio"), /*tp_name*/
+ sizeof(struct PyElementaryRadio), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Radio, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Radio, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Radio, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Radio, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Radio is a widget that allows for one or more options to be displayed\n and have the user choose only one of them.\n\n A radio object contains an indicator, an optional Label and an optional\n icon object. While it's possible to have a group of only one radio they,\n are normally used in groups of two or more.\n\n Radio objects are grouped in a slightly different, compared to other UI\n toolkits. There is no seperate group name/id to remember or manage. The\n members represent the group, there are the group. To make a group, use\n L{group_add()} and pass existing radio object and the new radio object.\n\n The radio object(s) will select from one of a set of integer values, so\n any value they are configuring needs to be mapped to a set of integers.\n To configure what value that radio object represents, use\n elm_radio_state_value_set() to set the integer it represents. To set the\n value the whole group(which one is currently selected) is to indicate\n use L{value_set()} on any group member, and to get the groups value use\n L{value_get()}. For convenience the radio objects are also able to\n directly set an integer(int) to the value that is selected. To specify\n the pointer to this integer to modify, use L{value_pointer_set()}. The\n radio objects will modify this directly. That implies the pointer must\n point to valid memory for as long as the radio objects exist.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - changed - This is called whenever the user changes the state of\n one of the radio objects within the group of radio objects that\n work together.\n\n Default text parts of the radio widget that you can use for are:\n - \"default\" - Label of the radio\n\n Default content parts of the radio widget that you can use for are:\n - \"icon\" - An icon of the radio\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Radio, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Radio, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Radio_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Radio, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Check __pyx_vtable_10elementary_12c_elementary_Check;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Check(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryCheck *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryCheck *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Check;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Check_state(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Check_5state_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Check_state(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Check_5state_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Check[] = {
+ {__Pyx_NAMESTR("state_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Check_3state_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Check_2state_set)},
+ {__Pyx_NAMESTR("state_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Check_5state_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Check_4state_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Check_7callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Check_6callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Check_9callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Check[] = {
+ {(char *)"state", __pyx_getprop_10elementary_12c_elementary_5Check_state, __pyx_setprop_10elementary_12c_elementary_5Check_state, __Pyx_DOCSTR(__pyx_k_516), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Check = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Check = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Check = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Check = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryCheck_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Check"), /*tp_name*/
+ sizeof(struct PyElementaryCheck), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Check, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Check, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Check, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Check, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The check widget allows for toggling a value between true and false.\n\n Check objects are a lot like radio objects in layout and functionality,\n except they do not work as a group, but independently, and only toggle\n the value of a boolean between false and true. L{state_set()} sets the\n boolean state and L{state_get()} returns the current state.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{changed} - This is called whenever the user changes the state of\n the check objects.\n\n Default content parts of the check widget that you can use for are:\n - \"icon\" - An icon of the check\n\n Default text parts of the check widget that you can use for are:\n - \"default\" - A label of the check\n - \"on\" - On state label of the check\n - \"off\" - Off state label of the check\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Check, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Check, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Check_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Check, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_GenlistItemClass(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *p;
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)o);
+ p->_item_style = Py_None; Py_INCREF(Py_None);
+ 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);
+ if (__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_1__cinit__(o, a, k) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_GenlistItemClass(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)o;
+ Py_XDECREF(p->_item_style);
+ Py_XDECREF(p->_text_get_func);
+ Py_XDECREF(p->_content_get_func);
+ Py_XDECREF(p->_state_get_func);
+ Py_XDECREF(p->_del_func);
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_GenlistItemClass(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)o;
+ if (p->_item_style) {
+ e = (*v)(p->_item_style, a); if (e) return e;
+ }
+ 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;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_GenlistItemClass(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass *)o;
+ PyObject* tmp;
+ tmp = ((PyObject*)p->_item_style);
+ p->_item_style = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ 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);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GenlistItemClass_item_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_10item_style_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__item_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_11_item_style_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__text_get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_14_text_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__content_get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_17_content_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__state_get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_15_state_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__del_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_9_del_func_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_GenlistItemClass[] = {
+ {__Pyx_NAMESTR("text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_9text_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16GenlistItemClass_8text_get)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_11content_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16GenlistItemClass_10content_get)},
+ {__Pyx_NAMESTR("state_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16GenlistItemClass_13state_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16GenlistItemClass_12state_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_GenlistItemClass[] = {
+ {(char *)"item_style", __pyx_getprop_10elementary_12c_elementary_16GenlistItemClass_item_style, 0, 0, 0},
+ {(char *)"_item_style", __pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__item_style, 0, 0, 0},
+ {(char *)"_text_get_func", __pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__text_get_func, 0, 0, 0},
+ {(char *)"_content_get_func", __pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__content_get_func, 0, 0, 0},
+ {(char *)"_state_get_func", __pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__state_get_func, 0, 0, 0},
+ {(char *)"_del_func", __pyx_getprop_10elementary_12c_elementary_16GenlistItemClass__del_func, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_GenlistItemClass = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_GenlistItemClass = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_GenlistItemClass = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_GenlistItemClass = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_GenlistItemClass = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.GenlistItemClass"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_GenlistItemClass), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_GenlistItemClass, /*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_10elementary_12c_elementary_16GenlistItemClass_7__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_GenlistItemClass, /*tp_as_number*/
+ &__pyx_tp_as_sequence_GenlistItemClass, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_GenlistItemClass, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_5__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_GenlistItemClass, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Defines the behavior of each list item.\n\n This class should be created and handled to the Genlist itself.\n\n It may be subclassed, in this case the methods L{text_get()},\n L{content_get()}, L{state_get()} and C{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_10elementary_12c_elementary_GenlistItemClass, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_GenlistItemClass, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_GenlistItemClass, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_GenlistItemClass, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16GenlistItemClass_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_GenlistItemClass, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_GenlistItem __pyx_vtable_10elementary_12c_elementary_GenlistItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_GenlistItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_GenlistItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_GenlistItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_GenlistItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GenlistItem_data(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_4data_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GenlistItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_4next_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GenlistItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GenlistItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GenlistItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GenlistItem_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_6parent_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GenlistItem_expanded(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_8expanded_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GenlistItem_expanded(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GenlistItem_8expanded_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_GenlistItem[] = {
+ {__Pyx_NAMESTR("data_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_5data_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("next_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_7next_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("prev_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_9prev_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_11selected_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_13selected_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_15show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_17bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("update"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_19update, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("index_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_21index_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_23tooltip_text_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_22tooltip_text_set)},
+ {__Pyx_NAMESTR("tooltip_content_cb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_25tooltip_content_cb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_24tooltip_content_cb_set)},
+ {__Pyx_NAMESTR("tooltip_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_27tooltip_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_26tooltip_unset)},
+ {__Pyx_NAMESTR("tooltip_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_29tooltip_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_28tooltip_style_set)},
+ {__Pyx_NAMESTR("tooltip_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_31tooltip_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_30tooltip_style_get)},
+ {__Pyx_NAMESTR("tooltip_window_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_33tooltip_window_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_window_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_35tooltip_window_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("cursor_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_37cursor_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_36cursor_set)},
+ {__Pyx_NAMESTR("cursor_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_39cursor_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("cursor_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_41cursor_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_40cursor_unset)},
+ {__Pyx_NAMESTR("cursor_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_43cursor_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_42cursor_style_set)},
+ {__Pyx_NAMESTR("cursor_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_45cursor_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_44cursor_style_get)},
+ {__Pyx_NAMESTR("cursor_engine_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_47cursor_engine_only_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_46cursor_engine_only_set)},
+ {__Pyx_NAMESTR("cursor_engine_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_49cursor_engine_only_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GenlistItem_48cursor_engine_only_get)},
+ {__Pyx_NAMESTR("parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_51parent_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("subitems_clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_53subitems_clear, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("expanded_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_55expanded_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("expanded_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_57expanded_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("expanded_depth_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_59expanded_depth_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("all_contents_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_61all_contents_unset, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("promote"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_63promote, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("demote"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_65demote, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("fields_update"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_67fields_update, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("decorate_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_69decorate_mode_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("decorate_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_71decorate_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("type_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_73type_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("flip_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_75flip_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("flip_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_77flip_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_79select_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GenlistItem_81select_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_GenlistItem[] = {
+ {(char *)"data", __pyx_getprop_10elementary_12c_elementary_11GenlistItem_data, 0, 0, 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_11GenlistItem_next, 0, 0, 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_11GenlistItem_prev, 0, 0, 0},
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_11GenlistItem_selected, __pyx_setprop_10elementary_12c_elementary_11GenlistItem_selected, 0, 0},
+ {(char *)"parent", __pyx_getprop_10elementary_12c_elementary_11GenlistItem_parent, 0, 0, 0},
+ {(char *)"expanded", __pyx_getprop_10elementary_12c_elementary_11GenlistItem_expanded, __pyx_setprop_10elementary_12c_elementary_11GenlistItem_expanded, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_GenlistItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_GenlistItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_GenlistItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_GenlistItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_GenlistItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.GenlistItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_GenlistItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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_10elementary_12c_elementary_11GenlistItem_3__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_GenlistItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_GenlistItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_GenlistItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_11GenlistItem_1__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_GenlistItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{Genlist} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_GenlistItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_GenlistItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_GenlistItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Genlist __pyx_vtable_10elementary_12c_elementary_Genlist;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Genlist(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryGenlist *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryGenlist *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Genlist;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Genlist_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Genlist_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Genlist_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Genlist_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Genlist_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Genlist_9last_item_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Genlist[] = {
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_3clear, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("multi_select_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_5multi_select_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("multi_select_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_7multi_select_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_9mode_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_11mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("bounce_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_13bounce_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("bounce_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_15bounce_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_17item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Genlist_16item_append)},
+ {__Pyx_NAMESTR("item_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_19item_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Genlist_18item_prepend)},
+ {__Pyx_NAMESTR("item_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_21item_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Genlist_20item_insert_before)},
+ {__Pyx_NAMESTR("item_insert_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_23item_insert_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Genlist_22item_insert_after)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_25selected_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_27selected_items_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("realized_items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_29realized_items_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("first_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_31first_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("last_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_33last_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroller_policy_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_35scroller_policy_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroller_policy_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_37scroller_policy_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("realized_items_update"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_39realized_items_update, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("items_count"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_41items_count, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("homogeneous_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_43homogeneous_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("homogeneous_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_45homogeneous_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("block_count_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_47block_count_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("block_count_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_49block_count_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("longpress_timeout_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_51longpress_timeout_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("longpress_timeout_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_53longpress_timeout_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("at_xy_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_55at_xy_item_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("decorated_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_57decorated_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("reorder_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_59reorder_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("reorder_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_61reorder_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("decorate_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_63decorate_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("decorate_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_65decorate_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tree_effect_enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_67tree_effect_enabled_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tree_effect_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_69tree_effect_enabled_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("highlight_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_71highlight_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("highlight_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_73highlight_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_75select_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_77select_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_activated_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_79callback_activated_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_activated_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_81callback_activated_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_83callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_85callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_87callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_89callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unselected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_91callback_unselected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unselected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_93callback_unselected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expanded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_95callback_expanded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expanded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_97callback_expanded_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_contracted_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_99callback_contracted_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_contracted_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_101callback_contracted_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expand_request_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_103callback_expand_request_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expand_request_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_105callback_expand_request_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_contract_request_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_107callback_contract_request_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_contract_request_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_109callback_contract_request_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_realized_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_111callback_realized_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_realized_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_113callback_realized_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unrealized_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_115callback_unrealized_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unrealized_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_117callback_unrealized_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_up_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_119callback_drag_start_up_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_up_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_121callback_drag_start_up_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_down_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_123callback_drag_start_down_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_down_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_125callback_drag_start_down_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_left_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_127callback_drag_start_left_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_left_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_129callback_drag_start_left_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_right_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_131callback_drag_start_right_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_start_right_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_133callback_drag_start_right_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_135callback_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_137callback_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_139callback_drag_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_drag_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_141callback_drag_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_143callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_145callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_147callback_scroll_anim_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_149callback_scroll_anim_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_151callback_scroll_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_153callback_scroll_anim_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_155callback_scroll_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_157callback_scroll_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_159callback_scroll_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_161callback_scroll_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_top_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_163callback_edge_top_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_top_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_165callback_edge_top_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_bottom_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_167callback_edge_bottom_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_bottom_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_169callback_edge_bottom_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_left_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_171callback_edge_left_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_left_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_173callback_edge_left_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_right_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_175callback_edge_right_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_edge_right_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_177callback_edge_right_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_left_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_179callback_multi_swipe_left_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_left_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_181callback_multi_swipe_left_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_right_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_183callback_multi_swipe_right_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_right_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_185callback_multi_swipe_right_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_up_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_187callback_multi_swipe_up_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_up_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_189callback_multi_swipe_up_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_down_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_191callback_multi_swipe_down_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_swipe_down_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_193callback_multi_swipe_down_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_pinch_out_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_195callback_multi_pinch_out_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_pinch_out_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_197callback_multi_pinch_out_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_pinch_in_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_199callback_multi_pinch_in_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_multi_pinch_in_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_201callback_multi_pinch_in_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_swipe_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_203callback_swipe_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_swipe_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_205callback_swipe_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_207callback_moved_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_209callback_moved_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_after_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_211callback_moved_after_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_after_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_213callback_moved_after_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_before_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_215callback_moved_before_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_moved_before_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_217callback_moved_before_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_language_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_219callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_221callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tree_effect_finished_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_223callback_tree_effect_finished_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tree_effect_finished_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Genlist_225callback_tree_effect_finished_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Genlist[] = {
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_7Genlist_selected_item, 0, 0, 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_7Genlist_first_item, 0, 0, 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_7Genlist_last_item, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Genlist = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Genlist = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Genlist = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Genlist = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryGenlist_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Genlist"), /*tp_name*/
+ sizeof(struct PyElementaryGenlist), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Genlist, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Genlist, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Genlist, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Genlist, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Creates a generic, scalable and extensible list widget.\n\n Unlike L{List}, this widget allows more items while keeping\n performance. The items might contain subitems, thus being able to\n do 'tree' hierarchy. The rows may have different look and feel,\n not being restricted only to icon and label.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Genlist, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Genlist, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_7Genlist_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Genlist, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_GengridItemClass(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *p;
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)o);
+ p->_item_style = Py_None; Py_INCREF(Py_None);
+ 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);
+ if (__pyx_pw_10elementary_12c_elementary_16GengridItemClass_1__cinit__(o, a, k) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_GengridItemClass(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)o;
+ Py_XDECREF(p->_item_style);
+ Py_XDECREF(p->_text_get_func);
+ Py_XDECREF(p->_content_get_func);
+ Py_XDECREF(p->_state_get_func);
+ Py_XDECREF(p->_del_func);
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_GengridItemClass(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)o;
+ if (p->_item_style) {
+ e = (*v)(p->_item_style, a); if (e) return e;
+ }
+ 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;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_GengridItemClass(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_GengridItemClass *)o;
+ PyObject* tmp;
+ tmp = ((PyObject*)p->_item_style);
+ p->_item_style = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ 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);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GengridItemClass_item_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GengridItemClass_10item_style_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GengridItemClass__item_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GengridItemClass_11_item_style_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GengridItemClass__text_get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GengridItemClass_14_text_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GengridItemClass__content_get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GengridItemClass_17_content_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GengridItemClass__state_get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GengridItemClass_15_state_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16GengridItemClass__del_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16GengridItemClass_9_del_func_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_GengridItemClass[] = {
+ {__Pyx_NAMESTR("text_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16GengridItemClass_9text_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16GengridItemClass_8text_get)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16GengridItemClass_11content_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16GengridItemClass_10content_get)},
+ {__Pyx_NAMESTR("state_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16GengridItemClass_13state_get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16GengridItemClass_12state_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_GengridItemClass[] = {
+ {(char *)"item_style", __pyx_getprop_10elementary_12c_elementary_16GengridItemClass_item_style, 0, 0, 0},
+ {(char *)"_item_style", __pyx_getprop_10elementary_12c_elementary_16GengridItemClass__item_style, 0, 0, 0},
+ {(char *)"_text_get_func", __pyx_getprop_10elementary_12c_elementary_16GengridItemClass__text_get_func, 0, 0, 0},
+ {(char *)"_content_get_func", __pyx_getprop_10elementary_12c_elementary_16GengridItemClass__content_get_func, 0, 0, 0},
+ {(char *)"_state_get_func", __pyx_getprop_10elementary_12c_elementary_16GengridItemClass__state_get_func, 0, 0, 0},
+ {(char *)"_del_func", __pyx_getprop_10elementary_12c_elementary_16GengridItemClass__del_func, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_GengridItemClass = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_GengridItemClass = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_GengridItemClass = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_GengridItemClass = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_GengridItemClass = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.GengridItemClass"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_GengridItemClass), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_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_10elementary_12c_elementary_16GengridItemClass_7__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_GengridItemClass, /*tp_as_number*/
+ &__pyx_tp_as_sequence_GengridItemClass, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_GengridItemClass, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_16GengridItemClass_5__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_GengridItemClass, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("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 L{text_get()},\n L{content_get()}, L{state_get()} and C{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_10elementary_12c_elementary_GengridItemClass, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_GengridItemClass, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_GengridItemClass, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_GengridItemClass, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16GengridItemClass_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_GengridItem __pyx_vtable_10elementary_12c_elementary_GengridItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_GengridItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_GengridItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_GengridItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_GengridItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_data(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_4data_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_4next_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_gengrid(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_7gengrid_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_index(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_5index_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_tooltip_text(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_12tooltip_text_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_tooltip_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_13tooltip_style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_tooltip_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_13tooltip_style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_tooltip_window_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_tooltip_window_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_19tooltip_window_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_cursor(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_6cursor_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_cursor(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_6cursor_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_cursor_style(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_12cursor_style_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_cursor_style(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_12cursor_style_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_cursor_engine_only(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_cursor_engine_only(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_18cursor_engine_only_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11GengridItem_select_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_11select_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11GengridItem_select_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11GengridItem_11select_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_GengridItem[] = {
+ {__Pyx_NAMESTR("data_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_5data_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("next_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_7next_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("prev_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_9prev_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("gengrid_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_11gengrid_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("index_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_13index_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_15delete, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("update"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_17update, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_19selected_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_21selected_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_23show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_25bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("pos_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_27pos_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_text_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_29tooltip_text_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_28tooltip_text_set)},
+ {__Pyx_NAMESTR("tooltip_content_cb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_31tooltip_content_cb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_30tooltip_content_cb_set)},
+ {__Pyx_NAMESTR("item_tooltip_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_33item_tooltip_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_32item_tooltip_unset)},
+ {__Pyx_NAMESTR("tooltip_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_35tooltip_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_34tooltip_style_set)},
+ {__Pyx_NAMESTR("tooltip_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_37tooltip_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_36tooltip_style_get)},
+ {__Pyx_NAMESTR("tooltip_window_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_39tooltip_window_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tooltip_window_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_41tooltip_window_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("cursor_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_43cursor_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_42cursor_set)},
+ {__Pyx_NAMESTR("cursor_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_45cursor_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("cursor_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_47cursor_unset, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_46cursor_unset)},
+ {__Pyx_NAMESTR("cursor_style_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_49cursor_style_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_48cursor_style_set)},
+ {__Pyx_NAMESTR("cursor_style_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_51cursor_style_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_50cursor_style_get)},
+ {__Pyx_NAMESTR("cursor_engine_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_53cursor_engine_only_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_52cursor_engine_only_set)},
+ {__Pyx_NAMESTR("cursor_engine_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_55cursor_engine_only_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11GengridItem_54cursor_engine_only_get)},
+ {__Pyx_NAMESTR("select_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_57select_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11GengridItem_59select_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_GengridItem[] = {
+ {(char *)"data", __pyx_getprop_10elementary_12c_elementary_11GengridItem_data, 0, 0, 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_11GengridItem_next, 0, 0, 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_11GengridItem_prev, 0, 0, 0},
+ {(char *)"gengrid", __pyx_getprop_10elementary_12c_elementary_11GengridItem_gengrid, 0, 0, 0},
+ {(char *)"index", __pyx_getprop_10elementary_12c_elementary_11GengridItem_index, 0, 0, 0},
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_11GengridItem_selected, __pyx_setprop_10elementary_12c_elementary_11GengridItem_selected, 0, 0},
+ {(char *)"tooltip_text", __pyx_getprop_10elementary_12c_elementary_11GengridItem_tooltip_text, 0, 0, 0},
+ {(char *)"tooltip_style", __pyx_getprop_10elementary_12c_elementary_11GengridItem_tooltip_style, __pyx_setprop_10elementary_12c_elementary_11GengridItem_tooltip_style, 0, 0},
+ {(char *)"tooltip_window_mode", __pyx_getprop_10elementary_12c_elementary_11GengridItem_tooltip_window_mode, __pyx_setprop_10elementary_12c_elementary_11GengridItem_tooltip_window_mode, 0, 0},
+ {(char *)"cursor", __pyx_getprop_10elementary_12c_elementary_11GengridItem_cursor, __pyx_setprop_10elementary_12c_elementary_11GengridItem_cursor, 0, 0},
+ {(char *)"cursor_style", __pyx_getprop_10elementary_12c_elementary_11GengridItem_cursor_style, __pyx_setprop_10elementary_12c_elementary_11GengridItem_cursor_style, 0, 0},
+ {(char *)"cursor_engine_only", __pyx_getprop_10elementary_12c_elementary_11GengridItem_cursor_engine_only, __pyx_setprop_10elementary_12c_elementary_11GengridItem_cursor_engine_only, 0, 0},
+ {(char *)"select_mode", __pyx_getprop_10elementary_12c_elementary_11GengridItem_select_mode, __pyx_setprop_10elementary_12c_elementary_11GengridItem_select_mode, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_GengridItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_GengridItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_GengridItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_GengridItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_GengridItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.GengridItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_GengridItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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_10elementary_12c_elementary_11GengridItem_3__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_GengridItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_GengridItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_GengridItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_11GengridItem_1__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_GengridItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{Gengrid} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_GengridItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_GengridItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Gengrid __pyx_vtable_10elementary_12c_elementary_Gengrid;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Gengrid(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryGengrid *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryGengrid *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Gengrid;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_multi_select(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_12multi_select_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_multi_select(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_12multi_select_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_bounce(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_6bounce_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_bounce(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_6bounce_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_selected_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_14selected_items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_realized_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_14realized_items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_9last_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_scroller_policy(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_15scroller_policy_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_scroller_policy(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_15scroller_policy_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_item_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_9item_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_item_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_9item_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_group_item_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_15group_item_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_group_item_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_15group_item_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_align(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_5align_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_align(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_5align_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_reorder_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_12reorder_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_reorder_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_12reorder_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_page_relative(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_13page_relative_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_page_relative(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_13page_relative_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_current_page(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_12current_page_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_last_page(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_9last_page_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_filled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_6filled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_filled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_6filled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_select_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_11select_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_select_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_11select_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Gengrid_highlight_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_14highlight_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Gengrid_highlight_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Gengrid_14highlight_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Gengrid[] = {
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_3clear, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("multi_select_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_5multi_select_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("multi_select_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_7multi_select_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_9horizontal_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_11horizontal_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("bounce_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_13bounce_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("bounce_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_15bounce_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_17item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Gengrid_16item_append)},
+ {__Pyx_NAMESTR("item_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_19item_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Gengrid_18item_prepend)},
+ {__Pyx_NAMESTR("item_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_21item_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Gengrid_20item_insert_before)},
+ {__Pyx_NAMESTR("item_insert_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_23item_insert_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Gengrid_22item_insert_after)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_25selected_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_27selected_items_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("realized_items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_29realized_items_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("realized_items_update"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_31realized_items_update, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("first_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_33first_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("last_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_35last_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroller_policy_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_37scroller_policy_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("scroller_policy_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_39scroller_policy_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_41item_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_43item_size_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("items_count"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_45items_count, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("group_item_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_47group_item_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("group_item_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_49group_item_size_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("align_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_51align_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("align_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_53align_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("reorder_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_55reorder_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("reorder_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_57reorder_mode_get, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("page_relative_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_59page_relative_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("page_relative_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_61page_relative_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("page_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_63page_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("current_page_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_65current_page_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("last_page_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_67last_page_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("page_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_69page_show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("page_bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_71page_bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("filled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_73filled_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("filled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_75filled_get, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_77select_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("select_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_79select_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("highlight_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_81highlight_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("highlight_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_83highlight_mode_get, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_85callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_87callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_89callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_91callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_93callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_95callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unselected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_97callback_unselected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unselected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Gengrid_99callback_unselected_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Gengrid[] = {
+ {(char *)"multi_select", __pyx_getprop_10elementary_12c_elementary_7Gengrid_multi_select, __pyx_setprop_10elementary_12c_elementary_7Gengrid_multi_select, 0, 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_7Gengrid_horizontal, __pyx_setprop_10elementary_12c_elementary_7Gengrid_horizontal, 0, 0},
+ {(char *)"bounce", __pyx_getprop_10elementary_12c_elementary_7Gengrid_bounce, __pyx_setprop_10elementary_12c_elementary_7Gengrid_bounce, 0, 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_7Gengrid_selected_item, 0, 0, 0},
+ {(char *)"selected_items", __pyx_getprop_10elementary_12c_elementary_7Gengrid_selected_items, 0, 0, 0},
+ {(char *)"realized_items", __pyx_getprop_10elementary_12c_elementary_7Gengrid_realized_items, 0, 0, 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_7Gengrid_first_item, 0, 0, 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_7Gengrid_last_item, 0, 0, 0},
+ {(char *)"scroller_policy", __pyx_getprop_10elementary_12c_elementary_7Gengrid_scroller_policy, __pyx_setprop_10elementary_12c_elementary_7Gengrid_scroller_policy, 0, 0},
+ {(char *)"item_size", __pyx_getprop_10elementary_12c_elementary_7Gengrid_item_size, __pyx_setprop_10elementary_12c_elementary_7Gengrid_item_size, 0, 0},
+ {(char *)"group_item_size", __pyx_getprop_10elementary_12c_elementary_7Gengrid_group_item_size, __pyx_setprop_10elementary_12c_elementary_7Gengrid_group_item_size, 0, 0},
+ {(char *)"align", __pyx_getprop_10elementary_12c_elementary_7Gengrid_align, __pyx_setprop_10elementary_12c_elementary_7Gengrid_align, 0, 0},
+ {(char *)"reorder_mode", __pyx_getprop_10elementary_12c_elementary_7Gengrid_reorder_mode, __pyx_setprop_10elementary_12c_elementary_7Gengrid_reorder_mode, 0, 0},
+ {(char *)"page_relative", __pyx_getprop_10elementary_12c_elementary_7Gengrid_page_relative, __pyx_setprop_10elementary_12c_elementary_7Gengrid_page_relative, 0, 0},
+ {(char *)"current_page", __pyx_getprop_10elementary_12c_elementary_7Gengrid_current_page, 0, 0, 0},
+ {(char *)"last_page", __pyx_getprop_10elementary_12c_elementary_7Gengrid_last_page, 0, 0, 0},
+ {(char *)"filled", __pyx_getprop_10elementary_12c_elementary_7Gengrid_filled, __pyx_setprop_10elementary_12c_elementary_7Gengrid_filled, 0, 0},
+ {(char *)"select_mode", __pyx_getprop_10elementary_12c_elementary_7Gengrid_select_mode, __pyx_setprop_10elementary_12c_elementary_7Gengrid_select_mode, 0, 0},
+ {(char *)"highlight_mode", __pyx_getprop_10elementary_12c_elementary_7Gengrid_highlight_mode, __pyx_setprop_10elementary_12c_elementary_7Gengrid_highlight_mode, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Gengrid = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Gengrid = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Gengrid = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Gengrid = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryGengrid_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Gengrid"), /*tp_name*/
+ sizeof(struct PyElementaryGengrid), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Gengrid, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Gengrid, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Gengrid, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Gengrid, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Creates a generic, scalable and extensible grid widget.\n\n Like L{Genlist}, this widget allows more items while keeping\n performance. The items may have different look and feel,\n not being restricted only to icon and label.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Gengrid, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Gengrid, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_7Gengrid_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Spinner __pyx_vtable_10elementary_12c_elementary_Spinner;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Spinner(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementarySpinner *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementarySpinner *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Spinner;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_label_format(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_12label_format_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_label_format(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_12label_format_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_min_max(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_min_max(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_step(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_4step_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_step(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_4step_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_5value_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_value(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_5value_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_wrap(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_4wrap_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_wrap(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_4wrap_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_editable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_8editable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_editable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_8editable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_interval(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_8interval_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_interval(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_8interval_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_base(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_4base_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_base(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_4base_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Spinner_round(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_5round_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Spinner_round(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Spinner_5round_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Spinner[] = {
+ {__Pyx_NAMESTR("label_format_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_3label_format_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_2label_format_set)},
+ {__Pyx_NAMESTR("label_format_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_5label_format_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_4label_format_get)},
+ {__Pyx_NAMESTR("min_max_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_7min_max_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_6min_max_set)},
+ {__Pyx_NAMESTR("min_max_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_9min_max_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_8min_max_get)},
+ {__Pyx_NAMESTR("step_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_11step_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_10step_set)},
+ {__Pyx_NAMESTR("step_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_13step_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_12step_get)},
+ {__Pyx_NAMESTR("value_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_15value_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_14value_set)},
+ {__Pyx_NAMESTR("value_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_17value_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_16value_get)},
+ {__Pyx_NAMESTR("wrap_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_19wrap_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_18wrap_set)},
+ {__Pyx_NAMESTR("wrap_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_21wrap_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_20wrap_get)},
+ {__Pyx_NAMESTR("editable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_23editable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_22editable_set)},
+ {__Pyx_NAMESTR("editable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_25editable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_24editable_get)},
+ {__Pyx_NAMESTR("special_value_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_27special_value_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_26special_value_add)},
+ {__Pyx_NAMESTR("interval_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_29interval_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_28interval_set)},
+ {__Pyx_NAMESTR("interval_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_31interval_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_30interval_get)},
+ {__Pyx_NAMESTR("base_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_33base_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_32base_set)},
+ {__Pyx_NAMESTR("base_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_35base_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_34base_get)},
+ {__Pyx_NAMESTR("round_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_37round_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_36round_set)},
+ {__Pyx_NAMESTR("round_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_39round_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_38round_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_41callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_40callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_43callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_delay_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_45callback_delay_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Spinner_44callback_delay_changed_add)},
+ {__Pyx_NAMESTR("callback_delay_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Spinner_47callback_delay_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Spinner[] = {
+ {(char *)"label_format", __pyx_getprop_10elementary_12c_elementary_7Spinner_label_format, __pyx_setprop_10elementary_12c_elementary_7Spinner_label_format, __Pyx_DOCSTR(__pyx_k_517), 0},
+ {(char *)"min_max", __pyx_getprop_10elementary_12c_elementary_7Spinner_min_max, __pyx_setprop_10elementary_12c_elementary_7Spinner_min_max, __Pyx_DOCSTR(__pyx_k_518), 0},
+ {(char *)"step", __pyx_getprop_10elementary_12c_elementary_7Spinner_step, __pyx_setprop_10elementary_12c_elementary_7Spinner_step, __Pyx_DOCSTR(__pyx_k_519), 0},
+ {(char *)"value", __pyx_getprop_10elementary_12c_elementary_7Spinner_value, __pyx_setprop_10elementary_12c_elementary_7Spinner_value, __Pyx_DOCSTR(__pyx_k_520), 0},
+ {(char *)"wrap", __pyx_getprop_10elementary_12c_elementary_7Spinner_wrap, __pyx_setprop_10elementary_12c_elementary_7Spinner_wrap, __Pyx_DOCSTR(__pyx_k_521), 0},
+ {(char *)"editable", __pyx_getprop_10elementary_12c_elementary_7Spinner_editable, __pyx_setprop_10elementary_12c_elementary_7Spinner_editable, __Pyx_DOCSTR(__pyx_k_522), 0},
+ {(char *)"interval", __pyx_getprop_10elementary_12c_elementary_7Spinner_interval, __pyx_setprop_10elementary_12c_elementary_7Spinner_interval, __Pyx_DOCSTR(__pyx_k_523), 0},
+ {(char *)"base", __pyx_getprop_10elementary_12c_elementary_7Spinner_base, __pyx_setprop_10elementary_12c_elementary_7Spinner_base, __Pyx_DOCSTR(__pyx_k_524), 0},
+ {(char *)"round", __pyx_getprop_10elementary_12c_elementary_7Spinner_round, __pyx_setprop_10elementary_12c_elementary_7Spinner_round, __Pyx_DOCSTR(__pyx_k_525), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Spinner = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Spinner = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Spinner = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Spinner = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementarySpinner_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Spinner"), /*tp_name*/
+ sizeof(struct PyElementarySpinner), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Spinner, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Spinner, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Spinner, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Spinner, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A spinner is a widget which allows the user to increase or decrease\n numeric values using arrow buttons, or edit values directly, clicking\n over it and typing the new value.\n\n By default the spinner will not wrap and has a label\n of \"%.0f\" (just showing the integer value of the double).\n\n A spinner has a label that is formatted with floating\n point values and thus accepts a printf-style format string, like\n \"%1.2f units\".\n\n It also allows specific values to be replaced by pre-defined labels.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - Whenever the spinner value is changed.\n - C{\"delay,changed\"} - A short time after the value is changed by\n the user. This will be called only when the user stops dragging\n for a very short period or when they release their finger/mouse,\n so it avoids possibly expensive reactions to the value change.\n\n Available styles for it:\n - C{\"default\"}: Default style\n - C{\"vertical\"}: up/down buttons at the right side and text left aligned.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Spinner, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Spinner, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_7Spinner_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Spinner, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Notify __pyx_vtable_10elementary_12c_elementary_Notify;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Notify(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryNotify *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryNotify *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Notify;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Notify_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_6parent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Notify_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_6parent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Notify_orient(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_6orient_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Notify_orient(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_6orient_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Notify_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_7timeout_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Notify_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_7timeout_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Notify_allow_events(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_12allow_events_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Notify_allow_events(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Notify_12allow_events_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Notify[] = {
+ {__Pyx_NAMESTR("parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_3parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_2parent_set)},
+ {__Pyx_NAMESTR("parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_5parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_4parent_get)},
+ {__Pyx_NAMESTR("orient_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_7orient_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_6orient_set)},
+ {__Pyx_NAMESTR("orient_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_9orient_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_8orient_get)},
+ {__Pyx_NAMESTR("timeout_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_11timeout_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_10timeout_set)},
+ {__Pyx_NAMESTR("timeout_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_13timeout_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_12timeout_get)},
+ {__Pyx_NAMESTR("allow_events_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_15allow_events_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_14allow_events_set)},
+ {__Pyx_NAMESTR("allow_events_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_17allow_events_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_16allow_events_get)},
+ {__Pyx_NAMESTR("callback_timeout_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_19callback_timeout_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_18callback_timeout_add)},
+ {__Pyx_NAMESTR("callback_timeout_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_21callback_timeout_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_block_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_23callback_block_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Notify_22callback_block_clicked_add)},
+ {__Pyx_NAMESTR("callback_block_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Notify_25callback_block_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Notify[] = {
+ {(char *)"parent", __pyx_getprop_10elementary_12c_elementary_6Notify_parent, __pyx_setprop_10elementary_12c_elementary_6Notify_parent, __Pyx_DOCSTR(__pyx_k_526), 0},
+ {(char *)"orient", __pyx_getprop_10elementary_12c_elementary_6Notify_orient, __pyx_setprop_10elementary_12c_elementary_6Notify_orient, __Pyx_DOCSTR(__pyx_k_527), 0},
+ {(char *)"timeout", __pyx_getprop_10elementary_12c_elementary_6Notify_timeout, __pyx_setprop_10elementary_12c_elementary_6Notify_timeout, __Pyx_DOCSTR(__pyx_k_528), 0},
+ {(char *)"allow_events", __pyx_getprop_10elementary_12c_elementary_6Notify_allow_events, __pyx_setprop_10elementary_12c_elementary_6Notify_allow_events, __Pyx_DOCSTR(__pyx_k_529), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Notify = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Notify = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Notify = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Notify = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryNotify_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Notify"), /*tp_name*/
+ sizeof(struct PyElementaryNotify), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Notify, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Notify, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Notify, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Notify, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Display a container in a particular region of the parent.\n\n A timeout can be set to automatically hide the notify. This is so that,\n after an L{show()} on a notify object, if a timeout was set on it,\n it will B{automatically} get hidden after that time.\n\n Signals that you can add callbacks for are:\n - \"timeout\" - when timeout happens on notify and it's hidden\n - \"block,clicked\" - when a click outside of the notify happens\n\n Default content parts of the notify widget that you can use are:\n - C{\"default\"} - The main content of the notify\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Notify, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Notify, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Notify_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Notify, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Fileselector __pyx_vtable_10elementary_12c_elementary_Fileselector;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Fileselector(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryFileselector *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryFileselector *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Fileselector;
+ p->_cbs = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Fileselector(PyObject *o) {
+ struct PyElementaryFileselector *p = (struct PyElementaryFileselector *)o;
+ Py_XDECREF(p->_cbs);
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_Fileselector(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct PyElementaryFileselector *p = (struct PyElementaryFileselector *)o;
+ e = __pyx_tp_traverse_10elementary_12c_elementary_Object(o, v, a); if (e) return e;
+ if (p->_cbs) {
+ e = (*v)(p->_cbs, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_Fileselector(PyObject *o) {
+ struct PyElementaryFileselector *p = (struct PyElementaryFileselector *)o;
+ PyObject* tmp;
+ __pyx_tp_clear_10elementary_12c_elementary_Object(o);
+ tmp = ((PyObject*)p->_cbs);
+ p->_cbs = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_is_save(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_7is_save_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_is_save(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_7is_save_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_folder_only(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_11folder_only_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_folder_only(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_11folder_only_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_buttons_ok_cancel(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_buttons_ok_cancel(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_17buttons_ok_cancel_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_expandable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_10expandable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_expandable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_10expandable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_path(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_4path_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_path(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_4path_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Fileselector_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_4mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Fileselector_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Fileselector_4mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Fileselector[] = {
+ {__Pyx_NAMESTR("is_save_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_3is_save_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_2is_save_set)},
+ {__Pyx_NAMESTR("is_save_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_5is_save_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_4is_save_get)},
+ {__Pyx_NAMESTR("folder_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_7folder_only_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_6folder_only_set)},
+ {__Pyx_NAMESTR("folder_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_9folder_only_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_8folder_only_get)},
+ {__Pyx_NAMESTR("buttons_ok_cancel_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_11buttons_ok_cancel_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_10buttons_ok_cancel_set)},
+ {__Pyx_NAMESTR("buttons_ok_cancel_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_13buttons_ok_cancel_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_12buttons_ok_cancel_get)},
+ {__Pyx_NAMESTR("expandable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_15expandable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_14expandable_set)},
+ {__Pyx_NAMESTR("expandable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_17expandable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_16expandable_get)},
+ {__Pyx_NAMESTR("path_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_19path_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_18path_set)},
+ {__Pyx_NAMESTR("path_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_21path_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_20path_get)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_23selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_22selected_set)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_25selected_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_24selected_get)},
+ {__Pyx_NAMESTR("mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_27mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_26mode_set)},
+ {__Pyx_NAMESTR("mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_29mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_28mode_get)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_31callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_30callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_33callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_directory_open_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_35callback_directory_open_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_34callback_directory_open_add)},
+ {__Pyx_NAMESTR("callback_directory_open_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_37callback_directory_open_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_done_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_39callback_done_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Fileselector_38callback_done_add)},
+ {__Pyx_NAMESTR("callback_done_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Fileselector_41callback_done_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Fileselector[] = {
+ {(char *)"is_save", __pyx_getprop_10elementary_12c_elementary_12Fileselector_is_save, __pyx_setprop_10elementary_12c_elementary_12Fileselector_is_save, __Pyx_DOCSTR(__pyx_k_530), 0},
+ {(char *)"folder_only", __pyx_getprop_10elementary_12c_elementary_12Fileselector_folder_only, __pyx_setprop_10elementary_12c_elementary_12Fileselector_folder_only, __Pyx_DOCSTR(__pyx_k_531), 0},
+ {(char *)"buttons_ok_cancel", __pyx_getprop_10elementary_12c_elementary_12Fileselector_buttons_ok_cancel, __pyx_setprop_10elementary_12c_elementary_12Fileselector_buttons_ok_cancel, __Pyx_DOCSTR(__pyx_k_532), 0},
+ {(char *)"expandable", __pyx_getprop_10elementary_12c_elementary_12Fileselector_expandable, __pyx_setprop_10elementary_12c_elementary_12Fileselector_expandable, __Pyx_DOCSTR(__pyx_k_533), 0},
+ {(char *)"path", __pyx_getprop_10elementary_12c_elementary_12Fileselector_path, __pyx_setprop_10elementary_12c_elementary_12Fileselector_path, __Pyx_DOCSTR(__pyx_k_534), 0},
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_12Fileselector_selected, __pyx_setprop_10elementary_12c_elementary_12Fileselector_selected, __Pyx_DOCSTR(__pyx_k_535), 0},
+ {(char *)"mode", __pyx_getprop_10elementary_12c_elementary_12Fileselector_mode, __pyx_setprop_10elementary_12c_elementary_12Fileselector_mode, __Pyx_DOCSTR(__pyx_k_536), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Fileselector = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Fileselector = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Fileselector = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Fileselector = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryFileselector_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Fileselector"), /*tp_name*/
+ sizeof(struct PyElementaryFileselector), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Fileselector, /*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*/
+ &__pyx_tp_as_number_Fileselector, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Fileselector, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Fileselector, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Fileselector, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("\n A file selector is a widget that allows a user to navigate\n through a file system, reporting file selections back via its\n API.\n\n It contains shortcut buttons for home directory (C{~}) and to\n jump one directory upwards (..), as well as cancel/ok buttons to\n confirm/cancel a given selection. After either one of those two\n former actions, the file selector will issue its C{\"done\"} smart\n callback.\n\n There's a text entry on it, too, showing the name of the current\n selection. There's the possibility of making it editable, so it\n is useful on file saving dialogs on applications, where one\n gives a file name to save contents to, in a given directory in\n the system. This custom file name will be reported on the C{\"done\"}\n smart callback (explained in sequence).\n\n Finally, it has a view to display file system items into in two\n possible forms:\n - list\n - grid\n\n If Elementary is built with support of the Ethumb thumbnailing\n library, the second form of view will display preview thumbnails\n of files which it supports.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"selected\"} - the user has clicked on a file (when not in\n folders-only mode) or directory (when in folders-only mode)\n - C{\"directory,open\"} - the list has been populated with new\n content (C{event_info} is the directory's path)\n - C{\"done\"} - the user has clicked on the \"ok\" or \"cancel\"\n buttons (C{event_info} is the selection's path)\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Fileselector, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Fileselector, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Fileselector, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Fileselector, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12Fileselector_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Fileselector, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorEntry __pyx_vtable_10elementary_12c_elementary_FileselectorEntry;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_FileselectorEntry(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryFileselectorEntry *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryFileselectorEntry *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_FileselectorEntry;
+ p->_cbs = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_FileselectorEntry(PyObject *o) {
+ struct PyElementaryFileselectorEntry *p = (struct PyElementaryFileselectorEntry *)o;
+ Py_XDECREF(p->_cbs);
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_FileselectorEntry(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct PyElementaryFileselectorEntry *p = (struct PyElementaryFileselectorEntry *)o;
+ e = __pyx_tp_traverse_10elementary_12c_elementary_Object(o, v, a); if (e) return e;
+ if (p->_cbs) {
+ e = (*v)(p->_cbs, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_FileselectorEntry(PyObject *o) {
+ struct PyElementaryFileselectorEntry *p = (struct PyElementaryFileselectorEntry *)o;
+ PyObject* tmp;
+ __pyx_tp_clear_10elementary_12c_elementary_Object(o);
+ tmp = ((PyObject*)p->_cbs);
+ p->_cbs = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_window_title(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_12window_title_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_window_title(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_12window_title_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_window_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11window_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_window_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11window_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_path(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_4path_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_path(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_4path_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_expandable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10expandable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_expandable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10expandable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_folder_only(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11folder_only_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_folder_only(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11folder_only_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_is_save(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7is_save_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_is_save(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7is_save_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_inwin_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_inwin_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_10inwin_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_FileselectorEntry[] = {
+ {__Pyx_NAMESTR("window_title_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_3window_title_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_2window_title_set)},
+ {__Pyx_NAMESTR("window_title_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_5window_title_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_4window_title_get)},
+ {__Pyx_NAMESTR("window_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_7window_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_6window_size_set)},
+ {__Pyx_NAMESTR("window_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_9window_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_8window_size_get)},
+ {__Pyx_NAMESTR("path_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_11path_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_10path_set)},
+ {__Pyx_NAMESTR("path_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_13path_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_12path_get)},
+ {__Pyx_NAMESTR("expandable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_15expandable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_14expandable_set)},
+ {__Pyx_NAMESTR("expandable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_17expandable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_16expandable_get)},
+ {__Pyx_NAMESTR("folder_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_19folder_only_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_18folder_only_set)},
+ {__Pyx_NAMESTR("folder_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_21folder_only_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_20folder_only_get)},
+ {__Pyx_NAMESTR("is_save_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_23is_save_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_22is_save_set)},
+ {__Pyx_NAMESTR("is_save_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_25is_save_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_24is_save_get)},
+ {__Pyx_NAMESTR("inwin_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_27inwin_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_26inwin_mode_set)},
+ {__Pyx_NAMESTR("inwin_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_29inwin_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_28inwin_mode_get)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_31selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_30selected_set)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_33selected_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_32selected_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_35callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_34callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_37callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_activated_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_39callback_activated_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_38callback_activated_add)},
+ {__Pyx_NAMESTR("callback_activated_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_41callback_activated_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_press_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_43callback_press_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_42callback_press_add)},
+ {__Pyx_NAMESTR("callback_press_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_45callback_press_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_47callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_46callback_longpressed_add)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_49callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_51callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_50callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_53callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_55callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_54callback_clicked_double_add)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_57callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_focused_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_59callback_focused_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_58callback_focused_add)},
+ {__Pyx_NAMESTR("callback_focused_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_61callback_focused_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unfocused_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_63callback_unfocused_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_62callback_unfocused_add)},
+ {__Pyx_NAMESTR("callback_unfocused_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_65callback_unfocused_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_paste_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_67callback_selection_paste_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_66callback_selection_paste_add)},
+ {__Pyx_NAMESTR("callback_selection_paste_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_69callback_selection_paste_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_copy_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_71callback_selection_copy_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_70callback_selection_copy_add)},
+ {__Pyx_NAMESTR("callback_selection_copy_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_73callback_selection_copy_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selection_cut_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_75callback_selection_cut_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_74callback_selection_cut_add)},
+ {__Pyx_NAMESTR("callback_selection_cut_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_77callback_selection_cut_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_79callback_unpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_78callback_unpressed_add)},
+ {__Pyx_NAMESTR("callback_unpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_81callback_unpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_file_chosen_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_83callback_file_chosen_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17FileselectorEntry_82callback_file_chosen_add)},
+ {__Pyx_NAMESTR("callback_file_chosen_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17FileselectorEntry_85callback_file_chosen_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_FileselectorEntry[] = {
+ {(char *)"window_title", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_window_title, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_window_title, __Pyx_DOCSTR(__pyx_k_537), 0},
+ {(char *)"window_size", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_window_size, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_window_size, __Pyx_DOCSTR(__pyx_k_538), 0},
+ {(char *)"path", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_path, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_path, __Pyx_DOCSTR(__pyx_k_539), 0},
+ {(char *)"expandable", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_expandable, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_expandable, __Pyx_DOCSTR(__pyx_k_540), 0},
+ {(char *)"folder_only", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_folder_only, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_folder_only, __Pyx_DOCSTR(__pyx_k_541), 0},
+ {(char *)"is_save", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_is_save, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_is_save, __Pyx_DOCSTR(__pyx_k_542), 0},
+ {(char *)"inwin_mode", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_inwin_mode, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_inwin_mode, __Pyx_DOCSTR(__pyx_k_543), 0},
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_17FileselectorEntry_selected, __pyx_setprop_10elementary_12c_elementary_17FileselectorEntry_selected, __Pyx_DOCSTR(__pyx_k_544), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_FileselectorEntry = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_FileselectorEntry = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_FileselectorEntry = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_FileselectorEntry = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryFileselectorEntry_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.FileselectorEntry"), /*tp_name*/
+ sizeof(struct PyElementaryFileselectorEntry), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_FileselectorEntry, /*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*/
+ &__pyx_tp_as_number_FileselectorEntry, /*tp_as_number*/
+ &__pyx_tp_as_sequence_FileselectorEntry, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_FileselectorEntry, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_FileselectorEntry, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is an entry made to be filled with or display a file\n system path string.\n\n Besides the entry itself, the widget has a L{FileselectorButton}\n on its side, which will raise an internal L{Fileselector}, when clicked,\n for path selection aided by file system navigation.\n\n This file selector may appear in an Elementary window or in an\n inner window. When a file is chosen from it, the (inner) window\n is closed and the selected file's path string is exposed both as\n a smart event and as the new text on the entry.\n\n This widget encapsulates operations on its internal file\n selector on its own API. There is less control over its file\n selector than that one would have instantiating one directly.\n\n Smart callbacks one can register to:\n - C{\"changed\"} - The text within the entry was changed\n - C{\"activated\"} - The entry has had editing finished and\n changes are to be \"committed\"\n - C{\"press\"} - The entry has been clicked\n - C{\"longpressed\"} - The entry has been clicked (and held) for a\n couple seconds\n - C{\"clicked\"} - The entry has been clicked\n - C{\"clicked,double\"} - The entry has been double clicked\n - C{\"focused\"} - The entry has received focus\n - C{\"unfocused\"} - The entry has lost focus\n - C{\"selection,paste\"} - A paste action has occurred on the\n entry\n - C{\"selection,copy\"} - A copy action has occurred on the entry\n - C{\"selection,cut\"} - A cut action has occurred on the entry\n - C{\"unpressed\"} - The file selector entry's button was released\n after being pressed.\n - C{\"file,chosen\"} - The user has selected a path via the file\n selector entry's internal file selector, whose string\n comes as the C{event_info} data.\n\n Default text parts of the fileselector_button widget that you can use for\n are:\n - \"default\" - Label of the fileselector_button\n\n Default content parts of the fileselector_entry widget that you can use for\n are:\n - \"button icon\" - Button icon of the fileselector_entry\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_FileselectorEntry, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_FileselectorEntry, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_FileselectorEntry, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_FileselectorEntry, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_17FileselectorEntry_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_FileselectorEntry, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_FileselectorButton __pyx_vtable_10elementary_12c_elementary_FileselectorButton;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_FileselectorButton(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryFileselectorButton *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryFileselectorButton *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_FileselectorButton;
+ p->_cbs = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_FileselectorButton(PyObject *o) {
+ struct PyElementaryFileselectorButton *p = (struct PyElementaryFileselectorButton *)o;
+ Py_XDECREF(p->_cbs);
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_FileselectorButton(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct PyElementaryFileselectorButton *p = (struct PyElementaryFileselectorButton *)o;
+ e = __pyx_tp_traverse_10elementary_12c_elementary_Object(o, v, a); if (e) return e;
+ if (p->_cbs) {
+ e = (*v)(p->_cbs, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_FileselectorButton(PyObject *o) {
+ struct PyElementaryFileselectorButton *p = (struct PyElementaryFileselectorButton *)o;
+ PyObject* tmp;
+ __pyx_tp_clear_10elementary_12c_elementary_Object(o);
+ tmp = ((PyObject*)p->_cbs);
+ p->_cbs = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_window_title(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_12window_title_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_window_title(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_12window_title_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_window_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11window_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_window_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11window_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_path(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_4path_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_path(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_4path_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_expandable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10expandable_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_expandable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10expandable_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_folder_only(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11folder_only_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_folder_only(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_11folder_only_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_is_save(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_7is_save_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_is_save(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_7is_save_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18FileselectorButton_inwin_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_inwin_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18FileselectorButton_10inwin_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_FileselectorButton[] = {
+ {__Pyx_NAMESTR("window_title_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_3window_title_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_2window_title_set)},
+ {__Pyx_NAMESTR("window_title_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_5window_title_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_4window_title_get)},
+ {__Pyx_NAMESTR("window_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_7window_size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_6window_size_set)},
+ {__Pyx_NAMESTR("window_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_9window_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_8window_size_get)},
+ {__Pyx_NAMESTR("path_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_11path_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_10path_set)},
+ {__Pyx_NAMESTR("path_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_13path_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_12path_get)},
+ {__Pyx_NAMESTR("expandable_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_15expandable_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_14expandable_set)},
+ {__Pyx_NAMESTR("expandable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_17expandable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_16expandable_get)},
+ {__Pyx_NAMESTR("folder_only_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_19folder_only_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_18folder_only_set)},
+ {__Pyx_NAMESTR("folder_only_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_21folder_only_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_20folder_only_get)},
+ {__Pyx_NAMESTR("is_save_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_23is_save_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_22is_save_set)},
+ {__Pyx_NAMESTR("is_save_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_25is_save_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_24is_save_get)},
+ {__Pyx_NAMESTR("inwin_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_27inwin_mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_26inwin_mode_set)},
+ {__Pyx_NAMESTR("inwin_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_29inwin_mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_28inwin_mode_get)},
+ {__Pyx_NAMESTR("callback_file_chosen_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_31callback_file_chosen_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18FileselectorButton_30callback_file_chosen_add)},
+ {__Pyx_NAMESTR("callback_file_chosen_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18FileselectorButton_33callback_file_chosen_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_FileselectorButton[] = {
+ {(char *)"window_title", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_window_title, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_window_title, __Pyx_DOCSTR(__pyx_k_545), 0},
+ {(char *)"window_size", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_window_size, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_window_size, __Pyx_DOCSTR(__pyx_k_546), 0},
+ {(char *)"path", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_path, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_path, __Pyx_DOCSTR(__pyx_k_547), 0},
+ {(char *)"expandable", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_expandable, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_expandable, __Pyx_DOCSTR(__pyx_k_548), 0},
+ {(char *)"folder_only", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_folder_only, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_folder_only, __Pyx_DOCSTR(__pyx_k_549), 0},
+ {(char *)"is_save", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_is_save, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_is_save, __Pyx_DOCSTR(__pyx_k_550), 0},
+ {(char *)"inwin_mode", __pyx_getprop_10elementary_12c_elementary_18FileselectorButton_inwin_mode, __pyx_setprop_10elementary_12c_elementary_18FileselectorButton_inwin_mode, __Pyx_DOCSTR(__pyx_k_551), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_FileselectorButton = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_FileselectorButton = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_FileselectorButton = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_FileselectorButton = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryFileselectorButton_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.FileselectorButton"), /*tp_name*/
+ sizeof(struct PyElementaryFileselectorButton), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_FileselectorButton, /*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*/
+ &__pyx_tp_as_number_FileselectorButton, /*tp_as_number*/
+ &__pyx_tp_as_sequence_FileselectorButton, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_FileselectorButton, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_FileselectorButton, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is a button that, when clicked, creates an Elementary window (or\n inner window) with a L{Fileselector} \"file selector widget\" within.\n\n When a file is chosen, the (inner) window is closed and the button emits\n a signal having the selected file as it's C{event_info}.\n\n This widget encapsulates operations on its internal file selector on its\n own API. There is less control over its file selector than that one\n would have instantiating one directly.\n\n The following styles are available for this button:\n - C{\"default\"}\n - C{\"anchor\"}\n - C{\"hoversel_vertical\"}\n - C{\"hoversel_vertical_entry\"}\n\n This widget emits the following signals, besides the ones sent from\n L{Button}:\n - C{\"file,chosen\"} - the user has selected a path which comes as the\n C{event_info} data\n\n Default text parts of the fileselector_button widget that you can use for\n are:\n - \"default\" - Label of the fileselector_button\n\n Default content parts of the fileselector_button widget that you can use for\n are:\n - \"icon\" - Icon of the fileselector_button\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_FileselectorButton, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_FileselectorButton, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_FileselectorButton, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_FileselectorButton, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_18FileselectorButton_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_FileselectorButton, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Separator __pyx_vtable_10elementary_12c_elementary_Separator;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Separator(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementarySeparator *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementarySeparator *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Separator;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Separator_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Separator_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Separator_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Separator_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Separator[] = {
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Separator_3horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Separator_2horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Separator_5horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Separator_4horizontal_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Separator[] = {
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_9Separator_horizontal, __pyx_setprop_10elementary_12c_elementary_9Separator_horizontal, __Pyx_DOCSTR(__pyx_k_552), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Separator = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Separator = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Separator = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Separator = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementarySeparator_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Separator"), /*tp_name*/
+ sizeof(struct PyElementarySeparator), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Separator, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Separator, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Separator, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Separator, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Separator is a very thin object used to separate other objects.\n\n A separator can be vertical or horizontal.\n\n This widget emits the signals coming from L{Layout}.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Separator, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Separator, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_9Separator_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Separator, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Progressbar __pyx_vtable_10elementary_12c_elementary_Progressbar;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Progressbar(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryProgressbar *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryProgressbar *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Progressbar;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Progressbar_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_5value_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Progressbar_value(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_5value_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Progressbar_span_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_9span_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Progressbar_span_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_9span_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Progressbar_unit_format(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_11unit_format_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Progressbar_unit_format(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_11unit_format_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Progressbar_unit_format_function(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_20unit_format_function_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Progressbar_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Progressbar_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Progressbar_inverted(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_8inverted_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Progressbar_inverted(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Progressbar_8inverted_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Progressbar[] = {
+ {__Pyx_NAMESTR("pulse_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_3pulse_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_2pulse_set)},
+ {__Pyx_NAMESTR("pulse_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_5pulse_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_4pulse_get)},
+ {__Pyx_NAMESTR("pulse"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_7pulse, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_6pulse)},
+ {__Pyx_NAMESTR("value_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_9value_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_8value_set)},
+ {__Pyx_NAMESTR("value_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_11value_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_10value_get)},
+ {__Pyx_NAMESTR("span_size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_13span_size_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_12span_size_set)},
+ {__Pyx_NAMESTR("span_size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_15span_size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_14span_size_get)},
+ {__Pyx_NAMESTR("unit_format_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_17unit_format_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_16unit_format_set)},
+ {__Pyx_NAMESTR("unit_format_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_19unit_format_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_18unit_format_get)},
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_21horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_20horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_23horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_22horizontal_get)},
+ {__Pyx_NAMESTR("inverted_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_25inverted_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_24inverted_set)},
+ {__Pyx_NAMESTR("inverted_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_27inverted_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_26inverted_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_29callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Progressbar_28callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Progressbar_31callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Progressbar[] = {
+ {(char *)"value", __pyx_getprop_10elementary_12c_elementary_11Progressbar_value, __pyx_setprop_10elementary_12c_elementary_11Progressbar_value, __Pyx_DOCSTR(__pyx_k_553), 0},
+ {(char *)"span_size", __pyx_getprop_10elementary_12c_elementary_11Progressbar_span_size, __pyx_setprop_10elementary_12c_elementary_11Progressbar_span_size, __Pyx_DOCSTR(__pyx_k_554), 0},
+ {(char *)"unit_format", __pyx_getprop_10elementary_12c_elementary_11Progressbar_unit_format, __pyx_setprop_10elementary_12c_elementary_11Progressbar_unit_format, __Pyx_DOCSTR(__pyx_k_555), 0},
+ {(char *)"unit_format_function", 0, __pyx_setprop_10elementary_12c_elementary_11Progressbar_unit_format_function, __Pyx_DOCSTR(__pyx_k_556), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_11Progressbar_horizontal, __pyx_setprop_10elementary_12c_elementary_11Progressbar_horizontal, __Pyx_DOCSTR(__pyx_k_557), 0},
+ {(char *)"inverted", __pyx_getprop_10elementary_12c_elementary_11Progressbar_inverted, __pyx_setprop_10elementary_12c_elementary_11Progressbar_inverted, __Pyx_DOCSTR(__pyx_k_558), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Progressbar = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Progressbar = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Progressbar = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Progressbar = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryProgressbar_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Progressbar"), /*tp_name*/
+ sizeof(struct PyElementaryProgressbar), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Progressbar, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Progressbar, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Progressbar, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Progressbar, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The progress bar is a widget for visually representing the progress\n status of a given job/task.\n\n A progress bar may be horizontal or vertical. It may display an icon\n besides it, as well as primary and B{units} labels. The former is meant\n to label the widget as a whole, while the latter, which is formatted\n with floating point values (and thus accepts a C{printf}-style format\n string, like C{\"%1.2f units\"}), is meant to label the widget's B{progress\n value}. Label, icon and unit strings/objects are B{optional} for\n progress bars.\n\n A progress bar may be B{inverted}, in which case it gets its values\n inverted, i.e., high values being on the left or top and low values on\n the right or bottom, for horizontal and vertical modes respectively.\n\n The B{span} of the progress, as set by L{span_size_set()}, is its length\n (horizontally or vertically), unless one puts size hints on the widget\n to expand on desired directions, by any container. That length will be\n scaled by the object or applications scaling factor. Applications can\n query the progress bar for its value with L{value_get()}.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - when the value is changed\n\n This widget has the following styles:\n - C{\"default\"}\n - C{\"wheel\"} (simple style, no text, no progression, only \"pulse\"\n effect is available)\n\n Default text parts of the progressbar widget that you can use for are:\n - \"default\" - Label of the progressbar\n\n Default content parts of the progressbar widget that you can use for are:\n - \"icon\" - An icon of the progressbar\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Progressbar, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Progressbar, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_11Progressbar_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Progressbar, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_MenuItem __pyx_vtable_10elementary_12c_elementary_MenuItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MenuItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_MenuItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_MenuItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_MenuItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MenuItem_icon_name(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_9icon_name_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8MenuItem_icon_name(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_9icon_name_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MenuItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8MenuItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MenuItem_subitems(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_8subitems_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MenuItem_index(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_5index_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MenuItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_4next_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MenuItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MenuItem_4prev_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MenuItem[] = {
+ {__Pyx_NAMESTR("object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_3object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_2object_get)},
+ {__Pyx_NAMESTR("icon_name_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_5icon_name_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_4icon_name_set)},
+ {__Pyx_NAMESTR("icon_name_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_7icon_name_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_6icon_name_get)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_9selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_8selected_set)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_11selected_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_10selected_get)},
+ {__Pyx_NAMESTR("is_separator"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_13is_separator, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_12is_separator)},
+ {__Pyx_NAMESTR("subitems_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_15subitems_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_14subitems_get)},
+ {__Pyx_NAMESTR("index_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_17index_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_16index_get)},
+ {__Pyx_NAMESTR("next_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_19next_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_18next_get)},
+ {__Pyx_NAMESTR("prev_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MenuItem_21prev_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8MenuItem_20prev_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MenuItem[] = {
+ {(char *)"icon_name", __pyx_getprop_10elementary_12c_elementary_8MenuItem_icon_name, __pyx_setprop_10elementary_12c_elementary_8MenuItem_icon_name, __Pyx_DOCSTR(__pyx_k_559), 0},
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_8MenuItem_selected, __pyx_setprop_10elementary_12c_elementary_8MenuItem_selected, __Pyx_DOCSTR(__pyx_k_560), 0},
+ {(char *)"subitems", __pyx_getprop_10elementary_12c_elementary_8MenuItem_subitems, 0, __Pyx_DOCSTR(__pyx_k_561), 0},
+ {(char *)"index", __pyx_getprop_10elementary_12c_elementary_8MenuItem_index, 0, __Pyx_DOCSTR(__pyx_k_562), 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_8MenuItem_next, 0, __Pyx_DOCSTR(__pyx_k_563), 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_8MenuItem_prev, 0, __Pyx_DOCSTR(__pyx_k_564), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MenuItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MenuItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MenuItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MenuItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MenuItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MenuItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MenuItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_MenuItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MenuItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MenuItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MenuItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{Menu} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MenuItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MenuItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8MenuItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MenuItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_MenuSeparatorItem __pyx_vtable_10elementary_12c_elementary_MenuSeparatorItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MenuSeparatorItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_MenuSeparatorItem;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MenuSeparatorItem[] = {
+ {__Pyx_NAMESTR("is_separator"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17MenuSeparatorItem_3is_separator, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_17MenuSeparatorItem_2is_separator)},
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MenuSeparatorItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MenuSeparatorItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MenuSeparatorItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MenuSeparatorItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MenuSeparatorItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MenuSeparatorItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MenuSeparatorItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_MenuSeparatorItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MenuSeparatorItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MenuSeparatorItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MenuSeparatorItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MenuSeparatorItem, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_17MenuSeparatorItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MenuSeparatorItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Menu __pyx_vtable_10elementary_12c_elementary_Menu;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Menu(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryMenu *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryMenu *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Menu;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Menu_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Menu_6parent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4Menu_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4Menu_6parent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Menu_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Menu_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Menu_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Menu_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Menu_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Menu_9last_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Menu_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Menu_10first_item_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Menu[] = {
+ {__Pyx_NAMESTR("parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_3parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_2parent_set)},
+ {__Pyx_NAMESTR("parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_5parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_4parent_get)},
+ {__Pyx_NAMESTR("move"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_7move, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_6move)},
+ {__Pyx_NAMESTR("close"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_9close, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_8close)},
+ {__Pyx_NAMESTR("items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_11items_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_10items_get)},
+ {__Pyx_NAMESTR("item_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_13item_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_12item_add)},
+ {__Pyx_NAMESTR("item_separator_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_15item_separator_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_14item_separator_add)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_17selected_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_16selected_item_get)},
+ {__Pyx_NAMESTR("last_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_19last_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_18last_item_get)},
+ {__Pyx_NAMESTR("first_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_21first_item_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_20first_item_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_23callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Menu_22callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Menu_25callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Menu[] = {
+ {(char *)"parent", __pyx_getprop_10elementary_12c_elementary_4Menu_parent, __pyx_setprop_10elementary_12c_elementary_4Menu_parent, __Pyx_DOCSTR(__pyx_k_565), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_4Menu_items, 0, __Pyx_DOCSTR(__pyx_k_566), 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_4Menu_selected_item, 0, __Pyx_DOCSTR(__pyx_k_567), 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_4Menu_last_item, 0, __Pyx_DOCSTR(__pyx_k_568), 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_4Menu_first_item, 0, __Pyx_DOCSTR(__pyx_k_569), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Menu = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Menu = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Menu = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Menu = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryMenu_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Menu"), /*tp_name*/
+ sizeof(struct PyElementaryMenu), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Menu, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Menu, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Menu, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Menu, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A menu is a list of items displayed above its parent.\n\n When the menu is showing its parent is darkened. Each item can have a\n sub-menu. The menu object can be used to display a menu on a right click\n event, in a toolbar, anywhere.\n\n Signals that you can add callbacks for are:\n - \"clicked\" - the user clicked the empty space in the menu to dismiss.\n\n Default content parts of the menu items that you can use for are:\n - \"default\" - A main content of the menu item\n\n Default text parts of the menu items that you can use for are:\n - \"default\" - label in the menu item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Menu, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Menu, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_4Menu_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Menu, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Panel __pyx_vtable_10elementary_12c_elementary_Panel;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Panel(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPanel *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPanel *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Panel;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Panel_orient(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Panel_6orient_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Panel_orient(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Panel_6orient_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Panel_hidden(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Panel_6hidden_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Panel_hidden(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Panel_6hidden_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Panel[] = {
+ {__Pyx_NAMESTR("orient_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panel_3orient_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panel_2orient_set)},
+ {__Pyx_NAMESTR("orient_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panel_5orient_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panel_4orient_get)},
+ {__Pyx_NAMESTR("hidden_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panel_7hidden_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panel_6hidden_set)},
+ {__Pyx_NAMESTR("hidden_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panel_9hidden_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panel_8hidden_get)},
+ {__Pyx_NAMESTR("toggle"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panel_11toggle, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panel_10toggle)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Panel[] = {
+ {(char *)"orient", __pyx_getprop_10elementary_12c_elementary_5Panel_orient, __pyx_setprop_10elementary_12c_elementary_5Panel_orient, __Pyx_DOCSTR(__pyx_k_570), 0},
+ {(char *)"hidden", __pyx_getprop_10elementary_12c_elementary_5Panel_hidden, __pyx_setprop_10elementary_12c_elementary_5Panel_hidden, __Pyx_DOCSTR(__pyx_k_571), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Panel = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Panel = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Panel = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Panel = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPanel_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Panel"), /*tp_name*/
+ sizeof(struct PyElementaryPanel), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Panel, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Panel, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Panel, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Panel, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A panel is a type of animated container that contains subobjects.\n\n It can be expanded or contracted by clicking the button on it's edge.\n\n Orientations are as follows:\n - ELM_PANEL_ORIENT_TOP\n - ELM_PANEL_ORIENT_LEFT\n - ELM_PANEL_ORIENT_RIGHT\n\n Default content parts of the panel widget that you can use for are:\n - \"default\" - A content of the panel\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Panel, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Panel, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Panel_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Panel, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Web __pyx_vtable_10elementary_12c_elementary_Web;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Web(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryWeb *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryWeb *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Web;
+ p->_console_message_hook = Py_None; Py_INCREF(Py_None);
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Web(PyObject *o) {
+ struct PyElementaryWeb *p = (struct PyElementaryWeb *)o;
+ Py_XDECREF(p->_console_message_hook);
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_Web(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct PyElementaryWeb *p = (struct PyElementaryWeb *)o;
+ e = __pyx_tp_traverse_10elementary_12c_elementary_Object(o, v, a); if (e) return e;
+ if (p->_console_message_hook) {
+ e = (*v)(p->_console_message_hook, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_Web(PyObject *o) {
+ struct PyElementaryWeb *p = (struct PyElementaryWeb *)o;
+ PyObject* tmp;
+ __pyx_tp_clear_10elementary_12c_elementary_Object(o);
+ tmp = ((PyObject*)p->_console_message_hook);
+ p->_console_message_hook = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Web_uri(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Web_3uri_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Web_uri(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Web_3uri_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Web[] = {
+ {__Pyx_NAMESTR("callback_uri_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_3callback_uri_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_uri_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_5callback_uri_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_title_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_7callback_title_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_title_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_9callback_title_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_link_hover_in_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_11callback_link_hover_in_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_link_hover_in_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_13callback_link_hover_in_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_link_hover_out_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_15callback_link_hover_out_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_link_hover_out_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_17callback_link_hover_out_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_error_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_19callback_load_error_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_error_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_21callback_load_error_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_finished_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_23callback_load_finished_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_finished_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_25callback_load_finished_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_progress_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_27callback_load_progress_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_progress_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_29callback_load_progress_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_provisional_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_31callback_load_provisional_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_provisional_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_33callback_load_provisional_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_started_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_35callback_load_started_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_started_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_37callback_load_started_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("history_enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_39history_enabled_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("webkit_view_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_41webkit_view_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("uri_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_43uri_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("uri_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_45uri_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("useragent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_47useragent_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_49zoom_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_51zoom_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("back"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_53back, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("console_message_hook_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Web_55console_message_hook_set, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Web[] = {
+ {(char *)"uri", __pyx_getprop_10elementary_12c_elementary_3Web_uri, __pyx_setprop_10elementary_12c_elementary_3Web_uri, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Web = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Web = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Web = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Web = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryWeb_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Web"), /*tp_name*/
+ sizeof(struct PyElementaryWeb), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Web, /*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*/
+ &__pyx_tp_as_number_Web, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Web, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Web, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Web, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Web, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Web, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Web, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Web, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_3Web_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Web, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Actionslider __pyx_vtable_10elementary_12c_elementary_Actionslider;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Actionslider(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryActionslider *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryActionslider *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Actionslider;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Actionslider_selected_label(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_14selected_label_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Actionslider_indicator_pos(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_13indicator_pos_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Actionslider_indicator_pos(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_13indicator_pos_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Actionslider_magnet_pos(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_10magnet_pos_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Actionslider_magnet_pos(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_10magnet_pos_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Actionslider_enabled_pos(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_11enabled_pos_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Actionslider_enabled_pos(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Actionslider_11enabled_pos_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Actionslider[] = {
+ {__Pyx_NAMESTR("selected_label_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_3selected_label_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_2selected_label_get)},
+ {__Pyx_NAMESTR("indicator_pos_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_5indicator_pos_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_4indicator_pos_set)},
+ {__Pyx_NAMESTR("indicator_pos_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_7indicator_pos_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_6indicator_pos_get)},
+ {__Pyx_NAMESTR("magnet_pos_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_9magnet_pos_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_8magnet_pos_set)},
+ {__Pyx_NAMESTR("magnet_pos_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_11magnet_pos_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_10magnet_pos_get)},
+ {__Pyx_NAMESTR("enabled_pos_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_13enabled_pos_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_12enabled_pos_set)},
+ {__Pyx_NAMESTR("enabled_pos_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_15enabled_pos_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_14enabled_pos_get)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_17callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_16callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_19callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_pos_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_21callback_pos_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Actionslider_20callback_pos_changed_add)},
+ {__Pyx_NAMESTR("callback_pos_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Actionslider_23callback_pos_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Actionslider[] = {
+ {(char *)"selected_label", __pyx_getprop_10elementary_12c_elementary_12Actionslider_selected_label, 0, __Pyx_DOCSTR(__pyx_k_572), 0},
+ {(char *)"indicator_pos", __pyx_getprop_10elementary_12c_elementary_12Actionslider_indicator_pos, __pyx_setprop_10elementary_12c_elementary_12Actionslider_indicator_pos, __Pyx_DOCSTR(__pyx_k_573), 0},
+ {(char *)"magnet_pos", __pyx_getprop_10elementary_12c_elementary_12Actionslider_magnet_pos, __pyx_setprop_10elementary_12c_elementary_12Actionslider_magnet_pos, __Pyx_DOCSTR(__pyx_k_574), 0},
+ {(char *)"enabled_pos", __pyx_getprop_10elementary_12c_elementary_12Actionslider_enabled_pos, __pyx_setprop_10elementary_12c_elementary_12Actionslider_enabled_pos, __Pyx_DOCSTR(__pyx_k_575), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Actionslider = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Actionslider = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Actionslider = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Actionslider = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryActionslider_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Actionslider"), /*tp_name*/
+ sizeof(struct PyElementaryActionslider), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Actionslider, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Actionslider, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Actionslider, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Actionslider, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An actionslider is a switcher for two or three labels with\n customizable magnet properties.\n\n The user drags and releases the indicator, to choose a label.\n\n Labels can occupy the following positions.\n - Left\n - Right\n - Center\n\n Positions can be enabled or disabled.\n\n Magnets can be set on the above positions.\n\n When the indicator is released, it will move to its nearest \"enabled and\n magnetized\" position.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - B{selected} - when user selects an enabled position (the label is\n passed as event info)\".\n - B{pos_changed} - when the indicator reaches any of the\n positions(\"left\", \"right\" or \"center\").\n\n Default text parts of the actionslider widget that you can use for are:\n - B{indicator} - An indicator label of the actionslider\n - B{left} - A left label of the actionslider\n - B{right} - A right label of the actionslider\n - B{center} - A center label of the actionslider\n\n @note: By default all positions are set as enabled.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Actionslider, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Actionslider, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12Actionslider_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Actionslider, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_CalendarMark(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_CalendarMark(PyObject *o) {
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_CalendarMark[] = {
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12CalendarMark_3delete, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12CalendarMark_2delete)},
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_CalendarMark = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_CalendarMark = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_CalendarMark = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_CalendarMark = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_CalendarMark = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.CalendarMark"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_CalendarMark), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_CalendarMark, /*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*/
+ &__pyx_tp_as_number_CalendarMark, /*tp_as_number*/
+ &__pyx_tp_as_sequence_CalendarMark, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_CalendarMark, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_CalendarMark, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_CalendarMark, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12CalendarMark_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_CalendarMark, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Calendar __pyx_vtable_10elementary_12c_elementary_Calendar;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Calendar(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryCalendar *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryCalendar *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Calendar;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Calendar_weekdays_names(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_14weekdays_names_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_weekdays_names(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_14weekdays_names_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Calendar_min_max_year(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_12min_max_year_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_min_max_year(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_12min_max_year_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Calendar_select_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_11select_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_select_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_11select_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Calendar_selected_time(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_13selected_time_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_selected_time(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_13selected_time_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_marks(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ PyErr_SetString(PyExc_NotImplementedError, "__set__");
+ return -1;
+ }
+ else {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_5marks_1__del__(o);
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Calendar_interval(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_8interval_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_interval(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_8interval_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Calendar_first_day_of_week(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_17first_day_of_week_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Calendar_first_day_of_week(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Calendar_17first_day_of_week_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Calendar[] = {
+ {__Pyx_NAMESTR("format_function_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Calendar_3format_function_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Calendar_2format_function_set)},
+ {__Pyx_NAMESTR("mark_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Calendar_5mark_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Calendar_4mark_add)},
+ {__Pyx_NAMESTR("marks_draw"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Calendar_7marks_draw, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Calendar_6marks_draw)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Calendar_9callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Calendar_8callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Calendar_11callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Calendar[] = {
+ {(char *)"weekdays_names", __pyx_getprop_10elementary_12c_elementary_8Calendar_weekdays_names, __pyx_setprop_10elementary_12c_elementary_8Calendar_weekdays_names, __Pyx_DOCSTR(__pyx_k_576), 0},
+ {(char *)"min_max_year", __pyx_getprop_10elementary_12c_elementary_8Calendar_min_max_year, __pyx_setprop_10elementary_12c_elementary_8Calendar_min_max_year, __Pyx_DOCSTR(__pyx_k_577), 0},
+ {(char *)"select_mode", __pyx_getprop_10elementary_12c_elementary_8Calendar_select_mode, __pyx_setprop_10elementary_12c_elementary_8Calendar_select_mode, __Pyx_DOCSTR(__pyx_k_578), 0},
+ {(char *)"selected_time", __pyx_getprop_10elementary_12c_elementary_8Calendar_selected_time, __pyx_setprop_10elementary_12c_elementary_8Calendar_selected_time, __Pyx_DOCSTR(__pyx_k_579), 0},
+ {(char *)"marks", 0, __pyx_setprop_10elementary_12c_elementary_8Calendar_marks, __Pyx_DOCSTR(__pyx_k_580), 0},
+ {(char *)"interval", __pyx_getprop_10elementary_12c_elementary_8Calendar_interval, __pyx_setprop_10elementary_12c_elementary_8Calendar_interval, __Pyx_DOCSTR(__pyx_k_581), 0},
+ {(char *)"first_day_of_week", __pyx_getprop_10elementary_12c_elementary_8Calendar_first_day_of_week, __pyx_setprop_10elementary_12c_elementary_8Calendar_first_day_of_week, __Pyx_DOCSTR(__pyx_k_582), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Calendar = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Calendar = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Calendar = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Calendar = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryCalendar_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Calendar"), /*tp_name*/
+ sizeof(struct PyElementaryCalendar), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Calendar, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Calendar, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Calendar, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Calendar, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is a calendar widget.\n\n It helps applications to flexibly display a calender with day of the week,\n date, year and month. Applications are able to set specific dates to be\n reported back, when selected, in the smart callbacks of the calendar widget.\n The API of this widget lets the applications perform other functions, like:\n - placing marks on specific dates\n - setting the bounds for the calendar (minimum and maximum years)\n - setting the day names of the week (e.g. \"Thu\" or \"Thursday\")\n - setting the year and month format.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{changed} - emitted when the date in the calendar is changed.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Calendar, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Calendar, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8Calendar_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Calendar, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_ColorselectorPaletteItem __pyx_vtable_10elementary_12c_elementary_ColorselectorPaletteItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_ColorselectorPaletteItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_ColorselectorPaletteItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_24ColorselectorPaletteItem_color(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_24ColorselectorPaletteItem_color(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_ColorselectorPaletteItem[] = {
+ {__Pyx_NAMESTR("color_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_3color_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("color_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_5color_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_ColorselectorPaletteItem[] = {
+ {(char *)"color", __pyx_getprop_10elementary_12c_elementary_24ColorselectorPaletteItem_color, __pyx_setprop_10elementary_12c_elementary_24ColorselectorPaletteItem_color, __Pyx_DOCSTR(__pyx_k_583), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_ColorselectorPaletteItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_ColorselectorPaletteItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_ColorselectorPaletteItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_ColorselectorPaletteItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_ColorselectorPaletteItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.ColorselectorPaletteItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_ColorselectorPaletteItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_ColorselectorPaletteItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_ColorselectorPaletteItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_ColorselectorPaletteItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_ColorselectorPaletteItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{Colorselector} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_ColorselectorPaletteItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_ColorselectorPaletteItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_24ColorselectorPaletteItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_ColorselectorPaletteItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Colorselector __pyx_vtable_10elementary_12c_elementary_Colorselector;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Colorselector(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryColorselector *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryColorselector *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Colorselector;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Colorselector_color(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Colorselector_5color_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Colorselector_color(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Colorselector_5color_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Colorselector_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Colorselector_4mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Colorselector_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Colorselector_4mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13Colorselector_palette_name(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13Colorselector_12palette_name_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_13Colorselector_palette_name(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_13Colorselector_12palette_name_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Colorselector[] = {
+ {__Pyx_NAMESTR("color_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_3color_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_2color_set)},
+ {__Pyx_NAMESTR("color_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_5color_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_4color_get)},
+ {__Pyx_NAMESTR("mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_7mode_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_6mode_set)},
+ {__Pyx_NAMESTR("mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_9mode_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_8mode_get)},
+ {__Pyx_NAMESTR("palette_color_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_11palette_color_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_10palette_color_add)},
+ {__Pyx_NAMESTR("palette_clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_13palette_clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_12palette_clear)},
+ {__Pyx_NAMESTR("palette_name_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_15palette_name_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_14palette_name_set)},
+ {__Pyx_NAMESTR("palette_name_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_17palette_name_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_16palette_name_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_19callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_18callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_21callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_color_item_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_23callback_color_item_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_22callback_color_item_selected_add)},
+ {__Pyx_NAMESTR("callback_color_item_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_25callback_color_item_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_color_item_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_27callback_color_item_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13Colorselector_26callback_color_item_longpressed_add)},
+ {__Pyx_NAMESTR("callback_color_item_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13Colorselector_29callback_color_item_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Colorselector[] = {
+ {(char *)"color", __pyx_getprop_10elementary_12c_elementary_13Colorselector_color, __pyx_setprop_10elementary_12c_elementary_13Colorselector_color, __Pyx_DOCSTR(__pyx_k_584), 0},
+ {(char *)"mode", __pyx_getprop_10elementary_12c_elementary_13Colorselector_mode, __pyx_setprop_10elementary_12c_elementary_13Colorselector_mode, __Pyx_DOCSTR(__pyx_k_585), 0},
+ {(char *)"palette_name", __pyx_getprop_10elementary_12c_elementary_13Colorselector_palette_name, __pyx_setprop_10elementary_12c_elementary_13Colorselector_palette_name, __Pyx_DOCSTR(__pyx_k_586), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Colorselector = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Colorselector = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Colorselector = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Colorselector = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryColorselector_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Colorselector"), /*tp_name*/
+ sizeof(struct PyElementaryColorselector), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Colorselector, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Colorselector, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Colorselector, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Colorselector, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A Colorselector is a color selection widget.\n\n It allows application to set a series of colors. It also allows to\n load/save colors from/to config with a unique identifier, by default,\n the colors are loaded/saved from/to config using \"default\" identifier.\n The colors can be picked by user from the color set by clicking on\n individual color item on the palette or by selecting it from selector.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - When the color value changes on selector\n - C{\"color,item,selected\"} - When user clicks on color item.\n The event_info parameter of the callback will be the selected\n color item.\n - C{\"color,item,longpressed\"} - When user long presses on color item.\n The event_info parameter of the callback will be the selected\n color item.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Colorselector, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Colorselector, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_13Colorselector_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Colorselector, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_IndexItem __pyx_vtable_10elementary_12c_elementary_IndexItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_IndexItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_IndexItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_IndexItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_IndexItem;
+ return o;
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9IndexItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9IndexItem_8selected_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9IndexItem_letter(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9IndexItem_6letter_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_IndexItem[] = {
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9IndexItem_3selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9IndexItem_2selected_set)},
+ {__Pyx_NAMESTR("letter_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9IndexItem_5letter_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9IndexItem_4letter_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_IndexItem[] = {
+ {(char *)"selected", 0, __pyx_setprop_10elementary_12c_elementary_9IndexItem_selected, __Pyx_DOCSTR(__pyx_k_587), 0},
+ {(char *)"letter", __pyx_getprop_10elementary_12c_elementary_9IndexItem_letter, 0, __Pyx_DOCSTR(__pyx_k_588), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_IndexItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_IndexItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_IndexItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_IndexItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_IndexItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.IndexItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_IndexItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_IndexItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_IndexItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_IndexItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_IndexItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_IndexItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_IndexItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_9IndexItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_IndexItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Index __pyx_vtable_10elementary_12c_elementary_Index;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Index(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryIndex *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryIndex *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Index;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Index_autohide_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_17autohide_disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Index_autohide_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_17autohide_disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Index_item_level(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_10item_level_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Index_item_level(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_10item_level_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Index_indicator_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_18indicator_disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Index_indicator_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_18indicator_disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Index_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Index_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Index_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Index[] = {
+ {__Pyx_NAMESTR("autohide_disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_3autohide_disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_2autohide_disabled_set)},
+ {__Pyx_NAMESTR("autohide_disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_5autohide_disabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_4autohide_disabled_get)},
+ {__Pyx_NAMESTR("item_level_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_7item_level_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_6item_level_set)},
+ {__Pyx_NAMESTR("item_level_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_9item_level_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_8item_level_get)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_11selected_item_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_10selected_item_get)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_13item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_12item_append)},
+ {__Pyx_NAMESTR("item_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_15item_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_14item_prepend)},
+ {__Pyx_NAMESTR("item_insert_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_17item_insert_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_16item_insert_after)},
+ {__Pyx_NAMESTR("item_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_19item_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_18item_insert_before)},
+ {__Pyx_NAMESTR("item_find"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_21item_find, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_20item_find)},
+ {__Pyx_NAMESTR("item_clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_23item_clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_22item_clear)},
+ {__Pyx_NAMESTR("level_go"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_25level_go, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_24level_go)},
+ {__Pyx_NAMESTR("indicator_disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_27indicator_disabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_26indicator_disabled_set)},
+ {__Pyx_NAMESTR("indicator_disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_29indicator_disabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_28indicator_disabled_get)},
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_31horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_30horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_33horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_32horizontal_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_35callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_34callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_37callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_delay_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_39callback_delay_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_38callback_delay_changed_add)},
+ {__Pyx_NAMESTR("callback_delay_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_41callback_delay_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_43callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_42callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_45callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_level_up_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_47callback_level_up_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_46callback_level_up_add)},
+ {__Pyx_NAMESTR("callback_level_up_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_49callback_level_up_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_level_down_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_51callback_level_down_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Index_50callback_level_down_add)},
+ {__Pyx_NAMESTR("callback_level_down_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Index_53callback_level_down_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Index[] = {
+ {(char *)"autohide_disabled", __pyx_getprop_10elementary_12c_elementary_5Index_autohide_disabled, __pyx_setprop_10elementary_12c_elementary_5Index_autohide_disabled, __Pyx_DOCSTR(__pyx_k_589), 0},
+ {(char *)"item_level", __pyx_getprop_10elementary_12c_elementary_5Index_item_level, __pyx_setprop_10elementary_12c_elementary_5Index_item_level, __Pyx_DOCSTR(__pyx_k_590), 0},
+ {(char *)"indicator_disabled", __pyx_getprop_10elementary_12c_elementary_5Index_indicator_disabled, __pyx_setprop_10elementary_12c_elementary_5Index_indicator_disabled, __Pyx_DOCSTR(__pyx_k_591), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_5Index_horizontal, __pyx_setprop_10elementary_12c_elementary_5Index_horizontal, __Pyx_DOCSTR(__pyx_k_592), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Index = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Index = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Index = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Index = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryIndex_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Index"), /*tp_name*/
+ sizeof(struct PyElementaryIndex), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Index, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Index, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Index, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Index, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An index widget gives you an index for fast access to whichever\n group of other UI items one might have.\n\n It's a list of text items (usually letters, for alphabetically ordered\n access).\n\n Index widgets are by default hidden and just appear when the\n user clicks over it's reserved area in the canvas. In its\n default theme, it's an area one C{finger} wide on\n the right side of the index widget's container.\n\n When items on the index are selected, smart callbacks get\n called, so that its user can make other container objects to\n show a given area or child object depending on the index item\n selected. You'd probably be using an index together with L{List}s,\n L{Genlist}s or L{Gengrid}s.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - When the selected index item changes. C{event_info}\n is the selected item's data pointer.\n - C{\"delay,changed\"} - When the selected index item changes, but\n after a small idling period. C{event_info} is the selected\n item's data pointer.\n - C{\"selected\"} - When the user releases a mouse button and\n selects an item. C{event_info} is the selected item's data\n pointer.\n - C{\"level,up\"} - when the user moves a finger from the first\n level to the second level\n - C{\"level,down\"} - when the user moves a finger from the second\n level to the first level\n\n The C{\"delay,changed\"} event is so that it'll wait a small time\n before actually reporting those events and, moreover, just the\n last event happening on those time frames will actually be\n reported.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Index, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Index, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Index_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Index, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_CtxpopupItem __pyx_vtable_10elementary_12c_elementary_CtxpopupItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_CtxpopupItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_CtxpopupItem;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_CtxpopupItem[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_CtxpopupItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_CtxpopupItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_CtxpopupItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_CtxpopupItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_CtxpopupItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.CtxpopupItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_CtxpopupItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_CtxpopupItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_CtxpopupItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_CtxpopupItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_CtxpopupItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_CtxpopupItem, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12CtxpopupItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_CtxpopupItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Ctxpopup __pyx_vtable_10elementary_12c_elementary_Ctxpopup;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Ctxpopup(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryCtxpopup *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryCtxpopup *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Ctxpopup;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Ctxpopup_parent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_6parent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Ctxpopup_parent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_6parent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Ctxpopup_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_10horizontal_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Ctxpopup_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_10horizontal_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Ctxpopup_direction_priority(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_18direction_priority_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Ctxpopup_direction_priority(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_18direction_priority_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Ctxpopup_direction(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Ctxpopup_9direction_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Ctxpopup[] = {
+ {__Pyx_NAMESTR("hover_parent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_3hover_parent_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_2hover_parent_set)},
+ {__Pyx_NAMESTR("hover_parent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_5hover_parent_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_4hover_parent_get)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_7clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_6clear)},
+ {__Pyx_NAMESTR("horizontal_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_9horizontal_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_8horizontal_set)},
+ {__Pyx_NAMESTR("horizontal_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_11horizontal_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_10horizontal_get)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_13item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_12item_append)},
+ {__Pyx_NAMESTR("direction_priority_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_15direction_priority_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_14direction_priority_set)},
+ {__Pyx_NAMESTR("direction_priority_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_17direction_priority_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_16direction_priority_get)},
+ {__Pyx_NAMESTR("direction_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_19direction_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_18direction_get)},
+ {__Pyx_NAMESTR("dismiss"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_21dismiss, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_20dismiss)},
+ {__Pyx_NAMESTR("callback_dismissed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_23callback_dismissed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Ctxpopup_22callback_dismissed_add)},
+ {__Pyx_NAMESTR("callback_dismissed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Ctxpopup_25callback_dismissed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Ctxpopup[] = {
+ {(char *)"parent", __pyx_getprop_10elementary_12c_elementary_8Ctxpopup_parent, __pyx_setprop_10elementary_12c_elementary_8Ctxpopup_parent, __Pyx_DOCSTR(__pyx_k_593), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_8Ctxpopup_horizontal, __pyx_setprop_10elementary_12c_elementary_8Ctxpopup_horizontal, __Pyx_DOCSTR(__pyx_k_594), 0},
+ {(char *)"direction_priority", __pyx_getprop_10elementary_12c_elementary_8Ctxpopup_direction_priority, __pyx_setprop_10elementary_12c_elementary_8Ctxpopup_direction_priority, __Pyx_DOCSTR(__pyx_k_595), 0},
+ {(char *)"direction", __pyx_getprop_10elementary_12c_elementary_8Ctxpopup_direction, 0, __Pyx_DOCSTR(__pyx_k_596), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Ctxpopup = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Ctxpopup = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Ctxpopup = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Ctxpopup = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryCtxpopup_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Ctxpopup"), /*tp_name*/
+ sizeof(struct PyElementaryCtxpopup), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Ctxpopup, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Ctxpopup, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Ctxpopup, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Ctxpopup, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Context popup widget.\n\n A ctxpopup is a widget that, when shown, pops up a list of items. It\n automatically chooses an area inside its parent object's view to\n optimally fit into it. In the default theme, it will also point an arrow\n to it's top left position at the time one shows it. Ctxpopup items have\n a label and/or an icon. It is intended for a small number of items\n (hence the use of list, not genlist).\n\n Signals that you can add callbacks for are:\n - \"dismissed\" - the ctxpopup was dismissed\n\n Default content parts of the ctxpopup widget that you can use for are:\n - \"default\" - A content of the ctxpopup\n\n Default content parts of the ctxpopup items that you can use for are:\n - \"icon\" - An icon in the title area\n\n Default text parts of the ctxpopup items that you can use for are:\n - \"default\" - Title label in the title area\n\n @note: Ctxpopup is a specialization of L{Hover}.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Ctxpopup, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Ctxpopup, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8Ctxpopup_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Ctxpopup, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Grid __pyx_vtable_10elementary_12c_elementary_Grid;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Grid(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryGrid *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryGrid *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Grid;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Grid_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Grid_4size_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_4Grid_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_4Grid_4size_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Grid_children(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Grid_8children_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Grid[] = {
+ {__Pyx_NAMESTR("size_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_3size_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_2size_set)},
+ {__Pyx_NAMESTR("size_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_5size_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_4size_get)},
+ {__Pyx_NAMESTR("pack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_7pack, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_6pack)},
+ {__Pyx_NAMESTR("unpack"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_9unpack, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_8unpack)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_11clear, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_10clear)},
+ {__Pyx_NAMESTR("pack_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_13pack_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_12pack_set)},
+ {__Pyx_NAMESTR("pack_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_15pack_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_14pack_get)},
+ {__Pyx_NAMESTR("children_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Grid_17children_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Grid_16children_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Grid[] = {
+ {(char *)"size", __pyx_getprop_10elementary_12c_elementary_4Grid_size, __pyx_setprop_10elementary_12c_elementary_4Grid_size, __Pyx_DOCSTR(__pyx_k_597), 0},
+ {(char *)"children", __pyx_getprop_10elementary_12c_elementary_4Grid_children, 0, __Pyx_DOCSTR(__pyx_k_598), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Grid = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Grid = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Grid = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Grid = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryGrid_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Grid"), /*tp_name*/
+ sizeof(struct PyElementaryGrid), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Grid, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Grid, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Grid, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Grid, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A grid layout widget.\n\n The grid is a grid layout widget that lays out a series of children as a\n fixed \"grid\" of widgets using a given percentage of the grid width and\n height each using the child object.\n\n The Grid uses a \"Virtual resolution\" that is stretched to fill the grid\n widgets size itself. The default is 100 x 100, so that means the\n position and sizes of children will effectively be percentages (0 to 100)\n of the width or height of the grid widget.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Grid, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Grid, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_4Grid_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Grid, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Video __pyx_vtable_10elementary_12c_elementary_Video;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Video(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryVideo *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryVideo *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Video;
+ return o;
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Video_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_4file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_emotion(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_7emotion_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_is_playing(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_10is_playing_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_is_seekable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_11is_seekable_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_audio_mute(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_10audio_mute_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Video_audio_mute(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_10audio_mute_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_audio_level(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_11audio_level_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Video_audio_level(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_11audio_level_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_play_position(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_13play_position_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Video_play_position(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_13play_position_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_play_length(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_11play_length_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_remember_position(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_17remember_position_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Video_remember_position(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_17remember_position_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Video_title(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Video_5title_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Video[] = {
+ {__Pyx_NAMESTR("file_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_3file_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_2file_set)},
+ {__Pyx_NAMESTR("emotion_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_5emotion_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_4emotion_get)},
+ {__Pyx_NAMESTR("play"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_7play, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_6play)},
+ {__Pyx_NAMESTR("pause"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_9pause, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_8pause)},
+ {__Pyx_NAMESTR("stop"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_11stop, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_10stop)},
+ {__Pyx_NAMESTR("is_playing_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_13is_playing_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_12is_playing_get)},
+ {__Pyx_NAMESTR("is_seekable_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_15is_seekable_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_14is_seekable_get)},
+ {__Pyx_NAMESTR("audio_mute_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_17audio_mute_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_16audio_mute_get)},
+ {__Pyx_NAMESTR("audio_mute_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_19audio_mute_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_18audio_mute_set)},
+ {__Pyx_NAMESTR("audio_level_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_21audio_level_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_20audio_level_get)},
+ {__Pyx_NAMESTR("audio_level_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_23audio_level_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_22audio_level_set)},
+ {__Pyx_NAMESTR("play_position_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_25play_position_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_24play_position_get)},
+ {__Pyx_NAMESTR("play_position_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_27play_position_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_26play_position_set)},
+ {__Pyx_NAMESTR("play_length_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_29play_length_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_28play_length_get)},
+ {__Pyx_NAMESTR("remember_position_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_31remember_position_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_30remember_position_set)},
+ {__Pyx_NAMESTR("remember_position_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_33remember_position_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_32remember_position_get)},
+ {__Pyx_NAMESTR("title_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Video_35title_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Video_34title_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Video[] = {
+ {(char *)"file", 0, __pyx_setprop_10elementary_12c_elementary_5Video_file, __Pyx_DOCSTR(__pyx_k_599), 0},
+ {(char *)"emotion", __pyx_getprop_10elementary_12c_elementary_5Video_emotion, 0, __Pyx_DOCSTR(__pyx_k_600), 0},
+ {(char *)"is_playing", __pyx_getprop_10elementary_12c_elementary_5Video_is_playing, 0, __Pyx_DOCSTR(__pyx_k_601), 0},
+ {(char *)"is_seekable", __pyx_getprop_10elementary_12c_elementary_5Video_is_seekable, 0, __Pyx_DOCSTR(__pyx_k_602), 0},
+ {(char *)"audio_mute", __pyx_getprop_10elementary_12c_elementary_5Video_audio_mute, __pyx_setprop_10elementary_12c_elementary_5Video_audio_mute, __Pyx_DOCSTR(__pyx_k_603), 0},
+ {(char *)"audio_level", __pyx_getprop_10elementary_12c_elementary_5Video_audio_level, __pyx_setprop_10elementary_12c_elementary_5Video_audio_level, __Pyx_DOCSTR(__pyx_k_604), 0},
+ {(char *)"play_position", __pyx_getprop_10elementary_12c_elementary_5Video_play_position, __pyx_setprop_10elementary_12c_elementary_5Video_play_position, __Pyx_DOCSTR(__pyx_k_605), 0},
+ {(char *)"play_length", __pyx_getprop_10elementary_12c_elementary_5Video_play_length, 0, __Pyx_DOCSTR(__pyx_k_606), 0},
+ {(char *)"remember_position", __pyx_getprop_10elementary_12c_elementary_5Video_remember_position, __pyx_setprop_10elementary_12c_elementary_5Video_remember_position, __Pyx_DOCSTR(__pyx_k_607), 0},
+ {(char *)"title", __pyx_getprop_10elementary_12c_elementary_5Video_title, 0, __Pyx_DOCSTR(__pyx_k_608), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Video = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Video = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Video = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Video = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryVideo_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Video"), /*tp_name*/
+ sizeof(struct PyElementaryVideo), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Video, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Video, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Video, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Video, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Display a video by using Emotion.\n\n It embeds the video inside an Edje object, so you can do some\n animation depending on the video state change. It also implements a\n resource management policy to remove this burden from the application.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Video, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Video, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Video_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Video, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Player __pyx_vtable_10elementary_12c_elementary_Player;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Player(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPlayer *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPlayer *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Player;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Player[] = {
+ {__Pyx_NAMESTR("callback_forward_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_3callback_forward_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_2callback_forward_clicked_add)},
+ {__Pyx_NAMESTR("callback_forward_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_5callback_forward_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_info_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_7callback_info_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_6callback_info_clicked_add)},
+ {__Pyx_NAMESTR("callback_info_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_9callback_info_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_next_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_11callback_next_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_10callback_next_clicked_add)},
+ {__Pyx_NAMESTR("callback_next_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_13callback_next_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_pause_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_15callback_pause_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_14callback_pause_clicked_add)},
+ {__Pyx_NAMESTR("callback_pause_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_17callback_pause_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_play_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_19callback_play_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_18callback_play_clicked_add)},
+ {__Pyx_NAMESTR("callback_play_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_21callback_play_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_prev_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_23callback_prev_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_22callback_prev_clicked_add)},
+ {__Pyx_NAMESTR("callback_prev_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_25callback_prev_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_rewind_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_27callback_rewind_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_26callback_rewind_clicked_add)},
+ {__Pyx_NAMESTR("callback_rewind_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_29callback_rewind_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_stop_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_31callback_stop_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Player_30callback_stop_clicked_add)},
+ {__Pyx_NAMESTR("callback_stop_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Player_33callback_stop_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Player = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Player = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Player = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Player = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPlayer_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Player"), /*tp_name*/
+ sizeof(struct PyElementaryPlayer), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Player, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Player, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Player, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Player, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Player is a video player that need to be linked with a L{Video}.\n\n It takes care of updating its content according to Emotion events and\n provides a way to theme itself. It also automatically raises the priority of\n the linked L{Video} so it will use the video decoder, if available. It also\n activates the \"remember\" function on the linked L{Video} object.\n\n The player widget emits the following signals, besides the ones\n sent from L{Layout}:\n - C{\"forward,clicked\"} - the user clicked the forward button.\n - C{\"info,clicked\"} - the user clicked the info button.\n - C{\"next,clicked\"} - the user clicked the next button.\n - C{\"pause,clicked\"} - the user clicked the pause button.\n - C{\"play,clicked\"} - the user clicked the play button.\n - C{\"prev,clicked\"} - the user clicked the prev button.\n - C{\"rewind,clicked\"} - the user clicked the rewind button.\n - C{\"stop,clicked\"} - the user clicked the stop button.\n\n Default content parts of the player widget that you can use for are:\n - \"video\" - A video of the player\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Player, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Player_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Player, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Conformant __pyx_vtable_10elementary_12c_elementary_Conformant;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Conformant(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryConformant *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryConformant *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Conformant;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Conformant[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Conformant = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Conformant = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Conformant = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Conformant = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryConformant_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Conformant"), /*tp_name*/
+ sizeof(struct PyElementaryConformant), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Conformant, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Conformant, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Conformant, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Conformant, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The aim is to provide a widget that can be used in elementary apps to\n account for space taken up by the indicator, virtual keypad & softkey\n windows when running the illume2 module of E17.\n\n So conformant content will be sized and positioned considering the\n space required for such stuff, and when they popup, as a keyboard\n shows when an entry is selected, conformant content won't change.\n\n This widget emits the signals sent from L{Layout}.\n\n Available styles for it:\n - C{\"default\"}\n\n Default content parts of the conformant widget that you can use for are:\n - \"default\" - A content of the conformant\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Conformant, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_10Conformant_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Conformant, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Dayselector __pyx_vtable_10elementary_12c_elementary_Dayselector;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Dayselector(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryDayselector *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryDayselector *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Dayselector;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Dayselector_week_start(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Dayselector_10week_start_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Dayselector_week_start(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Dayselector_10week_start_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Dayselector_weekend_start(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Dayselector_13weekend_start_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Dayselector_weekend_start(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Dayselector_13weekend_start_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_11Dayselector_weekend_length(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_11Dayselector_14weekend_length_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_11Dayselector_weekend_length(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_11Dayselector_14weekend_length_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Dayselector[] = {
+ {__Pyx_NAMESTR("day_selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Dayselector_3day_selected_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Dayselector_2day_selected_set)},
+ {__Pyx_NAMESTR("day_selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Dayselector_5day_selected_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Dayselector_4day_selected_get)},
+ {__Pyx_NAMESTR("callback_dayselector_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Dayselector_7callback_dayselector_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Dayselector_6callback_dayselector_changed_add)},
+ {__Pyx_NAMESTR("callback_dayselector_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Dayselector_9callback_dayselector_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_language_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Dayselector_11callback_language_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_11Dayselector_10callback_language_changed_add)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_11Dayselector_13callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Dayselector[] = {
+ {(char *)"week_start", __pyx_getprop_10elementary_12c_elementary_11Dayselector_week_start, __pyx_setprop_10elementary_12c_elementary_11Dayselector_week_start, __Pyx_DOCSTR(__pyx_k_609), 0},
+ {(char *)"weekend_start", __pyx_getprop_10elementary_12c_elementary_11Dayselector_weekend_start, __pyx_setprop_10elementary_12c_elementary_11Dayselector_weekend_start, __Pyx_DOCSTR(__pyx_k_610), 0},
+ {(char *)"weekend_length", __pyx_getprop_10elementary_12c_elementary_11Dayselector_weekend_length, __pyx_setprop_10elementary_12c_elementary_11Dayselector_weekend_length, __Pyx_DOCSTR(__pyx_k_611), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Dayselector = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Dayselector = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Dayselector = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Dayselector = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryDayselector_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Dayselector"), /*tp_name*/
+ sizeof(struct PyElementaryDayselector), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Dayselector, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Dayselector, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Dayselector, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Dayselector, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Dayselector displays all seven days of the week and allows the user to\n select multiple days.\n\n The selection can be toggle by just clicking on the day.\n\n Dayselector also provides the functionality to check whether a day is\n selected or not.\n\n First day of the week is taken from config settings by default. It can be\n altered by using the API L{week_start} API.\n\n APIs are provided for setting the duration of weekend L{weekend_start}\n and L{weekend_length} does this job.\n\n Two styles of weekdays and weekends are supported in Dayselector.\n Application can emit signals on individual check objects for setting the\n weekday, weekend styles.\n\n Once the weekend start day or weekend length changes, all the weekday &\n weekend styles will be reset to default style. It's the application's\n responsibility to set the styles again by sending corresponding signals.\n\n \"day0\" indicates Sunday, \"day1\" indicates Monday etc. continues and so,\n \"day6\" indicates the Saturday part name.\n\n Application can change individual day display string by using the API\n L{Object.part_text_set()}.\n\n L{Object.part_content_set()} API sets the individual day object only if\n the passed one is a Check widget.\n\n Check object representing a day can be set/get by the application by using\n the elm_object_part_content_set/get APIs thus providing a way to handle\n the different check styles for individual days.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"dayselector,changed\"} - when the user changes the state of a day.\n - C{\"language,changed\"} - the program's language changed\n\n Available styles for dayselector are:\n - default\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Dayselector, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Dayselector, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_11Dayselector_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Dayselector, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Panes __pyx_vtable_10elementary_12c_elementary_Panes;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Panes(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPanes *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPanes *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Panes;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Panes_fixed(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_5fixed_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Panes_fixed(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_5fixed_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Panes_content_left_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_17content_left_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Panes_content_left_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_17content_left_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Panes_content_right_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_18content_right_size_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Panes_content_right_size(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_18content_right_size_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Panes_horizontal(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_10horizontal_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Panes_horizontal(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Panes_10horizontal_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Panes[] = {
+ {__Pyx_NAMESTR("callback_press_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_3callback_press_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panes_2callback_press_add)},
+ {__Pyx_NAMESTR("callback_press_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_5callback_press_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unpress_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_7callback_unpress_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panes_6callback_unpress_add)},
+ {__Pyx_NAMESTR("callback_unpress_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_9callback_unpress_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_11callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panes_10callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_13callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_15callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Panes_14callback_clicked_double_add)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Panes_17callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Panes[] = {
+ {(char *)"fixed", __pyx_getprop_10elementary_12c_elementary_5Panes_fixed, __pyx_setprop_10elementary_12c_elementary_5Panes_fixed, __Pyx_DOCSTR(__pyx_k_612), 0},
+ {(char *)"content_left_size", __pyx_getprop_10elementary_12c_elementary_5Panes_content_left_size, __pyx_setprop_10elementary_12c_elementary_5Panes_content_left_size, __Pyx_DOCSTR(__pyx_k_613), 0},
+ {(char *)"content_right_size", __pyx_getprop_10elementary_12c_elementary_5Panes_content_right_size, __pyx_setprop_10elementary_12c_elementary_5Panes_content_right_size, __Pyx_DOCSTR(__pyx_k_614), 0},
+ {(char *)"horizontal", __pyx_getprop_10elementary_12c_elementary_5Panes_horizontal, __pyx_setprop_10elementary_12c_elementary_5Panes_horizontal, __Pyx_DOCSTR(__pyx_k_615), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Panes = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Panes = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Panes = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Panes = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPanes_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Panes"), /*tp_name*/
+ sizeof(struct PyElementaryPanes), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Panes, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Panes, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Panes, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Panes, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("The panes widget adds a draggable bar between two contents. When\n dragged this bar will resize contents' size.\n\n Panes can be displayed vertically or horizontally, and contents size\n proportion can be customized (homogeneous by default).\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"press\"} - The panes has been pressed (button wasn't released yet).\n - C{\"unpressed\"} - The panes was released after being pressed.\n - C{\"clicked\"} - The panes has been clicked.\n - C{\"clicked,double\"} - The panes has been double clicked.\n\n Available styles for it:\n - C{\"default\"}\n\n Default content parts of the panes widget that you can use are:\n - \"left\" - A leftside content of the panes\n - \"right\" - A rightside content of the panes\n\n If panes are displayed vertically, left content will be displayed on top.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Panes, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Panes, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Panes_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Panes, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Thumb __pyx_vtable_10elementary_12c_elementary_Thumb;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Thumb(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryThumb *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryThumb *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Thumb;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Thumb_file(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_4file_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Thumb_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_4file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Thumb_path(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_4path_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Thumb_animate(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_7animate_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Thumb_animate(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_7animate_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Thumb_editable(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_8editable_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Thumb_editable(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Thumb_8editable_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Thumb[] = {
+ {__Pyx_NAMESTR("reload"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_3reload, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_2reload)},
+ {__Pyx_NAMESTR("ethumb_client_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_5ethumb_client_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_4ethumb_client_get)},
+ {__Pyx_NAMESTR("ethumb_client_connected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_7ethumb_client_connected_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_6ethumb_client_connected_get)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_9callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_8callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_11callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_13callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_12callback_clicked_double_add)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_15callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_press_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_17callback_press_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_16callback_press_add)},
+ {__Pyx_NAMESTR("callback_press_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_19callback_press_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_generate_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_21callback_generate_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_20callback_generate_start_add)},
+ {__Pyx_NAMESTR("callback_generate_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_23callback_generate_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_generate_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_25callback_generate_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_24callback_generate_stop_add)},
+ {__Pyx_NAMESTR("callback_generate_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_27callback_generate_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_generate_error_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_29callback_generate_error_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_28callback_generate_error_add)},
+ {__Pyx_NAMESTR("callback_generate_error_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_31callback_generate_error_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_error_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_33callback_load_error_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Thumb_32callback_load_error_add)},
+ {__Pyx_NAMESTR("callback_load_error_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Thumb_35callback_load_error_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Thumb[] = {
+ {(char *)"file", __pyx_getprop_10elementary_12c_elementary_5Thumb_file, __pyx_setprop_10elementary_12c_elementary_5Thumb_file, __Pyx_DOCSTR(__pyx_k_616), 0},
+ {(char *)"path", __pyx_getprop_10elementary_12c_elementary_5Thumb_path, 0, __Pyx_DOCSTR(__pyx_k_617), 0},
+ {(char *)"animate", __pyx_getprop_10elementary_12c_elementary_5Thumb_animate, __pyx_setprop_10elementary_12c_elementary_5Thumb_animate, __Pyx_DOCSTR(__pyx_k_618), 0},
+ {(char *)"editable", __pyx_getprop_10elementary_12c_elementary_5Thumb_editable, __pyx_setprop_10elementary_12c_elementary_5Thumb_editable, __Pyx_DOCSTR(__pyx_k_619), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Thumb = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Thumb = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Thumb = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Thumb = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryThumb_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Thumb"), /*tp_name*/
+ sizeof(struct PyElementaryThumb), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Thumb, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Thumb, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Thumb, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Thumb, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A thumbnail object is used for displaying the thumbnail of an image\n or video. You must have compiled Elementary with C{Ethumb_Client}\n support. Also, Ethumb's DBus service must be present and\n auto-activated in order to have thumbnails generated. You must also\n have a B{session} bus, not a B{system} one.\n\n Once the thumbnail object becomes visible, it will check if there\n is a previously generated thumbnail image for the file set on\n it. If not, it will start generating this thumbnail.\n\n Different configuration settings will cause different thumbnails to\n be generated even on the same file.\n\n Generated thumbnails are stored under C{$HOME/.thumbnails/}. Check\n Ethumb's documentation to change this path, and to see other\n configuration options.\n\n This widget emits the following signals:\n - C{\"clicked\"} - This is called when a user has clicked the\n thumbnail object without dragging it around.\n - C{\"clicked,double\"} - This is called when a user has double-clicked\n the thumbnail object.\n - C{\"press\"} - This is called when a user has pressed down over the\n thumbnail object.\n - C{\"generate,start\"} - The thumbnail generation has started.\n - C{\"generate,stop\"} - The generation process has stopped.\n - C{\"generate,error\"} - The thumbnail generation failed.\n - C{\"load,error\"} - The thumbnail image loading failed.\n\n Available styles:\n - C{\"default\"}\n - C{\"noframe\"}\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Thumb, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Thumb, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Thumb_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Thumb, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_DiskselectorItem __pyx_vtable_10elementary_12c_elementary_DiskselectorItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_DiskselectorItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_DiskselectorItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16DiskselectorItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_8selected_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_16DiskselectorItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_8selected_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16DiskselectorItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16DiskselectorItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_4next_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_DiskselectorItem[] = {
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_DiskselectorItem[] = {
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_16DiskselectorItem_selected, __pyx_setprop_10elementary_12c_elementary_16DiskselectorItem_selected, __Pyx_DOCSTR(__pyx_k_620), 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_16DiskselectorItem_prev, 0, __Pyx_DOCSTR(__pyx_k_621), 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_16DiskselectorItem_next, 0, __Pyx_DOCSTR(__pyx_k_622), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_DiskselectorItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_DiskselectorItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_DiskselectorItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_DiskselectorItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_DiskselectorItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.DiskselectorItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_DiskselectorItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_DiskselectorItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_DiskselectorItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_DiskselectorItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_DiskselectorItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the Diskselector widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_DiskselectorItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_DiskselectorItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16DiskselectorItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_DiskselectorItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Diskselector __pyx_vtable_10elementary_12c_elementary_Diskselector;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Diskselector(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryDiskselector *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryDiskselector *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Diskselector;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_round_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_13round_enabled_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Diskselector_round_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_13round_enabled_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_side_text_max_length(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_20side_text_max_length_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Diskselector_side_text_max_length(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_20side_text_max_length_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_display_item_num(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_16display_item_num_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Diskselector_display_item_num(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_16display_item_num_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_bounce(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_6bounce_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Diskselector_bounce(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_6bounce_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_scroller_policy(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_15scroller_policy_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12Diskselector_scroller_policy(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_15scroller_policy_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12Diskselector_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12Diskselector_9last_item_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Diskselector[] = {
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_3clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_2clear)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_5item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_4item_append)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_7callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_6callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_9callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_11callback_scroll_anim_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_10callback_scroll_anim_start_add)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_13callback_scroll_anim_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_15callback_scroll_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_14callback_scroll_anim_stop_add)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_17callback_scroll_anim_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_19callback_scroll_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_18callback_scroll_drag_start_add)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_21callback_scroll_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_23callback_scroll_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12Diskselector_22callback_scroll_drag_stop_add)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12Diskselector_25callback_scroll_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Diskselector[] = {
+ {(char *)"round_enabled", __pyx_getprop_10elementary_12c_elementary_12Diskselector_round_enabled, __pyx_setprop_10elementary_12c_elementary_12Diskselector_round_enabled, __Pyx_DOCSTR(__pyx_k_623), 0},
+ {(char *)"side_text_max_length", __pyx_getprop_10elementary_12c_elementary_12Diskselector_side_text_max_length, __pyx_setprop_10elementary_12c_elementary_12Diskselector_side_text_max_length, __Pyx_DOCSTR(__pyx_k_624), 0},
+ {(char *)"display_item_num", __pyx_getprop_10elementary_12c_elementary_12Diskselector_display_item_num, __pyx_setprop_10elementary_12c_elementary_12Diskselector_display_item_num, __Pyx_DOCSTR(__pyx_k_625), 0},
+ {(char *)"bounce", __pyx_getprop_10elementary_12c_elementary_12Diskselector_bounce, __pyx_setprop_10elementary_12c_elementary_12Diskselector_bounce, __Pyx_DOCSTR(__pyx_k_626), 0},
+ {(char *)"scroller_policy", __pyx_getprop_10elementary_12c_elementary_12Diskselector_scroller_policy, __pyx_setprop_10elementary_12c_elementary_12Diskselector_scroller_policy, __Pyx_DOCSTR(__pyx_k_627), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_12Diskselector_items, 0, __Pyx_DOCSTR(__pyx_k_628), 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_12Diskselector_selected_item, 0, __Pyx_DOCSTR(__pyx_k_629), 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_12Diskselector_first_item, 0, __Pyx_DOCSTR(__pyx_k_630), 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_12Diskselector_last_item, 0, __Pyx_DOCSTR(__pyx_k_631), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Diskselector = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Diskselector = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Diskselector = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Diskselector = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryDiskselector_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Diskselector"), /*tp_name*/
+ sizeof(struct PyElementaryDiskselector), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Diskselector, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Diskselector, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Diskselector, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Diskselector, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A diskselector is a kind of list widget. It scrolls horizontally,\n and can contain label and icon objects. Three items are displayed\n with the selected one in the middle.\n\n It can act like a circular list with round mode and labels can be\n reduced for a defined length for side items.\n\n Smart callbacks one can listen to:\n - \"selected\" - when item is selected, i.e. scroller stops.\n - \"scroll,anim,start\" - scrolling animation has started\n - \"scroll,anim,stop\" - scrolling animation has stopped\n - \"scroll,drag,start\" - dragging the diskselector has started\n - \"scroll,drag,stop\" - dragging the diskselector has stopped\n\n Available styles for it:\n - C{\"default\"}\n\n Default content parts of the diskselector items that you can use for are:\n - \"icon\" - An icon in the diskselector item\n\n Default text parts of the diskselector items that you can use for are:\n - \"default\" - Label of the diskselector item\n\n @note: The \"scroll,anim,*\" and \"scroll,drag,*\" signals are only emitted\n by user intervention.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Diskselector, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Diskselector, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12Diskselector_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Diskselector, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Datetime __pyx_vtable_10elementary_12c_elementary_Datetime;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Datetime(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryDatetime *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryDatetime *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Datetime;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Datetime_format(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_6format_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Datetime_format(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_6format_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Datetime_value_max(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_9value_max_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Datetime_value_max(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_9value_max_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Datetime_value_min(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_9value_min_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Datetime_value_min(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_9value_min_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Datetime_field_limit(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_11field_limit_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Datetime_field_limit(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_11field_limit_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Datetime_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_5value_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Datetime_value(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Datetime_5value_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Datetime[] = {
+ {__Pyx_NAMESTR("field_visible_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Datetime_3field_visible_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Datetime_2field_visible_get)},
+ {__Pyx_NAMESTR("field_visible_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Datetime_5field_visible_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Datetime_4field_visible_set)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Datetime_7callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Datetime_6callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Datetime_9callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_languge_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Datetime_11callback_languge_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Datetime_10callback_languge_changed_add)},
+ {__Pyx_NAMESTR("callback_language_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Datetime_13callback_language_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Datetime[] = {
+ {(char *)"format", __pyx_getprop_10elementary_12c_elementary_8Datetime_format, __pyx_setprop_10elementary_12c_elementary_8Datetime_format, __Pyx_DOCSTR(__pyx_k_632), 0},
+ {(char *)"value_max", __pyx_getprop_10elementary_12c_elementary_8Datetime_value_max, __pyx_setprop_10elementary_12c_elementary_8Datetime_value_max, __Pyx_DOCSTR(__pyx_k_633), 0},
+ {(char *)"value_min", __pyx_getprop_10elementary_12c_elementary_8Datetime_value_min, __pyx_setprop_10elementary_12c_elementary_8Datetime_value_min, __Pyx_DOCSTR(__pyx_k_634), 0},
+ {(char *)"field_limit", __pyx_getprop_10elementary_12c_elementary_8Datetime_field_limit, __pyx_setprop_10elementary_12c_elementary_8Datetime_field_limit, __Pyx_DOCSTR(__pyx_k_635), 0},
+ {(char *)"value", __pyx_getprop_10elementary_12c_elementary_8Datetime_value, __pyx_setprop_10elementary_12c_elementary_8Datetime_value, __Pyx_DOCSTR(__pyx_k_636), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Datetime = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Datetime = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Datetime = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Datetime = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryDatetime_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Datetime"), /*tp_name*/
+ sizeof(struct PyElementaryDatetime), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Datetime, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Datetime, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Datetime, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Datetime, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Datetime widget is used to display and input date & time values.\n\n This widget displays date and time as per the B{system's locale} settings\n (Date includes Day, Month & Year along with the defined separators and Time\n includes Hour, Minute & AM/PM fields). Separator for AM/PM field is ignored.\n\n The corresponding Month, AM/PM strings are displayed according to the\n system\342\200\231s language settings.\n\n Datetime format is a combination of LIBC standard characters like \"%%d %%b\n %%Y %%I : %%M %%p\" which, as a whole represents both Date as well as Time\n format.\n\n Elm_datetime supports only the following sub set of libc date format specifiers:\n\n B{%%Y} : The year as a decimal number including the century (example: 2011).\n\n B{%%y} : The year as a decimal number without a century (range 00 to 99)\n\n B{%%m} : The month as a decimal number (range 01 to 12).\n\n B{%%b} : The abbreviated month name according to the current locale.\n\n B{%%B} : The full month name according to the current locale.\n\n B{%%h} : The abbreviated month name according to the current locale(same as %%b).\n\n B{%%d} : The day of the month as a decimal number (range 01 to 31).\n\n B{%%e} : The day of the month as a decimal number (range 1 to 31). single\n digits are preceded by a blank.\n\n B{%%I} : The hour as a decimal number using a 12-hour clock (range 01 to 12).\n\n B{%%H} : The hour as a decimal number using a 24-hour clock (range 00 to 23).\n\n B{%%k} : The hour (24-hour clock) as a decimal number (range 0 to 23). single\n digits are preceded by a blank.\n\n B{%%l} : The hour (12-hour clock) as a decimal number (range 1 to 12); single\n digits are preceded by a blank.\n\n B{%%M} : The minute as a decimal number (range 00 to 59).\n\n B{%%p} : Either 'AM' or 'PM' according to the given time value, or the\n corresponding strings for the current locale. Noon is treated as 'PM'\n and midnight as 'AM'\n\n B{%%P} : Like %p but in lower case: 'am' or 'pm' or a corresponding string for\n the current locale.\n\n B{%%c} : The preferred date and time representation for the current locale.\n\n B{%%x} : The preferred date representation for the current locale without the time.\n\n B{%%X} : The preferred time representation for the current locale without the date.\n\n B{%%r} : The complete calendar time using the AM/PM format of the current locale.\n\n B{%%R} : The hour and minute in decimal numbers using the format %H:%M.\n\n B{%%T} : The time of day in decimal numbers using the format %H:%M:%S.\n\n B{%%D} : The date using the format %%m/%%d/%%y.\n\n B{%%F} : The date using the format %%Y-%%m-%%d.\n\n (For more reference on the available B{LIBC date format specifiers}, please\n visit the link:\n http://www.gnu.org/s/hello/manual/libc.html#Formatting-Calendar-Time )\n\n Datetime widget can provide Unicode B{separators} in between its fields\n except for AM/PM field.\n A separator can be any B{Unicode character} other than the LIBC standard\n date format specifiers.( Example: In the format %%b %%d B{,} %%y %%H B{:} %%M\n comma(,) is separator for date field %%d and colon(:) is separator for\n hour field %%H ).\n\n The default format is a predefined one, based on the system Locale.\n\n Hour format 12hr(1-12) or 24hr(0-23) display can be selected by setting\n the corresponding user format.\n\n Datetime supports six fields: Year, Month, Date, Hour, Minute, AM/PM.\n Depending on the Datetime module that is loaded, the user can see\n different UI to select the individual field values.\n\n The individual fields of Datetime can be arranged in any order according to\n the format set by application.\n\n There is a provision to set the visibility of a particular field as TRUE/\n FALSE so that B{only time/ only date / only required fields} will be\n displayed.\n\n Each field is having a default minimum and maximum values just like the daily\n calendar information. These min/max values can be modified as per the\n application usage.\n\n User can enter the values only in between the range of maximum and minimum.\n Apart from these APIs, there is a provision to display only a limited set of\n values out of the possible values. APIs to select the individual field limits\n are intended for this purpose.\n\n The whole widget is left aligned and its size grows horizontally depending\n on the current format and each field's visible/disabled state.\n\n Datetime individual field selection is implemented in a modular style.\n Module can be implemented as a Ctxpopup based selection or an ISE based\n selection or even a spinner like selection etc.\n\n B{Datetime Module design:}\n\n The following functions are expected to be implemented in a Datetime module:\n\n B{Field creation::}\n __________ __________\n | |----- obj_hook() ---------------------->>>| |\n | |<<<----------------returns Mod_data ------| |\n | Datetime |_______ | |\n | widget | |Assign module call backs | Module |\n | base |<<<____| | |\n | | | |\n | |----- field_create() ------------------>>>| |\n |__________|<<<----------------returns field_obj -----|__________|\n\n B{Field value setting::}\n __________ __________\n | | | |\n | Datetime |<<<----------elm_datetime_value_set()---| |\n | widget | | Module |\n | base |----display_field_value()------------>>>| |\n |__________| |__________|\n\n B{del_hook::}\n __________ __________\n | | | |\n | Datetime |----obj_unhook()-------------------->>>>| |\n | widget | | Module |\n | base | <<<-----frees mod_data---------| |\n |__________| |__________|\n\n\n Any module can use the following shared functions that are implemented in\n elm_datetime.c :\n\n B{field_format_get()} - gives the field format.\n\n B{field_limit_get()} - gives the field minimum, maximum limits.\n\n To enable a module, set the ELM_MODULES environment variable as shown:\n\n B{export ELM_MODULES=\"datetime_input_ctxpopup>datetime/api\"}\n\n This widget emits the following signals, besides the ones sent from L{Layout}:\n - B{\"changed\"} - whenever Datetime field value is changed, this\n signal is sent.\n - B{\"language,changed\"} - whenever system locale changes, this\n signal is sent.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Datetime, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Datetime, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8Datetime_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Datetime, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapRoute(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ if (__pyx_pw_10elementary_12c_elementary_8MapRoute_1__cinit__(o, __pyx_empty_tuple, NULL) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_MapRoute(PyObject *o) {
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MapRoute_distance(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MapRoute_8distance_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MapRoute_node(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MapRoute_4node_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8MapRoute_waypoint(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8MapRoute_8waypoint_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapRoute[] = {
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MapRoute_5delete, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("distance_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MapRoute_7distance_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("node_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MapRoute_9node_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("waypoint_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8MapRoute_11waypoint_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MapRoute[] = {
+ {(char *)"distance", __pyx_getprop_10elementary_12c_elementary_8MapRoute_distance, 0, 0, 0},
+ {(char *)"node", __pyx_getprop_10elementary_12c_elementary_8MapRoute_node, 0, 0, 0},
+ {(char *)"waypoint", __pyx_getprop_10elementary_12c_elementary_8MapRoute_waypoint, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapRoute = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapRoute = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapRoute = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapRoute = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapRoute = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapRoute"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapRoute), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapRoute, /*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*/
+ &__pyx_tp_as_number_MapRoute, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapRoute, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapRoute, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapRoute, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapRoute, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MapRoute, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8MapRoute_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapRoute, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapName(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ if (__pyx_pw_10elementary_12c_elementary_7MapName_1__cinit__(o, __pyx_empty_tuple, NULL) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_MapName(PyObject *o) {
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7MapName_address(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7MapName_7address_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7MapName_region(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7MapName_6region_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapName[] = {
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7MapName_5delete, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("address_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7MapName_7address_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7MapName_9region_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MapName[] = {
+ {(char *)"address", __pyx_getprop_10elementary_12c_elementary_7MapName_address, 0, 0, 0},
+ {(char *)"region", __pyx_getprop_10elementary_12c_elementary_7MapName_region, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapName = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapName = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapName = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapName = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapName = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapName"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapName), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapName, /*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*/
+ &__pyx_tp_as_number_MapName, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapName, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapName, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapName, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapName, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MapName, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_7MapName_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapName, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlay(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ if (__pyx_pw_10elementary_12c_elementary_10MapOverlay_1__cinit__(o, __pyx_empty_tuple, NULL) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay(PyObject *o) {
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_type(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_4type_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_hide(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_4hide_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_hide(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_4hide_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_displayed_zoom_min(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_displayed_zoom_min(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_18displayed_zoom_min_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_paused(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_6paused_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_paused(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_6paused_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_visible(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_7visible_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_content(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_7content_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_content(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_7content_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_icon(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_4icon_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_icon(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_4icon_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_region(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_6region_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_region(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_6region_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_10MapOverlay_color(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_5color_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_10MapOverlay_color(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_10MapOverlay_5color_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlay[] = {
+ {__Pyx_NAMESTR("__del_cb"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_5__del_cb, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_7delete, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("type_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_9type_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("hide_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_11hide_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("hide_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_13hide_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("displayed_zoom_min_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_15displayed_zoom_min_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("displayed_zoom_min_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_17displayed_zoom_min_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("paused_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_19paused_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("paused_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_21paused_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("visible_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_23visible_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("content_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_25content_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("content_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_27content_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("icon_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_29icon_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("icon_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_31icon_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_33region_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_35region_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("color_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_37color_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("color_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_39color_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_41show, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_43callback_clicked_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_unset"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_10MapOverlay_45callback_clicked_unset, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MapOverlay[] = {
+ {(char *)"type", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_type, 0, 0, 0},
+ {(char *)"hide", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_hide, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_hide, 0, 0},
+ {(char *)"displayed_zoom_min", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_displayed_zoom_min, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_displayed_zoom_min, 0, 0},
+ {(char *)"paused", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_paused, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_paused, 0, 0},
+ {(char *)"visible", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_visible, 0, 0, 0},
+ {(char *)"content", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_content, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_content, 0, 0},
+ {(char *)"icon", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_icon, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_icon, 0, 0},
+ {(char *)"region", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_region, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_region, 0, 0},
+ {(char *)"color", __pyx_getprop_10elementary_12c_elementary_10MapOverlay_color, __pyx_setprop_10elementary_12c_elementary_10MapOverlay_color, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlay = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlay = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlay = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlay = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlay = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlay"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlay), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlay, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlay, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlay, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlay, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlay, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MapOverlay, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_10MapOverlay_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlay, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayClass(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_15MapOverlayClass_zoom_max(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_15MapOverlayClass_zoom_max(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_8zoom_max_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_15MapOverlayClass_members(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_7members_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayClass[] = {
+ {__Pyx_NAMESTR("append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_3append, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("remove"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_5remove, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_max_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_7zoom_max_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_max_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_9zoom_max_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("members_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_15MapOverlayClass_11members_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MapOverlayClass[] = {
+ {(char *)"zoom_max", __pyx_getprop_10elementary_12c_elementary_15MapOverlayClass_zoom_max, __pyx_setprop_10elementary_12c_elementary_15MapOverlayClass_zoom_max, 0, 0},
+ {(char *)"members", __pyx_getprop_10elementary_12c_elementary_15MapOverlayClass_members, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayClass = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayClass = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayClass = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayClass = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayClass = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayClass"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayClass), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayClass, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayClass, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayClass, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayClass, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayClass, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MapOverlayClass, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_15MapOverlayClass_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayClass, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayBubble(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayBubble[] = {
+ {__Pyx_NAMESTR("follow"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_3follow, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("content_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_5content_append, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("content_clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_7content_clear, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayBubble = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayBubble = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayBubble = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayBubble = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayBubble = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayBubble"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayBubble), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayBubble, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayBubble, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayBubble, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayBubble, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayBubble, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16MapOverlayBubble_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayBubble, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayLine(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayLine[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayLine = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayLine = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayLine = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayLine = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayLine = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayLine"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayLine), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayLine, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayLine, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayLine, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayLine, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayLine, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_14MapOverlayLine_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayLine, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayPolygon(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayPolygon[] = {
+ {__Pyx_NAMESTR("region_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_17MapOverlayPolygon_3region_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayPolygon = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayPolygon = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayPolygon = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayPolygon = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayPolygon = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayPolygon"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayPolygon), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayPolygon, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayPolygon, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayPolygon, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayPolygon, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayPolygon, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_17MapOverlayPolygon_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayPolygon, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayCircle(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayCircle[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayCircle = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayCircle = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayCircle = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayCircle = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayCircle = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayCircle"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayCircle), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayCircle, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayCircle, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayCircle, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayCircle, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayCircle, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16MapOverlayCircle_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayCircle, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayScale(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayScale[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayScale = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayScale = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayScale = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayScale = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayScale = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayScale"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayScale), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayScale, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayScale, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayScale, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayScale, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayScale, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_15MapOverlayScale_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayScale, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MapOverlayRoute(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_MapOverlay(t, a, k);
+ if (!o) return 0;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MapOverlayRoute[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MapOverlayRoute = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MapOverlayRoute = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MapOverlayRoute = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MapOverlayRoute = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MapOverlayRoute = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MapOverlayRoute"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MapOverlayRoute), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_MapOverlay, /*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*/
+ &__pyx_tp_as_number_MapOverlayRoute, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MapOverlayRoute, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MapOverlayRoute, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MapOverlayRoute, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ 0, /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MapOverlayRoute, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_15MapOverlayRoute_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MapOverlayRoute, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Map __pyx_vtable_10elementary_12c_elementary_Map;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Map(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryMap *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryMap *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Map;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_zoom(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_4zoom_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_zoom(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_4zoom_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_zoom_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_zoom_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_zoom_min(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_8zoom_min_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_zoom_min(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_8zoom_min_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_zoom_max(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_8zoom_max_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_zoom_max(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_8zoom_max_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_region(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_6region_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_paused(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_6paused_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_paused(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_6paused_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_rotate(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_6rotate_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_rotate(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_6rotate_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_wheel_disabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_14wheel_disabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_wheel_disabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_14wheel_disabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_user_agent(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_10user_agent_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_3Map_user_agent(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_10user_agent_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_overlays(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_8overlays_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_3Map_tile_load_status_get(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_3Map_20tile_load_status_get_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Map[] = {
+ {__Pyx_NAMESTR("zoom_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_3zoom_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_5zoom_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_mode_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_7zoom_mode_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_mode_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_9zoom_mode_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_min_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_11zoom_min_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_min_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_13zoom_min_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_max_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_15zoom_max_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("zoom_max_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_17zoom_max_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_19region_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_21region_bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_23region_show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("canvas_to_region_convert"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_25canvas_to_region_convert, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("region_to_canvas_convert"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_27region_to_canvas_convert, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("paused_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_29paused_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("paused_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_31paused_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("rotate_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_33rotate_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("rotate_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_35rotate_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("wheel_disabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_37wheel_disabled_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("wheel_disabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_39wheel_disabled_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("user_agent_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_41user_agent_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("user_agent_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_43user_agent_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_45overlay_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlays_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_47overlays_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlays_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_49overlays_show, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_bubble_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_51overlay_bubble_add, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_line_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_53overlay_line_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_polygon_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_55overlay_polygon_add, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_circle_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_57overlay_circle_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_scale_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_59overlay_scale_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_class_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_61overlay_class_add, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("overlay_route_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_63overlay_route_add, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("tile_load_status_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_65tile_load_status_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("sources_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_67sources_get, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("source_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_69source_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("source_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_71source_get, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("route_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_73route_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("name_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_75name_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_77callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_79callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_81callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_83callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_press_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_85callback_press_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_press_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_87callback_press_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_89callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_91callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_93callback_scroll_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_95callback_scroll_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_97callback_scroll_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_99callback_scroll_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_101callback_scroll_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_103callback_scroll_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_105callback_scroll_anim_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_107callback_scroll_anim_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_109callback_scroll_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_111callback_scroll_anim_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_113callback_zoom_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_115callback_zoom_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_117callback_zoom_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_119callback_zoom_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_change_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_121callback_zoom_change_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_change_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_123callback_zoom_change_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tile_load_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_125callback_tile_load_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tile_load_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_127callback_tile_load_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tile_loaded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_129callback_tile_loaded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tile_loaded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_131callback_tile_loaded_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tile_loaded_fail_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_133callback_tile_loaded_fail_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_tile_loaded_fail_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_135callback_tile_loaded_fail_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_route_load_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_137callback_route_load_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_route_load_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_139callback_route_load_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_route_loaded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_141callback_route_loaded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_route_loaded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_143callback_route_loaded_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_route_loaded_fail_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_145callback_route_loaded_fail_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_route_loaded_fail_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_147callback_route_loaded_fail_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_name_load_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_149callback_name_load_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_name_load_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_151callback_name_load_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_name_loaded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_153callback_name_loaded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_name_loaded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_155callback_name_loaded_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_name_loaded_fail_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_157callback_name_loaded_fail_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_name_loaded_fail_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_159callback_name_loaded_fail_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_overlay_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_161callback_overlay_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_overlay_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_163callback_overlay_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_overlay_del_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_165callback_overlay_del_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_overlay_del_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_167callback_overlay_del_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_loaded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_169callback_loaded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_loaded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_3Map_171callback_loaded_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Map[] = {
+ {(char *)"zoom", __pyx_getprop_10elementary_12c_elementary_3Map_zoom, __pyx_setprop_10elementary_12c_elementary_3Map_zoom, 0, 0},
+ {(char *)"zoom_mode", __pyx_getprop_10elementary_12c_elementary_3Map_zoom_mode, __pyx_setprop_10elementary_12c_elementary_3Map_zoom_mode, 0, 0},
+ {(char *)"zoom_min", __pyx_getprop_10elementary_12c_elementary_3Map_zoom_min, __pyx_setprop_10elementary_12c_elementary_3Map_zoom_min, 0, 0},
+ {(char *)"zoom_max", __pyx_getprop_10elementary_12c_elementary_3Map_zoom_max, __pyx_setprop_10elementary_12c_elementary_3Map_zoom_max, 0, 0},
+ {(char *)"region", __pyx_getprop_10elementary_12c_elementary_3Map_region, 0, 0, 0},
+ {(char *)"paused", __pyx_getprop_10elementary_12c_elementary_3Map_paused, __pyx_setprop_10elementary_12c_elementary_3Map_paused, 0, 0},
+ {(char *)"rotate", __pyx_getprop_10elementary_12c_elementary_3Map_rotate, __pyx_setprop_10elementary_12c_elementary_3Map_rotate, 0, 0},
+ {(char *)"wheel_disabled", __pyx_getprop_10elementary_12c_elementary_3Map_wheel_disabled, __pyx_setprop_10elementary_12c_elementary_3Map_wheel_disabled, 0, 0},
+ {(char *)"user_agent", __pyx_getprop_10elementary_12c_elementary_3Map_user_agent, __pyx_setprop_10elementary_12c_elementary_3Map_user_agent, 0, 0},
+ {(char *)"overlays", __pyx_getprop_10elementary_12c_elementary_3Map_overlays, 0, 0, 0},
+ {(char *)"tile_load_status_get", __pyx_getprop_10elementary_12c_elementary_3Map_tile_load_status_get, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Map = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Map = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Map = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Map = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryMap_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Map"), /*tp_name*/
+ sizeof(struct PyElementaryMap), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Map, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Map, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Map, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Map, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Map, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Map, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_3Map_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Map, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Mapbuf __pyx_vtable_10elementary_12c_elementary_Mapbuf;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Mapbuf(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryMapbuf *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryMapbuf *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Mapbuf;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Mapbuf_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Mapbuf_7enabled_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Mapbuf_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Mapbuf_7enabled_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Mapbuf_smooth(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Mapbuf_6smooth_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Mapbuf_smooth(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Mapbuf_6smooth_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_6Mapbuf_alpha(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_6Mapbuf_5alpha_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_6Mapbuf_alpha(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_6Mapbuf_5alpha_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Mapbuf[] = {
+ {__Pyx_NAMESTR("enabled_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Mapbuf_3enabled_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Mapbuf_2enabled_set)},
+ {__Pyx_NAMESTR("enabled_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Mapbuf_5enabled_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Mapbuf_4enabled_get)},
+ {__Pyx_NAMESTR("smooth_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Mapbuf_7smooth_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Mapbuf_6smooth_set)},
+ {__Pyx_NAMESTR("smooth_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Mapbuf_9smooth_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Mapbuf_8smooth_get)},
+ {__Pyx_NAMESTR("alpha_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Mapbuf_11alpha_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Mapbuf_10alpha_set)},
+ {__Pyx_NAMESTR("alpha_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_6Mapbuf_13alpha_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_6Mapbuf_12alpha_get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Mapbuf[] = {
+ {(char *)"enabled", __pyx_getprop_10elementary_12c_elementary_6Mapbuf_enabled, __pyx_setprop_10elementary_12c_elementary_6Mapbuf_enabled, __Pyx_DOCSTR(__pyx_k_637), 0},
+ {(char *)"smooth", __pyx_getprop_10elementary_12c_elementary_6Mapbuf_smooth, __pyx_setprop_10elementary_12c_elementary_6Mapbuf_smooth, __Pyx_DOCSTR(__pyx_k_638), 0},
+ {(char *)"alpha", __pyx_getprop_10elementary_12c_elementary_6Mapbuf_alpha, __pyx_setprop_10elementary_12c_elementary_6Mapbuf_alpha, __Pyx_DOCSTR(__pyx_k_639), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Mapbuf = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Mapbuf = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Mapbuf = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Mapbuf = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryMapbuf_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Mapbuf"), /*tp_name*/
+ sizeof(struct PyElementaryMapbuf), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Mapbuf, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Mapbuf, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Mapbuf, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Mapbuf, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This holds one content object and uses an Evas Map of transformation\n points to be later used with this content. So the content will be\n moved, resized, etc as a single image. So it will improve performance\n when you have a complex interface, with a lot of elements, and will\n need to resize or move it frequently (the content object and its\n children).\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Mapbuf, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Mapbuf, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_6Mapbuf_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Mapbuf, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntryItem __pyx_vtable_10elementary_12c_elementary_MultiButtonEntryItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MultiButtonEntryItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntryItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_20MultiButtonEntryItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_20MultiButtonEntryItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_8selected_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_20MultiButtonEntryItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_20MultiButtonEntryItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_4next_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MultiButtonEntryItem[] = {
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_7selected_set, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_9selected_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("prev_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_11prev_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("next_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_13next_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MultiButtonEntryItem[] = {
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_20MultiButtonEntryItem_selected, __pyx_setprop_10elementary_12c_elementary_20MultiButtonEntryItem_selected, 0, 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_20MultiButtonEntryItem_prev, 0, 0, 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_20MultiButtonEntryItem_next, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MultiButtonEntryItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MultiButtonEntryItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MultiButtonEntryItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MultiButtonEntryItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_MultiButtonEntryItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MultiButtonEntryItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_MultiButtonEntryItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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_10elementary_12c_elementary_20MultiButtonEntryItem_5__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_MultiButtonEntryItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MultiButtonEntryItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MultiButtonEntryItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_3__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MultiButtonEntryItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the MultiButtonEntry widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MultiButtonEntryItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MultiButtonEntryItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_20MultiButtonEntryItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MultiButtonEntryItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_MultiButtonEntry __pyx_vtable_10elementary_12c_elementary_MultiButtonEntry;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_MultiButtonEntry(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryMultiButtonEntry *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryMultiButtonEntry *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntry;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_entry(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5entry_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_expanded(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_8expanded_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_16MultiButtonEntry_expanded(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_8expanded_3__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_9last_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_13selected_item_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_MultiButtonEntry[] = {
+ {__Pyx_NAMESTR("entry_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_3entry_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16MultiButtonEntry_2entry_get)},
+ {__Pyx_NAMESTR("expanded_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_5expanded_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16MultiButtonEntry_4expanded_set)},
+ {__Pyx_NAMESTR("expanded_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_7expanded_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_16MultiButtonEntry_6expanded_get)},
+ {__Pyx_NAMESTR("item_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_9item_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_11item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_insert_before"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_13item_insert_before, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("item_insert_after"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_15item_insert_after, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("items_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_17items_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("first_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_19first_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("last_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_21last_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("selected_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_23selected_item_get, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_25clear, METH_NOARGS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("filter_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_27filter_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("filter_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_29filter_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("filter_remove"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_31filter_remove, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_33callback_item_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_35callback_item_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_added_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_37callback_item_added_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_added_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_39callback_item_added_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_deleted_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_41callback_item_deleted_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_deleted_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_43callback_item_deleted_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_45callback_item_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_item_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_47callback_item_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_49callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_51callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_focused_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_53callback_focused_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_focused_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_55callback_focused_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unfocused_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_57callback_unfocused_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_unfocused_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_59callback_unfocused_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expanded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_61callback_expanded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expanded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_63callback_expanded_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_contracted_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_65callback_contracted_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_contracted_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_67callback_contracted_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expand_state_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_69callback_expand_state_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_expand_state_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_71callback_expand_state_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_MultiButtonEntry[] = {
+ {(char *)"entry", __pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_entry, 0, __Pyx_DOCSTR(__pyx_k_640), 0},
+ {(char *)"expanded", __pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_expanded, __pyx_setprop_10elementary_12c_elementary_16MultiButtonEntry_expanded, __Pyx_DOCSTR(__pyx_k_641), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_items, 0, 0, 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_first_item, 0, 0, 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_last_item, 0, 0, 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_16MultiButtonEntry_selected_item, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_MultiButtonEntry = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_MultiButtonEntry = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_MultiButtonEntry = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_MultiButtonEntry = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryMultiButtonEntry_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.MultiButtonEntry"), /*tp_name*/
+ sizeof(struct PyElementaryMultiButtonEntry), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_MultiButtonEntry, /*tp_as_number*/
+ &__pyx_tp_as_sequence_MultiButtonEntry, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_MultiButtonEntry, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_MultiButtonEntry, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A Multibuttonentry is a widget to allow a user enter text and manage\n it as a number of buttons. Each text button is inserted by pressing the\n \"return\" key. If there is no space in the current row, a new button is\n added to the next row. When a text button is pressed, it will become\n focused. Backspace removes the focus. When the Multibuttonentry loses\n focus items longer than one line are shrunk to one line.\n\n Typical use case of multibuttonentry is, composing emails/messages to a\n group of addresses, each of which is an item that can be clicked for\n further actions.\n\n Default text parts of the multibuttonentry widget that you can use for are:\n - \"default\" - A label of the multibuttonentry\n\n Default text parts of the multibuttonentry items that you can use for are:\n - \"default\" - A label of the multibuttonentry item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_MultiButtonEntry, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_MultiButtonEntry, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_16MultiButtonEntry_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_MultiButtonEntry, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Transit(PyTypeObject *t, PyObject *a, PyObject *k) {
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ if (__pyx_pw_10elementary_12c_elementary_7Transit_1__cinit__(o, a, k) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_Transit(PyObject *o) {
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_objects(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_7objects_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_objects_final_state_keep(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_24objects_final_state_keep_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_objects_final_state_keep(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_24objects_final_state_keep_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_event_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_13event_enabled_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_event_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_13event_enabled_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_auto_reverse(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_12auto_reverse_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_auto_reverse(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_12auto_reverse_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_repeat_times(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_12repeat_times_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_repeat_times(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_12repeat_times_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_tween_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_10tween_mode_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_tween_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_10tween_mode_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_duration(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_8duration_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_duration(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_8duration_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_paused(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_6paused_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_7Transit_paused(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_6paused_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_progress_value(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_14progress_value_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_7Transit_chain_transits(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_7Transit_14chain_transits_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Transit[] = {
+ {__Pyx_NAMESTR("delete"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_5delete, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_4delete)},
+ {__Pyx_NAMESTR("object_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_7object_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_6object_add)},
+ {__Pyx_NAMESTR("object_remove"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_9object_remove, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_8object_remove)},
+ {__Pyx_NAMESTR("del_cb_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_11del_cb_set, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_10del_cb_set)},
+ {__Pyx_NAMESTR("go"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_13go, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_12go)},
+ {__Pyx_NAMESTR("chain_transit_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_15chain_transit_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_14chain_transit_add)},
+ {__Pyx_NAMESTR("chain_transit_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_17chain_transit_del, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_16chain_transit_del)},
+ {__Pyx_NAMESTR("effect_resizing_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_19effect_resizing_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_18effect_resizing_add)},
+ {__Pyx_NAMESTR("effect_translation_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_21effect_translation_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_20effect_translation_add)},
+ {__Pyx_NAMESTR("effect_zoom_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_23effect_zoom_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_22effect_zoom_add)},
+ {__Pyx_NAMESTR("effect_flip_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_25effect_flip_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_24effect_flip_add)},
+ {__Pyx_NAMESTR("effect_resizable_flip_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_27effect_resizable_flip_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_26effect_resizable_flip_add)},
+ {__Pyx_NAMESTR("effect_wipe_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_29effect_wipe_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_28effect_wipe_add)},
+ {__Pyx_NAMESTR("effect_color_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_31effect_color_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_30effect_color_add)},
+ {__Pyx_NAMESTR("effect_fade_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_33effect_fade_add, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_32effect_fade_add)},
+ {__Pyx_NAMESTR("effect_blend_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_35effect_blend_add, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_34effect_blend_add)},
+ {__Pyx_NAMESTR("effect_rotation_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_37effect_rotation_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_36effect_rotation_add)},
+ {__Pyx_NAMESTR("effect_image_animation_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_7Transit_39effect_image_animation_add, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_7Transit_38effect_image_animation_add)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Transit[] = {
+ {(char *)"objects", __pyx_getprop_10elementary_12c_elementary_7Transit_objects, 0, __Pyx_DOCSTR(__pyx_k_642), 0},
+ {(char *)"objects_final_state_keep", __pyx_getprop_10elementary_12c_elementary_7Transit_objects_final_state_keep, __pyx_setprop_10elementary_12c_elementary_7Transit_objects_final_state_keep, __Pyx_DOCSTR(__pyx_k_643), 0},
+ {(char *)"event_enabled", __pyx_getprop_10elementary_12c_elementary_7Transit_event_enabled, __pyx_setprop_10elementary_12c_elementary_7Transit_event_enabled, __Pyx_DOCSTR(__pyx_k_644), 0},
+ {(char *)"auto_reverse", __pyx_getprop_10elementary_12c_elementary_7Transit_auto_reverse, __pyx_setprop_10elementary_12c_elementary_7Transit_auto_reverse, __Pyx_DOCSTR(__pyx_k_645), 0},
+ {(char *)"repeat_times", __pyx_getprop_10elementary_12c_elementary_7Transit_repeat_times, __pyx_setprop_10elementary_12c_elementary_7Transit_repeat_times, __Pyx_DOCSTR(__pyx_k_646), 0},
+ {(char *)"tween_mode", __pyx_getprop_10elementary_12c_elementary_7Transit_tween_mode, __pyx_setprop_10elementary_12c_elementary_7Transit_tween_mode, __Pyx_DOCSTR(__pyx_k_647), 0},
+ {(char *)"duration", __pyx_getprop_10elementary_12c_elementary_7Transit_duration, __pyx_setprop_10elementary_12c_elementary_7Transit_duration, __Pyx_DOCSTR(__pyx_k_648), 0},
+ {(char *)"paused", __pyx_getprop_10elementary_12c_elementary_7Transit_paused, __pyx_setprop_10elementary_12c_elementary_7Transit_paused, __Pyx_DOCSTR(__pyx_k_649), 0},
+ {(char *)"progress_value", __pyx_getprop_10elementary_12c_elementary_7Transit_progress_value, 0, __Pyx_DOCSTR(__pyx_k_650), 0},
+ {(char *)"chain_transits", __pyx_getprop_10elementary_12c_elementary_7Transit_chain_transits, 0, __Pyx_DOCSTR(__pyx_k_651), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Transit = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Transit = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Transit = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Transit = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_Transit = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Transit"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_Transit), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Transit, /*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*/
+ &__pyx_tp_as_number_Transit, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Transit, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Transit, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Transit, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE, /*tp_flags*/
+ __Pyx_DOCSTR("Transit is designed to apply various animated transition effects to\n C{Evas_Object}, such like translation, rotation, etc. For using these\n effects, create a L{Transit} and add the desired transition effects.\n\n Once the effects are added into transit, they will be automatically managed\n (their callback will be called for the set duration and they will be deleted\n upon completion).\n\n Example::\n t = elementary.Transit()\n t.object_add(obj)\n t.effect_translation_add(0, 0, 280, 280)\n t.duration = 1\n t.auto_reverse = True\n t.tween_mode = elementary.ELM_TRANSIT_TWEEN_MODE_DECELERATE\n t.repeat_times = 3\n\n Some transition effects are used to change the properties of objects. They\n are:\n - L{effect_translation_add}\n - L{effect_color_add}\n - L{effect_rotation_add}\n - L{effect_wipe_add}\n - L{effect_zoom_add}\n - L{effect_resizing_add}\n\n Other transition effects are used to make one object disappear and another\n object appear on its place. These effects are:\n - L{effect_flip_add}\n - L{effect_resizable_flip_add}\n - L{effect_fade_add}\n - L{effect_blend_add}\n\n It's also possible to make a transition chain with L{chain_transit_add}.\n\n @warning: We strongly recommend to use elm_transit just when edje can\n not do the trick. Edje is better at handling transitions than\n Elm_Transit. Edje has more flexibility and animations can be manipulated\n inside the theme.\n\n "), /*tp_doc*/
+ 0, /*tp_traverse*/
+ 0, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Transit, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Transit, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_7Transit_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Transit, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_SlideshowItemClass(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *p;
+ PyObject *o = (*t->tp_alloc)(t, 0);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)o);
+ p->_get_func = Py_None; Py_INCREF(Py_None);
+ p->_del_func = Py_None; Py_INCREF(Py_None);
+ if (__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_1__cinit__(o, a, k) < 0) {
+ Py_DECREF(o); o = 0;
+ }
+ return o;
+ }
+
+ static void __pyx_tp_dealloc_10elementary_12c_elementary_SlideshowItemClass(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)o;
+ Py_XDECREF(p->_get_func);
+ Py_XDECREF(p->_del_func);
+ (*Py_TYPE(o)->tp_free)(o);
+ }
+
+ static int __pyx_tp_traverse_10elementary_12c_elementary_SlideshowItemClass(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)o;
+ if (p->_get_func) {
+ e = (*v)(p->_get_func, a); if (e) return e;
+ }
+ if (p->_del_func) {
+ e = (*v)(p->_del_func, a); if (e) return e;
+ }
+ return 0;
+ }
+
+ static int __pyx_tp_clear_10elementary_12c_elementary_SlideshowItemClass(PyObject *o) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *p = (struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass *)o;
+ PyObject* tmp;
+ tmp = ((PyObject*)p->_get_func);
+ p->_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);
+ return 0;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18SlideshowItemClass__get_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9_get_func_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18SlideshowItemClass__del_func(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9_del_func_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_SlideshowItemClass[] = {
+ {__Pyx_NAMESTR("get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_9get, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18SlideshowItemClass_8get)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_SlideshowItemClass[] = {
+ {(char *)"_get_func", __pyx_getprop_10elementary_12c_elementary_18SlideshowItemClass__get_func, 0, 0, 0},
+ {(char *)"_del_func", __pyx_getprop_10elementary_12c_elementary_18SlideshowItemClass__del_func, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_SlideshowItemClass = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_SlideshowItemClass = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_SlideshowItemClass = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_SlideshowItemClass = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_SlideshowItemClass = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.SlideshowItemClass"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_SlideshowItemClass), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_SlideshowItemClass, /*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_10elementary_12c_elementary_18SlideshowItemClass_7__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_SlideshowItemClass, /*tp_as_number*/
+ &__pyx_tp_as_sequence_SlideshowItemClass, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_SlideshowItemClass, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_5__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_SlideshowItemClass, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Defines the behavior of each slideshow item.\n\n This class should be created and handled to the Slideshow itself.\n\n It may be subclassed, in this case the methods L{get()} and C{delete()}\n will be used.\n\n It may also be instantiated directly, given getters to override as\n constructor parameters.\n\n @param get_func: if provided will override the behavior\n defined by L{get()} in this class. Its purpose is\n to return the icon object to be used (swalloed) by a\n given part and row. This function should have the\n signature:\n C{func(obj, item_data) -> obj}\n\n @param del_func: if provided will override the behavior\n defined by C{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 C{func(obj, item_data)}\n\n @note: In all these signatures, 'obj' means Slideshow and\n 'item_data' is the value given to Slideshow item append/prepend\n methods, it should represent your item model as you want.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_SlideshowItemClass, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_SlideshowItemClass, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_SlideshowItemClass, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_SlideshowItemClass, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_18SlideshowItemClass_3__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_SlideshowItemClass, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_SlideshowItem __pyx_vtable_10elementary_12c_elementary_SlideshowItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_SlideshowItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_SlideshowItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_13SlideshowItem_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_13SlideshowItem_6object_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_SlideshowItem[] = {
+ {__Pyx_NAMESTR("show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_13SlideshowItem_5show, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_13SlideshowItem_4show)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_SlideshowItem[] = {
+ {(char *)"object", __pyx_getprop_10elementary_12c_elementary_13SlideshowItem_object, 0, __Pyx_DOCSTR(__pyx_k_652), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_SlideshowItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_SlideshowItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_SlideshowItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_SlideshowItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_SlideshowItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.SlideshowItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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_10elementary_12c_elementary_13SlideshowItem_3__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_SlideshowItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_SlideshowItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_SlideshowItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_13SlideshowItem_1__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_SlideshowItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for Slideshow."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_SlideshowItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_SlideshowItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_SlideshowItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Slideshow __pyx_vtable_10elementary_12c_elementary_Slideshow;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Slideshow(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementarySlideshow *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementarySlideshow *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Slideshow;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_transitions(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_11transitions_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_transition(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_10transition_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Slideshow_transition(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_10transition_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_7timeout_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Slideshow_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_7timeout_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_loop(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_4loop_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Slideshow_loop(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_4loop_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_current_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_12current_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_layout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_6layout_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Slideshow_layout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_6layout_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_layouts(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_7layouts_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_cache_before(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_12cache_before_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Slideshow_cache_before(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_12cache_before_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_cache_after(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_11cache_after_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_9Slideshow_cache_after(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_11cache_after_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_9Slideshow_count(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_9Slideshow_5count_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Slideshow[] = {
+ {__Pyx_NAMESTR("item_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_3item_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_2item_add)},
+ {__Pyx_NAMESTR("item_sorted_insert"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_5item_sorted_insert, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_4item_sorted_insert)},
+ {__Pyx_NAMESTR("next"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_7next, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_6next)},
+ {__Pyx_NAMESTR("previous"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_9previous, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_8previous)},
+ {__Pyx_NAMESTR("clear"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_11clear, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_10clear)},
+ {__Pyx_NAMESTR("nth_item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_13nth_item_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_12nth_item_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_15callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_14callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_17callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_transition_end_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_19callback_transition_end_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_9Slideshow_18callback_transition_end_add)},
+ {__Pyx_NAMESTR("callback_transition_end_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_9Slideshow_21callback_transition_end_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Slideshow[] = {
+ {(char *)"transitions", __pyx_getprop_10elementary_12c_elementary_9Slideshow_transitions, 0, __Pyx_DOCSTR(__pyx_k_653), 0},
+ {(char *)"transition", __pyx_getprop_10elementary_12c_elementary_9Slideshow_transition, __pyx_setprop_10elementary_12c_elementary_9Slideshow_transition, __Pyx_DOCSTR(__pyx_k_654), 0},
+ {(char *)"timeout", __pyx_getprop_10elementary_12c_elementary_9Slideshow_timeout, __pyx_setprop_10elementary_12c_elementary_9Slideshow_timeout, __Pyx_DOCSTR(__pyx_k_655), 0},
+ {(char *)"loop", __pyx_getprop_10elementary_12c_elementary_9Slideshow_loop, __pyx_setprop_10elementary_12c_elementary_9Slideshow_loop, __Pyx_DOCSTR(__pyx_k_656), 0},
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_9Slideshow_items, 0, __Pyx_DOCSTR(__pyx_k_657), 0},
+ {(char *)"current_item", __pyx_getprop_10elementary_12c_elementary_9Slideshow_current_item, 0, __Pyx_DOCSTR(__pyx_k_658), 0},
+ {(char *)"layout", __pyx_getprop_10elementary_12c_elementary_9Slideshow_layout, __pyx_setprop_10elementary_12c_elementary_9Slideshow_layout, __Pyx_DOCSTR(__pyx_k_659), 0},
+ {(char *)"layouts", __pyx_getprop_10elementary_12c_elementary_9Slideshow_layouts, 0, __Pyx_DOCSTR(__pyx_k_660), 0},
+ {(char *)"cache_before", __pyx_getprop_10elementary_12c_elementary_9Slideshow_cache_before, __pyx_setprop_10elementary_12c_elementary_9Slideshow_cache_before, __Pyx_DOCSTR(__pyx_k_661), 0},
+ {(char *)"cache_after", __pyx_getprop_10elementary_12c_elementary_9Slideshow_cache_after, __pyx_setprop_10elementary_12c_elementary_9Slideshow_cache_after, __Pyx_DOCSTR(__pyx_k_662), 0},
+ {(char *)"count", __pyx_getprop_10elementary_12c_elementary_9Slideshow_count, 0, __Pyx_DOCSTR(__pyx_k_663), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Slideshow = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Slideshow = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Slideshow = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Slideshow = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementarySlideshow_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Slideshow"), /*tp_name*/
+ sizeof(struct PyElementarySlideshow), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Slideshow, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Slideshow, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Slideshow, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Slideshow, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This widget, as the name indicates, is a pre-made image\n slideshow panel, with API functions acting on (child) image\n items presentation. Between those actions, are:\n - advance to next/previous image\n - select the style of image transition animation\n - set the exhibition time for each image\n - start/stop the slideshow\n\n The transition animations are defined in the widget's theme,\n consequently new animations can be added without having to\n update the widget's code.\n\n Slideshow items\n ===============\n\n For slideshow items, just like for L{Genlist} \"genlist\" ones,\n the user defines a B{classes}, specifying functions that will be\n called on the item's creation and deletion times.\n\n The Elm_Slideshow_Item_Class structure contains the following\n members:\n\n - C{func.get} - When an item is displayed, this function is\n called, and it's where one should create the item object, de\n facto. For example, the object can be a pure Evas image object\n or an Elementary L{Photocam} \"photocam\" widget.\n See #SlideshowItemGetFunc.\n - C{func.del} - When an item is no more displayed, this function\n is called, where the user must delete any data associated to\n the item. See #SlideshowItemDelFunc.\n\n Slideshow caching\n =================\n\n The slideshow provides facilities to have items adjacent to the\n one being displayed B{already \"realized\"} (i.e. loaded) for\n you, so that the system does not have to decode image data\n anymore at the time it has to actually switch images on its\n viewport. The user is able to set the numbers of items to be\n cached B{before} and B{after} the current item, in the widget's\n item list.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - when the slideshow switches its view to a new item.\n event_info parameter in callback contains the current visible item\n - C{\"transition,end\"} - when a slide transition ends. event_info\n parameter in callback contains the current visible item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Slideshow, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Slideshow, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_9Slideshow_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Slideshow, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControlItem __pyx_vtable_10elementary_12c_elementary_SegmentControlItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_SegmentControlItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_SegmentControlItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18SegmentControlItem_index(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18SegmentControlItem_5index_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_18SegmentControlItem_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_18SegmentControlItem_6object_1__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_18SegmentControlItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_18SegmentControlItem_8selected_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_SegmentControlItem[] = {
+ {__Pyx_NAMESTR("index_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_1index_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18SegmentControlItem_index_get)},
+ {__Pyx_NAMESTR("object_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_3object_get, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18SegmentControlItem_2object_get)},
+ {__Pyx_NAMESTR("selected_set"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_18SegmentControlItem_5selected_set, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_18SegmentControlItem_4selected_set)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_SegmentControlItem[] = {
+ {(char *)"index", __pyx_getprop_10elementary_12c_elementary_18SegmentControlItem_index, 0, __Pyx_DOCSTR(__pyx_k_664), 0},
+ {(char *)"object", __pyx_getprop_10elementary_12c_elementary_18SegmentControlItem_object, 0, __Pyx_DOCSTR(__pyx_k_665), 0},
+ {(char *)"selected", 0, __pyx_setprop_10elementary_12c_elementary_18SegmentControlItem_selected, __Pyx_DOCSTR(__pyx_k_666), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_SegmentControlItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_SegmentControlItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_SegmentControlItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_SegmentControlItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_SegmentControlItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.SegmentControlItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_SegmentControlItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_SegmentControlItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_SegmentControlItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_SegmentControlItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_SegmentControlItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for L{SegmentControl}."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_SegmentControlItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_SegmentControlItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_SegmentControlItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_SegmentControl __pyx_vtable_10elementary_12c_elementary_SegmentControl;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_SegmentControl(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementarySegmentControl *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementarySegmentControl *)o);
+ p->__pyx_base.__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_SegmentControl;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_14SegmentControl_item_count(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_14SegmentControl_10item_count_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_14SegmentControl_item_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_14SegmentControl_13item_selected_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_SegmentControl[] = {
+ {__Pyx_NAMESTR("item_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_3item_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_2item_add)},
+ {__Pyx_NAMESTR("item_insert_at"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_5item_insert_at, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_4item_insert_at)},
+ {__Pyx_NAMESTR("item_del_at"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_7item_del_at, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_6item_del_at)},
+ {__Pyx_NAMESTR("item_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_9item_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_8item_get)},
+ {__Pyx_NAMESTR("item_label_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_11item_label_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_10item_label_get)},
+ {__Pyx_NAMESTR("item_icon_get"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_13item_icon_get, METH_O, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_12item_icon_get)},
+ {__Pyx_NAMESTR("callback_changed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_15callback_changed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_14SegmentControl_14callback_changed_add)},
+ {__Pyx_NAMESTR("callback_changed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_14SegmentControl_17callback_changed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_SegmentControl[] = {
+ {(char *)"item_count", __pyx_getprop_10elementary_12c_elementary_14SegmentControl_item_count, 0, __Pyx_DOCSTR(__pyx_k_667), 0},
+ {(char *)"item_selected", __pyx_getprop_10elementary_12c_elementary_14SegmentControl_item_selected, 0, __Pyx_DOCSTR(__pyx_k_668), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_SegmentControl = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_SegmentControl = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_SegmentControl = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_SegmentControl = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementarySegmentControl_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.SegmentControl"), /*tp_name*/
+ sizeof(struct PyElementarySegmentControl), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_SegmentControl, /*tp_as_number*/
+ &__pyx_tp_as_sequence_SegmentControl, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_SegmentControl, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_SegmentControl, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("Segment control widget is a horizontal control made of multiple\n segment items, each segment item functioning similar to discrete two\n state button. A segment control groups the items together and provides\n compact single button with multiple equal size segments.\n\n Segment item size is determined by base widget size and the number of\n items added. Only one segment item can be at selected state. A segment\n item can display combination of Text and any Evas_Object like Images or\n other widget.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"changed\"} - When the user clicks on a segment item which is not\n previously selected and get selected. The event_info parameter is the\n segment item pointer.\n\n Available styles for it:\n - C{\"default\"}\n\n Default content parts of the segment control items that you can use for are:\n - \"icon\" - An icon in a segment control item\n\n Default text parts of the segment control items that you can use for are:\n - \"default\" - Title label in a segment control item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_SegmentControl, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_SegmentControl, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_14SegmentControl_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_SegmentControl, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_PopupItem __pyx_vtable_10elementary_12c_elementary_PopupItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_PopupItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_PopupItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_PopupItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_PopupItem;
+ return o;
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_PopupItem[] = {
+ {0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_PopupItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_PopupItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_PopupItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_PopupItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_PopupItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.PopupItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_PopupItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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_10elementary_12c_elementary_9PopupItem_5__repr__, /*tp_repr*/
+ &__pyx_tp_as_number_PopupItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_PopupItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_PopupItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ __pyx_pw_10elementary_12c_elementary_9PopupItem_3__str__, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_PopupItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for L{Popup}.\n\n Default contents parts of the popup items that you can use for are:\n - \"default\" -Item's icon\n\n Default text parts of the popup items that you can use for are:\n - \"default\" - Item's label\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_PopupItem, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_9PopupItem_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_PopupItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Popup __pyx_vtable_10elementary_12c_elementary_Popup;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Popup(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPopup *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPopup *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Popup;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Popup_content_text_wrap_type(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_22content_text_wrap_type_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Popup_content_text_wrap_type(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_22content_text_wrap_type_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Popup_orient(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_6orient_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Popup_orient(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_6orient_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Popup_timeout(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_7timeout_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Popup_timeout(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_7timeout_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_5Popup_allow_events(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_12allow_events_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_5Popup_allow_events(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_5Popup_12allow_events_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Popup[] = {
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Popup_3item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Popup_2item_append)},
+ {__Pyx_NAMESTR("callback_timeout_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Popup_5callback_timeout_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Popup_4callback_timeout_add)},
+ {__Pyx_NAMESTR("callback_timeout_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Popup_7callback_timeout_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_block_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Popup_9callback_block_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_5Popup_8callback_block_clicked_add)},
+ {__Pyx_NAMESTR("callback_block_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_5Popup_11callback_block_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Popup[] = {
+ {(char *)"content_text_wrap_type", __pyx_getprop_10elementary_12c_elementary_5Popup_content_text_wrap_type, __pyx_setprop_10elementary_12c_elementary_5Popup_content_text_wrap_type, __Pyx_DOCSTR(__pyx_k_669), 0},
+ {(char *)"orient", __pyx_getprop_10elementary_12c_elementary_5Popup_orient, __pyx_setprop_10elementary_12c_elementary_5Popup_orient, __Pyx_DOCSTR(__pyx_k_670), 0},
+ {(char *)"timeout", __pyx_getprop_10elementary_12c_elementary_5Popup_timeout, __pyx_setprop_10elementary_12c_elementary_5Popup_timeout, __Pyx_DOCSTR(__pyx_k_671), 0},
+ {(char *)"allow_events", __pyx_getprop_10elementary_12c_elementary_5Popup_allow_events, __pyx_setprop_10elementary_12c_elementary_5Popup_allow_events, __Pyx_DOCSTR(__pyx_k_672), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Popup = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Popup = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Popup = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Popup = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPopup_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Popup"), /*tp_name*/
+ sizeof(struct PyElementaryPopup), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Popup, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Popup, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Popup, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Popup, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This widget is an enhancement of L{Notify}.\n In addition to Content area, there are two optional sections namely Title\n area and Action area.\n\n Popup Widget displays its content with a particular orientation in the\n parent area. This orientation can be one among top, center, bottom,\n left, top-left, top-right, bottom-left and bottom-right. Content part of\n Popup can be an Evas Object set by application or it can be Text set by\n application or set of items containing an icon and/or text. The\n content/item-list can be removed using elm_object_content_set with second\n parameter passed as None.\n\n Following figures shows the textual layouts of popup in which Title Area\n and Action area area are optional ones. Action area can have up to 3\n buttons handled using elm_object common APIs mentioned below. If user\n wants to have more than 3 buttons then these buttons can be put inside\n the items of a list as content. User needs to handle the clicked signal\n of these action buttons if required. No event is processed by the widget\n automatically when clicked on these action buttons.\n\n Figure::\n |---------------------| |---------------------| |---------------------|\n | Title Area | | Title Area | | Title Area |\n |Icon| Text | |Icon| Text | |Icon| Text |\n |---------------------| |---------------------| |---------------------|\n | Item 1 | | | | |\n |---------------------| | | | |\n | Item 2 | | | | Description |\n |---------------------| | Content | | |\n | Item 3 | | | | |\n |---------------------| | | | |\n | . | |---------------------| |---------------------|\n | . | | Action Area | | Action Area |\n | . | | Btn1 |Btn2|. |Btn3 | | Btn1 |Btn2| |Btn3 |\n |---------------------| |---------------------| |---------------------|\n | Item N | Content Based Layout Description based Layout\n |---------------------|\n | Action Area |\n | Btn1 |Btn2|. |Btn3 |\n |---------------------|\n Item Based Layout\n\n Timeout can be set on expiry of which popup instance hides and sends a\n smart signal \"timeout\" to the user. The visible region of popup is\n surrounded by a translucent region called Blocked Event area. By\n clicking on Blocked Event area, the signal \"block,clicked\" is sent to\n the application. This block event area can be avoided by using API\n elm_popup_allow_events_set. When gets hidden, popup does not get\n destroyed automatically, application should destroy the popup instance\n after use. To control the maximum height of the internal scroller for\n item, we use the height of the action area which is passed by theme\n based on the number of buttons currently set to popup.\n\n Signals that you can add callbacks for are:\n - \"timeout\" - when ever popup is closed as a result of timeout.\n - \"block,clicked\" - when ever user taps on Blocked Event area.\n\n Styles available for Popup\n - \"default\"\n\n Default contents parts of the popup widget that you can use for are:\n - \"default\" - The content of the popup\n - \"title,icon\" - Title area's icon\n - \"button1\" - 1st button of the action area\n - \"button2\" - 2nd button of the action area\n - \"button3\" - 3rd button of the action area\n\n Default text parts of the popup widget that you can use for are:\n - \"title,text\" - This operates on Title area's label\n - \"default\" - content-text set in the content area of the widget\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Popup, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Popup, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_5Popup_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Popup, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Plug __pyx_vtable_10elementary_12c_elementary_Plug;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Plug(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPlug *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPlug *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Plug;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_4Plug_image_object(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_4Plug_12image_object_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Plug[] = {
+ {__Pyx_NAMESTR("connect"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_4Plug_3connect, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_4Plug_2connect)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Plug[] = {
+ {(char *)"image_object", __pyx_getprop_10elementary_12c_elementary_4Plug_image_object, 0, __Pyx_DOCSTR(__pyx_k_673), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Plug = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Plug = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Plug = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Plug = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPlug_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Plug"), /*tp_name*/
+ sizeof(struct PyElementaryPlug), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Plug, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Plug, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Plug, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Plug, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An object that allows one to show an image which other process created.\n It can be used anywhere like any other elementary widget.\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Plug, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Plug, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_4Plug_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Plug, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_Photocam __pyx_vtable_10elementary_12c_elementary_Photocam;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_Photocam(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryPhotocam *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryPhotocam *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_Photocam;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_file(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_4file_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Photocam_file(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_4file_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_zoom(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_4zoom_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Photocam_zoom(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_4zoom_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_zoom_mode(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_9zoom_mode_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Photocam_zoom_mode(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_9zoom_mode_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_image_size(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_10image_size_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_image_region(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_12image_region_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_paused(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_6paused_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Photocam_paused(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_6paused_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_internal_image(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_14internal_image_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_bounce(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_6bounce_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Photocam_bounce(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_6bounce_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_8Photocam_gesture_enabled(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_15gesture_enabled_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_8Photocam_gesture_enabled(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_8Photocam_15gesture_enabled_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_Photocam[] = {
+ {__Pyx_NAMESTR("image_region_show"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_3image_region_show, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_2image_region_show)},
+ {__Pyx_NAMESTR("image_region_bring_in"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_5image_region_bring_in, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_4image_region_bring_in)},
+ {__Pyx_NAMESTR("callback_clicked_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_7callback_clicked_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_6callback_clicked_add)},
+ {__Pyx_NAMESTR("callback_clicked_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_9callback_clicked_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_press_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_11callback_press_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_10callback_press_add)},
+ {__Pyx_NAMESTR("callback_press_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_13callback_press_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_longpressed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_15callback_longpressed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_14callback_longpressed_add)},
+ {__Pyx_NAMESTR("callback_longpressed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_17callback_longpressed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_clicked_double_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_19callback_clicked_double_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_18callback_clicked_double_add)},
+ {__Pyx_NAMESTR("callback_clicked_double_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_21callback_clicked_double_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_23callback_load_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_22callback_load_add)},
+ {__Pyx_NAMESTR("callback_load_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_25callback_load_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_loaded_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_27callback_loaded_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_26callback_loaded_add)},
+ {__Pyx_NAMESTR("callback_loaded_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_29callback_loaded_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_load_detail_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_31callback_load_detail_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_30callback_load_detail_add)},
+ {__Pyx_NAMESTR("callback_load_detail_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_33callback_load_detail_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_loaded_detail_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_35callback_loaded_detail_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_34callback_loaded_detail_add)},
+ {__Pyx_NAMESTR("callback_loaded_detail_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_37callback_loaded_detail_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_39callback_zoom_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_38callback_zoom_start_add)},
+ {__Pyx_NAMESTR("callback_zoom_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_41callback_zoom_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_43callback_zoom_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_42callback_zoom_stop_add)},
+ {__Pyx_NAMESTR("callback_zoom_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_45callback_zoom_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_zoom_change_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_47callback_zoom_change_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_46callback_zoom_change_add)},
+ {__Pyx_NAMESTR("callback_zoom_change_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_49callback_zoom_change_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_51callback_scroll_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_50callback_scroll_add)},
+ {__Pyx_NAMESTR("callback_scroll_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_53callback_scroll_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_55callback_scroll_anim_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_54callback_scroll_anim_start_add)},
+ {__Pyx_NAMESTR("callback_scroll_anim_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_57callback_scroll_anim_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_59callback_scroll_anim_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_58callback_scroll_anim_stop_add)},
+ {__Pyx_NAMESTR("callback_scroll_anim_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_61callback_scroll_anim_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_63callback_scroll_drag_start_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_62callback_scroll_drag_start_add)},
+ {__Pyx_NAMESTR("callback_scroll_drag_start_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_65callback_scroll_drag_start_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_67callback_scroll_drag_stop_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_8Photocam_66callback_scroll_drag_stop_add)},
+ {__Pyx_NAMESTR("callback_scroll_drag_stop_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_8Photocam_69callback_scroll_drag_stop_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_Photocam[] = {
+ {(char *)"file", __pyx_getprop_10elementary_12c_elementary_8Photocam_file, __pyx_setprop_10elementary_12c_elementary_8Photocam_file, __Pyx_DOCSTR(__pyx_k_674), 0},
+ {(char *)"zoom", __pyx_getprop_10elementary_12c_elementary_8Photocam_zoom, __pyx_setprop_10elementary_12c_elementary_8Photocam_zoom, __Pyx_DOCSTR(__pyx_k_675), 0},
+ {(char *)"zoom_mode", __pyx_getprop_10elementary_12c_elementary_8Photocam_zoom_mode, __pyx_setprop_10elementary_12c_elementary_8Photocam_zoom_mode, __Pyx_DOCSTR(__pyx_k_676), 0},
+ {(char *)"image_size", __pyx_getprop_10elementary_12c_elementary_8Photocam_image_size, 0, __Pyx_DOCSTR(__pyx_k_677), 0},
+ {(char *)"image_region", __pyx_getprop_10elementary_12c_elementary_8Photocam_image_region, 0, __Pyx_DOCSTR(__pyx_k_678), 0},
+ {(char *)"paused", __pyx_getprop_10elementary_12c_elementary_8Photocam_paused, __pyx_setprop_10elementary_12c_elementary_8Photocam_paused, __Pyx_DOCSTR(__pyx_k_679), 0},
+ {(char *)"internal_image", __pyx_getprop_10elementary_12c_elementary_8Photocam_internal_image, 0, __Pyx_DOCSTR(__pyx_k_680), 0},
+ {(char *)"bounce", __pyx_getprop_10elementary_12c_elementary_8Photocam_bounce, __pyx_setprop_10elementary_12c_elementary_8Photocam_bounce, __Pyx_DOCSTR(__pyx_k_681), 0},
+ {(char *)"gesture_enabled", __pyx_getprop_10elementary_12c_elementary_8Photocam_gesture_enabled, __pyx_setprop_10elementary_12c_elementary_8Photocam_gesture_enabled, __Pyx_DOCSTR(__pyx_k_682), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_Photocam = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_Photocam = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_Photocam = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_Photocam = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryPhotocam_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.Photocam"), /*tp_name*/
+ sizeof(struct PyElementaryPhotocam), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_Photocam, /*tp_as_number*/
+ &__pyx_tp_as_sequence_Photocam, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_Photocam, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_Photocam, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("This is a widget specifically for displaying high-resolution digital\n camera photos giving speedy feedback (fast load), low memory footprint\n and zooming and panning as well as fitting logic. It is entirely focused\n on jpeg images, and takes advantage of properties of the jpeg format (via\n evas loader features in the jpeg loader).\n\n Signals that you can add callbacks for are:\n - \"clicked\" - This is called when a user has clicked the photo without\n dragging around.\n - \"press\" - This is called when a user has pressed down on the photo.\n - \"longpressed\" - This is called when a user has pressed down on the\n photo for a long time without dragging around.\n - \"clicked,double\" - This is called when a user has double-clicked the\n photo.\n - \"load\" - Photo load begins.\n - \"loaded\" - This is called when the image file load is complete for\n the first view (low resolution blurry version).\n - \"load,detail\" - Photo detailed data load begins.\n - \"loaded,detail\" - This is called when the image file load is\n complete for the detailed image data (full resolution needed).\n - \"zoom,start\" - Zoom animation started.\n - \"zoom,stop\" - Zoom animation stopped.\n - \"zoom,change\" - Zoom changed when using an auto zoom mode.\n - \"scroll\" - the content has been scrolled (moved)\n - \"scroll,anim,start\" - scrolling animation has started\n - \"scroll,anim,stop\" - scrolling animation has stopped\n - \"scroll,drag,start\" - dragging the contents around has started\n - \"scroll,drag,stop\" - dragging the contents around has stopped\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_Photocam, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_Photocam, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_8Photocam_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_Photocam, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelectorItem __pyx_vtable_10elementary_12c_elementary_FlipSelectorItem;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_FlipSelectorItem(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_ObjectItem(t, a, k);
+ if (!o) return 0;
+ p = ((struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem *)o);
+ p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_10elementary_12c_elementary_ObjectItem*)__pyx_vtabptr_10elementary_12c_elementary_FlipSelectorItem;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16FlipSelectorItem_selected(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_8selected_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_16FlipSelectorItem_selected(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_8selected_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16FlipSelectorItem_prev(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_4prev_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_16FlipSelectorItem_next(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_16FlipSelectorItem_4next_1__get__(o);
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_FlipSelectorItem[] = {
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_FlipSelectorItem[] = {
+ {(char *)"selected", __pyx_getprop_10elementary_12c_elementary_16FlipSelectorItem_selected, __pyx_setprop_10elementary_12c_elementary_16FlipSelectorItem_selected, __Pyx_DOCSTR(__pyx_k_683), 0},
+ {(char *)"prev", __pyx_getprop_10elementary_12c_elementary_16FlipSelectorItem_prev, 0, __Pyx_DOCSTR(__pyx_k_684), 0},
+ {(char *)"next", __pyx_getprop_10elementary_12c_elementary_16FlipSelectorItem_next, 0, __Pyx_DOCSTR(__pyx_k_685), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_FlipSelectorItem = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_FlipSelectorItem = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_FlipSelectorItem = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_FlipSelectorItem = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ static PyTypeObject __pyx_type_10elementary_12c_elementary_FlipSelectorItem = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.FlipSelectorItem"), /*tp_name*/
+ sizeof(struct __pyx_obj_10elementary_12c_elementary_FlipSelectorItem), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_ObjectItem, /*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*/
+ &__pyx_tp_as_number_FlipSelectorItem, /*tp_as_number*/
+ &__pyx_tp_as_sequence_FlipSelectorItem, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_FlipSelectorItem, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_FlipSelectorItem, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("An item for the L{FlipSelector} widget."), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_ObjectItem, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_ObjectItem, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_FlipSelectorItem, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_FlipSelectorItem, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_FlipSelectorItem, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+ static struct __pyx_vtabstruct_10elementary_12c_elementary_FlipSelector __pyx_vtable_10elementary_12c_elementary_FlipSelector;
+
+ static PyObject *__pyx_tp_new_10elementary_12c_elementary_FlipSelector(PyTypeObject *t, PyObject *a, PyObject *k) {
+ struct PyElementaryFlipSelector *p;
+ PyObject *o = __pyx_tp_new_10elementary_12c_elementary_Object(t, a, k);
+ if (!o) return 0;
+ p = ((struct PyElementaryFlipSelector *)o);
+ p->__pyx_base.__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__pyx_vtabptr_10elementary_12c_elementary_FlipSelector;
+ return o;
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12FlipSelector_items(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12FlipSelector_5items_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12FlipSelector_first_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12FlipSelector_10first_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12FlipSelector_last_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12FlipSelector_9last_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12FlipSelector_selected_item(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12FlipSelector_13selected_item_1__get__(o);
+ }
+
+ static PyObject *__pyx_getprop_10elementary_12c_elementary_12FlipSelector_first_interval(PyObject *o, void *x) {
+ return __pyx_pw_10elementary_12c_elementary_12FlipSelector_14first_interval_3__get__(o);
+ }
+
+ static int __pyx_setprop_10elementary_12c_elementary_12FlipSelector_first_interval(PyObject *o, PyObject *v, void *x) {
+ if (v) {
+ return __pyx_pw_10elementary_12c_elementary_12FlipSelector_14first_interval_1__set__(o, v);
+ }
+ else {
+ PyErr_SetString(PyExc_NotImplementedError, "__del__");
+ return -1;
+ }
+ }
+
+ static PyMethodDef __pyx_methods_10elementary_12c_elementary_FlipSelector[] = {
+ {__Pyx_NAMESTR("next"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_3next, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_2next)},
+ {__Pyx_NAMESTR("prev"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_5prev, METH_NOARGS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_4prev)},
+ {__Pyx_NAMESTR("item_append"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_7item_append, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_6item_append)},
+ {__Pyx_NAMESTR("item_prepend"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_9item_prepend, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_8item_prepend)},
+ {__Pyx_NAMESTR("callback_selected_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_11callback_selected_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_10callback_selected_add)},
+ {__Pyx_NAMESTR("callback_selected_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_13callback_selected_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_overflowed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_15callback_overflowed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_14callback_overflowed_add)},
+ {__Pyx_NAMESTR("callback_overflowed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_17callback_overflowed_del, METH_O, __Pyx_DOCSTR(0)},
+ {__Pyx_NAMESTR("callback_underflowed_add"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_19callback_underflowed_add, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(__pyx_doc_10elementary_12c_elementary_12FlipSelector_18callback_underflowed_add)},
+ {__Pyx_NAMESTR("callback_underflowed_del"), (PyCFunction)__pyx_pw_10elementary_12c_elementary_12FlipSelector_21callback_underflowed_del, METH_O, __Pyx_DOCSTR(0)},
+ {0, 0, 0, 0}
+ };
+
+ static struct PyGetSetDef __pyx_getsets_10elementary_12c_elementary_FlipSelector[] = {
+ {(char *)"items", __pyx_getprop_10elementary_12c_elementary_12FlipSelector_items, 0, __Pyx_DOCSTR(__pyx_k_686), 0},
+ {(char *)"first_item", __pyx_getprop_10elementary_12c_elementary_12FlipSelector_first_item, 0, __Pyx_DOCSTR(__pyx_k_687), 0},
+ {(char *)"last_item", __pyx_getprop_10elementary_12c_elementary_12FlipSelector_last_item, 0, __Pyx_DOCSTR(__pyx_k_688), 0},
+ {(char *)"selected_item", __pyx_getprop_10elementary_12c_elementary_12FlipSelector_selected_item, 0, __Pyx_DOCSTR(__pyx_k_689), 0},
+ {(char *)"first_interval", __pyx_getprop_10elementary_12c_elementary_12FlipSelector_first_interval, __pyx_setprop_10elementary_12c_elementary_12FlipSelector_first_interval, __Pyx_DOCSTR(__pyx_k_690), 0},
+ {0, 0, 0, 0, 0}
+ };
+
+ static PyNumberMethods __pyx_tp_as_number_FlipSelector = {
+ 0, /*nb_add*/
+ 0, /*nb_subtract*/
+ 0, /*nb_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_divide*/
+ #endif
+ 0, /*nb_remainder*/
+ 0, /*nb_divmod*/
+ 0, /*nb_power*/
+ 0, /*nb_negative*/
+ 0, /*nb_positive*/
+ 0, /*nb_absolute*/
+ 0, /*nb_nonzero*/
+ 0, /*nb_invert*/
+ 0, /*nb_lshift*/
+ 0, /*nb_rshift*/
+ 0, /*nb_and*/
+ 0, /*nb_xor*/
+ 0, /*nb_or*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_coerce*/
+ #endif
+ 0, /*nb_int*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_long*/
+ #else
+ 0, /*reserved*/
+ #endif
+ 0, /*nb_float*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_oct*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_hex*/
+ #endif
+ 0, /*nb_inplace_add*/
+ 0, /*nb_inplace_subtract*/
+ 0, /*nb_inplace_multiply*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*nb_inplace_divide*/
+ #endif
+ 0, /*nb_inplace_remainder*/
+ 0, /*nb_inplace_power*/
+ 0, /*nb_inplace_lshift*/
+ 0, /*nb_inplace_rshift*/
+ 0, /*nb_inplace_and*/
+ 0, /*nb_inplace_xor*/
+ 0, /*nb_inplace_or*/
+ 0, /*nb_floor_divide*/
+ 0, /*nb_true_divide*/
+ 0, /*nb_inplace_floor_divide*/
+ 0, /*nb_inplace_true_divide*/
+ #if PY_VERSION_HEX >= 0x02050000
+ 0, /*nb_index*/
+ #endif
+ };
+
+ static PySequenceMethods __pyx_tp_as_sequence_FlipSelector = {
+ 0, /*sq_length*/
+ 0, /*sq_concat*/
+ 0, /*sq_repeat*/
+ 0, /*sq_item*/
+ 0, /*sq_slice*/
+ 0, /*sq_ass_item*/
+ 0, /*sq_ass_slice*/
+ 0, /*sq_contains*/
+ 0, /*sq_inplace_concat*/
+ 0, /*sq_inplace_repeat*/
+ };
+
+ static PyMappingMethods __pyx_tp_as_mapping_FlipSelector = {
+ 0, /*mp_length*/
+ 0, /*mp_subscript*/
+ 0, /*mp_ass_subscript*/
+ };
+
+ static PyBufferProcs __pyx_tp_as_buffer_FlipSelector = {
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getreadbuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getwritebuffer*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getsegcount*/
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ 0, /*bf_getcharbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_getbuffer*/
+ #endif
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*bf_releasebuffer*/
+ #endif
+ };
+
+ DL_EXPORT(PyTypeObject) PyElementaryFlipSelector_Type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("elementary.c_elementary.FlipSelector"), /*tp_name*/
+ sizeof(struct PyElementaryFlipSelector), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_10elementary_12c_elementary_Object, /*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*/
+ &__pyx_tp_as_number_FlipSelector, /*tp_as_number*/
+ &__pyx_tp_as_sequence_FlipSelector, /*tp_as_sequence*/
+ &__pyx_tp_as_mapping_FlipSelector, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ &__pyx_tp_as_buffer_FlipSelector, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ __Pyx_DOCSTR("A flip selector is a widget to show a set of B{text} items, one\n at a time, with the same sheet switching style as the @ref Clock\n \"clock\" widget, when one changes the current displaying sheet\n (thus, the \"flip\" in the name).\n\n User clicks to flip sheets which are B{held} for some time will\n make the flip selector to flip continuously and automatically for\n the user. The interval between flips will keep growing in time,\n so that it helps the user to reach an item which is distant from\n the current selection.\n\n This widget inherits from the @ref Layout one, so that all the\n functions acting on it also work for flip selector objects.\n\n This widget emits the following signals, besides the ones sent from\n L{Layout}:\n - C{\"selected\"} - when the widget's selected text item is changed\n - C{\"overflowed\"} - when the widget's current selection is changed\n from the first item in its list to the last\n - C{\"underflowed\"} - when the widget's current selection is changed\n from the last item in its list to the first\n\n Available styles for it:\n - C{\"default\"}\n\n Default text parts of the flipselector items that you can use for are:\n - \"default\" - label of the flipselector item\n\n "), /*tp_doc*/
+ __pyx_tp_traverse_10elementary_12c_elementary_Object, /*tp_traverse*/
+ __pyx_tp_clear_10elementary_12c_elementary_Object, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_10elementary_12c_elementary_FlipSelector, /*tp_methods*/
+ 0, /*tp_members*/
+ __pyx_getsets_10elementary_12c_elementary_FlipSelector, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ 0, /*tp_dictoffset*/
+ __pyx_pw_10elementary_12c_elementary_12FlipSelector_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_10elementary_12c_elementary_FlipSelector, /*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*/
+ #if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+ #endif
+ };
+
+ static PyMethodDef __pyx_methods[] = {
+ {0, 0, 0, 0}
+ };
+
+ #if PY_MAJOR_VERSION >= 3
+ static struct PyModuleDef __pyx_moduledef = {
+ PyModuleDef_HEAD_INIT,
+ __Pyx_NAMESTR("c_elementary"),
+ __Pyx_DOCSTR(__pyx_k_691), /* 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, __pyx_k_1, sizeof(__pyx_k_1), 0, 0, 1, 0},
+ {&__pyx_n_s_10, __pyx_k_10, sizeof(__pyx_k_10), 0, 0, 1, 1},
+ {&__pyx_kp_s_103, __pyx_k_103, sizeof(__pyx_k_103), 0, 0, 1, 0},
+ {&__pyx_kp_s_105, __pyx_k_105, sizeof(__pyx_k_105), 0, 0, 1, 0},
+ {&__pyx_kp_s_108, __pyx_k_108, sizeof(__pyx_k_108), 0, 0, 1, 0},
+ {&__pyx_n_s_11, __pyx_k_11, sizeof(__pyx_k_11), 0, 0, 1, 1},
+ {&__pyx_kp_s_111, __pyx_k_111, sizeof(__pyx_k_111), 0, 0, 1, 0},
+ {&__pyx_kp_s_112, __pyx_k_112, sizeof(__pyx_k_112), 0, 0, 1, 0},
+ {&__pyx_kp_s_113, __pyx_k_113, sizeof(__pyx_k_113), 0, 0, 1, 0},
+ {&__pyx_kp_s_114, __pyx_k_114, sizeof(__pyx_k_114), 0, 0, 1, 0},
+ {&__pyx_kp_s_115, __pyx_k_115, sizeof(__pyx_k_115), 0, 0, 1, 0},
+ {&__pyx_kp_s_116, __pyx_k_116, sizeof(__pyx_k_116), 0, 0, 1, 0},
+ {&__pyx_kp_s_118, __pyx_k_118, sizeof(__pyx_k_118), 0, 0, 1, 0},
+ {&__pyx_n_s_12, __pyx_k_12, sizeof(__pyx_k_12), 0, 0, 1, 1},
+ {&__pyx_kp_s_120, __pyx_k_120, sizeof(__pyx_k_120), 0, 0, 1, 0},
+ {&__pyx_kp_s_122, __pyx_k_122, sizeof(__pyx_k_122), 0, 0, 1, 0},
+ {&__pyx_kp_s_124, __pyx_k_124, sizeof(__pyx_k_124), 0, 0, 1, 0},
+ {&__pyx_kp_s_125, __pyx_k_125, sizeof(__pyx_k_125), 0, 0, 1, 0},
+ {&__pyx_kp_s_126, __pyx_k_126, sizeof(__pyx_k_126), 0, 0, 1, 0},
+ {&__pyx_kp_s_127, __pyx_k_127, sizeof(__pyx_k_127), 0, 0, 1, 0},
+ {&__pyx_kp_s_128, __pyx_k_128, sizeof(__pyx_k_128), 0, 0, 1, 0},
+ {&__pyx_n_s_13, __pyx_k_13, sizeof(__pyx_k_13), 0, 0, 1, 1},
+ {&__pyx_kp_s_134, __pyx_k_134, sizeof(__pyx_k_134), 0, 0, 1, 0},
+ {&__pyx_kp_s_142, __pyx_k_142, sizeof(__pyx_k_142), 0, 0, 1, 0},
+ {&__pyx_kp_s_143, __pyx_k_143, sizeof(__pyx_k_143), 0, 0, 1, 0},
+ {&__pyx_kp_s_144, __pyx_k_144, sizeof(__pyx_k_144), 0, 0, 1, 0},
+ {&__pyx_kp_s_145, __pyx_k_145, sizeof(__pyx_k_145), 0, 0, 1, 0},
+ {&__pyx_kp_s_146, __pyx_k_146, sizeof(__pyx_k_146), 0, 0, 1, 0},
+ {&__pyx_kp_s_147, __pyx_k_147, sizeof(__pyx_k_147), 0, 0, 1, 0},
+ {&__pyx_kp_s_148, __pyx_k_148, sizeof(__pyx_k_148), 0, 0, 1, 0},
+ {&__pyx_kp_s_149, __pyx_k_149, sizeof(__pyx_k_149), 0, 0, 1, 0},
+ {&__pyx_kp_s_150, __pyx_k_150, sizeof(__pyx_k_150), 0, 0, 1, 0},
+ {&__pyx_kp_s_151, __pyx_k_151, sizeof(__pyx_k_151), 0, 0, 1, 0},
+ {&__pyx_kp_s_152, __pyx_k_152, sizeof(__pyx_k_152), 0, 0, 1, 0},
+ {&__pyx_kp_s_153, __pyx_k_153, sizeof(__pyx_k_153), 0, 0, 1, 0},
+ {&__pyx_kp_s_154, __pyx_k_154, sizeof(__pyx_k_154), 0, 0, 1, 0},
+ {&__pyx_kp_s_155, __pyx_k_155, sizeof(__pyx_k_155), 0, 0, 1, 0},
+ {&__pyx_kp_s_156, __pyx_k_156, sizeof(__pyx_k_156), 0, 0, 1, 0},
+ {&__pyx_kp_s_157, __pyx_k_157, sizeof(__pyx_k_157), 0, 0, 1, 0},
+ {&__pyx_kp_s_16, __pyx_k_16, sizeof(__pyx_k_16), 0, 0, 1, 0},
+ {&__pyx_kp_s_162, __pyx_k_162, sizeof(__pyx_k_162), 0, 0, 1, 0},
+ {&__pyx_n_s_166, __pyx_k_166, sizeof(__pyx_k_166), 0, 0, 1, 1},
+ {&__pyx_n_s_167, __pyx_k_167, sizeof(__pyx_k_167), 0, 0, 1, 1},
+ {&__pyx_kp_s_172, __pyx_k_172, sizeof(__pyx_k_172), 0, 0, 1, 0},
+ {&__pyx_kp_s_173, __pyx_k_173, sizeof(__pyx_k_173), 0, 0, 1, 0},
+ {&__pyx_kp_s_174, __pyx_k_174, sizeof(__pyx_k_174), 0, 0, 1, 0},
+ {&__pyx_kp_s_176, __pyx_k_176, sizeof(__pyx_k_176), 0, 0, 1, 0},
+ {&__pyx_kp_s_178, __pyx_k_178, sizeof(__pyx_k_178), 0, 0, 1, 0},
+ {&__pyx_kp_s_179, __pyx_k_179, sizeof(__pyx_k_179), 0, 0, 1, 0},
+ {&__pyx_n_s_18, __pyx_k_18, sizeof(__pyx_k_18), 0, 0, 1, 1},
+ {&__pyx_kp_s_180, __pyx_k_180, sizeof(__pyx_k_180), 0, 0, 1, 0},
+ {&__pyx_n_s_181, __pyx_k_181, sizeof(__pyx_k_181), 0, 0, 1, 1},
+ {&__pyx_kp_s_182, __pyx_k_182, sizeof(__pyx_k_182), 0, 0, 1, 0},
+ {&__pyx_kp_s_183, __pyx_k_183, sizeof(__pyx_k_183), 0, 0, 1, 0},
+ {&__pyx_n_s_184, __pyx_k_184, sizeof(__pyx_k_184), 0, 0, 1, 1},
+ {&__pyx_kp_s_185, __pyx_k_185, sizeof(__pyx_k_185), 0, 0, 1, 0},
+ {&__pyx_kp_s_186, __pyx_k_186, sizeof(__pyx_k_186), 0, 0, 1, 0},
+ {&__pyx_kp_s_187, __pyx_k_187, sizeof(__pyx_k_187), 0, 0, 1, 0},
+ {&__pyx_kp_s_188, __pyx_k_188, sizeof(__pyx_k_188), 0, 0, 1, 0},
+ {&__pyx_kp_s_189, __pyx_k_189, sizeof(__pyx_k_189), 0, 0, 1, 0},
+ {&__pyx_n_s_19, __pyx_k_19, sizeof(__pyx_k_19), 0, 0, 1, 1},
+ {&__pyx_kp_s_190, __pyx_k_190, sizeof(__pyx_k_190), 0, 0, 1, 0},
+ {&__pyx_kp_s_193, __pyx_k_193, sizeof(__pyx_k_193), 0, 0, 1, 0},
+ {&__pyx_kp_s_194, __pyx_k_194, sizeof(__pyx_k_194), 0, 0, 1, 0},
+ {&__pyx_n_s_196, __pyx_k_196, sizeof(__pyx_k_196), 0, 0, 1, 1},
+ {&__pyx_n_s_197, __pyx_k_197, sizeof(__pyx_k_197), 0, 0, 1, 1},
+ {&__pyx_kp_s_198, __pyx_k_198, sizeof(__pyx_k_198), 0, 0, 1, 0},
+ {&__pyx_kp_s_199, __pyx_k_199, sizeof(__pyx_k_199), 0, 0, 1, 0},
+ {&__pyx_kp_s_2, __pyx_k_2, sizeof(__pyx_k_2), 0, 0, 1, 0},
+ {&__pyx_n_s_20, __pyx_k_20, sizeof(__pyx_k_20), 0, 0, 1, 1},
+ {&__pyx_kp_s_200, __pyx_k_200, sizeof(__pyx_k_200), 0, 0, 1, 0},
+ {&__pyx_kp_s_201, __pyx_k_201, sizeof(__pyx_k_201), 0, 0, 1, 0},
+ {&__pyx_kp_s_202, __pyx_k_202, sizeof(__pyx_k_202), 0, 0, 1, 0},
+ {&__pyx_kp_s_203, __pyx_k_203, sizeof(__pyx_k_203), 0, 0, 1, 0},
+ {&__pyx_kp_s_204, __pyx_k_204, sizeof(__pyx_k_204), 0, 0, 1, 0},
+ {&__pyx_kp_s_205, __pyx_k_205, sizeof(__pyx_k_205), 0, 0, 1, 0},
+ {&__pyx_kp_s_206, __pyx_k_206, sizeof(__pyx_k_206), 0, 0, 1, 0},
+ {&__pyx_kp_s_207, __pyx_k_207, sizeof(__pyx_k_207), 0, 0, 1, 0},
+ {&__pyx_kp_s_208, __pyx_k_208, sizeof(__pyx_k_208), 0, 0, 1, 0},
+ {&__pyx_kp_s_209, __pyx_k_209, sizeof(__pyx_k_209), 0, 0, 1, 0},
+ {&__pyx_n_s_21, __pyx_k_21, sizeof(__pyx_k_21), 0, 0, 1, 1},
+ {&__pyx_n_s_214, __pyx_k_214, sizeof(__pyx_k_214), 0, 0, 1, 1},
+ {&__pyx_n_s_215, __pyx_k_215, sizeof(__pyx_k_215), 0, 0, 1, 1},
+ {&__pyx_n_s_217, __pyx_k_217, sizeof(__pyx_k_217), 0, 0, 1, 1},
+ {&__pyx_kp_s_218, __pyx_k_218, sizeof(__pyx_k_218), 0, 0, 1, 0},
+ {&__pyx_kp_s_219, __pyx_k_219, sizeof(__pyx_k_219), 0, 0, 1, 0},
+ {&__pyx_n_s_22, __pyx_k_22, sizeof(__pyx_k_22), 0, 0, 1, 1},
+ {&__pyx_kp_s_220, __pyx_k_220, sizeof(__pyx_k_220), 0, 0, 1, 0},
+ {&__pyx_kp_s_221, __pyx_k_221, sizeof(__pyx_k_221), 0, 0, 1, 0},
+ {&__pyx_kp_s_222, __pyx_k_222, sizeof(__pyx_k_222), 0, 0, 1, 0},
+ {&__pyx_kp_s_223, __pyx_k_223, sizeof(__pyx_k_223), 0, 0, 1, 0},
+ {&__pyx_kp_s_224, __pyx_k_224, sizeof(__pyx_k_224), 0, 0, 1, 0},
+ {&__pyx_kp_s_225, __pyx_k_225, sizeof(__pyx_k_225), 0, 0, 1, 0},
+ {&__pyx_kp_s_226, __pyx_k_226, sizeof(__pyx_k_226), 0, 0, 1, 0},
+ {&__pyx_kp_s_227, __pyx_k_227, sizeof(__pyx_k_227), 0, 0, 1, 0},
+ {&__pyx_kp_s_228, __pyx_k_228, sizeof(__pyx_k_228), 0, 0, 1, 0},
+ {&__pyx_kp_s_229, __pyx_k_229, sizeof(__pyx_k_229), 0, 0, 1, 0},
+ {&__pyx_n_s_23, __pyx_k_23, sizeof(__pyx_k_23), 0, 0, 1, 1},
+ {&__pyx_kp_s_230, __pyx_k_230, sizeof(__pyx_k_230), 0, 0, 1, 0},
+ {&__pyx_kp_s_231, __pyx_k_231, sizeof(__pyx_k_231), 0, 0, 1, 0},
+ {&__pyx_kp_s_233, __pyx_k_233, sizeof(__pyx_k_233), 0, 0, 1, 0},
+ {&__pyx_kp_s_234, __pyx_k_234, sizeof(__pyx_k_234), 0, 0, 1, 0},
+ {&__pyx_kp_s_235, __pyx_k_235, sizeof(__pyx_k_235), 0, 0, 1, 0},
+ {&__pyx_kp_s_236, __pyx_k_236, sizeof(__pyx_k_236), 0, 0, 1, 0},
+ {&__pyx_kp_s_237, __pyx_k_237, sizeof(__pyx_k_237), 0, 0, 1, 0},
+ {&__pyx_kp_s_238, __pyx_k_238, sizeof(__pyx_k_238), 0, 0, 1, 0},
+ {&__pyx_kp_s_239, __pyx_k_239, sizeof(__pyx_k_239), 0, 0, 1, 0},
+ {&__pyx_n_s_24, __pyx_k_24, sizeof(__pyx_k_24), 0, 0, 1, 1},
+ {&__pyx_kp_s_240, __pyx_k_240, sizeof(__pyx_k_240), 0, 0, 1, 0},
+ {&__pyx_kp_s_243, __pyx_k_243, sizeof(__pyx_k_243), 0, 0, 1, 0},
+ {&__pyx_kp_s_244, __pyx_k_244, sizeof(__pyx_k_244), 0, 0, 1, 0},
+ {&__pyx_kp_s_246, __pyx_k_246, sizeof(__pyx_k_246), 0, 0, 1, 0},
+ {&__pyx_kp_s_248, __pyx_k_248, sizeof(__pyx_k_248), 0, 0, 1, 0},
+ {&__pyx_kp_s_249, __pyx_k_249, sizeof(__pyx_k_249), 0, 0, 1, 0},
+ {&__pyx_n_s_25, __pyx_k_25, sizeof(__pyx_k_25), 0, 0, 1, 1},
+ {&__pyx_kp_s_250, __pyx_k_250, sizeof(__pyx_k_250), 0, 0, 1, 0},
+ {&__pyx_n_s_26, __pyx_k_26, sizeof(__pyx_k_26), 0, 0, 1, 1},
+ {&__pyx_n_s_28, __pyx_k_28, sizeof(__pyx_k_28), 0, 0, 1, 1},
+ {&__pyx_n_s_29, __pyx_k_29, sizeof(__pyx_k_29), 0, 0, 1, 1},
+ {&__pyx_kp_s_3, __pyx_k_3, sizeof(__pyx_k_3), 0, 0, 1, 0},
+ {&__pyx_n_s_30, __pyx_k_30, sizeof(__pyx_k_30), 0, 0, 1, 1},
+ {&__pyx_n_s_31, __pyx_k_31, sizeof(__pyx_k_31), 0, 0, 1, 1},
+ {&__pyx_kp_s_33, __pyx_k_33, sizeof(__pyx_k_33), 0, 0, 1, 0},
+ {&__pyx_kp_s_35, __pyx_k_35, sizeof(__pyx_k_35), 0, 0, 1, 0},
+ {&__pyx_kp_s_36, __pyx_k_36, sizeof(__pyx_k_36), 0, 0, 1, 0},
+ {&__pyx_kp_s_37, __pyx_k_37, sizeof(__pyx_k_37), 0, 0, 1, 0},
+ {&__pyx_kp_s_39, __pyx_k_39, sizeof(__pyx_k_39), 0, 0, 1, 0},
+ {&__pyx_kp_s_4, __pyx_k_4, sizeof(__pyx_k_4), 0, 0, 1, 0},
+ {&__pyx_kp_s_40, __pyx_k_40, sizeof(__pyx_k_40), 0, 0, 1, 0},
+ {&__pyx_kp_s_43, __pyx_k_43, sizeof(__pyx_k_43), 0, 0, 1, 0},
+ {&__pyx_kp_s_45, __pyx_k_45, sizeof(__pyx_k_45), 0, 0, 1, 0},
+ {&__pyx_kp_s_46, __pyx_k_46, sizeof(__pyx_k_46), 0, 0, 1, 0},
+ {&__pyx_kp_s_47, __pyx_k_47, sizeof(__pyx_k_47), 0, 0, 1, 0},
+ {&__pyx_kp_s_48, __pyx_k_48, sizeof(__pyx_k_48), 0, 0, 1, 0},
+ {&__pyx_kp_s_5, __pyx_k_5, sizeof(__pyx_k_5), 0, 0, 1, 0},
+ {&__pyx_kp_s_60, __pyx_k_60, sizeof(__pyx_k_60), 0, 0, 1, 0},
+ {&__pyx_kp_s_61, __pyx_k_61, sizeof(__pyx_k_61), 0, 0, 1, 0},
+ {&__pyx_kp_s_62, __pyx_k_62, sizeof(__pyx_k_62), 0, 0, 1, 0},
+ {&__pyx_kp_s_63, __pyx_k_63, sizeof(__pyx_k_63), 0, 0, 1, 0},
+ {&__pyx_kp_s_64, __pyx_k_64, sizeof(__pyx_k_64), 0, 0, 1, 0},
+ {&__pyx_kp_s_65, __pyx_k_65, sizeof(__pyx_k_65), 0, 0, 1, 0},
+ {&__pyx_kp_s_66, __pyx_k_66, sizeof(__pyx_k_66), 0, 0, 1, 0},
+ {&__pyx_kp_s_67, __pyx_k_67, sizeof(__pyx_k_67), 0, 0, 1, 0},
+ {&__pyx_kp_s_68, __pyx_k_68, sizeof(__pyx_k_68), 0, 0, 1, 0},
+ {&__pyx_kp_s_69, __pyx_k_69, sizeof(__pyx_k_69), 0, 0, 1, 0},
+ {&__pyx_n_s_692, __pyx_k_692, sizeof(__pyx_k_692), 0, 0, 1, 1},
+ {&__pyx_kp_s_696, __pyx_k_696, sizeof(__pyx_k_696), 0, 0, 1, 0},
+ {&__pyx_n_s_697, __pyx_k_697, sizeof(__pyx_k_697), 0, 0, 1, 1},
+ {&__pyx_kp_s_7, __pyx_k_7, sizeof(__pyx_k_7), 0, 0, 1, 0},
+ {&__pyx_kp_s_70, __pyx_k_70, sizeof(__pyx_k_70), 0, 0, 1, 0},
+ {&__pyx_n_s_707, __pyx_k_707, sizeof(__pyx_k_707), 0, 0, 1, 1},
+ {&__pyx_kp_s_71, __pyx_k_71, sizeof(__pyx_k_71), 0, 0, 1, 0},
+ {&__pyx_n_s_712, __pyx_k_712, sizeof(__pyx_k_712), 0, 0, 1, 1},
+ {&__pyx_n_s_714, __pyx_k_714, sizeof(__pyx_k_714), 0, 0, 1, 1},
+ {&__pyx_kp_s_715, __pyx_k_715, sizeof(__pyx_k_715), 0, 0, 1, 0},
+ {&__pyx_n_s_718, __pyx_k_718, sizeof(__pyx_k_718), 0, 0, 1, 1},
+ {&__pyx_kp_s_72, __pyx_k_72, sizeof(__pyx_k_72), 0, 0, 1, 0},
+ {&__pyx_n_s_720, __pyx_k_720, sizeof(__pyx_k_720), 0, 0, 1, 1},
+ {&__pyx_n_s_723, __pyx_k_723, sizeof(__pyx_k_723), 0, 0, 1, 1},
+ {&__pyx_n_s_725, __pyx_k_725, sizeof(__pyx_k_725), 0, 0, 1, 1},
+ {&__pyx_n_s_728, __pyx_k_728, sizeof(__pyx_k_728), 0, 0, 1, 1},
+ {&__pyx_kp_s_73, __pyx_k_73, sizeof(__pyx_k_73), 0, 0, 1, 0},
+ {&__pyx_n_s_730, __pyx_k_730, sizeof(__pyx_k_730), 0, 0, 1, 1},
+ {&__pyx_n_s_733, __pyx_k_733, sizeof(__pyx_k_733), 0, 0, 1, 1},
+ {&__pyx_n_s_735, __pyx_k_735, sizeof(__pyx_k_735), 0, 0, 1, 1},
+ {&__pyx_n_s_738, __pyx_k_738, sizeof(__pyx_k_738), 0, 0, 1, 1},
+ {&__pyx_kp_s_74, __pyx_k_74, sizeof(__pyx_k_74), 0, 0, 1, 0},
+ {&__pyx_kp_s_749, __pyx_k_749, sizeof(__pyx_k_749), 0, 0, 1, 0},
+ {&__pyx_n_s_755, __pyx_k_755, sizeof(__pyx_k_755), 0, 0, 1, 1},
+ {&__pyx_kp_s_756, __pyx_k_756, sizeof(__pyx_k_756), 0, 0, 1, 0},
+ {&__pyx_n_s_76, __pyx_k_76, sizeof(__pyx_k_76), 0, 0, 1, 1},
+ {&__pyx_n_s_760, __pyx_k_760, sizeof(__pyx_k_760), 0, 0, 1, 1},
+ {&__pyx_n_s_765, __pyx_k_765, sizeof(__pyx_k_765), 0, 0, 1, 1},
+ {&__pyx_kp_s_768, __pyx_k_768, sizeof(__pyx_k_768), 0, 0, 1, 0},
+ {&__pyx_kp_s_77, __pyx_k_77, sizeof(__pyx_k_77), 0, 0, 1, 0},
+ {&__pyx_n_s_771, __pyx_k_771, sizeof(__pyx_k_771), 0, 0, 1, 1},
+ {&__pyx_kp_s_774, __pyx_k_774, sizeof(__pyx_k_774), 0, 0, 1, 0},
+ {&__pyx_n_s_777, __pyx_k_777, sizeof(__pyx_k_777), 0, 0, 1, 1},
+ {&__pyx_kp_s_778, __pyx_k_778, sizeof(__pyx_k_778), 0, 0, 1, 0},
+ {&__pyx_kp_s_78, __pyx_k_78, sizeof(__pyx_k_78), 0, 0, 1, 0},
+ {&__pyx_n_s_781, __pyx_k_781, sizeof(__pyx_k_781), 0, 0, 1, 1},
+ {&__pyx_kp_s_79, __pyx_k_79, sizeof(__pyx_k_79), 0, 0, 1, 0},
+ {&__pyx_kp_s_792, __pyx_k_792, sizeof(__pyx_k_792), 0, 0, 1, 0},
+ {&__pyx_kp_s_80, __pyx_k_80, sizeof(__pyx_k_80), 0, 0, 1, 0},
+ {&__pyx_kp_s_81, __pyx_k_81, sizeof(__pyx_k_81), 0, 0, 1, 0},
+ {&__pyx_kp_s_82, __pyx_k_82, sizeof(__pyx_k_82), 0, 0, 1, 0},
+ {&__pyx_kp_s_83, __pyx_k_83, sizeof(__pyx_k_83), 0, 0, 1, 0},
+ {&__pyx_kp_s_84, __pyx_k_84, sizeof(__pyx_k_84), 0, 0, 1, 0},
+ {&__pyx_kp_s_85, __pyx_k_85, sizeof(__pyx_k_85), 0, 0, 1, 0},
+ {&__pyx_kp_s_86, __pyx_k_86, sizeof(__pyx_k_86), 0, 0, 1, 0},
+ {&__pyx_kp_s_87, __pyx_k_87, sizeof(__pyx_k_87), 0, 0, 1, 0},
+ {&__pyx_kp_s_88, __pyx_k_88, sizeof(__pyx_k_88), 0, 0, 1, 0},
+ {&__pyx_kp_s_89, __pyx_k_89, sizeof(__pyx_k_89), 0, 0, 1, 0},
+ {&__pyx_kp_s_9, __pyx_k_9, sizeof(__pyx_k_9), 0, 0, 1, 0},
+ {&__pyx_kp_s_90, __pyx_k_90, sizeof(__pyx_k_90), 0, 0, 1, 0},
+ {&__pyx_kp_s_91, __pyx_k_91, sizeof(__pyx_k_91), 0, 0, 1, 0},
+ {&__pyx_kp_s_92, __pyx_k_92, sizeof(__pyx_k_92), 0, 0, 1, 0},
+ {&__pyx_n_s_93, __pyx_k_93, sizeof(__pyx_k_93), 0, 0, 1, 1},
+ {&__pyx_kp_s_94, __pyx_k_94, sizeof(__pyx_k_94), 0, 0, 1, 0},
+ {&__pyx_kp_s_95, __pyx_k_95, sizeof(__pyx_k_95), 0, 0, 1, 0},
+ {&__pyx_kp_s_96, __pyx_k_96, sizeof(__pyx_k_96), 0, 0, 1, 0},
+ {&__pyx_n_s_99, __pyx_k_99, sizeof(__pyx_k_99), 0, 0, 1, 1},
+ {&__pyx_n_s__AttributeError, __pyx_k__AttributeError, sizeof(__pyx_k__AttributeError), 0, 0, 1, 1},
+ {&__pyx_n_s__DEBUG, __pyx_k__DEBUG, sizeof(__pyx_k__DEBUG), 0, 0, 1, 1},
+ {&__pyx_n_s__EntryAnchorInfo, __pyx_k__EntryAnchorInfo, sizeof(__pyx_k__EntryAnchorInfo), 0, 0, 1, 1},
+ {&__pyx_n_s__Exception, __pyx_k__Exception, sizeof(__pyx_k__Exception), 0, 0, 1, 1},
+ {&__pyx_n_s__KeyError, __pyx_k__KeyError, sizeof(__pyx_k__KeyError), 0, 0, 1, 1},
+ {&__pyx_n_s__Map, __pyx_k__Map, sizeof(__pyx_k__Map), 0, 0, 1, 1},
+ {&__pyx_n_s__None, __pyx_k__None, sizeof(__pyx_k__None), 0, 0, 1, 1},
+ {&__pyx_n_s__RuntimeError, __pyx_k__RuntimeError, sizeof(__pyx_k__RuntimeError), 0, 0, 1, 1},
+ {&__pyx_n_s__TypeError, __pyx_k__TypeError, sizeof(__pyx_k__TypeError), 0, 0, 1, 1},
+ {&__pyx_n_s__ValueError, __pyx_k__ValueError, sizeof(__pyx_k__ValueError), 0, 0, 1, 1},
+ {&__pyx_n_s____class__, __pyx_k____class__, sizeof(__pyx_k____class__), 0, 0, 1, 1},
+ {&__pyx_n_s____del_cb, __pyx_k____del_cb, sizeof(__pyx_k____del_cb), 0, 0, 1, 1},
+ {&__pyx_n_s____dict__, __pyx_k____dict__, sizeof(__pyx_k____dict__), 0, 0, 1, 1},
+ {&__pyx_n_s____init__, __pyx_k____init__, sizeof(__pyx_k____init__), 0, 0, 1, 1},
+ {&__pyx_n_s____main__, __pyx_k____main__, sizeof(__pyx_k____main__), 0, 0, 1, 1},
+ {&__pyx_n_s____name__, __pyx_k____name__, sizeof(__pyx_k____name__), 0, 0, 1, 1},
+ {&__pyx_n_s____test__, __pyx_k____test__, sizeof(__pyx_k____test__), 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_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_string_conv, __pyx_k___cb_string_conv, sizeof(__pyx_k___cb_string_conv), 0, 0, 1, 1},
+ {&__pyx_n_s___entryanchor_conv, __pyx_k___entryanchor_conv, sizeof(__pyx_k___entryanchor_conv), 0, 0, 1, 1},
+ {&__pyx_n_s___web_double_conv, __pyx_k___web_double_conv, sizeof(__pyx_k___web_double_conv), 0, 0, 1, 1},
+ {&__pyx_n_s__a, __pyx_k__a, sizeof(__pyx_k__a), 0, 0, 1, 1},
+ {&__pyx_n_s__actionslider, __pyx_k__actionslider, sizeof(__pyx_k__actionslider), 0, 0, 1, 1},
+ {&__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__address, __pyx_k__address, sizeof(__pyx_k__address), 0, 0, 1, 1},
+ {&__pyx_n_s__address_get, __pyx_k__address_get, sizeof(__pyx_k__address_get), 0, 0, 1, 1},
+ {&__pyx_n_s__after, __pyx_k__after, sizeof(__pyx_k__after), 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_get, __pyx_k__align_get, sizeof(__pyx_k__align_get), 0, 0, 1, 1},
+ {&__pyx_n_s__align_set, __pyx_k__align_set, sizeof(__pyx_k__align_set), 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__anchor_info, __pyx_k__anchor_info, sizeof(__pyx_k__anchor_info), 0, 0, 1, 1},
+ {&__pyx_n_s__animate, __pyx_k__animate, sizeof(__pyx_k__animate), 0, 0, 1, 1},
+ {&__pyx_n_s__append, __pyx_k__append, sizeof(__pyx_k__append), 0, 0, 1, 1},
+ {&__pyx_n_s__arg, __pyx_k__arg, sizeof(__pyx_k__arg), 0, 0, 1, 1},
+ {&__pyx_n_s__arg_len, __pyx_k__arg_len, sizeof(__pyx_k__arg_len), 0, 0, 1, 1},
+ {&__pyx_n_s__argc, __pyx_k__argc, sizeof(__pyx_k__argc), 0, 0, 1, 1},
+ {&__pyx_n_s__argv, __pyx_k__argv, sizeof(__pyx_k__argv), 0, 0, 1, 1},
+ {&__pyx_n_s__audio_level_get, __pyx_k__audio_level_get, sizeof(__pyx_k__audio_level_get), 0, 0, 1, 1},
+ {&__pyx_n_s__audio_level_set, __pyx_k__audio_level_set, sizeof(__pyx_k__audio_level_set), 0, 0, 1, 1},
+ {&__pyx_n_s__audio_mute_get, __pyx_k__audio_mute_get, sizeof(__pyx_k__audio_mute_get), 0, 0, 1, 1},
+ {&__pyx_n_s__audio_mute_set, __pyx_k__audio_mute_set, sizeof(__pyx_k__audio_mute_set), 0, 0, 1, 1},
+ {&__pyx_n_s__axis, __pyx_k__axis, sizeof(__pyx_k__axis), 0, 0, 1, 1},
+ {&__pyx_n_s__b, __pyx_k__b, sizeof(__pyx_k__b), 0, 0, 1, 1},
+ {&__pyx_n_s__base, __pyx_k__base, sizeof(__pyx_k__base), 0, 0, 1, 1},
+ {&__pyx_n_s__bases, __pyx_k__bases, sizeof(__pyx_k__bases), 0, 0, 1, 1},
+ {&__pyx_n_s__basicConfig, __pyx_k__basicConfig, sizeof(__pyx_k__basicConfig), 0, 0, 1, 1},
+ {&__pyx_n_s__before, __pyx_k__before, sizeof(__pyx_k__before), 0, 0, 1, 1},
+ {&__pyx_n_s__before_after, __pyx_k__before_after, sizeof(__pyx_k__before_after), 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__bg, __pyx_k__bg, sizeof(__pyx_k__bg), 0, 0, 1, 1},
+ {&__pyx_n_s__borderless_get, __pyx_k__borderless_get, sizeof(__pyx_k__borderless_get), 0, 0, 1, 1},
+ {&__pyx_n_s__borderless_set, __pyx_k__borderless_set, sizeof(__pyx_k__borderless_set), 0, 0, 1, 1},
+ {&__pyx_n_s__bouce_get, __pyx_k__bouce_get, sizeof(__pyx_k__bouce_get), 0, 0, 1, 1},
+ {&__pyx_n_s__bouce_set, __pyx_k__bouce_set, sizeof(__pyx_k__bouce_set), 0, 0, 1, 1},
+ {&__pyx_n_s__box, __pyx_k__box, sizeof(__pyx_k__box), 0, 0, 1, 1},
+ {&__pyx_n_s__bubble, __pyx_k__bubble, sizeof(__pyx_k__bubble), 0, 0, 1, 1},
+ {&__pyx_n_s__button, __pyx_k__button, sizeof(__pyx_k__button), 0, 0, 1, 1},
+ {&__pyx_n_s__cal, __pyx_k__cal, sizeof(__pyx_k__cal), 0, 0, 1, 1},
+ {&__pyx_n_s__calendar, __pyx_k__calendar, sizeof(__pyx_k__calendar), 0, 0, 1, 1},
+ {&__pyx_n_s__callable, __pyx_k__callable, sizeof(__pyx_k__callable), 0, 0, 1, 1},
+ {&__pyx_n_s__callback, __pyx_k__callback, sizeof(__pyx_k__callback), 0, 0, 1, 1},
+ {&__pyx_n_s__cb, __pyx_k__cb, sizeof(__pyx_k__cb), 0, 0, 1, 1},
+ {&__pyx_n_s__cb_type, __pyx_k__cb_type, sizeof(__pyx_k__cb_type), 0, 0, 1, 1},
+ {&__pyx_n_s__changed, __pyx_k__changed, sizeof(__pyx_k__changed), 0, 0, 1, 1},
+ {&__pyx_n_s__check, __pyx_k__check, sizeof(__pyx_k__check), 0, 0, 1, 1},
+ {&__pyx_n_s__child, __pyx_k__child, sizeof(__pyx_k__child), 0, 0, 1, 1},
+ {&__pyx_n_s__child_obj, __pyx_k__child_obj, sizeof(__pyx_k__child_obj), 0, 0, 1, 1},
+ {&__pyx_n_s__clas, __pyx_k__clas, sizeof(__pyx_k__clas), 0, 0, 1, 1},
+ {&__pyx_n_s__clear, __pyx_k__clear, sizeof(__pyx_k__clear), 0, 0, 1, 1},
+ {&__pyx_n_s__clicked, __pyx_k__clicked, sizeof(__pyx_k__clicked), 0, 0, 1, 1},
+ {&__pyx_n_s__clock, __pyx_k__clock, sizeof(__pyx_k__clock), 0, 0, 1, 1},
+ {&__pyx_n_s__cls, __pyx_k__cls, sizeof(__pyx_k__cls), 0, 0, 1, 1},
+ {&__pyx_n_s__code, __pyx_k__code, sizeof(__pyx_k__code), 0, 0, 1, 1},
+ {&__pyx_n_s__col, __pyx_k__col, sizeof(__pyx_k__col), 0, 0, 1, 1},
+ {&__pyx_n_s__color_get, __pyx_k__color_get, sizeof(__pyx_k__color_get), 0, 0, 1, 1},
+ {&__pyx_n_s__color_set, __pyx_k__color_set, sizeof(__pyx_k__color_set), 0, 0, 1, 1},
+ {&__pyx_n_s__colorselector, __pyx_k__colorselector, sizeof(__pyx_k__colorselector), 0, 0, 1, 1},
+ {&__pyx_n_s__colspan, __pyx_k__colspan, sizeof(__pyx_k__colspan), 0, 0, 1, 1},
+ {&__pyx_n_s__command, __pyx_k__command, sizeof(__pyx_k__command), 0, 0, 1, 1},
+ {&__pyx_n_s__conformant, __pyx_k__conformant, sizeof(__pyx_k__conformant), 0, 0, 1, 1},
+ {&__pyx_n_s__content, __pyx_k__content, sizeof(__pyx_k__content), 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_n_s__content_set, __pyx_k__content_set, sizeof(__pyx_k__content_set), 0, 0, 1, 1},
+ {&__pyx_n_s__content_unset, __pyx_k__content_unset, sizeof(__pyx_k__content_unset), 0, 0, 1, 1},
+ {&__pyx_n_s__contracted, __pyx_k__contracted, sizeof(__pyx_k__contracted), 0, 0, 1, 1},
+ {&__pyx_n_s__cs, __pyx_k__cs, sizeof(__pyx_k__cs), 0, 0, 1, 1},
+ {&__pyx_n_s__ctxpopup, __pyx_k__ctxpopup, sizeof(__pyx_k__ctxpopup), 0, 0, 1, 1},
+ {&__pyx_n_s__current_page_get, __pyx_k__current_page_get, sizeof(__pyx_k__current_page_get), 0, 0, 1, 1},
+ {&__pyx_n_s__cursor, __pyx_k__cursor, sizeof(__pyx_k__cursor), 0, 0, 1, 1},
+ {&__pyx_n_s__cursor_get, __pyx_k__cursor_get, sizeof(__pyx_k__cursor_get), 0, 0, 1, 1},
+ {&__pyx_n_s__cursor_set, __pyx_k__cursor_set, sizeof(__pyx_k__cursor_set), 0, 0, 1, 1},
+ {&__pyx_n_s__cursor_style_get, __pyx_k__cursor_style_get, sizeof(__pyx_k__cursor_style_get), 0, 0, 1, 1},
+ {&__pyx_n_s__cursor_style_set, __pyx_k__cursor_style_set, sizeof(__pyx_k__cursor_style_set), 0, 0, 1, 1},
+ {&__pyx_n_s__cursor_unset, __pyx_k__cursor_unset, sizeof(__pyx_k__cursor_unset), 0, 0, 1, 1},
+ {&__pyx_n_s__cw, __pyx_k__cw, sizeof(__pyx_k__cw), 0, 0, 1, 1},
+ {&__pyx_n_s__cx, __pyx_k__cx, sizeof(__pyx_k__cx), 0, 0, 1, 1},
+ {&__pyx_n_s__cy, __pyx_k__cy, sizeof(__pyx_k__cy), 0, 0, 1, 1},
+ {&__pyx_n_s__data_get, __pyx_k__data_get, sizeof(__pyx_k__data_get), 0, 0, 1, 1},
+ {&__pyx_n_s__date, __pyx_k__date, sizeof(__pyx_k__date), 0, 0, 1, 1},
+ {&__pyx_n_s__datetime, __pyx_k__datetime, sizeof(__pyx_k__datetime), 0, 0, 1, 1},
+ {&__pyx_n_s__day, __pyx_k__day, sizeof(__pyx_k__day), 0, 0, 1, 1},
+ {&__pyx_n_s__dayselector, __pyx_k__dayselector, sizeof(__pyx_k__dayselector), 0, 0, 1, 1},
+ {&__pyx_n_s__decorate_it_set, __pyx_k__decorate_it_set, sizeof(__pyx_k__decorate_it_set), 0, 0, 1, 1},
+ {&__pyx_n_s__decorate_it_type, __pyx_k__decorate_it_type, sizeof(__pyx_k__decorate_it_type), 0, 0, 1, 1},
+ {&__pyx_n_s__default, __pyx_k__default, sizeof(__pyx_k__default), 0, 0, 1, 1},
+ {&__pyx_n_s__degree, __pyx_k__degree, sizeof(__pyx_k__degree), 0, 0, 1, 1},
+ {&__pyx_n_s__del_func, __pyx_k__del_func, sizeof(__pyx_k__del_func), 0, 0, 1, 1},
+ {&__pyx_n_s__delay, __pyx_k__delay, sizeof(__pyx_k__delay), 0, 0, 1, 1},
+ {&__pyx_n_s__delete, __pyx_k__delete, sizeof(__pyx_k__delete), 0, 0, 1, 1},
+ {&__pyx_n_s__description, __pyx_k__description, sizeof(__pyx_k__description), 0, 0, 1, 1},
+ {&__pyx_n_s__dict_, __pyx_k__dict_, sizeof(__pyx_k__dict_), 0, 0, 1, 1},
+ {&__pyx_n_s__dir, __pyx_k__dir, sizeof(__pyx_k__dir), 0, 0, 1, 1},
+ {&__pyx_n_s__direction, __pyx_k__direction, sizeof(__pyx_k__direction), 0, 0, 1, 1},
+ {&__pyx_n_s__disabled_get, __pyx_k__disabled_get, sizeof(__pyx_k__disabled_get), 0, 0, 1, 1},
+ {&__pyx_n_s__disabled_set, __pyx_k__disabled_set, sizeof(__pyx_k__disabled_set), 0, 0, 1, 1},
+ {&__pyx_n_s__diskselector, __pyx_k__diskselector, sizeof(__pyx_k__diskselector), 0, 0, 1, 1},
+ {&__pyx_n_s__dismissed, __pyx_k__dismissed, sizeof(__pyx_k__dismissed), 0, 0, 1, 1},
+ {&__pyx_n_s__distance_get, __pyx_k__distance_get, sizeof(__pyx_k__distance_get), 0, 0, 1, 1},
+ {&__pyx_n_s__domain, __pyx_k__domain, sizeof(__pyx_k__domain), 0, 0, 1, 1},
+ {&__pyx_n_s__done, __pyx_k__done, sizeof(__pyx_k__done), 0, 0, 1, 1},
+ {&__pyx_n_s__drag, __pyx_k__drag, sizeof(__pyx_k__drag), 0, 0, 1, 1},
+ {&__pyx_n_s__drop, __pyx_k__drop, sizeof(__pyx_k__drop), 0, 0, 1, 1},
+ {&__pyx_n_s__duration, __pyx_k__duration, sizeof(__pyx_k__duration), 0, 0, 1, 1},
+ {&__pyx_n_s__eahi, __pyx_k__eahi, sizeof(__pyx_k__eahi), 0, 0, 1, 1},
+ {&__pyx_n_s__eai, __pyx_k__eai, sizeof(__pyx_k__eai), 0, 0, 1, 1},
+ {&__pyx_n_s__ehi, __pyx_k__ehi, sizeof(__pyx_k__ehi), 0, 0, 1, 1},
+ {&__pyx_n_s__ei, __pyx_k__ei, sizeof(__pyx_k__ei), 0, 0, 1, 1},
+ {&__pyx_n_s__elementary, __pyx_k__elementary, sizeof(__pyx_k__elementary), 0, 0, 1, 1},
+ {&__pyx_n_s__elements, __pyx_k__elements, sizeof(__pyx_k__elements), 0, 0, 1, 1},
+ {&__pyx_n_s__elm_, __pyx_k__elm_, sizeof(__pyx_k__elm_), 0, 0, 1, 1},
+ {&__pyx_n_s__elm_widget, __pyx_k__elm_widget, sizeof(__pyx_k__elm_widget), 0, 0, 1, 1},
+ {&__pyx_n_s__elm_widget_compat, __pyx_k__elm_widget_compat, sizeof(__pyx_k__elm_widget_compat), 0, 0, 1, 1},
+ {&__pyx_n_s__emission, __pyx_k__emission, sizeof(__pyx_k__emission), 0, 0, 1, 1},
+ {&__pyx_n_s__enable, __pyx_k__enable, sizeof(__pyx_k__enable), 0, 0, 1, 1},
+ {&__pyx_n_s__enabled, __pyx_k__enabled, sizeof(__pyx_k__enabled), 0, 0, 1, 1},
+ {&__pyx_n_s__encode, __pyx_k__encode, sizeof(__pyx_k__encode), 0, 0, 1, 1},
+ {&__pyx_n_s__end, __pyx_k__end, sizeof(__pyx_k__end), 0, 0, 1, 1},
+ {&__pyx_n_s__engine, __pyx_k__engine, sizeof(__pyx_k__engine), 0, 0, 1, 1},
+ {&__pyx_n_s__engine_get, __pyx_k__engine_get, sizeof(__pyx_k__engine_get), 0, 0, 1, 1},
+ {&__pyx_n_s__engine_only, __pyx_k__engine_only, sizeof(__pyx_k__engine_only), 0, 0, 1, 1},
+ {&__pyx_n_s__engine_set, __pyx_k__engine_set, sizeof(__pyx_k__engine_set), 0, 0, 1, 1},
+ {&__pyx_n_s__entry, __pyx_k__entry, sizeof(__pyx_k__entry), 0, 0, 1, 1},
+ {&__pyx_n_s__entry_get, __pyx_k__entry_get, sizeof(__pyx_k__entry_get), 0, 0, 1, 1},
+ {&__pyx_n_s__enumerate, __pyx_k__enumerate, sizeof(__pyx_k__enumerate), 0, 0, 1, 1},
+ {&__pyx_n_s__err, __pyx_k__err, sizeof(__pyx_k__err), 0, 0, 1, 1},
+ {&__pyx_n_s__evas_event_callback, __pyx_k__evas_event_callback, sizeof(__pyx_k__evas_event_callback), 0, 0, 1, 1},
+ {&__pyx_n_s__event, __pyx_k__event, sizeof(__pyx_k__event), 0, 0, 1, 1},
+ {&__pyx_n_s__event_conv, __pyx_k__event_conv, sizeof(__pyx_k__event_conv), 0, 0, 1, 1},
+ {&__pyx_n_s__evt, __pyx_k__evt, sizeof(__pyx_k__evt), 0, 0, 1, 1},
+ {&__pyx_n_s__exit, __pyx_k__exit, sizeof(__pyx_k__exit), 0, 0, 1, 1},
+ {&__pyx_n_s__expanded, __pyx_k__expanded, sizeof(__pyx_k__expanded), 0, 0, 1, 1},
+ {&__pyx_n_s__expanded_get, __pyx_k__expanded_get, sizeof(__pyx_k__expanded_get), 0, 0, 1, 1},
+ {&__pyx_n_s__expanded_set, __pyx_k__expanded_set, sizeof(__pyx_k__expanded_set), 0, 0, 1, 1},
+ {&__pyx_n_s__extract_stack, __pyx_k__extract_stack, sizeof(__pyx_k__extract_stack), 0, 0, 1, 1},
+ {&__pyx_n_s__f, __pyx_k__f, sizeof(__pyx_k__f), 0, 0, 1, 1},
+ {&__pyx_n_s__failing_url, __pyx_k__failing_url, sizeof(__pyx_k__failing_url), 0, 0, 1, 1},
+ {&__pyx_n_s__fieldtype, __pyx_k__fieldtype, sizeof(__pyx_k__fieldtype), 0, 0, 1, 1},
+ {&__pyx_n_s__file, __pyx_k__file, sizeof(__pyx_k__file), 0, 0, 1, 1},
+ {&__pyx_n_s__filename, __pyx_k__filename, sizeof(__pyx_k__filename), 0, 0, 1, 1},
+ {&__pyx_n_s__fileselector, __pyx_k__fileselector, sizeof(__pyx_k__fileselector), 0, 0, 1, 1},
+ {&__pyx_n_s__fileselector_button, __pyx_k__fileselector_button, sizeof(__pyx_k__fileselector_button), 0, 0, 1, 1},
+ {&__pyx_n_s__fileselector_entry, __pyx_k__fileselector_entry, sizeof(__pyx_k__fileselector_entry), 0, 0, 1, 1},
+ {&__pyx_n_s__filled_get, __pyx_k__filled_get, sizeof(__pyx_k__filled_get), 0, 0, 1, 1},
+ {&__pyx_n_s__filled_set, __pyx_k__filled_set, sizeof(__pyx_k__filled_set), 0, 0, 1, 1},
+ {&__pyx_n_s__first, __pyx_k__first, sizeof(__pyx_k__first), 0, 0, 1, 1},
+ {&__pyx_n_s__first_item_get, __pyx_k__first_item_get, sizeof(__pyx_k__first_item_get), 0, 0, 1, 1},
+ {&__pyx_n_s__flags, __pyx_k__flags, sizeof(__pyx_k__flags), 0, 0, 1, 1},
+ {&__pyx_n_s__flat, __pyx_k__flat, sizeof(__pyx_k__flat), 0, 0, 1, 1},
+ {&__pyx_n_s__flip, __pyx_k__flip, sizeof(__pyx_k__flip), 0, 0, 1, 1},
+ {&__pyx_n_s__flipselector, __pyx_k__flipselector, sizeof(__pyx_k__flipselector), 0, 0, 1, 1},
+ {&__pyx_n_s__flon, __pyx_k__flon, sizeof(__pyx_k__flon), 0, 0, 1, 1},
+ {&__pyx_n_s__foc, __pyx_k__foc, sizeof(__pyx_k__foc), 0, 0, 1, 1},
+ {&__pyx_n_s__focus_allow_get, __pyx_k__focus_allow_get, sizeof(__pyx_k__focus_allow_get), 0, 0, 1, 1},
+ {&__pyx_n_s__focus_allow_set, __pyx_k__focus_allow_set, sizeof(__pyx_k__focus_allow_set), 0, 0, 1, 1},
+ {&__pyx_n_s__focused, __pyx_k__focused, sizeof(__pyx_k__focused), 0, 0, 1, 1},
+ {&__pyx_n_s__font, __pyx_k__font, sizeof(__pyx_k__font), 0, 0, 1, 1},
+ {&__pyx_n_s__format, __pyx_k__format, sizeof(__pyx_k__format), 0, 0, 1, 1},
+ {&__pyx_n_s__fourth, __pyx_k__fourth, sizeof(__pyx_k__fourth), 0, 0, 1, 1},
+ {&__pyx_n_s__frame, __pyx_k__frame, sizeof(__pyx_k__frame), 0, 0, 1, 1},
+ {&__pyx_n_s__from_a, __pyx_k__from_a, sizeof(__pyx_k__from_a), 0, 0, 1, 1},
+ {&__pyx_n_s__from_b, __pyx_k__from_b, sizeof(__pyx_k__from_b), 0, 0, 1, 1},
+ {&__pyx_n_s__from_degree, __pyx_k__from_degree, sizeof(__pyx_k__from_degree), 0, 0, 1, 1},
+ {&__pyx_n_s__from_dx, __pyx_k__from_dx, sizeof(__pyx_k__from_dx), 0, 0, 1, 1},
+ {&__pyx_n_s__from_dy, __pyx_k__from_dy, sizeof(__pyx_k__from_dy), 0, 0, 1, 1},
+ {&__pyx_n_s__from_g, __pyx_k__from_g, sizeof(__pyx_k__from_g), 0, 0, 1, 1},
+ {&__pyx_n_s__from_h, __pyx_k__from_h, sizeof(__pyx_k__from_h), 0, 0, 1, 1},
+ {&__pyx_n_s__from_layout, __pyx_k__from_layout, sizeof(__pyx_k__from_layout), 0, 0, 1, 1},
+ {&__pyx_n_s__from_r, __pyx_k__from_r, sizeof(__pyx_k__from_r), 0, 0, 1, 1},
+ {&__pyx_n_s__from_rate, __pyx_k__from_rate, sizeof(__pyx_k__from_rate), 0, 0, 1, 1},
+ {&__pyx_n_s__from_w, __pyx_k__from_w, sizeof(__pyx_k__from_w), 0, 0, 1, 1},
+ {&__pyx_n_s__fullscreen, __pyx_k__fullscreen, sizeof(__pyx_k__fullscreen), 0, 0, 1, 1},
+ {&__pyx_n_s__func, __pyx_k__func, sizeof(__pyx_k__func), 0, 0, 1, 1},
+ {&__pyx_n_s__g, __pyx_k__g, sizeof(__pyx_k__g), 0, 0, 1, 1},
+ {&__pyx_n_s__gengrid, __pyx_k__gengrid, sizeof(__pyx_k__gengrid), 0, 0, 1, 1},
+ {&__pyx_n_s__gengrid_get, __pyx_k__gengrid_get, sizeof(__pyx_k__gengrid_get), 0, 0, 1, 1},
+ {&__pyx_n_s__genlist, __pyx_k__genlist, sizeof(__pyx_k__genlist), 0, 0, 1, 1},
+ {&__pyx_n_s__gesture_layer, __pyx_k__gesture_layer, sizeof(__pyx_k__gesture_layer), 0, 0, 1, 1},
+ {&__pyx_n_s__get, __pyx_k__get, sizeof(__pyx_k__get), 0, 0, 1, 1},
+ {&__pyx_n_s__getLogger, __pyx_k__getLogger, sizeof(__pyx_k__getLogger), 0, 0, 1, 1},
+ {&__pyx_n_s__get_func, __pyx_k__get_func, sizeof(__pyx_k__get_func), 0, 0, 1, 1},
+ {&__pyx_n_s__grid, __pyx_k__grid, sizeof(__pyx_k__grid), 0, 0, 1, 1},
+ {&__pyx_n_s__group, __pyx_k__group, sizeof(__pyx_k__group), 0, 0, 1, 1},
+ {&__pyx_n_s__group_item_size_get, __pyx_k__group_item_size_get, sizeof(__pyx_k__group_item_size_get), 0, 0, 1, 1},
+ {&__pyx_n_s__group_item_size_set, __pyx_k__group_item_size_set, sizeof(__pyx_k__group_item_size_set), 0, 0, 1, 1},
+ {&__pyx_n_s__h, __pyx_k__h, sizeof(__pyx_k__h), 0, 0, 1, 1},
+ {&__pyx_n_s__h_bounce, __pyx_k__h_bounce, sizeof(__pyx_k__h_bounce), 0, 0, 1, 1},
+ {&__pyx_n_s__h_pagenum, __pyx_k__h_pagenum, sizeof(__pyx_k__h_pagenum), 0, 0, 1, 1},
+ {&__pyx_n_s__h_pagenumber, __pyx_k__h_pagenumber, sizeof(__pyx_k__h_pagenumber), 0, 0, 1, 1},
+ {&__pyx_n_s__h_pagerel, __pyx_k__h_pagerel, sizeof(__pyx_k__h_pagerel), 0, 0, 1, 1},
+ {&__pyx_n_s__h_pagesize, __pyx_k__h_pagesize, sizeof(__pyx_k__h_pagesize), 0, 0, 1, 1},
+ {&__pyx_n_s__height, __pyx_k__height, sizeof(__pyx_k__height), 0, 0, 1, 1},
+ {&__pyx_n_s__hide_get, __pyx_k__hide_get, sizeof(__pyx_k__hide_get), 0, 0, 1, 1},
+ {&__pyx_n_s__hide_set, __pyx_k__hide_set, sizeof(__pyx_k__hide_set), 0, 0, 1, 1},
+ {&__pyx_n_s__highlight_mode_get, __pyx_k__highlight_mode_get, sizeof(__pyx_k__highlight_mode_get), 0, 0, 1, 1},
+ {&__pyx_n_s__highlight_mode_set, __pyx_k__highlight_mode_set, sizeof(__pyx_k__highlight_mode_set), 0, 0, 1, 1},
+ {&__pyx_n_s__hitsize, __pyx_k__hitsize, sizeof(__pyx_k__hitsize), 0, 0, 1, 1},
+ {&__pyx_n_s__horizontal, __pyx_k__horizontal, sizeof(__pyx_k__horizontal), 0, 0, 1, 1},
+ {&__pyx_n_s__horizontal_get, __pyx_k__horizontal_get, sizeof(__pyx_k__horizontal_get), 0, 0, 1, 1},
+ {&__pyx_n_s__horizontal_set, __pyx_k__horizontal_set, sizeof(__pyx_k__horizontal_set), 0, 0, 1, 1},
+ {&__pyx_n_s__hours, __pyx_k__hours, sizeof(__pyx_k__hours), 0, 0, 1, 1},
+ {&__pyx_n_s__hover, __pyx_k__hover, sizeof(__pyx_k__hover), 0, 0, 1, 1},
+ {&__pyx_n_s__hover_bottom, __pyx_k__hover_bottom, sizeof(__pyx_k__hover_bottom), 0, 0, 1, 1},
+ {&__pyx_n_s__hover_left, __pyx_k__hover_left, sizeof(__pyx_k__hover_left), 0, 0, 1, 1},
+ {&__pyx_n_s__hover_parent, __pyx_k__hover_parent, sizeof(__pyx_k__hover_parent), 0, 0, 1, 1},
+ {&__pyx_n_s__hover_right, __pyx_k__hover_right, sizeof(__pyx_k__hover_right), 0, 0, 1, 1},
+ {&__pyx_n_s__hover_top, __pyx_k__hover_top, sizeof(__pyx_k__hover_top), 0, 0, 1, 1},
+ {&__pyx_n_s__hoversel, __pyx_k__hoversel, sizeof(__pyx_k__hoversel), 0, 0, 1, 1},
+ {&__pyx_n_s__i, __pyx_k__i, sizeof(__pyx_k__i), 0, 0, 1, 1},
+ {&__pyx_n_s__icon, __pyx_k__icon, sizeof(__pyx_k__icon), 0, 0, 1, 1},
+ {&__pyx_n_s__icon_file, __pyx_k__icon_file, sizeof(__pyx_k__icon_file), 0, 0, 1, 1},
+ {&__pyx_n_s__icon_get, __pyx_k__icon_get, sizeof(__pyx_k__icon_get), 0, 0, 1, 1},
+ {&__pyx_n_s__icon_group, __pyx_k__icon_group, sizeof(__pyx_k__icon_group), 0, 0, 1, 1},
+ {&__pyx_n_s__icon_set, __pyx_k__icon_set, sizeof(__pyx_k__icon_set), 0, 0, 1, 1},
+ {&__pyx_n_s__icon_type, __pyx_k__icon_type, sizeof(__pyx_k__icon_type), 0, 0, 1, 1},
+ {&__pyx_n_s__iconified, __pyx_k__iconified, sizeof(__pyx_k__iconified), 0, 0, 1, 1},
+ {&__pyx_n_s__idx, __pyx_k__idx, sizeof(__pyx_k__idx), 0, 0, 1, 1},
+ {&__pyx_n_s__image, __pyx_k__image, sizeof(__pyx_k__image), 0, 0, 1, 1},
+ {&__pyx_n_s__img, __pyx_k__img, sizeof(__pyx_k__img), 0, 0, 1, 1},
+ {&__pyx_n_s__in_search_path, __pyx_k__in_search_path, sizeof(__pyx_k__in_search_path), 0, 0, 1, 1},
+ {&__pyx_n_s__index, __pyx_k__index, sizeof(__pyx_k__index), 0, 0, 1, 1},
+ {&__pyx_n_s__index_get, __pyx_k__index_get, sizeof(__pyx_k__index_get), 0, 0, 1, 1},
+ {&__pyx_n_s__info, __pyx_k__info, sizeof(__pyx_k__info), 0, 0, 1, 1},
+ {&__pyx_n_s__init, __pyx_k__init, sizeof(__pyx_k__init), 0, 0, 1, 1},
+ {&__pyx_n_s__inwin, __pyx_k__inwin, sizeof(__pyx_k__inwin), 0, 0, 1, 1},
+ {&__pyx_n_s__is_cancellation, __pyx_k__is_cancellation, sizeof(__pyx_k__is_cancellation), 0, 0, 1, 1},
+ {&__pyx_n_s__is_playing_get, __pyx_k__is_playing_get, sizeof(__pyx_k__is_playing_get), 0, 0, 1, 1},
+ {&__pyx_n_s__is_seekable_get, __pyx_k__is_seekable_get, sizeof(__pyx_k__is_seekable_get), 0, 0, 1, 1},
+ {&__pyx_n_s__is_user, __pyx_k__is_user, sizeof(__pyx_k__is_user), 0, 0, 1, 1},
+ {&__pyx_n_s__it, __pyx_k__it, sizeof(__pyx_k__it), 0, 0, 1, 1},
+ {&__pyx_n_s__item, __pyx_k__item, sizeof(__pyx_k__item), 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_n_s__item_size_get, __pyx_k__item_size_get, sizeof(__pyx_k__item_size_get), 0, 0, 1, 1},
+ {&__pyx_n_s__item_size_set, __pyx_k__item_size_set, sizeof(__pyx_k__item_size_set), 0, 0, 1, 1},
+ {&__pyx_n_s__item_style, __pyx_k__item_style, sizeof(__pyx_k__item_style), 0, 0, 1, 1},
+ {&__pyx_n_s__items_get, __pyx_k__items_get, sizeof(__pyx_k__items_get), 0, 0, 1, 1},
+ {&__pyx_n_s__itf, __pyx_k__itf, sizeof(__pyx_k__itf), 0, 0, 1, 1},
+ {&__pyx_n_s__key, __pyx_k__key, sizeof(__pyx_k__key), 0, 0, 1, 1},
+ {&__pyx_n_s__kind, __pyx_k__kind, sizeof(__pyx_k__kind), 0, 0, 1, 1},
+ {&__pyx_n_s__label, __pyx_k__label, sizeof(__pyx_k__label), 0, 0, 1, 1},
+ {&__pyx_n_s__last_item_get, __pyx_k__last_item_get, sizeof(__pyx_k__last_item_get), 0, 0, 1, 1},
+ {&__pyx_n_s__last_page_get, __pyx_k__last_page_get, sizeof(__pyx_k__last_page_get), 0, 0, 1, 1},
+ {&__pyx_n_s__lat, __pyx_k__lat, sizeof(__pyx_k__lat), 0, 0, 1, 1},
+ {&__pyx_n_s__layout, __pyx_k__layout, sizeof(__pyx_k__layout), 0, 0, 1, 1},
+ {&__pyx_n_s__letter, __pyx_k__letter, sizeof(__pyx_k__letter), 0, 0, 1, 1},
+ {&__pyx_n_s__level, __pyx_k__level, sizeof(__pyx_k__level), 0, 0, 1, 1},
+ {&__pyx_n_s__list, __pyx_k__list, sizeof(__pyx_k__list), 0, 0, 1, 1},
+ {&__pyx_n_s__load, __pyx_k__load, sizeof(__pyx_k__load), 0, 0, 1, 1},
+ {&__pyx_n_s__loaded, __pyx_k__loaded, sizeof(__pyx_k__loaded), 0, 0, 1, 1},
+ {&__pyx_n_s__log, __pyx_k__log, sizeof(__pyx_k__log), 0, 0, 1, 1},
+ {&__pyx_n_s__logging, __pyx_k__logging, sizeof(__pyx_k__logging), 0, 0, 1, 1},
+ {&__pyx_n_s__lon, __pyx_k__lon, sizeof(__pyx_k__lon), 0, 0, 1, 1},
+ {&__pyx_n_s__longpressed, __pyx_k__longpressed, sizeof(__pyx_k__longpressed), 0, 0, 1, 1},
+ {&__pyx_n_s__lst, __pyx_k__lst, sizeof(__pyx_k__lst), 0, 0, 1, 1},
+ {&__pyx_n_s__magnet_pos_get, __pyx_k__magnet_pos_get, sizeof(__pyx_k__magnet_pos_get), 0, 0, 1, 1},
+ {&__pyx_n_s__magnet_pos_set, __pyx_k__magnet_pos_set, sizeof(__pyx_k__magnet_pos_set), 0, 0, 1, 1},
+ {&__pyx_n_s__map, __pyx_k__map, sizeof(__pyx_k__map), 0, 0, 1, 1},
+ {&__pyx_n_s__mapbuf, __pyx_k__mapbuf, sizeof(__pyx_k__mapbuf), 0, 0, 1, 1},
+ {&__pyx_n_s__mark_time, __pyx_k__mark_time, sizeof(__pyx_k__mark_time), 0, 0, 1, 1},
+ {&__pyx_n_s__mark_type, __pyx_k__mark_type, sizeof(__pyx_k__mark_type), 0, 0, 1, 1},
+ {&__pyx_n_s__markup_to_utf8, __pyx_k__markup_to_utf8, sizeof(__pyx_k__markup_to_utf8), 0, 0, 1, 1},
+ {&__pyx_n_s__max, __pyx_k__max, sizeof(__pyx_k__max), 0, 0, 1, 1},
+ {&__pyx_n_s__maximized, __pyx_k__maximized, sizeof(__pyx_k__maximized), 0, 0, 1, 1},
+ {&__pyx_n_s__mbe, __pyx_k__mbe, sizeof(__pyx_k__mbe), 0, 0, 1, 1},
+ {&__pyx_n_s__members_get, __pyx_k__members_get, sizeof(__pyx_k__members_get), 0, 0, 1, 1},
+ {&__pyx_n_s__menu, __pyx_k__menu, sizeof(__pyx_k__menu), 0, 0, 1, 1},
+ {&__pyx_n_s__method, __pyx_k__method, sizeof(__pyx_k__method), 0, 0, 1, 1},
+ {&__pyx_n_s__min, __pyx_k__min, sizeof(__pyx_k__min), 0, 0, 1, 1},
+ {&__pyx_n_s__minutes, __pyx_k__minutes, sizeof(__pyx_k__minutes), 0, 0, 1, 1},
+ {&__pyx_n_s__mirrored_get, __pyx_k__mirrored_get, sizeof(__pyx_k__mirrored_get), 0, 0, 1, 1},
+ {&__pyx_n_s__mirrored_set, __pyx_k__mirrored_set, sizeof(__pyx_k__mirrored_set), 0, 0, 1, 1},
+ {&__pyx_n_s__mode, __pyx_k__mode, sizeof(__pyx_k__mode), 0, 0, 1, 1},
+ {&__pyx_n_s__moved, __pyx_k__moved, sizeof(__pyx_k__moved), 0, 0, 1, 1},
+ {&__pyx_n_s__multi_select_get, __pyx_k__multi_select_get, sizeof(__pyx_k__multi_select_get), 0, 0, 1, 1},
+ {&__pyx_n_s__multi_select_set, __pyx_k__multi_select_set, sizeof(__pyx_k__multi_select_set), 0, 0, 1, 1},
+ {&__pyx_n_s__multibuttonentry, __pyx_k__multibuttonentry, sizeof(__pyx_k__multibuttonentry), 0, 0, 1, 1},
+ {&__pyx_n_s__name, __pyx_k__name, sizeof(__pyx_k__name), 0, 0, 1, 1},
+ {&__pyx_n_s__name_cb, __pyx_k__name_cb, sizeof(__pyx_k__name_cb), 0, 0, 1, 1},
+ {&__pyx_n_s__naviframe, __pyx_k__naviframe, sizeof(__pyx_k__naviframe), 0, 0, 1, 1},
+ {&__pyx_n_s__need_e_dbus, __pyx_k__need_e_dbus, sizeof(__pyx_k__need_e_dbus), 0, 0, 1, 1},
+ {&__pyx_n_s__need_efreet, __pyx_k__need_efreet, sizeof(__pyx_k__need_efreet), 0, 0, 1, 1},
+ {&__pyx_n_s__need_ethumb, __pyx_k__need_ethumb, sizeof(__pyx_k__need_ethumb), 0, 0, 1, 1},
+ {&__pyx_n_s__need_web, __pyx_k__need_web, sizeof(__pyx_k__need_web), 0, 0, 1, 1},
+ {&__pyx_n_s__next_btn, __pyx_k__next_btn, sizeof(__pyx_k__next_btn), 0, 0, 1, 1},
+ {&__pyx_n_s__next_get, __pyx_k__next_get, sizeof(__pyx_k__next_get), 0, 0, 1, 1},
+ {&__pyx_n_s__node_get, __pyx_k__node_get, sizeof(__pyx_k__node_get), 0, 0, 1, 1},
+ {&__pyx_n_s__normal, __pyx_k__normal, sizeof(__pyx_k__normal), 0, 0, 1, 1},
+ {&__pyx_n_s__notify, __pyx_k__notify, sizeof(__pyx_k__notify), 0, 0, 1, 1},
+ {&__pyx_n_s__obj, __pyx_k__obj, sizeof(__pyx_k__obj), 0, 0, 1, 1},
+ {&__pyx_n_s__object_item, __pyx_k__object_item, sizeof(__pyx_k__object_item), 0, 0, 1, 1},
+ {&__pyx_n_s__overflowed, __pyx_k__overflowed, sizeof(__pyx_k__overflowed), 0, 0, 1, 1},
+ {&__pyx_n_s__overlays_get, __pyx_k__overlays_get, sizeof(__pyx_k__overlays_get), 0, 0, 1, 1},
+ {&__pyx_n_s__page_relative_get, __pyx_k__page_relative_get, sizeof(__pyx_k__page_relative_get), 0, 0, 1, 1},
+ {&__pyx_n_s__page_relative_set, __pyx_k__page_relative_set, sizeof(__pyx_k__page_relative_set), 0, 0, 1, 1},
+ {&__pyx_n_s__panel, __pyx_k__panel, sizeof(__pyx_k__panel), 0, 0, 1, 1},
+ {&__pyx_n_s__panes, __pyx_k__panes, sizeof(__pyx_k__panes), 0, 0, 1, 1},
+ {&__pyx_n_s__parent, __pyx_k__parent, sizeof(__pyx_k__parent), 0, 0, 1, 1},
+ {&__pyx_n_s__parent_get, __pyx_k__parent_get, sizeof(__pyx_k__parent_get), 0, 0, 1, 1},
+ {&__pyx_n_s__parent_item, __pyx_k__parent_item, sizeof(__pyx_k__parent_item), 0, 0, 1, 1},
+ {&__pyx_n_s__parent_widget_get, __pyx_k__parent_widget_get, sizeof(__pyx_k__parent_widget_get), 0, 0, 1, 1},
+ {&__pyx_n_s__part, __pyx_k__part, sizeof(__pyx_k__part), 0, 0, 1, 1},
+ {&__pyx_n_s__part_content_get, __pyx_k__part_content_get, sizeof(__pyx_k__part_content_get), 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__parts, __pyx_k__parts, sizeof(__pyx_k__parts), 0, 0, 1, 1},
+ {&__pyx_n_s__path, __pyx_k__path, sizeof(__pyx_k__path), 0, 0, 1, 1},
+ {&__pyx_n_s__paused_get, __pyx_k__paused_get, sizeof(__pyx_k__paused_get), 0, 0, 1, 1},
+ {&__pyx_n_s__paused_set, __pyx_k__paused_set, sizeof(__pyx_k__paused_set), 0, 0, 1, 1},
+ {&__pyx_n_s__photo, __pyx_k__photo, sizeof(__pyx_k__photo), 0, 0, 1, 1},
+ {&__pyx_n_s__photocam, __pyx_k__photocam, sizeof(__pyx_k__photocam), 0, 0, 1, 1},
+ {&__pyx_n_s__play_length_get, __pyx_k__play_length_get, sizeof(__pyx_k__play_length_get), 0, 0, 1, 1},
+ {&__pyx_n_s__play_position_get, __pyx_k__play_position_get, sizeof(__pyx_k__play_position_get), 0, 0, 1, 1},
+ {&__pyx_n_s__play_position_set, __pyx_k__play_position_set, sizeof(__pyx_k__play_position_set), 0, 0, 1, 1},
+ {&__pyx_n_s__player, __pyx_k__player, sizeof(__pyx_k__player), 0, 0, 1, 1},
+ {&__pyx_n_s__plug, __pyx_k__plug, sizeof(__pyx_k__plug), 0, 0, 1, 1},
+ {&__pyx_n_s__policy, __pyx_k__policy, sizeof(__pyx_k__policy), 0, 0, 1, 1},
+ {&__pyx_n_s__policy_get, __pyx_k__policy_get, sizeof(__pyx_k__policy_get), 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_set, __pyx_k__policy_set, sizeof(__pyx_k__policy_set), 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__pop, __pyx_k__pop, sizeof(__pyx_k__pop), 0, 0, 1, 1},
+ {&__pyx_n_s__pop_to, __pyx_k__pop_to, sizeof(__pyx_k__pop_to), 0, 0, 1, 1},
+ {&__pyx_n_s__popup, __pyx_k__popup, sizeof(__pyx_k__popup), 0, 0, 1, 1},
+ {&__pyx_n_s__pos, __pyx_k__pos, sizeof(__pyx_k__pos), 0, 0, 1, 1},
+ {&__pyx_n_s__pos_changed, __pyx_k__pos_changed, sizeof(__pyx_k__pos_changed), 0, 0, 1, 1},
+ {&__pyx_n_s__press, __pyx_k__press, sizeof(__pyx_k__press), 0, 0, 1, 1},
+ {&__pyx_n_s__pressed, __pyx_k__pressed, sizeof(__pyx_k__pressed), 0, 0, 1, 1},
+ {&__pyx_n_s__prev_btn, __pyx_k__prev_btn, sizeof(__pyx_k__prev_btn), 0, 0, 1, 1},
+ {&__pyx_n_s__prev_get, __pyx_k__prev_get, sizeof(__pyx_k__prev_get), 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__profile, __pyx_k__profile, sizeof(__pyx_k__profile), 0, 0, 1, 1},
+ {&__pyx_n_s__progressbar, __pyx_k__progressbar, sizeof(__pyx_k__progressbar), 0, 0, 1, 1},
+ {&__pyx_n_s__promote, __pyx_k__promote, sizeof(__pyx_k__promote), 0, 0, 1, 1},
+ {&__pyx_n_s__ptr, __pyx_k__ptr, sizeof(__pyx_k__ptr), 0, 0, 1, 1},
+ {&__pyx_n_s__r, __pyx_k__r, sizeof(__pyx_k__r), 0, 0, 1, 1},
+ {&__pyx_n_s__radio, __pyx_k__radio, sizeof(__pyx_k__radio), 0, 0, 1, 1},
+ {&__pyx_n_s__radius, __pyx_k__radius, sizeof(__pyx_k__radius), 0, 0, 1, 1},
+ {&__pyx_n_s__realized, __pyx_k__realized, sizeof(__pyx_k__realized), 0, 0, 1, 1},
+ {&__pyx_n_s__realized_items_get, __pyx_k__realized_items_get, sizeof(__pyx_k__realized_items_get), 0, 0, 1, 1},
+ {&__pyx_n_s__recurse, __pyx_k__recurse, sizeof(__pyx_k__recurse), 0, 0, 1, 1},
+ {&__pyx_n_s__reference, __pyx_k__reference, sizeof(__pyx_k__reference), 0, 0, 1, 1},
+ {&__pyx_n_s__region_get, __pyx_k__region_get, sizeof(__pyx_k__region_get), 0, 0, 1, 1},
+ {&__pyx_n_s__region_set, __pyx_k__region_set, sizeof(__pyx_k__region_set), 0, 0, 1, 1},
+ {&__pyx_n_s__relative_child, __pyx_k__relative_child, sizeof(__pyx_k__relative_child), 0, 0, 1, 1},
+ {&__pyx_n_s__remove, __pyx_k__remove, sizeof(__pyx_k__remove), 0, 0, 1, 1},
+ {&__pyx_n_s__reorder_mode_get, __pyx_k__reorder_mode_get, sizeof(__pyx_k__reorder_mode_get), 0, 0, 1, 1},
+ {&__pyx_n_s__reorder_mode_set, __pyx_k__reorder_mode_set, sizeof(__pyx_k__reorder_mode_set), 0, 0, 1, 1},
+ {&__pyx_n_s__repeat, __pyx_k__repeat, sizeof(__pyx_k__repeat), 0, 0, 1, 1},
+ {&__pyx_n_s__repeated, __pyx_k__repeated, sizeof(__pyx_k__repeated), 0, 0, 1, 1},
+ {&__pyx_n_s__ret, __pyx_k__ret, sizeof(__pyx_k__ret), 0, 0, 1, 1},
+ {&__pyx_n_s__rotate_get, __pyx_k__rotate_get, sizeof(__pyx_k__rotate_get), 0, 0, 1, 1},
+ {&__pyx_n_s__rotate_set, __pyx_k__rotate_set, sizeof(__pyx_k__rotate_set), 0, 0, 1, 1},
+ {&__pyx_n_s__route, __pyx_k__route, sizeof(__pyx_k__route), 0, 0, 1, 1},
+ {&__pyx_n_s__route_cb, __pyx_k__route_cb, sizeof(__pyx_k__route_cb), 0, 0, 1, 1},
+ {&__pyx_n_s__row, __pyx_k__row, sizeof(__pyx_k__row), 0, 0, 1, 1},
+ {&__pyx_n_s__rowspan, __pyx_k__rowspan, sizeof(__pyx_k__rowspan), 0, 0, 1, 1},
+ {&__pyx_n_s__run, __pyx_k__run, sizeof(__pyx_k__run), 0, 0, 1, 1},
+ {&__pyx_n_s__s, __pyx_k__s, sizeof(__pyx_k__s), 0, 0, 1, 1},
+ {&__pyx_n_s__scale, __pyx_k__scale, sizeof(__pyx_k__scale), 0, 0, 1, 1},
+ {&__pyx_n_s__scale_get, __pyx_k__scale_get, sizeof(__pyx_k__scale_get), 0, 0, 1, 1},
+ {&__pyx_n_s__scale_set, __pyx_k__scale_set, sizeof(__pyx_k__scale_set), 0, 0, 1, 1},
+ {&__pyx_n_s__scroll, __pyx_k__scroll, sizeof(__pyx_k__scroll), 0, 0, 1, 1},
+ {&__pyx_n_s__scroll_lock_x_get, __pyx_k__scroll_lock_x_get, sizeof(__pyx_k__scroll_lock_x_get), 0, 0, 1, 1},
+ {&__pyx_n_s__scroll_lock_x_set, __pyx_k__scroll_lock_x_set, sizeof(__pyx_k__scroll_lock_x_set), 0, 0, 1, 1},
+ {&__pyx_n_s__scroll_lock_y_get, __pyx_k__scroll_lock_y_get, sizeof(__pyx_k__scroll_lock_y_get), 0, 0, 1, 1},
+ {&__pyx_n_s__scroll_lock_y_set, __pyx_k__scroll_lock_y_set, sizeof(__pyx_k__scroll_lock_y_set), 0, 0, 1, 1},
+ {&__pyx_n_s__scroller, __pyx_k__scroller, sizeof(__pyx_k__scroller), 0, 0, 1, 1},
+ {&__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__second, __pyx_k__second, sizeof(__pyx_k__second), 0, 0, 1, 1},
+ {&__pyx_n_s__seconds, __pyx_k__seconds, sizeof(__pyx_k__seconds), 0, 0, 1, 1},
+ {&__pyx_n_s__segment_control, __pyx_k__segment_control, sizeof(__pyx_k__segment_control), 0, 0, 1, 1},
+ {&__pyx_n_s__select_mode_get, __pyx_k__select_mode_get, sizeof(__pyx_k__select_mode_get), 0, 0, 1, 1},
+ {&__pyx_n_s__select_mode_set, __pyx_k__select_mode_set, sizeof(__pyx_k__select_mode_set), 0, 0, 1, 1},
+ {&__pyx_n_s__selected, __pyx_k__selected, sizeof(__pyx_k__selected), 0, 0, 1, 1},
+ {&__pyx_n_s__selected_get, __pyx_k__selected_get, sizeof(__pyx_k__selected_get), 0, 0, 1, 1},
+ {&__pyx_n_s__selected_item_get, __pyx_k__selected_item_get, sizeof(__pyx_k__selected_item_get), 0, 0, 1, 1},
+ {&__pyx_n_s__selected_items_get, __pyx_k__selected_items_get, sizeof(__pyx_k__selected_items_get), 0, 0, 1, 1},
+ {&__pyx_n_s__selected_set, __pyx_k__selected_set, sizeof(__pyx_k__selected_set), 0, 0, 1, 1},
+ {&__pyx_n_s__self, __pyx_k__self, sizeof(__pyx_k__self), 0, 0, 1, 1},
+ {&__pyx_n_s__separator, __pyx_k__separator, sizeof(__pyx_k__separator), 0, 0, 1, 1},
+ {&__pyx_n_s__setdefault, __pyx_k__setdefault, sizeof(__pyx_k__setdefault), 0, 0, 1, 1},
+ {&__pyx_n_s__shutdown, __pyx_k__shutdown, sizeof(__pyx_k__shutdown), 0, 0, 1, 1},
+ {&__pyx_n_s__size, __pyx_k__size, sizeof(__pyx_k__size), 0, 0, 1, 1},
+ {&__pyx_n_s__size_down, __pyx_k__size_down, sizeof(__pyx_k__size_down), 0, 0, 1, 1},
+ {&__pyx_n_s__size_up, __pyx_k__size_up, sizeof(__pyx_k__size_up), 0, 0, 1, 1},
+ {&__pyx_n_s__slider, __pyx_k__slider, sizeof(__pyx_k__slider), 0, 0, 1, 1},
+ {&__pyx_n_s__slideshow, __pyx_k__slideshow, sizeof(__pyx_k__slideshow), 0, 0, 1, 1},
+ {&__pyx_n_s__source, __pyx_k__source, sizeof(__pyx_k__source), 0, 0, 1, 1},
+ {&__pyx_n_s__source_name, __pyx_k__source_name, sizeof(__pyx_k__source_name), 0, 0, 1, 1},
+ {&__pyx_n_s__spinner, __pyx_k__spinner, sizeof(__pyx_k__spinner), 0, 0, 1, 1},
+ {&__pyx_n_s__standardwin, __pyx_k__standardwin, sizeof(__pyx_k__standardwin), 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_n_s__staticmethod, __pyx_k__staticmethod, sizeof(__pyx_k__staticmethod), 0, 0, 1, 1},
+ {&__pyx_n_s__stick, __pyx_k__stick, sizeof(__pyx_k__stick), 0, 0, 1, 1},
+ {&__pyx_n_s__str, __pyx_k__str, sizeof(__pyx_k__str), 0, 0, 1, 1},
+ {&__pyx_n_s__string, __pyx_k__string, sizeof(__pyx_k__string), 0, 0, 1, 1},
+ {&__pyx_n_s__style, __pyx_k__style, sizeof(__pyx_k__style), 0, 0, 1, 1},
+ {&__pyx_n_s__style_get, __pyx_k__style_get, sizeof(__pyx_k__style_get), 0, 0, 1, 1},
+ {&__pyx_n_s__style_set, __pyx_k__style_set, sizeof(__pyx_k__style_set), 0, 0, 1, 1},
+ {&__pyx_n_s__subobj, __pyx_k__subobj, sizeof(__pyx_k__subobj), 0, 0, 1, 1},
+ {&__pyx_n_s__svcname, __pyx_k__svcname, sizeof(__pyx_k__svcname), 0, 0, 1, 1},
+ {&__pyx_n_s__svcnum, __pyx_k__svcnum, sizeof(__pyx_k__svcnum), 0, 0, 1, 1},
+ {&__pyx_n_s__svcsys, __pyx_k__svcsys, sizeof(__pyx_k__svcsys), 0, 0, 1, 1},
+ {&__pyx_n_s__swallow, __pyx_k__swallow, sizeof(__pyx_k__swallow), 0, 0, 1, 1},
+ {&__pyx_n_s__swipe, __pyx_k__swipe, sizeof(__pyx_k__swipe), 0, 0, 1, 1},
+ {&__pyx_n_s__sys, __pyx_k__sys, sizeof(__pyx_k__sys), 0, 0, 1, 1},
+ {&__pyx_n_s__t, __pyx_k__t, sizeof(__pyx_k__t), 0, 0, 1, 1},
+ {&__pyx_n_s__table, __pyx_k__table, sizeof(__pyx_k__table), 0, 0, 1, 1},
+ {&__pyx_n_s__text, __pyx_k__text, sizeof(__pyx_k__text), 0, 0, 1, 1},
+ {&__pyx_n_s__text_class, __pyx_k__text_class, sizeof(__pyx_k__text_class), 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_n_s__text_set, __pyx_k__text_set, sizeof(__pyx_k__text_set), 0, 0, 1, 1},
+ {&__pyx_n_s__theme_extension_add, __pyx_k__theme_extension_add, sizeof(__pyx_k__theme_extension_add), 0, 0, 1, 1},
+ {&__pyx_n_s__theme_full_flush, __pyx_k__theme_full_flush, sizeof(__pyx_k__theme_full_flush), 0, 0, 1, 1},
+ {&__pyx_n_s__theme_overlay_add, __pyx_k__theme_overlay_add, sizeof(__pyx_k__theme_overlay_add), 0, 0, 1, 1},
+ {&__pyx_n_s__third, __pyx_k__third, sizeof(__pyx_k__third), 0, 0, 1, 1},
+ {&__pyx_n_s__thumb, __pyx_k__thumb, sizeof(__pyx_k__thumb), 0, 0, 1, 1},
+ {&__pyx_n_s__timeout, __pyx_k__timeout, sizeof(__pyx_k__timeout), 0, 0, 1, 1},
+ {&__pyx_n_s__times_h, __pyx_k__times_h, sizeof(__pyx_k__times_h), 0, 0, 1, 1},
+ {&__pyx_n_s__times_w, __pyx_k__times_w, sizeof(__pyx_k__times_w), 0, 0, 1, 1},
+ {&__pyx_n_s__timetuple, __pyx_k__timetuple, sizeof(__pyx_k__timetuple), 0, 0, 1, 1},
+ {&__pyx_n_s__title, __pyx_k__title, sizeof(__pyx_k__title), 0, 0, 1, 1},
+ {&__pyx_n_s__title_get, __pyx_k__title_get, sizeof(__pyx_k__title_get), 0, 0, 1, 1},
+ {&__pyx_n_s__title_label, __pyx_k__title_label, sizeof(__pyx_k__title_label), 0, 0, 1, 1},
+ {&__pyx_n_s__tlat, __pyx_k__tlat, sizeof(__pyx_k__tlat), 0, 0, 1, 1},
+ {&__pyx_n_s__tlon, __pyx_k__tlon, sizeof(__pyx_k__tlon), 0, 0, 1, 1},
+ {&__pyx_n_s__tlot, __pyx_k__tlot, sizeof(__pyx_k__tlot), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_hour, __pyx_k__tm_hour, sizeof(__pyx_k__tm_hour), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_isdst, __pyx_k__tm_isdst, sizeof(__pyx_k__tm_isdst), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_mday, __pyx_k__tm_mday, sizeof(__pyx_k__tm_mday), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_min, __pyx_k__tm_min, sizeof(__pyx_k__tm_min), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_mon, __pyx_k__tm_mon, sizeof(__pyx_k__tm_mon), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_sec, __pyx_k__tm_sec, sizeof(__pyx_k__tm_sec), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_wday, __pyx_k__tm_wday, sizeof(__pyx_k__tm_wday), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_yday, __pyx_k__tm_yday, sizeof(__pyx_k__tm_yday), 0, 0, 1, 1},
+ {&__pyx_n_s__tm_year, __pyx_k__tm_year, sizeof(__pyx_k__tm_year), 0, 0, 1, 1},
+ {&__pyx_n_s__to_a, __pyx_k__to_a, sizeof(__pyx_k__to_a), 0, 0, 1, 1},
+ {&__pyx_n_s__to_b, __pyx_k__to_b, sizeof(__pyx_k__to_b), 0, 0, 1, 1},
+ {&__pyx_n_s__to_degree, __pyx_k__to_degree, sizeof(__pyx_k__to_degree), 0, 0, 1, 1},
+ {&__pyx_n_s__to_dx, __pyx_k__to_dx, sizeof(__pyx_k__to_dx), 0, 0, 1, 1},
+ {&__pyx_n_s__to_dy, __pyx_k__to_dy, sizeof(__pyx_k__to_dy), 0, 0, 1, 1},
+ {&__pyx_n_s__to_g, __pyx_k__to_g, sizeof(__pyx_k__to_g), 0, 0, 1, 1},
+ {&__pyx_n_s__to_h, __pyx_k__to_h, sizeof(__pyx_k__to_h), 0, 0, 1, 1},
+ {&__pyx_n_s__to_layout, __pyx_k__to_layout, sizeof(__pyx_k__to_layout), 0, 0, 1, 1},
+ {&__pyx_n_s__to_r, __pyx_k__to_r, sizeof(__pyx_k__to_r), 0, 0, 1, 1},
+ {&__pyx_n_s__to_rate, __pyx_k__to_rate, sizeof(__pyx_k__to_rate), 0, 0, 1, 1},
+ {&__pyx_n_s__to_w, __pyx_k__to_w, sizeof(__pyx_k__to_w), 0, 0, 1, 1},
+ {&__pyx_n_s__toolbar, __pyx_k__toolbar, sizeof(__pyx_k__toolbar), 0, 0, 1, 1},
+ {&__pyx_n_s__tooltip_style_get, __pyx_k__tooltip_style_get, sizeof(__pyx_k__tooltip_style_get), 0, 0, 1, 1},
+ {&__pyx_n_s__tooltip_style_set, __pyx_k__tooltip_style_set, sizeof(__pyx_k__tooltip_style_set), 0, 0, 1, 1},
+ {&__pyx_n_s__tooltip_text_get, __pyx_k__tooltip_text_get, sizeof(__pyx_k__tooltip_text_get), 0, 0, 1, 1},
+ {&__pyx_n_s__top_widget_get, __pyx_k__top_widget_get, sizeof(__pyx_k__top_widget_get), 0, 0, 1, 1},
+ {&__pyx_n_s__traceback, __pyx_k__traceback, sizeof(__pyx_k__traceback), 0, 0, 1, 1},
+ {&__pyx_n_s__type, __pyx_k__type, sizeof(__pyx_k__type), 0, 0, 1, 1},
+ {&__pyx_n_s__type_get, __pyx_k__type_get, sizeof(__pyx_k__type_get), 0, 0, 1, 1},
+ {&__pyx_n_s__underflowed, __pyx_k__underflowed, sizeof(__pyx_k__underflowed), 0, 0, 1, 1},
+ {&__pyx_n_s__unfocused, __pyx_k__unfocused, sizeof(__pyx_k__unfocused), 0, 0, 1, 1},
+ {&__pyx_n_s__unfullscreen, __pyx_k__unfullscreen, sizeof(__pyx_k__unfullscreen), 0, 0, 1, 1},
+ {&__pyx_n_s__unmaximized, __pyx_k__unmaximized, sizeof(__pyx_k__unmaximized), 0, 0, 1, 1},
+ {&__pyx_n_s__unpress, __pyx_k__unpress, sizeof(__pyx_k__unpress), 0, 0, 1, 1},
+ {&__pyx_n_s__unpressed, __pyx_k__unpressed, sizeof(__pyx_k__unpressed), 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__unstick, __pyx_k__unstick, sizeof(__pyx_k__unstick), 0, 0, 1, 1},
+ {&__pyx_n_s__uri_get, __pyx_k__uri_get, sizeof(__pyx_k__uri_get), 0, 0, 1, 1},
+ {&__pyx_n_s__uri_set, __pyx_k__uri_set, sizeof(__pyx_k__uri_set), 0, 0, 1, 1},
+ {&__pyx_n_s__url, __pyx_k__url, sizeof(__pyx_k__url), 0, 0, 1, 1},
+ {&__pyx_n_s__user_agent_get, __pyx_k__user_agent_get, sizeof(__pyx_k__user_agent_get), 0, 0, 1, 1},
+ {&__pyx_n_s__user_agent_set, __pyx_k__user_agent_set, sizeof(__pyx_k__user_agent_set), 0, 0, 1, 1},
+ {&__pyx_n_s__utf8_to_markup, __pyx_k__utf8_to_markup, sizeof(__pyx_k__utf8_to_markup), 0, 0, 1, 1},
+ {&__pyx_n_s__v, __pyx_k__v, sizeof(__pyx_k__v), 0, 0, 1, 1},
+ {&__pyx_n_s__v_bounce, __pyx_k__v_bounce, sizeof(__pyx_k__v_bounce), 0, 0, 1, 1},
+ {&__pyx_n_s__v_pagenum, __pyx_k__v_pagenum, sizeof(__pyx_k__v_pagenum), 0, 0, 1, 1},
+ {&__pyx_n_s__v_pagenumber, __pyx_k__v_pagenumber, sizeof(__pyx_k__v_pagenumber), 0, 0, 1, 1},
+ {&__pyx_n_s__v_pagerel, __pyx_k__v_pagerel, sizeof(__pyx_k__v_pagerel), 0, 0, 1, 1},
+ {&__pyx_n_s__v_pagesize, __pyx_k__v_pagesize, sizeof(__pyx_k__v_pagesize), 0, 0, 1, 1},
+ {&__pyx_n_s__val, __pyx_k__val, sizeof(__pyx_k__val), 0, 0, 1, 1},
+ {&__pyx_n_s__value, __pyx_k__value, sizeof(__pyx_k__value), 0, 0, 1, 1},
+ {&__pyx_n_s__vertical, __pyx_k__vertical, sizeof(__pyx_k__vertical), 0, 0, 1, 1},
+ {&__pyx_n_s__video, __pyx_k__video, sizeof(__pyx_k__video), 0, 0, 1, 1},
+ {&__pyx_n_s__visible, __pyx_k__visible, sizeof(__pyx_k__visible), 0, 0, 1, 1},
+ {&__pyx_n_s__visible_get, __pyx_k__visible_get, sizeof(__pyx_k__visible_get), 0, 0, 1, 1},
+ {&__pyx_n_s__w, __pyx_k__w, sizeof(__pyx_k__w), 0, 0, 1, 1},
+ {&__pyx_n_s__warn, __pyx_k__warn, sizeof(__pyx_k__warn), 0, 0, 1, 1},
+ {&__pyx_n_s__waypoint_get, __pyx_k__waypoint_get, sizeof(__pyx_k__waypoint_get), 0, 0, 1, 1},
+ {&__pyx_n_s__web, __pyx_k__web, sizeof(__pyx_k__web), 0, 0, 1, 1},
+ {&__pyx_n_s__wheel_disabled_get, __pyx_k__wheel_disabled_get, sizeof(__pyx_k__wheel_disabled_get), 0, 0, 1, 1},
+ {&__pyx_n_s__wheel_disabled_set, __pyx_k__wheel_disabled_set, sizeof(__pyx_k__wheel_disabled_set), 0, 0, 1, 1},
+ {&__pyx_n_s__widget, __pyx_k__widget, sizeof(__pyx_k__widget), 0, 0, 1, 1},
+ {&__pyx_n_s__width, __pyx_k__width, sizeof(__pyx_k__width), 0, 0, 1, 1},
+ {&__pyx_n_s__win, __pyx_k__win, sizeof(__pyx_k__win), 0, 0, 1, 1},
+ {&__pyx_n_s__withdrawn, __pyx_k__withdrawn, sizeof(__pyx_k__withdrawn), 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},
+ {&__pyx_n_s__zoom_get, __pyx_k__zoom_get, sizeof(__pyx_k__zoom_get), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_max_get, __pyx_k__zoom_max_get, sizeof(__pyx_k__zoom_max_get), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_max_set, __pyx_k__zoom_max_set, sizeof(__pyx_k__zoom_max_set), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_min_get, __pyx_k__zoom_min_get, sizeof(__pyx_k__zoom_min_get), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_min_set, __pyx_k__zoom_min_set, sizeof(__pyx_k__zoom_min_set), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_mode_get, __pyx_k__zoom_mode_get, sizeof(__pyx_k__zoom_mode_get), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_mode_set, __pyx_k__zoom_mode_set, sizeof(__pyx_k__zoom_mode_set), 0, 0, 1, 1},
+ {&__pyx_n_s__zoom_set, __pyx_k__zoom_set, sizeof(__pyx_k__zoom_set), 0, 0, 1, 1},
+ {0, 0, 0, 0, 0, 0, 0}
+};
+static int __Pyx_InitCachedBuiltins(void) {
+ __pyx_builtin_staticmethod = __Pyx_GetName(__pyx_b, __pyx_n_s__staticmethod); if (!__pyx_builtin_staticmethod) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_TypeError = __Pyx_GetName(__pyx_b, __pyx_n_s__TypeError); if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_ValueError = __Pyx_GetName(__pyx_b, __pyx_n_s__ValueError); if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 325; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_callable = __Pyx_GetName(__pyx_b, __pyx_n_s__callable); if (!__pyx_builtin_callable) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 359; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_Exception = __Pyx_GetName(__pyx_b, __pyx_n_s__Exception); if (!__pyx_builtin_Exception) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_KeyError = __Pyx_GetName(__pyx_b, __pyx_n_s__KeyError); if (!__pyx_builtin_KeyError) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1401; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_enumerate = __Pyx_GetName(__pyx_b, __pyx_n_s__enumerate); if (!__pyx_builtin_enumerate) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_AttributeError = __Pyx_GetName(__pyx_b, __pyx_n_s__AttributeError); if (!__pyx_builtin_AttributeError) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_builtin_RuntimeError = __Pyx_GetName(__pyx_b, __pyx_n_s__RuntimeError); if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 234; __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);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":236
+ * cdef char* c_string
+ * if isinstance(s, unicode):
+ * string = s.encode('UTF-8') # <<<<<<<<<<<<<<
+ * c_string = string
+ * elif isinstance(s, str):
+ */
+ __pyx_k_tuple_6 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 236; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_6);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_5));
+ PyTuple_SET_ITEM(__pyx_k_tuple_6, 0, ((PyObject *)__pyx_kp_s_5));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_5));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_6));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":249
+ * cdef const_char_ptr c_string
+ * if isinstance(s, unicode):
+ * string = s.encode('UTF-8') # <<<<<<<<<<<<<<
+ * c_string = string
+ * elif isinstance(s, str):
+ */
+ __pyx_k_tuple_8 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_8)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_8);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_5));
+ PyTuple_SET_ITEM(__pyx_k_tuple_8, 0, ((PyObject *)__pyx_kp_s_5));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_5));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_8));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":593
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * if self._elm_event_cbs is None:
+ */
+ __pyx_k_tuple_17 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_17)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_17);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_17, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_17));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1216
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_k_tuple_27 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_27)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_27);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_27, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_27));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1365
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ * if event_conv is not None and not callable(event_conv):
+ * raise TypeError("event_conv must be None or callable")
+ */
+ __pyx_k_tuple_32 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_32)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1365; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_32);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_32, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_32));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1367
+ * raise TypeError("func must be callable")
+ * if event_conv is not None and not callable(event_conv):
+ * raise TypeError("event_conv must be None or callable") # <<<<<<<<<<<<<<
+ *
+ * if self._elmcallbacks is None:
+ */
+ __pyx_k_tuple_34 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_34)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1367; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_34);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_33));
+ PyTuple_SET_ITEM(__pyx_k_tuple_34, 0, ((PyObject *)__pyx_kp_s_33));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_33));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_34));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":41
+ * cdef Elm_Object_Item * _object_item_from_python(ObjectItem item) except NULL:
+ * if item is None or item.item is NULL:
+ * raise TypeError("Invalid item!") # <<<<<<<<<<<<<<
+ * return item.item
+ *
+ */
+ __pyx_k_tuple_38 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_38)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_38);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_37));
+ PyTuple_SET_ITEM(__pyx_k_tuple_38, 0, ((PyObject *)__pyx_kp_s_37));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_37));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_38));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":384
+ * def delete(self):
+ * if self.item == NULL:
+ * raise ValueError("Object already deleted") # <<<<<<<<<<<<<<
+ * elm_object_item_del(self.item)
+ * Py_DECREF(self)
+ */
+ __pyx_k_tuple_41 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_41)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 384; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_41);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_40));
+ PyTuple_SET_ITEM(__pyx_k_tuple_41, 0, ((PyObject *)__pyx_kp_s_40));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_40));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_41));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":424
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_k_tuple_42 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_42)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 424; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_42);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_42, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_42));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":131
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _gesture_layer_event_cb
+ *
+ */
+ __pyx_k_tuple_44 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_44)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_44);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_44, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_44));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1639
+ *
+ * def callback_focus_out_del(self, func):
+ * self._callback_del("focus,out") # <<<<<<<<<<<<<<
+ *
+ * def callback_moved_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_49 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_49)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1639; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_49);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_48));
+ PyTuple_SET_ITEM(__pyx_k_tuple_49, 0, ((PyObject *)__pyx_kp_s_48));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_48));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_49));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1646
+ *
+ * def callback_moved_del(self, func):
+ * self._callback_del("moved") # <<<<<<<<<<<<<<
+ *
+ * def callback_withdrawn_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_50 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_50)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1646; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_50);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__moved));
+ PyTuple_SET_ITEM(__pyx_k_tuple_50, 0, ((PyObject *)__pyx_n_s__moved));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__moved));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_50));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1653
+ *
+ * def callback_withdrawn_del(self, func):
+ * self._callback_del("withdrawn") # <<<<<<<<<<<<<<
+ *
+ * def callback_iconified_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_51 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_51)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1653; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_51);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__withdrawn));
+ PyTuple_SET_ITEM(__pyx_k_tuple_51, 0, ((PyObject *)__pyx_n_s__withdrawn));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__withdrawn));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_51));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1660
+ *
+ * def callback_iconified_del(self, func):
+ * self._callback_del("iconified") # <<<<<<<<<<<<<<
+ *
+ * def callback_normal_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_52 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_52)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_52);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__iconified));
+ PyTuple_SET_ITEM(__pyx_k_tuple_52, 0, ((PyObject *)__pyx_n_s__iconified));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__iconified));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_52));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1667
+ *
+ * def callback_normal_del(self, func):
+ * self._callback_del("normal") # <<<<<<<<<<<<<<
+ *
+ * def callback_stick_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_53 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_53)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1667; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_53);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__normal));
+ PyTuple_SET_ITEM(__pyx_k_tuple_53, 0, ((PyObject *)__pyx_n_s__normal));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__normal));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_53));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1674
+ *
+ * def callback_stick_del(self, func):
+ * self._callback_del("stick") # <<<<<<<<<<<<<<
+ *
+ * def callback_unstick_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_54 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_54)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1674; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_54);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__stick));
+ PyTuple_SET_ITEM(__pyx_k_tuple_54, 0, ((PyObject *)__pyx_n_s__stick));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__stick));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_54));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1681
+ *
+ * def callback_unstick_del(self, func):
+ * self._callback_del("unstick") # <<<<<<<<<<<<<<
+ *
+ * def callback_fullscreen_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_55 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_55)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_55);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unstick));
+ PyTuple_SET_ITEM(__pyx_k_tuple_55, 0, ((PyObject *)__pyx_n_s__unstick));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unstick));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_55));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1688
+ *
+ * def callback_fullscreen_del(self, func):
+ * self._callback_del("fullscreen") # <<<<<<<<<<<<<<
+ *
+ * def callback_unfullscreen_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_56 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_56)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1688; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_56);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__fullscreen));
+ PyTuple_SET_ITEM(__pyx_k_tuple_56, 0, ((PyObject *)__pyx_n_s__fullscreen));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__fullscreen));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_56));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1695
+ *
+ * def callback_unfullscreen_del(self, func):
+ * self._callback_del("unfullscreen") # <<<<<<<<<<<<<<
+ *
+ * def callback_maximized_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_57 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_57)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1695; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_57);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unfullscreen));
+ PyTuple_SET_ITEM(__pyx_k_tuple_57, 0, ((PyObject *)__pyx_n_s__unfullscreen));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unfullscreen));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_57));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1702
+ *
+ * def callback_maximized_del(self, func):
+ * self._callback_del("maximized") # <<<<<<<<<<<<<<
+ *
+ * def callback_unmaximized_add(self, func, *args, **kwargs):
+ */
+ __pyx_k_tuple_58 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_58)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1702; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_58);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__maximized));
+ PyTuple_SET_ITEM(__pyx_k_tuple_58, 0, ((PyObject *)__pyx_n_s__maximized));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__maximized));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_58));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1709
+ *
+ * def callback_unmaximized_del(self, func):
+ * self._callback_del("unmaximized") # <<<<<<<<<<<<<<
+ *
+ * _elm_widget_type_register("win", Window)
+ */
+ __pyx_k_tuple_59 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_59)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1709; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_59);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__unmaximized));
+ PyTuple_SET_ITEM(__pyx_k_tuple_59, 0, ((PyObject *)__pyx_n_s__unmaximized));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__unmaximized));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_59));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":46
+ * self.anchor_info = None
+ * self.hover = None
+ * self.hover_parent = (0, 0, 0, 0) # <<<<<<<<<<<<<<
+ * self.hover_left = False
+ * self.hover_right = False
+ */
+ __pyx_k_tuple_75 = PyTuple_New(4); if (unlikely(!__pyx_k_tuple_75)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_75);
+ __Pyx_INCREF(__pyx_int_0);
+ PyTuple_SET_ITEM(__pyx_k_tuple_75, 0, __pyx_int_0);
+ __Pyx_GIVEREF(__pyx_int_0);
+ __Pyx_INCREF(__pyx_int_0);
+ PyTuple_SET_ITEM(__pyx_k_tuple_75, 1, __pyx_int_0);
+ __Pyx_GIVEREF(__pyx_int_0);
+ __Pyx_INCREF(__pyx_int_0);
+ PyTuple_SET_ITEM(__pyx_k_tuple_75, 2, __pyx_int_0);
+ __Pyx_GIVEREF(__pyx_int_0);
+ __Pyx_INCREF(__pyx_int_0);
+ PyTuple_SET_ITEM(__pyx_k_tuple_75, 3, __pyx_int_0);
+ __Pyx_GIVEREF(__pyx_int_0);
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_75));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":29
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_97 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_97)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_97);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_97, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_97));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":31
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_100 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_100)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_100);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_100, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_100));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":51
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_101 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_101)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_101);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_101, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_101));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":45
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_102 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_102)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_102);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_102, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_102));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":77
+ * else:
+ * if before_after == None:
+ * raise ValueError("need a valid after object to add an item before/after another item") # <<<<<<<<<<<<<<
+ *
+ * if kind == ELM_LIST_ITEM_INSERT_BEFORE:
+ */
+ __pyx_k_tuple_104 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_104)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_104);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_103));
+ PyTuple_SET_ITEM(__pyx_k_tuple_104, 0, ((PyObject *)__pyx_kp_s_103));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_103));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_104));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":104
+ * return ("%s(label=%r, icon=%s, end=%s, "
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), bool(self.part_content_get("icon")), # <<<<<<<<<<<<<<
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ *
+ */
+ __pyx_k_tuple_106 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_106)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_106);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__icon));
+ PyTuple_SET_ITEM(__pyx_k_tuple_106, 0, ((PyObject *)__pyx_n_s__icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_106));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":105
+ * "callback=%r, args=%r, kargs=%s)") % \
+ * (self.__class__.__name__, self.text_get(), bool(self.part_content_get("icon")),
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2]) # <<<<<<<<<<<<<<
+ *
+ * def __repr__(self):
+ */
+ __pyx_k_tuple_107 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_107)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_107);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__end));
+ PyTuple_SET_ITEM(__pyx_k_tuple_107, 0, ((PyObject *)__pyx_n_s__end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_107));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":113
+ * (self.__class__.__name__, <unsigned long><void *>self,
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), bool(self.part_content_get("icon")), # <<<<<<<<<<<<<<
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+ *
+ */
+ __pyx_k_tuple_109 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_109)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_109);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__icon));
+ PyTuple_SET_ITEM(__pyx_k_tuple_109, 0, ((PyObject *)__pyx_n_s__icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__icon));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_109));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":114
+ * PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ * self.text_get(), bool(self.part_content_get("icon")),
+ * bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2]) # <<<<<<<<<<<<<<
+ *
+ * def selected_set(self, selected):
+ */
+ __pyx_k_tuple_110 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_110)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_110);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__end));
+ PyTuple_SET_ITEM(__pyx_k_tuple_110, 0, ((PyObject *)__pyx_n_s__end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__end));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_110));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":188
+ *
+ * if text_get_func and not callable(text_get_func):
+ * raise TypeError("text_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif text_get_func:
+ * self._text_get_func = text_get_func
+ */
+ __pyx_k_tuple_117 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_117)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_117);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_116));
+ PyTuple_SET_ITEM(__pyx_k_tuple_117, 0, ((PyObject *)__pyx_kp_s_116));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_116));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_117));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":195
+ *
+ * if content_get_func and not callable(content_get_func):
+ * raise TypeError("content_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif content_get_func:
+ * self._content_get_func = content_get_func
+ */
+ __pyx_k_tuple_119 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_119)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_119);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_118));
+ PyTuple_SET_ITEM(__pyx_k_tuple_119, 0, ((PyObject *)__pyx_kp_s_118));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_118));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_119));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":202
+ *
+ * if state_get_func and not callable(state_get_func):
+ * raise TypeError("state_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif state_get_func:
+ * self._state_get_func = state_get_func
+ */
+ __pyx_k_tuple_121 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_121)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_121);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_120));
+ PyTuple_SET_ITEM(__pyx_k_tuple_121, 0, ((PyObject *)__pyx_kp_s_120));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_120));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_121));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":209
+ *
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!") # <<<<<<<<<<<<<<
+ * elif del_func:
+ * self._del_func = del_func
+ */
+ __pyx_k_tuple_123 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_123)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_123);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_122));
+ PyTuple_SET_ITEM(__pyx_k_tuple_123, 0, ((PyObject *)__pyx_kp_s_122));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_122));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_123));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":390
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_k_tuple_131 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_131)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_131);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_131, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_131));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":621
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_135 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_135)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_135);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_135, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_135));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":680
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_137 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_137)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 680; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_137);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_137, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_137));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":740
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_139 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_139)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_139);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_139, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_139));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":800
+ * cb = _py_elm_genlist_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_141 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_141)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 800; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_141);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_141, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_141));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":187
+ *
+ * if text_get_func and not callable(text_get_func):
+ * raise TypeError("text_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif text_get_func:
+ * self._text_get_func = text_get_func
+ */
+ __pyx_k_tuple_158 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_158)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_158);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_116));
+ PyTuple_SET_ITEM(__pyx_k_tuple_158, 0, ((PyObject *)__pyx_kp_s_116));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_116));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_158));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":194
+ *
+ * if content_get_func and not callable(content_get_func):
+ * raise TypeError("content_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif content_get_func:
+ * self._content_get_func = content_get_func
+ */
+ __pyx_k_tuple_159 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_159)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_159);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_118));
+ PyTuple_SET_ITEM(__pyx_k_tuple_159, 0, ((PyObject *)__pyx_kp_s_118));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_118));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_159));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":201
+ *
+ * if state_get_func and not callable(state_get_func):
+ * raise TypeError("state_get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif state_get_func:
+ * self._state_get_func = state_get_func
+ */
+ __pyx_k_tuple_160 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_160)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_160);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_120));
+ PyTuple_SET_ITEM(__pyx_k_tuple_160, 0, ((PyObject *)__pyx_kp_s_120));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_120));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_160));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":208
+ *
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!") # <<<<<<<<<<<<<<
+ * elif del_func:
+ * self._del_func = del_func
+ */
+ __pyx_k_tuple_161 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_161)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_161);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_122));
+ PyTuple_SET_ITEM(__pyx_k_tuple_161, 0, ((PyObject *)__pyx_kp_s_122));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_122));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_161));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":412
+ * """
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * cdef void *cbdata
+ */
+ __pyx_k_tuple_165 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_165)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_165);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_165, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_165));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":632
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_168 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_168)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 632; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_168);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_168, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_168));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":676
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_169 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_169)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 676; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_169);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_169, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_169));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":724
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * (item_class, item_data, func)
+ */
+ __pyx_k_tuple_170 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_170)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 724; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_170);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_170, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_170));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":773
+ * cb = _py_elm_gengrid_item_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * ret.params = (item_class, item_data, func)
+ */
+ __pyx_k_tuple_171 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_171)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 773; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_171);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_171, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_171));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":38
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_175 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_175)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_175);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_175, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_175));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":234
+ * item = elm_menu_item_separator_add(menu.obj, parent_obj)
+ * if not item:
+ * raise RuntimeError("Error creating separator") # <<<<<<<<<<<<<<
+ *
+ * self._set_obj(item)
+ */
+ __pyx_k_tuple_177 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_177)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_177);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_176));
+ PyTuple_SET_ITEM(__pyx_k_tuple_177, 0, ((PyObject *)__pyx_kp_s_176));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_176));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_177));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":33
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_191 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_191)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_191);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_191, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_191));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":46
+ * else:
+ * if before_after == None:
+ * raise ValueError("need a valid after object to add an item before/after another item") # <<<<<<<<<<<<<<
+ * if kind == ELM_INDEX_ITEM_INSERT_BEFORE:
+ * item = elm_index_item_insert_before(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ */
+ __pyx_k_tuple_192 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_192)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_192);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_103));
+ PyTuple_SET_ITEM(__pyx_k_tuple_192, 0, ((PyObject *)__pyx_kp_s_103));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_103));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_192));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":26
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_195 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_195)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_195);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_195, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_195));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":32
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_210 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_210)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_210);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_210, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_210));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":82
+ *
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * data = (self, func, args, kwargs)
+ */
+ __pyx_k_tuple_211 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_211)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_211);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_211, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_211));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":127
+ * func, *args, **kwargs):
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ *
+ * data = (self, func, args, kwargs)
+ */
+ __pyx_k_tuple_212 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_212)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_212);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_212, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_212));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":182
+ * def delete(self):
+ * if self.overlay == NULL:
+ * raise ValueError("Object already deleted") # <<<<<<<<<<<<<<
+ * elm_map_overlay_del(self.overlay)
+ *
+ */
+ __pyx_k_tuple_213 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_213)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_213);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_40));
+ PyTuple_SET_ITEM(__pyx_k_tuple_213, 0, ((PyObject *)__pyx_kp_s_40));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_40));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_213));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":294
+ * def callback_clicked_set(self, func, *args, **kwargs):
+ * if not callable(func):
+ * raise TypeError("func must be callable") # <<<<<<<<<<<<<<
+ * cb_data = (func, args, kwargs)
+ * elm_map_overlay_get_cb_set(self.overlay, _map_overlay_get_callback,
+ */
+ __pyx_k_tuple_216 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_216)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 294; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_216);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_16));
+ PyTuple_SET_ITEM(__pyx_k_tuple_216, 0, ((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_16));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_216));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":52
+ * if callback:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_232 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_232)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_232);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_232, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_232));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":125
+ * def __init__(self, get_func=None, del_func=None):
+ * if get_func and not callable(get_func):
+ * raise TypeError("get_func is not callable!") # <<<<<<<<<<<<<<
+ * elif get_func:
+ * self._get_func = get_func
+ */
+ __pyx_k_tuple_241 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_241)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_241);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_240));
+ PyTuple_SET_ITEM(__pyx_k_tuple_241, 0, ((PyObject *)__pyx_kp_s_240));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_240));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_241));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":132
+ *
+ * if del_func and not callable(del_func):
+ * raise TypeError("del_func is not callable!") # <<<<<<<<<<<<<<
+ * elif del_func:
+ * self._del_func = del_func
+ */
+ __pyx_k_tuple_242 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_242)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_242);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_122));
+ PyTuple_SET_ITEM(__pyx_k_tuple_242, 0, ((PyObject *)__pyx_kp_s_122));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_122));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_242));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":364
+ * compare = _py_elm_slideshow_compare_func
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * item_data = (args, kwargs)
+ */
+ __pyx_k_tuple_245 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_245)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_245);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_245, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_245));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":40
+ * cb = _object_item_callback
+ * else:
+ * raise TypeError("func is not None or callable") # <<<<<<<<<<<<<<
+ *
+ * self.params = (func, args, kwargs)
+ */
+ __pyx_k_tuple_247 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_247)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_247);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_134));
+ PyTuple_SET_ITEM(__pyx_k_tuple_247, 0, ((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_134));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_247));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":160
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_251 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_251)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_251);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_251, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_251));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":208
+ * if callback is not None:
+ * if not callable(callback):
+ * raise TypeError("callback is not callable") # <<<<<<<<<<<<<<
+ * cb = _object_item_callback
+ *
+ */
+ __pyx_k_tuple_252 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_252)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_252);
+ __Pyx_INCREF(((PyObject *)__pyx_kp_s_43));
+ PyTuple_SET_ITEM(__pyx_k_tuple_252, 0, ((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_kp_s_43));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_252));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":203
+ *
+ * logging.basicConfig(level=logging.DEBUG)
+ * log = logging.getLogger("elementary") # <<<<<<<<<<<<<<
+ *
+ * cdef int PY_REFCOUNT(object o):
+ */
+ __pyx_k_tuple_693 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_693)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_693);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__elementary));
+ PyTuple_SET_ITEM(__pyx_k_tuple_693, 0, ((PyObject *)__pyx_n_s__elementary));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__elementary));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_693));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":259
+ * return c_string
+ *
+ * def init(): # <<<<<<<<<<<<<<
+ * cdef int argc, i, arg_len
+ * cdef char **argv, *arg
+ */
+ __pyx_k_tuple_694 = PyTuple_New(5); if (unlikely(!__pyx_k_tuple_694)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_694);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__argc));
+ PyTuple_SET_ITEM(__pyx_k_tuple_694, 0, ((PyObject *)__pyx_n_s__argc));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__argc));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__i));
+ PyTuple_SET_ITEM(__pyx_k_tuple_694, 1, ((PyObject *)__pyx_n_s__i));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__i));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__arg_len));
+ PyTuple_SET_ITEM(__pyx_k_tuple_694, 2, ((PyObject *)__pyx_n_s__arg_len));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__arg_len));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__argv));
+ PyTuple_SET_ITEM(__pyx_k_tuple_694, 3, ((PyObject *)__pyx_n_s__argv));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__argv));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__arg));
+ PyTuple_SET_ITEM(__pyx_k_tuple_694, 4, ((PyObject *)__pyx_n_s__arg));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__arg));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_694));
+ __pyx_k_codeobj_695 = (PyObject*)__Pyx_PyCode_New(0, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_694, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s__init, 259, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_695)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":272
+ * elm_init(argc, argv)
+ *
+ * def shutdown(): # <<<<<<<<<<<<<<
+ * elm_shutdown()
+ *
+ */
+ __pyx_k_codeobj_698 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s__shutdown, 272, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_698)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":275
+ * elm_shutdown()
+ *
+ * def run(): # <<<<<<<<<<<<<<
+ * with nogil:
+ * elm_run()
+ */
+ __pyx_k_codeobj_699 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s__run, 275, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_699)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":279
+ * elm_run()
+ *
+ * def exit(): # <<<<<<<<<<<<<<
+ * elm_exit()
+ *
+ */
+ __pyx_k_codeobj_700 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s__exit, 279, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_700)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":282
+ * elm_exit()
+ *
+ * def policy_set(policy, value): # <<<<<<<<<<<<<<
+ * """Set new policy value.
+ *
+ */
+ __pyx_k_tuple_701 = PyTuple_New(2); if (unlikely(!__pyx_k_tuple_701)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_701);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__policy));
+ PyTuple_SET_ITEM(__pyx_k_tuple_701, 0, ((PyObject *)__pyx_n_s__policy));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__policy));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__value));
+ PyTuple_SET_ITEM(__pyx_k_tuple_701, 1, ((PyObject *)__pyx_n_s__value));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__value));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_701));
+ __pyx_k_codeobj_702 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_701, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s__policy_set, 282, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_702)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":302
+ * return elm_policy_set(policy, value)
+ *
+ * def policy_get(policy): # <<<<<<<<<<<<<<
+ * """Gets the policy value set for given identifier.
+ *
+ */
+ __pyx_k_tuple_703 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_703)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_703);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__policy));
+ PyTuple_SET_ITEM(__pyx_k_tuple_703, 0, ((PyObject *)__pyx_n_s__policy));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__policy));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_703));
+ __pyx_k_codeobj_704 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_703, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s__policy_get, 302, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_704)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":312
+ * return elm_policy_get(policy)
+ *
+ * def coords_finger_size_adjust(times_w, w, times_h, h): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord width
+ * cdef Evas_Coord height
+ */
+ __pyx_k_tuple_705 = PyTuple_New(6); if (unlikely(!__pyx_k_tuple_705)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_705);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__times_w));
+ PyTuple_SET_ITEM(__pyx_k_tuple_705, 0, ((PyObject *)__pyx_n_s__times_w));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__times_w));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__w));
+ PyTuple_SET_ITEM(__pyx_k_tuple_705, 1, ((PyObject *)__pyx_n_s__w));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__w));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__times_h));
+ PyTuple_SET_ITEM(__pyx_k_tuple_705, 2, ((PyObject *)__pyx_n_s__times_h));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__times_h));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__h));
+ PyTuple_SET_ITEM(__pyx_k_tuple_705, 3, ((PyObject *)__pyx_n_s__h));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__h));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__width));
+ PyTuple_SET_ITEM(__pyx_k_tuple_705, 4, ((PyObject *)__pyx_n_s__width));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__width));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__height));
+ PyTuple_SET_ITEM(__pyx_k_tuple_705, 5, ((PyObject *)__pyx_n_s__height));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__height));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_705));
+ __pyx_k_codeobj_706 = (PyObject*)__Pyx_PyCode_New(4, 0, 6, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_705, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s_707, 312, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_706)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":346
+ *
+ * class ElementaryObjectMeta(type):
+ * def __init__(cls, name, bases, dict_): # <<<<<<<<<<<<<<
+ * type.__init__(cls, name, bases, dict_)
+ * cls._fetch_evt_callbacks()
+ */
+ __pyx_k_tuple_708 = PyTuple_New(4); if (unlikely(!__pyx_k_tuple_708)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_708);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__cls));
+ PyTuple_SET_ITEM(__pyx_k_tuple_708, 0, ((PyObject *)__pyx_n_s__cls));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__cls));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__name));
+ PyTuple_SET_ITEM(__pyx_k_tuple_708, 1, ((PyObject *)__pyx_n_s__name));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__name));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__bases));
+ PyTuple_SET_ITEM(__pyx_k_tuple_708, 2, ((PyObject *)__pyx_n_s__bases));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__bases));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__dict_));
+ PyTuple_SET_ITEM(__pyx_k_tuple_708, 3, ((PyObject *)__pyx_n_s__dict_));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__dict_));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_708));
+ __pyx_k_codeobj_709 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_708, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s____init__, 346, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_709)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":350
+ * cls._fetch_evt_callbacks()
+ *
+ * def _fetch_evt_callbacks(cls): # <<<<<<<<<<<<<<
+ * if "__evas_event_callbacks__" in cls.__dict__:
+ * return
+ */
+ __pyx_k_tuple_710 = PyTuple_New(5); if (unlikely(!__pyx_k_tuple_710)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_710);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__cls));
+ PyTuple_SET_ITEM(__pyx_k_tuple_710, 0, ((PyObject *)__pyx_n_s__cls));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__cls));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__append));
+ PyTuple_SET_ITEM(__pyx_k_tuple_710, 1, ((PyObject *)__pyx_n_s__append));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__append));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__name));
+ PyTuple_SET_ITEM(__pyx_k_tuple_710, 2, ((PyObject *)__pyx_n_s__name));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__name));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__val));
+ PyTuple_SET_ITEM(__pyx_k_tuple_710, 3, ((PyObject *)__pyx_n_s__val));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__val));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__evt));
+ PyTuple_SET_ITEM(__pyx_k_tuple_710, 4, ((PyObject *)__pyx_n_s__evt));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__evt));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_710));
+ __pyx_k_codeobj_711 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_710, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_696, __pyx_n_s_12, 350, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_711)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":642
+ *
+ * #For compatibility
+ * def config_finger_size_get(): # <<<<<<<<<<<<<<
+ * return elm_config_finger_size_get()
+ *
+ */
+ __pyx_k_codeobj_713 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_714, 642, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_713)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 642; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":645
+ * return elm_config_finger_size_get()
+ *
+ * def config_finger_size_set(size): # <<<<<<<<<<<<<<
+ * elm_config_finger_size_set(size)
+ *
+ */
+ __pyx_k_tuple_716 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_716)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_716);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__size));
+ PyTuple_SET_ITEM(__pyx_k_tuple_716, 0, ((PyObject *)__pyx_n_s__size));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__size));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_716));
+ __pyx_k_codeobj_717 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_716, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_718, 645, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_717)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":648
+ * elm_config_finger_size_set(size)
+ *
+ * def config_tooltip_delay_get(): # <<<<<<<<<<<<<<
+ * return elm_config_tooltip_delay_get()
+ *
+ */
+ __pyx_k_codeobj_719 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_720, 648, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_719)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":651
+ * return elm_config_tooltip_delay_get()
+ *
+ * def config_tooltip_delay_set(delay): # <<<<<<<<<<<<<<
+ * elm_config_tooltip_delay_set(delay)
+ *
+ */
+ __pyx_k_tuple_721 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_721)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 651; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_721);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__delay));
+ PyTuple_SET_ITEM(__pyx_k_tuple_721, 0, ((PyObject *)__pyx_n_s__delay));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__delay));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_721));
+ __pyx_k_codeobj_722 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_721, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_723, 651, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_722)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 651; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":654
+ * elm_config_tooltip_delay_set(delay)
+ *
+ * def focus_highlight_enabled_get(): # <<<<<<<<<<<<<<
+ * return elm_config_focus_highlight_enabled_get()
+ *
+ */
+ __pyx_k_codeobj_724 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_725, 654, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_724)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":657
+ * return elm_config_focus_highlight_enabled_get()
+ *
+ * def focus_highlight_enabled_set(enabled): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_enabled_set(enabled)
+ *
+ */
+ __pyx_k_tuple_726 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_726)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_726);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__enabled));
+ PyTuple_SET_ITEM(__pyx_k_tuple_726, 0, ((PyObject *)__pyx_n_s__enabled));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__enabled));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_726));
+ __pyx_k_codeobj_727 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_726, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_728, 657, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_727)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":660
+ * elm_config_focus_highlight_enabled_set(enabled)
+ *
+ * def focus_highlight_animate_get(): # <<<<<<<<<<<<<<
+ * return elm_config_focus_highlight_animate_get()
+ *
+ */
+ __pyx_k_codeobj_729 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_730, 660, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_729)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":663
+ * return elm_config_focus_highlight_animate_get()
+ *
+ * def focus_highlight_animate_set(animate): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ */
+ __pyx_k_tuple_731 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_731)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_731);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__animate));
+ PyTuple_SET_ITEM(__pyx_k_tuple_731, 0, ((PyObject *)__pyx_n_s__animate));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__animate));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_731));
+ __pyx_k_codeobj_732 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_731, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_733, 663, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_732)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":666
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ * def preferred_engine_get(): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_preferred_engine_get())
+ *
+ */
+ __pyx_k_codeobj_734 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_735, 666, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_734)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":669
+ * return _ctouni(elm_config_preferred_engine_get())
+ *
+ * def preferred_engine_set(engine): # <<<<<<<<<<<<<<
+ * elm_config_preferred_engine_set(engine)
+ *
+ */
+ __pyx_k_tuple_736 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_736)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_736);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__engine));
+ PyTuple_SET_ITEM(__pyx_k_tuple_736, 0, ((PyObject *)__pyx_n_s__engine));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__engine));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_736));
+ __pyx_k_codeobj_737 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_736, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_738, 669, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_737)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":672
+ * elm_config_preferred_engine_set(engine)
+ *
+ * def engine_get(): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_engine_get())
+ *
+ */
+ __pyx_k_codeobj_739 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s__engine_get, 672, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_739)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 672; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":675
+ * return _ctouni(elm_config_engine_get())
+ *
+ * def engine_set(engine): # <<<<<<<<<<<<<<
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ */
+ __pyx_k_tuple_740 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_740)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 675; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_740);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__engine));
+ PyTuple_SET_ITEM(__pyx_k_tuple_740, 0, ((PyObject *)__pyx_n_s__engine));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__engine));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_740));
+ __pyx_k_codeobj_741 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_740, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s__engine_set, 675, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_741)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 675; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":678
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ * def scale_get(): # <<<<<<<<<<<<<<
+ * return elm_config_scale_get()
+ *
+ */
+ __pyx_k_codeobj_742 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s__scale_get, 678, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_742)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":681
+ * return elm_config_scale_get()
+ *
+ * def scale_set(scale): # <<<<<<<<<<<<<<
+ * elm_config_scale_set(scale)
+ *
+ */
+ __pyx_k_tuple_743 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_743)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_743);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__scale));
+ PyTuple_SET_ITEM(__pyx_k_tuple_743, 0, ((PyObject *)__pyx_n_s__scale));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__scale));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_743));
+ __pyx_k_codeobj_744 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_743, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s__scale_set, 681, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_744)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":684
+ * elm_config_scale_set(scale)
+ *
+ * def cursor_engine_only_get(): # <<<<<<<<<<<<<<
+ * return elm_config_cursor_engine_only_get()
+ *
+ */
+ __pyx_k_codeobj_745 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_166, 684, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_745)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 684; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":687
+ * return elm_config_cursor_engine_only_get()
+ *
+ * def cursor_engine_only_set(engine_only): # <<<<<<<<<<<<<<
+ * elm_config_cursor_engine_only_set(engine_only)
+ *
+ */
+ __pyx_k_tuple_746 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_746)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_746);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__engine_only));
+ PyTuple_SET_ITEM(__pyx_k_tuple_746, 0, ((PyObject *)__pyx_n_s__engine_only));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__engine_only));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_746));
+ __pyx_k_codeobj_747 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_746, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_715, __pyx_n_s_167, 687, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_747)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":19
+ * #
+ *
+ * def need_efreet(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs Efreet
+ *
+ */
+ __pyx_k_codeobj_748 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_749, __pyx_n_s__need_efreet, 19, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_748)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":32
+ * return bool(elm_need_efreet())
+ *
+ * def need_e_dbus(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs e_dbus
+ *
+ */
+ __pyx_k_codeobj_750 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_749, __pyx_n_s__need_e_dbus, 32, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_750)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":45
+ * return bool(elm_need_e_dbus())
+ *
+ * def need_ethumb(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs ethumb
+ *
+ */
+ __pyx_k_codeobj_751 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_749, __pyx_n_s__need_ethumb, 45, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_751)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":59
+ * return bool(elm_need_ethumb())
+ *
+ * def need_web(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs web support
+ *
+ */
+ __pyx_k_codeobj_752 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_749, __pyx_n_s__need_web, 59, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_752)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":326
+ * return _ctouni(elm_theme_data_get(self.th, _cfruni(key)))
+ *
+ * def theme_list_item_path_get(f, in_search_path): # <<<<<<<<<<<<<<
+ * """theme_list_item_path_get(f, in_search_path)
+ *
+ */
+ __pyx_k_tuple_753 = PyTuple_New(3); if (unlikely(!__pyx_k_tuple_753)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_753);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__f));
+ PyTuple_SET_ITEM(__pyx_k_tuple_753, 0, ((PyObject *)__pyx_n_s__f));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__f));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__in_search_path));
+ PyTuple_SET_ITEM(__pyx_k_tuple_753, 1, ((PyObject *)__pyx_n_s__in_search_path));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__in_search_path));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__path));
+ PyTuple_SET_ITEM(__pyx_k_tuple_753, 2, ((PyObject *)__pyx_n_s__path));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__path));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_753));
+ __pyx_k_codeobj_754 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_753, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_756, __pyx_n_s_755, 326, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_754)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":352
+ * return _ctouni(elm_theme_list_item_path_get(_cfruni(f), &path))
+ *
+ * def theme_full_flush(): # <<<<<<<<<<<<<<
+ * """theme_full_flush()
+ *
+ */
+ __pyx_k_codeobj_757 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_756, __pyx_n_s__theme_full_flush, 352, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_757)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":363
+ * elm_theme_full_flush()
+ *
+ * def theme_name_available_list(): # <<<<<<<<<<<<<<
+ * """theme_name_available_list()
+ *
+ */
+ __pyx_k_tuple_758 = PyTuple_New(2); if (unlikely(!__pyx_k_tuple_758)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_758);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__lst));
+ PyTuple_SET_ITEM(__pyx_k_tuple_758, 0, ((PyObject *)__pyx_n_s__lst));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__lst));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__elements));
+ PyTuple_SET_ITEM(__pyx_k_tuple_758, 1, ((PyObject *)__pyx_n_s__elements));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__elements));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_758));
+ __pyx_k_codeobj_759 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_758, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_756, __pyx_n_s_760, 363, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_759)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":383
+ *
+ * # for compatibility
+ * def theme_overlay_add(item): # <<<<<<<<<<<<<<
+ * elm_theme_overlay_add(NULL, item)
+ *
+ */
+ __pyx_k_tuple_761 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_761)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_761);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__item));
+ PyTuple_SET_ITEM(__pyx_k_tuple_761, 0, ((PyObject *)__pyx_n_s__item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_761));
+ __pyx_k_codeobj_762 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_761, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_756, __pyx_n_s__theme_overlay_add, 383, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_762)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":386
+ * elm_theme_overlay_add(NULL, item)
+ *
+ * def theme_extension_add(item): # <<<<<<<<<<<<<<
+ * elm_theme_extension_add(NULL, item)
+ */
+ __pyx_k_tuple_763 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_763)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_763);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__item));
+ PyTuple_SET_ITEM(__pyx_k_tuple_763, 0, ((PyObject *)__pyx_n_s__item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__item));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_763));
+ __pyx_k_codeobj_764 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_763, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_756, __pyx_n_s__theme_extension_add, 386, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_764)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":113
+ * return lst
+ *
+ * def _cb_string_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr s = <const_char_ptr>addr
+ * if s == NULL:
+ */
+ __pyx_k_tuple_766 = PyTuple_New(3); if (unlikely(!__pyx_k_tuple_766)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_766);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_766, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_766, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__s));
+ PyTuple_SET_ITEM(__pyx_k_tuple_766, 2, ((PyObject *)__pyx_n_s__s));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__s));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_766));
+ __pyx_k_codeobj_767 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_766, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_768, __pyx_n_s___cb_string_conv, 113, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_767)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1468
+ *
+ *
+ * def __elm_widget_cls_resolver(unsigned long ptr): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = <Evas_Object *>ptr
+ * cdef const_char_ptr t
+ */
+ __pyx_k_tuple_769 = PyTuple_New(4); if (unlikely(!__pyx_k_tuple_769)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_769);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__ptr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_769, 0, ((PyObject *)__pyx_n_s__ptr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ptr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__ptr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_769, 1, ((PyObject *)__pyx_n_s__ptr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ptr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__obj));
+ PyTuple_SET_ITEM(__pyx_k_tuple_769, 2, ((PyObject *)__pyx_n_s__obj));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__obj));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__t));
+ PyTuple_SET_ITEM(__pyx_k_tuple_769, 3, ((PyObject *)__pyx_n_s__t));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__t));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_769));
+ __pyx_k_codeobj_770 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_769, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_768, __pyx_n_s_771, 1468, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_770)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":35
+ * cdef class ObjectItem
+ *
+ * def _cb_object_item_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
+ * return _object_item_to_python(it)
+ */
+ __pyx_k_tuple_772 = PyTuple_New(3); if (unlikely(!__pyx_k_tuple_772)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_772);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_772, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_772, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__it));
+ PyTuple_SET_ITEM(__pyx_k_tuple_772, 2, ((PyObject *)__pyx_n_s__it));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__it));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_772));
+ __pyx_k_codeobj_773 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_772, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_774, __pyx_n_s_99, 35, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_773)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":19
+ * #
+ *
+ * def Entry_markup_to_utf8(str): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr string
+ * string = elm_entry_markup_to_utf8(str)
+ */
+ __pyx_k_tuple_775 = PyTuple_New(2); if (unlikely(!__pyx_k_tuple_775)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_775);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__str));
+ PyTuple_SET_ITEM(__pyx_k_tuple_775, 0, ((PyObject *)__pyx_n_s__str));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__str));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__string));
+ PyTuple_SET_ITEM(__pyx_k_tuple_775, 1, ((PyObject *)__pyx_n_s__string));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__string));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_775));
+ __pyx_k_codeobj_776 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_775, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_778, __pyx_n_s_777, 19, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_776)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":26
+ * return string
+ *
+ * def Entry_utf8_to_markup(str): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr string
+ * string = elm_entry_utf8_to_markup(str)
+ */
+ __pyx_k_tuple_779 = PyTuple_New(2); if (unlikely(!__pyx_k_tuple_779)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_779);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__str));
+ PyTuple_SET_ITEM(__pyx_k_tuple_779, 0, ((PyObject *)__pyx_n_s__str));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__str));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__string));
+ PyTuple_SET_ITEM(__pyx_k_tuple_779, 1, ((PyObject *)__pyx_n_s__string));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__string));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_779));
+ __pyx_k_codeobj_780 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_779, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_778, __pyx_n_s_781, 26, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_780)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":34
+ *
+ * class EntryAnchorInfo:
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * self.name = None
+ * self.button = 0
+ */
+ __pyx_k_tuple_782 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_782)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_782);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__self));
+ PyTuple_SET_ITEM(__pyx_k_tuple_782, 0, ((PyObject *)__pyx_n_s__self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_782));
+ __pyx_k_codeobj_783 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_782, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_778, __pyx_n_s____init__, 34, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_783)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":43
+ *
+ * class EntryAnchorHoverInfo:
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * self.anchor_info = None
+ * self.hover = None
+ */
+ __pyx_k_tuple_784 = PyTuple_New(1); if (unlikely(!__pyx_k_tuple_784)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_784);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__self));
+ PyTuple_SET_ITEM(__pyx_k_tuple_784, 0, ((PyObject *)__pyx_n_s__self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__self));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_784));
+ __pyx_k_codeobj_785 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_784, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_778, __pyx_n_s____init__, 43, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_785)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":52
+ * self.hover_bottom = False
+ *
+ * def _entryanchor_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr
+ * eai = EntryAnchorInfo()
+ */
+ __pyx_k_tuple_786 = PyTuple_New(4); if (unlikely(!__pyx_k_tuple_786)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_786);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_786, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_786, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__ei));
+ PyTuple_SET_ITEM(__pyx_k_tuple_786, 2, ((PyObject *)__pyx_n_s__ei));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ei));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__eai));
+ PyTuple_SET_ITEM(__pyx_k_tuple_786, 3, ((PyObject *)__pyx_n_s__eai));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__eai));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_786));
+ __pyx_k_codeobj_787 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_786, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_778, __pyx_n_s___entryanchor_conv, 52, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_787)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":63
+ * return eai
+ *
+ * def _entryanchorhover_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr
+ * eahi = EntryAnchorHoverInfo()
+ */
+ __pyx_k_tuple_788 = PyTuple_New(4); if (unlikely(!__pyx_k_tuple_788)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_788);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_788, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_788, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__ehi));
+ PyTuple_SET_ITEM(__pyx_k_tuple_788, 2, ((PyObject *)__pyx_n_s__ehi));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ehi));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__eahi));
+ PyTuple_SET_ITEM(__pyx_k_tuple_788, 3, ((PyObject *)__pyx_n_s__eahi));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__eahi));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_788));
+ __pyx_k_codeobj_789 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_788, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_778, __pyx_n_s_93, 63, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_789)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":20
+ * #
+ *
+ * def _web_double_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef double *info = <double *>addr
+ * if info == NULL:
+ */
+ __pyx_k_tuple_790 = PyTuple_New(3); if (unlikely(!__pyx_k_tuple_790)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_790);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_790, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_790, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__info));
+ PyTuple_SET_ITEM(__pyx_k_tuple_790, 2, ((PyObject *)__pyx_n_s__info));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__info));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_790));
+ __pyx_k_codeobj_791 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_790, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_792, __pyx_n_s___web_double_conv, 20, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_791)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":26
+ * return info[0]
+ *
+ * def _web_load_frame_error_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr
+ * if err == NULL:
+ */
+ __pyx_k_tuple_793 = PyTuple_New(4); if (unlikely(!__pyx_k_tuple_793)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_793);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_793, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_793, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__err));
+ PyTuple_SET_ITEM(__pyx_k_tuple_793, 2, ((PyObject *)__pyx_n_s__err));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__err));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__ret));
+ PyTuple_SET_ITEM(__pyx_k_tuple_793, 3, ((PyObject *)__pyx_n_s__ret));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__ret));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_793));
+ __pyx_k_codeobj_794 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_793, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_792, __pyx_n_s_184, 26, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_794)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":57
+ *
+ *
+ * def _web_link_hover_in_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef char **info = <char **>addr
+ * if info == NULL:
+ */
+ __pyx_k_tuple_795 = PyTuple_New(5); if (unlikely(!__pyx_k_tuple_795)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_k_tuple_795);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_795, 0, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__addr));
+ PyTuple_SET_ITEM(__pyx_k_tuple_795, 1, ((PyObject *)__pyx_n_s__addr));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__addr));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__info));
+ PyTuple_SET_ITEM(__pyx_k_tuple_795, 2, ((PyObject *)__pyx_n_s__info));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__info));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__url));
+ PyTuple_SET_ITEM(__pyx_k_tuple_795, 3, ((PyObject *)__pyx_n_s__url));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__url));
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__title));
+ PyTuple_SET_ITEM(__pyx_k_tuple_795, 4, ((PyObject *)__pyx_n_s__title));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__title));
+ __Pyx_GIVEREF(((PyObject *)__pyx_k_tuple_795));
+ __pyx_k_codeobj_796 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_k_tuple_795, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_792, __pyx_n_s_181, 57, __pyx_empty_bytes); if (unlikely(!__pyx_k_codeobj_796)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_RefNannyFinishContext();
+ return 0;
+ __pyx_L1_error:;
+ __Pyx_RefNannyFinishContext();
+ return -1;
+}
+
+static int __Pyx_InitGlobals(void) {
+ if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ __pyx_int_1900 = PyInt_FromLong(1900); if (unlikely(!__pyx_int_1900)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ return 0;
+ __pyx_L1_error:;
+ return -1;
+}
+
+#if PY_MAJOR_VERSION < 3
+PyMODINIT_FUNC initc_elementary(void); /*proto*/
+PyMODINIT_FUNC initc_elementary(void)
+#else
+PyMODINIT_FUNC PyInit_c_elementary(void); /*proto*/
+PyMODINIT_FUNC PyInit_c_elementary(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;
+ __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_c_elementary(void)", 0);
+ if ( __Pyx_check_binary_version() < 0) {__pyx_filename = __pyx_f[1]; __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[1]; __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[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ #ifdef __Pyx_CyFunction_USED
+ if (__Pyx_CyFunction_init() < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ #endif
+ #ifdef __Pyx_FusedFunction_USED
+ if (__pyx_FusedFunction_init() < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ #endif
+ #ifdef __Pyx_Generator_USED
+ if (__pyx_Generator_init() < 0) {__pyx_filename = __pyx_f[1]; __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(__Pyx_NAMESTR("c_elementary"), __pyx_methods, __Pyx_DOCSTR(__pyx_k_691), 0, PYTHON_API_VERSION);
+ #else
+ __pyx_m = PyModule_Create(&__pyx_moduledef);
+ #endif
+ if (!__pyx_m) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ #if PY_MAJOR_VERSION < 3
+ Py_INCREF(__pyx_m);
+ #endif
+ __pyx_b = PyImport_AddModule(__Pyx_NAMESTR(__Pyx_BUILTIN_MODULE_NAME));
+ if (!__pyx_b) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ if (__Pyx_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ /*--- Initialize various global constants etc. ---*/
+ if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__pyx_module_is_main_elementary__c_elementary) {
+ if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_n_s____main__) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
+ }
+ /*--- Builtin init code ---*/
+ if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ /*--- Constants init code ---*/
+ if (unlikely(__Pyx_InitCachedConstants() < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ /*--- Global init code ---*/
+ __pyx_v_10elementary_12c_elementary__elm_widget_type_mapping = Py_None; Py_INCREF(Py_None);
+ /*--- Variable export code ---*/
+ /*--- Function export code ---*/
+ /*--- Type init code ---*/
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_Configuration) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Configuration", (PyObject *)&__pyx_type_10elementary_12c_elementary_Configuration) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Configuration = &__pyx_type_10elementary_12c_elementary_Configuration;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_Theme) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&__pyx_type_10elementary_12c_elementary_Theme, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_5Theme_2__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_5Theme_2__init__.doc = __pyx_doc_10elementary_12c_elementary_5Theme_2__init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_5Theme_2__init__;
+ }
+ }
+ if (__Pyx_SetAttrString(__pyx_m, "Theme", (PyObject *)&__pyx_type_10elementary_12c_elementary_Theme) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Theme = &__pyx_type_10elementary_12c_elementary_Theme;
+ __pyx_ptype_4evas_6c_evas_Canvas = __Pyx_ImportType("evas.c_evas", "Canvas", sizeof(struct PyEvasCanvas), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Canvas)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Canvas = (struct __pyx_vtabstruct_4evas_6c_evas_Canvas*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Canvas->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Canvas)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_10elementary_12c_elementary_Canvas = &__pyx_vtable_10elementary_12c_elementary_Canvas;
+ __pyx_vtable_10elementary_12c_elementary_Canvas.__pyx_base = *__pyx_vtabptr_4evas_6c_evas_Canvas;
+ __pyx_type_10elementary_12c_elementary_Canvas.tp_base = __pyx_ptype_4evas_6c_evas_Canvas;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_Canvas) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_Canvas.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Canvas) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Canvas", (PyObject *)&__pyx_type_10elementary_12c_elementary_Canvas) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Canvas = &__pyx_type_10elementary_12c_elementary_Canvas;
+ __pyx_ptype_4evas_6c_evas_Object = __Pyx_ImportType("evas.c_evas", "Object", sizeof(struct PyEvasObject), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Object)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Object = (struct __pyx_vtabstruct_4evas_6c_evas_Object*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Object->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Object)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_10elementary_12c_elementary_Object = &__pyx_vtable_10elementary_12c_elementary_Object;
+ __pyx_vtable_10elementary_12c_elementary_Object.__pyx_base = *__pyx_vtabptr_4evas_6c_evas_Object;
+ PyElementaryObject_Type.tp_base = __pyx_ptype_4evas_6c_evas_Object;
+ if (PyType_Ready(&PyElementaryObject_Type) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryObject_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Object) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Object", (PyObject *)&PyElementaryObject_Type) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Object = &PyElementaryObject_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_ObjectItem = &__pyx_vtable_10elementary_12c_elementary_ObjectItem;
+ __pyx_vtable_10elementary_12c_elementary_ObjectItem._set_obj = (int (*)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *))__pyx_f_10elementary_12c_elementary_10ObjectItem__set_obj;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_ObjectItem) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_ObjectItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_ObjectItem) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "ObjectItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_ObjectItem) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_ObjectItem = &__pyx_type_10elementary_12c_elementary_ObjectItem;
+ __pyx_vtabptr_10elementary_12c_elementary_GestureLayer = &__pyx_vtable_10elementary_12c_elementary_GestureLayer;
+ __pyx_vtable_10elementary_12c_elementary_GestureLayer.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryGestureLayer_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryGestureLayer_Type) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryGestureLayer_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_12GestureLayer___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_12GestureLayer___init__.doc = __pyx_doc_10elementary_12c_elementary_12GestureLayer___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_12GestureLayer___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryGestureLayer_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_GestureLayer) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "GestureLayer", (PyObject *)&PyElementaryGestureLayer_Type) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_GestureLayer = &PyElementaryGestureLayer_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_LayoutClass = &__pyx_vtable_10elementary_12c_elementary_LayoutClass;
+ __pyx_vtable_10elementary_12c_elementary_LayoutClass.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ __pyx_type_10elementary_12c_elementary_LayoutClass.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_LayoutClass) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_LayoutClass.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_LayoutClass) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "LayoutClass", (PyObject *)&__pyx_type_10elementary_12c_elementary_LayoutClass) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_LayoutClass = &__pyx_type_10elementary_12c_elementary_LayoutClass;
+ __pyx_vtabptr_10elementary_12c_elementary_Layout = &__pyx_vtable_10elementary_12c_elementary_Layout;
+ __pyx_vtable_10elementary_12c_elementary_Layout.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryLayout_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryLayout_Type) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryLayout_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Layout) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Layout", (PyObject *)&PyElementaryLayout_Type) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Layout = &PyElementaryLayout_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Image = &__pyx_vtable_10elementary_12c_elementary_Image;
+ __pyx_vtable_10elementary_12c_elementary_Image.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryImage_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryImage_Type) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryImage_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Image) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Image", (PyObject *)&PyElementaryImage_Type) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Image = &PyElementaryImage_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Button = &__pyx_vtable_10elementary_12c_elementary_Button;
+ __pyx_vtable_10elementary_12c_elementary_Button.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryButton_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryButton_Type) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryButton_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Button) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Button", (PyObject *)&PyElementaryButton_Type) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Button = &PyElementaryButton_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Window = &__pyx_vtable_10elementary_12c_elementary_Window;
+ __pyx_vtable_10elementary_12c_elementary_Window.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryWindow_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryWindow_Type) < 0) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryWindow_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Window) < 0) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Window", (PyObject *)&PyElementaryWindow_Type) < 0) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Window = &PyElementaryWindow_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_StandardWindow = &__pyx_vtable_10elementary_12c_elementary_StandardWindow;
+ __pyx_vtable_10elementary_12c_elementary_StandardWindow.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Window;
+ PyElementaryStandardWindow_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Window;
+ if (PyType_Ready(&PyElementaryStandardWindow_Type) < 0) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryStandardWindow_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_StandardWindow) < 0) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "StandardWindow", (PyObject *)&PyElementaryStandardWindow_Type) < 0) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1717; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_StandardWindow = &PyElementaryStandardWindow_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_InnerWindow = &__pyx_vtable_10elementary_12c_elementary_InnerWindow;
+ __pyx_vtable_10elementary_12c_elementary_InnerWindow.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryInnerWindow_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryInnerWindow_Type) < 0) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryInnerWindow_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_InnerWindow) < 0) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "InnerWindow", (PyObject *)&PyElementaryInnerWindow_Type) < 0) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_InnerWindow = &PyElementaryInnerWindow_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Background = &__pyx_vtable_10elementary_12c_elementary_Background;
+ __pyx_vtable_10elementary_12c_elementary_Background.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryBackground_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryBackground_Type) < 0) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryBackground_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_10Background___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_10Background___init__.doc = __pyx_doc_10elementary_12c_elementary_10Background___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_10Background___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryBackground_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Background) < 0) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Background", (PyObject *)&PyElementaryBackground_Type) < 0) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Background = &PyElementaryBackground_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Icon = &__pyx_vtable_10elementary_12c_elementary_Icon;
+ __pyx_vtable_10elementary_12c_elementary_Icon.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Image;
+ PyElementaryIcon_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Image;
+ if (PyType_Ready(&PyElementaryIcon_Type) < 0) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryIcon_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Icon) < 0) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Icon", (PyObject *)&PyElementaryIcon_Type) < 0) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Icon = &PyElementaryIcon_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Box = &__pyx_vtable_10elementary_12c_elementary_Box;
+ __pyx_vtable_10elementary_12c_elementary_Box.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryBox_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryBox_Type) < 0) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryBox_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_3Box___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_3Box___init__.doc = __pyx_doc_10elementary_12c_elementary_3Box___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_3Box___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryBox_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Box) < 0) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Box", (PyObject *)&PyElementaryBox_Type) < 0) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Box = &PyElementaryBox_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Frame = &__pyx_vtable_10elementary_12c_elementary_Frame;
+ __pyx_vtable_10elementary_12c_elementary_Frame.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryFrame_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryFrame_Type) < 0) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryFrame_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Frame) < 0) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Frame", (PyObject *)&PyElementaryFrame_Type) < 0) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Frame = &PyElementaryFrame_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Flip = &__pyx_vtable_10elementary_12c_elementary_Flip;
+ __pyx_vtable_10elementary_12c_elementary_Flip.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryFlip_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryFlip_Type) < 0) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryFlip_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_4Flip___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_4Flip___init__.doc = __pyx_doc_10elementary_12c_elementary_4Flip___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_4Flip___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryFlip_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Flip) < 0) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Flip", (PyObject *)&PyElementaryFlip_Type) < 0) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Flip = &PyElementaryFlip_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Scroller = &__pyx_vtable_10elementary_12c_elementary_Scroller;
+ __pyx_vtable_10elementary_12c_elementary_Scroller.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryScroller_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryScroller_Type) < 0) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryScroller_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Scroller) < 0) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Scroller", (PyObject *)&PyElementaryScroller_Type) < 0) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Scroller = &PyElementaryScroller_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Label = &__pyx_vtable_10elementary_12c_elementary_Label;
+ __pyx_vtable_10elementary_12c_elementary_Label.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryLabel_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryLabel_Type) < 0) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryLabel_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Label) < 0) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Label", (PyObject *)&PyElementaryLabel_Type) < 0) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Label = &PyElementaryLabel_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Table = &__pyx_vtable_10elementary_12c_elementary_Table;
+ __pyx_vtable_10elementary_12c_elementary_Table.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryTable_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryTable_Type) < 0) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryTable_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Table) < 0) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Table", (PyObject *)&PyElementaryTable_Type) < 0) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Table = &PyElementaryTable_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Clock = &__pyx_vtable_10elementary_12c_elementary_Clock;
+ __pyx_vtable_10elementary_12c_elementary_Clock.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryClock_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryClock_Type) < 0) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryClock_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Clock) < 0) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Clock", (PyObject *)&PyElementaryClock_Type) < 0) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Clock = &PyElementaryClock_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Hover = &__pyx_vtable_10elementary_12c_elementary_Hover;
+ __pyx_vtable_10elementary_12c_elementary_Hover.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryHover_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryHover_Type) < 0) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryHover_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Hover) < 0) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Hover", (PyObject *)&PyElementaryHover_Type) < 0) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Hover = &PyElementaryHover_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Entry = &__pyx_vtable_10elementary_12c_elementary_Entry;
+ __pyx_vtable_10elementary_12c_elementary_Entry.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryEntry_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryEntry_Type) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryEntry_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_5Entry___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_5Entry___init__.doc = __pyx_doc_10elementary_12c_elementary_5Entry___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_5Entry___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryEntry_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Entry) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Entry", (PyObject *)&PyElementaryEntry_Type) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Entry = &PyElementaryEntry_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Bubble = &__pyx_vtable_10elementary_12c_elementary_Bubble;
+ __pyx_vtable_10elementary_12c_elementary_Bubble.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryBubble_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryBubble_Type) < 0) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryBubble_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_6Bubble___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_6Bubble___init__.doc = __pyx_doc_10elementary_12c_elementary_6Bubble___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_6Bubble___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryBubble_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Bubble) < 0) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Bubble", (PyObject *)&PyElementaryBubble_Type) < 0) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Bubble = &PyElementaryBubble_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Photo = &__pyx_vtable_10elementary_12c_elementary_Photo;
+ __pyx_vtable_10elementary_12c_elementary_Photo.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryPhoto_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryPhoto_Type) < 0) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPhoto_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Photo) < 0) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Photo", (PyObject *)&PyElementaryPhoto_Type) < 0) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Photo = &PyElementaryPhoto_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_HoverselItem = &__pyx_vtable_10elementary_12c_elementary_HoverselItem;
+ __pyx_vtable_10elementary_12c_elementary_HoverselItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_HoverselItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_HoverselItem) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_HoverselItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_HoverselItem) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "HoverselItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_HoverselItem) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_HoverselItem = &__pyx_type_10elementary_12c_elementary_HoverselItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Hoversel = &__pyx_vtable_10elementary_12c_elementary_Hoversel;
+ __pyx_vtable_10elementary_12c_elementary_Hoversel.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Button;
+ PyElementaryHoversel_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Button;
+ if (PyType_Ready(&PyElementaryHoversel_Type) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryHoversel_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Hoversel) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Hoversel", (PyObject *)&PyElementaryHoversel_Type) < 0) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Hoversel = &PyElementaryHoversel_Type;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_ToolbarItemState) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "ToolbarItemState", (PyObject *)&__pyx_type_10elementary_12c_elementary_ToolbarItemState) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_ToolbarItemState = &__pyx_type_10elementary_12c_elementary_ToolbarItemState;
+ __pyx_vtabptr_10elementary_12c_elementary_ToolbarItem = &__pyx_vtable_10elementary_12c_elementary_ToolbarItem;
+ __pyx_vtable_10elementary_12c_elementary_ToolbarItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_ToolbarItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_ToolbarItem) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_ToolbarItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_ToolbarItem) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "ToolbarItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_ToolbarItem) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_ToolbarItem = &__pyx_type_10elementary_12c_elementary_ToolbarItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Toolbar = &__pyx_vtable_10elementary_12c_elementary_Toolbar;
+ __pyx_vtable_10elementary_12c_elementary_Toolbar.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryToolbar_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryToolbar_Type) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryToolbar_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Toolbar) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Toolbar", (PyObject *)&PyElementaryToolbar_Type) < 0) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Toolbar = &PyElementaryToolbar_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_ListItem = &__pyx_vtable_10elementary_12c_elementary_ListItem;
+ __pyx_vtable_10elementary_12c_elementary_ListItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_ListItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_ListItem) < 0) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_ListItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_ListItem) < 0) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "ListItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_ListItem) < 0) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_ListItem = &__pyx_type_10elementary_12c_elementary_ListItem;
+ __pyx_vtabptr_10elementary_12c_elementary_List = &__pyx_vtable_10elementary_12c_elementary_List;
+ __pyx_vtable_10elementary_12c_elementary_List.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryList_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryList_Type) < 0) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryList_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_List) < 0) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "List", (PyObject *)&PyElementaryList_Type) < 0) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_List = &PyElementaryList_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Slider = &__pyx_vtable_10elementary_12c_elementary_Slider;
+ __pyx_vtable_10elementary_12c_elementary_Slider.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementarySlider_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementarySlider_Type) < 0) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementarySlider_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Slider) < 0) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Slider", (PyObject *)&PyElementarySlider_Type) < 0) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Slider = &PyElementarySlider_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_NaviframeItem = &__pyx_vtable_10elementary_12c_elementary_NaviframeItem;
+ __pyx_vtable_10elementary_12c_elementary_NaviframeItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_NaviframeItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_NaviframeItem) < 0) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_NaviframeItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_NaviframeItem) < 0) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "NaviframeItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_NaviframeItem) < 0) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_NaviframeItem = &__pyx_type_10elementary_12c_elementary_NaviframeItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Naviframe = &__pyx_vtable_10elementary_12c_elementary_Naviframe;
+ __pyx_vtable_10elementary_12c_elementary_Naviframe.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryNaviframe_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryNaviframe_Type) < 0) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryNaviframe_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Naviframe) < 0) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Naviframe", (PyObject *)&PyElementaryNaviframe_Type) < 0) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Naviframe = &PyElementaryNaviframe_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Radio = &__pyx_vtable_10elementary_12c_elementary_Radio;
+ __pyx_vtable_10elementary_12c_elementary_Radio.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryRadio_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryRadio_Type) < 0) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryRadio_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Radio) < 0) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Radio", (PyObject *)&PyElementaryRadio_Type) < 0) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Radio = &PyElementaryRadio_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Check = &__pyx_vtable_10elementary_12c_elementary_Check;
+ __pyx_vtable_10elementary_12c_elementary_Check.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryCheck_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryCheck_Type) < 0) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryCheck_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Check) < 0) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Check", (PyObject *)&PyElementaryCheck_Type) < 0) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Check = &PyElementaryCheck_Type;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_GenlistItemClass) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&__pyx_type_10elementary_12c_elementary_GenlistItemClass, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_16GenlistItemClass_2__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_16GenlistItemClass_2__init__.doc = __pyx_doc_10elementary_12c_elementary_16GenlistItemClass_2__init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_16GenlistItemClass_2__init__;
+ }
+ }
+ if (__Pyx_SetAttrString(__pyx_m, "GenlistItemClass", (PyObject *)&__pyx_type_10elementary_12c_elementary_GenlistItemClass) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_GenlistItemClass = &__pyx_type_10elementary_12c_elementary_GenlistItemClass;
+ __pyx_vtabptr_10elementary_12c_elementary_GenlistItem = &__pyx_vtable_10elementary_12c_elementary_GenlistItem;
+ __pyx_vtable_10elementary_12c_elementary_GenlistItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_vtable_10elementary_12c_elementary_GenlistItem.__pyx_base._set_obj = (int (*)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *))__pyx_f_10elementary_12c_elementary_11GenlistItem__set_obj__pyx_wrap_1;
+ __pyx_vtable_10elementary_12c_elementary_GenlistItem._set_obj = (int (*)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *, struct __pyx_opt_args_10elementary_12c_elementary_11GenlistItem__set_obj *__pyx_optional_args))__pyx_f_10elementary_12c_elementary_11GenlistItem__set_obj;
+ __pyx_vtable_10elementary_12c_elementary_GenlistItem._unset_obj = (void (*)(struct __pyx_obj_10elementary_12c_elementary_GenlistItem *))__pyx_f_10elementary_12c_elementary_11GenlistItem__unset_obj;
+ __pyx_type_10elementary_12c_elementary_GenlistItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_GenlistItem) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_GenlistItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_GenlistItem) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "GenlistItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_GenlistItem) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_GenlistItem = &__pyx_type_10elementary_12c_elementary_GenlistItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Genlist = &__pyx_vtable_10elementary_12c_elementary_Genlist;
+ __pyx_vtable_10elementary_12c_elementary_Genlist.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryGenlist_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryGenlist_Type) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryGenlist_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Genlist) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Genlist", (PyObject *)&PyElementaryGenlist_Type) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 543; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Genlist = &PyElementaryGenlist_Type;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_GengridItemClass) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&__pyx_type_10elementary_12c_elementary_GengridItemClass, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_16GengridItemClass_2__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_16GengridItemClass_2__init__.doc = __pyx_doc_10elementary_12c_elementary_16GengridItemClass_2__init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_16GengridItemClass_2__init__;
+ }
+ }
+ if (__Pyx_SetAttrString(__pyx_m, "GengridItemClass", (PyObject *)&__pyx_type_10elementary_12c_elementary_GengridItemClass) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_GengridItemClass = &__pyx_type_10elementary_12c_elementary_GengridItemClass;
+ __pyx_vtabptr_10elementary_12c_elementary_GengridItem = &__pyx_vtable_10elementary_12c_elementary_GengridItem;
+ __pyx_vtable_10elementary_12c_elementary_GengridItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_vtable_10elementary_12c_elementary_GengridItem.__pyx_base._set_obj = (int (*)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *))__pyx_f_10elementary_12c_elementary_11GengridItem__set_obj;
+ __pyx_vtable_10elementary_12c_elementary_GengridItem._unset_obj = (void (*)(struct __pyx_obj_10elementary_12c_elementary_GengridItem *))__pyx_f_10elementary_12c_elementary_11GengridItem__unset_obj;
+ __pyx_type_10elementary_12c_elementary_GengridItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_GengridItem) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_GengridItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_GengridItem) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "GengridItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_GengridItem) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_GengridItem = &__pyx_type_10elementary_12c_elementary_GengridItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Gengrid = &__pyx_vtable_10elementary_12c_elementary_Gengrid;
+ __pyx_vtable_10elementary_12c_elementary_Gengrid.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryGengrid_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryGengrid_Type) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryGengrid_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Gengrid) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Gengrid", (PyObject *)&PyElementaryGengrid_Type) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 548; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Gengrid = &PyElementaryGengrid_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Spinner = &__pyx_vtable_10elementary_12c_elementary_Spinner;
+ __pyx_vtable_10elementary_12c_elementary_Spinner.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementarySpinner_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementarySpinner_Type) < 0) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementarySpinner_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Spinner) < 0) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Spinner", (PyObject *)&PyElementarySpinner_Type) < 0) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Spinner = &PyElementarySpinner_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Notify = &__pyx_vtable_10elementary_12c_elementary_Notify;
+ __pyx_vtable_10elementary_12c_elementary_Notify.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryNotify_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryNotify_Type) < 0) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryNotify_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Notify) < 0) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Notify", (PyObject *)&PyElementaryNotify_Type) < 0) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Notify = &PyElementaryNotify_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Fileselector = &__pyx_vtable_10elementary_12c_elementary_Fileselector;
+ __pyx_vtable_10elementary_12c_elementary_Fileselector.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryFileselector_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryFileselector_Type) < 0) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryFileselector_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_12Fileselector___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_12Fileselector___init__.doc = __pyx_doc_10elementary_12c_elementary_12Fileselector___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_12Fileselector___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryFileselector_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Fileselector) < 0) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Fileselector", (PyObject *)&PyElementaryFileselector_Type) < 0) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Fileselector = &PyElementaryFileselector_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_FileselectorEntry = &__pyx_vtable_10elementary_12c_elementary_FileselectorEntry;
+ __pyx_vtable_10elementary_12c_elementary_FileselectorEntry.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryFileselectorEntry_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryFileselectorEntry_Type) < 0) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryFileselectorEntry_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_17FileselectorEntry___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_17FileselectorEntry___init__.doc = __pyx_doc_10elementary_12c_elementary_17FileselectorEntry___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_17FileselectorEntry___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryFileselectorEntry_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_FileselectorEntry) < 0) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "FileselectorEntry", (PyObject *)&PyElementaryFileselectorEntry_Type) < 0) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_FileselectorEntry = &PyElementaryFileselectorEntry_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_FileselectorButton = &__pyx_vtable_10elementary_12c_elementary_FileselectorButton;
+ __pyx_vtable_10elementary_12c_elementary_FileselectorButton.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Button;
+ PyElementaryFileselectorButton_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Button;
+ if (PyType_Ready(&PyElementaryFileselectorButton_Type) < 0) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&PyElementaryFileselectorButton_Type, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_18FileselectorButton___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_18FileselectorButton___init__.doc = __pyx_doc_10elementary_12c_elementary_18FileselectorButton___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_18FileselectorButton___init__;
+ }
+ }
+ if (__Pyx_SetVtable(PyElementaryFileselectorButton_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_FileselectorButton) < 0) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "FileselectorButton", (PyObject *)&PyElementaryFileselectorButton_Type) < 0) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_FileselectorButton = &PyElementaryFileselectorButton_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Separator = &__pyx_vtable_10elementary_12c_elementary_Separator;
+ __pyx_vtable_10elementary_12c_elementary_Separator.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementarySeparator_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementarySeparator_Type) < 0) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementarySeparator_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Separator) < 0) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Separator", (PyObject *)&PyElementarySeparator_Type) < 0) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Separator = &PyElementarySeparator_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Progressbar = &__pyx_vtable_10elementary_12c_elementary_Progressbar;
+ __pyx_vtable_10elementary_12c_elementary_Progressbar.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryProgressbar_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryProgressbar_Type) < 0) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryProgressbar_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Progressbar) < 0) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Progressbar", (PyObject *)&PyElementaryProgressbar_Type) < 0) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Progressbar = &PyElementaryProgressbar_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_MenuItem = &__pyx_vtable_10elementary_12c_elementary_MenuItem;
+ __pyx_vtable_10elementary_12c_elementary_MenuItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_MenuItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MenuItem) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_MenuItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_MenuItem) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MenuItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_MenuItem) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MenuItem = &__pyx_type_10elementary_12c_elementary_MenuItem;
+ __pyx_vtabptr_10elementary_12c_elementary_MenuSeparatorItem = &__pyx_vtable_10elementary_12c_elementary_MenuSeparatorItem;
+ __pyx_vtable_10elementary_12c_elementary_MenuSeparatorItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_MenuSeparatorItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MenuSeparatorItem) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_MenuSeparatorItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_MenuSeparatorItem) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MenuSeparatorItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_MenuSeparatorItem) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MenuSeparatorItem = &__pyx_type_10elementary_12c_elementary_MenuSeparatorItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Menu = &__pyx_vtable_10elementary_12c_elementary_Menu;
+ __pyx_vtable_10elementary_12c_elementary_Menu.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryMenu_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryMenu_Type) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryMenu_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Menu) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Menu", (PyObject *)&PyElementaryMenu_Type) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Menu = &PyElementaryMenu_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Panel = &__pyx_vtable_10elementary_12c_elementary_Panel;
+ __pyx_vtable_10elementary_12c_elementary_Panel.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryPanel_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryPanel_Type) < 0) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPanel_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Panel) < 0) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Panel", (PyObject *)&PyElementaryPanel_Type) < 0) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Panel = &PyElementaryPanel_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Web = &__pyx_vtable_10elementary_12c_elementary_Web;
+ __pyx_vtable_10elementary_12c_elementary_Web.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryWeb_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryWeb_Type) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryWeb_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Web) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Web", (PyObject *)&PyElementaryWeb_Type) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Web = &PyElementaryWeb_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Actionslider = &__pyx_vtable_10elementary_12c_elementary_Actionslider;
+ __pyx_vtable_10elementary_12c_elementary_Actionslider.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryActionslider_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryActionslider_Type) < 0) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryActionslider_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Actionslider) < 0) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Actionslider", (PyObject *)&PyElementaryActionslider_Type) < 0) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Actionslider = &PyElementaryActionslider_Type;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_CalendarMark) < 0) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&__pyx_type_10elementary_12c_elementary_CalendarMark, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_12CalendarMark___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_12CalendarMark___init__.doc = __pyx_doc_10elementary_12c_elementary_12CalendarMark___init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_12CalendarMark___init__;
+ }
+ }
+ if (__Pyx_SetAttrString(__pyx_m, "CalendarMark", (PyObject *)&__pyx_type_10elementary_12c_elementary_CalendarMark) < 0) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_CalendarMark = &__pyx_type_10elementary_12c_elementary_CalendarMark;
+ __pyx_vtabptr_10elementary_12c_elementary_Calendar = &__pyx_vtable_10elementary_12c_elementary_Calendar;
+ __pyx_vtable_10elementary_12c_elementary_Calendar.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryCalendar_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryCalendar_Type) < 0) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryCalendar_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Calendar) < 0) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Calendar", (PyObject *)&PyElementaryCalendar_Type) < 0) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Calendar = &PyElementaryCalendar_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_ColorselectorPaletteItem = &__pyx_vtable_10elementary_12c_elementary_ColorselectorPaletteItem;
+ __pyx_vtable_10elementary_12c_elementary_ColorselectorPaletteItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_ColorselectorPaletteItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_ColorselectorPaletteItem) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_ColorselectorPaletteItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_ColorselectorPaletteItem) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "ColorselectorPaletteItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_ColorselectorPaletteItem) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_ColorselectorPaletteItem = &__pyx_type_10elementary_12c_elementary_ColorselectorPaletteItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Colorselector = &__pyx_vtable_10elementary_12c_elementary_Colorselector;
+ __pyx_vtable_10elementary_12c_elementary_Colorselector.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryColorselector_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryColorselector_Type) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryColorselector_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Colorselector) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Colorselector", (PyObject *)&PyElementaryColorselector_Type) < 0) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Colorselector = &PyElementaryColorselector_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_IndexItem = &__pyx_vtable_10elementary_12c_elementary_IndexItem;
+ __pyx_vtable_10elementary_12c_elementary_IndexItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_IndexItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_IndexItem) < 0) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_IndexItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_IndexItem) < 0) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "IndexItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_IndexItem) < 0) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_IndexItem = &__pyx_type_10elementary_12c_elementary_IndexItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Index = &__pyx_vtable_10elementary_12c_elementary_Index;
+ __pyx_vtable_10elementary_12c_elementary_Index.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryIndex_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryIndex_Type) < 0) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryIndex_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Index) < 0) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Index", (PyObject *)&PyElementaryIndex_Type) < 0) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Index = &PyElementaryIndex_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_CtxpopupItem = &__pyx_vtable_10elementary_12c_elementary_CtxpopupItem;
+ __pyx_vtable_10elementary_12c_elementary_CtxpopupItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_CtxpopupItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_CtxpopupItem) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_CtxpopupItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_CtxpopupItem) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "CtxpopupItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_CtxpopupItem) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_CtxpopupItem = &__pyx_type_10elementary_12c_elementary_CtxpopupItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Ctxpopup = &__pyx_vtable_10elementary_12c_elementary_Ctxpopup;
+ __pyx_vtable_10elementary_12c_elementary_Ctxpopup.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryCtxpopup_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryCtxpopup_Type) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryCtxpopup_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Ctxpopup) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Ctxpopup", (PyObject *)&PyElementaryCtxpopup_Type) < 0) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Ctxpopup = &PyElementaryCtxpopup_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Grid = &__pyx_vtable_10elementary_12c_elementary_Grid;
+ __pyx_vtable_10elementary_12c_elementary_Grid.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryGrid_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryGrid_Type) < 0) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryGrid_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Grid) < 0) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Grid", (PyObject *)&PyElementaryGrid_Type) < 0) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Grid = &PyElementaryGrid_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Video = &__pyx_vtable_10elementary_12c_elementary_Video;
+ __pyx_vtable_10elementary_12c_elementary_Video.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryVideo_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryVideo_Type) < 0) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryVideo_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Video) < 0) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Video", (PyObject *)&PyElementaryVideo_Type) < 0) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Video = &PyElementaryVideo_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Player = &__pyx_vtable_10elementary_12c_elementary_Player;
+ __pyx_vtable_10elementary_12c_elementary_Player.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryPlayer_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryPlayer_Type) < 0) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPlayer_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Player) < 0) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Player", (PyObject *)&PyElementaryPlayer_Type) < 0) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Player = &PyElementaryPlayer_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Conformant = &__pyx_vtable_10elementary_12c_elementary_Conformant;
+ __pyx_vtable_10elementary_12c_elementary_Conformant.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryConformant_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryConformant_Type) < 0) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryConformant_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Conformant) < 0) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Conformant", (PyObject *)&PyElementaryConformant_Type) < 0) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Conformant = &PyElementaryConformant_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Dayselector = &__pyx_vtable_10elementary_12c_elementary_Dayselector;
+ __pyx_vtable_10elementary_12c_elementary_Dayselector.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryDayselector_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryDayselector_Type) < 0) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryDayselector_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Dayselector) < 0) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Dayselector", (PyObject *)&PyElementaryDayselector_Type) < 0) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Dayselector = &PyElementaryDayselector_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Panes = &__pyx_vtable_10elementary_12c_elementary_Panes;
+ __pyx_vtable_10elementary_12c_elementary_Panes.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementaryPanes_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementaryPanes_Type) < 0) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPanes_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Panes) < 0) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Panes", (PyObject *)&PyElementaryPanes_Type) < 0) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Panes = &PyElementaryPanes_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Thumb = &__pyx_vtable_10elementary_12c_elementary_Thumb;
+ __pyx_vtable_10elementary_12c_elementary_Thumb.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryThumb_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryThumb_Type) < 0) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryThumb_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Thumb) < 0) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Thumb", (PyObject *)&PyElementaryThumb_Type) < 0) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Thumb = &PyElementaryThumb_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_DiskselectorItem = &__pyx_vtable_10elementary_12c_elementary_DiskselectorItem;
+ __pyx_vtable_10elementary_12c_elementary_DiskselectorItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_DiskselectorItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_DiskselectorItem) < 0) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_DiskselectorItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_DiskselectorItem) < 0) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "DiskselectorItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_DiskselectorItem) < 0) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_DiskselectorItem = &__pyx_type_10elementary_12c_elementary_DiskselectorItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Diskselector = &__pyx_vtable_10elementary_12c_elementary_Diskselector;
+ __pyx_vtable_10elementary_12c_elementary_Diskselector.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryDiskselector_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryDiskselector_Type) < 0) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryDiskselector_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Diskselector) < 0) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Diskselector", (PyObject *)&PyElementaryDiskselector_Type) < 0) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Diskselector = &PyElementaryDiskselector_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Datetime = &__pyx_vtable_10elementary_12c_elementary_Datetime;
+ __pyx_vtable_10elementary_12c_elementary_Datetime.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryDatetime_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryDatetime_Type) < 0) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryDatetime_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Datetime) < 0) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Datetime", (PyObject *)&PyElementaryDatetime_Type) < 0) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Datetime = &PyElementaryDatetime_Type;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapRoute) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapRoute", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapRoute) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapRoute = &__pyx_type_10elementary_12c_elementary_MapRoute;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapName) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapName", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapName) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapName = &__pyx_type_10elementary_12c_elementary_MapName;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlay) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlay", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlay) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlay = &__pyx_type_10elementary_12c_elementary_MapOverlay;
+ __pyx_type_10elementary_12c_elementary_MapOverlayClass.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayClass) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayClass", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayClass) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayClass = &__pyx_type_10elementary_12c_elementary_MapOverlayClass;
+ __pyx_type_10elementary_12c_elementary_MapOverlayBubble.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayBubble) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayBubble", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayBubble) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayBubble = &__pyx_type_10elementary_12c_elementary_MapOverlayBubble;
+ __pyx_type_10elementary_12c_elementary_MapOverlayLine.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayLine) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayLine", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayLine) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayLine = &__pyx_type_10elementary_12c_elementary_MapOverlayLine;
+ __pyx_type_10elementary_12c_elementary_MapOverlayPolygon.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayPolygon) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayPolygon", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayPolygon) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayPolygon = &__pyx_type_10elementary_12c_elementary_MapOverlayPolygon;
+ __pyx_type_10elementary_12c_elementary_MapOverlayCircle.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayCircle) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayCircle", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayCircle) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayCircle = &__pyx_type_10elementary_12c_elementary_MapOverlayCircle;
+ __pyx_type_10elementary_12c_elementary_MapOverlayScale.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayScale) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayScale", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayScale) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayScale = &__pyx_type_10elementary_12c_elementary_MapOverlayScale;
+ __pyx_type_10elementary_12c_elementary_MapOverlayRoute.tp_base = __pyx_ptype_10elementary_12c_elementary_MapOverlay;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MapOverlayRoute) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MapOverlayRoute", (PyObject *)&__pyx_type_10elementary_12c_elementary_MapOverlayRoute) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MapOverlayRoute = &__pyx_type_10elementary_12c_elementary_MapOverlayRoute;
+ __pyx_vtabptr_10elementary_12c_elementary_Map = &__pyx_vtable_10elementary_12c_elementary_Map;
+ __pyx_vtable_10elementary_12c_elementary_Map.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryMap_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryMap_Type) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryMap_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Map) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Map", (PyObject *)&PyElementaryMap_Type) < 0) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 420; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Map = &PyElementaryMap_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Mapbuf = &__pyx_vtable_10elementary_12c_elementary_Mapbuf;
+ __pyx_vtable_10elementary_12c_elementary_Mapbuf.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryMapbuf_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryMapbuf_Type) < 0) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryMapbuf_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Mapbuf) < 0) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Mapbuf", (PyObject *)&PyElementaryMapbuf_Type) < 0) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Mapbuf = &PyElementaryMapbuf_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntryItem = &__pyx_vtable_10elementary_12c_elementary_MultiButtonEntryItem;
+ __pyx_vtable_10elementary_12c_elementary_MultiButtonEntryItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_MultiButtonEntryItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_MultiButtonEntryItem) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_MultiButtonEntryItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntryItem) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MultiButtonEntryItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_MultiButtonEntryItem) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MultiButtonEntryItem = &__pyx_type_10elementary_12c_elementary_MultiButtonEntryItem;
+ __pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntry = &__pyx_vtable_10elementary_12c_elementary_MultiButtonEntry;
+ __pyx_vtable_10elementary_12c_elementary_MultiButtonEntry.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryMultiButtonEntry_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryMultiButtonEntry_Type) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryMultiButtonEntry_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_MultiButtonEntry) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "MultiButtonEntry", (PyObject *)&PyElementaryMultiButtonEntry_Type) < 0) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_MultiButtonEntry = &PyElementaryMultiButtonEntry_Type;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_Transit) < 0) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ {
+ PyObject *wrapper = __Pyx_GetAttrString((PyObject *)&__pyx_type_10elementary_12c_elementary_Transit, "__init__"); if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
+ __pyx_wrapperbase_10elementary_12c_elementary_7Transit_2__init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
+ __pyx_wrapperbase_10elementary_12c_elementary_7Transit_2__init__.doc = __pyx_doc_10elementary_12c_elementary_7Transit_2__init__;
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10elementary_12c_elementary_7Transit_2__init__;
+ }
+ }
+ if (__Pyx_SetAttrString(__pyx_m, "Transit", (PyObject *)&__pyx_type_10elementary_12c_elementary_Transit) < 0) {__pyx_filename = __pyx_f[61]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Transit = &__pyx_type_10elementary_12c_elementary_Transit;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_SlideshowItemClass) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "SlideshowItemClass", (PyObject *)&__pyx_type_10elementary_12c_elementary_SlideshowItemClass) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_SlideshowItemClass = &__pyx_type_10elementary_12c_elementary_SlideshowItemClass;
+ __pyx_vtabptr_10elementary_12c_elementary_SlideshowItem = &__pyx_vtable_10elementary_12c_elementary_SlideshowItem;
+ __pyx_vtable_10elementary_12c_elementary_SlideshowItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_vtable_10elementary_12c_elementary_SlideshowItem.__pyx_base._set_obj = (int (*)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *))__pyx_f_10elementary_12c_elementary_13SlideshowItem__set_obj__pyx_wrap_1;
+ __pyx_vtable_10elementary_12c_elementary_SlideshowItem._set_obj = (int (*)(struct __pyx_obj_10elementary_12c_elementary_ObjectItem *, Elm_Object_Item *, struct __pyx_opt_args_10elementary_12c_elementary_13SlideshowItem__set_obj *__pyx_optional_args))__pyx_f_10elementary_12c_elementary_13SlideshowItem__set_obj;
+ __pyx_vtable_10elementary_12c_elementary_SlideshowItem._unset_obj = (void (*)(struct __pyx_obj_10elementary_12c_elementary_SlideshowItem *))__pyx_f_10elementary_12c_elementary_13SlideshowItem__unset_obj;
+ __pyx_type_10elementary_12c_elementary_SlideshowItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_SlideshowItem) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_SlideshowItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_SlideshowItem) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "SlideshowItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_SlideshowItem) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_SlideshowItem = &__pyx_type_10elementary_12c_elementary_SlideshowItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Slideshow = &__pyx_vtable_10elementary_12c_elementary_Slideshow;
+ __pyx_vtable_10elementary_12c_elementary_Slideshow.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementarySlideshow_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementarySlideshow_Type) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementarySlideshow_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Slideshow) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Slideshow", (PyObject *)&PyElementarySlideshow_Type) < 0) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Slideshow = &PyElementarySlideshow_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_SegmentControlItem = &__pyx_vtable_10elementary_12c_elementary_SegmentControlItem;
+ __pyx_vtable_10elementary_12c_elementary_SegmentControlItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_SegmentControlItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_SegmentControlItem) < 0) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_SegmentControlItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_SegmentControlItem) < 0) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "SegmentControlItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_SegmentControlItem) < 0) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_SegmentControlItem = &__pyx_type_10elementary_12c_elementary_SegmentControlItem;
+ __pyx_vtabptr_10elementary_12c_elementary_SegmentControl = &__pyx_vtable_10elementary_12c_elementary_SegmentControl;
+ __pyx_vtable_10elementary_12c_elementary_SegmentControl.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_LayoutClass;
+ PyElementarySegmentControl_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_LayoutClass;
+ if (PyType_Ready(&PyElementarySegmentControl_Type) < 0) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementarySegmentControl_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_SegmentControl) < 0) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "SegmentControl", (PyObject *)&PyElementarySegmentControl_Type) < 0) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_SegmentControl = &PyElementarySegmentControl_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_PopupItem = &__pyx_vtable_10elementary_12c_elementary_PopupItem;
+ __pyx_vtable_10elementary_12c_elementary_PopupItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_PopupItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_PopupItem) < 0) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_PopupItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_PopupItem) < 0) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "PopupItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_PopupItem) < 0) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_PopupItem = &__pyx_type_10elementary_12c_elementary_PopupItem;
+ __pyx_vtabptr_10elementary_12c_elementary_Popup = &__pyx_vtable_10elementary_12c_elementary_Popup;
+ __pyx_vtable_10elementary_12c_elementary_Popup.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryPopup_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryPopup_Type) < 0) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPopup_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Popup) < 0) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Popup", (PyObject *)&PyElementaryPopup_Type) < 0) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Popup = &PyElementaryPopup_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Plug = &__pyx_vtable_10elementary_12c_elementary_Plug;
+ __pyx_vtable_10elementary_12c_elementary_Plug.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryPlug_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryPlug_Type) < 0) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPlug_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Plug) < 0) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Plug", (PyObject *)&PyElementaryPlug_Type) < 0) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Plug = &PyElementaryPlug_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_Photocam = &__pyx_vtable_10elementary_12c_elementary_Photocam;
+ __pyx_vtable_10elementary_12c_elementary_Photocam.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryPhotocam_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryPhotocam_Type) < 0) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryPhotocam_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_Photocam) < 0) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "Photocam", (PyObject *)&PyElementaryPhotocam_Type) < 0) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_Photocam = &PyElementaryPhotocam_Type;
+ __pyx_vtabptr_10elementary_12c_elementary_FlipSelectorItem = &__pyx_vtable_10elementary_12c_elementary_FlipSelectorItem;
+ __pyx_vtable_10elementary_12c_elementary_FlipSelectorItem.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_ObjectItem;
+ __pyx_type_10elementary_12c_elementary_FlipSelectorItem.tp_base = __pyx_ptype_10elementary_12c_elementary_ObjectItem;
+ if (PyType_Ready(&__pyx_type_10elementary_12c_elementary_FlipSelectorItem) < 0) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(__pyx_type_10elementary_12c_elementary_FlipSelectorItem.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_FlipSelectorItem) < 0) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "FlipSelectorItem", (PyObject *)&__pyx_type_10elementary_12c_elementary_FlipSelectorItem) < 0) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_FlipSelectorItem = &__pyx_type_10elementary_12c_elementary_FlipSelectorItem;
+ __pyx_vtabptr_10elementary_12c_elementary_FlipSelector = &__pyx_vtable_10elementary_12c_elementary_FlipSelector;
+ __pyx_vtable_10elementary_12c_elementary_FlipSelector.__pyx_base = *__pyx_vtabptr_10elementary_12c_elementary_Object;
+ PyElementaryFlipSelector_Type.tp_base = __pyx_ptype_10elementary_12c_elementary_Object;
+ if (PyType_Ready(&PyElementaryFlipSelector_Type) < 0) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetVtable(PyElementaryFlipSelector_Type.tp_dict, __pyx_vtabptr_10elementary_12c_elementary_FlipSelector) < 0) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_SetAttrString(__pyx_m, "FlipSelector", (PyObject *)&PyElementaryFlipSelector_Type) < 0) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_10elementary_12c_elementary_FlipSelector = &PyElementaryFlipSelector_Type;
+ /*--- Type import code ---*/
+ __pyx_ptype_4evas_6c_evas_Rect = __Pyx_ImportType("evas.c_evas", "Rect", sizeof(struct PyEvasRect), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Rect)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 952; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventPoint = __Pyx_ImportType("evas.c_evas", "EventPoint", sizeof(struct __pyx_obj_4evas_6c_evas_EventPoint), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventPoint)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventPoint = (struct __pyx_vtabstruct_4evas_6c_evas_EventPoint*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventPoint->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventPoint)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 956; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventCoordPoint = __Pyx_ImportType("evas.c_evas", "EventCoordPoint", sizeof(struct __pyx_obj_4evas_6c_evas_EventCoordPoint), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventCoordPoint)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 964; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventCoordPoint = (struct __pyx_vtabstruct_4evas_6c_evas_EventCoordPoint*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventCoordPoint->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventCoordPoint)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 964; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventPrecisionPoint = __Pyx_ImportType("evas.c_evas", "EventPrecisionPoint", sizeof(struct __pyx_obj_4evas_6c_evas_EventPrecisionPoint), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventPrecisionPoint)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventPrecisionPoint = (struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPoint*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventPrecisionPoint->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventPrecisionPoint)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 972; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventPosition = __Pyx_ImportType("evas.c_evas", "EventPosition", sizeof(struct __pyx_obj_4evas_6c_evas_EventPosition), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventPosition)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 980; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventPosition = (struct __pyx_vtabstruct_4evas_6c_evas_EventPosition*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventPosition->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventPosition)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 980; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventPrecisionPosition = __Pyx_ImportType("evas.c_evas", "EventPrecisionPosition", sizeof(struct __pyx_obj_4evas_6c_evas_EventPrecisionPosition), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventPrecisionPosition)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 988; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventPrecisionPosition = (struct __pyx_vtabstruct_4evas_6c_evas_EventPrecisionPosition*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventPrecisionPosition->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventPrecisionPosition)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 988; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMouseIn = __Pyx_ImportType("evas.c_evas", "EventMouseIn", sizeof(struct __pyx_obj_4evas_6c_evas_EventMouseIn), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMouseIn)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 996; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMouseIn = (struct __pyx_vtabstruct_4evas_6c_evas_EventMouseIn*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMouseIn->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMouseIn)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 996; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMouseOut = __Pyx_ImportType("evas.c_evas", "EventMouseOut", sizeof(struct __pyx_obj_4evas_6c_evas_EventMouseOut), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMouseOut)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMouseOut = (struct __pyx_vtabstruct_4evas_6c_evas_EventMouseOut*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMouseOut->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMouseOut)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1005; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMouseDown = __Pyx_ImportType("evas.c_evas", "EventMouseDown", sizeof(struct __pyx_obj_4evas_6c_evas_EventMouseDown), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMouseDown)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1014; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMouseDown = (struct __pyx_vtabstruct_4evas_6c_evas_EventMouseDown*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMouseDown->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMouseDown)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1014; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMouseUp = __Pyx_ImportType("evas.c_evas", "EventMouseUp", sizeof(struct __pyx_obj_4evas_6c_evas_EventMouseUp), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMouseUp)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMouseUp = (struct __pyx_vtabstruct_4evas_6c_evas_EventMouseUp*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMouseUp->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMouseUp)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1023; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMouseMove = __Pyx_ImportType("evas.c_evas", "EventMouseMove", sizeof(struct __pyx_obj_4evas_6c_evas_EventMouseMove), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMouseMove)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMouseMove = (struct __pyx_vtabstruct_4evas_6c_evas_EventMouseMove*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMouseMove->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMouseMove)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1032; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMultiDown = __Pyx_ImportType("evas.c_evas", "EventMultiDown", sizeof(struct __pyx_obj_4evas_6c_evas_EventMultiDown), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMultiDown)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMultiDown = (struct __pyx_vtabstruct_4evas_6c_evas_EventMultiDown*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMultiDown->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMultiDown)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1042; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMultiUp = __Pyx_ImportType("evas.c_evas", "EventMultiUp", sizeof(struct __pyx_obj_4evas_6c_evas_EventMultiUp), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMultiUp)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMultiUp = (struct __pyx_vtabstruct_4evas_6c_evas_EventMultiUp*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMultiUp->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMultiUp)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1051; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMultiMove = __Pyx_ImportType("evas.c_evas", "EventMultiMove", sizeof(struct __pyx_obj_4evas_6c_evas_EventMultiMove), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMultiMove)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMultiMove = (struct __pyx_vtabstruct_4evas_6c_evas_EventMultiMove*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMultiMove->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMultiMove)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1060; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventMouseWheel = __Pyx_ImportType("evas.c_evas", "EventMouseWheel", sizeof(struct __pyx_obj_4evas_6c_evas_EventMouseWheel), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventMouseWheel)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventMouseWheel = (struct __pyx_vtabstruct_4evas_6c_evas_EventMouseWheel*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventMouseWheel->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventMouseWheel)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1069; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventKeyDown = __Pyx_ImportType("evas.c_evas", "EventKeyDown", sizeof(struct __pyx_obj_4evas_6c_evas_EventKeyDown), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventKeyDown)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1078; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventKeyDown = (struct __pyx_vtabstruct_4evas_6c_evas_EventKeyDown*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventKeyDown->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventKeyDown)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1078; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventKeyUp = __Pyx_ImportType("evas.c_evas", "EventKeyUp", sizeof(struct __pyx_obj_4evas_6c_evas_EventKeyUp), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventKeyUp)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventKeyUp = (struct __pyx_vtabstruct_4evas_6c_evas_EventKeyUp*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventKeyUp->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventKeyUp)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1086; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_EventHold = __Pyx_ImportType("evas.c_evas", "EventHold", sizeof(struct __pyx_obj_4evas_6c_evas_EventHold), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_EventHold)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_EventHold = (struct __pyx_vtabstruct_4evas_6c_evas_EventHold*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_EventHold->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_EventHold)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1094; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_SmartObject = __Pyx_ImportType("evas.c_evas", "SmartObject", sizeof(struct PyEvasSmartObject), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_SmartObject)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_SmartObject = (struct __pyx_vtabstruct_4evas_6c_evas_SmartObject*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_SmartObject->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_SmartObject)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_Rectangle = __Pyx_ImportType("evas.c_evas", "Rectangle", sizeof(struct PyEvasRectangle), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Rectangle)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Rectangle = (struct __pyx_vtabstruct_4evas_6c_evas_Rectangle*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Rectangle->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Rectangle)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_Line = __Pyx_ImportType("evas.c_evas", "Line", sizeof(struct PyEvasLine), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Line)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Line = (struct __pyx_vtabstruct_4evas_6c_evas_Line*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Line->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Line)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_Image = __Pyx_ImportType("evas.c_evas", "Image", sizeof(struct PyEvasImage), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Image)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Image = (struct __pyx_vtabstruct_4evas_6c_evas_Image*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Image->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Image)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_FilledImage = __Pyx_ImportType("evas.c_evas", "FilledImage", sizeof(struct PyEvasFilledImage), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_FilledImage)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_FilledImage = (struct __pyx_vtabstruct_4evas_6c_evas_FilledImage*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_FilledImage->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_FilledImage)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1147; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_Polygon = __Pyx_ImportType("evas.c_evas", "Polygon", sizeof(struct PyEvasPolygon), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Polygon)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Polygon = (struct __pyx_vtabstruct_4evas_6c_evas_Polygon*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Polygon->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Polygon)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1152; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_Text = __Pyx_ImportType("evas.c_evas", "Text", sizeof(struct PyEvasText), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Text)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Text = (struct __pyx_vtabstruct_4evas_6c_evas_Text*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Text->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Text)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_Textblock = __Pyx_ImportType("evas.c_evas", "Textblock", sizeof(struct PyEvasTextblock), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_Textblock)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_Textblock = (struct __pyx_vtabstruct_4evas_6c_evas_Textblock*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_Textblock->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_Textblock)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_ptype_4evas_6c_evas_ClippedSmartObject = __Pyx_ImportType("evas.c_evas", "ClippedSmartObject", sizeof(struct PyEvasClippedSmartObject), 1); if (unlikely(!__pyx_ptype_4evas_6c_evas_ClippedSmartObject)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1164; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __pyx_vtabptr_4evas_6c_evas_ClippedSmartObject = (struct __pyx_vtabstruct_4evas_6c_evas_ClippedSmartObject*)__Pyx_GetVtable(__pyx_ptype_4evas_6c_evas_ClippedSmartObject->tp_dict); if (unlikely(!__pyx_vtabptr_4evas_6c_evas_ClippedSmartObject)) {__pyx_filename = __pyx_f[68]; __pyx_lineno = 1164; __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[69]; __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[70]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ /*--- Variable import code ---*/
+ /*--- Function import code ---*/
+ __pyx_t_1 = __Pyx_ImportModule("evas.c_evas"); if (!__pyx_t_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_ImportFunction(__pyx_t_1, "Canvas_from_instance", (void (**)(void))&__pyx_f_4evas_6c_evas_Canvas_from_instance, "struct PyEvasCanvas *(Evas *)") < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ if (__Pyx_ImportFunction(__pyx_t_1, "Object_from_instance", (void (**)(void))&__pyx_f_4evas_6c_evas_Object_from_instance, "struct PyEvasObject *(Evas_Object *)") < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ Py_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ /*--- Execution code ---*/
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":195
+ * from evas.c_evas cimport Object_from_instance
+ *
+ * import sys # <<<<<<<<<<<<<<
+ * #import evas.c_evas
+ * from evas.c_evas import _object_mapping_register
+ */
+ __pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__sys), 0, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__sys, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":197
+ * import sys
+ * #import evas.c_evas
+ * from evas.c_evas import _object_mapping_register # <<<<<<<<<<<<<<
+ * from evas.c_evas import _object_mapping_unregister
+ * import traceback
+ */
+ __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s_10));
+ PyList_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s_10));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s_10));
+ __pyx_t_3 = __Pyx_Import(((PyObject *)__pyx_n_s_692), ((PyObject *)__pyx_t_2), -1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s_10);
+ if (__pyx_t_2 == NULL) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError)) __Pyx_RaiseImportError(__pyx_n_s_10);
+ if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_10, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":198
+ * #import evas.c_evas
+ * from evas.c_evas import _object_mapping_register
+ * from evas.c_evas import _object_mapping_unregister # <<<<<<<<<<<<<<
+ * import traceback
+ * import logging
+ */
+ __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s_11));
+ PyList_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s_11));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s_11));
+ __pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s_692), ((PyObject *)__pyx_t_3), -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s_11);
+ if (__pyx_t_3 == NULL) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError)) __Pyx_RaiseImportError(__pyx_n_s_11);
+ if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_11, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 198; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":199
+ * from evas.c_evas import _object_mapping_register
+ * from evas.c_evas import _object_mapping_unregister
+ * import traceback # <<<<<<<<<<<<<<
+ * import logging
+ *
+ */
+ __pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__traceback), 0, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__traceback, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":200
+ * from evas.c_evas import _object_mapping_unregister
+ * import traceback
+ * import logging # <<<<<<<<<<<<<<
+ *
+ * logging.basicConfig(level=logging.DEBUG)
+ */
+ __pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__logging), 0, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__logging, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":202
+ * import logging
+ *
+ * logging.basicConfig(level=logging.DEBUG) # <<<<<<<<<<<<<<
+ * log = logging.getLogger("elementary")
+ *
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s__logging); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_2, __pyx_n_s__basicConfig); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+ __pyx_t_4 = __Pyx_GetName(__pyx_m, __pyx_n_s__logging); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_4);
+ __pyx_t_5 = PyObject_GetAttr(__pyx_t_4, __pyx_n_s__DEBUG); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ if (PyDict_SetItem(__pyx_t_2, ((PyObject *)__pyx_n_s__level), __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":203
+ *
+ * logging.basicConfig(level=logging.DEBUG)
+ * log = logging.getLogger("elementary") # <<<<<<<<<<<<<<
+ *
+ * cdef int PY_REFCOUNT(object o):
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s__logging); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_2 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s__getLogger); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_Call(__pyx_t_2, ((PyObject *)__pyx_k_tuple_693), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__log, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":259
+ * return c_string
+ *
+ * def init(): # <<<<<<<<<<<<<<
+ * cdef int argc, i, arg_len
+ * cdef char **argv, *arg
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_1init, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__init, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":272
+ * elm_init(argc, argv)
+ *
+ * def shutdown(): # <<<<<<<<<<<<<<
+ * elm_shutdown()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_3shutdown, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__shutdown, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 272; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":275
+ * elm_shutdown()
+ *
+ * def run(): # <<<<<<<<<<<<<<
+ * with nogil:
+ * elm_run()
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_5run, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__run, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":279
+ * elm_run()
+ *
+ * def exit(): # <<<<<<<<<<<<<<
+ * elm_exit()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_7exit, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__exit, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":282
+ * elm_exit()
+ *
+ * def policy_set(policy, value): # <<<<<<<<<<<<<<
+ * """Set new policy value.
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_9policy_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__policy_set, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":302
+ * return elm_policy_set(policy, value)
+ *
+ * def policy_get(policy): # <<<<<<<<<<<<<<
+ * """Gets the policy value set for given identifier.
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_11policy_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__policy_get, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":312
+ * return elm_policy_get(policy)
+ *
+ * def coords_finger_size_adjust(times_w, w, times_h, h): # <<<<<<<<<<<<<<
+ * cdef Evas_Coord width
+ * cdef Evas_Coord height
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_13coords_finger_size_adjust, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_707, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":321
+ * cdef object _elm_widget_type_mapping
+ *
+ * _elm_widget_type_mapping = {} # <<<<<<<<<<<<<<
+ *
+ * cdef _elm_widget_type_register(name, cls):
+ */
+ __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 321; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+ __Pyx_XGOTREF(__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping);
+ __Pyx_DECREF(__pyx_v_10elementary_12c_elementary__elm_widget_type_mapping);
+ __Pyx_GIVEREF(((PyObject *)__pyx_t_5));
+ __pyx_v_10elementary_12c_elementary__elm_widget_type_mapping = ((PyObject *)__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":345
+ * ctype.ob_type = <PyTypeObject*>metaclass
+ *
+ * class ElementaryObjectMeta(type): # <<<<<<<<<<<<<<
+ * def __init__(cls, name, bases, dict_):
+ * type.__init__(cls, name, bases, dict_)
+ */
+ __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":346
+ *
+ * class ElementaryObjectMeta(type):
+ * def __init__(cls, name, bases, dict_): # <<<<<<<<<<<<<<
+ * type.__init__(cls, name, bases, dict_)
+ * cls._fetch_evt_callbacks()
+ */
+ __pyx_t_2 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_20ElementaryObjectMeta_1__init__, 0, NULL, __pyx_n_s_697, ((PyObject *)__pyx_k_codeobj_709)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetItem(__pyx_t_5, __pyx_n_s____init__, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":350
+ * cls._fetch_evt_callbacks()
+ *
+ * def _fetch_evt_callbacks(cls): # <<<<<<<<<<<<<<
+ * if "__evas_event_callbacks__" in cls.__dict__:
+ * return
+ */
+ __pyx_t_2 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_20ElementaryObjectMeta_3_fetch_evt_callbacks, 0, NULL, __pyx_n_s_697, ((PyObject *)__pyx_k_codeobj_711)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetItem(__pyx_t_5, __pyx_n_s_12, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":345
+ * ctype.ob_type = <PyTypeObject*>metaclass
+ *
+ * class ElementaryObjectMeta(type): # <<<<<<<<<<<<<<
+ * def __init__(cls, name, bases, dict_):
+ * type.__init__(cls, name, bases, dict_)
+ */
+ __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)((PyObject*)(&PyType_Type))));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)((PyObject*)(&PyType_Type))));
+ __Pyx_GIVEREF(((PyObject *)((PyObject*)(&PyType_Type))));
+ __pyx_t_3 = __Pyx_CreateClass(((PyObject *)__pyx_t_2), ((PyObject *)__pyx_t_5), __pyx_n_s_712, __pyx_n_s_697); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_712, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":642
+ *
+ * #For compatibility
+ * def config_finger_size_get(): # <<<<<<<<<<<<<<
+ * return elm_config_finger_size_get()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_15config_finger_size_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 642; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_714, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 642; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":645
+ * return elm_config_finger_size_get()
+ *
+ * def config_finger_size_set(size): # <<<<<<<<<<<<<<
+ * elm_config_finger_size_set(size)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_17config_finger_size_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_718, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":648
+ * elm_config_finger_size_set(size)
+ *
+ * def config_tooltip_delay_get(): # <<<<<<<<<<<<<<
+ * return elm_config_tooltip_delay_get()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_19config_tooltip_delay_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_720, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 648; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":651
+ * return elm_config_tooltip_delay_get()
+ *
+ * def config_tooltip_delay_set(delay): # <<<<<<<<<<<<<<
+ * elm_config_tooltip_delay_set(delay)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_21config_tooltip_delay_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 651; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_723, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 651; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":654
+ * elm_config_tooltip_delay_set(delay)
+ *
+ * def focus_highlight_enabled_get(): # <<<<<<<<<<<<<<
+ * return elm_config_focus_highlight_enabled_get()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_23focus_highlight_enabled_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_725, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 654; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":657
+ * return elm_config_focus_highlight_enabled_get()
+ *
+ * def focus_highlight_enabled_set(enabled): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_enabled_set(enabled)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_25focus_highlight_enabled_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_728, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 657; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":660
+ * elm_config_focus_highlight_enabled_set(enabled)
+ *
+ * def focus_highlight_animate_get(): # <<<<<<<<<<<<<<
+ * return elm_config_focus_highlight_animate_get()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_27focus_highlight_animate_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_730, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 660; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":663
+ * return elm_config_focus_highlight_animate_get()
+ *
+ * def focus_highlight_animate_set(animate): # <<<<<<<<<<<<<<
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_29focus_highlight_animate_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_733, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 663; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":666
+ * elm_config_focus_highlight_animate_set(animate)
+ *
+ * def preferred_engine_get(): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_preferred_engine_get())
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_31preferred_engine_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_735, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":669
+ * return _ctouni(elm_config_preferred_engine_get())
+ *
+ * def preferred_engine_set(engine): # <<<<<<<<<<<<<<
+ * elm_config_preferred_engine_set(engine)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_33preferred_engine_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_738, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 669; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":672
+ * elm_config_preferred_engine_set(engine)
+ *
+ * def engine_get(): # <<<<<<<<<<<<<<
+ * return _ctouni(elm_config_engine_get())
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_35engine_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 672; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__engine_get, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 672; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":675
+ * return _ctouni(elm_config_engine_get())
+ *
+ * def engine_set(engine): # <<<<<<<<<<<<<<
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_37engine_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 675; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__engine_set, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 675; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":678
+ * elm_config_engine_set(_cfruni(engine))
+ *
+ * def scale_get(): # <<<<<<<<<<<<<<
+ * return elm_config_scale_get()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_39scale_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__scale_get, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 678; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":681
+ * return elm_config_scale_get()
+ *
+ * def scale_set(scale): # <<<<<<<<<<<<<<
+ * elm_config_scale_set(scale)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_41scale_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__scale_set, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 681; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":684
+ * elm_config_scale_set(scale)
+ *
+ * def cursor_engine_only_get(): # <<<<<<<<<<<<<<
+ * return elm_config_cursor_engine_only_get()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_43cursor_engine_only_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 684; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_166, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 684; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_configuration.pxi":687
+ * return elm_config_cursor_engine_only_get()
+ *
+ * def cursor_engine_only_set(engine_only): # <<<<<<<<<<<<<<
+ * elm_config_cursor_engine_only_set(engine_only)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_45cursor_engine_only_set, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_167, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 687; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":19
+ * #
+ *
+ * def need_efreet(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs Efreet
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_47need_efreet, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__need_efreet, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":32
+ * return bool(elm_need_efreet())
+ *
+ * def need_e_dbus(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs e_dbus
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_49need_e_dbus, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__need_e_dbus, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":45
+ * return bool(elm_need_e_dbus())
+ *
+ * def need_ethumb(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs ethumb
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_51need_ethumb, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__need_ethumb, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_need.pxi":59
+ * return bool(elm_need_ethumb())
+ *
+ * def need_web(): # <<<<<<<<<<<<<<
+ * """Request that your elementary application needs web support
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_53need_web, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__need_web, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":86
+ * self.th = NULL
+ *
+ * def __init__(self, default=False): # <<<<<<<<<<<<<<
+ * """Create a new specific theme
+ *
+ */
+ __pyx_t_5 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_k_14 = __pyx_t_5;
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":326
+ * return _ctouni(elm_theme_data_get(self.th, _cfruni(key)))
+ *
+ * def theme_list_item_path_get(f, in_search_path): # <<<<<<<<<<<<<<
+ * """theme_list_item_path_get(f, in_search_path)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_55theme_list_item_path_get, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_755, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":352
+ * return _ctouni(elm_theme_list_item_path_get(_cfruni(f), &path))
+ *
+ * def theme_full_flush(): # <<<<<<<<<<<<<<
+ * """theme_full_flush()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_57theme_full_flush, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__theme_full_flush, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":363
+ * elm_theme_full_flush()
+ *
+ * def theme_name_available_list(): # <<<<<<<<<<<<<<
+ * """theme_name_available_list()
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_59theme_name_available_list, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_760, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":383
+ *
+ * # for compatibility
+ * def theme_overlay_add(item): # <<<<<<<<<<<<<<
+ * elm_theme_overlay_add(NULL, item)
+ *
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_61theme_overlay_add, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__theme_overlay_add, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_theme.pxi":386
+ * elm_theme_overlay_add(NULL, item)
+ *
+ * def theme_extension_add(item): # <<<<<<<<<<<<<<
+ * elm_theme_extension_add(NULL, item)
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_63theme_extension_add, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__theme_extension_add, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":28
+ * from evas.c_evas cimport eina_list_append
+ *
+ * from evas.c_evas import _extended_object_mapping_register # <<<<<<<<<<<<<<
+ *
+ * #API XXX: Callbacks!
+ */
+ __pyx_t_5 = PyList_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s_765));
+ PyList_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s_765));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s_765));
+ __pyx_t_3 = __Pyx_Import(((PyObject *)__pyx_n_s_692), ((PyObject *)__pyx_t_5), -1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s_765);
+ if (__pyx_t_5 == NULL) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError)) __Pyx_RaiseImportError(__pyx_n_s_765);
+ if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_765, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":113
+ * return lst
+ *
+ * def _cb_string_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr s = <const_char_ptr>addr
+ * if s == NULL:
+ */
+ __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_65_cb_string_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s___cb_string_conv, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1468
+ *
+ *
+ * def __elm_widget_cls_resolver(unsigned long ptr): # <<<<<<<<<<<<<<
+ * cdef Evas_Object *obj = <Evas_Object *>ptr
+ * cdef const_char_ptr t
+ */
+ __pyx_t_3 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_67__elm_widget_cls_resolver, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_771, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1468; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1476
+ * return _elm_widget_type_mapping.get(_ctouni(t), None)
+ *
+ * _extended_object_mapping_register("elm_widget", # <<<<<<<<<<<<<<
+ * __elm_widget_cls_resolver)
+ *
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_765); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1477
+ *
+ * _extended_object_mapping_register("elm_widget",
+ * __elm_widget_cls_resolver) # <<<<<<<<<<<<<<
+ *
+ * # NOTE: this is just transitional, need to be removed after all the widgets
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_771); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__elm_widget));
+ PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_n_s__elm_widget));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__elm_widget));
+ PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_5);
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_Call(__pyx_t_3, ((PyObject *)__pyx_t_2), NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1476; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1481
+ * # NOTE: this is just transitional, need to be removed after all the widgets
+ * # in elm will be ported to the new hierarchical pattern.
+ * _extended_object_mapping_register("elm_widget_compat", # <<<<<<<<<<<<<<
+ * __elm_widget_cls_resolver)
+ *
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_765); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1481; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1482
+ * # in elm will be ported to the new hierarchical pattern.
+ * _extended_object_mapping_register("elm_widget_compat",
+ * __elm_widget_cls_resolver) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_771); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1482; __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 = 1481; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__elm_widget_compat));
+ PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__elm_widget_compat));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__elm_widget_compat));
+ PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_t_5, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1481; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":1486
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryObject_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryObject_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 1486; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryObject_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":35
+ * cdef class ObjectItem
+ *
+ * def _cb_object_item_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
+ * return _object_item_to_python(it)
+ */
+ __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_69_cb_object_item_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_99, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object_item.pxi":529
+ * return elm_object_item_cursor_engine_only_get(self.item)
+ *
+ * _elm_widget_type_register("object_item", ObjectItem) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__object_item);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_ObjectItem));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 529; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":201
+ * return bool(elm_gesture_layer_attach(self.obj, target.obj))
+ *
+ * _elm_widget_type_register("gesture_layer", GestureLayer) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__gesture_layer);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_GestureLayer));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":205
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryGestureLayer_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryGestureLayer_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 205; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryGestureLayer_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":235
+ * return _ctouni(elm_layout_text_get(self.obj, _cfruni(part)))
+ *
+ * _elm_widget_type_register("layout", Layout) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__layout);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Layout));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 235; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":239
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryLayout_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryLayout_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryLayout_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":737
+ * self._callback_del_full("drop", _cb_string_conv, func)
+ *
+ * _elm_widget_type_register("image", Image) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__image);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Image));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 737; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_image.pxi":741
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryImage_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryImage_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 741; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryImage_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":220
+ * self._callback_del("unpressed", func)
+ *
+ * _elm_widget_type_register("button", Button) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__button);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Button));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_button.pxi":224
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryButton_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryButton_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryButton_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1711
+ * self._callback_del("unmaximized")
+ *
+ * _elm_widget_type_register("win", Window) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__win);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Window));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1711; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1715
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryWindow_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryWindow_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ *
+ * cdef public class StandardWindow(Window) [object PyElementaryStandardWindow, type PyElementaryStandardWindow_Type]:
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1715; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryWindow_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1736
+ * evasObject.__init__(self, canvas)
+ *
+ * _elm_widget_type_register("standardwin", StandardWindow) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__standardwin);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_StandardWindow));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1736; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1740
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryStandardWindow_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryStandardWindow_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 1740; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryStandardWindow_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":129
+ * elm_win_inwin_content_unset(self.obj)
+ *
+ * _elm_widget_type_register("inwin", InnerWindow) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__inwin);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_InnerWindow));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":133
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryInnerWindow_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryInnerWindow_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[15]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryInnerWindow_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":276
+ * elm_bg_load_size_set(self.obj, w, h)
+ *
+ * _elm_widget_type_register("bg", Background) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__bg);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Background));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_background.pxi":280
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryBackground_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryBackground_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[16]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryBackground_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":255
+ * self._callback_del("thumb,error", func)
+ *
+ * _elm_widget_type_register("icon", Icon) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__icon);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Icon));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_icon.pxi":259
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryIcon_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryIcon_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[17]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryIcon_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":584
+ *
+ *
+ * _elm_widget_type_register("box", Box) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__box);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Box));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 584; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":588
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryBox_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryBox_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[18]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryBox_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":146
+ * self._callback_del("clicked", func)
+ *
+ * _elm_widget_type_register("frame", Frame) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__frame);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Frame));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":150
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryFrame_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryFrame_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[19]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryFrame_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":276
+ * self._callback_del("animate,done", func)
+ *
+ * _elm_widget_type_register("flip", Flip) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__flip);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Flip));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flip.pxi":280
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryFlip_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryFlip_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[20]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryFlip_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":699
+ * self._callback_del("scroll,drag,stop", func)
+ *
+ * _elm_widget_type_register("scroller", Scroller) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__scroller);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Scroller));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 699; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_scroller.pxi":703
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryScroller_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryScroller_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[21]; __pyx_lineno = 703; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryScroller_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":257
+ * self._callback_del("language,changed", func)
+ *
+ * _elm_widget_type_register("label", Label) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__label);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Label));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_label.pxi":261
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryLabel_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryLabel_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[22]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryLabel_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":204
+ * return (x, y, w, h)
+ *
+ * _elm_widget_type_register("table", Table) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__table);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Table));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_table.pxi":208
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryTable_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryTable_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[23]; __pyx_lineno = 208; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryTable_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":379
+ * self._callback_del("changed", func)
+ *
+ * _elm_widget_type_register("clock", Clock) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__clock);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Clock));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 379; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_clock.pxi":383
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryClock_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryClock_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[24]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryClock_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":218
+ * self._callback_del("smart,changed", func)
+ *
+ * _elm_widget_type_register("hover", Hover) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__hover);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Hover));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hover.pxi":222
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryHover_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryHover_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[25]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryHover_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":19
+ * #
+ *
+ * def Entry_markup_to_utf8(str): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr string
+ * string = elm_entry_markup_to_utf8(str)
+ */
+ __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_71Entry_markup_to_utf8, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_777, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":26
+ * return string
+ *
+ * def Entry_utf8_to_markup(str): # <<<<<<<<<<<<<<
+ * cdef const_char_ptr string
+ * string = elm_entry_utf8_to_markup(str)
+ */
+ __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_73Entry_utf8_to_markup, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_781, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":33
+ * return string
+ *
+ * class EntryAnchorInfo: # <<<<<<<<<<<<<<
+ * def __init__(self):
+ * self.name = None
+ */
+ __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":34
+ *
+ * class EntryAnchorInfo:
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * self.name = None
+ * self.button = 0
+ */
+ __pyx_t_3 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_15EntryAnchorInfo_1__init__, 0, NULL, __pyx_n_s_697, ((PyObject *)__pyx_k_codeobj_783)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetItem(__pyx_t_2, __pyx_n_s____init__, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":33
+ * return string
+ *
+ * class EntryAnchorInfo: # <<<<<<<<<<<<<<
+ * def __init__(self):
+ * self.name = None
+ */
+ __pyx_t_3 = __Pyx_CreateClass(((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2), __pyx_n_s__EntryAnchorInfo, __pyx_n_s_697); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__EntryAnchorInfo, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":42
+ * self.h = 0
+ *
+ * class EntryAnchorHoverInfo: # <<<<<<<<<<<<<<
+ * def __init__(self):
+ * self.anchor_info = None
+ */
+ __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_2));
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":43
+ *
+ * class EntryAnchorHoverInfo:
+ * def __init__(self): # <<<<<<<<<<<<<<
+ * self.anchor_info = None
+ * self.hover = None
+ */
+ __pyx_t_3 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_20EntryAnchorHoverInfo_1__init__, 0, NULL, __pyx_n_s_697, ((PyObject *)__pyx_k_codeobj_785)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetItem(__pyx_t_2, __pyx_n_s____init__, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":42
+ * self.h = 0
+ *
+ * class EntryAnchorHoverInfo: # <<<<<<<<<<<<<<
+ * def __init__(self):
+ * self.anchor_info = None
+ */
+ __pyx_t_3 = __Pyx_CreateClass(((PyObject *)__pyx_empty_tuple), ((PyObject *)__pyx_t_2), __pyx_n_s_76, __pyx_n_s_697); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_76, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(((PyObject *)__pyx_t_2)); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":52
+ * self.hover_bottom = False
+ *
+ * def _entryanchor_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr
+ * eai = EntryAnchorInfo()
+ */
+ __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_75_entryanchor_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s___entryanchor_conv, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":63
+ * return eai
+ *
+ * def _entryanchorhover_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr
+ * eahi = EntryAnchorHoverInfo()
+ */
+ __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_77_entryanchorhover_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_93, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":945
+ * # elm_entry_markup_filter_remove() # TODO XXX
+ *
+ * markup_to_utf8 = staticmethod(Entry_markup_to_utf8) # <<<<<<<<<<<<<<
+ *
+ * utf8_to_markup = staticmethod(Entry_utf8_to_markup)
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_777); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_staticmethod, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ if (PyDict_SetItem((PyObject *)__pyx_ptype_10elementary_12c_elementary_Entry->tp_dict, __pyx_n_s__markup_to_utf8, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 945; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ PyType_Modified(__pyx_ptype_10elementary_12c_elementary_Entry);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":947
+ * markup_to_utf8 = staticmethod(Entry_markup_to_utf8)
+ *
+ * utf8_to_markup = staticmethod(Entry_utf8_to_markup) # <<<<<<<<<<<<<<
+ *
+ * def file_set(self, file, format):
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_781); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 947; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 947; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+ __pyx_t_2 = PyObject_Call(__pyx_builtin_staticmethod, ((PyObject *)__pyx_t_3), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 947; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ if (PyDict_SetItem((PyObject *)__pyx_ptype_10elementary_12c_elementary_Entry->tp_dict, __pyx_n_s__utf8_to_markup, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 947; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ PyType_Modified(__pyx_ptype_10elementary_12c_elementary_Entry);
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1793
+ * self._callback_del("language,changed", func)
+ *
+ * _elm_widget_type_register("entry", Entry) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__entry);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Entry));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1793; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":1797
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryEntry_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryEntry_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1797; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryEntry_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":116
+ * self._callback_del("clicked", func)
+ *
+ * _elm_widget_type_register("bubble", Bubble) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__bubble);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Bubble));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":120
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryBubble_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryBubble_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[26]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryBubble_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":225
+ * self._callback_del("drag,end", func)
+ *
+ * _elm_widget_type_register("photo", Photo) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__photo);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Photo));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 225; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photo.pxi":229
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPhoto_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPhoto_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[27]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPhoto_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":282
+ * return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
+ *
+ * def item_add(self, label = None, icon_file = None, icon_type = ELM_ICON_NONE, callback = None, *args, **kwargs): # <<<<<<<<<<<<<<
+ * """item_add(label, icon_file=None, icon_type=ELM_ICON_NONE, callback=None, *args, **kwargs)
+ *
+ */
+ __pyx_t_5 = PyInt_FromLong(ELM_ICON_NONE); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_k_98 = __pyx_t_5;
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":332
+ * self._callback_del("dismissed", func)
+ *
+ * _elm_widget_type_register("hoversel", Hoversel) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__hoversel);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Hoversel));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":336
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryHoversel_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryHoversel_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[28]; __pyx_lineno = 336; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryHoversel_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1275
+ * self._callback_del("language,changed", func)
+ *
+ * _elm_widget_type_register("toolbar", Toolbar) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__toolbar);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Toolbar));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1275; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":1279
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryToolbar_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryToolbar_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[29]; __pyx_lineno = 1279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryToolbar_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1117
+ * self._callback_del("language,changed", func)
+ *
+ * _elm_widget_type_register("list", List) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__list);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_List));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1117; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":1121
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryList_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryList_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[30]; __pyx_lineno = 1121; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryList_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":575
+ * self._callback_del("delay,changed", func)
+ *
+ * _elm_widget_type_register("slider", Slider) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__slider);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Slider));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 575; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":579
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementarySlider_Type # hack to install metaclass
+ * _install_metaclass(&PyElementarySlider_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[31]; __pyx_lineno = 579; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementarySlider_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":587
+ * self._callback_del("title,clicked", func)
+ *
+ * _elm_widget_type_register("naviframe", Naviframe) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__naviframe);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Naviframe));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 587; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":591
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryNaviframe_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryNaviframe_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[32]; __pyx_lineno = 591; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryNaviframe_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":211
+ * self._callback_del("changed", func)
+ *
+ * _elm_widget_type_register("radio", Radio) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__radio);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Radio));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":215
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryRadio_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryRadio_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[33]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryRadio_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":99
+ * self._callback_del("changed", func)
+ *
+ * _elm_widget_type_register("check", Check) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__check);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Check));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_check.pxi":103
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryCheck_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryCheck_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[34]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryCheck_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":20
+ *
+ * from evas.c_evas cimport eina_list_remove_list
+ * import traceback # <<<<<<<<<<<<<<
+ *
+ * cdef _py_elm_genlist_item_call(func, Evas_Object *obj, part, data) with gil:
+ */
+ __pyx_t_2 = __Pyx_Import(((PyObject *)__pyx_n_s__traceback), 0, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__traceback, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":350
+ * self.selected_set(selected)
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_genlist_item_show(self.item, scrollto_type)
+ *
+ */
+ __pyx_t_2 = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_k_129 = __pyx_t_2;
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":353
+ * elm_genlist_item_show(self.item, scrollto_type)
+ *
+ * def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_genlist_item_bring_in(self.item, scrollto_type)
+ *
+ */
+ __pyx_t_2 = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_k_130 = __pyx_t_2;
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":565
+ * return bool(elm_genlist_multi_select_get(self.obj))
+ *
+ * def mode_set(self, mode = ELM_LIST_COMPRESS): # <<<<<<<<<<<<<<
+ * elm_genlist_mode_set(self.obj, mode)
+ *
+ */
+ __pyx_t_2 = PyInt_FromLong(ELM_LIST_COMPRESS); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 565; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_k_132 = __pyx_t_2;
+ __Pyx_GIVEREF(__pyx_t_2);
+ __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":583
+ * item_data,
+ * GenlistItem parent_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE, # <<<<<<<<<<<<<<
+ * func=None):
+ * """Append a new item (add as last row) to this genlist.
+ */
+ __pyx_k_133 = ELM_GENLIST_ITEM_NONE;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":642
+ * item_data,
+ * GenlistItem parent_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE, # <<<<<<<<<<<<<<
+ * func=None):
+ * """Prepend a new item (add as first row) to this genlist.
+ */
+ __pyx_k_136 = ELM_GENLIST_ITEM_NONE;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":702
+ * #API XXX: parent
+ * GenlistItem before_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE, # <<<<<<<<<<<<<<
+ * func=None
+ * #API XXX: *args, **kwargs
+ */
+ __pyx_k_138 = ELM_GENLIST_ITEM_NONE;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":762
+ * #API XXX: parent
+ * GenlistItem after_item=None,
+ * int flags=ELM_GENLIST_ITEM_NONE, # <<<<<<<<<<<<<<
+ * func=None
+ * #API XXX: *args, **kwargs
+ */
+ __pyx_k_140 = ELM_GENLIST_ITEM_NONE;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1155
+ * self._callback_del("tree,effect,finished", func)
+ *
+ * _elm_widget_type_register("genlist", Genlist) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__genlist);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Genlist));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":1159
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryGenlist_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryGenlist_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 1159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryGenlist_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":19
+ * #
+ *
+ * import traceback # <<<<<<<<<<<<<<
+ *
+ * cdef _py_elm_gengrid_item_call(func, Evas_Object *obj, part, data) with gil:
+ */
+ __pyx_t_5 = __Pyx_Import(((PyObject *)__pyx_n_s__traceback), 0, -1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__traceback, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":371
+ * self.selected_set(selected)
+ *
+ * def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_show(self.item, scrollto_type)
+ *
+ */
+ __pyx_t_5 = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_k_163 = __pyx_t_5;
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":374
+ * elm_gengrid_item_show(self.item, scrollto_type)
+ *
+ * def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN): # <<<<<<<<<<<<<<
+ * elm_gengrid_item_bring_in(self.item, scrollto_type)
+ *
+ */
+ __pyx_t_5 = PyInt_FromLong(ELM_GENLIST_ITEM_SCROLLTO_IN); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 374; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_k_164 = __pyx_t_5;
+ __Pyx_GIVEREF(__pyx_t_5);
+ __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1014
+ * self._callback_del_full("unselected", _cb_object_item_conv, func)
+ *
+ * _elm_widget_type_register("gengrid", Gengrid) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__gengrid);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Gengrid));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1014; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":1018
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryGengrid_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryGengrid_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[35]; __pyx_lineno = 1018; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryGengrid_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":624
+ * self._callback_del("delay,changed", func)
+ *
+ * _elm_widget_type_register("spinner", Spinner) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__spinner);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Spinner));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":628
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementarySpinner_Type # hack to install metaclass
+ * _install_metaclass(&PyElementarySpinner_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[36]; __pyx_lineno = 628; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementarySpinner_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":223
+ * self._callback_del("block,clicked", func)
+ *
+ * _elm_widget_type_register("notify", Notify) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__notify);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Notify));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":227
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryNotify_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryNotify_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[37]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryNotify_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":441
+ * self._callback_del_full("done", _cb_string_conv, func)
+ *
+ * _elm_widget_type_register("fileselector", Fileselector) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__fileselector);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Fileselector));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 441; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":445
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryFileselector_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryFileselector_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[38]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryFileselector_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":572
+ * self._callback_del_full("file,chosen", _cb_string_conv, func)
+ *
+ * _elm_widget_type_register("fileselector_entry", FileselectorEntry) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__fileselector_entry);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_FileselectorEntry));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_entry.pxi":576
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryFileselectorEntry_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryFileselectorEntry_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[39]; __pyx_lineno = 576; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryFileselectorEntry_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":421
+ * self._callback_del_full("file,chosen", _cb_string_conv, func)
+ *
+ * _elm_widget_type_register("fileselector_button", FileselectorButton) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__fileselector_button);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_FileselectorButton));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector_button.pxi":425
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryFileselectorButton_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryFileselectorButton_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[40]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryFileselectorButton_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":64
+ * elm_separator_horizontal_set(self.obj, b)
+ *
+ * _elm_widget_type_register("separator", Separator) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__separator);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Separator));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_separator.pxi":68
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementarySeparator_Type # hack to install metaclass
+ * _install_metaclass(&PyElementarySeparator_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[41]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementarySeparator_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":391
+ * self._callback_del("changed", func)
+ *
+ * _elm_widget_type_register("progressbar", Progressbar) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__progressbar);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Progressbar));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 391; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_progressbar.pxi":395
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryProgressbar_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryProgressbar_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[42]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryProgressbar_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":452
+ * self._callback_del("clicked", func)
+ *
+ * _elm_widget_type_register("menu", Menu) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__menu);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Menu));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":456
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryMenu_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryMenu_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 456; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryMenu_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":111
+ * elm_panel_toggle(self.obj)
+ *
+ * _elm_widget_type_register("panel", Panel) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__panel);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Panel));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":115
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPanel_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPanel_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[43]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPanel_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":20
+ * #
+ *
+ * def _web_double_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef double *info = <double *>addr
+ * if info == NULL:
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_79_web_double_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s___web_double_conv, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":26
+ * return info[0]
+ *
+ * def _web_load_frame_error_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr
+ * if err == NULL:
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_81_web_load_frame_error_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_184, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":57
+ *
+ *
+ * def _web_link_hover_in_conv(long addr): # <<<<<<<<<<<<<<
+ * cdef char **info = <char **>addr
+ * if info == NULL:
+ */
+ __pyx_t_5 = PyCFunction_NewEx(&__pyx_mdef_10elementary_12c_elementary_83_web_link_hover_in_conv, NULL, __pyx_n_s_697); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_181, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":210
+ * elm_web_console_message_hook_set(self.obj, NULL, NULL)
+ *
+ * _elm_widget_type_register("web", Web) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__web);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Web));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":214
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryWeb_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryWeb_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[44]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryWeb_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":192
+ * self._callback_del_full("pos_changed", _cb_string_conv, func)
+ *
+ * _elm_widget_type_register("actionslider", Actionslider) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__actionslider);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Actionslider));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 192; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":196
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryActionslider_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryActionslider_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[45]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryActionslider_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":19
+ * #
+ *
+ * from datetime import date # <<<<<<<<<<<<<<
+ *
+ * cdef class CalendarMark(object):
+ */
+ __pyx_t_5 = PyList_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__date));
+ PyList_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_n_s__date));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__date));
+ __pyx_t_3 = __Pyx_Import(((PyObject *)__pyx_n_s__datetime), ((PyObject *)__pyx_t_5), -1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 0;
+ __pyx_t_5 = PyObject_GetAttr(__pyx_t_3, __pyx_n_s__date);
+ if (__pyx_t_5 == NULL) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError)) __Pyx_RaiseImportError(__pyx_n_s__date);
+ if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __Pyx_GOTREF(__pyx_t_5);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__date, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":329
+ * self._callback_del("changed", func)
+ *
+ * _elm_widget_type_register("calendar", Calendar) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_n_s__calendar);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Calendar));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":333
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryCalendar_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryCalendar_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[46]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryCalendar_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":243
+ * _cb_object_item_conv, func)
+ *
+ * _elm_widget_type_register("colorselector", Colorselector) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__colorselector);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Colorselector));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":247
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryColorselector_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryColorselector_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[47]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryColorselector_Type), __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":552
+ * self._callback_del("level,down", func)
+ *
+ * _elm_widget_type_register("index", Index) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_n_s__index);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Index));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 552; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":556
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryIndex_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryIndex_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[48]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryIndex_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":258
+ * self._callback_del("dismissed", func)
+ *
+ * _elm_widget_type_register("ctxpopup", Ctxpopup) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__ctxpopup);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Ctxpopup));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 258; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":262
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryCtxpopup_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryCtxpopup_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[49]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryCtxpopup_Type), __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":181
+ * return _object_list_to_python(elm_box_children_get(self.obj))
+ *
+ * _elm_widget_type_register("grid", Grid) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_n_s__grid);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Grid));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":185
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryGrid_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryGrid_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[50]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryGrid_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":326
+ * return self.title_get()
+ *
+ * _elm_widget_type_register("video", Video) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__video);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Video));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 326; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":330
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryVideo_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryVideo_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ *
+ * cdef public class Player(LayoutClass) [object PyElementaryPlayer, type PyElementaryPlayer_Type]:
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryVideo_Type), __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":417
+ * self._callback_del_full("stop,clicked", func)
+ *
+ * _elm_widget_type_register("player", Player) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_n_s__player);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Player));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 417; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":421
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPlayer_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPlayer_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[51]; __pyx_lineno = 421; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPlayer_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":43
+ * self._set_obj(elm_conformant_add(parent.obj))
+ *
+ * _elm_widget_type_register("conformant", Conformant) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__conformant);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Conformant));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":47
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryConformant_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryConformant_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[52]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryConformant_Type), __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":153
+ *
+ *
+ * _elm_widget_type_register("dayselector", Dayselector) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_n_s__dayselector);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Dayselector));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_dayselector.pxi":157
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryDayselector_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryDayselector_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[53]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryDayselector_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":155
+ * self._callback_del("clicked,double", func)
+ *
+ * _elm_widget_type_register("panes", Panes) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__panes);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Panes));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panes.pxi":159
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPanes_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPanes_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[54]; __pyx_lineno = 159; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPanes_Type), __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":263
+ * self._callback_del("load,error", func)
+ *
+ * _elm_widget_type_register("thumb", Thumb) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_3 = ((PyObject *)__pyx_n_s__thumb);
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Thumb));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 263; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_thumb.pxi":267
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryThumb_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryThumb_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[55]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryThumb_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":414
+ *
+ *
+ * _elm_widget_type_register("diskselector", Diskselector) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__diskselector);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_5 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Diskselector));
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":418
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryDiskselector_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryDiskselector_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_3 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[56]; __pyx_lineno = 418; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryDiskselector_Type), __pyx_t_3);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":19
+ * #
+ *
+ * from datetime import datetime # <<<<<<<<<<<<<<
+ *
+ * cdef public class Datetime(Object) [object PyElementaryDatetime, type PyElementaryDatetime_Type]:
+ */
+ __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)__pyx_n_s__datetime));
+ PyList_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_n_s__datetime));
+ __Pyx_GIVEREF(((PyObject *)__pyx_n_s__datetime));
+ __pyx_t_5 = __Pyx_Import(((PyObject *)__pyx_n_s__datetime), ((PyObject *)__pyx_t_3), -1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(((PyObject *)__pyx_t_3)); __pyx_t_3 = 0;
+ __pyx_t_3 = PyObject_GetAttr(__pyx_t_5, __pyx_n_s__datetime);
+ if (__pyx_t_3 == NULL) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError)) __Pyx_RaiseImportError(__pyx_n_s__datetime);
+ if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ }
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s__datetime, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":470
+ * self._callback_del("language,changed", func)
+ *
+ * _elm_widget_type_register("datetime", Datetime) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__datetime);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Datetime));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[57]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":790
+ *
+ *
+ * _elm_widget_type_register("map", Map) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__map);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Map));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 790; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":794
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryMap_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryMap_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[58]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryMap_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":134
+ *
+ *
+ * _elm_widget_type_register("mapbuf", Mapbuf) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__mapbuf);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Mapbuf));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":138
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryMapbuf_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryMapbuf_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[59]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryMapbuf_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":314
+ *
+ *
+ * _elm_widget_type_register("multibuttonentry", MultiButtonEntry) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__multibuttonentry);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_MultiButtonEntry));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":318
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryMultiButtonEntry_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryMultiButtonEntry_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[60]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryMultiButtonEntry_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":647
+ * self._callback_del_full("transition,end", _cb_object_item_conv, func)
+ *
+ * _elm_widget_type_register("slideshow", Slideshow) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__slideshow);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Slideshow));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 647; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":651
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementarySlideshow_Type # hack to install metaclass
+ * _install_metaclass(&PyElementarySlideshow_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[62]; __pyx_lineno = 651; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementarySlideshow_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":345
+ * self._callback_del_full("changed", _cb_object_item_conv, func)
+ *
+ * _elm_widget_type_register("segment_control", SegmentControl) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__segment_control);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_SegmentControl));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":349
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementarySegmentControl_Type # hack to install metaclass
+ * _install_metaclass(&PyElementarySegmentControl_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[63]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementarySegmentControl_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":251
+ * self._callback_del("block,clicked", func)
+ *
+ * _elm_widget_type_register("popup", Popup) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__popup);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Popup));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":255
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPopup_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPopup_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[64]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPopup_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":70
+ * return img
+ *
+ * _elm_widget_type_register("plug", Plug) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__plug);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Plug));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":74
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPlug_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPlug_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[65]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPlug_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":360
+ *
+ *
+ * _elm_widget_type_register("photocam", Photocam) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_5 = ((PyObject *)__pyx_n_s__photocam);
+ __Pyx_INCREF(__pyx_t_5);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_Photocam));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_2 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 360; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_photocam.pxi":364
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryPhotocam_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryPhotocam_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_2 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[66]; __pyx_lineno = 364; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryPhotocam_Type), __pyx_t_2);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":330
+ * self._callback_del("underflowed", func)
+ *
+ * _elm_widget_type_register("flipselector", FlipSelector) # <<<<<<<<<<<<<<
+ *
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ */
+ __pyx_t_2 = ((PyObject *)__pyx_n_s__flipselector);
+ __Pyx_INCREF(__pyx_t_2);
+ __pyx_t_3 = ((PyObject *)((PyObject*)__pyx_ptype_10elementary_12c_elementary_FlipSelector));
+ __Pyx_INCREF(__pyx_t_3);
+ __pyx_t_5 = __pyx_f_10elementary_12c_elementary__elm_widget_type_register(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 330; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":334
+ * cdef extern from "Elementary.h": # hack to force type to be known
+ * cdef PyTypeObject PyElementaryFlipSelector_Type # hack to install metaclass
+ * _install_metaclass(&PyElementaryFlipSelector_Type, ElementaryObjectMeta) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_5 = __Pyx_GetName(__pyx_m, __pyx_n_s_712); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[67]; __pyx_lineno = 334; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(__pyx_t_5);
+ __pyx_f_10elementary_12c_elementary__install_metaclass((&PyElementaryFlipSelector_Type), __pyx_t_5);
+ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+
+ /* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary.pyx":1
+ * # Copyright (c) 2008-2009 Simon Busch # <<<<<<<<<<<<<<
+ * #
+ * # This file is part of python-elementary.
+ */
+ __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_GOTREF(((PyObject *)__pyx_t_5));
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s____test__, ((PyObject *)__pyx_t_5)) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
+ __Pyx_DECREF(((PyObject *)__pyx_t_5)); __pyx_t_5 = 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_4);
+ __Pyx_XDECREF(__pyx_t_5);
+ if (__pyx_m) {
+ __Pyx_AddTraceback("init elementary.c_elementary", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ Py_DECREF(__pyx_m); __pyx_m = 0;
+ } else if (!PyErr_Occurred()) {
+ PyErr_SetString(PyExc_ImportError, "init elementary.c_elementary");
+ }
+ __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 /* CYTHON_REFNANNY */
+
+static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name) {
+ PyObject *result;
+ result = PyObject_GetAttr(dict, name);
+ if (!result) {
+ if (dict != __pyx_b) {
+ PyErr_Clear();
+ result = PyObject_GetAttr(__pyx_b, name);
+ }
+ if (!result) {
+ PyErr_SetObject(PyExc_NameError, name);
+ }
+ }
+ return result;
+}
+
+
+
+static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
+ PyErr_Format(PyExc_ValueError,
+ "need more than %"PY_FORMAT_SIZE_T"d value%s to unpack",
+ index, (index == 1) ? "" : "s");
+}
+
+static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
+ PyErr_Format(PyExc_ValueError,
+ "too many values to unpack (expected %"PY_FORMAT_SIZE_T"d)", expected);
+}
+
+static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
+ if (unlikely(retval)) {
+ Py_DECREF(retval);
+ __Pyx_RaiseTooManyValuesError(expected);
+ return -1;
+ } else if (PyErr_Occurred()) {
+ if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) {
+ PyErr_Clear();
+ return 0;
+ } else {
+ return -1;
+ }
+ }
+ return 0;
+}
+
+static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
+#if CYTHON_COMPILING_IN_CPYTHON
+ PyObject *tmp_type, *tmp_value, *tmp_tb;
+ PyThreadState *tstate = PyThreadState_GET();
+ tmp_type = tstate->curexc_type;
+ tmp_value = tstate->curexc_value;
+ tmp_tb = tstate->curexc_traceback;
+ tstate->curexc_type = type;
+ tstate->curexc_value = value;
+ tstate->curexc_traceback = tb;
+ Py_XDECREF(tmp_type);
+ Py_XDECREF(tmp_value);
+ Py_XDECREF(tmp_tb);
+#else
+ PyErr_Restore(type, value, tb);
+#endif
+}
+static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
+#if CYTHON_COMPILING_IN_CPYTHON
+ PyThreadState *tstate = PyThreadState_GET();
+ *type = tstate->curexc_type;
+ *value = tstate->curexc_value;
+ *tb = tstate->curexc_traceback;
+ tstate->curexc_type = 0;
+ tstate->curexc_value = 0;
+ tstate->curexc_traceback = 0;
+#else
+ PyErr_Fetch(type, value, tb);
+#endif
+}
+
+#if PY_MAJOR_VERSION < 3
+static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
+ CYTHON_UNUSED PyObject *cause) {
+ Py_XINCREF(type);
+ Py_XINCREF(value);
+ Py_XINCREF(tb);
+ if (tb == Py_None) {
+ Py_DECREF(tb);
+ tb = 0;
+ }
+ else if (tb != NULL && !PyTraceBack_Check(tb)) {
+ PyErr_SetString(PyExc_TypeError,
+ "raise: arg 3 must be a traceback or None");
+ goto raise_error;
+ }
+ if (value == NULL) {
+ value = Py_None;
+ Py_INCREF(value);
+ }
+ #if PY_VERSION_HEX < 0x02050000
+ if (!PyClass_Check(type))
+ #else
+ if (!PyType_Check(type))
+ #endif
+ {
+ if (value != Py_None) {
+ PyErr_SetString(PyExc_TypeError,
+ "instance exception may not have a separate value");
+ goto raise_error;
+ }
+ Py_DECREF(value);
+ value = type;
+ #if PY_VERSION_HEX < 0x02050000
+ if (PyInstance_Check(type)) {
+ type = (PyObject*) ((PyInstanceObject*)type)->in_class;
+ Py_INCREF(type);
+ }
+ else {
+ type = 0;
+ PyErr_SetString(PyExc_TypeError,
+ "raise: exception must be an old-style class or instance");
+ goto raise_error;
+ }
+ #else
+ 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;
+ }
+ #endif
+ }
+ __Pyx_ErrRestore(type, value, tb);
+ return;
+raise_error:
+ Py_XDECREF(value);
+ Py_XDECREF(type);
+ Py_XDECREF(tb);
+ return;
+}
+#else /* Python 3+ */
+static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
+ 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)) {
+ PyErr_SetString(PyExc_TypeError,
+ "raise: exception class must be a subclass of BaseException");
+ goto bad;
+ }
+ if (cause) {
+ PyObject *fixed_cause;
+ 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;
+ }
+ if (!value) {
+ value = PyObject_CallObject(type, NULL);
+ }
+ 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:
+ return;
+}
+#endif
+
+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,
+ "%s() takes %s %"PY_FORMAT_SIZE_T"d positional argument%s (%"PY_FORMAT_SIZE_T"d given)",
+ func_name, more_or_less, num_expected,
+ (num_expected == 1) ? "" : "s", num_found);
+}
+
+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_AS_STRING(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;
+ } else {
+ #if PY_MAJOR_VERSION < 3
+ if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key))) {
+ #else
+ if (unlikely(!PyUnicode_Check(key))) {
+ #endif
+ goto invalid_keyword_type;
+ } else {
+ for (name = first_kw_arg; *name; name++) {
+ #if PY_MAJOR_VERSION >= 3
+ if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
+ PyUnicode_Compare(**name, key) == 0) break;
+ #else
+ if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&
+ _PyString_Eq(**name, key)) break;
+ #endif
+ }
+ if (*name) {
+ values[name-argnames] = value;
+ } else {
+ for (name=argnames; name != first_kw_arg; name++) {
+ if (**name == key) goto arg_passed_twice;
+ #if PY_MAJOR_VERSION >= 3
+ if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
+ PyUnicode_Compare(**name, key) == 0) goto arg_passed_twice;
+ #else
+ if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&
+ _PyString_Eq(**name, key)) goto arg_passed_twice;
+ #endif
+ }
+ if (kwds2) {
+ if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
+ } else {
+ goto invalid_keyword;
+ }
+ }
+ }
+ }
+ }
+ return 0;
+arg_passed_twice:
+ __Pyx_RaiseDoubleKeywordsError(function_name, **name);
+ goto bad;
+invalid_keyword_type:
+ PyErr_Format(PyExc_TypeError,
+ "%s() keywords must be strings", function_name);
+ goto bad;
+invalid_keyword:
+ PyErr_Format(PyExc_TypeError,
+ #if PY_MAJOR_VERSION < 3
+ "%s() got an unexpected keyword argument '%s'",
+ function_name, PyString_AsString(key));
+ #else
+ "%s() got an unexpected keyword argument '%U'",
+ function_name, key);
+ #endif
+bad:
+ return -1;
+}
+
+static CYTHON_INLINE int __Pyx_CheckKeywordStrings(
+ PyObject *kwdict,
+ const char* function_name,
+ int kw_allowed)
+{
+ PyObject* key = 0;
+ Py_ssize_t pos = 0;
+ while (PyDict_Next(kwdict, &pos, &key, 0)) {
+ #if PY_MAJOR_VERSION < 3
+ if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key)))
+ #else
+ if (unlikely(!PyUnicode_Check(key)))
+ #endif
+ goto invalid_keyword_type;
+ }
+ if ((!kw_allowed) && unlikely(key))
+ goto invalid_keyword;
+ return 1;
+invalid_keyword_type:
+ PyErr_Format(PyExc_TypeError,
+ "%s() keywords must be strings", function_name);
+ return 0;
+invalid_keyword:
+ PyErr_Format(PyExc_TypeError,
+ #if PY_MAJOR_VERSION < 3
+ "%s() got an unexpected keyword argument '%s'",
+ function_name, PyString_AsString(key));
+ #else
+ "%s() got an unexpected keyword argument '%U'",
+ function_name, key);
+ #endif
+ return 0;
+}
+
+static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
+ const char *name, int exact)
+{
+ if (!type) {
+ PyErr_Format(PyExc_SystemError, "Missing type object");
+ return 0;
+ }
+ if (none_allowed && obj == Py_None) return 1;
+ else if (exact) {
+ if (Py_TYPE(obj) == type) return 1;
+ }
+ else {
+ if (PyObject_TypeCheck(obj, type)) return 1;
+ }
+ PyErr_Format(PyExc_TypeError,
+ "Argument '%s' has incorrect type (expected %s, got %s)",
+ name, type->tp_name, Py_TYPE(obj)->tp_name);
+ return 0;
+}
+
+static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
+ PyObject *local_type, *local_value, *local_tb;
+ 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;
+ PyErr_NormalizeException(&local_type, &local_value, &local_tb);
+ if (unlikely(tstate->curexc_type))
+ goto bad;
+ #if PY_MAJOR_VERSION >= 3
+ if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
+ goto bad;
+ #endif
+ *type = local_type;
+ *value = local_value;
+ *tb = local_tb;
+ Py_INCREF(local_type);
+ Py_INCREF(local_value);
+ Py_INCREF(local_tb);
+ 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;
+ /* Make sure tstate is in a consistent state when we XDECREF
+ these objects (XDECREF may run arbitrary code). */
+ Py_XDECREF(tmp_type);
+ Py_XDECREF(tmp_value);
+ Py_XDECREF(tmp_tb);
+ 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 int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
+ if (unlikely(!type)) {
+ PyErr_Format(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 PyObject* __Pyx_Intern(PyObject* s) {
+ if (!(likely(PyString_CheckExact(s)))) {
+ PyErr_Format(PyExc_TypeError, "Expected str, got %s", Py_TYPE(s)->tp_name);
+ return 0;
+ }
+ Py_INCREF(s);
+ #if PY_MAJOR_VERSION >= 3
+ PyUnicode_InternInPlace(&s);
+ #else
+ PyString_InternInPlace(&s);
+ #endif
+ return s;
+}
+
+static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
+ 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);
+}
+static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb) {
+ 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);
+}
+
+static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, long level) {
+ PyObject *py_import = 0;
+ PyObject *empty_list = 0;
+ PyObject *module = 0;
+ PyObject *global_dict = 0;
+ PyObject *empty_dict = 0;
+ PyObject *list;
+ py_import = __Pyx_GetAttrString(__pyx_b, "__import__");
+ if (!py_import)
+ goto bad;
+ 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_VERSION_HEX >= 0x02050000
+ {
+ #if PY_MAJOR_VERSION >= 3
+ if (level == -1) {
+ if (strchr(__Pyx_MODULE_NAME, '.')) {
+ /* try package relative import first */
+ 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);
+ if (!module) {
+ if (!PyErr_ExceptionMatches(PyExc_ImportError))
+ goto bad;
+ PyErr_Clear();
+ }
+ }
+ level = 0; /* try absolute import on failure */
+ }
+ #endif
+ if (!module) {
+ 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
+ if (level>0) {
+ PyErr_SetString(PyExc_RuntimeError, "Relative import is not supported for Python <=2.4.");
+ goto bad;
+ }
+ module = PyObject_CallFunctionObjArgs(py_import,
+ name, global_dict, empty_dict, list, NULL);
+ #endif
+bad:
+ Py_XDECREF(empty_list);
+ Py_XDECREF(py_import);
+ Py_XDECREF(empty_dict);
+ return module;
+}
+
+static CYTHON_INLINE void __Pyx_RaiseImportError(PyObject *name) {
+#if PY_MAJOR_VERSION < 3
+ PyErr_Format(PyExc_ImportError, "cannot import name %.230s",
+ PyString_AsString(name));
+#else
+ PyErr_Format(PyExc_ImportError, "cannot import name %S", name);
+#endif
+}
+
+static PyObject *__Pyx_FindPy2Metaclass(PyObject *bases) {
+ PyObject *metaclass;
+ /* Default metaclass */
+#if PY_MAJOR_VERSION < 3
+ if (PyTuple_Check(bases) && PyTuple_GET_SIZE(bases) > 0) {
+ PyObject *base = PyTuple_GET_ITEM(bases, 0);
+ metaclass = PyObject_GetAttrString(base, (char *)"__class__");
+ if (!metaclass) {
+ PyErr_Clear();
+ metaclass = (PyObject*) Py_TYPE(base);
+ }
+ } else {
+ metaclass = (PyObject *) &PyClass_Type;
+ }
+#else
+ if (PyTuple_Check(bases) && PyTuple_GET_SIZE(bases) > 0) {
+ PyObject *base = PyTuple_GET_ITEM(bases, 0);
+ metaclass = (PyObject*) Py_TYPE(base);
+ } else {
+ metaclass = (PyObject *) &PyType_Type;
+ }
+#endif
+ Py_INCREF(metaclass);
+ return metaclass;
+}
+
+static PyObject *__Pyx_CreateClass(PyObject *bases, PyObject *dict, PyObject *name,
+ PyObject *modname) {
+ PyObject *result;
+ PyObject *metaclass;
+ if (PyDict_SetItemString(dict, "__module__", modname) < 0)
+ return NULL;
+ /* Python2 __metaclass__ */
+ metaclass = PyDict_GetItemString(dict, "__metaclass__");
+ if (metaclass) {
+ Py_INCREF(metaclass);
+ } else {
+ metaclass = __Pyx_FindPy2Metaclass(bases);
+ }
+ result = PyObject_CallFunctionObjArgs(metaclass, name, bases, dict, NULL);
+ Py_DECREF(metaclass);
+ return result;
+}
+
+static PyObject *
+__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure)
+{
+ if (op->func_doc == NULL && op->func.m_ml->ml_doc) {
+#if PY_MAJOR_VERSION >= 3
+ op->func_doc = PyUnicode_FromString(op->func.m_ml->ml_doc);
+#else
+ op->func_doc = PyString_FromString(op->func.m_ml->ml_doc);
+#endif
+ }
+ if (op->func_doc == 0) {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+ Py_INCREF(op->func_doc);
+ return op->func_doc;
+}
+static int
+__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value)
+{
+ PyObject *tmp = op->func_doc;
+ if (value == NULL)
+ op->func_doc = Py_None; /* Mark as deleted */
+ else
+ op->func_doc = value;
+ Py_INCREF(op->func_doc);
+ Py_XDECREF(tmp);
+ return 0;
+}
+static PyObject *
+__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op)
+{
+ if (op->func_name == NULL) {
+#if PY_MAJOR_VERSION >= 3
+ op->func_name = PyUnicode_InternFromString(op->func.m_ml->ml_name);
+#else
+ op->func_name = PyString_InternFromString(op->func.m_ml->ml_name);
+#endif
+ }
+ Py_INCREF(op->func_name);
+ return op->func_name;
+}
+static int
+__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value)
+{
+ PyObject *tmp;
+#if PY_MAJOR_VERSION >= 3
+ if (value == NULL || !PyUnicode_Check(value)) {
+#else
+ if (value == NULL || !PyString_Check(value)) {
+#endif
+ PyErr_SetString(PyExc_TypeError,
+ "__name__ must be set to a string object");
+ return -1;
+ }
+ tmp = op->func_name;
+ Py_INCREF(value);
+ op->func_name = value;
+ Py_XDECREF(tmp);
+ return 0;
+}
+static PyObject *
+__Pyx_CyFunction_get_self(__pyx_CyFunctionObject *m, CYTHON_UNUSED void *closure)
+{
+ PyObject *self;
+ self = m->func_closure;
+ if (self == NULL)
+ self = Py_None;
+ Py_INCREF(self);
+ return self;
+}
+static PyObject *
+__Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op)
+{
+ if (op->func_dict == NULL) {
+ op->func_dict = PyDict_New();
+ if (op->func_dict == NULL)
+ return NULL;
+ }
+ Py_INCREF(op->func_dict);
+ return op->func_dict;
+}
+static int
+__Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
+{
+ PyObject *tmp;
+ if (value == NULL) {
+ PyErr_SetString(PyExc_TypeError,
+ "function's dictionary may not be deleted");
+ return -1;
+ }
+ if (!PyDict_Check(value)) {
+ PyErr_SetString(PyExc_TypeError,
+ "setting function's dictionary to a non-dict");
+ return -1;
+ }
+ tmp = op->func_dict;
+ Py_INCREF(value);
+ op->func_dict = value;
+ Py_XDECREF(tmp);
+ return 0;
+}
+static PyObject *
+__Pyx_CyFunction_get_globals(CYTHON_UNUSED __pyx_CyFunctionObject *op)
+{
+ PyObject* dict = PyModule_GetDict(__pyx_m);
+ Py_XINCREF(dict);
+ return dict;
+}
+static PyObject *
+__Pyx_CyFunction_get_closure(CYTHON_UNUSED __pyx_CyFunctionObject *op)
+{
+ Py_INCREF(Py_None);
+ return Py_None;
+}
+static PyObject *
+__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op)
+{
+ PyObject* result = (op->func_code) ? op->func_code : Py_None;
+ Py_INCREF(result);
+ return result;
+}
+static PyObject *
+__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op)
+{
+ if (op->defaults_tuple) {
+ Py_INCREF(op->defaults_tuple);
+ return op->defaults_tuple;
+ }
+ if (op->defaults_getter) {
+ PyObject *res = op->defaults_getter((PyObject *) op);
+ if (res) {
+ Py_INCREF(res);
+ op->defaults_tuple = res;
+ }
+ return res;
+ }
+ Py_INCREF(Py_None);
+ return Py_None;
+}
+static PyGetSetDef __pyx_CyFunction_getsets[] = {
+ {(char *) "func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
+ {(char *) "__doc__", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
+ {(char *) "func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
+ {(char *) "__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
+ {(char *) "__self__", (getter)__Pyx_CyFunction_get_self, 0, 0, 0},
+ {(char *) "func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
+ {(char *) "__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
+ {(char *) "func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
+ {(char *) "__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
+ {(char *) "func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
+ {(char *) "__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
+ {(char *) "func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
+ {(char *) "__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
+ {(char *) "func_defaults", (getter)__Pyx_CyFunction_get_defaults, 0, 0, 0},
+ {(char *) "__defaults__", (getter)__Pyx_CyFunction_get_defaults, 0, 0, 0},
+ {0, 0, 0, 0, 0}
+};
+#ifndef PY_WRITE_RESTRICTED /* < Py2.5 */
+#define PY_WRITE_RESTRICTED WRITE_RESTRICTED
+#endif
+static PyMemberDef __pyx_CyFunction_members[] = {
+ {(char *) "__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
+ {0, 0, 0, 0, 0}
+};
+static PyObject *
+__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, CYTHON_UNUSED PyObject *args)
+{
+#if PY_MAJOR_VERSION >= 3
+ return PyUnicode_FromString(m->func.m_ml->ml_name);
+#else
+ return PyString_FromString(m->func.m_ml->ml_name);
+#endif
+}
+static PyMethodDef __pyx_CyFunction_methods[] = {
+ {__Pyx_NAMESTR("__reduce__"), (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0},
+ {0, 0, 0, 0}
+};
+static PyObject *__Pyx_CyFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags,
+ PyObject *closure, PyObject *module, PyObject* code) {
+ __pyx_CyFunctionObject *op = PyObject_GC_New(__pyx_CyFunctionObject, type);
+ if (op == NULL)
+ return NULL;
+ op->flags = flags;
+ op->func_weakreflist = NULL;
+ op->func.m_ml = ml;
+ op->func.m_self = (PyObject *) op;
+ Py_XINCREF(closure);
+ op->func_closure = closure;
+ Py_XINCREF(module);
+ op->func.m_module = module;
+ op->func_dict = NULL;
+ op->func_name = NULL;
+ op->func_doc = NULL;
+ op->func_classobj = NULL;
+ Py_XINCREF(code);
+ op->func_code = code;
+ op->defaults_pyobjects = 0;
+ op->defaults = NULL;
+ op->defaults_tuple = NULL;
+ op->defaults_getter = NULL;
+ PyObject_GC_Track(op);
+ return (PyObject *) op;
+}
+static int
+__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
+{
+ Py_CLEAR(m->func_closure);
+ Py_CLEAR(m->func.m_module);
+ Py_CLEAR(m->func_dict);
+ Py_CLEAR(m->func_name);
+ Py_CLEAR(m->func_doc);
+ Py_CLEAR(m->func_code);
+ Py_CLEAR(m->func_classobj);
+ Py_CLEAR(m->defaults_tuple);
+ if (m->defaults) {
+ PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
+ int i;
+ for (i = 0; i < m->defaults_pyobjects; i++)
+ Py_XDECREF(pydefaults[i]);
+ PyMem_Free(m->defaults);
+ m->defaults = NULL;
+ }
+ return 0;
+}
+static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
+{
+ PyObject_GC_UnTrack(m);
+ if (m->func_weakreflist != NULL)
+ PyObject_ClearWeakRefs((PyObject *) m);
+ __Pyx_CyFunction_clear(m);
+ PyObject_GC_Del(m);
+}
+static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg)
+{
+ Py_VISIT(m->func_closure);
+ Py_VISIT(m->func.m_module);
+ Py_VISIT(m->func_dict);
+ Py_VISIT(m->func_name);
+ Py_VISIT(m->func_doc);
+ Py_VISIT(m->func_code);
+ Py_VISIT(m->func_classobj);
+ Py_VISIT(m->defaults_tuple);
+ if (m->defaults) {
+ PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
+ int i;
+ for (i = 0; i < m->defaults_pyobjects; i++)
+ Py_VISIT(pydefaults[i]);
+ }
+ return 0;
+}
+static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type)
+{
+ __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
+ if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) {
+ Py_INCREF(func);
+ return func;
+ }
+ if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) {
+ if (type == NULL)
+ type = (PyObject *)(Py_TYPE(obj));
+ return PyMethod_New(func,
+ type, (PyObject *)(Py_TYPE(type)));
+ }
+ if (obj == Py_None)
+ obj = NULL;
+ return PyMethod_New(func, obj, type);
+}
+static PyObject*
+__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
+{
+ PyObject *func_name = __Pyx_CyFunction_get_name(op);
+#if PY_MAJOR_VERSION >= 3
+ return PyUnicode_FromFormat("<cyfunction %U at %p>",
+ func_name, (void *)op);
+#else
+ return PyString_FromFormat("<cyfunction %s at %p>",
+ PyString_AsString(func_name), (void *)op);
+#endif
+}
+static PyTypeObject __pyx_CyFunctionType_type = {
+ PyVarObject_HEAD_INIT(0, 0)
+ __Pyx_NAMESTR("cython_function_or_method"), /*tp_name*/
+ sizeof(__pyx_CyFunctionObject), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ (destructor) __Pyx_CyFunction_dealloc, /*tp_dealloc*/
+ 0, /*tp_print*/
+ 0, /*tp_getattr*/
+ 0, /*tp_setattr*/
+#if PY_MAJOR_VERSION < 3
+ 0, /*tp_compare*/
+#else
+ 0, /*reserved*/
+#endif
+ (reprfunc) __Pyx_CyFunction_repr, /*tp_repr*/
+ 0, /*tp_as_number*/
+ 0, /*tp_as_sequence*/
+ 0, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ __Pyx_PyCFunction_Call, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ 0, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, /* tp_flags*/
+ 0, /*tp_doc*/
+ (traverseproc) __Pyx_CyFunction_traverse, /*tp_traverse*/
+ (inquiry) __Pyx_CyFunction_clear, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ offsetof(__pyx_CyFunctionObject, func_weakreflist), /* tp_weaklistoffse */
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_CyFunction_methods, /*tp_methods*/
+ __pyx_CyFunction_members, /*tp_members*/
+ __pyx_CyFunction_getsets, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ __Pyx_CyFunction_descr_get, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ offsetof(__pyx_CyFunctionObject, func_dict),/*tp_dictoffset*/
+ 0, /*tp_init*/
+ 0, /*tp_alloc*/
+ 0, /*tp_new*/
+ 0, /*tp_free*/
+ 0, /*tp_is_gc*/
+ 0, /*tp_bases*/
+ 0, /*tp_mro*/
+ 0, /*tp_cache*/
+ 0, /*tp_subclasses*/
+ 0, /*tp_weaklist*/
+ 0, /*tp_del*/
+#if PY_VERSION_HEX >= 0x02060000
+ 0, /*tp_version_tag*/
+#endif
+};
+static int __Pyx_CyFunction_init(void)
+{
+ if (PyType_Ready(&__pyx_CyFunctionType_type) < 0)
+ return -1;
+ __pyx_CyFunctionType = &__pyx_CyFunctionType_type;
+ return 0;
+}
+void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects)
+{
+ __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
+ m->defaults = PyMem_Malloc(size);
+ if (!m->defaults)
+ return PyErr_NoMemory();
+ memset(m->defaults, 0, sizeof(size));
+ m->defaults_pyobjects = pyobjects;
+ return m->defaults;
+}
+static void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple)
+{
+ __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
+ m->defaults_tuple = tuple;
+ Py_INCREF(tuple);
+}
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Eina_Bool(Eina_Bool val) {
+ const Eina_Bool neg_one = (Eina_Bool)-1, const_zero = (Eina_Bool)0;
+ const int is_unsigned = const_zero < neg_one;
+ if ((sizeof(Eina_Bool) == sizeof(char)) ||
+ (sizeof(Eina_Bool) == sizeof(short))) {
+ return PyInt_FromLong((long)val);
+ } else if ((sizeof(Eina_Bool) == sizeof(int)) ||
+ (sizeof(Eina_Bool) == sizeof(long))) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLong((unsigned long)val);
+ else
+ return PyInt_FromLong((long)val);
+ } else if (sizeof(Eina_Bool) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
+ else
+ return PyLong_FromLongLong((PY_LONG_LONG)val);
+ } else {
+ int one = 1; int little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ return _PyLong_FromByteArray(bytes, sizeof(Eina_Bool),
+ little, !is_unsigned);
+ }
+}
+
+static CYTHON_INLINE Evas_Coord __Pyx_PyInt_from_py_Evas_Coord(PyObject* x) {
+ const Evas_Coord neg_one = (Evas_Coord)-1, const_zero = (Evas_Coord)0;
+ const int is_unsigned = const_zero < neg_one;
+ if (sizeof(Evas_Coord) == sizeof(char)) {
+ if (is_unsigned)
+ return (Evas_Coord)__Pyx_PyInt_AsUnsignedChar(x);
+ else
+ return (Evas_Coord)__Pyx_PyInt_AsSignedChar(x);
+ } else if (sizeof(Evas_Coord) == sizeof(short)) {
+ if (is_unsigned)
+ return (Evas_Coord)__Pyx_PyInt_AsUnsignedShort(x);
+ else
+ return (Evas_Coord)__Pyx_PyInt_AsSignedShort(x);
+ } else if (sizeof(Evas_Coord) == sizeof(int)) {
+ if (is_unsigned)
+ return (Evas_Coord)__Pyx_PyInt_AsUnsignedInt(x);
+ else
+ return (Evas_Coord)__Pyx_PyInt_AsSignedInt(x);
+ } else if (sizeof(Evas_Coord) == sizeof(long)) {
+ if (is_unsigned)
+ return (Evas_Coord)__Pyx_PyInt_AsUnsignedLong(x);
+ else
+ return (Evas_Coord)__Pyx_PyInt_AsSignedLong(x);
+ } else if (sizeof(Evas_Coord) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return (Evas_Coord)__Pyx_PyInt_AsUnsignedLongLong(x);
+ else
+ return (Evas_Coord)__Pyx_PyInt_AsSignedLongLong(x);
+ } else {
+ Evas_Coord val;
+ PyObject *v = __Pyx_PyNumber_Int(x);
+ #if PY_VERSION_HEX < 0x03000000
+ 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;
+ }
+ return (Evas_Coord)-1;
+ }
+}
+
+static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
+ PyObject *r = PyObject_GetAttr(o, n);
+ if (!r) {
+ if (!PyErr_ExceptionMatches(PyExc_AttributeError))
+ goto bad;
+ PyErr_Clear();
+ r = d;
+ Py_INCREF(d);
+ }
+ return r;
+bad:
+ return NULL;
+}
+
+static CYTHON_INLINE Eina_Bool __Pyx_PyInt_from_py_Eina_Bool(PyObject* x) {
+ const Eina_Bool neg_one = (Eina_Bool)-1, const_zero = (Eina_Bool)0;
+ const int is_unsigned = const_zero < neg_one;
+ if (sizeof(Eina_Bool) == sizeof(char)) {
+ if (is_unsigned)
+ return (Eina_Bool)__Pyx_PyInt_AsUnsignedChar(x);
+ else
+ return (Eina_Bool)__Pyx_PyInt_AsSignedChar(x);
+ } else if (sizeof(Eina_Bool) == sizeof(short)) {
+ if (is_unsigned)
+ return (Eina_Bool)__Pyx_PyInt_AsUnsignedShort(x);
+ else
+ return (Eina_Bool)__Pyx_PyInt_AsSignedShort(x);
+ } else if (sizeof(Eina_Bool) == sizeof(int)) {
+ if (is_unsigned)
+ return (Eina_Bool)__Pyx_PyInt_AsUnsignedInt(x);
+ else
+ return (Eina_Bool)__Pyx_PyInt_AsSignedInt(x);
+ } else if (sizeof(Eina_Bool) == sizeof(long)) {
+ if (is_unsigned)
+ return (Eina_Bool)__Pyx_PyInt_AsUnsignedLong(x);
+ else
+ return (Eina_Bool)__Pyx_PyInt_AsSignedLong(x);
+ } else if (sizeof(Eina_Bool) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return (Eina_Bool)__Pyx_PyInt_AsUnsignedLongLong(x);
+ else
+ return (Eina_Bool)__Pyx_PyInt_AsSignedLongLong(x);
+ } else {
+ Eina_Bool val;
+ PyObject *v = __Pyx_PyNumber_Int(x);
+ #if PY_VERSION_HEX < 0x03000000
+ 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;
+ }
+ return (Eina_Bool)-1;
+ }
+}
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Evas_Font_Size(Evas_Font_Size val) {
+ const Evas_Font_Size neg_one = (Evas_Font_Size)-1, const_zero = (Evas_Font_Size)0;
+ const int is_unsigned = const_zero < neg_one;
+ if ((sizeof(Evas_Font_Size) == sizeof(char)) ||
+ (sizeof(Evas_Font_Size) == sizeof(short))) {
+ return PyInt_FromLong((long)val);
+ } else if ((sizeof(Evas_Font_Size) == sizeof(int)) ||
+ (sizeof(Evas_Font_Size) == sizeof(long))) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLong((unsigned long)val);
+ else
+ return PyInt_FromLong((long)val);
+ } else if (sizeof(Evas_Font_Size) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
+ else
+ return PyLong_FromLongLong((PY_LONG_LONG)val);
+ } else {
+ int one = 1; int little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ return _PyLong_FromByteArray(bytes, sizeof(Evas_Font_Size),
+ little, !is_unsigned);
+ }
+}
+
+static CYTHON_INLINE Evas_Font_Size __Pyx_PyInt_from_py_Evas_Font_Size(PyObject* x) {
+ const Evas_Font_Size neg_one = (Evas_Font_Size)-1, const_zero = (Evas_Font_Size)0;
+ const int is_unsigned = const_zero < neg_one;
+ if (sizeof(Evas_Font_Size) == sizeof(char)) {
+ if (is_unsigned)
+ return (Evas_Font_Size)__Pyx_PyInt_AsUnsignedChar(x);
+ else
+ return (Evas_Font_Size)__Pyx_PyInt_AsSignedChar(x);
+ } else if (sizeof(Evas_Font_Size) == sizeof(short)) {
+ if (is_unsigned)
+ return (Evas_Font_Size)__Pyx_PyInt_AsUnsignedShort(x);
+ else
+ return (Evas_Font_Size)__Pyx_PyInt_AsSignedShort(x);
+ } else if (sizeof(Evas_Font_Size) == sizeof(int)) {
+ if (is_unsigned)
+ return (Evas_Font_Size)__Pyx_PyInt_AsUnsignedInt(x);
+ else
+ return (Evas_Font_Size)__Pyx_PyInt_AsSignedInt(x);
+ } else if (sizeof(Evas_Font_Size) == sizeof(long)) {
+ if (is_unsigned)
+ return (Evas_Font_Size)__Pyx_PyInt_AsUnsignedLong(x);
+ else
+ return (Evas_Font_Size)__Pyx_PyInt_AsSignedLong(x);
+ } else if (sizeof(Evas_Font_Size) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return (Evas_Font_Size)__Pyx_PyInt_AsUnsignedLongLong(x);
+ else
+ return (Evas_Font_Size)__Pyx_PyInt_AsSignedLongLong(x);
+ } else {
+ Evas_Font_Size val;
+ PyObject *v = __Pyx_PyNumber_Int(x);
+ #if PY_VERSION_HEX < 0x03000000
+ 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;
+ }
+ return (Evas_Font_Size)-1;
+ }
+}
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Evas_Coord(Evas_Coord val) {
+ const Evas_Coord neg_one = (Evas_Coord)-1, const_zero = (Evas_Coord)0;
+ const int is_unsigned = const_zero < neg_one;
+ if ((sizeof(Evas_Coord) == sizeof(char)) ||
+ (sizeof(Evas_Coord) == sizeof(short))) {
+ return PyInt_FromLong((long)val);
+ } else if ((sizeof(Evas_Coord) == sizeof(int)) ||
+ (sizeof(Evas_Coord) == sizeof(long))) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLong((unsigned long)val);
+ else
+ return PyInt_FromLong((long)val);
+ } else if (sizeof(Evas_Coord) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
+ else
+ return PyLong_FromLongLong((PY_LONG_LONG)val);
+ } else {
+ int one = 1; int little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ return _PyLong_FromByteArray(bytes, sizeof(Evas_Coord),
+ little, !is_unsigned);
+ }
+}
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Evas_Callback_Type(Evas_Callback_Type val) {
+ const Evas_Callback_Type neg_one = (Evas_Callback_Type)-1, const_zero = (Evas_Callback_Type)0;
+ const int is_unsigned = const_zero < neg_one;
+ if ((sizeof(Evas_Callback_Type) == sizeof(char)) ||
+ (sizeof(Evas_Callback_Type) == sizeof(short))) {
+ return PyInt_FromLong((long)val);
+ } else if ((sizeof(Evas_Callback_Type) == sizeof(int)) ||
+ (sizeof(Evas_Callback_Type) == sizeof(long))) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLong((unsigned long)val);
+ else
+ return PyInt_FromLong((long)val);
+ } else if (sizeof(Evas_Callback_Type) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
+ else
+ return PyLong_FromLongLong((PY_LONG_LONG)val);
+ } else {
+ int one = 1; int little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ return _PyLong_FromByteArray(bytes, sizeof(Evas_Callback_Type),
+ little, !is_unsigned);
+ }
+}
+
+static CYTHON_INLINE PyObject *__Pyx_PyInt_to_py_Ecore_X_ID(Ecore_X_ID val) {
+ const Ecore_X_ID neg_one = (Ecore_X_ID)-1, const_zero = (Ecore_X_ID)0;
+ const int is_unsigned = const_zero < neg_one;
+ if ((sizeof(Ecore_X_ID) == sizeof(char)) ||
+ (sizeof(Ecore_X_ID) == sizeof(short))) {
+ return PyInt_FromLong((long)val);
+ } else if ((sizeof(Ecore_X_ID) == sizeof(int)) ||
+ (sizeof(Ecore_X_ID) == sizeof(long))) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLong((unsigned long)val);
+ else
+ return PyInt_FromLong((long)val);
+ } else if (sizeof(Ecore_X_ID) == sizeof(PY_LONG_LONG)) {
+ if (is_unsigned)
+ return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG)val);
+ else
+ return PyLong_FromLongLong((PY_LONG_LONG)val);
+ } else {
+ int one = 1; int little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ return _PyLong_FromByteArray(bytes, sizeof(Ecore_X_ID),
+ little, !is_unsigned);
+ }
+}
+
+static CYTHON_INLINE unsigned char __Pyx_PyInt_AsUnsignedChar(PyObject* x) {
+ const unsigned char neg_one = (unsigned char)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(unsigned char) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(unsigned char)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to unsigned char" :
+ "value too large to convert to unsigned char");
+ }
+ return (unsigned char)-1;
+ }
+ return (unsigned char)val;
+ }
+ return (unsigned char)__Pyx_PyInt_AsUnsignedLong(x);
+}
+
+static CYTHON_INLINE unsigned short __Pyx_PyInt_AsUnsignedShort(PyObject* x) {
+ const unsigned short neg_one = (unsigned short)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(unsigned short) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(unsigned short)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to unsigned short" :
+ "value too large to convert to unsigned short");
+ }
+ return (unsigned short)-1;
+ }
+ return (unsigned short)val;
+ }
+ return (unsigned short)__Pyx_PyInt_AsUnsignedLong(x);
+}
+
+static CYTHON_INLINE unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject* x) {
+ const unsigned int neg_one = (unsigned int)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(unsigned int) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(unsigned int)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to unsigned int" :
+ "value too large to convert to unsigned int");
+ }
+ return (unsigned int)-1;
+ }
+ return (unsigned int)val;
+ }
+ return (unsigned int)__Pyx_PyInt_AsUnsignedLong(x);
+}
+
+static CYTHON_INLINE char __Pyx_PyInt_AsChar(PyObject* x) {
+ const char neg_one = (char)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(char) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(char)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to char" :
+ "value too large to convert to char");
+ }
+ return (char)-1;
+ }
+ return (char)val;
+ }
+ return (char)__Pyx_PyInt_AsLong(x);
+}
+
+static CYTHON_INLINE short __Pyx_PyInt_AsShort(PyObject* x) {
+ const short neg_one = (short)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(short) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(short)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to short" :
+ "value too large to convert to short");
+ }
+ return (short)-1;
+ }
+ return (short)val;
+ }
+ return (short)__Pyx_PyInt_AsLong(x);
+}
+
+static CYTHON_INLINE int __Pyx_PyInt_AsInt(PyObject* x) {
+ const int neg_one = (int)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(int) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(int)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to int" :
+ "value too large to convert to int");
+ }
+ return (int)-1;
+ }
+ return (int)val;
+ }
+ return (int)__Pyx_PyInt_AsLong(x);
+}
+
+static CYTHON_INLINE signed char __Pyx_PyInt_AsSignedChar(PyObject* x) {
+ const signed char neg_one = (signed char)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(signed char) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(signed char)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to signed char" :
+ "value too large to convert to signed char");
+ }
+ return (signed char)-1;
+ }
+ return (signed char)val;
+ }
+ return (signed char)__Pyx_PyInt_AsSignedLong(x);
+}
+
+static CYTHON_INLINE signed short __Pyx_PyInt_AsSignedShort(PyObject* x) {
+ const signed short neg_one = (signed short)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(signed short) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(signed short)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to signed short" :
+ "value too large to convert to signed short");
+ }
+ return (signed short)-1;
+ }
+ return (signed short)val;
+ }
+ return (signed short)__Pyx_PyInt_AsSignedLong(x);
+}
+
+static CYTHON_INLINE signed int __Pyx_PyInt_AsSignedInt(PyObject* x) {
+ const signed int neg_one = (signed int)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(signed int) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(signed int)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to signed int" :
+ "value too large to convert to signed int");
+ }
+ return (signed int)-1;
+ }
+ return (signed int)val;
+ }
+ return (signed int)__Pyx_PyInt_AsSignedLong(x);
+}
+
+static CYTHON_INLINE int __Pyx_PyInt_AsLongDouble(PyObject* x) {
+ const int neg_one = (int)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+ if (sizeof(int) < sizeof(long)) {
+ long val = __Pyx_PyInt_AsLong(x);
+ if (unlikely(val != (long)(int)val)) {
+ if (!unlikely(val == -1 && PyErr_Occurred())) {
+ PyErr_SetString(PyExc_OverflowError,
+ (is_unsigned && unlikely(val < 0)) ?
+ "can't convert negative value to int" :
+ "value too large to convert to int");
+ }
+ return (int)-1;
+ }
+ return (int)val;
+ }
+ return (int)__Pyx_PyInt_AsLong(x);
+}
+
+static CYTHON_INLINE unsigned long __Pyx_PyInt_AsUnsignedLong(PyObject* x) {
+ const unsigned long neg_one = (unsigned long)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+#if PY_VERSION_HEX < 0x03000000
+ if (likely(PyInt_Check(x))) {
+ long val = PyInt_AS_LONG(x);
+ if (is_unsigned && unlikely(val < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to unsigned long");
+ return (unsigned long)-1;
+ }
+ return (unsigned long)val;
+ } else
+#endif
+ if (likely(PyLong_Check(x))) {
+ if (is_unsigned) {
+ if (unlikely(Py_SIZE(x) < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to unsigned long");
+ return (unsigned long)-1;
+ }
+ return (unsigned long)PyLong_AsUnsignedLong(x);
+ } else {
+ return (unsigned long)PyLong_AsLong(x);
+ }
+ } else {
+ unsigned long val;
+ PyObject *tmp = __Pyx_PyNumber_Int(x);
+ if (!tmp) return (unsigned long)-1;
+ val = __Pyx_PyInt_AsUnsignedLong(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+}
+
+static CYTHON_INLINE unsigned PY_LONG_LONG __Pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
+ const unsigned PY_LONG_LONG neg_one = (unsigned PY_LONG_LONG)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+#if PY_VERSION_HEX < 0x03000000
+ if (likely(PyInt_Check(x))) {
+ long val = PyInt_AS_LONG(x);
+ if (is_unsigned && unlikely(val < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to unsigned PY_LONG_LONG");
+ return (unsigned PY_LONG_LONG)-1;
+ }
+ return (unsigned PY_LONG_LONG)val;
+ } else
+#endif
+ if (likely(PyLong_Check(x))) {
+ if (is_unsigned) {
+ if (unlikely(Py_SIZE(x) < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to unsigned PY_LONG_LONG");
+ return (unsigned PY_LONG_LONG)-1;
+ }
+ return (unsigned PY_LONG_LONG)PyLong_AsUnsignedLongLong(x);
+ } else {
+ return (unsigned PY_LONG_LONG)PyLong_AsLongLong(x);
+ }
+ } else {
+ unsigned PY_LONG_LONG val;
+ PyObject *tmp = __Pyx_PyNumber_Int(x);
+ if (!tmp) return (unsigned PY_LONG_LONG)-1;
+ val = __Pyx_PyInt_AsUnsignedLongLong(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+}
+
+static CYTHON_INLINE long __Pyx_PyInt_AsLong(PyObject* x) {
+ const long neg_one = (long)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+#if PY_VERSION_HEX < 0x03000000
+ if (likely(PyInt_Check(x))) {
+ long val = PyInt_AS_LONG(x);
+ if (is_unsigned && unlikely(val < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to long");
+ return (long)-1;
+ }
+ return (long)val;
+ } else
+#endif
+ if (likely(PyLong_Check(x))) {
+ if (is_unsigned) {
+ if (unlikely(Py_SIZE(x) < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to long");
+ return (long)-1;
+ }
+ return (long)PyLong_AsUnsignedLong(x);
+ } else {
+ return (long)PyLong_AsLong(x);
+ }
+ } else {
+ long val;
+ PyObject *tmp = __Pyx_PyNumber_Int(x);
+ if (!tmp) return (long)-1;
+ val = __Pyx_PyInt_AsLong(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+}
+
+static CYTHON_INLINE PY_LONG_LONG __Pyx_PyInt_AsLongLong(PyObject* x) {
+ const PY_LONG_LONG neg_one = (PY_LONG_LONG)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+#if PY_VERSION_HEX < 0x03000000
+ if (likely(PyInt_Check(x))) {
+ long val = PyInt_AS_LONG(x);
+ if (is_unsigned && unlikely(val < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to PY_LONG_LONG");
+ return (PY_LONG_LONG)-1;
+ }
+ return (PY_LONG_LONG)val;
+ } else
+#endif
+ if (likely(PyLong_Check(x))) {
+ if (is_unsigned) {
+ if (unlikely(Py_SIZE(x) < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to PY_LONG_LONG");
+ return (PY_LONG_LONG)-1;
+ }
+ return (PY_LONG_LONG)PyLong_AsUnsignedLongLong(x);
+ } else {
+ return (PY_LONG_LONG)PyLong_AsLongLong(x);
+ }
+ } else {
+ PY_LONG_LONG val;
+ PyObject *tmp = __Pyx_PyNumber_Int(x);
+ if (!tmp) return (PY_LONG_LONG)-1;
+ val = __Pyx_PyInt_AsLongLong(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+}
+
+static CYTHON_INLINE signed long __Pyx_PyInt_AsSignedLong(PyObject* x) {
+ const signed long neg_one = (signed long)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+#if PY_VERSION_HEX < 0x03000000
+ if (likely(PyInt_Check(x))) {
+ long val = PyInt_AS_LONG(x);
+ if (is_unsigned && unlikely(val < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to signed long");
+ return (signed long)-1;
+ }
+ return (signed long)val;
+ } else
+#endif
+ if (likely(PyLong_Check(x))) {
+ if (is_unsigned) {
+ if (unlikely(Py_SIZE(x) < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to signed long");
+ return (signed long)-1;
+ }
+ return (signed long)PyLong_AsUnsignedLong(x);
+ } else {
+ return (signed long)PyLong_AsLong(x);
+ }
+ } else {
+ signed long val;
+ PyObject *tmp = __Pyx_PyNumber_Int(x);
+ if (!tmp) return (signed long)-1;
+ val = __Pyx_PyInt_AsSignedLong(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+}
+
+static CYTHON_INLINE signed PY_LONG_LONG __Pyx_PyInt_AsSignedLongLong(PyObject* x) {
+ const signed PY_LONG_LONG neg_one = (signed PY_LONG_LONG)-1, const_zero = 0;
+ const int is_unsigned = neg_one > const_zero;
+#if PY_VERSION_HEX < 0x03000000
+ if (likely(PyInt_Check(x))) {
+ long val = PyInt_AS_LONG(x);
+ if (is_unsigned && unlikely(val < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to signed PY_LONG_LONG");
+ return (signed PY_LONG_LONG)-1;
+ }
+ return (signed PY_LONG_LONG)val;
+ } else
+#endif
+ if (likely(PyLong_Check(x))) {
+ if (is_unsigned) {
+ if (unlikely(Py_SIZE(x) < 0)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "can't convert negative value to signed PY_LONG_LONG");
+ return (signed PY_LONG_LONG)-1;
+ }
+ return (signed PY_LONG_LONG)PyLong_AsUnsignedLongLong(x);
+ } else {
+ return (signed PY_LONG_LONG)PyLong_AsLongLong(x);
+ }
+ } else {
+ signed PY_LONG_LONG val;
+ PyObject *tmp = __Pyx_PyNumber_Int(x);
+ if (!tmp) return (signed PY_LONG_LONG)-1;
+ val = __Pyx_PyInt_AsSignedLongLong(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+}
+
+static void __Pyx_WriteUnraisable(const char *name, int clineno,
+ int lineno, const char *filename) {
+ PyObject *old_exc, *old_val, *old_tb;
+ PyObject *ctx;
+ __Pyx_ErrFetch(&old_exc, &old_val, &old_tb);
+ #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 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);
+ #if PY_VERSION_HEX < 0x02050000
+ return PyErr_Warn(NULL, message);
+ #else
+ return PyErr_WarnEx(NULL, message, 1);
+ #endif
+ }
+ return 0;
+}
+
+#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_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,
+ "%s.%s is not a type object",
+ module_name, class_name);
+ goto bad;
+ }
+ if (!strict && (size_t)((PyTypeObject *)result)->tp_basicsize > size) {
+ PyOS_snprintf(warning, sizeof(warning),
+ "%s.%s size changed, may indicate binary incompatibility",
+ module_name, class_name);
+ #if PY_VERSION_HEX < 0x02050000
+ if (PyErr_Warn(NULL, warning) < 0) goto bad;
+ #else
+ if (PyErr_WarnEx(NULL, warning, 0) < 0) goto bad;
+ #endif
+ }
+ else if ((size_t)((PyTypeObject *)result)->tp_basicsize != size) {
+ PyErr_Format(PyExc_ValueError,
+ "%s.%s 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_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
+
+static void* __Pyx_GetVtable(PyObject *dict) {
+ void* ptr;
+ PyObject *ob = PyMapping_GetItemString(dict, (char *)"__pyx_vtable__");
+ if (!ob)
+ goto bad;
+#if PY_VERSION_HEX >= 0x02070000 && !(PY_MAJOR_VERSION==3&&PY_MINOR_VERSION==0)
+ 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 && !(PY_MAJOR_VERSION==3&&PY_MINOR_VERSION==0)
+ PyObject *ob = PyCapsule_New(vtable, 0, 0);
+#else
+ PyObject *ob = PyCObject_FromVoidPtr(vtable, 0);
+#endif
+ if (!ob)
+ goto bad;
+ if (PyDict_SetItemString(dict, "__pyx_vtable__", ob) < 0)
+ goto bad;
+ Py_DECREF(ob);
+ return 0;
+bad:
+ Py_XDECREF(ob);
+ return -1;
+}
+
+#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,
+ "%s does not export expected C function %s",
+ PyModule_GetName(module), funcname);
+ goto bad;
+ }
+#if PY_VERSION_HEX >= 0x02070000 && !(PY_MAJOR_VERSION==3&&PY_MINOR_VERSION==0)
+ if (!PyCapsule_IsValid(cobj, sig)) {
+ PyErr_Format(PyExc_TypeError,
+ "C function %s.%s has wrong signature (expected %s, got %s)",
+ 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 %s.%s has wrong signature (expected %s, got %s)",
+ 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_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, 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, /*int argcount,*/
+ 0, /*int kwonlyargcount,*/
+ 0, /*int nlocals,*/
+ 0, /*int stacksize,*/
+ 0, /*int flags,*/
+ __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, /*int firstlineno,*/
+ __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;
+ PyObject *py_globals = 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_globals = PyModule_GetDict(__pyx_m);
+ if (!py_globals) goto bad;
+ py_frame = PyFrame_New(
+ PyThreadState_GET(), /*PyThreadState *tstate,*/
+ py_code, /*PyCodeObject *code,*/
+ py_globals, /*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 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 /* Python 3+ has unicode identifiers */
+ 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;
+}
+
+
+/* Type Conversion Functions */
+
+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_VERSION_HEX < 0x03000000
+ 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_VERSION_HEX < 0x03000000
+ 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_VERSION_HEX < 0x03000000
+ if (!PyInt_Check(res) && !PyLong_Check(res)) {
+#else
+ if (!PyLong_Check(res)) {
+#endif
+ PyErr_Format(PyExc_TypeError,
+ "__%s__ returned non-%s (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 = 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) {
+#if PY_VERSION_HEX < 0x02050000
+ if (ival <= LONG_MAX)
+ return PyInt_FromLong((long)ival);
+ else {
+ unsigned char *bytes = (unsigned char *) &ival;
+ int one = 1; int little = (int)*(unsigned char*)&one;
+ return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0);
+ }
+#else
+ return PyInt_FromSize_t(ival);
+#endif
+}
+
+static CYTHON_INLINE size_t __Pyx_PyInt_AsSize_t(PyObject* x) {
+ unsigned PY_LONG_LONG val = __Pyx_PyInt_AsUnsignedLongLong(x);
+ if (unlikely(val == (unsigned PY_LONG_LONG)-1 && PyErr_Occurred())) {
+ return (size_t)-1;
+ } else if (unlikely(val != (unsigned PY_LONG_LONG)(size_t)val)) {
+ PyErr_SetString(PyExc_OverflowError,
+ "value too large to convert to size_t");
+ return (size_t)-1;
+ }
+ return (size_t)val;
+}
+
+
+#endif /* Py_PYTHON_H */
diff --git a/elementary/elementary.c_elementary.h b/elementary/elementary.c_elementary.h
new file mode 100644
index 0000000..1a678a2
--- /dev/null
+++ b/elementary/elementary.c_elementary.h
@@ -0,0 +1,681 @@
+#ifndef __PYX_HAVE__elementary__c_elementary
+#define __PYX_HAVE__elementary__c_elementary
+
+struct PyElementaryObject;
+struct PyElementaryGestureLayer;
+struct PyElementaryLayout;
+struct PyElementaryImage;
+struct PyElementaryButton;
+struct PyElementaryWindow;
+struct PyElementaryStandardWindow;
+struct PyElementaryInnerWindow;
+struct PyElementaryBackground;
+struct PyElementaryIcon;
+struct PyElementaryBox;
+struct PyElementaryFrame;
+struct PyElementaryFlip;
+struct PyElementaryScroller;
+struct PyElementaryLabel;
+struct PyElementaryTable;
+struct PyElementaryClock;
+struct PyElementaryHover;
+struct PyElementaryEntry;
+struct PyElementaryBubble;
+struct PyElementaryPhoto;
+struct PyElementaryHoversel;
+struct PyElementaryToolbar;
+struct PyElementaryList;
+struct PyElementarySlider;
+struct PyElementaryNaviframe;
+struct PyElementaryRadio;
+struct PyElementaryCheck;
+struct PyElementaryGenlist;
+struct PyElementaryGengrid;
+struct PyElementarySpinner;
+struct PyElementaryNotify;
+struct PyElementaryFileselector;
+struct PyElementaryFileselectorEntry;
+struct PyElementaryFileselectorButton;
+struct PyElementarySeparator;
+struct PyElementaryProgressbar;
+struct PyElementaryMenu;
+struct PyElementaryPanel;
+struct PyElementaryWeb;
+struct PyElementaryActionslider;
+struct PyElementaryCalendar;
+struct PyElementaryColorselector;
+struct PyElementaryIndex;
+struct PyElementaryCtxpopup;
+struct PyElementaryGrid;
+struct PyElementaryVideo;
+struct PyElementaryPlayer;
+struct PyElementaryConformant;
+struct PyElementaryDayselector;
+struct PyElementaryPanes;
+struct PyElementaryThumb;
+struct PyElementaryDiskselector;
+struct PyElementaryDatetime;
+struct PyElementaryMap;
+struct PyElementaryMapbuf;
+struct PyElementaryMultiButtonEntry;
+struct PyElementarySlideshow;
+struct PyElementarySegmentControl;
+struct PyElementaryPopup;
+struct PyElementaryPlug;
+struct PyElementaryPhotocam;
+struct PyElementaryFlipSelector;
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_object.pxi":134
+ * pass
+ *
+ * cdef public class Object(evasObject) [object PyElementaryObject, type PyElementaryObject_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An abstract class to manage object and callback handling.
+ */
+struct PyElementaryObject {
+ struct PyEvasObject __pyx_base;
+ PyObject *_elmcallbacks;
+ PyObject *_elm_event_cbs;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gesture_layer.pxi":32
+ * traceback.print_exc()
+ *
+ * cdef public class GestureLayer(Object) [object PyElementaryGestureLayer, type PyElementaryGestureLayer_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Use Gesture Layer to detect gestures. The advantage is that you don't
+ */
+struct PyElementaryGestureLayer {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_layout.pxi":19
+ * #
+ *
+ * cdef public class Layout(LayoutClass) [object PyElementaryLayout, type PyElementaryLayout_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a container widget that takes a standard Edje design file and
+ */
+struct PyElementaryLayout {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryImage {
+ struct PyElementaryObject __pyx_base;
+};
+struct PyElementaryButton {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":23
+ * from evas.c_evas cimport Canvas_from_instance
+ *
+ * cdef public class Window(Object) [object PyElementaryWindow, type PyElementaryWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The window class of Elementary.
+ */
+struct PyElementaryWindow {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_window.pxi":1717
+ * _install_metaclass(&PyElementaryWindow_Type, ElementaryObjectMeta)
+ *
+ * cdef public class StandardWindow(Window) [object PyElementaryStandardWindow, type PyElementaryStandardWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A L{Window} with standard setup.
+ */
+struct PyElementaryStandardWindow {
+ struct PyElementaryWindow __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_innerwindow.pxi":19
+ * #
+ *
+ * cdef public class InnerWindow(LayoutClass) [object PyElementaryInnerWindow, type PyElementaryInnerWindow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An inwin is a window inside a window that is useful for a quick popup.
+ */
+struct PyElementaryInnerWindow {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryBackground {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryIcon {
+ struct PyElementaryImage __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_box.pxi":52
+ *
+ *
+ * cdef public class Box(Object) [object PyElementaryBox, type PyElementaryBox_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A box arranges objects in a linear fashion, governed by a layout function
+ */
+struct PyElementaryBox {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_frame.pxi":19
+ * #
+ *
+ * cdef public class Frame(LayoutClass) [object PyElementaryFrame, type PyElementaryFrame_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Frame is a widget that holds some content and has a title.
+ */
+struct PyElementaryFrame {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryFlip {
+ struct PyElementaryObject __pyx_base;
+};
+struct PyElementaryScroller {
+ struct PyElementaryObject __pyx_base;
+};
+struct PyElementaryLabel {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryTable {
+ struct PyElementaryObject __pyx_base;
+};
+struct PyElementaryClock {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryHover {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_entry.pxi":76
+ * return eahi
+ *
+ * cdef public class Entry(Object) [object PyElementaryEntry, type PyElementaryEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An entry is a convenience widget which shows a box that the user can
+ */
+struct PyElementaryEntry {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_bubble.pxi":19
+ * #
+ *
+ * cdef public class Bubble(LayoutClass) [object PyElementaryBubble, type PyElementaryBubble_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The Bubble is a widget to show text similar to how speech is
+ */
+struct PyElementaryBubble {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryPhoto {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_hoversel.pxi":99
+ * return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+ *
+ * cdef public class Hoversel(Button) [object PyElementaryHoversel, type PyElementaryHoversel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A hoversel is a button that pops up a list of items (automatically
+ */
+struct PyElementaryHoversel {
+ struct PyElementaryButton __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_toolbar.pxi":594
+ * #return elm_toolbar_item_state_prev(self.item)
+ *
+ * cdef public class Toolbar(Object) [object PyElementaryToolbar, type PyElementaryToolbar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A toolbar is a widget that displays a list of items inside a box. It
+ */
+struct PyElementaryToolbar {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_list.pxi":330
+ * return _object_item_to_python(elm_list_item_next(self.item))
+ *
+ * cdef public class List(Object) [object PyElementaryList, type PyElementaryList_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A list widget is a container whose children are displayed vertically or
+ */
+struct PyElementaryList {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slider.pxi":19
+ * #
+ *
+ * cdef public class Slider(LayoutClass) [object PyElementarySlider, type PyElementarySlider_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The slider adds a draggable "slider" widget for selecting the value of
+ */
+struct PyElementarySlider {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_naviframe.pxi":130
+ * elm_naviframe_item_title_visible_set(self.item, visible)
+ *
+ * cdef public class Naviframe(LayoutClass) [object PyElementaryNaviframe, type PyElementaryNaviframe_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Naviframe stands for navigation frame. It's a views manager
+ */
+struct PyElementaryNaviframe {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_radio.pxi":19
+ * #
+ *
+ * cdef public class Radio(LayoutClass) [object PyElementaryRadio, type PyElementaryRadio_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Radio is a widget that allows for one or more options to be displayed
+ */
+struct PyElementaryRadio {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryCheck {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_genlist.pxi":543
+ * return elm_genlist_item_select_mode_get(self.item)
+ *
+ * cdef public class Genlist(Object) [object PyElementaryGenlist, type PyElementaryGenlist_Type]: # <<<<<<<<<<<<<<
+ * """Creates a generic, scalable and extensible list widget.
+ *
+ */
+struct PyElementaryGenlist {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_gengrid.pxi":548
+ * self.select_mode_set(value)
+ *
+ * cdef public class Gengrid(Object) [object PyElementaryGengrid, type PyElementaryGengrid_Type]: # <<<<<<<<<<<<<<
+ * """Creates a generic, scalable and extensible grid widget.
+ *
+ */
+struct PyElementaryGengrid {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_spinner.pxi":19
+ * #
+ *
+ * cdef public class Spinner(LayoutClass) [object PyElementarySpinner, type PyElementarySpinner_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A spinner is a widget which allows the user to increase or decrease
+ */
+struct PyElementarySpinner {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_notify.pxi":18
+ * # along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * cdef public class Notify(Object) [object PyElementaryNotify, type PyElementaryNotify_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Display a container in a particular region of the parent.
+ */
+struct PyElementaryNotify {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_fileselector.pxi":19
+ * #
+ *
+ * cdef public class Fileselector(LayoutClass) [object PyElementaryFileselector, type PyElementaryFileselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """
+ */
+struct PyElementaryFileselector {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+ PyObject *_cbs;
+};
+struct PyElementaryFileselectorEntry {
+ struct PyElementaryObject __pyx_base;
+ PyObject *_cbs;
+};
+struct PyElementaryFileselectorButton {
+ struct PyElementaryButton __pyx_base;
+ PyObject *_cbs;
+};
+struct PyElementarySeparator {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryProgressbar {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_menu.pxi":249
+ * return True
+ *
+ * cdef public class Menu(Object) [object PyElementaryMenu, type PyElementaryMenu_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A menu is a list of items displayed above its parent.
+ */
+struct PyElementaryMenu {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_panel.pxi":20
+ * #
+ *
+ * cdef public class Panel(Object) [object PyElementaryPanel, type PyElementaryPanel_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A panel is a type of animated container that contains subobjects.
+ */
+struct PyElementaryPanel {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_web.pxi":92
+ * traceback.print_exc()
+ *
+ * cdef public class Web(Object) [object PyElementaryWeb, type PyElementaryWeb_Type]: # <<<<<<<<<<<<<<
+ * cdef object _console_message_hook
+ *
+ */
+struct PyElementaryWeb {
+ struct PyElementaryObject __pyx_base;
+ PyObject *_console_message_hook;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_actionslider.pxi":19
+ * #
+ *
+ * cdef public class Actionslider(LayoutClass) [object PyElementaryActionslider, type PyElementaryActionslider_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An actionslider is a switcher for two or three labels with
+ */
+struct PyElementaryActionslider {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_calendar.pxi":50
+ * elm_calendar_mark_del(self.obj)
+ *
+ * cdef public class Calendar(LayoutClass) [object PyElementaryCalendar, type PyElementaryCalendar_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This is a calendar widget.
+ */
+struct PyElementaryCalendar {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_colorselector.pxi":53
+ * elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+ *
+ * cdef public class Colorselector(LayoutClass) [object PyElementaryColorselector, type PyElementaryColorselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Colorselector is a color selection widget.
+ */
+struct PyElementaryColorselector {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_index.pxi":121
+ * return item.item
+ *
+ * cdef public class Index(LayoutClass) [object PyElementaryIndex, type PyElementaryIndex_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An index widget gives you an index for fast access to whichever
+ */
+struct PyElementaryIndex {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_ctxpopup.pxi":41
+ * Py_DECREF(self)
+ *
+ * cdef public class Ctxpopup(Object) [object PyElementaryCtxpopup, type PyElementaryCtxpopup_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Context popup widget.
+ */
+struct PyElementaryCtxpopup {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_grid.pxi":19
+ * #
+ *
+ * cdef public class Grid(Object) [object PyElementaryGrid, type PyElementaryGrid_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A grid layout widget.
+ */
+struct PyElementaryGrid {
+ struct PyElementaryObject __pyx_base;
+};
+struct PyElementaryVideo {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_video.pxi":332
+ * _install_metaclass(&PyElementaryVideo_Type, ElementaryObjectMeta)
+ *
+ * cdef public class Player(LayoutClass) [object PyElementaryPlayer, type PyElementaryPlayer_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Player is a video player that need to be linked with a L{Video}.
+ */
+struct PyElementaryPlayer {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_conformant.pxi":19
+ * #
+ *
+ * cdef public class Conformant(LayoutClass) [object PyElementaryConformant, type PyElementaryConformant_Type]: # <<<<<<<<<<<<<<
+ *
+ * """The aim is to provide a widget that can be used in elementary apps to
+ */
+struct PyElementaryConformant {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryDayselector {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryPanes {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+struct PyElementaryThumb {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_diskselector.pxi":110
+ * return _object_item_to_python(it)
+ *
+ * cdef public class Diskselector(Object) [object PyElementaryDiskselector, type PyElementaryDiskselector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A diskselector is a kind of list widget. It scrolls horizontally,
+ */
+struct PyElementaryDiskselector {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_datetime.pxi":21
+ * from datetime import datetime
+ *
+ * cdef public class Datetime(Object) [object PyElementaryDatetime, type PyElementaryDatetime_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Datetime widget is used to display and input date & time values.
+ */
+struct PyElementaryDatetime {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_map.pxi":420
+ *
+ *
+ * cdef public class Map(Object)[object PyElementaryMap, type PyElementaryMap_Type]: # <<<<<<<<<<<<<<
+ *
+ * def __init__(self, evasObject parent):
+ */
+struct PyElementaryMap {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_mapbuf.pxi":19
+ * #
+ *
+ * cdef public class Mapbuf(Object) [object PyElementaryMapbuf, type PyElementaryMapbuf_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This holds one content object and uses an Evas Map of transformation
+ */
+struct PyElementaryMapbuf {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_multibuttonentry.pxi":113
+ *
+ *
+ * cdef public class MultiButtonEntry(Object) [object PyElementaryMultiButtonEntry, type PyElementaryMultiButtonEntry_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A Multibuttonentry is a widget to allow a user enter text and manage
+ */
+struct PyElementaryMultiButtonEntry {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_slideshow.pxi":237
+ *
+ *
+ * cdef public class Slideshow(LayoutClass) [object PyElementarySlideshow, type PyElementarySlideshow_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget, as the name indicates, is a pre-made image
+ */
+struct PyElementarySlideshow {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_segment_control.pxi":103
+ * elm_segment_control_item_selected_set(self.item, select)
+ *
+ * cdef public class SegmentControl(LayoutClass) [object PyElementarySegmentControl, type PyElementarySegmentControl_Type]: # <<<<<<<<<<<<<<
+ *
+ * """Segment control widget is a horizontal control made of multiple
+ */
+struct PyElementarySegmentControl {
+ struct __pyx_obj_10elementary_12c_elementary_LayoutClass __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_popup.pxi":68
+ * self.params[1])
+ *
+ * cdef public class Popup(Object) [object PyElementaryPopup, type PyElementaryPopup_Type]: # <<<<<<<<<<<<<<
+ *
+ * """This widget is an enhancement of L{Notify}.
+ */
+struct PyElementaryPopup {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_plug.pxi":21
+ * from evas.c_evas cimport Image as evasImage
+ *
+ * cdef public class Plug(Object) [object PyElementaryPlug, type PyElementaryPlug_Type]: # <<<<<<<<<<<<<<
+ *
+ * """An object that allows one to show an image which other process created.
+ */
+struct PyElementaryPlug {
+ struct PyElementaryObject __pyx_base;
+};
+struct PyElementaryPhotocam {
+ struct PyElementaryObject __pyx_base;
+};
+
+/* "/home/gustavo/Development/svn/e-svn/trunk/BINDINGS/python/python-elementary/elementary/elementary.c_elementary_flipselector.pxi":66
+ * return _object_item_to_python(elm_flipselector_item_next_get(self.item))
+ *
+ * cdef public class FlipSelector(Object) [object PyElementaryFlipSelector, type PyElementaryFlipSelector_Type]: # <<<<<<<<<<<<<<
+ *
+ * """A flip selector is a widget to show a set of B{text} items, one
+ */
+struct PyElementaryFlipSelector {
+ struct PyElementaryObject __pyx_base;
+};
+
+#ifndef __PYX_HAVE_API__elementary__c_elementary
+
+#ifndef __PYX_EXTERN_C
+ #ifdef __cplusplus
+ #define __PYX_EXTERN_C extern "C"
+ #else
+ #define __PYX_EXTERN_C extern
+ #endif
+#endif
+
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryObject_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryGestureLayer_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryLayout_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryImage_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryButton_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryWindow_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryStandardWindow_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryInnerWindow_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryBackground_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryIcon_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryBox_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryFrame_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryFlip_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryScroller_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryLabel_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryTable_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryClock_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryHover_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryEntry_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryBubble_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPhoto_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryHoversel_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryToolbar_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryList_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementarySlider_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryNaviframe_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryRadio_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryCheck_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryGenlist_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryGengrid_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementarySpinner_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryNotify_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryFileselector_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryFileselectorEntry_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryFileselectorButton_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementarySeparator_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryProgressbar_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryMenu_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPanel_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryWeb_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryActionslider_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryCalendar_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryColorselector_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryIndex_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryCtxpopup_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryGrid_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryVideo_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPlayer_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryConformant_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryDayselector_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPanes_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryThumb_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryDiskselector_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryDatetime_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryMap_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryMapbuf_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryMultiButtonEntry_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementarySlideshow_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementarySegmentControl_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPopup_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPlug_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryPhotocam_Type;
+__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyElementaryFlipSelector_Type;
+
+#endif /* !__PYX_HAVE_API__elementary__c_elementary */
+
+#if PY_MAJOR_VERSION < 3
+PyMODINIT_FUNC initc_elementary(void);
+#else
+PyMODINIT_FUNC PyInit_c_elementary(void);
+#endif
+
+#endif /* !__PYX_HAVE__elementary__c_elementary */
diff --git a/elementary/elementary.c_elementary.pyx b/elementary/elementary.c_elementary.pyx
new file mode 100644
index 0000000..feb1fa8
--- /dev/null
+++ b/elementary/elementary.c_elementary.pyx
@@ -0,0 +1,430 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+"""
+What is Elementary?
+===================
+
+This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
+applications (yet). Small simple ones with simple needs.
+
+It is meant to make the programmers work almost brainless but give them lots
+of flexibility.
+
+To write an Elementary app, you can get started with the following::
+
+ from elementary import *
+
+ # create window(s) here and do any application init
+ run() # run main loop
+ shutdown() # after mainloop finishes running, shutdown
+
+
+There is a more advanced way of making use of the quicklaunch infrastructure
+in Elementary (which will not be covered here due to its more advanced
+nature).
+
+Now let's actually create an interactive "Hello World" gui that you can
+click the ok button to exit. It's more code because this now does something
+much more significant, but it's still very simple::
+
+ from elementary import *
+
+ def on_done(obj):
+ # quit the mainloop
+ exit()
+
+ class Spam:
+ def __init__(self):
+ # new window - do the usual and give it a name (hello) and title (Hello)
+ win = StandardWindow("hello", "Hello")
+ # when the user clicks "close" on a window there is a request to delete
+ win.callback_delete_request_add(on_done)
+
+ # add a box object - default is vertical. a box holds children in a row,
+ # either horizontally or vertically. nothing more.
+ box = Box(win)
+ # make the box horizontal
+ box.horizontal = True
+ # add object as a resize object for the window (controls window minimum
+ # size as well as gets resized if window is resized)
+ win.resize_object_add(box)
+ box.show()
+
+ # add a label widget, set the text and put it in the pad frame
+ lab = Label(win)
+ # set default text of the label
+ lab.text_set("Hello out there world!")
+ # pack the label at the end of the box
+ box.pack_end(lab)
+ lab.show()
+
+ # add an ok button
+ btn = Button(win)
+ # set default text of button to "OK"
+ btn.text_set("OK")
+ # pack the button at the end of the box
+ box.pack_end(btn)
+ btn.show()
+ # call on_done when button is clicked
+ btn.callback_clicked_add(on_done)
+
+ # now we are done, show the window
+ win.show()
+
+ if __name__ == "__main__":
+ food = Spam()
+ # run the mainloop and process events and callbacks
+ run()
+ shutdown()
+
+
+Acknowledgements
+================
+
+There is a lot that goes into making a widget set, and they don't happen out
+of nothing. It's like trying to make everyone everywhere happy, regardless
+of age, gender, race or nationality - and that is really tough. So thanks to
+people and organizations behind this, as listed below:
+
+@copyright: Elementary is Copyright (C) 2008-2012 Carsten Haitzler and various contributors (see AUTHORS)
+
+@license: Elementary is licensed LGPL-2.1 (see its COPYING file), the python bindings LGPL-3
+
+@author: U{Carsten Haitzler<mailto:raster@rasterman.com>}
+@author: U{Gustavo Sverzut Barbieri<mailto:barbieri@profusion.mobi>}
+@author: U{Cedric Bail<mailto:cedric.bail@free.fr>}
+@author: U{Vincent Torri<mailto:vtorri@univ-evry.fr>}
+@author: U{Daniel Kolesa<mailto:quaker66@gmail.com>}
+@author: U{Jaime Thomas<mailto:avi.thomas@gmail.com>}
+@author: U{Swisscom<http://www.swisscom.ch/>}
+@author: U{Christopher Michael<mailto:devilhorns@comcast.net>}
+@author: U{Marco Trevisan (Treviño)<mailto:mail@3v1n0.net>}
+@author: U{Michael Bouchaud<mailto:michael.bouchaud@gmail.com>}
+@author: U{Jonathan Atton (Watchwolf)<mailto:jonathan.atton@gmail.com>}
+@author: U{Brian Wang<mailto:brian.wang.0721@gmail.com>}
+@author: U{Mike Blumenkrantz (discomfitor/zmike)<mailto:michael.blumenkrantz@gmail.com>}
+@author: Samsung Electronics tbd
+@author: Samsung SAIT tbd
+@author: U{Brett Nash<mailto:nash@nash.id.au>}
+@author: U{Bruno Dilly<mailto:bdilly@profusion.mobi>}
+@author: U{Rafael Fonseca<mailto:rfonseca@profusion.mobi>}
+@author: U{Chuneon Park<mailto:hermet@hermet.pe.kr>}
+@author: U{Woohyun Jung<mailto:wh0705.jung@samsung.com>}
+@author: U{Jaehwan Kim<mailto:jae.hwan.kim@samsung.com>}
+@author: U{Wonguk Jeong<mailto:wonguk.jeong@samsung.com>}
+@author: U{Leandro A. F. Pereira<mailto:leandro@profusion.mobi>}
+@author: U{Helen Fornazier<mailto:helen.fornazier@profusion.mobi>}
+@author: U{Gustavo Lima Chaves<mailto:glima@profusion.mobi>}
+@author: U{Fabiano Fidêncio<mailto:fidencio@profusion.mobi>}
+@author: U{Tiago Falcão<mailto:tiago@profusion.mobi>}
+@author: U{Otavio Pontes<mailto:otavio@profusion.mobi>}
+@author: U{Viktor Kojouharov<mailto:vkojouharov@gmail.com>}
+@author: U{Daniel Juyung Seo (SeoZ)<mailto:juyung.seo@samsung.com>} (U{alt<mailto:seojuyung2@gmail.com>})
+@author: U{Sangho Park <mailto:sangho.g.park@samsung.com>} (U{alt<mailto:gouache95@gmail.com>})
+@author: U{Rajeev Ranjan (Rajeev) <mailto:rajeev.r@samsung.com>} (U{alt<mailto:rajeev.jnnce@gmail.com>})
+@author: U{Seunggyun Kim <mailto:sgyun.kim@samsung.com>} (U{alt<mailto:tmdrbs@gmail.com>})
+@author: U{Sohyun Kim <mailto:anna1014.kim@samsung.com>} (U{alt<mailto:sohyun.anna@gmail.com>})
+@author: U{Jihoon Kim<mailto:jihoon48.kim@samsung.com>}
+@author: U{Jeonghyun Yun (arosis)<mailto:jh0506.yun@samsung.com>}
+@author: U{Tom Hacohen<mailto:tom@stosb.com>}
+@author: U{Aharon Hillel<mailto:a.hillel@samsung.com>}
+@author: U{Jonathan Atton (Watchwolf)<mailto:jonathan.atton@gmail.com>}
+@author: U{Shinwoo Kim<mailto:kimcinoo@gmail.com>}
+@author: U{Govindaraju SM <mailto:govi.sm@samsung.com>} (U{alt<mailto:govism@gmail.com>})
+@author: U{Prince Kumar Dubey <mailto:prince.dubey@samsung.com>} (U{alt<mailto:prince.dubey@gmail.com>})
+@author: U{Sung W. Park<mailto:sungwoo@gmail.com>}
+@author: U{Thierry el Borgi<mailto:thierry@substantiel.fr>}
+@author: U{Shilpa Singh <mailto:shilpa.singh@samsung.com>} (U{alt<mailto:shilpasingh.o@gmail.com>})
+@author: U{Chanwook Jung<mailto:joey.jung@samsung.com>}
+@author: U{Hyoyoung Chang<mailto:hyoyoung.chang@samsung.com>}
+@author: U{Guillaume "Kuri" Friloux<mailto:guillaume.friloux@asp64.com>}
+@author: U{Kim Yunhan<mailto:spbear@gmail.com>}
+@author: U{Bluezery<mailto:ohpowel@gmail.com>}
+@author: U{Nicolas Aguirre<mailto:aguirre.nicolas@gmail.com>}
+@author: U{Sanjeev BA<mailto:iamsanjeev@gmail.com>}
+@author: U{Hyunsil Park<mailto:hyunsil.park@samsung.com>}
+@author: U{Goun Lee<mailto:gouni.lee@samsung.com>}
+@author: U{Mikael Sans<mailto:sans.mikael@gmail.com>}
+@author: U{Doyoun Kang<mailto:doyoun.kang@samsung.com>}
+@author: U{M.V.K. Sumanth <mailto:sumanth.m@samsung.com>} (U{alt<mailto:mvksumanth@gmail.com>})
+@author: U{Jérôme Pinot<mailto:ngc891@gmail.com>}
+@author: U{Davide Andreoli (davemds)<mailto:dave@gurumeditation.it>}
+@author: U{Michal Pakula vel Rutka<mailto:m.pakula@samsung.com>}
+
+@contact: U{Enlightenment developer mailing list<mailto:enlightenment-devel@lists.sourceforge.net>}
+
+@group Infrastructure: Canvas, Configuration, ElementaryObjectMeta,
+ EntryAnchor*, Object, Theme
+
+@group Widgets: Actionslider, Background, Box, Bubble, Button, Calendar,
+ Check, Clock, Colorselector, Conformant, Ctxpopup, Dayselector,
+ Diskselector, Entry, Fileselector*, Flip, Frame, Gengrid, Genlist, Grid,
+ Hover, Hoversel, Icon, Image, Index, InnerWindow, Label, Layout, List,
+ Map, Mapbuf, Menu, MultiButtonEntry, Naviframe, Notify, Panel, Panes,
+ Photo, Photocam, Player, Plug, Popup, Progressbar, Radio, Scroller,
+ SegmentControl, Separator, Slider, Slideshow, Spinner, StandardWindow,
+ Table, Thumb, Toolbar, Transit, Video, Web, Window
+
+@group Widgets' items: *Item, *ItemClass, CalendarMark, MapName,
+ MapOverlay*, MapRoute
+
+"""
+
+from cpython cimport PyObject, Py_INCREF, Py_DECREF
+from cpython cimport PyMem_Malloc, PyMem_Free
+from cpython cimport bool
+#cimport evas.c_evas as c_evas
+from evas.c_evas cimport Object_from_instance
+
+import sys
+#import evas.c_evas
+from evas.c_evas import _object_mapping_register
+from evas.c_evas import _object_mapping_unregister
+import traceback
+import logging
+
+logging.basicConfig(level=logging.DEBUG)
+log = logging.getLogger("elementary")
+
+cdef int PY_REFCOUNT(object o):
+ cdef PyObject *obj = <PyObject *>o
+ return obj.ob_refcnt
+
+cdef _METHOD_DEPRECATED(self, replacement=None, message=None):
+ stack = traceback.extract_stack()
+ caller = stack[-1]
+ caller_module, caller_line, caller_name, caller_code = caller
+ if caller_code:
+ msg = "%s:%s %s (class %s) is deprecated." % \
+ (caller_module, caller_line, caller_code,
+ self.__class__.__name__ if self else 'None')
+ else:
+ msg = "%s:%s %s.%s() is deprecated." % \
+ (caller_module, caller_line,
+ self.__class__.__name__ if self else 'None', caller_name)
+ if replacement:
+ msg += " Use %s() instead." % (replacement,)
+ if message:
+ msg += " " + message
+ log.warn(msg)
+
+cdef inline unicode _touni(char* s):
+ return s.decode('UTF-8', 'strict')
+
+cdef inline unicode _ctouni(const_char_ptr s):
+ return s.decode('UTF-8', 'strict')
+
+cdef inline char* _fruni(s):
+ cdef char* c_string
+ if isinstance(s, unicode):
+ string = s.encode('UTF-8')
+ c_string = string
+ elif isinstance(s, str):
+ c_string = s
+ elif s is None:
+ return NULL
+ else:
+ raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__))
+ return c_string
+
+cdef inline const_char_ptr _cfruni(s):
+ cdef const_char_ptr c_string
+ if isinstance(s, unicode):
+ string = s.encode('UTF-8')
+ c_string = string
+ elif isinstance(s, str):
+ c_string = s
+ elif s is None:
+ return NULL
+ else:
+ raise TypeError("Expected str or unicode object, got %s" % (type(s).__name__))
+ return c_string
+
+def init():
+ cdef int argc, i, arg_len
+ cdef char **argv, *arg
+ argc = len(sys.argv)
+ argv = <char **>PyMem_Malloc(argc * sizeof(char *))
+ for i from 0 <= i < argc:
+ arg = _fruni(sys.argv[i])
+ arg_len = len(arg)
+ argv[i] = <char *>PyMem_Malloc(arg_len + 1)
+ memcpy(argv[i], arg, arg_len + 1)
+
+ elm_init(argc, argv)
+
+def shutdown():
+ elm_shutdown()
+
+def run():
+ with nogil:
+ elm_run()
+
+def exit():
+ elm_exit()
+
+def policy_set(policy, value):
+ """Set new policy value.
+
+ This will emit the ecore event ELM_EVENT_POLICY_CHANGED in the main
+ loop giving the event information Elm_Event_Policy_Changed with
+ policy identifier, new and old values.
+
+ @param policy: policy identifier as in Elm_Policy.
+ @param value: policy value, depends on identifiers, usually there is
+ an enumeration with the same prefix as the policy name, for
+ example: ELM_POLICY_QUIT and Elm_Policy_Quit
+ (ELM_POLICY_QUIT_NONE, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED).
+
+ @return: True on success or False on error (right
+ now just invalid policy identifier, but in future policy
+ value might be enforced).
+
+ """
+ return elm_policy_set(policy, value)
+
+def policy_get(policy):
+ """Gets the policy value set for given identifier.
+
+ @param policy: policy identifier as in Elm_Policy.
+
+ @return: policy value. Will be 0 if policy identifier is invalid.
+
+ """
+ return elm_policy_get(policy)
+
+def coords_finger_size_adjust(times_w, w, times_h, h):
+ cdef Evas_Coord width
+ cdef Evas_Coord height
+ width = w
+ height = h
+ elm_coords_finger_size_adjust(times_w, &width, times_h, &height)
+
+cdef object _elm_widget_type_mapping
+
+_elm_widget_type_mapping = {}
+
+cdef _elm_widget_type_register(name, cls):
+ if name in _elm_widget_type_mapping:
+ raise ValueError("object type name '%s' already registered." % name)
+ _elm_widget_type_mapping[name] = cls
+ # TODO: Widget types become evas object types as they are being ported
+ # to the new model. The class resolver can be removed when it's done.
+ _object_mapping_register("elm_"+name, cls)
+
+cdef _elm_widget_type_unregister(name):
+ _elm_widget_type_mapping.pop(name)
+ # TODO: Widget types become evas object types as they are being ported
+ # to the new model. The class resolver can be removed when it's done.
+ _object_mapping_unregister("elm_"+name)
+
+cdef extern from "Python.h":
+ ctypedef struct PyTypeObject:
+ PyTypeObject *ob_type
+
+cdef void _install_metaclass(PyTypeObject *ctype, object metaclass):
+ Py_INCREF(metaclass)
+ ctype.ob_type = <PyTypeObject*>metaclass
+
+class ElementaryObjectMeta(type):
+ def __init__(cls, name, bases, dict_):
+ type.__init__(cls, name, bases, dict_)
+ cls._fetch_evt_callbacks()
+
+ def _fetch_evt_callbacks(cls):
+ if "__evas_event_callbacks__" in cls.__dict__:
+ return
+
+ cls.__evas_event_callbacks__ = []
+ append = cls.__evas_event_callbacks__.append
+
+ for name in dir(cls):
+ val = getattr(cls, name)
+ if not callable(val) or not hasattr(val, "evas_event_callback"):
+ continue
+ evt = getattr(val, "evas_event_callback")
+ append((name, evt))
+
+include "elementary.c_elementary_configuration.pxi"
+include "elementary.c_elementary_need.pxi"
+include "elementary.c_elementary_theme.pxi"
+include "elementary.c_elementary_object.pxi"
+include "elementary.c_elementary_object_item.pxi"
+include "elementary.c_elementary_gesture_layer.pxi"
+include "elementary.c_elementary_layout_class.pxi"
+include "elementary.c_elementary_layout.pxi"
+include "elementary.c_elementary_image.pxi"
+include "elementary.c_elementary_button.pxi"
+include "elementary.c_elementary_window.pxi"
+include "elementary.c_elementary_innerwindow.pxi"
+include "elementary.c_elementary_background.pxi"
+include "elementary.c_elementary_icon.pxi"
+include "elementary.c_elementary_box.pxi"
+include "elementary.c_elementary_frame.pxi"
+include "elementary.c_elementary_flip.pxi"
+include "elementary.c_elementary_scroller.pxi"
+include "elementary.c_elementary_label.pxi"
+include "elementary.c_elementary_table.pxi"
+include "elementary.c_elementary_clock.pxi"
+include "elementary.c_elementary_hover.pxi"
+include "elementary.c_elementary_entry.pxi"
+include "elementary.c_elementary_bubble.pxi"
+include "elementary.c_elementary_photo.pxi"
+include "elementary.c_elementary_hoversel.pxi"
+include "elementary.c_elementary_toolbar.pxi"
+include "elementary.c_elementary_list.pxi"
+include "elementary.c_elementary_slider.pxi"
+include "elementary.c_elementary_naviframe.pxi"
+include "elementary.c_elementary_radio.pxi"
+include "elementary.c_elementary_check.pxi"
+include "elementary.c_elementary_genlist.pxi"
+include "elementary.c_elementary_gengrid.pxi"
+include "elementary.c_elementary_spinner.pxi"
+include "elementary.c_elementary_notify.pxi"
+include "elementary.c_elementary_fileselector.pxi"
+include "elementary.c_elementary_fileselector_entry.pxi"
+include "elementary.c_elementary_fileselector_button.pxi"
+include "elementary.c_elementary_separator.pxi"
+include "elementary.c_elementary_progressbar.pxi"
+include "elementary.c_elementary_menu.pxi"
+include "elementary.c_elementary_panel.pxi"
+include "elementary.c_elementary_web.pxi"
+include "elementary.c_elementary_actionslider.pxi"
+include "elementary.c_elementary_calendar.pxi"
+include "elementary.c_elementary_colorselector.pxi"
+include "elementary.c_elementary_index.pxi"
+include "elementary.c_elementary_ctxpopup.pxi"
+include "elementary.c_elementary_grid.pxi"
+include "elementary.c_elementary_video.pxi"
+include "elementary.c_elementary_conformant.pxi"
+include "elementary.c_elementary_dayselector.pxi"
+include "elementary.c_elementary_panes.pxi"
+include "elementary.c_elementary_thumb.pxi"
+include "elementary.c_elementary_diskselector.pxi"
+include "elementary.c_elementary_datetime.pxi"
+include "elementary.c_elementary_map.pxi"
+include "elementary.c_elementary_mapbuf.pxi"
+include "elementary.c_elementary_multibuttonentry.pxi"
+include "elementary.c_elementary_transit.pxi"
+include "elementary.c_elementary_slideshow.pxi"
+include "elementary.c_elementary_segment_control.pxi"
+include "elementary.c_elementary_popup.pxi"
+include "elementary.c_elementary_plug.pxi"
+include "elementary.c_elementary_photocam.pxi"
+include "elementary.c_elementary_flipselector.pxi"
diff --git a/elementary/elementary.c_elementary_actionslider.pxi b/elementary/elementary.c_elementary_actionslider.pxi
new file mode 100644
index 0000000..6480f70
--- /dev/null
+++ b/elementary/elementary.c_elementary_actionslider.pxi
@@ -0,0 +1,196 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Actionslider(LayoutClass) [object PyElementaryActionslider, type PyElementaryActionslider_Type]:
+
+ """An actionslider is a switcher for two or three labels with
+ customizable magnet properties.
+
+ The user drags and releases the indicator, to choose a label.
+
+ Labels can occupy the following positions.
+ - Left
+ - Right
+ - Center
+
+ Positions can be enabled or disabled.
+
+ Magnets can be set on the above positions.
+
+ When the indicator is released, it will move to its nearest "enabled and
+ magnetized" position.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - B{selected} - when user selects an enabled position (the label is
+ passed as event info)".
+ - B{pos_changed} - when the indicator reaches any of the
+ positions("left", "right" or "center").
+
+ Default text parts of the actionslider widget that you can use for are:
+ - B{indicator} - An indicator label of the actionslider
+ - B{left} - A left label of the actionslider
+ - B{right} - A right label of the actionslider
+ - B{center} - A center label of the actionslider
+
+ @note: By default all positions are set as enabled.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_actionslider_add(parent.obj))
+
+ def selected_label_get(self):
+ """Get actionslider selected label.
+
+ @return: The selected label.
+ @rtype: string
+
+ """
+ return elm_actionslider_selected_label_get(self.obj)
+
+ property selected_label:
+ """Selected label.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return elm_actionslider_selected_label_get(self.obj)
+
+ def indicator_pos_set(self, pos):
+ """Set actionslider indicator position.
+
+ @param pos: The position of the indicator.
+ @type pos: Elm_Actionslider_Pos
+
+ """
+ elm_actionslider_indicator_pos_set(self.obj, pos)
+
+ def indicator_pos_get(self):
+ """Get actionslider indicator position.
+
+ @return: The position of the indicator.
+ @rtype: Elm_Actionslider_Pos
+
+ """
+ return elm_actionslider_indicator_pos_get(self.obj)
+
+ property indicator_pos:
+ """Indicator position.
+
+ @type: Elm_Actionslider_Pos
+
+ """
+ def __get__(self):
+ return elm_actionslider_indicator_pos_get(self.obj)
+ def __set__(self, pos):
+ elm_actionslider_indicator_pos_set(self.obj, pos)
+
+ def magnet_pos_set(self, pos):
+ """Set actionslider magnet position. To make multiple positions
+ magnets C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |
+ ELM_ACTIONSLIDER_RIGHT})
+
+ @param pos: Bit mask indicating the magnet positions.
+ @type pos: Elm_Actionslider_Pos
+
+ """
+ elm_actionslider_magnet_pos_set(self.obj, pos)
+
+ def magnet_pos_get(self):
+ """Get actionslider magnet position.
+
+ @return: The positions with magnet property.
+ @rtype: Elm_Actionslider_Pos
+
+ """
+ return elm_actionslider_magnet_pos_get(self.obj)
+
+ property magnet_pos:
+ """The actionslider magnet position. To make multiple positions
+ magnets C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |
+ ELM_ACTIONSLIDER_RIGHT})
+
+ @type: Elm_Actionslider_Pos
+
+ """
+ def __get__(self):
+ return self.magnet_pos_get()
+ def __set__(self, pos):
+ self.magnet_pos_set(pos)
+
+ def enabled_pos_set(self, pos):
+ """Set actionslider enabled position. To set multiple positions as
+ enabled C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |
+ ELM_ACTIONSLIDER_RIGHT}).
+
+ @note: All the positions are enabled by default.
+
+ @param pos: Bit mask indicating the enabled positions.
+ @type pos: Elm_Actionslider_Pos
+
+ """
+ elm_actionslider_enabled_pos_set(self.obj, pos)
+
+ def enabled_pos_get(self):
+ """Get actionslider enabled position.
+
+ @return: The enabled positions.
+ @rtype: Elm_Actionslider_Pos
+
+ """
+ return elm_actionslider_enabled_pos_get(self.obj)
+
+ property enabled_pos:
+ """The actionslider enabled position. To set multiple positions as
+ enabled C{or} them together(e.g.: C{ELM_ACTIONSLIDER_LEFT |
+ ELM_ACTIONSLIDER_RIGHT}).
+
+ @note: All the positions are enabled by default.
+
+ @type: Elm_Actionslider_Pos
+
+ """
+ def __get__(self):
+ return elm_actionslider_enabled_pos_get(self.obj)
+ def __set__(self, pos):
+ elm_actionslider_enabled_pos_set(self.obj, pos)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """Called when user selects an enabled position. The label is passed
+ as event info."""
+ self._callback_add_full("selected", _cb_string_conv, func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del_full("selected", _cb_string_conv, func)
+
+ def callback_pos_changed_add(self, func, *args, **kwargs):
+ """Called when the indicator reaches any of the positions B{left},
+ B{right} or B{center}. The label is passed as event info."""
+ self._callback_add_full("pos_changed", _cb_string_conv, func, *args, **kwargs)
+
+ def callback_pos_changed_del(self, func):
+ self._callback_del_full("pos_changed", _cb_string_conv, func)
+
+_elm_widget_type_register("actionslider", Actionslider)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryActionslider_Type # hack to install metaclass
+_install_metaclass(&PyElementaryActionslider_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_background.pxi b/elementary/elementary.c_elementary_background.pxi
new file mode 100644
index 0000000..46fa658
--- /dev/null
+++ b/elementary/elementary.c_elementary_background.pxi
@@ -0,0 +1,280 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Background(LayoutClass) [object PyElementaryBackground, type PyElementaryBackground_Type]:
+
+ """Background widget object
+
+ Used for setting a solid color, image or Edje group as a background to a
+ window or any container object.
+
+ The background widget is used for setting (solid) background decorations
+ to a window (unless it has transparency enabled) or to any container
+ object. It works just like an image, but has some properties useful to a
+ background, like setting it to tiled, centered, scaled or stretched.
+
+ Default content parts of the bg widget that you can use for are:
+ - B{overlay} - overlay of the bg
+
+ """
+
+ def __init__(self, evasObject parent):
+ """Initialize the background
+
+ @param parent: Parent window
+ @type parent: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_bg_add(parent.obj))
+
+ def file_set(self, filename, group = ""):
+ """Set the file (image or edje collection) to give life for the background.
+
+ This sets the image file used in the background object. If the image
+ comes from an Edje group, it will be stretched to completely fill
+ the background object. If it comes from a traditional image file, it
+ will by default be centered in this widget's are (thus retaining its
+ aspect), what could lead to some parts being not visible. You may
+ change the mode of exhibition for a real image file with
+ L{option_set()}.
+
+ @note: Once the image is set, a previously set one will be deleted,
+ even if B{file} is C{None}.
+
+ @note: This will only affect the contents of one of the background's
+ swallow spots, namely C{"elm.swallow.background"}. If you want to
+ achieve the L{Layout}'s file setting behavior, you'll have to call
+ that method on this object.
+
+ @param file: The file path
+ @type file: string
+ @param group: Optional key (group in Edje) within the file
+ @type group: string
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group)))
+
+ def file_get(self):
+ """Get the file (image or edje) used for the background
+
+ @return: The tuple (filename, group)
+ @rtype: tuple
+
+ """
+ cdef const_char_ptr filename, group
+
+ elm_bg_file_get(self.obj, &filename, &group)
+ if filename == NULL:
+ filename = ""
+ if group == NULL:
+ group = ""
+ return (_ctouni(filename), _ctouni(group))
+
+ property file:
+ """The file (image or edje collection) giving life for the background.
+
+ This property contains the image file name (and edje group) used in
+ the background object. If the image comes from an Edje group, it
+ will be stretched to completely fill the background object. If it
+ comes from a traditional image file, it will by default be centered
+ in this widget's are (thus retaining its aspect), what could lead to
+ some parts being not visible. You may change the mode of exhibition
+ for a real image file with L{option}.
+
+ @note: Once the image is set, a previously set one will be deleted,
+ even if B{file} is C{None}.
+
+ @note: This will only affect the contents of one of the background's
+ swallow spots, namely C{"elm.swallow.background"}. If you want to
+ achieve the L{Layout}'s file setting behavior, you'll have to call
+ that method on this object.
+
+ @type: string file, optional string group
+
+ """
+ def __get__(self):
+ cdef const_char_ptr filename, group
+ elm_bg_file_get(self.obj, &filename, &group)
+ if filename == NULL:
+ filename = ""
+ if group == NULL:
+ group = ""
+ return (_ctouni(filename), _ctouni(group))
+
+ def __set__(self, value):
+ if isinstance(value, tuple) or isinstance(value, list):
+ filename, group = value
+ else:
+ filename = value
+ group = ""
+ elm_bg_file_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ def option_set(self, option):
+ """Set the mode of display for a given background widget's image.
+
+ This sets how the background widget will display its image. This
+ will only work if L{file_set()} was previously called with
+ an image file. The image can be displayed tiled, scaled,
+ centered or stretched.
+
+ @param option: The desired background option
+ @type option: Elm_Bg_Option
+
+ """
+ elm_bg_option_set(self.obj, option)
+
+ def option_get(self):
+ """Get the mode of display for a given background widget's image.
+
+ @return: The image displaying mode in use for obj or ELM_BG_OPTION_LAST
+ on errors.
+ @rtype: Elm_Bg_Option
+
+ """
+ return elm_bg_option_get(self.obj)
+
+ property option:
+ """The mode of display for a given background widget's image.
+
+ This property reflects how the background widget will display its
+ image. This will only work if L{file} was previously called with an
+ image file. The image can be displayed tiled, scaled, centered or
+ stretched.
+
+ @type: Elm_Bg_Option
+
+ """
+ def __get__(self):
+ return elm_bg_option_get(self.obj)
+
+ def __set__(self, value):
+ elm_bg_option_set(self.obj, value)
+
+ def color_set(self, r, g, b):
+ """Set the color on a given background widget.
+
+ This sets the color used for the background rectangle, in RGB
+ format. Each color component's range is from 0 to 255.
+
+ @note: You probably only want to use this function if you haven't
+ previously called L{file_set()}, so that you just want a solid
+ color background.
+
+ @param r: The red color component's value
+ @type r: int
+ @param g: The green color component's value
+ @type g: int
+ @param b: The blue color component's value
+ @type b: int
+
+ """
+ elm_bg_color_set(self.obj, r, g, b)
+
+ def color_get(self):
+ """Get the color set on a given background widget.
+
+ @return: The tuple (r, g, b)
+ @rtype: tuple of ints
+
+ """
+ cdef int r, g, b
+
+ elm_bg_color_get(self.obj, &r, &g, &b)
+ return (r, g, b)
+
+ property color:
+ """The color on a given background widget.
+
+ This property reflects the color used for the background rectangle,
+ in RGB format. Each color component's range is from 0 to 255.
+
+ @note: You probably only want to use this property if you haven't
+ previously set L{file}, so that you just want a solid color
+ background.
+
+ @type: (int r, int g, int b)
+
+ """
+ def __get__(self):
+ cdef int r, g, b
+ elm_bg_color_get(self.obj, &r, &g, &b)
+ return (r, g, b)
+
+ def __set__(self, value):
+ cdef int r, g, b
+ r, g, b = value
+ elm_bg_color_set(self.obj, r, g, b)
+
+ def load_size_set(self, w, h):
+ """Set the size of the pixmap representation of the image set on a given
+ background widget.
+
+ This function sets a new size for pixmap representation of the
+ given bg image. It allows for the image to be loaded already in the
+ specified size, reducing the memory usage and load time (for
+ example, when loading a big image file with its load size set to a
+ smaller size)
+
+ @note: This is just a hint for the underlying system. The real size
+ of the pixmap may differ depending on the type of image being
+ loaded, being bigger than requested.
+
+ @warning: This function just makes sense if an image file was set with
+ L{file_set()}.
+
+ @param w: The new width of the image pixmap representation.
+ @type w: Evas_Coord
+ @param h: The new height of the image pixmap representation.
+ @type h: Evas_Coord
+
+ """
+ elm_bg_load_size_set(self.obj, w, h)
+
+ property load_size:
+ """The size of the pixmap representation of the image set on a given
+ background widget.
+
+ This property sets a new size for pixmap representation of the
+ given bg image. It allows for the image to be loaded already in the
+ specified size, reducing the memory usage and load time (for
+ example, when loading a big image file with its load size set to a
+ smaller size)
+
+ @note: This is just a hint for the underlying system. The real size
+ of the pixmap may differ depending on the type of image being
+ loaded, being bigger than requested.
+
+ @warning: This function just makes sense if an image file was set with
+ L{file}.
+
+ @type: (Evas_Coord w, Evas_Coord h)
+
+ """
+ def __set__(self, value):
+ cdef Evas_Coord w, h
+ w, h = value
+ elm_bg_load_size_set(self.obj, w, h)
+
+_elm_widget_type_register("bg", Background)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryBackground_Type # hack to install metaclass
+_install_metaclass(&PyElementaryBackground_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_box.pxi b/elementary/elementary.c_elementary_box.pxi
new file mode 100644
index 0000000..c12f5b5
--- /dev/null
+++ b/elementary/elementary.c_elementary_box.pxi
@@ -0,0 +1,588 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+ctypedef enum Elm_Box_CLayout:
+ ELM_BOX_LAYOUT_HORIZONTAL
+ ELM_BOX_LAYOUT_VERTICAL
+ ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL
+ ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL
+ ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL
+ ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL
+ ELM_BOX_LAYOUT_FLOW_HORIZONTAL
+ ELM_BOX_LAYOUT_FLOW_VERTICAL
+ ELM_BOX_LAYOUT_STACK
+
+cdef Evas_Object_Box_Layout _py_elm_box_layout_resolv(int layout) with gil:
+ if layout == ELM_BOX_LAYOUT_HORIZONTAL:
+ return evas_object_box_layout_horizontal
+ elif layout == ELM_BOX_LAYOUT_VERTICAL:
+ return evas_object_box_layout_vertical
+ elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL:
+ return evas_object_box_layout_homogeneous_vertical
+ elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL:
+ return evas_object_box_layout_homogeneous_horizontal
+ elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL:
+ return evas_object_box_layout_homogeneous_max_size_horizontal
+ elif layout == ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL:
+ return evas_object_box_layout_homogeneous_max_size_vertical
+ elif layout == ELM_BOX_LAYOUT_FLOW_HORIZONTAL:
+ return evas_object_box_layout_flow_horizontal
+ elif layout == ELM_BOX_LAYOUT_FLOW_VERTICAL:
+ return evas_object_box_layout_flow_vertical
+ elif layout == ELM_BOX_LAYOUT_STACK:
+ return evas_object_box_layout_stack
+ return evas_object_box_layout_vertical
+
+
+cdef public class Box(Object) [object PyElementaryBox, type PyElementaryBox_Type]:
+
+ """A box arranges objects in a linear fashion, governed by a layout function
+ that defines the details of this arrangement.
+
+ By default, the box will use an internal function to set the layout to
+ a single row, either vertical or horizontal. This layout is affected
+ by a number of parameters, such as the homogeneous flag set by
+ L{homogeneous_set()}, the values given by L{padding_set()} and
+ L{align_set()} and the hints set to each object in the box.
+
+ For this default layout, it's possible to change the orientation with
+ L{horizontal_set()}. The box will start in the vertical orientation,
+ placing its elements ordered from top to bottom. When horizontal is set,
+ the order will go from left to right. If the box is set to be
+ homogeneous, every object in it will be assigned the same space, that
+ of the largest object. Padding can be used to set some spacing between
+ the cell given to each object. The alignment of the box, set with
+ L{align_set()}, determines how the bounding box of all the elements
+ will be placed within the space given to the box widget itself.
+
+ The size hints of each object also affect how they are placed and sized
+ within the box. L{size_hint_min_set()} will give the minimum
+ size the object can have, and the box will use it as the basis for all
+ latter calculations. Elementary widgets set their own minimum size as
+ needed, so there's rarely any need to use it manually.
+
+ C{size_hint_weight_set()}, when not in homogeneous mode, is
+ used to tell whether the object will be allocated the minimum size it
+ needs or if the space given to it should be expanded. It's important
+ to realize that expanding the size given to the object is not the same
+ thing as resizing the object. It could very well end being a small
+ widget floating in a much larger empty space. If not set, the weight
+ for objects will normally be 0.0 for both axis, meaning the widget will
+ not be expanded. To take as much space possible, set the weight to
+ C{EVAS_HINT_EXPAND} (defined to 1.0) for the desired axis to expand.
+
+ Besides how much space each object is allocated, it's possible to control
+ how the widget will be placed within that space using
+ L{size_hint_align_set()}. By default, this value will be 0.5
+ for both axis, meaning the object will be centered, but any value from
+ 0.0 (left or top, for the C{x} and C{y} axis, respectively) to 1.0
+ (right or bottom) can be used. The special value C{EVAS_HINT_FILL}, which
+ is -1.0, means the object will be resized to fill the entire space it
+ was allocated.
+
+ In addition, customized functions to define the layout can be set, which
+ allow the application developer to organize the objects within the box
+ in any number of ways.
+
+ The special L{layout_transition()} function can be used
+ to switch from one layout to another, animating the motion of the
+ children of the box.
+
+ @note: Objects should not be added to box objects using _add() calls.
+
+ """
+
+ def __init__(self, evasObject parent):
+ """Add a new box to the parent
+
+ By default, the box will be in vertical mode and non-homogeneous.
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: The new object or None if it cannot be created
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_box_add(parent.obj))
+
+ def horizontal_set(self, horizontal):
+ """Set the horizontal orientation.
+
+ By default, box object arranges their contents vertically from top to
+ bottom.
+ By calling this function with C{horizontal} as C{True}, the box will
+ become horizontal, arranging contents from left to right.
+
+ @note: This flag is ignored if a custom layout function is set.
+
+ @param horizontal: The horizontal flag (C{True} = horizontal,
+ C{False} = vertical)
+ @type horizontal: bool
+
+ """
+ elm_box_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """Get the horizontal orientation.
+
+ @return: C{True} if the box is set to horizontal mode, C{False} otherwise.
+ @rtype: bool
+
+ """
+ return elm_box_horizontal_get(self.obj)
+
+ property horizontal:
+ """The horizontal orientation.
+
+ By default, box object arranges their contents vertically from top to
+ bottom. By setting this property as C{True}, the box will become
+ horizontal, arranging contents from left to right.
+
+ @note: This flag is ignored if a custom layout function is set.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_box_horizontal_get(self.obj)
+ def __set__(self, value):
+ elm_box_horizontal_set(self.obj, value)
+
+ def homogeneous_set(self, homogeneous):
+ """Set the box to arrange its children homogeneously
+
+ If enabled, homogeneous layout makes all items the same size, according
+ to the size of the largest of its children.
+
+ @note: This flag is ignored if a custom layout function is set.
+
+ @param homogeneous: The homogeneous flag
+ @type homogeneous: bool
+
+ """
+ elm_box_homogeneous_set(self.obj, homogeneous)
+
+ def homogeneous_get(self):
+ """Get whether the box is using homogeneous mode or not
+
+ @return: C{True} if it's homogeneous, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_box_homogeneous_get(self.obj))
+
+ property homogeneous:
+ """Whether the box is using homogeneous mode or not
+
+ If enabled, homogeneous layout makes all items the same size, according
+ to the size of the largest of its children.
+
+ @note: This flag is ignored if a custom layout function is set.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_box_homogeneous_get(self.obj))
+
+ def __set__(self, value):
+ elm_box_homogeneous_set(self.obj, value)
+
+ def pack_start(self, evasObject obj):
+ """Add an object to the beginning of the pack list.
+
+ Pack C{subobj} into the box, placing it first in the list of
+ children objects. The actual position the object will get on screen
+ depends on the layout used. If no custom layout is set, it will be at
+ the top or left, depending if the box is vertical or horizontal,
+ respectively.
+
+ @param subobj: The object to add to the box
+ @type subobj: L{Object}
+
+ @see: L{pack_end()}
+ @see: L{pack_before()}
+ @see: L{pack_after()}
+ @see: L{unpack()}
+ @see: L{unpack_all()}
+ @see: L{clear()}
+
+ """
+ elm_box_pack_start(self.obj, obj.obj)
+
+ def pack_end(self, evasObject obj):
+ """Add an object at the end of the pack list.
+
+ Pack C{subobj} into the box, placing it last in the list of
+ children objects. The actual position the object will get on screen
+ depends on the layout used. If no custom layout is set, it will be at
+ the bottom or right, depending if the box is vertical or horizontal,
+ respectively.
+
+ @param subobj: The object to add to the box
+ @type subobj: L{Object}
+
+ @see: L{pack_start()}
+ @see: L{pack_before()}
+ @see: L{pack_after()}
+ @see: L{unpack()}
+ @see: L{unpack_all()}
+ @see: L{clear()}
+
+ """
+ elm_box_pack_end(self.obj, obj.obj)
+
+ def pack_before(self, evasObject obj, evasObject before):
+ """Adds an object to the box before the indicated object.
+
+ This will add the C{subobj} to the box indicated before the object
+ indicated with C{before}. If C{before} is not already in the box, results
+ are undefined. Before means either to the left of the indicated object or
+ above it depending on orientation.
+
+ @param subobj: The object to add to the box
+ @type subobj: L{Object}
+ @param before: The object before which to add it
+ @type before: L{Object}
+
+ @see: L{pack_start()}
+ @see: L{pack_end()}
+ @see: L{pack_after()}
+ @see: L{unpack()}
+ @see: L{unpack_all()}
+ @see: L{clear()}
+
+ """
+ elm_box_pack_before(self.obj, obj.obj, before.obj)
+
+ def pack_after(self, evasObject obj, evasObject after):
+ """Adds an object to the box after the indicated object.
+
+ This will add the C{subobj} to the box indicated after the object
+ indicated with C{after}. If C{after} is not already in the box, results
+ are undefined. After means either to the right of the indicated object or
+ below it depending on orientation.
+
+ @param subobj: The object to add to the box
+ @type subobj: L{Object}
+ @param after: The object after which to add it
+ @type after: L{Object}
+
+ @see: L{pack_start()}
+ @see: L{pack_end()}
+ @see: L{pack_before()}
+ @see: L{unpack()}
+ @see: L{unpack_all()}
+ @see: L{clear()}
+
+ """
+ elm_box_pack_after(self.obj, obj.obj, after.obj)
+
+ def clear(self):
+ """Clear the box of all children
+
+ Remove all the elements contained by the box, deleting the respective
+ objects.
+
+ @see: L{unpack()}
+ @see: L{unpack_all()}
+
+ """
+ elm_box_clear(self.obj)
+
+ def unpack(self, evasObject obj):
+ """Unpack a box item.
+
+ Remove the object given by C{subobj} from the box without
+ deleting it.
+
+ @param subobj: The object to unpack
+ @type subobj: L{Object}
+
+ @see: L{unpack_all()}
+ @see: L{clear()}
+
+ """
+ elm_box_unpack(self.obj, obj.obj)
+
+ def unpack_all(self):
+ """Remove all items from the box, without deleting them.
+
+ Clear the box from all children, but don't delete the respective objects.
+ If no other references of the box children exist, the objects will never
+ be deleted, and thus the application will leak the memory. Make sure
+ when using this function that you hold a reference to all the objects
+ in the box.
+
+ @see: L{clear()}
+ @see: L{unpack()}
+
+ """
+ elm_box_unpack_all(self.obj)
+
+ def children_get(self):
+ """Retrieve a list of the objects packed into the box
+
+ Returns a C{tuple} with the child L{Object}s.
+ The order of the list corresponds to the packing order the box uses.
+
+ @return: The child objects
+ @rtype: tuple of L{Object}s
+
+ """
+ cdef Evas_Object *o
+ cdef Object obj
+ cdef const_Eina_List *lst
+
+ ret = []
+ lst = elm_box_children_get(self.obj)
+ while lst:
+ o = <Evas_Object *> lst.data
+ obj = <Object>evas_object_data_get(o, "python-evas")
+ ret.append(obj)
+ lst = lst.next
+ return ret
+
+ property children:
+ """Retrieve a list of the objects packed into the box
+
+ Returns a C{tuple} with the child L{Object}s.
+ The order of the list corresponds to the packing order the box uses.
+
+ @type: tuple of L{Object}s
+
+ """
+ def __get__(self):
+ cdef Evas_Object *o
+ cdef Object obj
+ cdef const_Eina_List *lst
+
+ ret = []
+ lst = elm_box_children_get(self.obj)
+ while lst:
+ o = <Evas_Object *> lst.data
+ obj = <Object>evas_object_data_get(o, "python-evas")
+ ret.append(obj)
+ lst = lst.next
+ return ret
+ #def __set__(self, value):
+ #TODO: unpack_all() and then get the objects from value and pack_end() them.
+ def __del__(self):
+ elm_box_clear(self.obj)
+
+ def padding_set(self, horizontal, vertical):
+ """Set the space (padding) between the box's elements.
+
+ Extra space in pixels that will be added between a box child and its
+ neighbors after its containing cell has been calculated. This padding
+ is set for all elements in the box, besides any possible padding that
+ individual elements may have through their size hints.
+
+ @param horizontal: The horizontal space between elements
+ @type horizontal: Evas_Coord (int)
+ @param vertical: The vertical space between elements
+ @type vertical: Evas_Coord (int)
+
+ """
+ elm_box_padding_set(self.obj, horizontal, vertical)
+
+ def padding_get(self):
+ """Get the space (padding) between the box's elements.
+
+ @see: L{padding_set()}
+
+ @return: The horizontal and vertical space between elements
+ @rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef int horizontal, vertical
+
+ elm_box_padding_get(self.obj, &horizontal, &vertical)
+ return (horizontal, vertical)
+
+ property padding:
+ """The space (padding) between the box's elements.
+
+ Extra space in pixels that will be added between a box child and its
+ neighbors after its containing cell has been calculated. This padding
+ is set for all elements in the box, besides any possible padding that
+ individual elements may have through their size hints.
+
+ @type: tuple of Evas_Coords (int)
+
+ """
+ def __get__(self):
+ cdef int horizontal, vertical
+ elm_box_padding_get(self.obj, &horizontal, &vertical)
+ return (horizontal, vertical)
+
+ def __set__(self, value):
+ cdef int horizontal, vertical
+ horizontal, vertical = value
+ elm_box_padding_set(self.obj, horizontal, vertical)
+
+ def align_set(self, horizontal, vertical):
+ """Set the alignment of the whole bounding box of contents.
+
+ Sets how the bounding box containing all the elements of the box, after
+ their sizes and position has been calculated, will be aligned within
+ the space given for the whole box widget.
+
+ @param horizontal: The horizontal alignment of elements
+ @type horizontal: float
+ @param vertical: The vertical alignment of elements
+ @type vertical: float
+
+ """
+ elm_box_align_set(self.obj, horizontal, vertical)
+
+ def align_get(self):
+ """Get the alignment of the whole bounding box of contents.
+
+ @return: The horizontal and vertical alignment of elements
+ @rtype: tuple of floats
+
+ @see: L{align_set()}
+
+ """
+ cdef double horizontal, vertical
+
+ elm_box_align_get(self.obj, &horizontal, &vertical)
+ return (horizontal, vertical)
+
+ property align:
+ """Set the alignment of the whole bounding box of contents.
+
+ Sets how the bounding box containing all the elements of the box, after
+ their sizes and position has been calculated, will be aligned within
+ the space given for the whole box widget.
+
+ @rtype: tuple of floats
+
+ """
+ def __get__(self):
+ cdef double horizontal, vertical
+ elm_box_align_get(self.obj, &horizontal, &vertical)
+ return (horizontal, vertical)
+
+ def __set__(self, value):
+ cdef double horizontal, vertical
+ horizontal, vertical = value
+ elm_box_align_set(self.obj, horizontal, vertical)
+
+ def recalculate(self):
+ """Force the box to recalculate its children packing.
+
+ If any children was added or removed, box will not calculate the
+ values immediately rather leaving it to the next main loop
+ iteration. While this is great as it would save lots of
+ recalculation, whenever you need to get the position of a just
+ added item you must force recalculate before doing so.
+
+ """
+ elm_box_recalculate(self.obj)
+
+ def layout_set(self, layout):
+ """Set the layout function for the box.
+
+ A box layout function affects how a box object displays child
+ elements within its area. The list of pre-defined box layouts
+ available in Evas is:
+ - elementary.ELM_BOX_LAYOUT_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_FLOW_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_FLOW_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_STACK
+
+ Note that you cannot set a custom layout function.
+
+ @param layout: the new layout to set
+ @type layout: Evas_Object_Box_Layout
+
+ """
+ cdef Evas_Object_Box_Layout ly
+
+ ly = _py_elm_box_layout_resolv(layout)
+ elm_box_layout_set(self.obj, ly, NULL, NULL)
+
+ property layout:
+ """Set the layout function for the box.
+
+ A box layout function affects how a box object displays child
+ elements within its area. The list of pre-defined box layouts
+ available in Evas is:
+ - elementary.ELM_BOX_LAYOUT_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_HOMOGENEOUS_MAX_SIZE_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_FLOW_HORIZONTAL
+ - elementary.ELM_BOX_LAYOUT_FLOW_VERTICAL
+ - elementary.ELM_BOX_LAYOUT_STACK
+
+ Note that you cannot set a custom layout function.
+
+ @type: Evas_Object_Box_Layout
+
+ """
+ def __set__(self, layout):
+ cdef Evas_Object_Box_Layout ly
+ ly = _py_elm_box_layout_resolv(layout)
+ elm_box_layout_set(self.obj, ly, NULL, NULL)
+
+ def layout_transition(self, duration, from_layout, to_layout):
+ """Perform an animatation between two given different layout.
+
+ If you want to animate the change from one layout to another, you
+ just need to call this function with the starting layout and
+ the final one.
+
+ @see: L{layout_set()} for the list of available layouts.
+
+ @param duration: the animation duration in seconds
+ @type duration: double
+ @param from_layout: one of elementary.ELM_BOX_LAYOUT_*
+ @type from_layout: Evas_Object_Box_Layout
+ @param to_layout: one of elementary.ELM_BOX_LAYOUT_*
+ @type to_layout: Evas_Object_Box_Layout
+
+ """
+ cdef Elm_Box_Transition *t
+ cdef Evas_Object_Box_Layout ly_from, ly_to
+
+ ly_from = _py_elm_box_layout_resolv(from_layout)
+ ly_to = _py_elm_box_layout_resolv(to_layout)
+ t = elm_box_transition_new(duration,
+ ly_from, NULL, NULL,
+ ly_to, NULL, NULL,
+ NULL, NULL)
+ elm_box_layout_set(self.obj, elm_box_layout_transition, t,
+ elm_box_transition_free)
+
+
+_elm_widget_type_register("box", Box)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryBox_Type # hack to install metaclass
+_install_metaclass(&PyElementaryBox_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_bubble.pxi b/elementary/elementary.c_elementary_bubble.pxi
new file mode 100644
index 0000000..8f69692
--- /dev/null
+++ b/elementary/elementary.c_elementary_bubble.pxi
@@ -0,0 +1,120 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Bubble(LayoutClass) [object PyElementaryBubble, type PyElementaryBubble_Type]:
+
+ """The Bubble is a widget to show text similar to how speech is
+ represented in comics.
+
+ The bubble widget contains 5 important visual elements:
+ - The frame is a rectangle with rounded edjes and an "arrow".
+ - The C{icon} is an image to which the frame's arrow points to.
+ - The C{label} is a text which appears to the right of the icon if the
+ corner is B{top_left} or B{bottom_left} and is right aligned to
+ the frame otherwise.
+ - The C{info} is a text which appears to the right of the label. Info's
+ font is of a lighter color than label.
+ - The C{content} is an evas object that is shown inside the frame.
+
+ The position of the arrow, icon, label and info depends on which corner is
+ selected. The four available corners are:
+ - B{top_left} - Default
+ - B{top_right}
+ - B{bottom_left}
+ - B{bottom_right}
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{clicked} - This is called when a user has clicked the bubble.
+
+ Default content parts of the bubble that you can use for are:
+ - B{default} - A content of the bubble
+ - B{icon} - An icon of the bubble
+
+ Default text parts of the button widget that you can use for are:
+ - B{default} - Label of the bubble
+ - B{info} - info of the bubble
+
+ """
+
+ def __init__(self, evasObject parent):
+ """Add a new bubble to the parent
+
+ This function adds a text bubble to the given parent evas object.
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: The new object or None if it cannot be created
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_bubble_add(parent.obj))
+
+ def pos_set(self, pos):
+ """Set the corner of the bubble
+
+ This function sets the corner of the bubble. The corner will be used
+ to determine where the arrow in the frame points to and where label,
+ icon and info are shown.
+
+ @param pos: The given corner for the bubble.
+ @type pos: Elm_Bubble_Pos
+
+ """
+ elm_bubble_pos_set(self.obj, pos)
+
+ def pos_get(self):
+ """Get the corner of the bubble
+
+ This function gets the selected corner of the bubble.
+
+ @return: The given corner for the bubble.
+ @rtype: Elm_Bubble_Pos
+
+ """
+ return elm_bubble_pos_get(self.obj)
+
+ property pos:
+ """The corner of the bubble
+
+ This property reflects the corner of the bubble. The corner will be
+ used to determine where the arrow in the frame points to and where
+ label, icon and info are shown.
+
+ @type: Elm_Bubble_Pos
+
+ """
+ def __get__(self):
+ return elm_bubble_pos_get(self.obj)
+
+ def __set__(self, value):
+ elm_bubble_pos_set(self.obj, value)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """This is called when a user has clicked the bubble."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+_elm_widget_type_register("bubble", Bubble)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryBubble_Type # hack to install metaclass
+_install_metaclass(&PyElementaryBubble_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_button.pxi b/elementary/elementary.c_elementary_button.pxi
new file mode 100644
index 0000000..6ca70ef
--- /dev/null
+++ b/elementary/elementary.c_elementary_button.pxi
@@ -0,0 +1,224 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Button(LayoutClass) [object PyElementaryButton, type PyElementaryButton_Type]:
+
+ """This is a push-button. Press it and run some function. It can contain
+ a simple label and icon object and it also has an autorepeat feature.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - "clicked": the user clicked the button (press/release).
+ - "repeated": the user pressed the button without releasing it.
+ - "pressed": button was pressed.
+ - "unpressed": button was released after being pressed.
+
+ Also, defined in the default theme, the button has the following styles
+ available:
+ - default: a normal button.
+ - anchor: Like default, but the button fades away when the mouse is not
+ over it, leaving only the text or icon.
+ - hoversel_vertical: Internally used by L{Hoversel} to give a
+ continuous look across its options.
+ - hoversel_vertical_entry: Another internal for L{Hoversel}.
+ - naviframe: Internally used by L{Naviframe} for its back button.
+ - colorselector: Internally used by L{Colorselector}
+ for its left and right buttons.
+
+ Default content parts of the button widget that you can use for are:
+ - "icon" - An icon of the button
+
+ Default text parts of the button widget that you can use for are:
+ - "default" - Label of the button
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_button_add(parent.obj))
+
+ def autorepeat_set(self, on):
+ """Turn on/off the autorepeat event generated when the button is
+ kept pressed
+
+ When off, no autorepeat is performed and buttons emit a normal
+ C{clicked} signal when they are clicked.
+
+ When on, keeping a button pressed will continuously emit a
+ C{repeated} signal until the button is released. The time it takes
+ until it starts emitting the signal is given by
+ L{autorepeat_initial_timeout_set()}, and the time between each new
+ emission by L{autorepeat_gap_timeout_set()}.
+
+ @param on: A bool to turn on/off the event
+ @type on: bool
+
+ """
+ elm_button_autorepeat_set(self.obj, on)
+
+ def autorepeat_get(self):
+ """Get whether the autorepeat feature is enabled
+
+ @return: C{True} if autorepeat is on, C{False} otherwise
+ @rtype: bool
+
+ @see: L{autorepeat_set()}
+
+ """
+ return bool(elm_button_autorepeat_get(self.obj))
+
+ property autorepeat:
+ """Turn on/off the autorepeat event generated when the button is
+ kept pressed
+
+ When off, no autorepeat is performed and buttons emit a normal
+ C{clicked} signal when they are clicked.
+
+ When on, keeping a button pressed will continuously emit a
+ C{repeated} signal until the button is released. The time it takes
+ until it starts emitting the signal is given by
+ L{autorepeat_initial_timeout_set()}, and the time between each new
+ emission by L{autorepeat_gap_timeout_set()}.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_button_autorepeat_get(self.obj))
+ def __set__(self, on):
+ elm_button_autorepeat_set(self.obj, on)
+
+ def autorepeat_initial_timeout_set(self, t):
+ """Set the initial timeout before the autorepeat event is generated
+
+ Sets the timeout, in seconds, since the button is pressed until the
+ first C{repeated} signal is emitted. If C{t} is 0.0 or less, there
+ won't be any delay and the event will be fired the moment the button is
+ pressed.
+
+ @see: L{autorepeat_set()}
+ @see: L{autorepeat_gap_timeout_set()}
+
+ @param t: Timeout in seconds
+ @type t: float
+
+ """
+ elm_button_autorepeat_initial_timeout_set(self.obj, t)
+
+ def autorepeat_initial_timeout_get(self):
+ """Get the initial timeout before the autorepeat event is generated
+
+ @see: L{autorepeat_initial_timeout_set()}
+
+ @return: Timeout in seconds
+ @rtype: float
+
+ """
+ return elm_button_autorepeat_initial_timeout_get(self.obj)
+
+ property autorepeat_initial_timeout:
+ """The initial timeout before the autorepeat event is generated
+
+ Reflects the timeout, in seconds, since the button is pressed until the
+ first C{repeated} signal is emitted. If C{t} is 0.0 or less, there
+ won't be any delay and the event will be fired the moment the button is
+ pressed.
+
+ @see: L{autorepeat}
+ @see: L{autorepeat_gap_timeout}
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_button_autorepeat_initial_timeout_get(self.obj)
+ def __set__(self, t):
+ elm_button_autorepeat_initial_timeout_set(self.obj, t)
+
+ def autorepeat_gap_timeout_set(self, t):
+ """Set the interval between each generated autorepeat event
+
+ After the first C{repeated} event is fired, all subsequent ones will
+ follow after a delay of C{t} seconds for each.
+
+ @see: L{autorepeat_initial_timeout_set()}
+
+ @param t: Interval in seconds
+ @type t: float
+
+ """
+ elm_button_autorepeat_gap_timeout_set(self.obj, t)
+
+ def autorepeat_gap_timeout_get(self):
+ """Get the interval between each generated autorepeat event
+
+ @return: Interval in seconds
+ @rtype: float
+
+ """
+ return elm_button_autorepeat_gap_timeout_get(self.obj)
+
+ property autorepeat_gap_timeout:
+ """The interval between each generated autorepeat event
+
+ After the first C{repeated} event is fired, all subsequent ones will
+ follow after a delay of C{t} seconds for each.
+
+ @see: L{autorepeat_initial_timeout}
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_button_autorepeat_gap_timeout_get(self.obj)
+ def __set__(self, t):
+ elm_button_autorepeat_gap_timeout_set(self.obj, t)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The user clicked the button (press/release)."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_repeated_add(self, func, *args, **kwargs):
+ """The user pressed the button without releasing it."""
+ self._callback_add("repeated", func, *args, **kwargs)
+
+ def callback_repeated_del(self, func):
+ self._callback_del("repeated", func)
+
+ def callback_pressed_add(self, func, *args, **kwargs):
+ """The button was pressed."""
+ self._callback_add("pressed", func, *args, **kwargs)
+
+ def callback_pressed_del(self, func):
+ self._callback_del("pressed", func)
+
+ def callback_unpressed_add(self, func, *args, **kwargs):
+ """The button was released after being pressed."""
+ self._callback_add("unpressed", func, *args, **kwargs)
+
+ def callback_unpressed_del(self, func):
+ self._callback_del("unpressed", func)
+
+_elm_widget_type_register("button", Button)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryButton_Type # hack to install metaclass
+_install_metaclass(&PyElementaryButton_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_calendar.pxi b/elementary/elementary.c_elementary_calendar.pxi
new file mode 100644
index 0000000..2017e28
--- /dev/null
+++ b/elementary/elementary.c_elementary_calendar.pxi
@@ -0,0 +1,333 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from datetime import date
+
+cdef class CalendarMark(object):
+ cdef Elm_Calendar_Mark *obj
+
+ def __init__(self, evasObject cal, mark_type, mark_time, repeat):
+ """@see: L{Calendar.mark_add()}"""
+ cdef tm time
+ tmtup = mark_time.timetuple()
+ time.tm_mday = tmtup.tm_mday
+ time.tm_mon = tmtup.tm_mon - 1
+ time.tm_year = tmtup.tm_year - 1900
+ time.tm_wday = tmtup.tm_wday
+ time.tm_yday = tmtup.tm_yday
+ time.tm_isdst = tmtup.tm_isdst
+ self.obj = elm_calendar_mark_add(cal.obj, _cfruni(mark_type), &time, repeat)
+
+ def delete(self):
+ """Delete a mark from the calendar.
+
+ If deleting all calendar marks is required, L{marks_clear()}
+ should be used instead of getting marks list and deleting each one.
+
+ @see: L{mark_add()}
+
+ @param mark: The mark to be deleted.
+ @type mark: L{CalendarMark}
+
+ """
+ elm_calendar_mark_del(self.obj)
+
+cdef public class Calendar(LayoutClass) [object PyElementaryCalendar, type PyElementaryCalendar_Type]:
+
+ """This is a calendar widget.
+
+ It helps applications to flexibly display a calender with day of the week,
+ date, year and month. Applications are able to set specific dates to be
+ reported back, when selected, in the smart callbacks of the calendar widget.
+ The API of this widget lets the applications perform other functions, like:
+ - placing marks on specific dates
+ - setting the bounds for the calendar (minimum and maximum years)
+ - setting the day names of the week (e.g. "Thu" or "Thursday")
+ - setting the year and month format.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{changed} - emitted when the date in the calendar is changed.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_calendar_add(parent.obj))
+
+ property weekdays_names:
+ """The weekdays' names to be displayed by the calendar.
+
+ By default, weekdays abbreviations get from system are displayed:
+ E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
+
+ The first string should be related to Sunday, the second to Monday...
+
+ The usage should be like this::
+ weekdays =
+ (
+ "Sunday", "Monday", "Tuesday", "Wednesday",
+ "Thursday", "Friday", "Saturday"
+ )
+ calendar.weekdays_names = weekdays
+
+ @type: tuple of strings
+ @warning: It must have 7 elements, or it will access invalid memory.
+
+ """
+ def __get__(self):
+ cdef const_char_ptr *lst
+ cdef const_char_ptr weekday
+ ret = []
+ lst = elm_calendar_weekdays_names_get(self.obj)
+ for i from 0 <= i < 7:
+ weekday = lst[i]
+ if weekday != NULL:
+ ret.append(_ctouni(weekday))
+ return ret
+
+ def __set__(self, weekdays):
+ cdef int i, day_len
+ cdef char **days, *weekday
+ days = <char **>PyMem_Malloc(7 * sizeof(char*))
+ for i from 0 <= i < 7:
+ weekday = _fruni(weekdays[i])
+ day_len = len(weekday)
+ days[i] = <char *>PyMem_Malloc(day_len + 1)
+ memcpy(days[i], weekday, day_len + 1)
+ elm_calendar_weekdays_names_set(self.obj, <const_char_ptr *>days)
+
+ property min_max_year:
+ """The minimum and maximum values for the year
+
+ Maximum must be greater than minimum, except if you don't want to set
+ maximum year.
+ Default values are 1902 and -1.
+
+ If the maximum year is a negative value, it will be limited depending
+ on the platform architecture (year 2037 for 32 bits)
+
+ @see: L{min_max_year_get()}
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int min, max
+ elm_calendar_min_max_year_get(self.obj, &min, &max)
+ return (min, max)
+ def __set__(self, value):
+ cdef int min, max
+ min, max = value
+ elm_calendar_min_max_year_set(self.obj, min, max)
+
+ property select_mode:
+ """The day selection mode used.
+
+ @type: Elm_Calendar_Select_Mode
+
+ """
+ def __get__(self):
+ return elm_calendar_select_mode_get(self.obj)
+ def __set__(self, mode):
+ elm_calendar_select_mode_set(self.obj, mode)
+
+ property selected_time:
+ """Selected date on the calendar.
+
+ Setting this changes the displayed month if needed.
+ Selected date changes when the user goes to next/previous month or
+ select a day pressing over it on calendar.
+
+ @type: datetime.date
+
+ """
+ def __get__(self):
+ cdef tm time
+ elm_calendar_selected_time_get(self.obj, &time)
+ ret = date( time.tm_year + 1900,
+ time.tm_mon + 1,
+ time.tm_mday)
+ return ret
+
+ def __set__(self, selected_time):
+ cdef tm time
+ tmtup = selected_time.timetuple()
+ time.tm_mday = tmtup.tm_mday
+ time.tm_mon = tmtup.tm_mon - 1
+ time.tm_year = tmtup.tm_year - 1900
+ time.tm_wday = tmtup.tm_wday
+ time.tm_yday = tmtup.tm_yday
+ time.tm_isdst = tmtup.tm_isdst
+ elm_calendar_selected_time_set(self.obj, &time)
+
+ def format_function_set(self, format_func):
+ """Set a function to format the string that will be used to display
+ month and year.
+
+ By default it uses strftime with "%B %Y" format string.
+ It should allocate the memory that will be used by the string,
+ that will be freed by the widget after usage.
+ A pointer to the string and a pointer to the time struct will be provided.
+
+ Example::
+ static char *
+ _format_month_year(struct tm selected_time)
+ {
+ char buf[32];
+ if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
+ return strdup(buf);
+ }
+
+ elm_calendar_format_function_set(calendar, _format_month_year);
+
+ @param format_func: Function to set the month-year string given
+ the selected date
+ @type format_func: function
+
+ """
+ pass
+ #elm_calendar_format_function_set(self.obj, format_func)
+
+ def mark_add(self, mark_type, mark_time, repeat):
+ """Add a new mark to the calendar
+
+ Add a mark that will be drawn in the calendar respecting the insertion
+ time and periodicity. It will emit the type as signal to the widget theme.
+ Default theme supports "holiday" and "checked", but it can be extended.
+
+ It won't immediately update the calendar, drawing the marks.
+ For this, call L{marks_draw()}. However, when user selects
+ next or previous month calendar forces marks drawn.
+
+ Marks created with this method can be deleted with L{mark_del()}.
+
+ Example::
+ struct tm selected_time;
+ time_t current_time;
+
+ current_time = time(NULL) + 5 84600;
+ localtime_r(&current_time, &selected_time);
+ elm_calendar_mark_add(cal, "holiday", selected_time,
+ ELM_CALENDAR_ANNUALLY);
+
+ current_time = time(NULL) + 1 84600;
+ localtime_r(&current_time, &selected_time);
+ elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
+
+ elm_calendar_marks_draw(cal);
+
+ @see: L{marks_draw()}
+ @see L{mark_del()}
+
+ @param mark_type: A string used to define the type of mark. It will be
+ emitted to the theme, that should display a related modification on these
+ days representation.
+ @type mark_type: string
+ @param mark_time: A time struct to represent the date of inclusion of the
+ mark. For marks that repeats it will just be displayed after the inclusion
+ date in the calendar.
+ @type mark_time: tm struct
+ @param repeat: Repeat the event following this periodicity. Can be a unique
+ mark (that don't repeat), daily, weekly, monthly or annually.
+ @type repeat: Elm_Calendar_Mark_Repeat_Type
+ @return: The created mark or C{None} upon failure.
+ @rtype: L{CalendarMark}
+
+ """
+ return CalendarMark(self, mark_type, mark_time, repeat)
+
+ property marks:
+ """Calendar marks.
+
+ @type: tuple of L{CalendarMark}s
+
+ """
+ #def __get__(self):
+ #const_Eina_List *elm_calendar_marks_get(self.obj)
+ #def __set__(self, value):
+ def __del__(self):
+ elm_calendar_marks_clear(self.obj)
+
+ def marks_draw(self):
+ """Draw calendar marks.
+
+ Should be used after adding, removing or clearing marks.
+ It will go through the entire marks list updating the calendar.
+ If lots of marks will be added, add all the marks and then call
+ this function.
+
+ When the month is changed, i.e. user selects next or previous month,
+ marks will be drawn.
+
+ @see: L{mark_add()}
+ @see: L{mark_del()}
+ @see: L{marks_clear()}
+
+ """
+ elm_calendar_marks_draw(self.obj)
+
+ property interval:
+ """Set the interval on time updates for an user mouse button hold
+ on calendar widgets' month selection.
+
+ This interval value is B{decreased} while the user holds the
+ mouse pointer either selecting next or previous month.
+
+ This helps the user to get to a given month distant from the
+ current one easier/faster, as it will start to change quicker and
+ quicker on mouse button holds.
+
+ The calculation for the next change interval value, starting from
+ the one set with this call, is the previous interval divided by
+ 1.05, so it decreases a little bit.
+
+ The default starting interval value for automatic changes is
+ B{0.85} seconds.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_calendar_interval_get(self.obj)
+ def __set__(self, interval):
+ elm_calendar_interval_set(self.obj, interval)
+
+ property first_day_of_week:
+ """The first day of week to use on the calendar widget.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_calendar_first_day_of_week_get(self.obj)
+ def __set__(self, day):
+ elm_calendar_first_day_of_week_set(self.obj, day)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """Emitted when the date in the calendar is changed."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+_elm_widget_type_register("calendar", Calendar)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryCalendar_Type # hack to install metaclass
+_install_metaclass(&PyElementaryCalendar_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_check.pxi b/elementary/elementary.c_elementary_check.pxi
new file mode 100644
index 0000000..c3d86da
--- /dev/null
+++ b/elementary/elementary.c_elementary_check.pxi
@@ -0,0 +1,103 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Check(LayoutClass) [object PyElementaryCheck, type PyElementaryCheck_Type]:
+
+ """The check widget allows for toggling a value between true and false.
+
+ Check objects are a lot like radio objects in layout and functionality,
+ except they do not work as a group, but independently, and only toggle
+ the value of a boolean between false and true. L{state_set()} sets the
+ boolean state and L{state_get()} returns the current state.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{changed} - This is called whenever the user changes the state of
+ the check objects.
+
+ Default content parts of the check widget that you can use for are:
+ - "icon" - An icon of the check
+
+ Default text parts of the check widget that you can use for are:
+ - "default" - A label of the check
+ - "on" - On state label of the check
+ - "off" - Off state label of the check
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_check_add(parent.obj))
+
+ def state_set(self, value):
+ """Set the on/off state of the check object
+
+ This sets the state of the check. Calling this B{doesn't} cause
+ the "changed" signal to be emitted.
+
+ @param state: The state to use (True == on, False == off)
+ @type state: bool
+
+ """
+ if value:
+ elm_check_state_set(self.obj, 1)
+ else:
+ elm_check_state_set(self.obj, 0)
+
+ def state_get(self):
+ """Get the state of the check object
+
+ @return: The boolean state
+ @rtype: bool
+
+ """
+ cdef Eina_Bool state
+ state = elm_check_state_get(self.obj)
+ if state == 0:
+ return False
+ else:
+ return True
+
+ property state:
+ """The of/off state of the check object
+
+ This property reflects the state of the check. Setting it B{doesn't}
+ cause the "changed" signal to be emitted.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_check_state_get(self.obj))
+
+ def __set__(self, value):
+ elm_check_state_set(self.obj, value)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """This is called whenever the user changes the state of the check
+ objects."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+_elm_widget_type_register("check", Check)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryCheck_Type # hack to install metaclass
+_install_metaclass(&PyElementaryCheck_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_clock.pxi b/elementary/elementary.c_elementary_clock.pxi
new file mode 100644
index 0000000..a953bf6
--- /dev/null
+++ b/elementary/elementary.c_elementary_clock.pxi
@@ -0,0 +1,383 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Clock(LayoutClass) [object PyElementaryClock, type PyElementaryClock_Type]:
+
+ """This is a digital clock widget.
+
+ In its default theme, it has a vintage "flipping numbers clock" appearance,
+ which will animate sheets of individual algarisms individually as time goes
+ by.
+
+ A newly created clock will fetch system's time (already considering
+ local time adjustments) to start with, and will tick accordingly. It may
+ or may not show seconds.
+
+ Clocks have an B{edition} mode. When in it, the sheets will display
+ extra arrow indications on the top and bottom and the user may click on
+ them to raise or lower the time values. After it's told to exit edition
+ mode, it will keep ticking with that new time set (it keeps the
+ difference from local time).
+
+ Also, when under edition mode, user clicks on the cited arrows which are
+ B{held} for some time will make the clock to flip the sheet, thus
+ editing the time, continuously and automatically for the user. The
+ interval between sheet flips will keep growing in time, so that it helps
+ the user to reach a time which is distant from the one set.
+
+ The time display is, by default, in military mode (24h), but an am/pm
+ indicator may be optionally shown, too, when it will switch to 12h.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{changed} - the clock's user changed the time
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_clock_add(parent.obj))
+
+ def time_set(self, hours, minutes, seconds):
+ """Set a clock widget's time, programmatically
+
+ This function updates the time that is showed by the clock
+ widget.
+
+ Values B{must} be set within the following ranges:
+ - 0 - 23, for hours
+ - 0 - 59, for minutes
+ - 0 - 59, for seconds,
+ even if the clock is not in "military" mode.
+
+ @warning: The behavior for values set out of those ranges is
+ B{undefined}.
+
+ @param hrs: The hours to set
+ @type hrs: int
+ @param min: The minutes to set
+ @type min: int
+ @param sec: The seconds to set
+ @type sec: int
+
+ """
+ elm_clock_time_set(self.obj, hours, minutes, seconds)
+
+ def time_get(self):
+ """Get a clock widget's time values
+
+ This function gets the time set, returning it as a tuple.
+
+ @return: Hours, minutes and seconds
+ @rtype: tuple of ints
+
+ """
+ cdef int hrs, min, sec
+
+ elm_clock_time_get(self.obj, &hrs, &min, &sec)
+ return (hrs, min, sec)
+
+ property time:
+ """The clock widget's time
+
+ This property reflects the time that is showed by the clock widget.
+
+ Values B{must} be set within the following ranges:
+ - 0 - 23, for hours
+ - 0 - 59, for minutes
+ - 0 - 59, for seconds,
+ even if the clock is not in "military" mode.
+
+ @warning: The behavior for values set out of those ranges is
+ B{undefined}.
+
+ @type: (int h, int m, int s)
+
+ """
+ def __get__(self):
+ cdef int hrs, min, sec
+ elm_clock_time_get(self.obj, &hrs, &min, &sec)
+ return (hrs, min, sec)
+
+ def __set__(self, value):
+ cdef int hrs, min, sec
+ hrs, min, sec = value
+ elm_clock_time_set(self.obj, hrs, min, sec)
+
+ def edit_set(self, edit):
+ """Set whether a given clock widget is under B{edition mode} or
+ under (default) displaying-only mode.
+
+ This function makes a clock's time to be editable or not B{by user
+ interaction}. When in edition mode, clocks B{stop} ticking, until
+ one brings them back to canonical mode. The L{edit_mode_set()}
+ function will influence which digits of the clock will be editable.
+
+ @note: am/pm sheets, if being shown, will B{always} be editable
+ under edition mode.
+
+ @see: L{edit_get()}
+
+ @param edit: C{True} to put it in edition, C{False} to put it back to
+ "displaying only" mode
+ @type edit: bool
+
+ """
+ elm_clock_edit_set(self.obj, edit)
+
+ def edit_get(self, edit):
+ """Retrieve whether a given clock widget is under editing mode or
+ under (default) displaying-only mode.
+
+ This function retrieves whether the clock's time can be edited or
+ not by user interaction.
+
+ @see: L{edit_set()} for more details
+
+ @return: C{True}, if it's in edition mode, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_clock_edit_get(self.obj))
+
+ property edit:
+ """Whether a given clock widget is under B{edition mode} or under
+ (default) displaying-only mode.
+
+ This property reflects whether the clock editable or not B{by user
+ interaction}. When in edition mode, clocks B{stop} ticking, until
+ one brings them back to canonical mode. The L{edit_mode}
+ property will influence which digits of the clock will be editable.
+
+ @note: am/pm sheets, if being shown, will B{always} be editable
+ under edition mode.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_clock_edit_get(self.obj))
+
+ def __set__(self, edit):
+ elm_clock_edit_set(self.obj, edit)
+
+ def edit_mode_set(self, mode):
+ """Set what digits of the given clock widget should be editable
+ when in edition mode.
+
+ @see: L{edit_mode_get()}
+
+ @param digedit: Bit mask indicating the digits to be editable
+ @type digedit: Elm_Clock_Edit_Mode
+
+ """
+ elm_clock_edit_mode_set(self.obj, mode)
+
+ def edit_mode_get(self):
+ """Retrieve what digits of the given clock widget should be
+ editable when in edition mode.
+
+ @see: L{edit_mode_set()} for more details
+
+ @return: Bit mask indicating the digits to be editable
+ @rtype: Elm_Clock_Edit_Mode
+
+ """
+ return elm_clock_edit_mode_get(self.obj)
+
+ property edit_mode:
+ """Which digits of the given clock widget should be editable when in
+ edition mode.
+
+ @type: Elm_Clock_Edit_Mode
+
+ """
+ def __get__(self):
+ return elm_clock_edit_mode_get(self.obj)
+
+ def __set__(self, mode):
+ elm_clock_edit_mode_set(self.obj, mode)
+
+ def show_am_pm_set(self, am_pm):
+ """Set if the given clock widget must show hours in military or
+ am/pm mode
+
+ This function sets if the clock must show hours in military or
+ am/pm mode. In some countries like Brazil the military mode
+ (00-24h-format) is used, in opposition to the USA, where the
+ am/pm mode is more commonly used.
+
+ @see: L{show_am_pm_get()}
+
+ @param am_pm: C{True} to put it in am/pm mode, C{False} to military mode
+ @type am_pm: bool
+
+ """
+ elm_clock_show_am_pm_set(self.obj, am_pm)
+
+ def show_am_pm_get(self):
+ """Get if the given clock widget shows hours in military or am/pm
+ mode
+
+ @see: L{show_am_pm_set()} for more details
+
+ @return: C{True}, if in am/pm mode, C{False} if in military
+ @rtype: bool
+
+ """
+ return elm_clock_show_am_pm_get(self.obj)
+
+ property show_am_pm:
+ """Whether the given clock widget must show hours in military or
+ am/pm mode
+
+ This property reflects if the clock must show hours in military or
+ am/pm mode. In some countries like Brazil the military mode
+ (00-24h-format) is used, in opposition to the USA, where the
+ am/pm mode is more commonly used.
+
+ C{True}, if in am/pm mode, C{False} if in military
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_clock_show_am_pm_get(self.obj)
+
+ def __set__(self, am_pm):
+ elm_clock_show_am_pm_set(self.obj, am_pm)
+
+ def show_seconds_set(self, seconds):
+ """Set if the given clock widget must show time with seconds or not
+
+ This function sets if the given clock must show or not elapsed
+ seconds. By default, they are B{not} shown.
+
+ @see: L{show_seconds_get()}
+
+ @param seconds: C{True} to show seconds, C{False} otherwise
+ @type seconds: bool
+
+ """
+ elm_clock_show_seconds_set(self.obj, seconds)
+
+ def show_seconds_get(self):
+ """Get whether the given clock widget is showing time with seconds
+ or not
+
+ @see: elm_clock_show_seconds_set()
+
+ @return: C{True} if it's showing seconds, C{False} otherwise
+ @rtype: bool
+
+ """
+ return elm_clock_show_seconds_get(self.obj)
+
+ property show_seconds:
+ """Whether the given clock widget must show time with seconds or not
+
+ By default, they are B{not} shown.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_clock_show_seconds_get(self.obj)
+
+ def __set__(self, seconds):
+ elm_clock_show_seconds_set(self.obj, seconds)
+
+ def first_interval_set(self, interval):
+ """Set the first interval on time updates for a user mouse button hold
+ on clock widgets' time edition.
+
+ This interval value is B{decreased} while the user holds the
+ mouse pointer either incrementing or decrementing a given the
+ clock digit's value.
+
+ This helps the user to get to a given time distant from the
+ current one easier/faster, as it will start to flip quicker and
+ quicker on mouse button holds.
+
+ The calculation for the next flip interval value, starting from
+ the one set with this call, is the previous interval divided by
+ 1.05, so it decreases a little bit.
+
+ The default starting interval value for automatic flips is
+ B{0.85} seconds.
+
+ @see: L{first_interval_get()}
+
+ @param interval: The first interval value in seconds
+ @type interval: float
+
+ """
+ elm_clock_first_interval_set(self.obj, interval)
+
+ def first_interval_get(self):
+ """Get the first interval on time updates for a user mouse button hold
+ on clock widgets' time edition.
+
+ @see: L{first_interval_set()} for more details
+
+ @return: The first interval value, in seconds, set on it
+ @rtype: float
+
+ """
+ return elm_clock_first_interval_get(self.obj)
+
+ property first_interval:
+ """The first interval on time updates for a user mouse button hold
+ on clock widgets' time edition.
+
+ This interval value is B{decreased} while the user holds the
+ mouse pointer either incrementing or decrementing a given the
+ clock digit's value.
+
+ This helps the user to get to a given time distant from the
+ current one easier/faster, as it will start to flip quicker and
+ quicker on mouse button holds.
+
+ The calculation for the next flip interval value, starting from
+ the one set with this call, is the previous interval divided by
+ 1.05, so it decreases a little bit.
+
+ The default starting interval value for automatic flips is
+ B{0.85} seconds.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_clock_first_interval_get(self.obj)
+
+ def __set__(self, interval):
+ elm_clock_first_interval_set(self.obj, interval)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """The clock's user changed the time"""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+_elm_widget_type_register("clock", Clock)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryClock_Type # hack to install metaclass
+_install_metaclass(&PyElementaryClock_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_colorselector.pxi b/elementary/elementary.c_elementary_colorselector.pxi
new file mode 100644
index 0000000..8002d8e
--- /dev/null
+++ b/elementary/elementary.c_elementary_colorselector.pxi
@@ -0,0 +1,247 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class ColorselectorPaletteItem(ObjectItem):
+
+ """An item for the L{Colorselector} widget."""
+
+ def __init__(self, evasObject cs, r, g, b, a):
+ cdef Elm_Object_Item *item = elm_colorselector_palette_color_add(cs.obj, r, g, b, a)
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def color_get(self):
+ cdef int r, g, b, a
+ elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ return (r, g, b, a)
+
+ def color_set(self, r, g, b, a):
+ elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+
+ property color:
+ """The palette item's color.
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int r, g, b, a
+ elm_colorselector_palette_item_color_get(self.item, &r, &g, &b, &a)
+ return (r, g, b, a)
+ def __set__(self, value):
+ cdef int r, g, b, a
+ r, g, b, a = value
+ elm_colorselector_palette_item_color_set(self.item, r, g, b, a)
+
+cdef public class Colorselector(LayoutClass) [object PyElementaryColorselector, type PyElementaryColorselector_Type]:
+
+ """A Colorselector is a color selection widget.
+
+ It allows application to set a series of colors. It also allows to
+ load/save colors from/to config with a unique identifier, by default,
+ the colors are loaded/saved from/to config using "default" identifier.
+ The colors can be picked by user from the color set by clicking on
+ individual color item on the palette or by selecting it from selector.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - When the color value changes on selector
+ - C{"color,item,selected"} - When user clicks on color item.
+ The event_info parameter of the callback will be the selected
+ color item.
+ - C{"color,item,longpressed"} - When user long presses on color item.
+ The event_info parameter of the callback will be the selected
+ color item.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_colorselector_add(parent.obj))
+
+ def color_set(self, r, g, b, a):
+ """Set color to colorselector
+
+ @param r: r-value of color
+ @type r: int
+ @param g: g-value of color
+ @type g: int
+ @param b: b-value of color
+ @type b: int
+ @param a: a-value of color
+ @type a: int
+
+ """
+ elm_colorselector_color_set(self.obj, r, g, b, a)
+
+ def color_get(self):
+ """Get the current color from colorselector
+
+ @return: Tuple of the current colors
+ @rtype: tuple of ints
+
+ """
+ cdef int r, g, b, a
+ elm_colorselector_color_get(self.obj, &r, &g, &b, &a)
+ return (r, g, b, a)
+
+ property color:
+ """The current color (r, g, b, a).
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int r, g, b, a
+ elm_colorselector_color_get(self.obj, &r, &g, &b, &a)
+ return (r, g, b, a)
+ def __set__(self, value):
+ cdef int r, g, b, a
+ r, g, b, a = value
+ elm_colorselector_color_set(self.obj, r, g, b, a)
+
+ def mode_set(self, mode):
+ """Set Colorselector's mode.
+
+ Colorselector supports three modes palette only, selector only and both.
+
+ @param mode: The current mode of colorselector
+ @type mode: Elm_Colorselector_Mode
+
+ """
+ elm_colorselector_mode_set(self.obj, mode)
+
+ def mode_get(self):
+ """Get Colorselector's mode.
+
+ @return: The current mode of colorselector
+ @rtype: Elm_Colorselector_Mode
+
+ """
+ return elm_colorselector_mode_get(self.obj)
+
+ property mode:
+ """Colorselector's mode.
+
+ Colorselector supports three modes palette only, selector only and both.
+
+ @type: Elm_Colorselector_Mode
+
+ """
+ def __get__(self):
+ return elm_colorselector_mode_get(self.obj)
+ def __set__(self, mode):
+ elm_colorselector_mode_set(self.obj, mode)
+
+ def palette_color_add(self, r, g, b, a):
+ """Add a new color item to palette.
+
+ @param r: r-value of color
+ @type r: int
+ @param g: g-value of color
+ @type g: int
+ @param b: b-value of color
+ @type b: int
+ @param a: a-value of color
+ @type a: int
+ @return: A new color palette Item.
+ @rtype: L{ColorselectorPaletteItem}
+
+ """
+ return ColorselectorPaletteItem(self, r, g, b, a)
+
+ def palette_clear(self):
+ """Clear the palette items."""
+ elm_colorselector_palette_clear(self.obj)
+
+ def palette_name_set(self, palette_name):
+ """Set current palette's name
+
+ When colorpalette name is set, colors will be loaded from and saved
+ to config using the set name. If no name is set then colors will be
+ loaded from or saved to "default" config.
+
+ @param palette_name: Name of palette
+ @type palette_name: string
+
+ """
+ elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name))
+
+ def palette_name_get(self):
+ """Get current palette's name
+
+ Returns the currently set palette name using which colors will be
+ saved/loaded in to config.
+
+ @return: Name of palette
+ @rtype: string
+
+ """
+ return _ctouni(elm_colorselector_palette_name_get(self.obj))
+
+ property palette_name:
+ """The current palette's name
+
+ When colorpalette name is set, colors will be loaded from and saved
+ to config using the set name. If no name is set then colors will be
+ loaded from or saved to "default" config.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_colorselector_palette_name_get(self.obj))
+ def __set__(self, palette_name):
+ elm_colorselector_palette_name_set(self.obj, _cfruni(palette_name))
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """When the color value changes on selector"""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+ def callback_color_item_selected_add(self, func, *args, **kwargs):
+ """When user clicks on color item. The event_info parameter of the
+ callback will be the selected color item."""
+ self._callback_add_full("color,item,selected",
+ _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_color_item_selected_del(self, func):
+ self._callback_del_full("color,item,selected",
+ _cb_object_item_conv, func)
+
+ def callback_color_item_longpressed_add(self, func, *args, **kwargs):
+ """When user long presses on color item. The event_info parameter of
+ the callback will be the selected color item."""
+ self._callback_add_full("color,item,longpressed",
+ _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_color_item_longpressed_del(self, func):
+ self._callback_del_full("color,item,longpressed",
+ _cb_object_item_conv, func)
+
+_elm_widget_type_register("colorselector", Colorselector)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryColorselector_Type # hack to install metaclass
+_install_metaclass(&PyElementaryColorselector_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_configuration.pxi b/elementary/elementary.c_elementary_configuration.pxi
new file mode 100644
index 0000000..272c09e
--- /dev/null
+++ b/elementary/elementary.c_elementary_configuration.pxi
@@ -0,0 +1,689 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class Configuration(object):
+
+ """Elementary configuration is formed by a set options bounded to a
+ given profile, like theme, "finger size", etc.
+
+ These are functions with which one synchronizes changes made to those
+ values to the configuration storing files, de facto. You most probably
+ don't want to use the functions in this group unless you're writing an
+ elementary configuration manager.
+
+ """
+
+ #{ Elementary Configuration
+ def save(self):
+ """Save back Elementary's configuration, so that it will persist on
+ future sessions.
+
+ This function will take effect -- thus, do I/O -- immediately. Use
+ it when you want to save all configuration changes at once. The
+ current configuration set will get saved onto the current profile
+ configuration file.
+
+ @return: C{True}, when successful. C{False}, otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_config_save())
+
+ def reload(self):
+ """Reload Elementary's configuration, bounded to current selected
+ profile.
+
+ Useful when you want to force reloading of configuration values for
+ a profile. If one removes user custom configuration directories,
+ for example, it will force a reload with system values instead.
+
+ @return: C{True}, when successful. C{False}, otherwise.
+ @rtype: bool
+
+ """
+ elm_config_reload()
+
+ def all_flush(self):
+ """Flush all config settings then apply those settings to all
+ applications using elementary on the current display."""
+ elm_config_all_flush()
+
+ #}
+
+ #{ Elementary Profile
+ """Profiles are pre-set options that affect the whole look-and-feel of
+ Elementary-based applications. There are, for example, profiles
+ aimed at desktop computer applications and others aimed at mobile,
+ touchscreen-based ones. You most probably don't want to use the
+ functions in this group unless you're writing an elementary
+ configuration manager.
+
+ """
+
+ property profile:
+ """Elementary's profile in use.
+
+ The global profile that is applied to all Elementary applications.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_config_profile_get())
+ def __set__(self, profile):
+ elm_config_profile_set(_cfruni(profile))
+
+ def profile_dir_get(self, profile, is_user):
+ """Get an Elementary's profile directory path in the filesystem. One
+ may want to fetch a system profile's dir or a user one (fetched
+ inside $HOME).
+
+ @param profile: The profile's name
+ @type profile: string
+ @param is_user: Whether to lookup for a user profile (C{True})
+ or a system one (C{False})
+ @type is_user: bool
+ @return: The profile's directory path.
+ @rtype: string
+
+ """
+ return _ctouni(elm_config_profile_dir_get(_cfruni(profile), is_user))
+
+ property profile_list:
+ """Get Elementary's list of available profiles.
+
+ @type: tuple of strings
+
+ """
+ def __get__(self):
+ cdef Eina_List *lst = elm_config_profile_list_get()
+ return tuple(_strings_to_python(lst))
+
+ #}
+
+ #{ Elementary Scrolling
+ """These set how scrollable views in Elementary widgets should behave on
+ user interaction."""
+
+ property scroll_bounce_enabled:
+ """Whether scrollers should bounce when they reach their
+ viewport's edge during a scroll.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_config_scroll_bounce_enabled_get())
+ def __set__(self, enabled):
+ elm_config_scroll_bounce_enabled_set(enabled)
+
+ property scroll_bounce_friction:
+ """The amount of inertia a scroller will impose at bounce animations.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_bounce_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_bounce_friction_set(friction)
+
+ property scroll_page_scroll_friction:
+ """The amount of inertia a B{paged} scroller will impose at page
+ fitting animations.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_page_scroll_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_page_scroll_friction_set(friction)
+
+ property scroll_bring_in_scroll_friction:
+ """The amount of inertia a scroller will impose at region bring
+ animations.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_bring_in_scroll_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_bring_in_scroll_friction_set(friction)
+
+ property scroll_zoom_friction:
+ """The amount of inertia scrollers will impose at animations
+ triggered by Elementary widgets' zooming API.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_zoom_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_zoom_friction_set(friction)
+
+ property scroll_thumbscroll_enabled:
+ """Whether scrollers should be draggable from any point in their views.
+
+ @note: This is the default behavior for touch screens, in general.
+ @note: All other functions namespaced with "thumbscroll" will only
+ have effect if this mode is enabled.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_config_scroll_thumbscroll_enabled_get())
+ def __set__(self, enabled):
+ elm_config_scroll_thumbscroll_enabled_set(enabled)
+
+ property scroll_thumbscroll_threshold:
+ """The number of pixels one should travel while dragging a
+ scroller's view to actually trigger scrolling.
+
+ One would use higher values for touch screens, in general, because
+ of their inherent imprecision.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_config_scroll_thumbscroll_threshold_get()
+ def __set__(self, threshold):
+ elm_config_scroll_thumbscroll_threshold_set(threshold)
+
+ property scroll_thumbscroll_momentum_threshold:
+ """The minimum speed of mouse cursor movement which will trigger list
+ self scrolling animation after a mouse up event (pixels/second).
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_thumbscroll_momentum_threshold_get()
+ def __set__(self, threshold):
+ elm_config_scroll_thumbscroll_momentum_threshold_set(threshold)
+
+ property scroll_thumbscroll_friction:
+ """The amount of inertia a scroller will impose at self scrolling
+ animations.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_thumbscroll_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_thumbscroll_friction_set(friction)
+
+ property scroll_thumbscroll_border_friction:
+ """The amount of lag between your actual mouse cursor dragging
+ movement and a scroller's view movement itself, while pushing it
+ into bounce state manually.
+
+ @note: parameter value will get bound to 0.0 - 1.0 interval, always
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_thumbscroll_border_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_thumbscroll_border_friction_set(friction)
+
+ property scroll_thumbscroll_sensitivity_friction:
+ """The sensitivity amount which is be multiplied by the length of
+ mouse dragging.
+
+ C{0}.1 for minimum sensitivity, C{1}.0 for maximum sensitivity. 0.25 is
+ proper.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scroll_thumbscroll_sensitivity_friction_get()
+ def __set__(self, friction):
+ elm_config_scroll_thumbscroll_sensitivity_friction_set(friction)
+
+ #}
+
+ property longpress_timeout:
+ """The duration for occurring long press event.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_longpress_timeout_get()
+ def __set__(self, longpress_timeout):
+ elm_config_longpress_timeout_set(longpress_timeout)
+
+ property tooltip_delay:
+ """The duration after which tooltip will be shown.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_tooltip_delay_get()
+ def __set__(self, delay):
+ elm_config_tooltip_delay_set(delay)
+
+ property cursor_engine_only:
+ """The globally configured exclusive usage of engine cursors.
+
+ If True only engine cursors will be enabled, if False will look for
+ them on theme before.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_config_cursor_engine_only_get()
+ def __set__(self, engine_only):
+ elm_config_cursor_engine_only_set(engine_only)
+
+ property scale:
+ """The global scaling factor
+
+ This gets the globally configured scaling factor that is applied to
+ all objects.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_scale_get()
+ def __set__(self, scale):
+ elm_config_scale_set(scale)
+
+ #{ Password show last
+ """Show last feature of password mode enables user to view the last input
+ entered for few seconds before masking it. These functions allow to set
+ this feature in password mode of entry widget and also allow to
+ manipulate the duration for which the input has to be visible."""
+
+ property password_show_last:
+ """The "show last" setting of password mode.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_config_password_show_last_get()
+ def __set__(self, password_show_last):
+ elm_config_password_show_last_set(password_show_last)
+
+ property password_show_last_timeout:
+ """The timeout value for which the last input entered in password
+ mode will be visible.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_config_password_show_last_timeout_get()
+ def __set__(self, password_show_last_timeout):
+ elm_config_password_show_last_timeout_set(password_show_last_timeout)
+
+ #}
+
+ #{ Elementary Engine
+ """These are functions setting and querying which rendering engine
+ Elementary will use for drawing its windows' pixels.
+
+ The following are the available engines:
+ - "software_x11"
+ - "fb"
+ - "directfb"
+ - "software_16_x11"
+ - "software_8_x11"
+ - "xrender_x11"
+ - "opengl_x11"
+ - "software_gdi"
+ - "software_16_wince_gdi"
+ - "sdl"
+ - "software_16_sdl"
+ - "opengl_sdl"
+ - "buffer"
+ - "ews"
+ - "opengl_cocoa"
+ - "psl1ght"
+
+ """
+
+ property engine:
+ """Elementary's rendering engine in use.
+
+ This gets the global rendering engine that is applied to all
+ Elementary applications.
+
+ Note that it will take effect only to Elementary windows created
+ after this is set.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_config_engine_get())
+ def __set__(self, engine):
+ elm_config_engine_set(_cfruni(engine))
+
+ property preferred_engine:
+ """Get Elementary's preferred engine to use.
+
+ This gets the global rendering engine that is applied to all
+ Elementary applications and is PREFERRED by the application.
+
+ Note that it will take effect only to Elementary windows created
+ after this is called. This overrides the engine set by configuration
+ at application startup. Note that it is a hint and may not be honored.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_config_preferred_engine_get())
+ def __set__(self, engine):
+ elm_config_preferred_engine_set(_cfruni(engine))
+
+ property text_classes_list:
+ """Get Elementary's list of supported text classes.
+
+ @type: Elm_Text_Class
+
+ """
+ def __get__(self):
+ cdef Eina_List *lst
+ cdef Elm_Text_Class *data
+ cdef const_char_ptr name, desc
+ ret = []
+ lst = elm_config_text_classes_list_get()
+ while lst:
+ data = <Elm_Text_Class *>lst.data
+ if data != NULL:
+ name = data.name
+ desc = data.desc
+ ret.append((_ctouni(name), _ctouni(desc)))
+ lst = lst.next
+ return ret
+
+ property font_overlay_list:
+ """Get Elementary's list of font overlays, set with
+ L{font_overlay_set()}.
+
+ For each text class, one can set a B{font overlay} for it, overriding
+ the default font properties for that class coming from the theme in
+ use. There is no need to free this list.
+
+ @type: Elm_Font_Overlay
+
+ """
+ def __get__(self):
+ cdef const_Eina_List *lst
+ cdef Elm_Font_Overlay *data
+ cdef const_char_ptr text_class, font
+ cdef Evas_Font_Size size
+ ret = []
+ lst = elm_config_font_overlay_list_get()
+ while lst:
+ data = <Elm_Font_Overlay *>lst.data
+ if data != NULL:
+ text_class = data.text_class
+ font = data.font
+ size = data.size
+ ret.append((_ctouni(text_class), _ctouni(font), size))
+ lst = lst.next
+ return ret
+
+ def font_overlay_set(self, text_class, font, size):
+ """Set a font overlay for a given Elementary text class.
+
+ C{font} has to be in the format returned by font_fontconfig_name_get().
+
+ @see: L{font_overlay_list}
+ @see: L{font_overlay_unset()}
+ @see: C{edje_object_text_class_set()}
+
+ @param text_class: Text class name
+ @type text_class: string
+ @param font: Font name and style string
+ @type font: string
+ @param size: Font size
+ @type size: Evas_Font_Size
+
+ """
+ elm_config_font_overlay_set(_cfruni(text_class), _cfruni(font), size)
+
+ def font_overlay_unset(self, text_class):
+ """Unset a font overlay for a given Elementary text class.
+
+ This will bring back text elements belonging to text class
+ C{text_class} back to their default font settings.
+
+ @param text_class: Text class name
+ @type text_class: string
+
+ """
+ elm_config_font_overlay_unset(_cfruni(text_class))
+
+ def font_overlay_apply(self):
+ """Apply the changes made with L{font_overlay_set()} and
+ L{font_overlay_unset()} on the current Elementary window.
+
+ This applies all font overlays set to all objects in the UI.
+
+ """
+ elm_config_font_overlay_apply()
+
+ property finger_size:
+ """The configured "finger size"
+
+ This gets the globally configured finger size, B{in pixels}
+
+ @type: Evas_Coord (int)
+
+ """
+ def __get__(self):
+ return elm_config_finger_size_get()
+ def __set__(self, size):
+ elm_config_finger_size_set(size)
+
+ property cache_flush_interval:
+ """The globally configured cache flush interval time, in ticks
+
+ @see: C{cache_all_flush()}
+
+ @note: The C{size} must be greater than 0. if not, the cache flush
+ will be ignored.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_config_cache_flush_interval_get()
+ def __set__(self, size):
+ elm_config_cache_flush_interval_set(size)
+
+ property cache_flush_enabled:
+ """The configured cache flush enabled state
+
+ This property reflects the globally configured cache flush state -
+ if it is enabled or not. When cache flushing is enabled, elementary
+ will regularly (see L{cache_flush_interval}) flush
+ caches and dump data out of memory and allow usage to re-seed caches
+ and data in memory where it can do so. An idle application will thus
+ minimize its memory usage as data will be freed from memory and not
+ be re-loaded as it is idle and not rendering or doing anything
+ graphically right now.
+
+ @see: C{cache_all_flush()}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_config_cache_flush_enabled_get())
+ def __set__(self, enabled):
+ elm_config_cache_flush_enabled_set(enabled)
+
+ property cache_font_cache_size:
+ """The globally configured font cache size, in bytes.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_config_cache_font_cache_size_get()
+ def __set__(self, size):
+ elm_config_cache_font_cache_size_set(size)
+
+ property cache_image_cache_size:
+ """The globally configured image cache size, in bytes
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_config_cache_image_cache_size_get()
+ def __set__(self, size):
+ elm_config_cache_image_cache_size_set(size)
+
+
+ property cache_edje_file_cache_size:
+ """The globally configured edje file cache size, in number of files.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_config_cache_edje_file_cache_size_get()
+ def __set__(self, size):
+ elm_config_cache_edje_file_cache_size_set(size)
+
+ property cache_edje_collection_cache_size:
+ """The globally configured edje collections cache size, in number of
+ collections.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_config_cache_edje_collection_cache_size_get()
+ def __set__(self, size):
+ elm_config_cache_edje_collection_cache_size_set(size)
+
+ property focus_highlight_enabled:
+ """Whether the highlight on focused objects is enabled or not
+
+ Note that it will take effect only to Elementary windows created after
+ this is set.
+
+ @see: L{focus_highlight_enabled}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_config_focus_highlight_enabled_get())
+ def __set__(self, enable):
+ elm_config_focus_highlight_enabled_set(enable)
+
+ property focus_highlight_animate:
+ """Whether the focus highlight, if enabled, will animate its switch
+ from one object to the next
+
+ Note that it will take effect only to Elementary windows created after
+ this is set.
+
+ @see: L{Window}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_config_focus_highlight_animate_get())
+ def __set__(self, animate):
+ elm_config_focus_highlight_animate_set(animate)
+
+ property mirrored:
+ """Get the system mirrored mode. This determines the default
+ mirrored mode of widgets.
+
+ type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_config_mirrored_get())
+ def __set__(self, mirrored):
+ elm_config_mirrored_set(mirrored)
+
+ #}
+
+#For compatibility
+def config_finger_size_get():
+ return elm_config_finger_size_get()
+
+def config_finger_size_set(size):
+ elm_config_finger_size_set(size)
+
+def config_tooltip_delay_get():
+ return elm_config_tooltip_delay_get()
+
+def config_tooltip_delay_set(delay):
+ elm_config_tooltip_delay_set(delay)
+
+def focus_highlight_enabled_get():
+ return elm_config_focus_highlight_enabled_get()
+
+def focus_highlight_enabled_set(enabled):
+ elm_config_focus_highlight_enabled_set(enabled)
+
+def focus_highlight_animate_get():
+ return elm_config_focus_highlight_animate_get()
+
+def focus_highlight_animate_set(animate):
+ elm_config_focus_highlight_animate_set(animate)
+
+def preferred_engine_get():
+ return _ctouni(elm_config_preferred_engine_get())
+
+def preferred_engine_set(engine):
+ elm_config_preferred_engine_set(engine)
+
+def engine_get():
+ return _ctouni(elm_config_engine_get())
+
+def engine_set(engine):
+ elm_config_engine_set(_cfruni(engine))
+
+def scale_get():
+ return elm_config_scale_get()
+
+def scale_set(scale):
+ elm_config_scale_set(scale)
+
+def cursor_engine_only_get():
+ return elm_config_cursor_engine_only_get()
+
+def cursor_engine_only_set(engine_only):
+ elm_config_cursor_engine_only_set(engine_only)
+
diff --git a/elementary/elementary.c_elementary_conformant.pxi b/elementary/elementary.c_elementary_conformant.pxi
new file mode 100644
index 0000000..e4de7a0
--- /dev/null
+++ b/elementary/elementary.c_elementary_conformant.pxi
@@ -0,0 +1,47 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Conformant(LayoutClass) [object PyElementaryConformant, type PyElementaryConformant_Type]:
+
+ """The aim is to provide a widget that can be used in elementary apps to
+ account for space taken up by the indicator, virtual keypad & softkey
+ windows when running the illume2 module of E17.
+
+ So conformant content will be sized and positioned considering the
+ space required for such stuff, and when they popup, as a keyboard
+ shows when an entry is selected, conformant content won't change.
+
+ This widget emits the signals sent from L{Layout}.
+
+ Available styles for it:
+ - C{"default"}
+
+ Default content parts of the conformant widget that you can use for are:
+ - "default" - A content of the conformant
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_conformant_add(parent.obj))
+
+_elm_widget_type_register("conformant", Conformant)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryConformant_Type # hack to install metaclass
+_install_metaclass(&PyElementaryConformant_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_ctxpopup.pxi b/elementary/elementary.c_elementary_ctxpopup.pxi
new file mode 100644
index 0000000..f2db69c
--- /dev/null
+++ b/elementary/elementary.c_elementary_ctxpopup.pxi
@@ -0,0 +1,262 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class CtxpopupItem(ObjectItem):
+ def __init__(self, evasObject ctxpopup, label = None, evasObject icon = None, callback = None, *args, **kargs):
+ cdef Elm_Object_Item *item
+ cdef Evas_Smart_Cb cb = NULL
+
+ if callback:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+ item = elm_ctxpopup_item_append(ctxpopup.obj,
+ _cfruni(label) if label is not None else NULL,
+ icon.obj if icon is not None else NULL,
+ cb,
+ <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+cdef public class Ctxpopup(Object) [object PyElementaryCtxpopup, type PyElementaryCtxpopup_Type]:
+
+ """Context popup widget.
+
+ A ctxpopup is a widget that, when shown, pops up a list of items. It
+ automatically chooses an area inside its parent object's view to
+ optimally fit into it. In the default theme, it will also point an arrow
+ to it's top left position at the time one shows it. Ctxpopup items have
+ a label and/or an icon. It is intended for a small number of items
+ (hence the use of list, not genlist).
+
+ Signals that you can add callbacks for are:
+ - "dismissed" - the ctxpopup was dismissed
+
+ Default content parts of the ctxpopup widget that you can use for are:
+ - "default" - A content of the ctxpopup
+
+ Default content parts of the ctxpopup items that you can use for are:
+ - "icon" - An icon in the title area
+
+ Default text parts of the ctxpopup items that you can use for are:
+ - "default" - Title label in the title area
+
+ @note: Ctxpopup is a specialization of L{Hover}.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_ctxpopup_add(parent.obj))
+
+ def hover_parent_set(self, evasObject parent):
+ """Set the Ctxpopup's parent
+
+ Set the parent object.
+
+ @see: L{Hover.parent_set()}
+
+ @param parent: The parent to use
+ @type parent: L{Object}
+
+ """
+ elm_ctxpopup_hover_parent_set(self.obj, parent.obj)
+
+ def hover_parent_get(self):
+ """Get the Ctxpopup's parent
+
+ @see: L{hover_parent_set()} for more information
+
+ @return: The hover parent
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_ctxpopup_hover_parent_get(self.obj))
+
+ property parent:
+ """Ctxpopup's parent
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_ctxpopup_hover_parent_get(self.obj))
+
+ def __set__(self, evasObject parent):
+ elm_ctxpopup_hover_parent_set(self.obj, parent.obj)
+
+ def clear(self):
+ """Clear all items in the given ctxpopup object."""
+ elm_ctxpopup_clear(self.obj)
+
+ def horizontal_set(self, horizontal):
+ """Change the ctxpopup's orientation to horizontal or vertical.
+
+ @param horizontal: C{True} for horizontal mode, C{False} for vertical
+ @type horizontal: bool
+
+ """
+ elm_ctxpopup_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """Get the value of current ctxpopup object's orientation.
+
+ @see: L{horizontal_set()}
+
+ @return: C{True} for horizontal mode, C{False} for vertical mode (or errors)
+ @rtype: bool
+
+ """
+ return bool(elm_ctxpopup_horizontal_get(self.obj))
+
+ property horizontal:
+ """Ctxpopup objects orientation.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_ctxpopup_horizontal_get(self.obj))
+
+ def __set__(self, horizontal):
+ elm_ctxpopup_horizontal_set(self.obj, horizontal)
+
+ def item_append(self, label, evasObject icon = None, func = None, *args, **kwargs):
+ """Add a new item to a ctxpopup object.
+
+ @warning: Ctxpopup can't hold both an item list and a content at the
+ same time. When an item is added, any previous content will be
+ removed.
+
+ @see: L{Object.content_set()}
+
+ @param icon: Icon to be set on new item
+ @type icon: L{Object}
+ @param label: The Label of the new item
+ @type label: string
+ @param func: Convenience function called when item selected
+ @type func: function
+ @return: The item added or C{None}, on errors
+ @rtype: L{CtxpopupItem}
+
+ """
+ return CtxpopupItem(self, label, icon, func, *args, **kwargs)
+
+ def direction_priority_set(self, first, second, third, fourth):
+ """Set the direction priority order of a ctxpopup.
+
+ This functions gives a chance to user to set the priority of ctxpopup
+ showing direction. This doesn't guarantee the ctxpopup will appear
+ in the requested direction.
+
+ @param first: 1st priority of direction
+ @type first: Elm_Ctxpopup_Direction
+ @param second: 2nd priority of direction
+ @type second: Elm_Ctxpopup_Direction
+ @param third: 3th priority of direction
+ @type third: Elm_Ctxpopup_Direction
+ @param fourth: 4th priority of direction
+ @type fourth: Elm_Ctxpopup_Direction
+
+ """
+ elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth)
+
+ def direction_priority_get(self):
+ """Get the direction priority order of a ctxpopup.
+
+ @see: L{direction_priority_set()} for more information.
+
+ @return: The direction priority order
+ @rtype: tuple of Elm_Ctxpopup_Direction
+
+ """
+ cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth)
+ return (first, second, third, fourth)
+
+ property direction_priority:
+ """The direction priority order of a ctxpopup.
+
+ This functions gives a chance to user to set the priority of ctxpopup
+ showing direction. This doesn't guarantee the ctxpopup will appear
+ in the requested direction.
+
+ @type: tuple of Elm_Ctxpopup_Direction
+
+ """
+ def __get__(self):
+ cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ elm_ctxpopup_direction_priority_get(self.obj, &first, &second, &third, &fourth)
+ return (first, second, third, fourth)
+
+ def __set__(self, priority):
+ cdef Elm_Ctxpopup_Direction first, second, third, fourth
+ first, second, third, fourth = priority
+ elm_ctxpopup_direction_priority_set(self.obj, first, second, third, fourth)
+
+ def direction_get(self):
+ """Get the current direction of a ctxpopup.
+
+ @warning: Only once the ctxpopup is shown can the direction be
+ determined
+
+ @return: current direction of a ctxpopup
+ @rtype: Elm_Ctxpopup_Direction
+
+ """
+ return elm_ctxpopup_direction_get(self.obj)
+
+ property direction:
+ """Get the current direction of a ctxpopup.
+
+ @warning: Only once the ctxpopup is shown can the direction be
+ determined
+
+ @type: Elm_Ctxpopup_Direction
+
+ """
+ def __get__(self):
+ return elm_ctxpopup_direction_get(self.obj)
+
+ def dismiss(self):
+ """Dismiss a ctxpopup object
+
+ Use this function to simulate clicking outside the ctxpopup to
+ dismiss it. In this way, the ctxpopup will be hidden and the
+ "clicked" signal will be emitted.
+
+ """
+ elm_ctxpopup_dismiss(self.obj)
+
+ def callback_dismissed_add(self, func, *args, **kwargs):
+ """the ctxpopup was dismissed"""
+ self._callback_add("dismissed", func, *args, **kwargs)
+
+ def callback_dismissed_del(self, func):
+ self._callback_del("dismissed", func)
+
+_elm_widget_type_register("ctxpopup", Ctxpopup)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryCtxpopup_Type # hack to install metaclass
+_install_metaclass(&PyElementaryCtxpopup_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_datetime.pxi b/elementary/elementary.c_elementary_datetime.pxi
new file mode 100644
index 0000000..4ffa487
--- /dev/null
+++ b/elementary/elementary.c_elementary_datetime.pxi
@@ -0,0 +1,470 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from datetime import datetime
+
+cdef public class Datetime(Object) [object PyElementaryDatetime, type PyElementaryDatetime_Type]:
+
+ """Datetime widget is used to display and input date & time values.
+
+ This widget displays date and time as per the B{system's locale} settings
+ (Date includes Day, Month & Year along with the defined separators and Time
+ includes Hour, Minute & AM/PM fields). Separator for AM/PM field is ignored.
+
+ The corresponding Month, AM/PM strings are displayed according to the
+ system’s language settings.
+
+ Datetime format is a combination of LIBC standard characters like "%%d %%b
+ %%Y %%I : %%M %%p" which, as a whole represents both Date as well as Time
+ format.
+
+ Elm_datetime supports only the following sub set of libc date format specifiers:
+
+ B{%%Y} : The year as a decimal number including the century (example: 2011).
+
+ B{%%y} : The year as a decimal number without a century (range 00 to 99)
+
+ B{%%m} : The month as a decimal number (range 01 to 12).
+
+ B{%%b} : The abbreviated month name according to the current locale.
+
+ B{%%B} : The full month name according to the current locale.
+
+ B{%%h} : The abbreviated month name according to the current locale(same as %%b).
+
+ B{%%d} : The day of the month as a decimal number (range 01 to 31).
+
+ B{%%e} : The day of the month as a decimal number (range 1 to 31). single
+ digits are preceded by a blank.
+
+ B{%%I} : The hour as a decimal number using a 12-hour clock (range 01 to 12).
+
+ B{%%H} : The hour as a decimal number using a 24-hour clock (range 00 to 23).
+
+ B{%%k} : The hour (24-hour clock) as a decimal number (range 0 to 23). single
+ digits are preceded by a blank.
+
+ B{%%l} : The hour (12-hour clock) as a decimal number (range 1 to 12); single
+ digits are preceded by a blank.
+
+ B{%%M} : The minute as a decimal number (range 00 to 59).
+
+ B{%%p} : Either 'AM' or 'PM' according to the given time value, or the
+ corresponding strings for the current locale. Noon is treated as 'PM'
+ and midnight as 'AM'
+
+ B{%%P} : Like %p but in lower case: 'am' or 'pm' or a corresponding string for
+ the current locale.
+
+ B{%%c} : The preferred date and time representation for the current locale.
+
+ B{%%x} : The preferred date representation for the current locale without the time.
+
+ B{%%X} : The preferred time representation for the current locale without the date.
+
+ B{%%r} : The complete calendar time using the AM/PM format of the current locale.
+
+ B{%%R} : The hour and minute in decimal numbers using the format %H:%M.
+
+ B{%%T} : The time of day in decimal numbers using the format %H:%M:%S.
+
+ B{%%D} : The date using the format %%m/%%d/%%y.
+
+ B{%%F} : The date using the format %%Y-%%m-%%d.
+
+ (For more reference on the available B{LIBC date format specifiers}, please
+ visit the link:
+ http://www.gnu.org/s/hello/manual/libc.html#Formatting-Calendar-Time )
+
+ Datetime widget can provide Unicode B{separators} in between its fields
+ except for AM/PM field.
+ A separator can be any B{Unicode character} other than the LIBC standard
+ date format specifiers.( Example: In the format %%b %%d B{,} %%y %%H B{:} %%M
+ comma(,) is separator for date field %%d and colon(:) is separator for
+ hour field %%H ).
+
+ The default format is a predefined one, based on the system Locale.
+
+ Hour format 12hr(1-12) or 24hr(0-23) display can be selected by setting
+ the corresponding user format.
+
+ Datetime supports six fields: Year, Month, Date, Hour, Minute, AM/PM.
+ Depending on the Datetime module that is loaded, the user can see
+ different UI to select the individual field values.
+
+ The individual fields of Datetime can be arranged in any order according to
+ the format set by application.
+
+ There is a provision to set the visibility of a particular field as TRUE/
+ FALSE so that B{only time/ only date / only required fields} will be
+ displayed.
+
+ Each field is having a default minimum and maximum values just like the daily
+ calendar information. These min/max values can be modified as per the
+ application usage.
+
+ User can enter the values only in between the range of maximum and minimum.
+ Apart from these APIs, there is a provision to display only a limited set of
+ values out of the possible values. APIs to select the individual field limits
+ are intended for this purpose.
+
+ The whole widget is left aligned and its size grows horizontally depending
+ on the current format and each field's visible/disabled state.
+
+ Datetime individual field selection is implemented in a modular style.
+ Module can be implemented as a Ctxpopup based selection or an ISE based
+ selection or even a spinner like selection etc.
+
+ B{Datetime Module design:}
+
+ The following functions are expected to be implemented in a Datetime module:
+
+ B{Field creation::}
+ __________ __________
+ | |----- obj_hook() ---------------------->>>| |
+ | |<<<----------------returns Mod_data ------| |
+ | Datetime |_______ | |
+ | widget | |Assign module call backs | Module |
+ | base |<<<____| | |
+ | | | |
+ | |----- field_create() ------------------>>>| |
+ |__________|<<<----------------returns field_obj -----|__________|
+
+ B{Field value setting::}
+ __________ __________
+ | | | |
+ | Datetime |<<<----------elm_datetime_value_set()---| |
+ | widget | | Module |
+ | base |----display_field_value()------------>>>| |
+ |__________| |__________|
+
+ B{del_hook::}
+ __________ __________
+ | | | |
+ | Datetime |----obj_unhook()-------------------->>>>| |
+ | widget | | Module |
+ | base | <<<-----frees mod_data---------| |
+ |__________| |__________|
+
+
+ Any module can use the following shared functions that are implemented in
+ elm_datetime.c :
+
+ B{field_format_get()} - gives the field format.
+
+ B{field_limit_get()} - gives the field minimum, maximum limits.
+
+ To enable a module, set the ELM_MODULES environment variable as shown:
+
+ B{export ELM_MODULES="datetime_input_ctxpopup>datetime/api"}
+
+ This widget emits the following signals, besides the ones sent from L{Layout}:
+ - B{"changed"} - whenever Datetime field value is changed, this
+ signal is sent.
+ - B{"language,changed"} - whenever system locale changes, this
+ signal is sent.
+
+ """
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_datetime_add(parent.obj))
+
+ property format:
+ """The datetime format. Format is a combination of allowed Libc date format
+ specifiers like: "%b %d, %Y %I : %M %p".
+
+ Maximum allowed format length is 64 chars.
+
+ Format can include separators for each individual datetime field except
+ for AM/PM field.
+
+ Each separator can be a maximum of 6 UTF-8 bytes.
+ Space is also taken as a separator.
+
+ Following are the allowed set of format specifiers for each datetime field.
+
+ B{%%Y} : The year as a decimal number including the century.
+
+ B{%%y} : The year as a decimal number without a century (range 00 to 99).
+
+ B{%%m} : The month as a decimal number (range 01 to 12).
+
+ B{%%b} : The abbreviated month name according to the current locale.
+
+ B{%%B} : The full month name according to the current locale.
+
+ B{%%h} : The abbreviated month name according to the current locale(same as %%b).
+
+ B{%%d} : The day of the month as a decimal number (range 01 to 31).
+
+ B{%%e} : The day of the month as a decimal number (range 1 to 31). single
+ digits are preceded by a blank.
+
+ B{%%I} : The hour as a decimal number using a 12-hour clock (range 01 to 12).
+
+ B{%%H} : The hour as a decimal number using a 24-hour clock (range 00 to 23).
+
+ B{%%k} : The hour (24-hour clock) as a decimal number (range 0 to 23). single
+ digits are preceded by a blank.
+
+ B{%%l} : The hour (12-hour clock) as a decimal number (range 1 to 12); single
+ digits are preceded by a blank.
+
+ B{%%M} : The minute as a decimal number (range 00 to 59).
+
+ B{%%p} : Either 'AM' or 'PM' according to the given time value, or the
+ corresponding strings for the current locale. Noon is treated as 'PM'
+ and midnight as 'AM'.
+
+ B{%%P} : Like %p but in lower case: 'am' or 'pm' or a corresponding string for
+ the current locale.
+
+ B{%%c} : The preferred date and time representation for the current locale.
+
+ B{%%x} : The preferred date representation for the current locale without the time.
+
+ B{%%X} : The preferred time representation for the current locale without the date.
+
+ B{%%r} : The complete calendar time using the AM/PM format of the current locale.
+
+ B{%%R} : The hour and minute in decimal numbers using the format %H:%M.
+
+ B{%%T} : The time of day in decimal numbers using the format %H:%M:%S.
+
+ B{%%D} : The date using the format %%m/%%d/%%y.
+
+ B{%%F} : The date using the format %%Y-%%m-%%d.
+
+ These specifiers can be arranged in any order and the widget will display the
+ fields accordingly.
+
+ Default format is taken as per the system locale settings.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_datetime_format_get(self.obj))
+ def __set__(self, fmt):
+ elm_datetime_format_set(self.obj, _cfruni(fmt))
+
+ property value_max:
+ """The upper boundary of a field.
+
+ Year: years since 1900. Negative value represents year below 1900 (year
+ value -30 represents 1870). Year default range is from 70 to 137.
+
+ Month: default value range is from 0 to 11.
+
+ Date: default value range is from 1 to 31 according to the month value.
+
+ Hour: default value will be in terms of 24 hr format (0~23)
+
+ Minute: default value range is from 0 to 59.
+
+ @type: datetime.datetime
+
+ """
+ def __get__(self):
+ cdef tm time
+ elm_datetime_value_max_get(self.obj, &time)
+ ret = datetime( time.tm_year + 1900,
+ time.tm_mon + 1,
+ time.tm_mday,
+ time.tm_hour,
+ time.tm_min,
+ time.tm_sec)
+ return ret
+
+ def __set__(self, newtime):
+ cdef tm time
+ tmtup = newtime.timetuple()
+ time.tm_sec = tmtup.tm_sec
+ time.tm_min = tmtup.tm_min
+ time.tm_hour = tmtup.tm_hour
+ time.tm_mday = tmtup.tm_mday
+ time.tm_mon = tmtup.tm_mon - 1
+ time.tm_year = tmtup.tm_year - 1900
+ time.tm_wday = tmtup.tm_wday
+ time.tm_yday = tmtup.tm_yday
+ time.tm_isdst = tmtup.tm_isdst
+ elm_datetime_value_max_set(self.obj, &time)
+
+ property value_min:
+ """The lower boundary of a field.
+
+ Year: years since 1900. Negative value represents year below 1900 (year
+ value -30 represents 1870). Year default range is from 70 to 137.
+
+ Month: default value range is from 0 to 11.
+
+ Date: default value range is from 1 to 31 according to the month value.
+
+ Hour: default value will be in terms of 24 hr format (0~23)
+
+ Minute: default value range is from 0 to 59.
+
+ @type: datetime.datetime
+
+ """
+ def __get__(self):
+ cdef tm time
+ elm_datetime_value_min_get(self.obj, &time)
+ ret = datetime( time.tm_year + 1900,
+ time.tm_mon + 1,
+ time.tm_mday,
+ time.tm_hour,
+ time.tm_min,
+ time.tm_sec)
+ return ret
+
+ def __set__(self, newtime):
+ cdef tm time
+ tmtup = newtime.timetuple()
+ time.tm_sec = tmtup.tm_sec
+ time.tm_min = tmtup.tm_min
+ time.tm_hour = tmtup.tm_hour
+ time.tm_mday = tmtup.tm_mday
+ time.tm_mon = tmtup.tm_mon - 1
+ time.tm_year = tmtup.tm_year - 1900
+ time.tm_wday = tmtup.tm_wday
+ time.tm_yday = tmtup.tm_yday
+ time.tm_isdst = tmtup.tm_isdst
+ elm_datetime_value_min_set(self.obj, &time)
+
+ property field_limit:
+ """The field limits of a field.
+
+ Limits can be set to individual fields, independently, except for AM/PM field.
+ Any field can display the values only in between these Minimum and Maximum limits unless
+ the corresponding time value is restricted from MinTime to MaxTime.
+ That is, Min/ Max field limits always works under the limitations of MinTime/ MaxTime.
+
+ There is no provision to set the limits of AM/PM field.
+
+ Type of the field. ELM_DATETIME_YEAR etc.
+ Reference to field's minimum value
+ Reference to field's maximum value
+
+ type: (Elm_Datetime_Field_Type, int, int)
+
+ """
+ def __get__(self):
+ cdef int min, max
+ cdef Elm_Datetime_Field_Type fieldtype = ELM_DATETIME_YEAR
+ elm_datetime_field_limit_get(self.obj, fieldtype, &min, &max)
+ return (fieldtype, min, max)
+
+ def __set__(self, value):
+ cdef int min, max
+ cdef Elm_Datetime_Field_Type fieldtype
+ min, max, fieldtype = value
+ elm_datetime_field_limit_set(self.obj, fieldtype, min, max)
+
+ property value:
+ """The current value of a field.
+
+ Year: years since 1900. Negative value represents year below 1900 (year
+ value -30 represents 1870). Year default range is from 70 to 137.
+
+ Month: default value range is from 0 to 11.
+
+ Date: default value range is from 1 to 31 according to the month value.
+
+ Hour: default value will be in terms of 24 hr format (0~23)
+
+ Minute: default value range is from 0 to 59.
+
+ @type: tm
+
+ """
+ def __get__(self):
+ cdef tm time
+ elm_datetime_value_get(self.obj, &time)
+ ret = datetime( time.tm_year + 1900,
+ time.tm_mon + 1,
+ time.tm_mday,
+ time.tm_hour,
+ time.tm_min,
+ time.tm_sec)
+ return ret
+
+ def __set__(self, newtime):
+ cdef tm time
+ tmtup = newtime.timetuple()
+ time.tm_sec = tmtup.tm_sec
+ time.tm_min = tmtup.tm_min
+ time.tm_hour = tmtup.tm_hour
+ time.tm_mday = tmtup.tm_mday
+ time.tm_mon = tmtup.tm_mon - 1
+ time.tm_year = tmtup.tm_year - 1900
+ time.tm_wday = tmtup.tm_wday
+ time.tm_yday = tmtup.tm_yday
+ time.tm_isdst = tmtup.tm_isdst
+ elm_datetime_value_set(self.obj, &time)
+
+ def field_visible_get(self, fieldtype):
+ """Whether a field can be visible/not
+
+ @see: L{field_visible_set()}
+
+ @param fieldtype: Type of the field. ELM_DATETIME_YEAR etc
+ @type fieldtype: Elm_Datetime_Field_Type
+ @return: C{True}, if field can be visible. C{False} otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_datetime_field_visible_get(self.obj, fieldtype))
+
+ def field_visible_set(self, fieldtype, visible):
+ """Set a field to be visible or not.
+
+ Setting this API True does not ensure that the field is visible, apart
+ from this, the field's format must be present in Datetime overall format.
+ If a field's visibility is set to False then it won't appear even though
+ its format is present in overall format. So if and only if this API is
+ set true and the corresponding field's format is present in Datetime
+ format, the field is visible.
+
+ By default the field visibility is set to True.
+
+ @see: elm_datetime_field_visible_get()
+
+ @param fieldtype: Type of the field. ELM_DATETIME_YEAR etc.
+ @type fieldtype: Elm_Datetime_Field_Type
+ @param visible: C{True} field can be visible, C{False} otherwise.
+ @type visible: bool
+
+ """
+ elm_datetime_field_visible_set(self.obj, fieldtype, visible)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """Whenever Datetime field value is changed, this signal is sent."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+ def callback_languge_changed_add(self, func, *args, **kwargs):
+ """Whenever system locale changes, this signal is sent."""
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+_elm_widget_type_register("datetime", Datetime)
diff --git a/elementary/elementary.c_elementary_dayselector.pxi b/elementary/elementary.c_elementary_dayselector.pxi
new file mode 100644
index 0000000..acaab47
--- /dev/null
+++ b/elementary/elementary.c_elementary_dayselector.pxi
@@ -0,0 +1,157 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Dayselector(LayoutClass) [object PyElementaryDayselector, type PyElementaryDayselector_Type]:
+
+ """Dayselector displays all seven days of the week and allows the user to
+ select multiple days.
+
+ The selection can be toggle by just clicking on the day.
+
+ Dayselector also provides the functionality to check whether a day is
+ selected or not.
+
+ First day of the week is taken from config settings by default. It can be
+ altered by using the API L{week_start} API.
+
+ APIs are provided for setting the duration of weekend L{weekend_start}
+ and L{weekend_length} does this job.
+
+ Two styles of weekdays and weekends are supported in Dayselector.
+ Application can emit signals on individual check objects for setting the
+ weekday, weekend styles.
+
+ Once the weekend start day or weekend length changes, all the weekday &
+ weekend styles will be reset to default style. It's the application's
+ responsibility to set the styles again by sending corresponding signals.
+
+ "day0" indicates Sunday, "day1" indicates Monday etc. continues and so,
+ "day6" indicates the Saturday part name.
+
+ Application can change individual day display string by using the API
+ L{Object.part_text_set()}.
+
+ L{Object.part_content_set()} API sets the individual day object only if
+ the passed one is a Check widget.
+
+ Check object representing a day can be set/get by the application by using
+ the elm_object_part_content_set/get APIs thus providing a way to handle
+ the different check styles for individual days.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"dayselector,changed"} - when the user changes the state of a day.
+ - C{"language,changed"} - the program's language changed
+
+ Available styles for dayselector are:
+ - default
+
+ """
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_dayselector_add(parent.obj))
+
+ def day_selected_set(self, day, selected):
+ """Set the state of given Dayselector_Day.
+
+ @see: Elm_Dayselector_Day
+ @see: L{day_selected_get()}
+
+ @param day: The day that the user want to set state.
+ @type day: Elm_Dayselector_Day
+ @param selected: state of the day. C{True} is selected.
+ @type selected: bool
+
+ """
+ elm_dayselector_day_selected_set(self.obj, day, selected)
+
+ def day_selected_get(self, day):
+ """Get the state of given Dayselector_Day.
+
+ @see: Elm_Dayselector_Day
+ @see: L{day_selected_set()}
+
+ @param day: The day that the user want to know state.
+ @type day: Elm_Dayselector_Day
+ @return: C{True}, if the Day is selected
+ @rtype: bool
+
+ """
+ return bool(elm_dayselector_day_selected_get(self.obj, day))
+
+ property week_start:
+ """The starting day of Dayselector.
+
+ @type: Elm_Dayselector_Day
+
+ @see: Elm_Dayselector_Day
+ @see: L{week_start_get()}
+
+ """
+ def __get__(self):
+ return elm_dayselector_week_start_get(self.obj)
+ def __set__(self, day):
+ elm_dayselector_week_start_set(self.obj, day)
+
+ property weekend_start:
+ """The weekend starting day of Dayselector.
+
+ @type: Elm_Dayselector_Day
+
+ @see: Elm_Dayselector_Day
+ @see: L{weekend_start_get()}
+
+ """
+ def __get__(self):
+ return elm_dayselector_weekend_start_get(self.obj)
+ def __set__(self, day):
+ elm_dayselector_weekend_start_set(self.obj, day)
+
+ property weekend_length:
+ """The weekend length of Dayselector.
+
+ @type: int
+
+ @see: L{weekend_length_get()}
+
+ """
+ def __get__(self):
+ return elm_dayselector_weekend_length_get(self.obj)
+ def __set__(self, length):
+ elm_dayselector_weekend_length_set(self.obj, length)
+
+ def callback_dayselector_changed_add(self, func, *args, **kwargs):
+ """when the user changes the state of a day."""
+ self._callback_add("dayselector,changed", func, *args, **kwargs)
+
+ def callback_dayselector_changed_del(self, func):
+ self._callback_del("dayselector,changed", func)
+
+ def callback_language_changed_add(self, func, *args, **kwargs):
+ """the program's language changed"""
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+
+_elm_widget_type_register("dayselector", Dayselector)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryDayselector_Type # hack to install metaclass
+_install_metaclass(&PyElementaryDayselector_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_diskselector.pxi b/elementary/elementary.c_elementary_diskselector.pxi
new file mode 100644
index 0000000..3810c28
--- /dev/null
+++ b/elementary/elementary.c_elementary_diskselector.pxi
@@ -0,0 +1,418 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class DiskselectorItem(ObjectItem):
+
+ """An item for the Diskselector widget."""
+
+ def __init__(self, evasObject diskselector, label, evasObject icon=None, callback=None, *args, **kargs):
+ cdef Evas_Object* icon_obj = NULL
+ cdef Evas_Smart_Cb cb = NULL
+
+ if icon is not None:
+ icon_obj = icon.obj
+
+ if callback is not None:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+
+ item = elm_diskselector_item_append(diskselector.obj, _cfruni(label), icon_obj, cb, <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ property selected:
+ """The selected state of an item.
+
+ This sets the selected state of the given item.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+ Previously selected item can be fetched from the property
+ L{Diskselector.selected_item}.
+
+ If the item is unselected, the first item of diskselector will
+ be selected.
+
+ Selected items will be visible on center position of diskselector.
+ So if it was on another position before selected, or was invisible,
+ diskselector will animate items until the selected item reaches center
+ position.
+
+ @see: L{Diskselector.selected_item}
+
+ @type: bool
+
+ """
+ def __set__(self, selected):
+ elm_diskselector_item_selected_set(self.item, selected)
+ def __get__(self):
+ return bool(elm_diskselector_item_selected_get(self.item))
+
+ property prev:
+ """Get the item before C{item} in diskselector.
+
+ The list of items follows append order. So it will return item appended
+ just before C{item} and that wasn't deleted.
+
+ If it is the first item, C{None} will be returned.
+ First item can be get by L{Diskselector.first_item}.
+
+ @see: L{Diskselector.item_append()}
+ @see: L{Diskselector.items}
+
+ @type: DiskselectorItem
+
+ """
+ def __get__(self):
+ cdef Elm_Object_Item *it = elm_diskselector_item_prev_get(self.item)
+ return _object_item_to_python(it)
+
+ property next:
+ """Get the item after C{item} in diskselector.
+
+ The list of items follows append order. So it will return item appended
+ just after C{item} and that wasn't deleted.
+
+ If it is the last item, C{None} will be returned.
+ Last item can be get by elm_diskselector_last_item_get().
+
+ @see: L{Diskselector.item_append()}
+ @see: L{Diskselector.items}
+
+ @type: DiskselectorItem
+
+ """
+ def __get__(self):
+ cdef Elm_Object_Item *it = elm_diskselector_item_next_get(self.item)
+ return _object_item_to_python(it)
+
+cdef public class Diskselector(Object) [object PyElementaryDiskselector, type PyElementaryDiskselector_Type]:
+
+ """A diskselector is a kind of list widget. It scrolls horizontally,
+ and can contain label and icon objects. Three items are displayed
+ with the selected one in the middle.
+
+ It can act like a circular list with round mode and labels can be
+ reduced for a defined length for side items.
+
+ Smart callbacks one can listen to:
+ - "selected" - when item is selected, i.e. scroller stops.
+ - "scroll,anim,start" - scrolling animation has started
+ - "scroll,anim,stop" - scrolling animation has stopped
+ - "scroll,drag,start" - dragging the diskselector has started
+ - "scroll,drag,stop" - dragging the diskselector has stopped
+
+ Available styles for it:
+ - C{"default"}
+
+ Default content parts of the diskselector items that you can use for are:
+ - "icon" - An icon in the diskselector item
+
+ Default text parts of the diskselector items that you can use for are:
+ - "default" - Label of the diskselector item
+
+ @note: The "scroll,anim,*" and "scroll,drag,*" signals are only emitted
+ by user intervention.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_diskselector_add(parent.obj))
+
+ property round_enabled:
+ """Enable or disable round mode.
+
+ Disabled by default. If round mode is enabled the items list will
+ work like a circular list, so when the user reaches the last item,
+ the first one will popup.
+
+ @type: bool
+
+ """
+ def __set__(self, enabled):
+ elm_diskselector_round_enabled_set(self.obj, enabled)
+ def __get__(self):
+ return bool(elm_diskselector_round_enabled_get(self.obj))
+
+ property side_text_max_length:
+ """The side labels max length.
+
+ Length is the number of characters of items' label that will be
+ visible when it's set on side positions. It will just crop
+ the string after defined size. E.g.:
+
+ An item with label "January" would be displayed on side position as
+ "Jan" if max length is set to 3, or "Janu", if this property
+ is set to 4.
+
+ When it's selected, the entire label will be displayed, except for
+ width restrictions. In this case label will be cropped and "..."
+ will be concatenated.
+
+ Default side label max length is 3.
+
+ This property will be applied over all items, included before or
+ later this function call.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_diskselector_side_text_max_length_get(self.obj)
+ def __set__(self, length):
+ elm_diskselector_side_text_max_length_set(self.obj, length)
+
+ property display_item_num:
+ """The number of items to be displayed.
+
+ Default value is 3, and also it's the minimum. If C{num} is less
+ than 3, it will be set to 3.
+
+ Also, it can be set on theme, using data item C{display_item_num}
+ on group "elm/diskselector/item/X", where X is style set.
+ E.g.::
+ group { name: "elm/diskselector/item/X";
+ data {
+ item: "display_item_num" "5";
+ }
+
+ @type: int
+
+ """
+ def __set__(self, num):
+ elm_diskselector_display_item_num_set(self.obj, num)
+ def __get__(self):
+ return elm_diskselector_display_item_num_get(self.obj)
+
+ property bounce:
+ """Bouncing behaviour when the scrolled content reaches an edge.
+
+ Tell the internal scroller object whether it should bounce or not
+ when it reaches the respective edges for each axis.
+
+ @see: L{Scroller.bounce}
+
+ @type: (bool h_bounce, bool v_bounce)
+
+ """
+ def __set__(self, bounce):
+ h_bounce, v_bounce = bounce
+ elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ def __get__(self):
+ cdef Eina_Bool h_bounce, v_bounce
+ elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ return (h_bounce, v_bounce)
+
+ property scroller_policy:
+ """The scrollbar policy.
+
+ This sets the scrollbar visibility policy for the given scroller.
+ ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
+ is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns
+ it on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.
+ This applies respectively for the horizontal and vertical scrollbars.
+
+ Both are disabled by default, i.e., are set to ELM_SCROLLER_POLICY_OFF.
+
+ @type: tuple of Elm_Scroller_Policy
+
+ """
+ def __get__(self):
+ cdef Elm_Scroller_Policy h_policy, v_policy
+ elm_scroller_policy_get(self.obj, &h_policy, &v_policy)
+ return (h_policy, v_policy)
+ def __set__(self, policy):
+ h_policy, v_policy = policy
+ elm_scroller_policy_set(self.obj, h_policy, v_policy)
+
+ def clear(self):
+ """Remove all diskselector's items.
+
+ @see: L{ObjectItem.delete()}
+ @see: L{item_append()}
+
+ """
+ elm_diskselector_clear(self.obj)
+
+ property items:
+ """Get a list of all the diskselector items.
+
+ @see: L{item_append()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+
+ @type: list of L{DiskselectorItem}s
+
+ """
+ def __get__(self):
+ cdef Elm_Object_Item *it
+ cdef const_Eina_List *lst
+
+ lst = elm_diskselector_items_get(self.obj)
+ ret = []
+ ret_append = ret.append
+ while lst:
+ it = <Elm_Object_Item *>lst.data
+ lst = lst.next
+ o = _object_item_to_python(it)
+ if o is not None:
+ ret_append(o)
+ return ret
+
+ def item_append(self, label, evasObject icon = None, callback = None, *args, **kwargs):
+ """Appends a new item to the diskselector object.
+
+ A new item will be created and appended to the diskselector, i.e.,
+ will be set as last item. Also, if there is no selected item, it will
+ be selected. This will always happens for the first appended item.
+
+ If no icon is set, label will be centered on item position, otherwise
+ the icon will be placed at left of the label, that will be shifted
+ to the right.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user stops the diskselector with
+ this item on center position.
+
+ Simple example (with no function callback or data associated)::
+ disk = Diskselector(win)
+ ic = Icon(win)
+ ic.file_set("path/to/image")
+ ic.resizable_set(EINA_TRUE, EINA_TRUE)
+ disk.item_append("label", ic)
+
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+ @see: L{Image}
+
+ @param label: The label of the diskselector item.
+ @type label: string
+ @param icon: The icon object to use at left side of the item. An
+ icon can be any Evas object, but usually it is an L{Icon}.
+ @type icon: L{evasObject}
+ @param func: The function to call when the item is selected.
+ @type func: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{DiskselectorItem}
+
+ """
+ return DiskselectorItem(self, label, icon, callback, *args, **kwargs)
+
+ property selected_item:
+ """Get the selected item.
+
+ The selected item can be unselected with function
+ L{DiskselectorItem.selected}, and the first item of diskselector
+ will be selected.
+
+ The selected item always will be centered on diskselector, with full
+ label displayed, i.e., max length set to side labels won't apply on
+ the selected item. More details on
+ L{side_text_max_length}.
+
+ @type: L{DiskselectorItem}
+
+ """
+ def __get__(self):
+ cdef Elm_Object_Item *it = elm_diskselector_selected_item_get(self.obj)
+ return _object_item_to_python(it)
+
+ property first_item:
+ """Get the first item of the diskselector.
+
+ The list of items follows append order. So it will return the first
+ item appended to the widget that wasn't deleted.
+
+ @see: L{item_append()}
+ @see: L{items}
+
+ @type: L{DiskselectorItem}
+
+ """
+ def __get__(self):
+ cdef Elm_Object_Item *it = elm_diskselector_first_item_get(self.obj)
+ return _object_item_to_python(it)
+
+ property last_item:
+ """Get the last item of the diskselector.
+
+ The list of items follows append order. So it will return last first
+ item appended to the widget that wasn't deleted.
+
+ @see: L{item_append()}
+ @see: L{items}
+
+ @type: L{DiskselectorItem}
+
+ """
+ def __get__(self):
+ cdef Elm_Object_Item *it = elm_diskselector_last_item_get(self.obj)
+ return _object_item_to_python(it)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """When item is selected, i.e. scroller stops."""
+ self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del_full("selected", _cb_object_item_conv, func)
+
+ def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ """Scrolling animation has started."""
+ self._callback_add("scroll,anim,start", func, *args, **kwargs)
+
+ 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):
+ """Scrolling animation has stopped."""
+ self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+
+ def callback_scroll_anim_stop_del(self, func):
+ self._callback_del("scroll,anim,stop", func)
+
+ def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ """Dragging the diskselector has started."""
+ self._callback_add("scroll,drag,start", func, *args, **kwargs)
+
+ 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):
+ """Dragging the diskselector has stopped."""
+ self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+
+ def callback_scroll_drag_stop_del(self, func):
+ self._callback_del("scroll,drag,stop", func)
+
+
+_elm_widget_type_register("diskselector", Diskselector)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryDiskselector_Type # hack to install metaclass
+_install_metaclass(&PyElementaryDiskselector_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_entry.pxi b/elementary/elementary.c_elementary_entry.pxi
new file mode 100644
index 0000000..d645154
--- /dev/null
+++ b/elementary/elementary.c_elementary_entry.pxi
@@ -0,0 +1,1797 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+def Entry_markup_to_utf8(str):
+ cdef const_char_ptr string
+ string = elm_entry_markup_to_utf8(str)
+ if string == NULL:
+ return None
+ return string
+
+def Entry_utf8_to_markup(str):
+ cdef const_char_ptr string
+ string = elm_entry_utf8_to_markup(str)
+ if string == NULL:
+ return None
+ return string
+
+class EntryAnchorInfo:
+ def __init__(self):
+ self.name = None
+ self.button = 0
+ self.x = 0
+ self.y = 0
+ self.w = 0
+ self.h = 0
+
+class EntryAnchorHoverInfo:
+ def __init__(self):
+ self.anchor_info = None
+ self.hover = None
+ self.hover_parent = (0, 0, 0, 0)
+ self.hover_left = False
+ self.hover_right = False
+ self.hover_top = False
+ self.hover_bottom = False
+
+def _entryanchor_conv(long addr):
+ cdef Elm_Entry_Anchor_Info *ei = <Elm_Entry_Anchor_Info *>addr
+ eai = EntryAnchorInfo()
+ eai.name = ei.name
+ eai.button = ei.button
+ eai.x = ei.x
+ eai.y = ei.y
+ eai.w = ei.w
+ eai.h = ei.h
+ return eai
+
+def _entryanchorhover_conv(long addr):
+ cdef Elm_Entry_Anchor_Hover_Info *ehi = <Elm_Entry_Anchor_Hover_Info *>addr
+ eahi = EntryAnchorHoverInfo()
+ eahi.anchor_info = <object>ehi.anchor_info
+ eahi.hover = Hover(None, <object>ehi.hover)
+ eahi.hover_parent = (ehi.hover_parent.x, ehi.hover_parent.y,
+ ehi.hover_parent.w, ehi.hover_parent.h)
+ eahi.hover_left = ehi.hover_left
+ eahi.hover_right = ehi.hover_right
+ eahi.hover_top = ehi.hover_top
+ eahi.hover_bottom = ehi.hover_bottom
+ return eahi
+
+cdef public class Entry(Object) [object PyElementaryEntry, type PyElementaryEntry_Type]:
+
+ """An entry is a convenience widget which shows a box that the user can
+ enter text into.
+
+ Entries by default don't scroll, so they grow to
+ accommodate the entire text, resizing the parent window as needed. This
+ can be changed with the L{scrollable_set()} function.
+
+ They can also be single line or multi line (the default) and when set
+ to multi line mode they support text wrapping in any of the modes
+ indicated by C{Elm_Wrap_Type}.
+
+ Other features include password mode, filtering of inserted text with
+ L{markup_filter_append()} and related functions, inline "items" and
+ formatted markup text.
+
+ Formatted text
+ ==============
+
+ The markup tags supported by the Entry are defined by the theme, but
+ even when writing new themes or extensions it's a good idea to stick to
+ a sane default, to maintain coherency and avoid application breakages.
+ Currently defined by the default theme are the following tags:
+ - <br>: Inserts a line break.
+ - <ps>: Inserts a paragraph separator. This is preferred over line
+ breaks.
+ - <tab>: Inserts a tab.
+ - <em>...</em>: Emphasis. Sets the @em oblique style for the
+ enclosed text.
+ - <b>...</b>: Sets the @b bold style for the enclosed text.
+ - <link>...</link>: Underlines the enclosed text.
+ - <hilight>...</hilight>: Highlights the enclosed text.
+
+ Special markups
+ ===============
+
+ Besides those used to format text, entries support two special markup
+ tags used to insert click-able portions of text or items inlined within
+ the text.
+
+ Anchors
+ -------
+
+ Anchors are similar to HTML anchors. Text can be surrounded by <a> and
+ </a> tags and an event will be generated when this text is clicked,
+ like this:
+
+ C{This text is outside <a href=anc-01>but this one is an anchor</a>}
+
+ The C{href} attribute in the opening tag gives the name that will be
+ used to identify the anchor and it can be any valid utf8 string.
+
+ When an anchor is clicked, an C{"anchor,clicked"} signal is emitted with
+ an C{Elm_Entry_Anchor_Info} in the C{event_info} parameter for the
+ callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
+ (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
+ an anchor.
+
+ Items
+ -----
+
+ Inlined in the text, any other L{Object} can be inserted by using
+ <item> tags this way:
+
+ C{<item size=16x16 vsize=full href=emoticon/haha></item>}
+
+ Just like with anchors, the C{href} identifies each item, but these need,
+ in addition, to indicate their size, which is done using any one of
+ C{size}, C{absize} or C{relsize} attributes. These attributes take their
+ value in the WxH format, where W is the width and H the height of the
+ item.
+
+ - absize: Absolute pixel size for the item. Whatever value is set will
+ be the item's size regardless of any scale value the object may have
+ been set to. The final line height will be adjusted to fit larger items.
+ - size: Similar to C{absize}, but it's adjusted to the scale value set
+ for the object.
+ - relsize: Size is adjusted for the item to fit within the current
+ line height.
+
+ Besides their size, items are specified a C{vsize} value that affects
+ how their final size and position are calculated. The possible values
+ are:
+ - ascent: Item will be placed within the line's baseline and its
+ ascent. That is, the height between the line where all characters are
+ positioned and the highest point in the line. For C{size} and C{absize}
+ items, the descent value will be added to the total line height to make
+ them fit. C{relsize} items will be adjusted to fit within this space.
+ - full: Items will be placed between the descent and ascent, or the
+ lowest point in the line and its highest.
+
+ After the size for an item is calculated, the entry will request an
+ object to place in its space. For this, the functions set with
+ L{item_provider_append()} and related functions will be called
+ in order until one of them returns a non-C{None} value. If no providers
+ are available, or all of them return C{None}, then the entry falls back
+ to one of the internal defaults, provided the name matches with one of
+ them.
+
+ All of the following are currently supported:
+ - emoticon/angry
+ - emoticon/angry-shout
+ - emoticon/crazy-laugh
+ - emoticon/evil-laugh
+ - emoticon/evil
+ - emoticon/goggle-smile
+ - emoticon/grumpy
+ - emoticon/grumpy-smile
+ - emoticon/guilty
+ - emoticon/guilty-smile
+ - emoticon/haha
+ - emoticon/half-smile
+ - emoticon/happy-panting
+ - emoticon/happy
+ - emoticon/indifferent
+ - emoticon/kiss
+ - emoticon/knowing-grin
+ - emoticon/laugh
+ - emoticon/little-bit-sorry
+ - emoticon/love-lots
+ - emoticon/love
+ - emoticon/minimal-smile
+ - emoticon/not-happy
+ - emoticon/not-impressed
+ - emoticon/omg
+ - emoticon/opensmile
+ - emoticon/smile
+ - emoticon/sorry
+ - emoticon/squint-laugh
+ - emoticon/surprised
+ - emoticon/suspicious
+ - emoticon/tongue-dangling
+ - emoticon/tongue-poke
+ - emoticon/uh
+ - emoticon/unhappy
+ - emoticon/very-sorry
+ - emoticon/what
+ - emoticon/wink
+ - emoticon/worried
+ - emoticon/wtf
+
+ Alternatively, an item may reference an image by its path, using
+ the URI form C{file:///path/to/an/image.png} and the entry will then
+ use that image for the item.
+
+ Setting entry's style
+ =====================
+
+ There are 2 major ways to change the entry's style:
+ - Theme - set the "base" field to the desired style.
+ - User style - Pushing overrides to the theme style to the textblock object
+ by using evas_object_textblock_style_user_push().
+
+ You should modify the theme when you would like to change the style for
+ aesthetic reasons. While the user style should be changed when you would
+ like to change the style to something specific defined at run-time, e.g,
+ setting font or font size in a text editor.
+
+ Loading and saving files
+ ========================
+
+ Entries have convenience functions to load text from a file and save
+ changes back to it after a short delay. The automatic saving is enabled
+ by default, but can be disabled with L{autosave_set()} and files
+ can be loaded directly as plain text or have any markup in them
+ recognized. See L{file_set()} for more details.
+
+ Emitted signals
+ ===============
+
+ This widget emits the following signals:
+ - "changed": The text within the entry was changed.
+ - "changed,user": The text within the entry was changed because of user interaction.
+ - "activated": The enter key was pressed on a single line entry.
+ - "press": A mouse button has been pressed on the entry.
+ - "longpressed": A mouse button has been pressed and held for a couple
+ seconds.
+ - "clicked": The entry has been clicked (mouse press and release).
+ - "clicked,double": The entry has been double clicked.
+ - "clicked,triple": The entry has been triple clicked.
+ - "focused": The entry has received focus.
+ - "unfocused": The entry has lost focus.
+ - "selection,paste": A paste of the clipboard contents was requested.
+ - "selection,copy": A copy of the selected text into the clipboard was
+ requested.
+ - "selection,cut": A cut of the selected text into the clipboard was
+ requested.
+ - "selection,start": A selection has begun and no previous selection
+ existed.
+ - "selection,changed": The current selection has changed.
+ - "selection,cleared": The current selection has been cleared.
+ - "cursor,changed": The cursor has changed position.
+ - "anchor,clicked": An anchor has been clicked. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ - "anchor,in": Mouse cursor has moved into an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ - "anchor,out": Mouse cursor has moved out of an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ - "anchor,up": Mouse button has been unpressed on an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ - "anchor,down": Mouse button has been pressed on an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+ - "preedit,changed": The preedit string has changed.
+ - "language,changed": Program language changed.
+
+ Default content parts of the entry items that you can use for are:
+ - "icon" - An icon in the entry
+ - "end" - A content in the end of the entry
+
+ Default text parts of the entry that you can use for are:
+ - "default" - text of the entry
+
+ """
+
+ def __init__(self, evasObject parent):
+ """This adds an entry to @p parent object.
+
+ By default, entries are:
+ - not scrolled
+ - multi-line
+ - word wrapped
+ - autosave is enabled
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: The new object or None if it cannot be created
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_entry_add(parent.obj))
+
+ def single_line_set(self, single_line):
+ """Sets the entry to single line mode.
+
+ In single line mode, entries don't ever wrap when the text reaches the
+ edge, and instead they keep growing horizontally. Pressing the C{Enter}
+ key will generate an C{"activate"} event instead of adding a new line.
+
+ When C{single_line} is C{False}, line wrapping takes effect again
+ and pressing enter will break the text into a different line
+ without generating any events.
+
+ @param single_line: If true, the text in the entry will be on a single
+ line.
+ @type single_line: bool
+
+ """
+ elm_entry_single_line_set(self.obj, single_line)
+
+ def single_line_get(self):
+ """Gets whether the entry is set to be single line.
+
+ @see: L{single_line_set()}
+
+ @return: If true, the text in the entry is set to display on a single
+ line.
+ @rtype: bool
+
+ """
+ return bool(elm_entry_single_line_get(self.obj))
+
+ property single_line:
+ """Single line mode.
+
+ In single line mode, entries don't ever wrap when the text reaches the
+ edge, and instead they keep growing horizontally. Pressing the C{Enter}
+ key will generate an C{"activate"} event instead of adding a new line.
+
+ When C{single_line} is C{False}, line wrapping takes effect again
+ and pressing enter will break the text into a different line
+ without generating any events.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_entry_single_line_get(self.obj))
+
+ def __set__(self, single_line):
+ elm_entry_single_line_set(self.obj, single_line)
+
+ def password_set(self, password):
+ """Sets the entry to password mode.
+
+ In password mode, entries are implicitly single line and the display of
+ any text in them is replaced with asterisks (*).
+
+ @param password: If true, password mode is enabled.
+ @type password: bool
+
+ """
+ elm_entry_password_set(self.obj, password)
+
+ def password_get(self):
+ """Gets whether the entry is set to password mode.
+
+ @see: L{password_set()}
+
+ @return: If true, the entry is set to display all characters
+ as asterisks (*).
+ @rtype: bool
+
+ """
+ return bool(elm_entry_password_get(self.obj))
+
+ property password:
+ """Sets the entry to password mode.
+
+ In password mode, entries are implicitly single line and the display of
+ any text in them is replaced with asterisks (*).
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_entry_password_get(self.obj))
+
+ def __set__(self, password):
+ elm_entry_password_set(self.obj, password)
+
+ def entry_set(self, entry):
+ """This sets the text displayed within the entry to C{entry}.
+
+ @note: Using this function bypasses text filters
+
+ @param entry: The text to be displayed
+ @type entry: string
+
+ """
+ elm_entry_entry_set(self.obj, _cfruni(entry))
+
+ def entry_get(self):
+ """This returns the text currently shown in object C{entry}.
+
+ @see: L{entry_set()}.
+
+ @return: The currently displayed text or None on failure
+ @rtype: string
+
+ """
+ return _ctouni(elm_entry_entry_get(self.obj))
+
+ property entry:
+ """The text displayed within the entry to C{entry}.
+
+ @note: Setting this bypasses text filters
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_entry_entry_get(self.obj))
+
+ def __set__(self, entry):
+ elm_entry_entry_set(self.obj, _cfruni(entry))
+
+ def entry_append(self, text):
+ """Appends C{entry} to the text of the entry.
+
+ Adds the text in C{entry} to the end of any text already present in the
+ widget.
+
+ The appended text is subject to any filters set for the widget.
+
+ @see: L{markup_filter_append()}
+
+ @param entry: The text to be displayed
+ @type entry: string
+
+ """
+ elm_entry_entry_append(self.obj, _cfruni(text))
+
+ def is_empty(self):
+ """Gets whether the entry is empty.
+
+ Empty means no text at all. If there are any markup tags, like an item
+ tag for which no provider finds anything, and no text is displayed, this
+ function still returns False.
+
+ @return: True if the entry is empty, False otherwise.
+ @rtype: bool
+
+ """
+ return elm_entry_is_empty(self.obj)
+
+ def selection_get(self):
+ """Gets any selected text within the entry.
+
+ If there's any selected text in the entry, this function returns it as
+ a string in markup format. None is returned if no selection exists or
+ if an error occurred.
+
+ The returned value points to an internal string and should not be freed
+ or modified in any way. If the C{entry} object is deleted or its
+ contents are changed, the returned pointer should be considered invalid.
+
+ @return: The selected text within the entry or None on failure
+ @rtype: string
+
+ """
+ return _ctouni(elm_entry_selection_get(self.obj))
+
+ property selection:
+ """Gets any selected text within the entry.
+
+ If there's any selected text in the entry, this function returns it as
+ a string in markup format. None is returned if no selection exists or
+ if an error occurred.
+
+ The returned value points to an internal string and should not be freed
+ or modified in any way. If the C{entry} object is deleted or its
+ contents are changed, the returned pointer should be considered invalid.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_entry_selection_get(self.obj))
+
+ def textblock_get(self):
+ """Returns the actual textblock object of the entry.
+
+ This function exposes the internal textblock object that actually
+ contains and draws the text. This should be used for low-level
+ manipulations that are otherwise not possible.
+
+ Changing the textblock directly from here will not notify edje/elm to
+ recalculate the textblock size automatically, so any modifications
+ done to the textblock returned by this function should be followed by
+ a call to L{calc_force()}.
+
+ The return value is marked as const as an additional warning.
+ One should not use the returned object with any of the generic evas
+ functions (geometry_get/resize/move and etc), but only with the textblock
+ functions; The former will either not work at all, or break the correct
+ functionality.
+
+ IMPORTANT: Many functions may change (i.e delete and create a new one)
+ the internal textblock object. Do NOT cache the returned object, and try
+ not to mix calls on this object with regular elm_entry calls (which may
+ change the internal textblock object). This applies to all cursors
+ returned from textblock calls, and all the other derivative values.
+
+ @return: The textblock object.
+ @rtype: Evas_Object
+
+ """
+ cdef Evas_Object *o
+ o = elm_entry_textblock_get(self.obj)
+ return Object_from_instance(o)
+
+ property textblock:
+ """Returns the actual textblock object of the entry.
+
+ This function exposes the internal textblock object that actually
+ contains and draws the text. This should be used for low-level
+ manipulations that are otherwise not possible.
+
+ Changing the textblock directly from here will not notify edje/elm to
+ recalculate the textblock size automatically, so any modifications
+ done to the textblock returned by this function should be followed by
+ a call to L{calc_force()}.
+
+ The return value is marked as const as an additional warning.
+ One should not use the returned object with any of the generic evas
+ functions (geometry_get/resize/move and etc), but only with the textblock
+ functions; The former will either not work at all, or break the correct
+ functionality.
+
+ IMPORTANT: Many functions may change (i.e delete and create a new one)
+ the internal textblock object. Do NOT cache the returned object, and try
+ not to mix calls on this object with regular elm_entry calls (which may
+ change the internal textblock object). This applies to all cursors
+ returned from textblock calls, and all the other derivative values.
+
+ @type: Evas_Object
+
+ """
+ def __get__(self):
+ cdef Evas_Object *o
+ o = elm_entry_textblock_get(self.obj)
+ return Object_from_instance(o)
+
+ def calc_force(self):
+ """Forces calculation of the entry size and text layouting.
+
+ This should be used after modifying the textblock object directly.
+
+ @see: L{textblock_get()}
+
+ """
+ elm_entry_calc_force(self.obj)
+
+ def entry_insert(self, entry):
+ """Inserts the given text into the entry at the current cursor position.
+
+ This inserts text at the cursor position as if it was typed
+ by the user (note that this also allows markup which a user
+ can't just "type" as it would be converted to escaped text, so this
+ call can be used to insert things like emoticon items or bold push/pop
+ tags, other font and color change tags etc.)
+
+ If any selection exists, it will be replaced by the inserted text.
+
+ The inserted text is subject to any filters set for the widget.
+
+ @see: L{markup_filter_append()}
+
+ @param entry: The text to insert
+ @type entry: string
+
+ """
+ elm_entry_entry_insert(self.obj, _cfruni(entry))
+
+ def line_wrap_set(self, wrap):
+ """Set the line wrap type to use on multi-line entries.
+
+ Sets the wrap type used by the entry to any of the specified in
+ Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
+ line (without inserting a line break or paragraph separator) when it
+ reaches the far edge of the widget.
+
+ Note that this only makes sense for multi-line entries. A widget set
+ to be single line will never wrap.
+
+ @param wrap: The wrap mode to use. See Elm_Wrap_Type for details on them
+ @type wrap: Elm_Wrap_Type
+
+ """
+ elm_entry_line_wrap_set(self.obj, wrap)
+
+ def line_wrap_get(self):
+ """Gets the wrap mode the entry was set to use.
+
+ @see: L{line_wrap_set()}
+
+ @return: Wrap type
+ @rtype: Elm_Wrap_Type
+
+ """
+ return elm_entry_line_wrap_get(self.obj)
+
+ property line_wrap:
+ """The line wrap type to use on multi-line entries.
+
+ This tells how the text will be implicitly cut into a new
+ line (without inserting a line break or paragraph separator) when it
+ reaches the far edge of the widget.
+
+ Note that this only makes sense for multi-line entries. A widget set
+ to be single line will never wrap.
+
+ @type: Elm_Wrap_Type
+
+ """
+ def __get__(self):
+ return elm_entry_line_wrap_get(self.obj)
+
+ def __set__(self, wrap):
+ elm_entry_line_wrap_set(self.obj, wrap)
+
+ def editable_set(self, editable):
+ """Sets if the entry is to be editable or not.
+
+ By default, entries are editable and when focused, any text input by the
+ user will be inserted at the current cursor position. But calling this
+ function with C{editable} as False will prevent the user from
+ inputting text into the entry.
+
+ The only way to change the text of a non-editable entry is to use
+ L{Object.text_set()}, L{entry_insert()} and other related
+ functions.
+
+ @param editable: If True, user input will be inserted in the entry,
+ if not, the entry is read-only and no user input is allowed.
+ @type editable: bool
+
+ """
+ elm_entry_editable_set(self.obj, editable)
+
+ def editable_get(self):
+ """Gets whether the entry is editable or not.
+
+ @see: L{editable_set()}
+
+ @return: If true, the entry is editable by the user.
+ If false, it is not editable by the user
+ @rtype: bool
+
+ """
+ return bool(elm_entry_editable_get(self.obj))
+
+ property editable:
+ """If the entry is to be editable or not.
+
+ By default, entries are editable and when focused, any text input by the
+ user will be inserted at the current cursor position. Setting this as
+ False will prevent the user from inputting text into the entry.
+
+ The only way to change the text of a non-editable entry is to use
+ L{Object.text_set()}, L{entry_insert()} and other related
+ functions and properties.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_entry_editable_get(self.obj))
+
+ def __set__(self, editable):
+ elm_entry_editable_set(self.obj, editable)
+
+ def select_none(self):
+ """This drops any existing text selection within the entry."""
+ elm_entry_select_none(self.obj)
+
+ def select_all(self):
+ """This selects all text within the entry."""
+ elm_entry_select_all(self.obj)
+
+ def cursor_next(self):
+ """This moves the cursor one place to the right within the entry.
+
+ @return: True upon success, False upon failure
+ @rtype: bool
+
+ """
+ return bool(elm_entry_cursor_next(self.obj))
+
+ def cursor_prev(self):
+ """This moves the cursor one place to the left within the entry.
+
+ @return: True upon success, False upon failure
+ @rtype: bool
+
+ """
+ return bool(elm_entry_cursor_prev(self.obj))
+
+ def cursor_up(self):
+ """This moves the cursor one line up within the entry.
+
+ @return: True upon success, False upon failure
+ @rtype: bool
+
+ """
+ return bool(elm_entry_cursor_up(self.obj))
+
+ def cursor_down(self):
+ """This moves the cursor one line down within the entry.
+
+ @return: True upon success, False upon failure
+ @rtype: bool
+
+ """
+ return bool(elm_entry_cursor_down(self.obj))
+
+ def cursor_begin_set(self):
+ """This moves the cursor to the beginning of the entry."""
+ elm_entry_cursor_begin_set(self.obj)
+
+ def cursor_end_set(self):
+ """This moves the cursor to the end of the entry."""
+ elm_entry_cursor_end_set(self.obj)
+
+ def cursor_line_begin_set(self):
+ """This moves the cursor to the beginning of the current line."""
+ elm_entry_cursor_line_begin_set(self.obj)
+
+ def cursor_line_end_set(self):
+ """This moves the cursor to the end of the current line."""
+ elm_entry_cursor_line_end_set(self.obj)
+
+ def cursor_selection_begin(self):
+ """This begins a selection within the entry as though the user were
+ holding down the mouse button to make a selection."""
+ elm_entry_cursor_selection_begin(self.obj)
+
+ def cursor_selection_end(self):
+ """This ends a selection within the entry as though the user had
+ just released the mouse button while making a selection."""
+ elm_entry_cursor_selection_end(self.obj)
+
+ def cursor_is_format_get(self):
+ """Gets whether a format node exists at the current cursor position.
+
+ A format node is anything that defines how the text is rendered. It can
+ be a visible format node, such as a line break or a paragraph separator,
+ or an invisible one, such as bold begin or end tag.
+ This function returns whether any format node exists at the current
+ cursor position.
+
+ @see: L{cursor_is_visible_format_get()}
+
+ @return: True if the current cursor position contains a format node,
+ False otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_entry_cursor_is_format_get(self.obj))
+
+ def cursor_is_visible_format_get(self):
+ """Gets if the current cursor position holds a visible format node.
+
+ @see: L{cursor_is_format_get()}
+
+ @return: True if the current cursor is a visible format, False
+ if it's an invisible one or no format exists.
+ @rtype: bool
+
+ """
+ return bool(elm_entry_cursor_is_visible_format_get(self.obj))
+
+ def cursor_content_get(self):
+ """Gets the character pointed by the cursor at its current position.
+
+ This function returns a string with the utf8 character stored at the
+ current cursor position.
+ Only the text is returned, any format that may exist will not be part
+ of the return value. You must free the string when done with free().
+
+ @return: The text pointed by the cursors.
+ @rtype: string
+
+ """
+ return elm_entry_cursor_content_get(self.obj)
+
+ def cursor_geometry_get(self):
+ """This function returns the geometry of the cursor.
+
+ It's useful if you want to draw something on the cursor (or where it is),
+ or for example in the case of scrolled entry where you want to show the
+ cursor.
+
+ @return: Geometry (x, y, w, h)
+ @rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef Evas_Coord x, y, w, h
+ #TODO: Check return status for success
+ elm_entry_cursor_geometry_get(self.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ def cursor_pos_set(self, pos):
+ """Sets the cursor position in the entry to the given value
+
+ The value in C{pos} is the index of the character position within the
+ contents of the string as returned by L{cursor_pos_get()}.
+
+ @param pos: The position of the cursor
+ @type pos: int
+
+ """
+ elm_entry_cursor_pos_set(self.obj, pos)
+
+ def cursor_pos_get(self):
+ """Retrieves the current position of the cursor in the entry
+
+ @return: The cursor position
+ @rtype: int
+
+ """
+ return elm_entry_cursor_pos_get(self.obj)
+
+ property cursor_pos:
+ """The cursor position in the entry
+
+ The value is the index of the character position within the
+ contents of the string.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_entry_cursor_pos_get(self.obj)
+
+ def __set__(self, pos):
+ elm_entry_cursor_pos_set(self.obj, pos)
+
+ def selection_cut(self):
+ """This executes a "cut" action on the selected text in the entry."""
+ elm_entry_selection_cut(self.obj)
+
+ def selection_copy(self):
+ """This executes a "copy" action on the selected text in the entry."""
+ elm_entry_selection_copy(self.obj)
+
+ def selection_paste(self):
+ """This executes a "paste" action in the entry."""
+ elm_entry_selection_paste(self.obj)
+
+ def context_menu_clear(self):
+ """This clears and frees the items in a entry's contextual (longpress) menu.
+
+ @see: L{context_menu_item_add()}
+
+ """
+ elm_entry_context_menu_clear(self.obj)
+
+ # TODO XXX
+ # def context_menu_item_add(self, label, icon_file, icon_type, cb, data):
+ """This adds an item to the entry's contextual menu.
+
+ A longpress on an entry will make the contextual menu show up, if this
+ hasn't been disabled with L{context_menu_disabled_set()}.
+ By default, this menu provides a few options like enabling selection mode,
+ which is useful on embedded devices that need to be explicit about it,
+ and when a selection exists it also shows the copy and cut actions.
+
+ With this function, developers can add other options to this menu to
+ perform any action they deem necessary.
+
+ @param label: The item's text label
+ @type label: string
+ @param icon_file: The item's icon file
+ @type icon_file: string
+ @param icon_type: The item's icon type
+ @type icon_type: string
+ @param func: The callback to execute when the item is clicked
+ @type func: function
+
+ """
+ #elm_entry_context_menu_item_add(self.obj, label, icon_file, icon_type, func, data);
+
+ def context_menu_disabled_set(self, disabled):
+ """This disables the entry's contextual (longpress) menu.
+
+ @param disabled: If true, the menu is disabled
+ @type disabled: bool
+
+ """
+ elm_entry_context_menu_disabled_set(self.obj, disabled)
+
+ def context_menu_disabled_get(self):
+ """This returns whether the entry's contextual (longpress) menu is
+ disabled.
+
+ @return: If true, the menu is disabled
+ @rtype: bool
+
+ """
+ return elm_entry_context_menu_disabled_get(self.obj)
+
+ property context_menu_disabled:
+ """This disables the entry's contextual (longpress) menu.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_entry_context_menu_disabled_get(self.obj)
+
+ def __set__(self, disabled):
+ elm_entry_context_menu_disabled_set(self.obj, disabled)
+
+
+ # elm_entry_item_provider_append() # TODO XXX
+
+ # elm_entry_item_provider_prepend() # TODO XXX
+
+ # elm_entry_item_provider_remove() # TODO XXX
+
+ # elm_entry_markup_filter_append() # TODO XXX
+
+ # elm_entry_markup_filter_prepend() # TODO XXX
+
+ # elm_entry_markup_filter_remove() # TODO XXX
+
+ markup_to_utf8 = staticmethod(Entry_markup_to_utf8)
+
+ utf8_to_markup = staticmethod(Entry_utf8_to_markup)
+
+ def file_set(self, file, format):
+ """This sets the file (and implicitly loads it) for the text to display and
+ then edit.
+
+ All changes are written back to the file after a short delay if
+ the entry object is set to autosave (which is the default).
+
+ If the entry had any other file set previously, any changes made to it
+ will be saved if the autosave feature is enabled, otherwise, the file
+ will be silently discarded and any non-saved changes will be lost.
+
+ @param file: The path to the file to load and save
+ @type file: string
+ @param format: The file format
+ @type format: Elm_Text_Format
+ @return: C{True} on success, C{False} otherwise
+
+ """
+ return bool(elm_entry_file_set(self.obj, _cfruni(file), format))
+
+ def file_get(self):
+ """Gets the file being edited by the entry.
+
+ This function can be used to retrieve any file set on the entry for
+ edition, along with the format used to load and save it.
+
+ @return: Tuple of file and format
+ @rtype: tuple of strings
+
+ """
+ cdef const_char_ptr file
+ cdef Elm_Text_Format format
+
+ elm_entry_file_get(self.obj, &file, &format)
+ return (_ctouni(file), format)
+
+ property file:
+ """The file for the text to display and then edit.
+
+ All changes are written back to the file after a short delay if
+ the entry object is set to autosave (which is the default).
+
+ If the entry had any other file set previously, any changes made to it
+ will be saved if the autosave feature is enabled, otherwise, the file
+ will be silently discarded and any non-saved changes will be lost.
+
+ @type: tuple of strings (file, format)
+
+ """
+ def __get__(self):
+ cdef const_char_ptr file
+ cdef Elm_Text_Format format
+ elm_entry_file_get(self.obj, &file, &format)
+ return (_ctouni(file), format)
+
+ def __set__(self, value):
+ file, format = value
+ elm_entry_file_set(self.obj, _cfruni(file), format)
+
+ def file_save(self):
+ """This function writes any changes made to the file set with
+ L{file_set()}.
+
+ """
+ elm_entry_file_save(self.obj)
+
+ def autosave_set(self, autosave):
+ """This sets the entry object to 'autosave' the loaded text file or not.
+
+ @see: L{file_set()}
+
+ @param autosave: Autosave the loaded file or not
+ @type autosave: bool
+
+ """
+ elm_entry_autosave_set(self.obj, autosave)
+
+ def autosave_get(self):
+ """This gets the entry object's 'autosave' status.
+
+ @see: L{file_set()}
+
+ @return: Autosave the loaded file or not
+ @rtype: bool
+
+ """
+ return elm_entry_autosave_get(self.obj)
+
+ property autosave:
+ """Whether the entry object 'autosaves' the loaded text file or not.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_entry_autosave_get(self.obj)
+
+ def __set__(self, autosave):
+ elm_entry_autosave_set(self.obj, autosave)
+
+ def scrollable_set(self, scrollable):
+ """Enable or disable scrolling in entry
+
+ Normally the entry is not scrollable unless you enable it with this call.
+
+ @param scroll: True if it is to be scrollable, False otherwise
+ @type scroll: bool
+
+ """
+ elm_entry_scrollable_set(self.obj, scrollable)
+
+ def scrollable_get(self):
+ """Get the scrollable state of the entry
+
+ Normally the entry is not scrollable. This gets the scrollable state
+ of the entry.
+
+ @see: L{scrollable_set()} for more information.
+
+ @return: The scrollable state
+ @rtype: bool
+
+ """
+ return bool(elm_entry_scrollable_get(self.obj))
+
+ property scrollable:
+ """Enable or disable scrolling in entry
+
+ Normally the entry is not scrollable.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_entry_scrollable_get(self.obj))
+
+ def __set__(self, scrollable):
+ elm_entry_scrollable_set(self.obj, scrollable)
+
+ def icon_visible_set(self, visible):
+ """Sets the visibility of the end widget of the entry, set by
+ C{Object.part_content_set("end", content)}.
+
+ @param setting: True if the object should be displayed, False if not.
+ @type setting: bool
+
+ """
+ elm_entry_icon_visible_set(self.obj, visible)
+
+ property icon_visible:
+ """Sets the visibility of the end widget of the entry, set by
+ C{Object.part_content_set("end", content)}.
+
+ @type: bool
+
+ """
+ def __set__(self, visible):
+ elm_entry_icon_visible_set(self.obj, visible)
+
+ def scrollbar_policy_set(self, Elm_Scroller_Policy h, Elm_Scroller_Policy v):
+ """This sets the entry's scrollbar policy (i.e. enabling/disabling
+ them).
+
+ Setting an entry to single-line mode with L{single_line_set()}
+ will automatically disable the display of scrollbars when the entry
+ moves inside its scroller.
+
+ @param h: The horizontal scrollbar policy to apply
+ @type h: Elm_Scroller_Policy
+ @param v: The vertical scrollbar policy to apply
+ @type v: Elm_Scroller_Policy
+
+ """
+ elm_entry_scrollbar_policy_set(self.obj, h, v)
+
+ property scrollbar_policy:
+ """This sets the entry's scrollbar policy (i.e. enabling/disabling
+ them).
+
+ Setting an entry to single-line mode with L{single_line_set()}
+ will automatically disable the display of scrollbars when the entry
+ moves inside its scroller.
+
+ @type: tuple of Elm_Scroller_Policy (h, v)
+
+ """
+ def __set__(self, value):
+ cdef Elm_Scroller_Policy h, v
+ h, v = value
+ elm_entry_scrollbar_policy_set(self.obj, h, v)
+
+ def bounce_set(self, h_bounce, v_bounce):
+ """This enables/disables bouncing within the entry.
+
+ This function sets whether the entry will bounce when scrolling reaches
+ the end of the contained entry.
+
+ @param h_bounce: The horizontal bounce state
+ @type h_bounce: bool
+ @param v_bounce: The vertical bounce state
+ @type v_bounce: bool
+
+ """
+ elm_entry_bounce_set(self.obj, h_bounce, v_bounce)
+
+ def bounce_get(self):
+ """Get the bounce mode
+
+ @return: Tuple with bounce modes for horizontal and vertical
+ @rtype: tuple of bools
+
+ """
+ cdef Eina_Bool h_bounce, v_bounce
+
+ elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce)
+ return (h_bounce, v_bounce)
+
+ property bounce:
+ """Whether the entry will bounce when scrolling reaches
+ the end of the contained entry.
+
+ @type: tuple of bools (h_bounce, v_bounce)
+
+ """
+ def __get__(self):
+ cdef Eina_Bool h_bounce, v_bounce
+ elm_entry_bounce_get(self.obj, &h_bounce, &v_bounce)
+ return (h_bounce, v_bounce)
+
+ def __set__(self, value):
+ cdef Eina_Bool h_bounce, v_bounce
+ h_bounce, v_bounce = value
+ elm_entry_bounce_set(self.obj, h_bounce, v_bounce)
+
+ def input_panel_layout_set(self, layout):
+ """Set the input panel layout of the entry
+
+ @param layout: layout type
+ @type layout: Elm_Input_Panel_Layout
+
+ """
+ elm_entry_input_panel_layout_set(self.obj, layout)
+
+ def input_panel_layout_get(self):
+ """Get the input panel layout of the entry
+
+ @see: L{input_panel_layout_set()}
+
+ @return: layout type
+ @rtype: Elm_Input_Panel_Layout
+
+ """
+ return elm_entry_input_panel_layout_get(self.obj)
+
+ property input_panel_layout:
+ """The input panel layout of the entry
+
+ @type: Elm_Input_Panel_Layout
+
+ """
+ def __get__(self):
+ return elm_entry_input_panel_layout_get(self.obj)
+
+ def __set__(self, layout):
+ elm_entry_input_panel_layout_set(self.obj, layout)
+
+ def input_panel_enabled_set(self, enabled):
+ """Sets the attribute to show the input panel automatically.
+
+ @param enabled: If true, the input panel is appeared when entry is
+ clicked or has a focus
+ @type enabled: bool
+
+ """
+ elm_entry_input_panel_enabled_set(self.obj, enabled)
+
+ def input_panel_enabled_get(self):
+ """Retrieve the attribute to show the input panel automatically.
+
+ @return: True if input panel will be appeared when the entry is clicked
+ or has a focus, False otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_entry_input_panel_enabled_get(self.obj))
+
+ property input_panel_enabled:
+ """Whether to show the input panel automatically or not.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_entry_input_panel_enabled_get(self.obj))
+
+ def __set__(self, enabled):
+ elm_entry_input_panel_enabled_set(self.obj, enabled)
+
+ def input_panel_show(self):
+ """Show the input panel (virtual keyboard) based on the input panel
+ property of entry such as layout, autocapital types, and so on.
+
+ Note that input panel is shown or hidden automatically according to the
+ focus state of entry widget.
+ This API can be used in the case of manually controlling by using
+ C{Entry.input_panel_enabled = False}.
+
+ """
+ elm_entry_input_panel_show(self.obj)
+
+ def input_panel_hide(self):
+ """Hide the input panel (virtual keyboard).
+
+ Note that input panel is shown or hidden automatically according to the
+ focus state of entry widget.
+ This API can be used in the case of manually controlling by using
+ C{Entry.input_panel_enabled_set = False}.
+
+ """
+ elm_entry_input_panel_hide(self.obj)
+
+ def input_panel_language_set(self, lang):
+ """Set the language mode of the input panel.
+
+ This API can be used if you want to show the alphabet keyboard mode.
+
+ @param lang: language to be set to the input panel.
+ @type lang: Elm_Input_Panel_Lang
+
+ """
+ elm_entry_input_panel_language_set(self.obj, lang)
+
+ def input_panel_language_get(self):
+ """Get the language mode of the input panel.
+
+ @see: L{input_panel_language_set()} for more details.
+
+ @return: input panel language type
+ @rtype: Elm_Input_Panel_Lang
+
+ """
+ return elm_entry_input_panel_language_get(self.obj)
+
+ property input_panel_language:
+ """The language mode of the input panel.
+
+ This API can be used if you want to show the alphabet keyboard mode.
+
+ @type: Elm_Input_Panel_Lang
+
+ """
+ def __get__(self):
+ return elm_entry_input_panel_language_get(self.obj)
+
+ def __set__(self, lang):
+ elm_entry_input_panel_language_set(self.obj, lang)
+
+ # TODO XXX elm_entry_input_panel_imdata_set() ??
+
+ # TODO XXX elm_entry_input_panel_imdata_get() ??
+
+ def input_panel_return_key_type_set(self, return_key_type):
+ """Set the "return" key type. This type is used to set string or icon on
+ the "return" key of the input panel.
+
+ An input panel displays the string or icon associated with this type
+
+ @param return_key_type: The type of "return" key on the input panel
+ @type return_key_type: Elm_Input_Panel_Return_Key_Type
+
+ """
+ elm_entry_input_panel_return_key_type_set(self.obj, return_key_type)
+
+ def input_panel_return_key_type_get(self):
+ """Get the "return" key type.
+
+ @see: L{input_panel_return_key_type_set()} for more details
+
+ @return: The type of "return" key on the input panel
+ @rtype: Elm_Input_Panel_Return_Key_Type
+
+ """
+ return elm_entry_input_panel_return_key_type_get(self.obj)
+
+ property input_panel_return_key_type:
+ """The "return" key type. This type is used to set string or icon on
+ the "return" key of the input panel.
+
+ An input panel displays the string or icon associated with this type
+
+ @type: Elm_Input_Panel_Return_Key_Type
+
+ """
+ def __get__(self):
+ return elm_entry_input_panel_return_key_type_get(self.obj)
+
+ def __set__(self, return_key_type):
+ elm_entry_input_panel_return_key_type_set(self.obj, return_key_type)
+
+ def input_panel_return_key_disabled_set(self, disabled):
+ """Set the return key on the input panel to be disabled.
+
+ @param disabled: The state to put in in: C{True} for
+ disabled, C{False} for enabled
+ @type disabled: bool
+
+ """
+ elm_entry_input_panel_return_key_disabled_set(self.obj, disabled)
+
+ def input_panel_return_key_disabled_get(self):
+ """Get whether the return key on the input panel should be disabled or not.
+
+ @return: True if it should be disabled
+ @rtype: bool
+
+ """
+ return elm_entry_input_panel_return_key_disabled_get(self.obj)
+
+ property input_panel_return_key_disabled:
+ """Whether the return key on the input panel is disabled or not.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_entry_input_panel_return_key_disabled_get(self.obj)
+
+ def __set__(self, disabled):
+ elm_entry_input_panel_return_key_disabled_set(self.obj, disabled)
+
+ def input_panel_return_key_autoenabled_set(self, enabled):
+ """Set whether the return key on the input panel is disabled automatically when entry has no text.
+
+ If C{enabled} is True, The return key on input panel is disabled when the entry has no text.
+ The return key on the input panel is automatically enabled when the entry has text.
+ The default value is False.
+
+ @param enabled: If True, the return key is automatically disabled when
+ the entry has no text.
+ @type enabled: bool
+
+ """
+ elm_entry_input_panel_return_key_autoenabled_set(self.obj, enabled)
+
+ property input_panel_return_key_autoenabled:
+ """Set whether the return key on the input panel is disabled automatically when entry has no text.
+
+ If C{enabled} is True, The return key on input panel is disabled when the entry has no text.
+ The return key on the input panel is automatically enabled when the entry has text.
+ The default value is False.
+
+ @type: bool
+
+ """
+ def __set__(self, enabled):
+ elm_entry_input_panel_return_key_autoenabled_set(self.obj, enabled)
+
+ def imf_context_reset(self):
+ """Reset the input method context of the entry if needed.
+
+ This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.
+ This will typically cause the Input Method Context to clear the preedit state.
+
+ """
+ elm_entry_imf_context_reset(self.obj)
+
+ def prediction_allow_set(self, allow):
+ """Set whether the entry should allow to use the text prediction.
+
+ @param prediction: Whether the entry should allow to use the text prediction.
+ @type prediction: bool
+
+ """
+ elm_entry_prediction_allow_set(self.obj, allow)
+
+ def prediction_allow_get(self):
+ """Get whether the entry should allow to use the text prediction.
+
+ @return: True if it allows to use the text prediction, otherwise False.
+ @rtype: bool
+
+ """
+ return elm_entry_prediction_allow_get(self.obj)
+
+ property prediction_allow:
+ """Whether the entry should allow to use the text prediction.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_entry_prediction_allow_get(self.obj)
+
+ def __set__(self, allow):
+ elm_entry_prediction_allow_set(self.obj, allow)
+
+ # TODO XXX elm_entry_filter_accept_set()
+ # TODO XXX elm_entry_imf_context_get() ??
+
+ def cnp_mode_set(self, mode):
+ """Control pasting of text and images for the widget.
+
+ Normally the entry allows both text and images to be pasted.
+ By setting cnp_mode to be C{ELM_CNP_MODE_NO_IMAGE}, this prevents images from being copy or past.
+ By setting cnp_mode to be C{ELM_CNP_MODE_PLAINTEXT}, this remove all tags in text .
+
+ @note: this only changes the behaviour of text.
+
+ @param cnp_mode: One of: ELM_CNP_MODE_MARKUP, ELM_CNP_MODE_NO_IMAGE, ELM_CNP_MODE_PLAINTEXT.
+ @type cnp_mode: Elm_Cnp_Mode
+
+ """
+ elm_entry_cnp_mode_set(self.obj, mode)
+
+ def cnp_mode_get(self):
+ """Getting elm_entry text paste/drop mode.
+
+ Normally the entry allows both text and images to be pasted.
+ This gets the copy & paste mode of the entry.
+
+ @return: One of: ELM_CNP_MODE_MARKUP, ELM_CNP_MODE_NO_IMAGE, ELM_CNP_MODE_PLAINTEXT.
+ @rtype: Elm_Cnp_Mode
+
+ """
+ return elm_entry_cnp_mode_get(self.obj)
+
+ property cnp_mode:
+ """Control pasting of text and images for the widget.
+
+ Normally the entry allows both text and images to be pasted.
+ By setting cnp_mode to be C{ELM_CNP_MODE_NO_IMAGE}, this prevents images from being copy or past.
+ By setting cnp_mode to be C{ELM_CNP_MODE_PLAINTEXT}, this remove all tags in text .
+
+ @note: this only changes the behaviour of text.
+
+ @type: Elm_Cnp_Mode
+
+ """
+ def __get__(self):
+ return elm_entry_cnp_mode_get(self.obj)
+
+ def __set__(self, mode):
+ elm_entry_cnp_mode_set(self.obj, mode)
+
+ def anchor_hover_parent_set(self, evasObject anchor_hover_parent):
+ """Set the parent of the hover popup
+
+ Sets the parent object to use by the hover created by the entry
+ when an anchor is clicked. See L{Hover} for more details on this.
+
+ @param parent: The object to use as parent for the hover
+ @type parent: L{Object}
+
+ """
+ elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj)
+
+ def anchor_hover_parent_get(self):
+ """Get the parent of the hover popup
+
+ Get the object used as parent for the hover created by the entry
+ widget. See L{Hover} for more details on this.
+ If no parent is set, the same entry object will be used.
+
+ @return: The object used as parent for the hover, None if none is set.
+ @rtype: L{Object}
+
+ """
+ cdef Evas_Object *anchor_hover_parent
+ anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj)
+ return Object_from_instance(anchor_hover_parent)
+
+ property anchor_hover_parent:
+ """Parent of the hover popup
+
+ The parent object to use by the hover created by the entry
+ when an anchor is clicked. See L{Hover} for more details on this.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ cdef Evas_Object *anchor_hover_parent
+ anchor_hover_parent = elm_entry_anchor_hover_parent_get(self.obj)
+ return Object_from_instance(anchor_hover_parent)
+
+ def __set__(self, evasObject anchor_hover_parent):
+ elm_entry_anchor_hover_parent_set(self.obj, anchor_hover_parent.obj)
+
+ def anchor_hover_style_set(self, style):
+ """Set the style that the hover should use
+
+ When creating the popup hover, entry will request that it's
+ themed according to C{style}.
+
+ Setting style to C{None} means disabling automatic hover.
+
+ @see: L{Object.style_set()}
+
+ @param style: The style to use for the underlying hover
+ @type style: string
+
+ """
+ elm_entry_anchor_hover_style_set(self.obj, _cfruni(style))
+
+ def anchor_hover_style_get(self):
+ """Get the style that the hover created by entry will use.
+
+ @return: The style to use by the hover. C{None} means the default is used.
+
+ @see: L{Object.style_set()}
+
+ """
+ return _ctouni(elm_entry_anchor_hover_style_get(self.obj))
+
+ property anchor_hover_style:
+ """The style that the hover should use
+
+ When creating the popup hover, entry will request that it's
+ themed according to C{style}.
+
+ Setting style to C{None} means disabling automatic hover.
+
+ @see: L{Object.style_set()}
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_entry_anchor_hover_style_get(self.obj))
+
+ def __set__(self, style):
+ elm_entry_anchor_hover_style_set(self.obj, _cfruni(style))
+
+ def anchor_hover_end(self):
+ """Ends the hover popup in the entry
+
+ When an anchor is clicked, the entry widget will create a hover
+ object to use as a popup with user provided content. This function
+ terminates this popup, returning the entry to its normal state.
+
+ """
+ elm_entry_anchor_hover_end(self.obj)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """The text within the entry was changed."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+ def callback_changed_user_add(self, func, *args, **kwargs):
+ """The text within the entry was changed because of user interaction."""
+ self._callback_add("changed,user", func, *args, **kwargs)
+
+ def callback_changed_user_del(self, func):
+ self._callback_del("changed,user", func)
+
+ def callback_activated_add(self, func, *args, **kwargs):
+ """The enter key was pressed on a single line entry."""
+ self._callback_add("activated", func, *args, **kwargs)
+
+ def callback_activated_del(self, func):
+ self._callback_del("activated", func)
+
+ def callback_press_add(self, func, *args, **kwargs):
+ """A mouse button has been pressed on the entry."""
+ self._callback_add("press", func, *args, **kwargs)
+
+ def callback_press_del(self, func):
+ self._callback_del("press", func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ """A mouse button has been pressed and held for a couple seconds."""
+ self._callback_add("longpressed", func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del("longpressed", func)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The entry has been clicked (mouse press and release)."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_double_clicked_add(self, func, *args, **kwargs):
+ """The entry has been double clicked."""
+ self._callback_add("clicked,double", func, *args, **kwargs)
+
+ def callback_double_clicked_del(self, func):
+ self._callback_del("clicked,double", func)
+
+ def callback_triple_clicked_add(self, func, *args, **kwargs):
+ """The entry has been triple clicked."""
+ self._callback_add("clicked,triple", func, *args, **kwargs)
+
+ def callback_triple_clicked_del(self, func):
+ self._callback_del("clicked,triple", func)
+
+ def callback_focused_add(self, func, *args, **kwargs):
+ """The entry has received focus."""
+ self._callback_add("focused", func, *args, **kwargs)
+
+ def callback_focused_del(self, func):
+ self._callback_del("focused", func)
+
+ def callback_unfocused_add(self, func, *args, **kwargs):
+ """The entry has lost focus."""
+ self._callback_add("unfocused", func, *args, **kwargs)
+
+ def callback_unfocused_del(self, func):
+ self._callback_del("unfocused", func)
+
+ def callback_selection_paste_add(self, func, *args, **kwargs):
+ """A paste of the clipboard contents was requested."""
+ self._callback_add("selection,paste", func, *args, **kwargs)
+
+ def callback_selection_paste_del(self, func):
+ self._callback_del("selection,paste", func)
+
+ def callback_selection_copy_add(self, func, *args, **kwargs):
+ """A copy of the selected text into the clipboard was requested."""
+ self._callback_add("selection,copy", func, *args, **kwargs)
+
+ def callback_selection_copy_del(self, func):
+ self._callback_del("selection,copy", func)
+
+ def callback_selection_cut_add(self, func, *args, **kwargs):
+ """A cut of the selected text into the clipboard was requested."""
+ self._callback_add("selection,cut", func, *args, **kwargs)
+
+ def callback_selection_cut_del(self, func):
+ self._callback_del("selection,cut", func)
+
+ def callback_selection_start_add(self, func, *args, **kwargs):
+ """A selection has begun and no previous selection existed."""
+ self._callback_add("selection,start", func, *args, **kwargs)
+
+ def callback_selection_start_del(self, func):
+ self._callback_del("selection,start", func)
+
+ def callback_selection_changed_add(self, func, *args, **kwargs):
+ """The current selection has changed."""
+ self._callback_add("selection,changed", func, *args, **kwargs)
+
+ def callback_selection_changed_del(self, func):
+ self._callback_del("selection,changed", func)
+
+ def callback_selection_cleared_add(self, func, *args, **kwargs):
+ """The current selection has been cleared."""
+ self._callback_add("selection,cleared", func, *args, **kwargs)
+
+ def callback_selection_cleared_del(self, func):
+ self._callback_del("selection,cleared", func)
+
+ def callback_cursor_changed_add(self, func, *args, **kwargs):
+ """The cursor has changed position."""
+ self._callback_add("cursor,changed", func, *args, **kwargs)
+
+ def callback_cursor_changed_del(self, func):
+ self._callback_del("cursor,changed", func)
+
+ def callback_anchor_clicked_add(self, func, *args, **kwargs):
+ """An anchor has been clicked. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+
+ """
+ self._callback_add_full("anchor,clicked", _entryanchor_conv,
+ func, *args, **kwargs)
+
+ def callback_anchor_clicked_del(self, func):
+ self._callback_del_full("anchor,clicked", _entryanchor_conv,
+ func)
+
+ def callback_anchor_in_add(self, func, *args, **kwargs):
+ """Mouse cursor has moved into an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+
+ """
+ self._callback_add_full("anchor,in", _entryanchor_conv,
+ func, *args, **kwargs)
+
+ def callback_anchor_in_del(self, func):
+ self._callback_del_full("anchor,in", _entryanchor_conv,
+ func)
+
+ def callback_anchor_out_add(self, func, *args, **kwargs):
+ """Mouse cursor has moved out of an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+
+ """
+ self._callback_add_full("anchor,out", _entryanchor_conv,
+ func, *args, **kwargs)
+
+ def callback_anchor_out_del(self, func):
+ self._callback_del_full("anchor,out", _entryanchor_conv,
+ func)
+
+ def callback_anchor_up_add(self, func, *args, **kwargs):
+ """Mouse button has been unpressed on an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+
+ """
+ self._callback_add_full("anchor,up", _entryanchor_conv,
+ func, *args, **kwargs)
+
+ def callback_anchor_up_del(self, func):
+ self._callback_del_full("anchor,up", _entryanchor_conv,
+ func)
+
+ def callback_anchor_down_add(self, func, *args, **kwargs):
+ """Mouse button has been pressed on an anchor. The event_info
+ parameter for the callback will be an C{Elm_Entry_Anchor_Info}.
+
+ """
+ self._callback_add_full("anchor,down", _entryanchor_conv,
+ func, *args, **kwargs)
+
+ def callback_anchor_down_del(self, func):
+ self._callback_del_full("anchor,down", _entryanchor_conv,
+ func)
+
+ def callback_anchor_hover_opened_add(self, func, *args, **kwargs):
+ self._callback_add_full("anchor,hover,opened", _entryanchorhover_conv,
+ func, *args, **kwargs)
+
+ def callback_anchor_hover_opened_del(self, func):
+ self._callback_del_full("anchor,hover,opened", _entryanchorhover_conv,
+ func)
+
+ def callback_preedit_changed_add(self, func, *args, **kwargs):
+ """The preedit string has changed."""
+ self._callback_add("preedit,changed", func, *args, **kwargs)
+
+ def callback_preedit_changed_del(self, func):
+ self._callback_del("preedit,changed", func)
+
+ def callback_language_changed_add(self, func, *args, **kwargs):
+ """Program language changed."""
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+_elm_widget_type_register("entry", Entry)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryEntry_Type # hack to install metaclass
+_install_metaclass(&PyElementaryEntry_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_fileselector.pxi b/elementary/elementary.c_elementary_fileselector.pxi
new file mode 100644
index 0000000..462f3cc
--- /dev/null
+++ b/elementary/elementary.c_elementary_fileselector.pxi
@@ -0,0 +1,445 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Fileselector(LayoutClass) [object PyElementaryFileselector, type PyElementaryFileselector_Type]:
+
+ """
+ A file selector is a widget that allows a user to navigate
+ through a file system, reporting file selections back via its
+ API.
+
+ It contains shortcut buttons for home directory (C{~}) and to
+ jump one directory upwards (..), as well as cancel/ok buttons to
+ confirm/cancel a given selection. After either one of those two
+ former actions, the file selector will issue its C{"done"} smart
+ callback.
+
+ There's a text entry on it, too, showing the name of the current
+ selection. There's the possibility of making it editable, so it
+ is useful on file saving dialogs on applications, where one
+ gives a file name to save contents to, in a given directory in
+ the system. This custom file name will be reported on the C{"done"}
+ smart callback (explained in sequence).
+
+ Finally, it has a view to display file system items into in two
+ possible forms:
+ - list
+ - grid
+
+ If Elementary is built with support of the Ethumb thumbnailing
+ library, the second form of view will display preview thumbnails
+ of files which it supports.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"selected"} - the user has clicked on a file (when not in
+ folders-only mode) or directory (when in folders-only mode)
+ - C{"directory,open"} - the list has been populated with new
+ content (C{event_info} is the directory's path)
+ - C{"done"} - the user has clicked on the "ok" or "cancel"
+ buttons (C{event_info} is the selection's path)
+
+ """
+
+ cdef object _cbs
+
+ def __init__(self, evasObject parent):
+ """Add a new file selector widget to the given parent Elementary
+ (container) object
+
+ This function inserts a new file selector widget on the canvas.
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: a new file selector widget handle or C{None}, on errors
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_fileselector_add(parent.obj))
+ self._cbs = {}
+
+ def is_save_set(self, is_save):
+ """Enable/disable the file name entry box where the user can type
+ in a name for a file, in a given file selector widget
+
+ Having the entry editable is useful on file saving dialogs on
+ applications, where one gives a file name to save contents to,
+ in a given directory in the system. This custom file name will
+ be reported on the C{"done"} smart callback.
+
+ @see: L{is_save_get()}
+
+ @param is_save: C{True} to make the file selector a "saving
+ dialog", C{False} otherwise
+ @type is_save: bool
+
+ """
+ elm_fileselector_is_save_set(self.obj, is_save)
+
+ def is_save_get(self):
+ """Get whether the given file selector is in "saving dialog" mode
+
+ @see: L{is_save_set()} for more details
+
+ @return: C{True}, if the file selector is in "saving dialog"
+ mode, C{False} otherwise (and on errors)
+ @rtype: bool
+
+ """
+ return elm_fileselector_is_save_get(self.obj)
+
+ property is_save:
+ """Enable/disable the file name entry box where the user can type
+ in a name for a file, in a given file selector widget
+
+ Having the entry editable is useful on file saving dialogs on
+ applications, where one gives a file name to save contents to,
+ in a given directory in the system. This custom file name will
+ be reported on the C{"done"} smart callback.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_fileselector_is_save_get(self.obj)
+
+ def __set__(self, is_save):
+ elm_fileselector_is_save_set(self.obj, is_save)
+
+ def folder_only_set(self, folder_only):
+ """Enable/disable folder-only view for a given file selector widget
+
+ If enabled, the widget's view will only display folder items,
+ naturally.
+
+ @see: L{folder_only_get()}
+
+ @param only: C{True} to make C{obj} only display directories, C{False}
+ to make files to be displayed in it too
+ @type only: bool
+
+ """
+ elm_fileselector_folder_only_set(self.obj, folder_only)
+
+ def folder_only_get(self):
+ """Get whether folder-only view is set for a given file selector
+ widget
+
+ @see: elm_fileselector_folder_only_get()
+
+ @return: C{True} if the widget is only displaying directories, C{False}
+ if files are being displayed in it too (and on errors)
+ @rtype: bool
+
+ """
+ return elm_fileselector_folder_only_get(self.obj)
+
+ property folder_only:
+ """Enable/disable folder-only view for a given file selector widget
+
+ If enabled, the widget's view will only display folder items,
+ naturally.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_fileselector_folder_only_get(self.obj)
+
+ def __set__(self, folder_only):
+ elm_fileselector_folder_only_set(self.obj, folder_only)
+
+ def buttons_ok_cancel_set(self, buttons):
+ """Enable/disable the "ok" and "cancel" buttons on a given file
+ selector widget
+
+ @note: A file selector without those buttons will never emit the
+ C{"done"} smart event, and is only usable if one is just hooking
+ to the other two events.
+
+ @see: L{buttons_ok_cancel_get()}
+
+ @param buttons: C{True} to show buttons, C{False} to hide.
+ @type buttons: bool
+
+ """
+ elm_fileselector_buttons_ok_cancel_set(self.obj, buttons)
+
+ def buttons_ok_cancel_get(self):
+ """Get whether the "ok" and "cancel" buttons on a given file
+ selector widget are being shown.
+
+ @see: L{buttons_ok_cancel_set()} for more details
+
+ @return: C{True} if they are being shown, C{False} otherwise
+ (and on errors)
+ @rtype: bool
+
+ """
+ return elm_fileselector_buttons_ok_cancel_get(self.obj)
+
+ property buttons_ok_cancel:
+ """Enable/disable the "ok" and "cancel" buttons on a given file
+ selector widget
+
+ @note: A file selector without those buttons will never emit the
+ C{"done"} smart event, and is only usable if one is just hooking
+ to the other two events.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_fileselector_buttons_ok_cancel_get(self.obj)
+
+ def __set__(self, buttons):
+ elm_fileselector_buttons_ok_cancel_set(self.obj, buttons)
+
+ def expandable_set(self, expand):
+ """Enable/disable a tree view in the given file selector widget,
+ B{if it's in C{ELM_FILESELECTOR_LIST} mode}
+
+ In a tree view, arrows are created on the sides of directories,
+ allowing them to expand in place.
+
+ @note: If it's in other mode, the changes made by this function
+ will only be visible when one switches back to "list" mode.
+
+ @see: L{expandable_get()}
+
+ @param expand: C{True} to enable tree view, C{False} to disable
+ @type expand: bool
+
+ """
+ elm_fileselector_expandable_set(self.obj, expand)
+
+ def expandable_get(self):
+ """Get whether tree view is enabled for the given file selector
+ widget
+
+ @see: L{expandable_set()} for more details
+
+ @return: C{True} if in tree view, C{False} otherwise (and or errors)
+
+ """
+ return elm_fileselector_expandable_get(self.obj)
+
+ property expandable:
+ """Enable/disable a tree view in the given file selector widget,
+ B{if it's in C{ELM_FILESELECTOR_LIST} mode}
+
+ In a tree view, arrows are created on the sides of directories,
+ allowing them to expand in place.
+
+ @note: If it's in other mode, the changes made by this function
+ will only be visible when one switches back to "list" mode.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_fileselector_expandable_get(self.obj)
+
+ def __set__(self, expand):
+ elm_fileselector_expandable_set(self.obj, expand)
+
+ def path_set(self, path):
+ """Set, programmatically, the B{directory} that a given file
+ selector widget will display contents from
+
+ This will change the B{directory} displayed. It
+ will also clear the text entry area on the object, which
+ displays select files' names.
+
+ @see: L{path_get()}
+
+ @param path: The path to display
+ @type path: string
+
+ """
+ elm_fileselector_path_set(self.obj, _cfruni(path))
+
+ def path_get(self):
+ """Get the parent directory's path that a given file selector
+ widget is displaying
+
+ @see: L{path_set()}
+
+ @return: The (full) path of the directory the file selector is
+ displaying
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_path_get(self.obj))
+
+ property path:
+ """The B{directory} that a given file selector widget will display
+ contents from
+
+ Setting this will change the B{directory} displayed. It
+ will also clear the text entry area on the object, which
+ displays select files' names.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_path_get(self.obj))
+
+ def __set__(self, path):
+ elm_fileselector_path_set(self.obj, _cfruni(path))
+
+ def selected_set(self, path):
+ """Set, programmatically, the currently selected file/directory in
+ the given file selector widget
+
+ @see: L{selected_get()}
+
+ @param path: The (full) path to a file or directory
+ @type path: string
+ @return: C{True} on success, C{False} on failure. The latter case occurs
+ if the directory or file pointed to do not exist.
+ @rtype: bool
+
+ """
+ return elm_fileselector_selected_set(self.obj, _cfruni(path))
+
+ def selected_get(self):
+ """Get the currently selected item's (full) path, in the given file
+ selector widget
+
+ @note: Custom editions on object's text entry, if made,
+ will appear on the return string of this function, naturally.
+
+ @see: L{selected_set()} for more details
+
+ @return: The absolute path of the selected item
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_selected_get(self.obj))
+
+ property selected:
+ """The currently selected file/directory in the given file selector
+ widget
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_selected_get(self.obj))
+
+ def __set__(self, path):
+ #TODO: Check return value for success
+ elm_fileselector_selected_set(self.obj, _cfruni(path))
+
+ def mode_set(self, mode):
+ """Set the mode in which a given file selector widget will display
+ (layout) file system entries in its view
+
+ @note: By using L{expandable_set()}, the user may
+ trigger a tree view for that list.
+
+ @note: If Elementary is built with support of the Ethumb
+ thumbnailing library, the second form of view will display
+ preview thumbnails of files which it supports. You must have
+ elm_need_ethumb() called in your Elementary for thumbnailing to
+ work, though.
+
+ @see: L{expandable_set()}
+ @see: L{mode_get()}
+
+ @param mode: The mode of the fileselector, being it one of
+ ELM_FILESELECTOR_LIST (default) or ELM_FILESELECTOR_GRID. The first
+ one, naturally, will display the files in a list. The latter will
+ make the widget to display its entries in a grid form.
+ @type mode: Elm_Fileselector_Mode
+
+ """
+ elm_fileselector_mode_set(self.obj, mode)
+
+ def mode_get(self):
+ """Get the mode in which a given file selector widget is displaying
+ (layouting) file system entries in its view
+
+ @see: L{mode_set()} for more details
+
+ @return: The mode in which the fileselector is at
+ @rtype: Elm_Fileselector_Mode
+
+ """
+ return elm_fileselector_mode_get(self.obj)
+
+ property mode:
+ """The mode in which a given file selector widget will display
+ (layout) file system entries in its view
+
+ @note: By using L{expandable_set()}, the user may
+ trigger a tree view for that list.
+
+ @note: If Elementary is built with support of the Ethumb
+ thumbnailing library, the second form of view will display
+ preview thumbnails of files which it supports. You must have
+ elm_need_ethumb() called in your Elementary for thumbnailing to
+ work, though.
+
+ @see: L{expandable}
+
+ @type: Elm_Fileselector_Mode
+
+ """
+ def __get__(self):
+ return elm_fileselector_mode_get(self.obj)
+
+ def __set__(self, mode):
+ elm_fileselector_mode_set(self.obj, mode)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """The user has clicked on a file (when not in folders-only mode) or
+ directory (when in folders-only mode). Parameter C{event_info}
+ contains the selected file or directory."""
+ self._callback_add_full("selected", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del_full("selected", _cb_string_conv, func)
+
+ def callback_directory_open_add(self, func, *args, **kwargs):
+ """The list has been populated with new content (C{event_info} is
+ the directory's path)."""
+ self._callback_add_full("directory,open", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_directory_open_del(self, func):
+ self._callback_del_full("directory,open", _cb_string_conv, func)
+
+ def callback_done_add(self, func, *args, **kwargs):
+ """The user has clicked on the "ok" or "cancel" buttons
+ (C{event_info} is a pointer to the selection's path)."""
+ self._callback_add_full("done", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_done_del(self, func):
+ self._callback_del_full("done", _cb_string_conv, func)
+
+_elm_widget_type_register("fileselector", Fileselector)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryFileselector_Type # hack to install metaclass
+_install_metaclass(&PyElementaryFileselector_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_fileselector_button.pxi b/elementary/elementary.c_elementary_fileselector_button.pxi
new file mode 100644
index 0000000..eab3010
--- /dev/null
+++ b/elementary/elementary.c_elementary_fileselector_button.pxi
@@ -0,0 +1,425 @@
+# Copyright (c) 2011 Fabiano Fidêncio
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class FileselectorButton(Button) [object PyElementaryFileselectorButton, type PyElementaryFileselectorButton_Type]:
+
+ """This is a button that, when clicked, creates an Elementary window (or
+ inner window) with a L{Fileselector} "file selector widget" within.
+
+ When a file is chosen, the (inner) window is closed and the button emits
+ a signal having the selected file as it's C{event_info}.
+
+ This widget encapsulates operations on its internal file selector on its
+ own API. There is less control over its file selector than that one
+ would have instantiating one directly.
+
+ The following styles are available for this button:
+ - C{"default"}
+ - C{"anchor"}
+ - C{"hoversel_vertical"}
+ - C{"hoversel_vertical_entry"}
+
+ This widget emits the following signals, besides the ones sent from
+ L{Button}:
+ - C{"file,chosen"} - the user has selected a path which comes as the
+ C{event_info} data
+
+ Default text parts of the fileselector_button widget that you can use for
+ are:
+ - "default" - Label of the fileselector_button
+
+ Default content parts of the fileselector_button widget that you can use for
+ are:
+ - "icon" - Icon of the fileselector_button
+
+ """
+
+ cdef object _cbs
+
+ def __init__(self, evasObject parent):
+ """Add a new file selector button widget to the given parent
+ Elementary (container) object
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: a new file selector button widget handle or C{None}, on errors
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_fileselector_button_add(parent.obj))
+ self._cbs = {}
+
+ def window_title_set(self, title):
+ """Set the title for a given file selector button widget's window
+
+ This will change the popup window's title, when the file selector pops
+ out after a click on the button. Those windows have the default
+ (unlocalized) value of C{"Select a file"} as titles.
+
+ @note: It will only take effect if the file selector
+ button widget is B{not} under "inwin mode".
+
+ @see: L{window_title_get()}
+
+ @param title: The title string
+ @type title: string
+
+ """
+ elm_fileselector_button_window_title_set(self.obj, _cfruni(title))
+
+ def window_title_get(self):
+ """Get the title for a given file selector button widget's window
+
+ @see: L{window_title_get()} for more details
+
+ @return: Title of the file selector button's window
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_button_window_title_get(self.obj))
+
+ property window_title:
+ """The title for a given file selector button widget's window
+
+ This is the popup window's title, when the file selector pops
+ out after a click on the button. Those windows have the default
+ (unlocalized) value of C{"Select a file"} as titles.
+
+ @note: Setting this will only take effect if the file selector
+ button widget is B{not} under "inwin mode".
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_button_window_title_get(self.obj))
+
+ def __set__(self, title):
+ elm_fileselector_button_window_title_set(self.obj, _cfruni(title))
+
+ def window_size_set(self, width, height):
+ """Set the size of a given file selector button widget's window,
+ holding the file selector itself.
+
+ @note: it will only take any effect if the file selector button
+ widget is B{not} under "inwin mode". The default size for the
+ window (when applicable) is 400x400 pixels.
+
+ @see: L{window_size_get()}
+
+ @param width: The window's width
+ @type width: Evas_Coord (int)
+ @param height: The window's height
+ @type height: Evas_Coord (int)
+
+ """
+ elm_fileselector_button_window_size_set(self.obj, width, height)
+
+ def window_size_get(self):
+ """Get the size of a given file selector button widget's window,
+ holding the file selector itself.
+
+ @see: L{window_size_set()}, for more details
+
+ @return: Width and height of the window
+ @rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef Evas_Coord w, h
+ elm_fileselector_button_window_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ property window_size:
+ """The size of a given file selector button widget's window,
+ holding the file selector itself.
+
+ @note: Setting this will only take any effect if the file selector button
+ widget is B{not} under "inwin mode". The default size for the
+ window (when applicable) is 400x400 pixels.
+
+ @type: tuple of Evas_Coords (int)
+
+ """
+ def __get__(self):
+ cdef Evas_Coord w, h
+ elm_fileselector_button_window_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ def __set__(self, value):
+ cdef Evas_Coord w, h
+ w, h = value
+ elm_fileselector_button_window_size_set(self.obj, w, h)
+
+ def path_set(self, path):
+ """Set the initial file system path for a given file selector
+ button widget
+
+ It must be a B{directory} path, which will have the contents
+ displayed initially in the file selector's view. The default initial
+ path is the C{"HOME"} environment variable's value.
+
+ @see: L{path_get()}
+
+ @param path: The path string
+ @type path: string
+
+ """
+ elm_fileselector_button_path_set(self.obj, _cfruni(path))
+
+ def path_get(self):
+ """Get the initial file system path set for a given file selector
+ button widget
+
+ @see: L{path_set()} for more details
+
+ @return: The path string
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_button_path_get(self.obj))
+
+ property path:
+ """The initial file system path for a given file selector
+ button widget
+
+ It must be a B{directory} path, which will have the contents
+ displayed initially in the file selector's view. The default initial
+ path is the C{"HOME"} environment variable's value.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_button_path_get(self.obj))
+
+ def __set__(self, path):
+ elm_fileselector_button_path_set(self.obj, _cfruni(path))
+
+ def expandable_set(self, expand):
+ """Enable/disable a tree view in the given file selector button
+ widget's internal file selector
+
+ This has the same effect as L{Fileselector.expandable_set()},
+ but now applied to a file selector button's internal file
+ selector.
+
+ @note: There's no way to put a file selector button's internal
+ file selector in "grid mode", as one may do with "pure" file
+ selectors.
+
+ @see: L{expandable_get()}
+
+ @param value: C{True} to enable tree view, C{False} to disable
+ @type value: bool
+
+ """
+ elm_fileselector_button_expandable_set(self.obj, expand)
+
+ def expandable_get(self):
+ """Get whether tree view is enabled for the given file selector
+ button widget's internal file selector
+
+ @see: L{expandable_set()} for more details
+
+ @return: C{True} if widget's internal file selector
+ is in tree view, C{False} otherwise (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_button_expandable_get(self.obj))
+
+ property expandable:
+ """Enable/disable a tree view in the given file selector button
+ widget's internal file selector
+
+ This has the same effect as L{Fileselector.expandable},
+ but now applied to a file selector button's internal file
+ selector.
+
+ @note: There's no way to put a file selector button's internal
+ file selector in "grid mode", as one may do with "pure" file
+ selectors.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_button_expandable_get(self.obj))
+
+ def __set__(self, expand):
+ elm_fileselector_button_expandable_set(self.obj, expand)
+
+ def folder_only_set(self, folder_only):
+ """Set whether a given file selector button widget's internal file
+ selector is to display folders only or the directory contents,
+ as well.
+
+ This has the same effect as L{Fileselector.folder_only_set()},
+ but now applied to a file selector button's internal file
+ selector.
+
+ @see: L{folder_only_get()}
+
+ @param value: C{True} to make widget's internal file
+ selector only display directories, C{False} to make files
+ to be displayed in it too
+ @type value: bool
+
+ """
+ elm_fileselector_button_folder_only_set(self.obj, folder_only)
+
+ def folder_only_get(self):
+ """Get whether a given file selector button widget's internal file
+ selector is displaying folders only or the directory contents,
+ as well.
+
+ @see: L{folder_only_set()} for more details
+
+ @return: C{True} if widget's internal file
+ selector is only displaying directories, C{False} if files
+ are being displayed in it too (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_button_folder_only_get(self.obj))
+
+ property folder_only:
+ """Whether a given file selector button widget's internal file
+ selector is to display folders only or the directory contents,
+ as well.
+
+ This has the same effect as L{Fileselector.folder_only_set()},
+ but now applied to a file selector button's internal file
+ selector.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_button_folder_only_get(self.obj))
+
+ def __set__(self, folder_only):
+ elm_fileselector_button_folder_only_set(self.obj, folder_only)
+
+ def is_save_set(self, is_save):
+ """Enable/disable the file name entry box where the user can type
+ in a name for a file, in a given file selector button widget's
+ internal file selector.
+
+ This has the same effect as L{Fileselector.is_save_set()},
+ but now applied to a file selector button's internal file
+ selector.
+
+ @see: L{is_save_get()}
+
+ @param value: C{True} to make widget's internal
+ file selector a "saving dialog", C{False} otherwise
+ @type value: bool
+
+ """
+ elm_fileselector_button_is_save_set(self.obj, is_save)
+
+ def is_save_get(self):
+ """Get whether the given file selector button widget's internal
+ file selector is in "saving dialog" mode
+
+ @see: L{is_save_set()} for more details
+
+ @return: C{True}, if widget's internal file selector is in
+ "saving dialog" mode, C{False} otherwise (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_button_is_save_get(self.obj))
+
+ property is_save:
+ """Enable/disable the file name entry box where the user can type
+ in a name for a file, in a given file selector button widget's
+ internal file selector.
+
+ This has the same effect as L{Fileselector.is_save},
+ but now applied to a file selector button's internal file
+ selector.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_button_is_save_get(self.obj))
+
+ def __set__(self, is_save):
+ elm_fileselector_button_is_save_set(self.obj, is_save)
+
+ def inwin_mode_set(self, inwin_mode):
+ """Set whether a given file selector button widget's internal file
+ selector will raise an Elementary "inner window", instead of a
+ dedicated Elementary window. By default, it won't.
+
+ @see: L{InnerWindow} for more information on inner windows
+ @see: L{inwin_mode_get()}
+
+ @param value: C{True} to make it use an inner window, C{False} to make
+ it use a dedicated window
+ @type value: bool
+
+ """
+ elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode)
+
+ def inwin_mode_get(self):
+ """Get whether a given file selector button widget's internal file
+ selector will raise an Elementary "inner window", instead of a
+ dedicated Elementary window.
+
+ @see: L{inwin_mode_set()} for more details
+
+ @return: C{True} if will use an inner window, C{False}
+ if it will use a dedicated window
+
+ """
+ return bool(elm_fileselector_button_inwin_mode_get(self.obj))
+
+ property inwin_mode:
+ """Whether a given file selector button widget's internal file
+ selector will raise an Elementary "inner window", instead of a
+ dedicated Elementary window. By default, it won't.
+
+ @see: L{InnerWindow} for more information on inner windows
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_button_inwin_mode_get(self.obj))
+
+ def __set__(self, inwin_mode):
+ elm_fileselector_button_inwin_mode_set(self.obj, inwin_mode)
+
+ def callback_file_chosen_add(self, func, *args, **kwargs):
+ """The user has selected a path which comes as the C{event_info} data."""
+ self._callback_add_full("file,chosen", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_file_chosen_del(self, func):
+ self._callback_del_full("file,chosen", _cb_string_conv, func)
+
+_elm_widget_type_register("fileselector_button", FileselectorButton)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryFileselectorButton_Type # hack to install metaclass
+_install_metaclass(&PyElementaryFileselectorButton_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_fileselector_entry.pxi b/elementary/elementary.c_elementary_fileselector_entry.pxi
new file mode 100644
index 0000000..2a9ac56
--- /dev/null
+++ b/elementary/elementary.c_elementary_fileselector_entry.pxi
@@ -0,0 +1,576 @@
+# Copyright (c) 2011 Fabiano Fidêncio
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class FileselectorEntry(Object) [object PyElementaryFileselectorEntry, type PyElementaryFileselectorEntry_Type]:
+
+ """This is an entry made to be filled with or display a file
+ system path string.
+
+ Besides the entry itself, the widget has a L{FileselectorButton}
+ on its side, which will raise an internal L{Fileselector}, when clicked,
+ for path selection aided by file system navigation.
+
+ This file selector may appear in an Elementary window or in an
+ inner window. When a file is chosen from it, the (inner) window
+ is closed and the selected file's path string is exposed both as
+ a smart event and as the new text on the entry.
+
+ This widget encapsulates operations on its internal file
+ selector on its own API. There is less control over its file
+ selector than that one would have instantiating one directly.
+
+ Smart callbacks one can register to:
+ - C{"changed"} - The text within the entry was changed
+ - C{"activated"} - The entry has had editing finished and
+ changes are to be "committed"
+ - C{"press"} - The entry has been clicked
+ - C{"longpressed"} - The entry has been clicked (and held) for a
+ couple seconds
+ - C{"clicked"} - The entry has been clicked
+ - C{"clicked,double"} - The entry has been double clicked
+ - C{"focused"} - The entry has received focus
+ - C{"unfocused"} - The entry has lost focus
+ - C{"selection,paste"} - A paste action has occurred on the
+ entry
+ - C{"selection,copy"} - A copy action has occurred on the entry
+ - C{"selection,cut"} - A cut action has occurred on the entry
+ - C{"unpressed"} - The file selector entry's button was released
+ after being pressed.
+ - C{"file,chosen"} - The user has selected a path via the file
+ selector entry's internal file selector, whose string
+ comes as the C{event_info} data.
+
+ Default text parts of the fileselector_button widget that you can use for
+ are:
+ - "default" - Label of the fileselector_button
+
+ Default content parts of the fileselector_entry widget that you can use for
+ are:
+ - "button icon" - Button icon of the fileselector_entry
+
+ """
+
+ cdef object _cbs
+
+ def __init__(self, evasObject parent):
+ """Add a new file selector entry widget to the given parent
+ Elementary (container) object
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: a new file selector entry widget handle or C{None}, on errors
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_fileselector_entry_add(parent.obj))
+ self._cbs = {}
+
+ def window_title_set(self, title):
+ """Set the title for a given file selector entry widget's window
+
+ This will change the window's title, when the file selector pops
+ out after a click on the entry's button. Those windows have the
+ default (unlocalized) value of C{"Select a file"} as titles.
+
+ @note: It will only take any effect if the file selector
+ entry widget is B{not} under "inwin mode".
+
+ @see: L{window_title_get()}
+
+ @param title: The title string
+ @type title: string
+
+ """
+ elm_fileselector_entry_window_title_set(self.obj, _cfruni(title))
+
+ def window_title_get(self):
+ """Get the title set for a given file selector entry widget's window
+
+ @see: L{window_title_get()} for more details
+
+ @return: Title of the file selector entry's window
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_entry_window_title_get(self.obj))
+
+ property window_title:
+ """The title for a given file selector entry widget's window
+
+ This is the window's title, when the file selector pops
+ out after a click on the entry's button. Those windows have the
+ default (unlocalized) value of C{"Select a file"} as titles.
+
+ @note: It will only take any effect if the file selector
+ entry widget is B{not} under "inwin mode".
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_entry_window_title_get(self.obj))
+
+ def __set__(self, title):
+ elm_fileselector_entry_window_title_set(self.obj, _cfruni(title))
+
+ def window_size_set(self, width, height):
+ """Set the size of a given file selector entry widget's window,
+ holding the file selector itself.
+
+ @note: it will only take any effect if the file selector entry
+ widget is B{not} under "inwin mode". The default size for the
+ window (when applicable) is 400x400 pixels.
+
+ @see: L{window_size_get()}
+
+ @param width: The window's width
+ @type width: Evas_Coord (int)
+ @param height: The window's height
+ @type height: Evas_Coord (int)
+
+ """
+ elm_fileselector_entry_window_size_set(self.obj, width, height)
+
+ def window_size_get(self):
+ """Get the size of a given file selector entry widget's window,
+ holding the file selector itself.
+
+ @see: L{window_size_set()}, for more details
+
+ @return: The width and height
+ @rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef Evas_Coord w
+ cdef Evas_Coord h
+ elm_fileselector_entry_window_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ property window_size:
+ """The size of a given file selector entry widget's window,
+ holding the file selector itself.
+
+ @note: it will only take any effect if the file selector entry
+ widget is B{not} under "inwin mode". The default size for the
+ window (when applicable) is 400x400 pixels.
+
+ @type: tuple of Evas_Coords (int)
+
+ """
+ def __get__(self):
+ cdef Evas_Coord w, h
+ elm_fileselector_entry_window_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ def __set__(self, value):
+ cdef Evas_Coord w, h
+ w, h = value
+ elm_fileselector_entry_window_size_set(self.obj, w, h)
+
+ def path_set(self, path):
+ """Set the initial file system path and the entry's path string for
+ a given file selector entry widget
+
+ It must be a B{directory} path, which will have the contents
+ displayed initially in the file selector's view. The default initial
+ path is the C{"HOME"} environment variable's value.
+
+ @see: L{path_get()}
+
+ @param path: The path string
+ @type path: string
+
+ """
+ elm_fileselector_entry_path_set(self.obj, _cfruni(path))
+
+ def path_get(self):
+ """Get the entry's path string for a given file selector entry
+ widget
+
+ @see: L{path_set()} for more details
+
+ @return: path The path string
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_entry_path_get(self.obj))
+
+ property path:
+ """The initial file system path and the entry's path string for
+ a given file selector entry widget
+
+ It must be a B{directory} path, which will have the contents
+ displayed initially in the file selector's view. The default initial
+ path is the C{"HOME"} environment variable's value.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_entry_path_get(self.obj))
+
+ def __set__(self, path):
+ elm_fileselector_entry_path_set(self.obj, _cfruni(path))
+
+ def expandable_set(self, expand):
+ """Enable/disable a tree view in the given file selector entry
+ widget's internal file selector
+
+ This has the same effect as L{Fileselector.expandable_set()},
+ but now applied to a file selector entry's internal file
+ selector.
+
+ @note: There's no way to put a file selector entry's internal
+ file selector in "grid mode", as one may do with "pure" file
+ selectors.
+
+ @see: L{expandable_get()}
+
+ @param value: C{True} to enable tree view, C{False} to disable
+ @type value: bool
+
+ """
+ elm_fileselector_entry_expandable_set(self.obj, expand)
+
+ def expandable_get(self):
+ """Get whether tree view is enabled for the given file selector
+ entry widget's internal file selector
+
+ @see: L{expandable_set()} for more details
+
+ @return: C{True} if widget's internal file selector
+ is in tree view, C{False} otherwise (and or errors)
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_entry_expandable_get(self.obj))
+
+ property expandable:
+ """Enable/disable a tree view in the given file selector entry
+ widget's internal file selector
+
+ This has the same effect as L{Fileselector.expandable},
+ but now applied to a file selector entry's internal file
+ selector.
+
+ @note: There's no way to put a file selector entry's internal
+ file selector in "grid mode", as one may do with "pure" file
+ selectors.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_entry_expandable_get(self.obj))
+
+ def __set__(self, expand):
+ elm_fileselector_entry_expandable_set(self.obj, expand)
+
+ def folder_only_set(self, folder_only):
+ """Set whether a given file selector entry widget's internal file
+ selector is to display folders only or the directory contents,
+ as well.
+
+ This has the same effect as L{Fileselector.folder_only_set()},
+ but now applied to a file selector entry's internal file
+ selector.
+
+ @see: L{folder_only_get()}
+
+ @param value: C{True} to make widget's internal file
+ selector only display directories, C{False} to make files
+ to be displayed in it too
+ @type value: bool
+
+ """
+ elm_fileselector_entry_folder_only_set(self.obj, folder_only)
+
+ def folder_only_get(self):
+ """Get whether a given file selector entry widget's internal file
+ selector is displaying folders only or the directory contents,
+ as well.
+
+ @see: L{folder_only_set()} for more details
+
+ @return: C{True} if widget's internal file
+ selector is only displaying directories, C{False} if files
+ are being displayed in it too (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_entry_folder_only_get(self.obj))
+
+ property folder_only:
+ """Whether a given file selector entry widget's internal file
+ selector is to display folders only or the directory contents,
+ as well.
+
+ This has the same effect as L{Fileselector.folder_only},
+ but now applied to a file selector entry's internal file
+ selector.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_entry_folder_only_get(self.obj))
+
+ def __set__(self, folder_only):
+ elm_fileselector_entry_folder_only_set(self.obj, folder_only)
+
+ def is_save_set(self, is_save):
+ """Enable/disable the file name entry box where the user can type
+ in a name for a file, in a given file selector entry widget's
+ internal file selector.
+
+ This has the same effect as L{Fileselector.is_save_set()},
+ but now applied to a file selector entry's internal file
+ selector.
+
+ @see: L{is_save_get()}
+
+ @param value: C{True} to make widget's internal
+ file selector a "saving dialog", C{False} otherwise
+ @type value: bool
+
+ """
+ elm_fileselector_entry_is_save_set(self.obj, is_save)
+
+ def is_save_get(self):
+ """Get whether the given file selector entry widget's internal
+ file selector is in "saving dialog" mode
+
+ @see: L{is_save_set()} for more details
+
+ @return: C{True}, if widget's internal file selector
+ is in "saving dialog" mode, C{False} otherwise (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_entry_is_save_get(self.obj))
+
+ property is_save:
+ """Enable/disable the file name entry box where the user can type
+ in a name for a file, in a given file selector entry widget's
+ internal file selector.
+
+ This has the same effect as L{Fileselector.is_save},
+ but now applied to a file selector entry's internal file
+ selector.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_entry_is_save_get(self.obj))
+
+ def __set__(self, is_save):
+ elm_fileselector_entry_is_save_set(self.obj, is_save)
+
+ def inwin_mode_set(self, inwin_mode):
+ """Set whether a given file selector entry widget's internal file
+ selector will raise an Elementary "inner window", instead of a
+ dedicated Elementary window. By default, it won't.
+
+ @see: L{Inwin} for more information on inner windows
+ @see: L{inwin_mode_get()}
+
+ @param value: C{True} to make it use an inner window, C{False} to make
+ it use a dedicated window
+ @type value: bool
+
+ """
+ elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode)
+
+ def inwin_mode_get(self):
+ """Get whether a given file selector entry widget's internal file
+ selector will raise an Elementary "inner window", instead of a
+ dedicated Elementary window.
+
+ @see: L{inwin_mode_set()} for more details
+
+ @return: C{True} if will use an inner window, C{False}
+ if it will use a dedicated window
+ @rtype: bool
+
+ """
+ return bool(elm_fileselector_entry_inwin_mode_get(self.obj))
+
+ property inwin_mode:
+ """Whether a given file selector entry widget's internal file
+ selector will raise an Elementary "inner window", instead of a
+ dedicated Elementary window. By default, it won't.
+
+ @see: L{Inwin} for more information on inner windows
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_fileselector_entry_inwin_mode_get(self.obj))
+
+ def __set__(self, inwin_mode):
+ elm_fileselector_entry_inwin_mode_set(self.obj, inwin_mode)
+
+ def selected_set(self, path):
+ """Set the initial file system path for a given file selector entry
+ widget
+
+ It must be a B{directory} path, which will have the contents
+ displayed initially in the file selector's view. The default initial
+ path is the C{"HOME"} environment variable's value.
+
+ @see: L{selected_get()}
+
+ @param path: The path string
+ @type path: string
+
+ """
+ elm_fileselector_entry_selected_set(self.obj, _cfruni(path))
+
+ def selected_get(self):
+ """Get the parent directory's path to the latest file selection on
+ a given filer selector entry widget
+
+ @see: L{selected_set()}
+
+ @return: The (full) path of the directory of the last selection
+ on the widget
+ @rtype: string
+
+ """
+ return _ctouni(elm_fileselector_entry_selected_get(self.obj))
+
+ property selected:
+ """The initial file system path for a given file selector entry
+ widget
+
+ It must be a B{directory} path, which will have the contents
+ displayed initially in the file selector's view. The default initial
+ path is the C{"HOME"} environment variable's value.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_fileselector_entry_selected_get(self.obj))
+
+ def __set__(self, path):
+ elm_fileselector_entry_selected_set(self.obj, _cfruni(path))
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """The text within the entry was changed."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+ def callback_activated_add(self, func, *args, **kwargs):
+ """The entry has had editing finished and changes are to be committed."""
+ self._callback_add("activated", func, *args, **kwargs)
+
+ def callback_activated_del(self, func):
+ self._callback_del("activated", func)
+
+ def callback_press_add(self, func, *args, **kwargs):
+ """The entry has been clicked."""
+ self._callback_add("press", func, *args, **kwargs)
+
+ def callback_press_del(self, func):
+ self._callback_del("press", func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ """The entry has been clicked (and held) for a couple seconds."""
+ self._callback_add("longpressed", func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del("longpressed", func)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The entry has been clicked."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_clicked_double_add(self, func, *args, **kwargs):
+ """The entry has been double clicked."""
+ self._callback_add("clicked,double", func, *args, **kwargs)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del("clicked,double", func)
+
+ def callback_focused_add(self, func, *args, **kwargs):
+ """The entry has received focus."""
+ self._callback_add("focused", func, *args, **kwargs)
+
+ def callback_focused_del(self, func):
+ self._callback_del("focused", func)
+
+ def callback_unfocused_add(self, func, *args, **kwargs):
+ """The entry has lost focus."""
+ self._callback_add("unfocused", func, *args, **kwargs)
+
+ def callback_unfocused_del(self, func):
+ self._callback_del("unfocused", func)
+
+ def callback_selection_paste_add(self, func, *args, **kwargs):
+ """A paste action has occurred on the entry."""
+ self._callback_add("selection,paste", func, *args, **kwargs)
+
+ def callback_selection_paste_del(self, func):
+ self._callback_del("selection,paste", func)
+
+ def callback_selection_copy_add(self, func, *args, **kwargs):
+ """A copy action has occurred on the entry."""
+ self._callback_add("selection,copy", func, *args, **kwargs)
+
+ def callback_selection_copy_del(self, func):
+ self._callback_del("selection,copy", func)
+
+ def callback_selection_cut_add(self, func, *args, **kwargs):
+ """A cut action has occurred on the entry."""
+ self._callback_add("selection,cut", func, *args, **kwargs)
+
+ def callback_selection_cut_del(self, func):
+ self._callback_del("selection,cut", func)
+
+ def callback_unpressed_add(self, func, *args, **kwargs):
+ """The file selector entry's button was released after being pressed."""
+ self._callback_add("unpressed", func, *args, **kwargs)
+
+ def callback_unpressed_del(self, func):
+ self._callback_del("unpressed", func)
+
+ def callback_file_chosen_add(self, func, *args, **kwargs):
+ """The user has selected a path via the file selector entry's internal
+ file selector, whose string comes as the C{event_info} data.
+
+ """
+ self._callback_add_full("file,chosen", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_file_chosen_del(self, func):
+ self._callback_del_full("file,chosen", _cb_string_conv, func)
+
+_elm_widget_type_register("fileselector_entry", FileselectorEntry)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryFileselectorEntry_Type # hack to install metaclass
+_install_metaclass(&PyElementaryFileselectorEntry_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_flip.pxi b/elementary/elementary.c_elementary_flip.pxi
new file mode 100644
index 0000000..689e4c9
--- /dev/null
+++ b/elementary/elementary.c_elementary_flip.pxi
@@ -0,0 +1,280 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Flip(Object) [object PyElementaryFlip, type PyElementaryFlip_Type]:
+
+ """This widget holds two content objects L{Object}: one on the front and one
+ on the back. It allows you to flip from front to back and vice-versa using
+ various animations.
+
+ If either the front or back contents are not set the flip will treat that
+ as transparent. So if you were to set the front content but not the back,
+ and then call L{go()} you would see whatever is below the flip.
+
+ For a list of supported animations see L{go()}.
+
+ Signals that you can add callbacks for are:
+ - "animate,begin" - when a flip animation was started
+ - "animate,done" - when a flip animation is finished
+
+ Default content parts of the flip widget that you can use for are:
+ - "front" - A front content of the flip
+ - "back" - A back content of the flip
+
+ """
+
+ def __init__(self, evasObject parent):
+ """Add a new flip to the parent
+
+ @param parent: The parent object
+ @type parent: L{Object}
+ @return: The new object or None if it cannot be created
+ @rtype: L{Object}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_flip_add(parent.obj))
+
+ def front_visible_get(self):
+ """Get flip front visibility state
+
+ @return: True if front front is showing, False if the back is showing.
+ @rtype: bool
+
+ """
+ return elm_flip_front_visible_get(self.obj)
+
+ property front_visible:
+ """Front visibility state
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_flip_front_visible_get(self.obj)
+
+ def perspective_set(self, foc, x, y):
+ """Set flip perspective
+
+ @warning: This function currently does nothing.
+
+ @param foc: The coordinate to set the focus on
+ @type foc: Evas_Coord (int)
+ @param x: The X coordinate
+ @type x: Evas_Coord (int)
+ @param y: The Y coordinate
+ @type y: Evas_Coord (int)
+
+ """
+ elm_flip_perspective_set(self.obj, foc, x, y)
+
+ def go(self, flip_mode):
+ """Runs the flip animation
+
+ Flips the front and back contents using the C{mode} animation. This
+ effectively hides the currently visible content and shows the hidden one.
+
+ There a number of possible animations to use for the flipping:
+ - ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
+ around a horizontal axis in the middle of its height, the other content
+ is shown as the other side of the flip.
+ - ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
+ around a vertical axis in the middle of its width, the other content is
+ shown as the other side of the flip.
+ - ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
+ around a diagonal axis in the middle of its width, the other content is
+ shown as the other side of the flip.
+ - ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
+ around a diagonal axis in the middle of its height, the other content is
+ shown as the other side of the flip.
+ - ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
+ as if the flip was a cube, the other content is show as the right face of
+ the cube.
+ - ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
+ right as if the flip was a cube, the other content is show as the left
+ face of the cube.
+ - ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
+ flip was a cube, the other content is show as the bottom face of the cube.
+ - ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
+ the flip was a cube, the other content is show as the upper face of the
+ cube.
+ - ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
+ if the flip was a book, the other content is shown as the page below that.
+ - ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
+ as if the flip was a book, the other content is shown as the page below
+ that.
+ - ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
+ flip was a book, the other content is shown as the page below that.
+ - ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
+ flip was a book, the other content is shown as the page below that.
+
+ @param mode: The mode type
+ @type mode: Elm_Flip_Mode
+
+ """
+ elm_flip_go(self.obj, flip_mode)
+
+ def interaction_set(self, mode):
+ """Set the interactive flip mode
+
+ This sets if the flip should be interactive (allow user to click and
+ drag a side of the flip to reveal the back page and cause it to flip).
+ By default a flip is not interactive. You may also need to set which
+ sides of the flip are "active" for flipping and how much space they use
+ (a minimum of a finger size) with L{interaction_direction_enabled_set()}
+ and L{interaction_direction_hitsize_set()}
+
+ The four available mode of interaction are:
+ - ELM_FLIP_INTERACTION_NONE - No interaction is allowed
+ - ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
+ - ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
+ - ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
+
+ @note: ELM_FLIP_INTERACTION_ROTATE won't cause
+ ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
+ happen, those can only be achieved with L{go()}
+
+ @param mode: The interactive flip mode to use
+ @type mode: Elm_Flip_Interaction
+
+ """
+ elm_flip_interaction_set(self.obj, mode)
+
+ def interaction_get(self):
+ """Get the interactive flip mode
+
+ Returns the interactive flip mode set by L{interaction_set()}
+
+ @return: The interactive flip mode
+ @rtype: Elm_Flip_Interaction
+
+ """
+ return elm_flip_interaction_get(self.obj)
+
+ property interaction:
+ """The interactive flip mode
+
+ Whether the flip should be interactive (allow user to click and
+ drag a side of the flip to reveal the back page and cause it to flip).
+ By default a flip is not interactive. You may also need to set which
+ sides of the flip are "active" for flipping and how much space they use
+ (a minimum of a finger size) with L{interaction_direction_enabled}
+ and L{interaction_direction_hitsize}
+
+ The four available mode of interaction are:
+ - ELM_FLIP_INTERACTION_NONE - No interaction is allowed
+ - ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
+ - ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
+ - ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
+
+ @note: ELM_FLIP_INTERACTION_ROTATE won't cause
+ ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
+ happen, those can only be achieved with L{go()}
+
+ @type: Elm_Flip_Interaction
+
+ """
+ def __get__(self):
+ return elm_flip_interaction_get(self.obj)
+
+ def __set__(self, mode):
+ elm_flip_interaction_set(self.obj, mode)
+
+ def interaction_direction_enabled_set(self, direction, enable):
+ """Set which directions of the flip respond to interactive flip
+
+ By default all directions are disabled, so you may want to enable the
+ desired directions for flipping if you need interactive flipping. You must
+ call this function once for each direction that should be enabled.
+
+ @see: L{interaction_set()}
+
+ @param dir: The direction to change
+ @type dir: Elm_Flip_Direction
+ @param enabled: If that direction is enabled or not
+ @type enabled: bool
+
+ """
+ elm_flip_interaction_direction_enabled_set(self.obj, direction, enable)
+
+ def interaction_direction_enabled_get(self, direction):
+ """Get the enabled state of that flip direction
+
+ Gets the enabled state set by L{interaction_direction_enabled_set()}
+
+ @see: L{interaction_set()}
+
+ @param dir: The direction to check
+ @type dir: Elm_Flip_Direction
+ @return: If that direction is enabled or not
+ @rtype: bool
+
+ """
+ return elm_flip_interaction_direction_enabled_get(self.obj, direction)
+
+ def interaction_direction_hitsize_set(self, direction, hitsize):
+ """Set the amount of the flip that is sensitive to interactive flip
+
+ Set the amount of the flip that is sensitive to interactive flip, with 0
+ representing no area in the flip and 1 representing the entire flip. There
+ is however a consideration to be made in that the area will never be
+ smaller than the finger size set(as set in your Elementary configuration).
+
+ @see: L{interaction_set()}
+
+ @param dir: The direction to modify
+ @type dir: Elm_Flip_Direction
+ @param hitsize: The amount of that dimension (0.0 to 1.0) to use
+ @type hitsize: double
+
+ """
+ elm_flip_interaction_direction_hitsize_set(self.obj, direction, hitsize)
+
+ def interaction_direction_hitsize_get(self, direction):
+ """Get the amount of the flip that is sensitive to interactive flip
+
+ Returns the amount of sensitive area set by
+ L{interaction_direction_hitsize_set()}.
+
+ @param dir: The direction to check
+ @type dir: Elm_Flip_Direction
+ @return: The size set for that direction
+ @rtype: double
+
+ """
+ return elm_flip_interaction_direction_hitsize_get(self.obj, direction)
+
+ def callback_animate_begin_add(self, func, *args, **kwargs):
+ """When a flip animation was started."""
+ self._callback_add("animate,begin", func, *args, **kwargs)
+
+ def callback_animate_begin_del(self, func):
+ self._callback_del("animate,begin", func)
+
+ def callback_animate_done_add(self, func, *args, **kwargs):
+ """When a flip animation is finished."""
+ self._callback_add("animate,done", func, *args, **kwargs)
+
+ def callback_animate_done_del(self, func):
+ self._callback_del("animate,done", func)
+
+_elm_widget_type_register("flip", Flip)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryFlip_Type # hack to install metaclass
+_install_metaclass(&PyElementaryFlip_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_flipselector.pxi b/elementary/elementary.c_elementary_flipselector.pxi
new file mode 100644
index 0000000..264c790
--- /dev/null
+++ b/elementary/elementary.c_elementary_flipselector.pxi
@@ -0,0 +1,334 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class FlipSelectorItem(ObjectItem):
+
+ """An item for the L{FlipSelector} widget."""
+
+ property selected:
+ """Set whether a given flip selector widget's item should be the
+ currently selected one.
+
+ This sets whether C{item} is or not the selected (thus, under
+ display) one. If C{item} is different than the one under display,
+ the latter will be unselected. If the C{item} is set to be
+ unselected, on the other hand, the B{first} item in the widget's
+ internal members list will be the new selected one.
+
+ @type: bool
+
+ """
+ def __set__(self, selected):
+ elm_flipselector_item_selected_set(self.item, selected)
+
+ def __get__(self):
+ return bool(elm_flipselector_item_selected_get(self.item))
+
+ property prev:
+ """Gets the item before C{item} in a flip selector widget's internal list of
+ items.
+
+ @type: L{FlipSelectorItem}
+
+ @see: L{item_next_get}()
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_flipselector_item_prev_get(self.item))
+
+ property next:
+ """Gets the item after C{item} in a flip selector widget's
+ internal list of items.
+
+ @type: L{FlipSelectorItem}
+
+ @see: L{item_prev_get}()
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_flipselector_item_next_get(self.item))
+
+cdef public class FlipSelector(Object) [object PyElementaryFlipSelector, type PyElementaryFlipSelector_Type]:
+
+ """A flip selector is a widget to show a set of B{text} items, one
+ at a time, with the same sheet switching style as the @ref Clock
+ "clock" widget, when one changes the current displaying sheet
+ (thus, the "flip" in the name).
+
+ User clicks to flip sheets which are B{held} for some time will
+ make the flip selector to flip continuously and automatically for
+ the user. The interval between flips will keep growing in time,
+ so that it helps the user to reach an item which is distant from
+ the current selection.
+
+ This widget inherits from the @ref Layout one, so that all the
+ functions acting on it also work for flip selector objects.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"selected"} - when the widget's selected text item is changed
+ - C{"overflowed"} - when the widget's current selection is changed
+ from the first item in its list to the last
+ - C{"underflowed"} - when the widget's current selection is changed
+ from the last item in its list to the first
+
+ Available styles for it:
+ - C{"default"}
+
+ Default text parts of the flipselector items that you can use for are:
+ - "default" - label of the flipselector item
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_flipselector_add(parent.obj))
+
+ def next(self):
+ """next()
+
+ Programmatically select the next item of a flip selector widget
+
+ @note: The selection will be animated. Also, if it reaches the
+ end of its list of member items, it will continue with the first
+ one onwards.
+
+ """
+ elm_flipselector_flip_next(self.obj)
+
+ def prev(self):
+ """prev()
+
+ Programmatically select the previous item of a flip selector
+ widget
+
+ @note: The selection will be animated. Also, if it reaches the
+ beginning of its list of member items, it will continue with the
+ last one backwards.
+
+ """
+ elm_flipselector_flip_prev(self.obj)
+
+ def item_append(self, label = None, callback = None, *args, **kwargs):
+ """item_append(label=None, callback=None, *args, **kwargs)
+
+ Append a (text) item to a flip selector widget
+
+ The widget's list of labels to show will be appended with the
+ given value. If the user wishes so, a callback function pointer
+ can be passed, which will get called when this same item is
+ selected.
+
+ @note: The current selection B{won't} be modified by appending an
+ element to the list.
+
+ @note: The maximum length of the text label is going to be
+ determined B{by the widget's theme}. Strings larger than
+ that value are going to be B{truncated}.
+
+ @param label: The (text) label of the new item
+ @type label: string
+ @param func: Convenience callback function to take place when item
+ is selected
+ @type func: function
+
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{FlipSelectorItem}
+
+ """
+ cdef Elm_Object_Item *item
+ cdef Evas_Smart_Cb cb = NULL
+ cdef FlipSelectorItem ret = FlipSelectorItem()
+
+ if callback is not None:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ ret.params = (callback, args, kwargs)
+ item = elm_flipselector_item_append(self.obj,
+ _cfruni(label),
+ cb,
+ <void *>self)
+
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return
+
+ def item_prepend(self, label = None, callback = None, *args, **kwargs):
+ """item_prepend(label=None, callback=None, *args, **kwargs)
+
+ Prepend a (text) item to a flip selector widget
+
+ The widget's list of labels to show will be prepended with the
+ given value. If the user wishes so, a callback function pointer
+ can be passed, which will get called when this same item is
+ selected.
+
+ @note: The current selection B{won't} be modified by prepending
+ an element to the list.
+
+ @note: The maximum length of the text label is going to be
+ determined B{by the widget's theme}. Strings larger than
+ that value are going to be B{truncated}.
+
+ @param label: The (text) label of the new item
+ @type label: string
+ @param func: Convenience callback function to take place when item
+ is selected
+ @type func: function
+
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{FlipSelectorItem}
+
+ """
+ cdef Elm_Object_Item *item
+ cdef Evas_Smart_Cb cb = NULL
+ cdef FlipSelectorItem ret = FlipSelectorItem()
+
+ if callback is not None:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ ret.params = (callback, args, kwargs)
+ item = elm_flipselector_item_append(self.obj,
+ _cfruni(label),
+ cb,
+ <void *>self)
+
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return
+
+ property items:
+ """Get the internal list of items in a given flip selector widget.
+
+ This list is B{not} to be modified in any way and must not be
+ freed. Use the list members with functions like
+ elm_object_item_text_set(),
+ elm_object_item_text_get(),
+ elm_object_item_del(),
+ elm_flipselector_item_selected_get(),
+ elm_flipselector_item_selected_set().
+
+ @warning: This list is only valid until C{obj} object's internal
+ items list is changed. It should be fetched again with another
+ call to this function when changes happen.
+
+ @type: tuple of L{FlipSelectorItem}s
+
+ """
+ def __get__(self):
+ return tuple(_object_item_list_to_python(elm_flipselector_items_get(self.obj)))
+
+ property first_item:
+ """Get the first item in the given flip selector widget's list of
+ items.
+
+ @see: L{item_append}()
+ @see: L{last_item}
+
+ @type: L{FlipSelectorItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_flipselector_first_item_get(self.obj))
+
+ property last_item:
+ """Get the last item in the given flip selector widget's list of
+ items.
+
+ @see: L{item_prepend()}
+ @see: L{first_item}
+
+ @type: L{FlipSelectorItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_flipselector_last_item_get(self.obj))
+
+ property selected_item:
+ """Get the currently selected item in a flip selector widget.
+
+ @type: L{FlipSelectorItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_flipselector_selected_item_get(self.obj))
+
+ property first_interval:
+ """The interval on time updates for a user mouse button hold on a
+ flip selector widget.
+
+ This interval value is B{decreased} while the user holds the
+ mouse pointer either flipping up or flipping down a given flip
+ selector.
+
+ This helps the user to get to a given item distant from the
+ current one easier/faster, as it will start to flip quicker and
+ quicker on mouse button holds.
+
+ The calculation for the next flip interval value, starting from
+ the one set with this call, is the previous interval divided by
+ 1.05, so it decreases a little bit.
+
+ The default starting interval value for automatic flips is
+ B{0}.85 seconds.
+
+ @type: float
+
+ """
+ def __set__(self, interval):
+ elm_flipselector_first_interval_set(self.obj, interval)
+
+ def __get__(self):
+ return elm_flipselector_first_interval_get(self.obj)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """When the widget's selected text item is changed."""
+ self._callback_add("selected", func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del("selected", func)
+
+ def callback_overflowed_add(self, func, *args, **kwargs):
+ """When the widget's current selection is changed from the first
+ item in its list to the last."""
+ self._callback_add("overflowed", func, *args, **kwargs)
+
+ def callback_overflowed_del(self, func):
+ self._callback_del("overflowed", func)
+
+ def callback_underflowed_add(self, func, *args, **kwargs):
+ """When the widget's current selection is changed from the last item
+ in its list to the first."""
+ self._callback_add("underflowed", func, *args, **kwargs)
+
+ def callback_underflowed_del(self, func):
+ self._callback_del("underflowed", func)
+
+_elm_widget_type_register("flipselector", FlipSelector)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryFlipSelector_Type # hack to install metaclass
+_install_metaclass(&PyElementaryFlipSelector_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_frame.pxi b/elementary/elementary.c_elementary_frame.pxi
new file mode 100644
index 0000000..d411a1d
--- /dev/null
+++ b/elementary/elementary.c_elementary_frame.pxi
@@ -0,0 +1,150 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Frame(LayoutClass) [object PyElementaryFrame, type PyElementaryFrame_Type]:
+
+ """Frame is a widget that holds some content and has a title.
+
+ The default look is a frame with a title, but Frame supports multiple
+ styles:
+ - default
+ - pad_small
+ - pad_medium
+ - pad_large
+ - pad_huge
+ - outdent_top
+ - outdent_bottom
+
+ Of all this styles only default shows the title.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"clicked"} - The user has clicked the frame's label
+
+ Default content parts of the frame widget that you can use for are:
+ - "default" - A content of the frame
+
+ Default text parts of the frame widget that you can use for are:
+ - "default" - Label of the frame
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_frame_add(parent.obj))
+
+ def autocollapse_set(self, autocollapse):
+ """Toggle autocollapsing of a frame
+
+ When C{autocollapse} is True, clicking a frame's label will collapse
+ the frame vertically, shrinking it to the height of the label. By
+ default, this is DISABLED.
+
+ @param autocollapse: Whether to enable autocollapse
+ @type autocollapse: bool
+
+ """
+ elm_frame_autocollapse_set(self.obj, autocollapse)
+
+ def autocollapse_get(self):
+ """Determine autocollapsing of a frame
+
+ When this returns True, clicking a frame's label will collapse the
+ frame vertically, shrinking it to the height of the label. By
+ default, this is DISABLED.
+
+ @return: Whether autocollapse is enabled
+ @rtype: bool
+
+ """
+ return elm_frame_autocollapse_get(self.obj)
+
+ property autocollapse:
+ """Autocollapsing of a frame
+
+ When this is True, clicking a frame's label will collapse the frame
+ vertically, shrinking it to the height of the label. By default,
+ this is DISABLED.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_frame_autocollapse_get(self.obj)
+
+ def __set__(self, autocollapse):
+ elm_frame_autocollapse_set(self.obj, autocollapse)
+
+ def collapse_set(self, autocollapse):
+ """Manually collapse a frame without animations
+
+ Use this to toggle the collapsed state of a frame, bypassing animations.
+
+ @param collapse: True to collapse, False to expand
+ @type collapse: bool
+
+ """
+ elm_frame_collapse_set(self.obj, autocollapse)
+
+ def collapse_get(self):
+ """Determine the collapse state of a frame
+
+ Use this to determine the collapse state of a frame.
+
+ @return: True if collapsed, False otherwise
+ @rtype: bool
+
+ """
+ return elm_frame_collapse_get(self.obj)
+
+ property collapse:
+ """The collapse state of a frame, bypassing animations
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_frame_collapse_get(self.obj)
+
+ def __set__(self, autocollapse):
+ elm_frame_collapse_set(self.obj, autocollapse)
+
+ def collapse_go(self, collapse):
+ """Manually collapse a frame with animations
+
+ Use this to toggle the collapsed state of a frame, triggering animations.
+
+ @param collapse: True to collapse, False to expand
+ @type collapse: bool
+
+ """
+ elm_frame_collapse_go(self.obj, collapse)
+
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The user has clicked the frame's label."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+_elm_widget_type_register("frame", Frame)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryFrame_Type # hack to install metaclass
+_install_metaclass(&PyElementaryFrame_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_gengrid.pxi b/elementary/elementary.c_elementary_gengrid.pxi
new file mode 100644
index 0000000..2a218ca
--- /dev/null
+++ b/elementary/elementary.c_elementary_gengrid.pxi
@@ -0,0 +1,1018 @@
+# Copyright (c) 2010 ProFUSION embedded systems
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+import traceback
+
+cdef _py_elm_gengrid_item_call(func, Evas_Object *obj, part, data) with gil:
+ try:
+ o = Object_from_instance(obj)
+ return func(o, _ctouni(part), data)
+ except Exception as e:
+ traceback.print_exc()
+ return None
+
+cdef char *_py_elm_gengrid_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ cdef GengridItem item = <object>data
+ cdef object params = item.params
+ cdef GengridItemClass itc = params[0]
+
+ func = itc._text_get_func
+ if func is None:
+ return NULL
+
+ ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ if ret is not None:
+ return strdup(_fruni(ret))
+ else:
+ return NULL
+
+cdef Evas_Object *_py_elm_gengrid_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ cdef GengridItem item = <object>data
+ cdef object params = item.params
+ cdef evasObject icon
+ cdef GengridItemClass itc = params[0]
+
+ func = itc._content_get_func
+ if func is None:
+ return NULL
+
+ ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ if ret is not None:
+ try:
+ icon = ret
+ return icon.obj
+ except Exception as e:
+ traceback.print_exc()
+ return NULL
+ else:
+ return NULL
+
+cdef Eina_Bool _py_elm_gengrid_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ cdef GengridItem item = <object>data
+ cdef object params = item.params
+ cdef GengridItemClass itc = params[0]
+
+ func = itc._state_get_func
+ if func is None:
+ return False
+
+ ret = _py_elm_gengrid_item_call(func, obj, part, params[1])
+ if ret is not None:
+ return bool(ret)
+ else:
+ return False
+
+cdef void _py_elm_gengrid_object_item_del(void *data, Evas_Object *obj) with gil:
+ cdef GengridItem item = <object>data
+ cdef object params
+ cdef GengridItemClass itc
+
+ if item is None:
+ return
+
+ params = item.params
+ itc = params[0]
+
+ func = itc._del_func
+ if func is not None:
+ try:
+ o = Object_from_instance(obj)
+ func(o, params[1])
+ except Exception as e:
+ traceback.print_exc()
+ item._unset_obj()
+ Py_DECREF(item)
+
+cdef void _py_elm_gengrid_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ cdef GengridItem item = <object>data
+ cdef object func = item.params[2]
+
+ if func is not None:
+ try:
+ o = Object_from_instance(obj)
+ func(item, o, item.params[1])
+ except Exception as e:
+ traceback.print_exc()
+
+cdef class GengridItemClass:
+ """Defines the behavior of each grid item.
+
+ This class should be created and handled to the Gengrid itself.
+
+ It may be subclassed, in this case the methods L{text_get()},
+ L{content_get()}, L{state_get()} and C{delete()} will be used.
+
+ It may also be instantiated directly, given getters to override as
+ constructor parameters.
+
+ """
+ cdef Elm_Gengrid_Item_Class obj
+ cdef readonly object _item_style
+ cdef readonly object _text_get_func
+ cdef readonly object _content_get_func
+ cdef readonly object _state_get_func
+ cdef readonly object _del_func
+
+ def __cinit__(self, *a, **ka):
+ self._item_style = "default"
+ self._text_get_func = None
+ self._content_get_func = None
+ self._state_get_func = None
+ self._del_func = None
+
+ self.obj.item_style = NULL
+ self.obj.func.text_get = _py_elm_gengrid_item_text_get
+ self.obj.func.content_get = _py_elm_gengrid_item_content_get
+ self.obj.func.state_get = _py_elm_gengrid_item_state_get
+ self.obj.func.del_ = _py_elm_gengrid_object_item_del
+
+ def __init__(self, item_style=None, text_get_func=None,
+ content_get_func=None, state_get_func=None, del_func=None):
+ """GengridItemClass constructor.
+
+ @param item_style: the string that defines the gengrid item
+ theme to be used. The corresponding edje group will
+ have this as suffix.
+
+ @param text_get_func: if provided will override the
+ behavior defined by L{text_get()} in this class. Its
+ purpose is to return the label string to be used by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, part, item_data) -> str}
+
+ @param content_get_func: if provided will override the behavior
+ defined by L{content_get()} in this class. Its purpose is
+ to return the icon object to be used (swalloed) by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, part, item_data) -> obj}
+
+ @param state_get_func: if provided will override the
+ behavior defined by L{state_get()} in this class. Its
+ purpose is to return the boolean state to be used by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, part, item_data) -> bool}
+
+ @param del_func: if provided will override the behavior
+ defined by C{delete()} in this class. Its purpose is to be
+ called when item is deleted, thus finalizing resources
+ and similar. This function should have the signature:
+ C{func(obj, item_data)}
+
+ @note: In all these signatures, 'obj' means Gengrid and
+ 'item_data' is the value given to Gengrid item append/prepend
+ methods, it should represent your item model as you want.
+ """
+ if item_style:
+ self._item_style = item_style
+
+ if text_get_func and not callable(text_get_func):
+ raise TypeError("text_get_func is not callable!")
+ elif text_get_func:
+ self._text_get_func = text_get_func
+ else:
+ self._text_get_func = self.text_get
+
+ if content_get_func and not callable(content_get_func):
+ raise TypeError("content_get_func is not callable!")
+ elif content_get_func:
+ self._content_get_func = content_get_func
+ else:
+ self._content_get_func = self.content_get
+
+ if state_get_func and not callable(state_get_func):
+ raise TypeError("state_get_func is not callable!")
+ elif state_get_func:
+ self._state_get_func = state_get_func
+ else:
+ self._state_get_func = self.state_get
+
+ if del_func and not callable(del_func):
+ raise TypeError("del_func is not callable!")
+ elif del_func:
+ self._del_func = del_func
+ else:
+ try:
+ self._del_func = self.delete
+ except AttributeError:
+ pass
+
+ self.obj.item_style = _cfruni(self._item_style)
+
+ def __str__(self):
+ return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, "
+ "state_get_func=%s, del_func=%s)") % \
+ (self.__class__.__name__,
+ self._item_style,
+ self._text_get_func,
+ self._content_get_func,
+ self._state_get_func,
+ self._del_func)
+
+ 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)") % \
+ (self.__class__.__name__,
+ <unsigned long><void *>self,
+ PY_REFCOUNT(self),
+ <unsigned long>&self.obj,
+ self._item_style,
+ self._text_get_func,
+ self._content_get_func,
+ self._state_get_func,
+ self._del_func)
+
+ property item_style:
+ def __get__(self):
+ return self._item_style
+
+ def text_get(self, evasObject obj, part, item_data):
+ """To be called by Gengrid for each item to get its label.
+
+ @param obj: the Gengrid instance
+ @param part: the part that is being handled.
+ @param item_data: the value given to gengrid append/prepend.
+
+ @return: label to be used.
+ @rtype: str or None
+ """
+ return None
+
+ def content_get(self, evasObject obj, part, item_data):
+ """To be called by Gengrid for each item to get its icon.
+
+ @param obj: the Gengrid instance
+ @param part: the part that is being handled.
+ @param item_data: the value given to gengrid append/prepend.
+
+ @return: icon object to be used and swallowed.
+ @rtype: evas Object or None
+ """
+ return None
+
+ def state_get(self, evasObject obj, part, item_data):
+ """To be called by Gengrid for each item to get its state.
+
+ @param obj: the Gengrid instance
+ @param part: the part that is being handled.
+ @param item_data: the value given to gengrid append/prepend.
+
+ @return: boolean state to be used.
+ @rtype: bool or None
+ """
+ return False
+
+
+cdef class GengridItem(ObjectItem):
+
+ """An item for the L{Gengrid} widget."""
+
+ 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
+
+ cdef void _unset_obj(self):
+ assert self.item != NULL, "Object must wrap something"
+ self.item = NULL
+
+ def __str__(self):
+ return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ (self.__class__.__name__,
+ self.params[0].__class__.__name__,
+ self.params[2],
+ self.params[1])
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ "item_class=%s, func=%s, item_data=%r)") % \
+ (self.__class__.__name__,
+ <unsigned long><void*>self,
+ PY_REFCOUNT(self),
+ <unsigned long>self.item,
+ self.params[0].__class__.__name__,
+ self.params[2],
+ self.params[1])
+
+ def data_get(self):
+ (item_class, item_data, func) = self.params
+ return item_data
+
+ property data:
+ def __get__(self):
+ return self.data_get()
+
+ def next_get(self):
+ return _object_item_to_python(elm_gengrid_item_next_get(self.item))
+
+ property next:
+ def __get__(self):
+ return self.next_get()
+
+ def prev_get(self):
+ return _object_item_to_python(elm_gengrid_item_prev_get(self.item))
+
+ property prev:
+ def __get__(self):
+ return self.prev_get()
+
+ def gengrid_get(self):
+ return Object_from_instance(elm_object_item_widget_get(self.item))
+
+ property gengrid:
+ def __get__(self):
+ return self.gengrid_get()
+
+ def index_get(self):
+ return elm_gengrid_item_index_get(self.item)
+
+ property index:
+ def __get__(self):
+ return self.index_get()
+
+ def delete(self):
+ elm_object_item_del(self.item)
+
+ def update(self):
+ elm_gengrid_item_update(self.item)
+
+ 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))
+
+ property selected:
+ def __get__(self):
+ return self.selected_get()
+
+ def __set__(self, selected):
+ self.selected_set(selected)
+
+ def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ elm_gengrid_item_show(self.item, scrollto_type)
+
+ def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ elm_gengrid_item_bring_in(self.item, scrollto_type)
+
+ def pos_get(self):
+ 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
+
+ # XXX TODO elm_gengrid_item_item_class_get
+
+ def tooltip_text_set(self, text):
+ """Set the text to be shown in the tooltip object
+
+ Setup the text as tooltip object. The object can have only one
+ tooltip, so any previous tooltip data is removed.
+ Internaly, this method call L{tooltip_content_cb_set}
+ """
+ elm_gengrid_item_tooltip_text_set(self.item, _cfruni(text))
+
+ property tooltip_text:
+ def __get__(self):
+ return self.tooltip_text_get()
+
+ def tooltip_content_cb_set(self, func, *args, **kargs):
+ """Set the content to be shown in the tooltip object
+
+ Setup the tooltip to object. The object can have only one tooltip,
+ so any previews tooltip data is removed. C{func(args, kargs)} will
+ be called every time that need show the tooltip and it should return a
+ valid Evas_Object. This object is then managed fully by tooltip system
+ and is deleted when the tooltip is gone.
+
+ @param func: Function to be create tooltip content, called when
+ need show tooltip.
+ """
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ cdef void *cbdata
+
+ data = (func, self, args, kargs)
+ Py_INCREF(data)
+ cbdata = <void *>data
+ elm_gengrid_item_tooltip_content_cb_set(self.item,
+ _tooltip_item_content_create,
+ cbdata,
+ _tooltip_item_data_del_cb)
+
+ def item_tooltip_unset(self):
+ """ Unset tooltip from object
+
+ Remove tooltip from object. If used the L{tooltip_text_set} the internal
+ copy of label will be removed correctly. If used
+ L{tooltip_content_cb_set}, the data will be unreferred but no freed.
+ """
+ elm_gengrid_item_tooltip_unset(self.item)
+
+ def tooltip_style_set(self, style=None):
+ """ Sets a different style for this object tooltip.
+
+ @note: before you set a style you should define a tooltip with
+ elm_gengrid_item_tooltip_content_cb_set() or
+ elm_gengrid_item_tooltip_text_set()
+ """
+ if style:
+ elm_gengrid_item_tooltip_style_set(self.item, _cfruni(style))
+ else:
+ elm_gengrid_item_tooltip_style_set(self.item, NULL)
+
+ def tooltip_style_get(self):
+ """ Get the style for this object tooltip.
+ """
+ return _ctouni(elm_gengrid_item_tooltip_style_get(self.item))
+
+ property tooltip_style:
+ def __get__(self):
+ return self.tooltip_style_get()
+
+ def __set__(self, value):
+ self.tooltip_style_set(value)
+
+ def tooltip_window_mode_set(self, disable):
+ elm_gengrid_item_tooltip_window_mode_set(self.item, bool(disable))
+
+ def tooltip_window_mode_get(self):
+ return bool(elm_gengrid_item_tooltip_window_mode_get(self.item))
+
+ property tooltip_window_mode:
+ def __get__(self):
+ return self.tooltip_window_mode_get()
+
+ def __set__(self, value):
+ self.tooltip_window_mode_set(value)
+
+ def cursor_set(self, char *cursor):
+ """Set the cursor to be shown when mouse is over the gengrid item
+
+ Set the cursor that will be displayed when mouse is over the
+ item. The item can have only one cursor set to it, so if
+ this function is called twice for an item, the previous set
+ will be unset.
+ """
+ elm_gengrid_item_cursor_set(self.item, _cfruni(cursor))
+
+ def cursor_get(self):
+ return _ctouni(elm_gengrid_item_cursor_get(self.item))
+
+ property cursor:
+ def __get__(self):
+ return self.cursor_get()
+
+ def __set__(self, value):
+ self.cursor_set(value)
+
+ def cursor_unset(self):
+ """Unset the cursor to be shown when mouse is over the gengrid item."""
+ elm_gengrid_item_cursor_unset(self.item)
+
+ def cursor_style_set(self, style=None):
+ """ Sets a different style for this object cursor.
+
+ @note: before you set a style you should define a cursor with
+ L{cursor_set()}
+ """
+ if style:
+ elm_gengrid_item_cursor_style_set(self.item, _cfruni(style))
+ else:
+ elm_gengrid_item_cursor_style_set(self.item, NULL)
+
+ def cursor_style_get(self):
+ """Get the style for this object cursor."""
+ return _ctouni(elm_gengrid_item_cursor_style_get(self.item))
+
+ property cursor_style:
+ def __get__(self):
+ return self.cursor_style_get()
+
+ def __set__(self, value):
+ self.cursor_style_set(value)
+
+ def cursor_engine_only_set(self, engine_only):
+ """Sets cursor engine only usage for this object.
+
+ @note: before you set engine only usage you should define a cursor with
+ L{cursor_set()}
+ """
+ elm_gengrid_item_cursor_engine_only_set(self.item, bool(engine_only))
+
+ def cursor_engine_only_get(self):
+ """Get the engine only usage for this object."""
+ return elm_gengrid_item_cursor_engine_only_get(self.item)
+
+ property cursor_engine_only:
+ def __get__(self):
+ return self.cursor_engine_only_get()
+
+ def __set__(self, value):
+ self.cursor_engine_only_set(value)
+
+ 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)
+
+ property select_mode:
+ def __get__(self):
+ return self.select_mode_get()
+
+ def __set__(self, value):
+ self.select_mode_set(value)
+
+cdef public class Gengrid(Object) [object PyElementaryGengrid, type PyElementaryGengrid_Type]:
+ """Creates a generic, scalable and extensible grid widget.
+
+ Like L{Genlist}, this widget allows more items while keeping
+ performance. The items may have different look and feel,
+ not being restricted only to icon and label.
+
+ """
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_gengrid_add(parent.obj))
+
+ def clear(self):
+ elm_gengrid_clear(self.obj)
+
+ 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))
+
+ property multi_select:
+ def __get__(self):
+ return self.multi_select_get()
+
+ def __set__(self, value):
+ self.multi_select_set(value)
+
+ 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))
+
+ property horizontal:
+ def __get__(self):
+ return self.horizontal_get()
+
+ def __set__(self, value):
+ self.horizontal_set(value)
+
+ def bounce_set(self, h_bounce, v_bounce):
+ elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce))
+
+ def bounce_get(self):
+ cdef Eina_Bool h_bounce, v_bounce
+ elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ return (h_bounce, v_bounce)
+
+ property bounce:
+ def __get__(self):
+ return self.bouce_get()
+
+ def __set__(self, value):
+ self.bouce_set(*value)
+
+ def item_append(self, GengridItemClass item_class not None,
+ item_data, func=None):
+ """Append a new item (add as last item) to this gengrid.
+
+ @param item_class: a valid instance that defines the
+ behavior of this item. See L{GengridItemClass}.
+ @param item_data: some data that defines the model of this
+ item. This value will be given to methods of
+ C{item_class} such as
+ L{GengridItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GengridItem ret = GengridItem()
+ cdef Elm_Object_Item *item
+ cdef Evas_Smart_Cb cb
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_gengrid_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_gengrid_item_append( self.obj,
+ &item_class.obj,
+ <void*>ret,
+ cb,
+ <void*>ret)
+
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ def item_prepend(self, GengridItemClass item_class not None,
+ item_data, func=None):
+ """Prepend a new item (add as first item) to this gengrid.
+
+ @param item_class: a valid instance that defines the
+ behavior of this item. See L{GengridItemClass}.
+ @param item_data: some data that defines the model of this
+ item. This value will be given to methods of
+ C{item_class} such as
+ L{GengridItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GengridItem ret = GengridItem()
+ cdef Elm_Object_Item *item
+ cdef Evas_Smart_Cb cb
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_gengrid_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_gengrid_item_prepend(self.obj,
+ &item_class.obj,
+ <void*>ret,
+ cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ 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.
+
+ @param item_class: a valid instance that defines the
+ behavior of this item. See L{GengridItemClass}.
+ @param item_data: some data that defines the model of this
+ item. This value will be given to methods of
+ C{item_class} such as
+ L{GengridItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param before_item: a reference item to use, the new item
+ will be inserted before it.
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GengridItem ret = GengridItem()
+ cdef Elm_Object_Item *item, *before
+ cdef Evas_Smart_Cb cb
+
+ before = _object_item_from_python(before_item)
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_gengrid_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ (item_class, item_data, func)
+ item = elm_gengrid_item_insert_before( self.obj,
+ &item_class.obj,
+ <void*>ret,
+ before,
+ cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ 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.
+
+ @param item_class: a valid instance that defines the
+ behavior of this item. See L{GengridItemClass}.
+ @param item_data: some data that defines the model of this
+ item. This value will be given to methods of
+ C{item_class} such as
+ L{GengridItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param after_item: a reference item to use, the new item
+ will be inserted after it.
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GengridItem ret = GengridItem()
+ cdef Elm_Object_Item *item, *after
+ cdef Evas_Smart_Cb cb
+
+ after = _object_item_from_python(after_item)
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_gengrid_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_gengrid_item_insert_after( self.obj,
+ &item_class.obj,
+ <void*>ret,
+ after,
+ cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ # XXX TODO elm_gengrid_item_sorted_insert()
+
+ def selected_item_get(self):
+ return _object_item_to_python(elm_gengrid_selected_item_get(self.obj))
+
+ property selected_item:
+ def __get__(self):
+ return self.selected_item_get()
+
+ def selected_items_get(self):
+ return _object_item_list_to_python(elm_gengrid_selected_items_get(self.obj))
+
+ property selected_items:
+ def __get__(self):
+ return self.selected_items_get()
+
+ def realized_items_get(self):
+ return _object_item_list_to_python(elm_gengrid_realized_items_get(self.obj))
+
+ property realized_items:
+ def __get__(self):
+ return self.realized_items_get()
+
+ def realized_items_update(self):
+ elm_gengrid_realized_items_update(self.obj)
+
+ def first_item_get(self):
+ return _object_item_to_python(elm_gengrid_first_item_get(self.obj))
+
+ property first_item:
+ def __get__(self):
+ return self.first_item_get()
+
+ def last_item_get(self):
+ return _object_item_to_python(elm_gengrid_last_item_get(self.obj))
+
+ property last_item:
+ def __get__(self):
+ return self.last_item_get()
+
+ def scroller_policy_set(self, policy_h, policy_v):
+ elm_scroller_policy_set(self.obj, policy_h, policy_v)
+
+ 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)
+
+ property scroller_policy:
+ def __get__(self):
+ return self.scroller_policy_get()
+
+ def __set__(self, value):
+ self.scroller_policy_set(*value)
+
+ 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)
+ return (x, y)
+
+ def items_count(self):
+ return elm_gengrid_items_count(self.obj)
+
+ property item_size:
+ def __get__(self):
+ return self.item_size_get()
+
+ def __set__(self, value):
+ self.item_size_set(value)
+
+ 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)
+ return (w, h)
+
+ property group_item_size:
+ def __get__(self):
+ return self.group_item_size_get()
+
+ def __set__(self, value):
+ self.group_item_size_set(*value)
+
+ 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)
+ return (align_x, align_y)
+
+ property align:
+ def __get__(self):
+ return self.align_get()
+
+ def __set__(self, value):
+ self.align_set(*value)
+
+ 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))
+
+ property reorder_mode:
+ def __get__(self):
+ return self.reorder_mode_get()
+
+ def __set__(self, value):
+ self.reorder_mode_set(value)
+
+ def page_relative_set(self, h_pagerel, v_pagerel):
+ elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+
+ def page_relative_get(self):
+ cdef double h_pagerel, v_pagerel
+ elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ return (h_pagerel, v_pagerel)
+
+ property page_relative:
+ def __get__(self):
+ return self.page_relative_get()
+
+ def __set__(self, value):
+ self.page_relative_set(*value)
+
+ def page_size_set(self, h_pagesize, v_pagesize):
+ elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+
+ def current_page_get(self):
+ cdef int h_pagenum, v_pagenum
+ elm_scroller_current_page_get(self.obj, &h_pagenum, &v_pagenum)
+ return (h_pagenum, v_pagenum)
+
+ property current_page:
+ def __get__(self):
+ return self.current_page_get()
+
+ def last_page_get(self):
+ cdef int h_pagenum, v_pagenum
+ elm_scroller_last_page_get(self.obj, &h_pagenum, &v_pagenum)
+ return (h_pagenum, v_pagenum)
+
+ property last_page:
+ def __get__(self):
+ return self.last_page_get()
+
+ def page_show(self, h_pagenum, v_pagenum):
+ elm_gengrid_page_show(self.obj, h_pagenum, v_pagenum)
+
+ def page_bring_in(self, h_pagenum, v_pagenum):
+ elm_scroller_page_bring_in(self.obj, h_pagenum, v_pagenum)
+
+ 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))
+
+ property filled:
+ def __get__(self):
+ return self.filled_get()
+
+ def __set__(self, value):
+ self.filled_set(value)
+
+ 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)
+
+ property select_mode:
+ def __get__(self):
+ return self.select_mode_get()
+
+ def __set__(self, value):
+ self.select_mode_set(value)
+
+ 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))
+
+ property highlight_mode:
+ def __get__(self):
+ return self.highlight_mode_get()
+
+ def __set__(self, value):
+ self.highlight_mode_set(value)
+
+ 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):
+ 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)
+
+ def callback_clicked_del(self, func):
+ self._callback_del_full("clicked", _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)
+
+ def callback_selected_del(self, func):
+ 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)
+
+ def callback_unselected_del(self, func):
+ self._callback_del_full("unselected", _cb_object_item_conv, func)
+
+_elm_widget_type_register("gengrid", Gengrid)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryGengrid_Type # hack to install metaclass
+_install_metaclass(&PyElementaryGengrid_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_genlist.pxi b/elementary/elementary.c_elementary_genlist.pxi
new file mode 100644
index 0000000..8080ca3
--- /dev/null
+++ b/elementary/elementary.c_elementary_genlist.pxi
@@ -0,0 +1,1159 @@
+# Copyright (c) 2010 ProFUSION embedded systems
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport eina_list_remove_list
+import traceback
+
+cdef _py_elm_genlist_item_call(func, Evas_Object *obj, part, data) with gil:
+ try:
+ o = Object_from_instance(obj)
+ return func(o, _ctouni(part), data)
+ except Exception as e:
+ traceback.print_exc()
+ return None
+
+cdef char *_py_elm_genlist_item_text_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ cdef GenlistItem item = <object>data
+ cdef object params = item.params
+ cdef GenlistItemClass itc = params[0]
+
+ func = itc._text_get_func
+ if func is None:
+ return NULL
+
+ ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ if ret is not None:
+ return strdup(_fruni(ret))
+ else:
+ return NULL
+
+cdef Evas_Object *_py_elm_genlist_item_content_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ cdef GenlistItem item = <object>data
+ cdef object params = item.params
+ cdef evasObject icon
+ cdef GenlistItemClass itc = params[0]
+
+ func = itc._content_get_func
+ if func is None:
+ return NULL
+
+ ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ if ret is not None:
+ try:
+ icon = ret
+ return icon.obj
+ except Exception as e:
+ traceback.print_exc()
+ return NULL
+ else:
+ return NULL
+
+cdef Eina_Bool _py_elm_genlist_item_state_get(void *data, Evas_Object *obj, const_char_ptr part) with gil:
+ cdef GenlistItem item = <object>data
+ cdef object params = item.params
+ cdef GenlistItemClass itc = params[0]
+
+ func = itc._state_get_func
+ if func is None:
+ return False
+
+ ret = _py_elm_genlist_item_call(func, obj, part, params[1])
+ if ret is not None:
+ return bool(ret)
+ else:
+ return False
+
+cdef void _py_elm_genlist_object_item_del(void *data, Evas_Object *obj) with gil:
+ cdef GenlistItem item = <object>data
+ cdef object params
+ cdef GenlistItemClass itc
+
+ if item is None:
+ return
+
+ params = item.params
+ itc = params[0]
+
+ func = itc._del_func
+ if func is not None:
+ try:
+ o = Object_from_instance(obj)
+ func(o, params[1])
+ except Exception as e:
+ traceback.print_exc()
+ item._unset_obj()
+ Py_DECREF(item)
+
+cdef void _py_elm_genlist_item_func(void *data, Evas_Object *obj, void *event_info) with gil:
+ cdef GenlistItem item = <object>data
+ cdef object func = item.params[2]
+
+ if func is not None:
+ try:
+ o = Object_from_instance(obj)
+ func(item, o, item.params[1])
+ except Exception as e:
+ traceback.print_exc()
+
+cdef class GenlistItemClass:
+ """Defines the behavior of each list item.
+
+ This class should be created and handled to the Genlist itself.
+
+ It may be subclassed, in this case the methods L{text_get()},
+ L{content_get()}, L{state_get()} and C{delete()} will be used.
+
+ It may also be instantiated directly, given getters to override as
+ constructor parameters.
+
+ """
+ cdef Elm_Genlist_Item_Class obj
+ cdef readonly object _item_style
+ cdef readonly object _text_get_func
+ cdef readonly object _content_get_func
+ cdef readonly object _state_get_func
+ cdef readonly object _del_func
+
+ def __cinit__(self, *a, **ka):
+ self._item_style = "default"
+ self._text_get_func = None
+ self._content_get_func = None
+ self._state_get_func = None
+ self._del_func = None
+
+ self.obj.item_style = NULL
+ self.obj.func.text_get = _py_elm_genlist_item_text_get
+ self.obj.func.content_get = _py_elm_genlist_item_content_get
+ self.obj.func.state_get = _py_elm_genlist_item_state_get
+ self.obj.func.del_ = _py_elm_genlist_object_item_del
+
+ def __init__(self, item_style=None, text_get_func=None,
+ content_get_func=None, state_get_func=None, del_func=None):
+ """GenlistItemClass constructor.
+
+ @param item_style: the string that defines the genlist item
+ theme to be used. The corresponding edje group will
+ have this as suffix.
+
+ @param text_get_func: if provided will override the
+ behavior defined by L{text_get()} in this class. Its
+ purpose is to return the label string to be used by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, part, item_data) -> str}
+
+ @param content_get_func: if provided will override the behavior
+ defined by L{content_get()} in this class. Its purpose is
+ to return the icon object to be used (swalloed) by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, part, item_data) -> obj}
+
+ @param state_get_func: if provided will override the
+ behavior defined by L{state_get()} in this class. Its
+ purpose is to return the boolean state to be used by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, part, item_data) -> bool}
+
+ @param del_func: if provided will override the behavior
+ defined by C{delete()} in this class. Its purpose is to be
+ called when row is deleted, thus finalizing resouces
+ and similar. This function should have the signature:
+ C{func(obj, part, item_data) -> str}
+
+ @note: In all these signatures, 'obj' means Genlist and
+ 'item_data' is the value given to Genlist item append/prepend
+ methods, it should represent your row model as you want.
+ """
+ if item_style:
+ self._item_style = item_style
+
+ if text_get_func and not callable(text_get_func):
+ raise TypeError("text_get_func is not callable!")
+ elif text_get_func:
+ self._text_get_func = text_get_func
+ else:
+ self._text_get_func = self.text_get
+
+ if content_get_func and not callable(content_get_func):
+ raise TypeError("content_get_func is not callable!")
+ elif content_get_func:
+ self._content_get_func = content_get_func
+ else:
+ self._content_get_func = self.content_get
+
+ if state_get_func and not callable(state_get_func):
+ raise TypeError("state_get_func is not callable!")
+ elif state_get_func:
+ self._state_get_func = state_get_func
+ else:
+ self._state_get_func = self.state_get
+
+ if del_func and not callable(del_func):
+ raise TypeError("del_func is not callable!")
+ elif del_func:
+ self._del_func = del_func
+ else:
+ try:
+ self._del_func = self.delete
+ except AttributeError:
+ pass
+
+ self.obj.item_style = _fruni(self._item_style)
+
+ def __str__(self):
+ return ("%s(item_style=%r, text_get_func=%s, content_get_func=%s, "
+ "state_get_func=%s, del_func=%s)") % \
+ (self.__class__.__name__,
+ self._item_style,
+ self._text_get_func,
+ self._content_get_func,
+ self._state_get_func,
+ self._del_func)
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Genlist_Item_Class=%#x, "
+ "item_style=%r, text_get_func=%s, content_get_func=%s, "
+ "state_get_func=%s, del_func=%s)") % \
+ (self.__class__.__name__,
+ <unsigned long><void *>self,
+ PY_REFCOUNT(self),
+ <unsigned long>&self.obj,
+ self._item_style,
+ self._text_get_func,
+ self._content_get_func,
+ self._state_get_func,
+ self._del_func)
+
+ property item_style:
+ def __get__(self):
+ return self._item_style
+
+ def text_get(self, evasObject obj, part, item_data):
+ """To be called by Genlist for each row to get its label.
+
+ @param obj: the Genlist instance
+ @param part: the part that is being handled.
+ @param item_data: the value given to genlist append/prepend.
+
+ @return: label to be used.
+ @rtype: str or None
+ """
+ return None
+
+ def content_get(self, evasObject obj, part, item_data):
+ """To be called by Genlist for each row to get its icon.
+
+ @param obj: the Genlist instance
+ @param part: the part that is being handled.
+ @param item_data: the value given to genlist append/prepend.
+
+ @return: icon object to be used and swallowed.
+ @rtype: evas Object or None
+ """
+ return None
+
+ def state_get(self, evasObject obj, part, item_data):
+ """To be called by Genlist for each row to get its state.
+
+ @param obj: the Genlist instance
+ @param part: the part that is being handled.
+ @param item_data: the value given to genlist append/prepend.
+
+ @return: state to be used.
+ @rtype: bool or None
+ """
+ return False
+
+cdef class GenlistItem(ObjectItem):
+
+ """An item for the L{Genlist} widget."""
+
+ cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0:
+ assert self.item == NULL, "Object must be clean"
+ self.item = item
+ Py_INCREF(self)
+ return 1
+
+ cdef void _unset_obj(self):
+ assert self.item != NULL, "Object must wrap something"
+ self.item = NULL
+
+ def __str__(self):
+ return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ (self.__class__.__name__,
+ self.params[0].__class__.__name__,
+ self.params[2],
+ self.params[1])
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ "item_class=%s, func=%s, item_data=%r)") % \
+ (self.__class__.__name__,
+ <unsigned long><void*>self,
+ PY_REFCOUNT(self),
+ <unsigned long>self.item,
+ self.params[0].__class__.__name__,
+ self.params[2],
+ self.params[1])
+
+ def data_get(self):
+ return self.params[1]
+
+ property data:
+ def __get__(self):
+ return self.data_get()
+
+ def next_get(self):
+ return _object_item_to_python(elm_genlist_item_next_get(self.item))
+
+ property next:
+ def __get__(self):
+ return self.next_get()
+
+ def prev_get(self):
+ return _object_item_to_python(elm_genlist_item_prev_get(self.item))
+
+ property prev:
+ def __get__(self):
+ return self.prev_get()
+
+ def selected_set(self, selected):
+ elm_genlist_item_selected_set(self.item, bool(selected))
+
+ def selected_get(self):
+ return bool(elm_genlist_item_selected_get(self.item))
+
+ property selected:
+ def __get__(self):
+ return self.selected_get()
+
+ def __set__(self, selected):
+ self.selected_set(selected)
+
+ def show(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ elm_genlist_item_show(self.item, scrollto_type)
+
+ def bring_in(self, scrollto_type = ELM_GENLIST_ITEM_SCROLLTO_IN):
+ elm_genlist_item_bring_in(self.item, scrollto_type)
+
+ def update(self):
+ elm_genlist_item_update(self.item)
+
+ #def item_class_update(self, Elm_Genlist_Item_Class itc):
+ #elm_genlist_item_item_class_update(self.item, itc)
+
+ #def item_class_get(self):
+ #return elm_genlist_item_item_class_get(self.item)
+
+ def index_get(self):
+ return elm_genlist_item_index_get(self.item)
+
+ def tooltip_text_set(self, char *text):
+ """ Set the text to be shown in the tooltip object
+
+ Setup the text as tooltip object. The object can have only one
+ tooltip, so any previous tooltip data is removed.
+ Internally, this method calls L{tooltip_content_cb_set}
+ """
+ elm_genlist_item_tooltip_text_set(self.item, _cfruni(text))
+
+ def tooltip_content_cb_set(self, func, *args, **kargs):
+ """ Set the content to be shown in the tooltip object
+
+ Setup the tooltip to object. The object can have only one tooltip,
+ so any previews tooltip data is removed. C{func(args,kargs)} will
+ be called every time that need show the tooltip and it should return a
+ valid Evas_Object. This object is then managed fully by tooltip system
+ and is deleted when the tooltip is gone.
+
+ @param func: Function to be create tooltip content, called when
+ need show tooltip.
+ """
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ cdef void *cbdata
+
+ data = (func, self, args, kargs)
+ Py_INCREF(data)
+ cbdata = <void *>data
+ elm_genlist_item_tooltip_content_cb_set(self.item,
+ _tooltip_item_content_create,
+ cbdata,
+ _tooltip_item_data_del_cb)
+
+ def tooltip_unset(self):
+ """ Unset tooltip from object
+
+ Remove tooltip from object. If used the L{tooltip_text_set} the internal
+ copy of label will be removed correctly. If used
+ L{tooltip_content_cb_set}, the data will be unreferred but no freed.
+ """
+ elm_genlist_item_tooltip_unset(self.item)
+
+ def tooltip_style_set(self, style=None):
+ """ Sets a different style for this object tooltip.
+
+ @note: before you set a style you should define a tooltip with
+ elm_genlist_item_tooltip_content_cb_set() or
+ elm_genlist_item_tooltip_text_set()
+ """
+ if style:
+ elm_genlist_item_tooltip_style_set(self.item, _cfruni(style))
+ else:
+ elm_genlist_item_tooltip_style_set(self.item, NULL)
+
+ def tooltip_style_get(self):
+ """ Get the style for this object tooltip.
+ """
+ return _ctouni(elm_genlist_item_tooltip_style_get(self.item))
+
+ def tooltip_window_mode_set(self, disable):
+ return bool(elm_genlist_item_tooltip_window_mode_set(self.item, disable))
+
+ def tooltip_window_mode_get(self):
+ return bool(elm_genlist_item_tooltip_window_mode_get(self.item))
+
+ def cursor_set(self, cursor):
+ """ Set the cursor to be shown when mouse is over the genlist item
+
+ Set the cursor that will be displayed when mouse is over the
+ item. The item can have only one cursor set to it, so if
+ this function is called twice for an item, the previous set
+ will be unset.
+ """
+ elm_genlist_item_cursor_set(self.item, _cfruni(cursor))
+
+ def cursor_get(self):
+ return _ctouni(elm_genlist_item_cursor_get(self.item))
+
+ def cursor_unset(self):
+ """ Unset the cursor to be shown when mouse is over the genlist item
+ """
+ elm_genlist_item_cursor_unset(self.item)
+
+ def cursor_style_set(self, style=None):
+ """ Sets a different style for this object cursor.
+
+ @note: before you set a style you should define a cursor with
+ elm_genlist_item_cursor_set()
+ """
+ if style:
+ elm_genlist_item_cursor_style_set(self.item, _cfruni(style))
+ else:
+ elm_genlist_item_cursor_style_set(self.item, NULL)
+
+ def cursor_style_get(self):
+ """ Get the style for this object cursor.
+ """
+ return _ctouni(elm_genlist_item_cursor_style_get(self.item))
+
+ def cursor_engine_only_set(self, engine_only):
+ """ Sets cursor engine only usage for this object.
+
+ @note: before you set engine only usage you should define a cursor with
+ elm_genlist_item_cursor_set()
+ """
+ elm_genlist_item_cursor_engine_only_set(self.item, bool(engine_only))
+
+ def cursor_engine_only_get(self):
+ """ Get the engine only usage for this object.
+ """
+ return elm_genlist_item_cursor_engine_only_get(self.item)
+
+ def parent_get(self):
+ return _object_item_to_python(elm_genlist_item_parent_get(self.item))
+
+ property parent:
+ def __get__(self):
+ return self.parent_get()
+
+ def subitems_clear(self):
+ elm_genlist_item_subitems_clear(self.item)
+
+ def expanded_set(self, expanded):
+ elm_genlist_item_expanded_set(self.item, bool(expanded))
+
+ def expanded_get(self, ):
+ return bool(elm_genlist_item_expanded_get(self.item))
+
+ property expanded:
+ def __get__(self):
+ return self.expanded_get()
+
+ def __set__(self, expanded):
+ self.expanded_set(expanded)
+
+ def expanded_depth_get(self):
+ return elm_genlist_item_expanded_depth_get(self.item)
+
+ def all_contents_unset(self):
+ cdef Eina_List *lst
+ elm_genlist_item_all_contents_unset(self.item, &lst)
+ return _object_item_list_to_python(lst)
+
+ def promote(self):
+ elm_genlist_item_promote(self.item)
+
+ def demote(self):
+ elm_genlist_item_demote(self.item)
+
+ def fields_update(self, parts, itf):
+ elm_genlist_item_fields_update(self.item, _cfruni(parts), itf)
+
+ def decorate_mode_set(self, decorate_it_type, decorate_it_set):
+ elm_genlist_item_decorate_mode_set(self.item, _cfruni(decorate_it_type), decorate_it_set)
+
+ def decorate_mode_get(self):
+ return _ctouni(elm_genlist_item_decorate_mode_get(self.item))
+
+ def type_get(self):
+ cdef Elm_Genlist_Item_Type ittype = elm_genlist_item_type_get(self.item)
+ return <Elm_Genlist_Item_Type>ittype
+
+ def flip_set(self, flip):
+ elm_genlist_item_flip_set(self.item, flip)
+
+ def flip_get(self):
+ return bool(elm_genlist_item_flip_get(self.item))
+
+ def select_mode_set(self, mode):
+ elm_genlist_item_select_mode_set(self.item, mode)
+
+ def select_mode_get(self):
+ return elm_genlist_item_select_mode_get(self.item)
+
+cdef public class Genlist(Object) [object PyElementaryGenlist, type PyElementaryGenlist_Type]:
+ """Creates a generic, scalable and extensible list widget.
+
+ Unlike L{List}, this widget allows more items while keeping
+ performance. The items might contain subitems, thus being able to
+ do 'tree' hierarchy. The rows may have different look and feel,
+ not being restricted only to icon and label.
+
+ """
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_genlist_add(parent.obj))
+
+ def clear(self):
+ elm_genlist_clear(self.obj)
+
+ def multi_select_set(self, multi):
+ elm_genlist_multi_select_set(self.obj, bool(multi))
+
+ def multi_select_get(self):
+ return bool(elm_genlist_multi_select_get(self.obj))
+
+ def mode_set(self, mode = ELM_LIST_COMPRESS):
+ elm_genlist_mode_set(self.obj, mode)
+
+ def mode_get(self):
+ return elm_genlist_mode_get(self.obj)
+
+ def bounce_set(self, h_bounce, v_bounce):
+ elm_scroller_bounce_set(self.obj, bool(h_bounce), bool(v_bounce))
+
+ def bounce_get(self):
+ cdef Eina_Bool h_bounce, v_bounce
+ elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ return (h_bounce, v_bounce)
+
+ def item_append(self,
+ GenlistItemClass item_class not None,
+ item_data,
+ GenlistItem parent_item=None,
+ int flags=ELM_GENLIST_ITEM_NONE,
+ func=None):
+ """Append a new item (add as last row) to this genlist.
+
+ @param item_class: a valid instance that defines the
+ behavior of this row. See L{GenlistItemClass}.
+ @param item_data: some data that defines the model of this
+ row. This value will be given to methods of
+ C{item_class} such as
+ L{GenlistItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param parent_item: if this is a tree child, then the
+ parent item must be given here, otherwise it may be
+ None. The parent must have the flag
+ C{ELM_GENLIST_ITEM_SUBITEMS} set.
+ @param flags: defines special behavior of this item:
+ - ELM_GENLIST_ITEM_NONE = 0
+ - ELM_GENLIST_ITEM_SUBITEMS = 1
+ - ELM_GENLIST_ITEM_GROUP = 2
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GenlistItem ret = GenlistItem()
+ cdef Elm_Object_Item *item, *parent
+ cdef Evas_Smart_Cb cb
+
+ parent = _object_item_from_python(parent_item) if parent_item is not None else NULL
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_genlist_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_genlist_item_append( self.obj,
+ &item_class.obj,
+ <void*>ret,
+ parent,
+ <Elm_Genlist_Item_Type>flags,
+ cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ def item_prepend( self,
+ GenlistItemClass item_class not None,
+ item_data,
+ GenlistItem parent_item=None,
+ int flags=ELM_GENLIST_ITEM_NONE,
+ func=None):
+ """Prepend a new item (add as first row) to this genlist.
+
+ @param item_class: a valid instance that defines the
+ behavior of this row. See L{GenlistItemClass}.
+ @param item_data: some data that defines the model of this
+ row. This value will be given to methods of
+ C{item_class} such as
+ L{GenlistItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param parent_item: if this is a tree child, then the
+ parent item must be given here, otherwise it may be
+ None. The parent must have the flag
+ C{ELM_GENLIST_ITEM_SUBITEMS} set.
+ @param flags: defines special behavior of this item:
+ - ELM_GENLIST_ITEM_NONE = 0
+ - ELM_GENLIST_ITEM_SUBITEMS = 1
+ - ELM_GENLIST_ITEM_GROUP = 2
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GenlistItem ret = GenlistItem()
+ cdef Elm_Object_Item *item, *parent
+ cdef Evas_Smart_Cb cb
+
+ parent = _object_item_from_python(parent_item) if parent_item is not None else NULL
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_genlist_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_genlist_item_prepend(self.obj,
+ &item_class.obj,
+ <void*>ret,
+ parent,
+ <Elm_Genlist_Item_Type>flags,
+ cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ def item_insert_before( self,
+ GenlistItemClass item_class not None,
+ item_data,
+ #API XXX: parent
+ GenlistItem before_item=None,
+ int flags=ELM_GENLIST_ITEM_NONE,
+ func=None
+ #API XXX: *args, **kwargs
+ ):
+ """Insert a new item (row) before another item in this genlist.
+
+ @param item_class: a valid instance that defines the
+ behavior of this row. See L{GenlistItemClass}.
+ @param item_data: some data that defines the model of this
+ row. This value will be given to methods of
+ C{item_class} such as
+ L{GenlistItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param before_item: a reference item to use, the new item
+ will be inserted before it.
+ @param flags: defines special behavior of this item:
+ - ELM_GENLIST_ITEM_NONE = 0
+ - ELM_GENLIST_ITEM_SUBITEMS = 1
+ - ELM_GENLIST_ITEM_GROUP = 2
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GenlistItem ret = GenlistItem()
+ cdef Elm_Object_Item *item, *before
+ cdef Evas_Smart_Cb cb
+
+ before = _object_item_from_python(before_item)
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_genlist_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_genlist_item_insert_before( self.obj,
+ &item_class.obj,
+ <void*>ret,
+ NULL,
+ before,
+ <Elm_Genlist_Item_Type>flags, cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ def item_insert_after( self,
+ GenlistItemClass item_class not None,
+ item_data,
+ #API XXX: parent
+ GenlistItem after_item=None,
+ int flags=ELM_GENLIST_ITEM_NONE,
+ func=None
+ #API XXX: *args, **kwargs
+ ):
+ """Insert a new item (row) after another item in this genlist.
+
+ @param item_class: a valid instance that defines the
+ behavior of this row. See L{GenlistItemClass}.
+ @param item_data: some data that defines the model of this
+ row. This value will be given to methods of
+ C{item_class} such as
+ L{GenlistItemClass.text_get()}. It will also be
+ provided to C{func} as its last parameter.
+ @param after_item: a reference item to use, the new item
+ will be inserted after it.
+ @param flags: defines special behavior of this item:
+ - ELM_GENLIST_ITEM_NONE = 0
+ - ELM_GENLIST_ITEM_SUBITEMS = 1
+ - ELM_GENLIST_ITEM_GROUP = 2
+ @param func: if not None, this must be a callable to be
+ called back when the item is selected. The function
+ signature is:
+ C{func(item, obj, item_data)}
+ Where C{item} is the handle, C{obj} is the Evas object
+ that represents this item, and C{item_data} is the
+ value given as parameter to this function.
+ """
+ cdef GenlistItem ret = GenlistItem()
+ cdef Elm_Object_Item *item, *after
+ cdef Evas_Smart_Cb cb
+
+ after = _object_item_from_python(after_item)
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _py_elm_genlist_item_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ ret.params = (item_class, item_data, func)
+ item = elm_genlist_item_insert_after(self.obj, &item_class.obj,
+ <void*>ret,
+ NULL,
+ after,
+ <Elm_Genlist_Item_Type>flags, cb,
+ <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ Py_DECREF(ret)
+ return None
+
+ #Elm_Object_Item *elm_genlist_item_sorted_insert(self.obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, void *func_data)
+
+ def selected_item_get(self):
+ return _object_item_to_python(elm_genlist_selected_item_get(self.obj))
+
+ property selected_item:
+ def __get__(self):
+ return self.selected_item_get()
+
+ def selected_items_get(self):
+ return _object_item_list_to_python(elm_genlist_selected_items_get(self.obj))
+
+ def realized_items_get(self):
+ return _object_item_list_to_python(elm_genlist_realized_items_get(self.obj))
+
+ def first_item_get(self):
+ return _object_item_to_python(elm_genlist_first_item_get(self.obj))
+
+ property first_item:
+ def __get__(self):
+ return _object_item_to_python(elm_genlist_first_item_get(self.obj))
+
+ def last_item_get(self):
+ return _object_item_to_python(elm_genlist_last_item_get(self.obj))
+
+ property last_item:
+ def __get__(self):
+ return _object_item_to_python(elm_genlist_last_item_get(self.obj))
+
+ def scroller_policy_set(self, policy_h, policy_v):
+ elm_scroller_policy_set(self.obj, policy_h, policy_v)
+
+ 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)
+
+ def realized_items_update(self):
+ elm_genlist_realized_items_update(self.obj)
+
+ def items_count(self):
+ return elm_genlist_items_count(self.obj)
+
+ def homogeneous_set(self, homogeneous):
+ elm_genlist_homogeneous_set(self.obj, bool(homogeneous))
+
+ def homogeneous_get(self):
+ return bool(elm_genlist_homogeneous_get(self.obj))
+
+ def block_count_set(self, int n):
+ elm_genlist_block_count_set(self.obj, n)
+
+ def block_count_get(self):
+ return elm_genlist_block_count_get(self.obj)
+
+ def longpress_timeout_set(self, timeout):
+ elm_genlist_longpress_timeout_set(self.obj, timeout)
+
+ def longpress_timeout_get(self):
+ return elm_genlist_longpress_timeout_get(self.obj)
+
+ def at_xy_item_get(self, int x, int y):
+ return _object_item_to_python(elm_genlist_at_xy_item_get(self.obj, x, y, NULL))
+
+ def decorated_item_get(self):
+ return _object_item_to_python(elm_genlist_decorated_item_get(self.obj))
+
+ def reorder_mode_set(self, reorder_mode):
+ elm_genlist_reorder_mode_set(self.obj, reorder_mode)
+
+ def reorder_mode_get(self):
+ return bool(elm_genlist_reorder_mode_get(self.obj))
+
+ def decorate_mode_set(self, decorated):
+ elm_genlist_decorate_mode_set(self.obj, decorated)
+
+ def decorate_mode_get(self):
+ return bool(elm_genlist_decorate_mode_get(self.obj))
+
+ def tree_effect_enabled_set(self, enabled):
+ elm_genlist_tree_effect_enabled_set(self.obj, enabled)
+
+ def tree_effect_enabled_get(self):
+ return bool(elm_genlist_tree_effect_enabled_get(self.obj))
+
+ def highlight_mode_set(self, highlight):
+ elm_genlist_highlight_mode_set(self.obj, highlight)
+
+ def highlight_mode_get(self):
+ return bool(elm_genlist_highlight_mode_get(self.obj))
+
+ def select_mode_set(self, mode):
+ elm_genlist_select_mode_set(self.obj, mode)
+
+ def select_mode_get(self):
+ return elm_genlist_select_mode_get(self.obj)
+
+ 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):
+ 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)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del_full("clicked,double", _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)
+
+ def callback_selected_del(self, func):
+ 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)
+
+ def callback_unselected_del(self, func):
+ self._callback_del_full("unselected", _cb_object_item_conv, func)
+
+ def callback_expanded_add(self, func, *args, **kwargs):
+ self._callback_add_full("expanded", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_expanded_del(self, func):
+ self._callback_del_full("expanded", _cb_object_item_conv, func)
+
+ def callback_contracted_add(self, func, *args, **kwargs):
+ self._callback_add_full("contracted", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_contracted_del(self, func):
+ self._callback_del_full("contracted", _cb_object_item_conv, func)
+
+ def callback_expand_request_add(self, func, *args, **kwargs):
+ self._callback_add_full("expand,request", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_expand_request_del(self, func):
+ self._callback_del_full("expand,request", _cb_object_item_conv, func)
+
+ def callback_contract_request_add(self, func, *args, **kwargs):
+ self._callback_add_full("contract,request", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_contract_request_del(self, func):
+ self._callback_del_full("contract,request", _cb_object_item_conv, func)
+
+ def callback_realized_add(self, func, *args, **kwargs):
+ self._callback_add_full("realized", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_realized_del(self, func):
+ self._callback_del_full("realized", _cb_object_item_conv, func)
+
+ def callback_unrealized_add(self, func, *args, **kwargs):
+ self._callback_add_full("unrealized", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_unrealized_del(self, func):
+ self._callback_del_full("unrealized", _cb_object_item_conv, func)
+
+ def callback_drag_start_up_add(self, func, *args, **kwargs):
+ self._callback_add_full("drag,start,up", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_drag_start_up_del(self, func):
+ self._callback_del_full("drag,start,up", _cb_object_item_conv, func)
+
+ def callback_drag_start_down_add(self, func, *args, **kwargs):
+ self._callback_add_full("drag,start,down", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_drag_start_down_del(self, func):
+ self._callback_del_full("drag,start,down", _cb_object_item_conv, func)
+
+ def callback_drag_start_left_add(self, func, *args, **kwargs):
+ self._callback_add_full("drag,start,left", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_drag_start_left_del(self, func):
+ self._callback_del_full("drag,start,left", _cb_object_item_conv, func)
+
+ def callback_drag_start_right_add(self, func, *args, **kwargs):
+ self._callback_add_full("drag,start,right", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_drag_start_right_del(self, func):
+ self._callback_del_full("drag,start,right", _cb_object_item_conv, func)
+
+ def callback_drag_stop_add(self, func, *args, **kwargs):
+ self._callback_add_full("drag,stop", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_drag_stop_del(self, func):
+ self._callback_del_full("drag,stop", _cb_object_item_conv, func)
+
+ def callback_drag_add(self, func, *args, **kwargs):
+ self._callback_add_full("drag", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_drag_del(self, func):
+ self._callback_del_full("drag", _cb_object_item_conv, func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ self._callback_add_full("longpressed", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del_full("longpressed", _cb_object_item_conv, func)
+
+ def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ self._callback_add("scroll,anim,start", func, *args, **kwargs)
+
+ 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):
+ self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+
+ def callback_scroll_anim_stop_del(self, func):
+ self._callback_del("scroll,anim,stop", func)
+
+ def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ self._callback_add("scroll,drag,start", func, *args, **kwargs)
+
+ 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):
+ self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+
+ def callback_scroll_drag_stop_del(self, func):
+ self._callback_del("scroll,drag,stop", func)
+
+ def callback_edge_top_add(self, func, *args, **kwargs):
+ self._callback_add("edge,top", func, *args, **kwargs)
+
+ def callback_edge_top_del(self, func):
+ self._callback_del("edge,top", func)
+
+ def callback_edge_bottom_add(self, func, *args, **kwargs):
+ self._callback_add("edge,bottom", func, *args, **kwargs)
+
+ def callback_edge_bottom_del(self, func):
+ self._callback_del("edge,bottom", func)
+
+ def callback_edge_left_add(self, func, *args, **kwargs):
+ self._callback_add("edge,left", func, *args, **kwargs)
+
+ def callback_edge_left_del(self, func):
+ self._callback_del("edge,left", func)
+
+ def callback_edge_right_add(self, func, *args, **kwargs):
+ self._callback_add("edge,right", func, *args, **kwargs)
+
+ def callback_edge_right_del(self, func):
+ self._callback_del("edge,right", func)
+
+ def callback_multi_swipe_left_add(self, func, *args, **kwargs):
+ self._callback_add("multi,swipe,left", func, *args, **kwargs)
+
+ def callback_multi_swipe_left_del(self, func):
+ self._callback_del("multi,swipe,left", func)
+
+ def callback_multi_swipe_right_add(self, func, *args, **kwargs):
+ self._callback_add("multi,swipe,right", func, *args, **kwargs)
+
+ def callback_multi_swipe_right_del(self, func):
+ self._callback_del("multi,swipe,right", func)
+
+ def callback_multi_swipe_up_add(self, func, *args, **kwargs):
+ self._callback_add("multi,swipe,up", func, *args, **kwargs)
+
+ def callback_multi_swipe_up_del(self, func):
+ self._callback_del("multi,swipe,up", func)
+
+ def callback_multi_swipe_down_add(self, func, *args, **kwargs):
+ self._callback_add("multi,swipe,down", func, *args, **kwargs)
+
+ def callback_multi_swipe_down_del(self, func):
+ self._callback_del("multi,swipe,down", func)
+
+ def callback_multi_pinch_out_add(self, func, *args, **kwargs):
+ self._callback_add("multi,pinch,out", func, *args, **kwargs)
+
+ def callback_multi_pinch_out_del(self, func):
+ self._callback_del("multi,pinch,out", func)
+
+ def callback_multi_pinch_in_add(self, func, *args, **kwargs):
+ self._callback_add("multi,pinch,in", func, *args, **kwargs)
+
+ def callback_multi_pinch_in_del(self, func):
+ self._callback_del("multi,pinch,in", func)
+
+ def callback_swipe_add(self, func, *args, **kwargs):
+ self._callback_add("swipe", func, *args, **kwargs)
+
+ def callback_swipe_del(self, func):
+ self._callback_del("swipe", func)
+
+ def callback_moved_add(self, func, *args, **kwargs):
+ self._callback_add_full("moved", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_moved_del(self, func):
+ self._callback_del_full("moved", _cb_object_item_conv, func)
+
+ def callback_moved_after_add(self, func, *args, **kwargs):
+ self._callback_add_full("moved,after", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_moved_after_del(self, func):
+ self._callback_del_full("moved,after", _cb_object_item_conv, func)
+
+ def callback_moved_before_add(self, func, *args, **kwargs):
+ self._callback_add_full("moved,before", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_moved_before_del(self, func):
+ self._callback_del_full("moved,before", _cb_object_item_conv, func)
+
+ def callback_language_changed_add(self, func, *args, **kwargs):
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+ def callback_tree_effect_finished_add(self, func, *args, **kwargs):
+ self._callback_add("tree,effect,finished", func, *args, **kwargs)
+
+ def callback_tree_effect_finished_del(self, func):
+ self._callback_del("tree,effect,finished", func)
+
+_elm_widget_type_register("genlist", Genlist)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryGenlist_Type # hack to install metaclass
+_install_metaclass(&PyElementaryGenlist_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_gesture_layer.pxi b/elementary/elementary.c_elementary_gesture_layer.pxi
new file mode 100644
index 0000000..23ff5f4
--- /dev/null
+++ b/elementary/elementary.c_elementary_gesture_layer.pxi
@@ -0,0 +1,205 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport EVAS_EVENT_FLAG_NONE
+
+cdef Evas_Event_Flags _gesture_layer_event_cb(void *data, void *event_info) with gil:
+ (callback, args, kwargs) = <object>data
+ try:
+ ret = callback(args, kwargs)
+ if ret is not None:
+ return <Evas_Event_Flags>ret
+ else:
+ return EVAS_EVENT_FLAG_NONE
+ except Exception as e:
+ traceback.print_exc()
+
+cdef public class GestureLayer(Object) [object PyElementaryGestureLayer, type PyElementaryGestureLayer_Type]:
+
+ """Use Gesture Layer to detect gestures. The advantage is that you don't
+ have to implement gesture detection, just set callbacks of gesture state.
+ By using gesture layer we make standard interface.
+
+ In order to use Gesture Layer you start with instantiating this class
+ with a parent object parameter. Next 'activate' gesture layer with a
+ L{attach()} call. Usually with same object as target (2nd parameter).
+
+ Now you need to tell gesture layer what gestures you follow. This is
+ done with L{cb_set()} call. By setting the callback you actually saying
+ to gesture layer: I would like to know when the gesture
+ C{Elm_Gesture_Type} switches to state C{Elm_Gesture_State}.
+
+ Next, you need to implement the actual action that follows the input in
+ your callback.
+
+ Note that if you like to stop being reported about a gesture, just set
+ all callbacks referring this gesture to None. (again with L{cb_set()})
+
+ The information reported by gesture layer to your callback is depending
+ on C{Elm_Gesture_Type}:
+ - C{Elm_Gesture_Taps_Info} is the info reported for tap gestures:
+ - C{ELM_GESTURE_N_TAPS}
+ - C{ELM_GESTURE_N_LONG_TAPS}
+ - C{ELM_GESTURE_N_DOUBLE_TAPS}
+ - C{ELM_GESTURE_N_TRIPLE_TAPS}
+ - C{Elm_Gesture_Momentum_Info} is info reported for momentum gestures:
+ - C{ELM_GESTURE_MOMENTUM}
+ - C{Elm_Gesture_Line_Info} is the info reported for line gestures
+ (this also contains C{Elm_Gesture_Momentum_Info} internal structure):
+ - C{ELM_GESTURE_N_LINES}
+ - C{ELM_GESTURE_N_FLICKS}
+
+ Note that we consider a flick as a line-gesture that should be completed
+ in flick-time-limit as defined in L{Configuration}.
+
+ C{Elm_Gesture_Zoom_Info} is the info reported for C{ELM_GESTURE_ZOOM}
+ gesture.
+
+ C{Elm_Gesture_Rotate_Info} is the info reported for
+ C{ELM_GESTURE_ROTATE} gesture.
+
+ Gesture Layer Tweaks:
+
+ Note that line, flick, gestures can start without the need to remove
+ fingers from surface. When user fingers rests on same-spot gesture is
+ ended and starts again when fingers moved.
+
+ Setting glayer_continues_enable to false in L{Configuration} will change
+ this behavior so gesture starts when user touches (a *DOWN event)
+ touch-surface and ends when no fingers touches surface (a *UP event).
+
+ """
+
+ def __init__(self, evasObject parent):
+ """__init__(parent)
+
+ Call this function to construct a new gesture-layer object.
+
+ This does not activate the gesture layer. You have to call
+ L{attach()} in order to 'activate' gesture-layer.
+
+ @param parent: The gesture layer's parent widget.
+ @type parent: L{evas.c_evas.Object}
+
+ @return: A new gesture layer object.
+ @rtype: L{GestureLayer}
+
+ """
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_gesture_layer_add(parent.obj))
+
+ def cb_set(self, Elm_Gesture_Type idx, callback, Elm_Gesture_State cb_type, *args, **kwargs):
+ """cb_set(idx, callback, cb_type, *args, **kwargs)
+
+ Use this function to set callbacks to be notified about change of
+ state of gesture. When a user registers a callback with this function
+ this means this gesture has to be tested.
+
+ When ALL callbacks for a gesture are set to None it means user isn't
+ interested in gesture-state and it will not be tested.
+
+ @note: You should return either EVAS_EVENT_FLAG_NONE or
+ EVAS_EVENT_FLAG_ON_HOLD from this callback.
+
+ @param idx: The gesture you would like to track its state.
+ @type idx: Elm_Gesture_Type
+ @param callback: Callback function.
+ @type callback: function
+ @param cb_type: what event this callback tracks: START, MOVE, END, ABORT.
+ @type cb_type: Elm_Gesture_State
+
+ """
+ cdef Elm_Gesture_Event_Cb cb = NULL
+
+ if callback:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _gesture_layer_event_cb
+
+ data = (callback, args, kwargs)
+
+ elm_gesture_layer_cb_set( self.obj,
+ idx,
+ cb_type,
+ cb,
+ <void *>data)
+
+ property hold_events:
+ """Gesture-layer repeat events. Set to True if you like to get the
+ raw events only if gestures were not detected. Set to false if you
+ like gesture layer to forward events as testing gestures.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_gesture_layer_hold_events_get(self.obj))
+
+ def __set__(self, hold_events):
+ elm_gesture_layer_hold_events_set(self.obj, hold_events)
+
+ property zoom_step:
+ """Step-value for zoom action. Set step to any positive value.
+ Cancel step setting by setting to 0.0
+
+ @type: float
+
+ """
+ def __set__(self, step):
+ elm_gesture_layer_zoom_step_set(self.obj, step)
+
+ def __get__(self):
+ return elm_gesture_layer_zoom_step_get(self.obj)
+
+ property rotate_step:
+ """This function sets step-value for rotate action. Set step to any
+ positive value. Cancel step setting by setting to 0
+
+ @type: float
+
+ """
+ def __set__(self, step):
+ elm_gesture_layer_rotate_step_set(self.obj, step)
+
+ def __get__(self):
+ return elm_gesture_layer_rotate_step_get(self.obj)
+
+ def attach(self, evasObject target):
+ """attach(target)
+
+ Attach a given gesture layer widget to an Evas object, thus setting
+ the widget's B{target}.
+
+ A gesture layer target may be whichever Evas object one chooses.
+ This will be object C{obj} will listen all mouse and key events
+ from, to report the gestures made upon it back.
+
+ @param target: The target object to attach to this object.
+ @type target: L{evas.c_evas.Object}
+
+ @return: C{True}, on success, C{False} otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_gesture_layer_attach(self.obj, target.obj))
+
+_elm_widget_type_register("gesture_layer", GestureLayer)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryGestureLayer_Type # hack to install metaclass
+_install_metaclass(&PyElementaryGestureLayer_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_grid.pxi b/elementary/elementary.c_elementary_grid.pxi
new file mode 100644
index 0000000..62cdd55
--- /dev/null
+++ b/elementary/elementary.c_elementary_grid.pxi
@@ -0,0 +1,185 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Grid(Object) [object PyElementaryGrid, type PyElementaryGrid_Type]:
+
+ """A grid layout widget.
+
+ The grid is a grid layout widget that lays out a series of children as a
+ fixed "grid" of widgets using a given percentage of the grid width and
+ height each using the child object.
+
+ The Grid uses a "Virtual resolution" that is stretched to fill the grid
+ widgets size itself. The default is 100 x 100, so that means the
+ position and sizes of children will effectively be percentages (0 to 100)
+ of the width or height of the grid widget.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_grid_add(parent.obj))
+
+ def size_set(self, w, h):
+ """Set the virtual size of the grid.
+
+ @param w: The virtual width of the grid
+ @type w: Evas_Coord (int)
+ @param h: The virtual height of the grid
+ @type h: Evas_Coord (int)
+
+ """
+ elm_grid_size_set(self.obj, w, h)
+
+ def size_get(self):
+ """Get the virtual size of the grid.
+
+ @return: The virtual width and height of the grid
+ @rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef Evas_Coord w, h
+ elm_grid_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ property size:
+ """The virtual size (width and height) of the grid.
+
+ @type: tuple of Evas_Coords (int)
+
+ """
+ def __set__(self, value):
+ w, h = value
+ elm_grid_size_set(self.obj, w, h)
+
+ def __get__(self):
+ cdef Evas_Coord w, h
+ elm_grid_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ def pack(self, evasObject subobj, x, y, w, h):
+ """pack(subobj, x, y, w, h)
+
+ Pack child at given position and size
+
+ @param subobj: The child to pack
+ @type subobj: L{Object}
+ @param x: The virtual x coord at which to pack it
+ @type x: Evas_Coord (int)
+ @param y: The virtual y coord at which to pack it
+ @type y: Evas_Coord (int)
+ @param w: The virtual width at which to pack it
+ @type w: Evas_Coord (int)
+ @param h: The virtual height at which to pack it
+ @type h: Evas_Coord (int)
+
+ """
+ elm_grid_pack(self.obj, subobj.obj, x, y, w, h)
+
+ def unpack(self, evasObject subobj):
+ """unpack(subobj)
+
+ Unpack a child from a grid object
+
+ @param subobj: The child to unpack
+ @type subobj: L{Object}
+
+ """
+ elm_grid_unpack(self.obj, subobj.obj)
+
+ def clear(self, clear):
+ """clear(clear)
+
+ Faster way to remove all child objects from a grid object.
+
+ @param clear: If True, it will delete just removed children
+ @type clear: bool
+
+ """
+ elm_grid_clear(self.obj, clear)
+
+ def pack_set(self, evasObject subobj, x, y, w, h):
+ """pack_set(subobj, x, y, w, h)
+
+ Set packing of an existing child at to position and size
+
+ @param subobj: The child to set packing of
+ @type subobj: L{Object}
+ @param x: The virtual x coord at which to pack it
+ @type x: Evas_Coord (int)
+ @param y: The virtual y coord at which to pack it
+ @type y: Evas_Coord (int)
+ @param w: The virtual width at which to pack it
+ @type w: Evas_Coord (int)
+ @param h: The virtual height at which to pack it
+ @type h: Evas_Coord (int)
+
+ """
+ elm_grid_pack_set(subobj.obj, x, y, w, h)
+
+ def pack_get(self, evasObject subobj):
+ """pack_get(subobj)
+
+ Get packing of a child
+
+ @param subobj: The child to query
+ @type subobj: L{Object}
+
+ return: The position and size
+ rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef Evas_Coord x, y, w, h
+ elm_grid_pack_get(subobj.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ def children_get(self):
+ """Get the list of the children for the grid.
+
+ @return: The list of children
+ @rtype: tuple of L{Object}s
+
+ """
+ return _object_list_to_python(elm_box_children_get(self.obj))
+#~ cdef Evas_Object *o
+#~ cdef Object obj
+#~ cdef Eina_List *lst
+#~
+#~ ret = []
+#~ lst = elm_box_children_get(self.obj)
+#~ while lst:
+#~ o = <Evas_Object *> lst.data
+#~ obj = <Object>evas_object_data_get(o, "python-evas")
+#~ ret.append(obj)
+#~ lst = lst.next
+#~ return ret
+
+ property children:
+ """Get the list of the children for the grid.
+
+ @type: tuple of L{Object}s
+
+ """
+ def __get__(self):
+ return _object_list_to_python(elm_box_children_get(self.obj))
+
+_elm_widget_type_register("grid", Grid)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryGrid_Type # hack to install metaclass
+_install_metaclass(&PyElementaryGrid_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_hover.pxi b/elementary/elementary.c_elementary_hover.pxi
new file mode 100644
index 0000000..4d6c49b
--- /dev/null
+++ b/elementary/elementary.c_elementary_hover.pxi
@@ -0,0 +1,222 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Hover(LayoutClass) [object PyElementaryHover, type PyElementaryHover_Type]:
+
+ """A Hover object will hover over its C{parent} object at the C{target}
+ location.
+
+ Anything in the background will be given a darker coloring to indicate
+ that the hover object is on top (at the default theme). When the hover
+ is clicked it is dismissed(hidden), if the contents of the hover are
+ clicked that B{doesn't} cause the hover to be dismissed.
+
+ A Hover object has two parents. One parent that owns it during creation
+ and the other parent being the one over which the hover object spans.
+
+ Elementary has the following styles for the hover widget:
+ - default
+ - popout
+ - menu
+ - hoversel_vertical
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"clicked"} - the user clicked the empty space in the hover to
+ dismiss
+ - C{"smart,changed"} - a content object placed under the "smart"
+ policy was replaced to a new slot direction.
+
+ Default content parts of the hover widget that you can use for are:
+ - C{"left"}
+ - C{"top-left"}
+ - C{"top"}
+ - C{"top-right"}
+ - C{"right"}
+ - C{"bottom-right"}
+ - C{"bottom"}
+ - C{"bottom-left"}
+ - C{"middle"}
+ - C{"smart"}
+
+ All directions may have contents at the same time, except for "smart".
+ This is a special placement hint and its use case depends of the
+ calculations coming from L{best_content_location_get()}. Its use is for
+ cases when one desires only one hover content, but with a dynamic special
+ placement within the hover area. The content's geometry, whenever it
+ changes, will be used to decide on a best location, not extrapolating
+ the hover's parent object view to show it in (still being the hover's
+ target determinant of its medium part -- move and resize it to simulate
+ finger sizes, for example). If one of the directions other than "smart"
+ are used, a previously content set using it will be deleted, and
+ vice-versa.
+
+ @note: The hover object will take up the entire space of C{target}
+ object.
+
+ @note: The content parts listed indicate the direction that the content
+ will be displayed
+
+ """
+
+ def __init__(self, evasObject parent, obj = None):
+ if obj is None:
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_hover_add(parent.obj))
+ else:
+ self._set_obj(<Evas_Object*>obj)
+
+ def target_set(self, evasObject target):
+ """Sets the target object for the hover.
+
+ This function will cause the hover to be centered on the target object.
+
+ @param target: The object to center the hover onto.
+ @type target: L{Object}
+
+ """
+ elm_hover_target_set(self.obj, target.obj)
+
+ def target_get(self):
+ """Gets the target object for the hover.
+
+ @see: L{target_set()}
+
+ @return: The target object for the hover.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_hover_target_get(self.obj))
+
+ property target:
+ """The target object for the hover.
+
+ Setting this will cause the hover to be centered on the target object.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_hover_target_get(self.obj))
+ def __set__(self, evasObject target):
+ elm_hover_target_set(self.obj, target.obj)
+
+ def parent_set(self, evasObject parent):
+ """Sets the parent object for the hover.
+
+ This function will cause the hover to take up the entire space that the
+ parent object fills.
+
+ @param parent: The object to locate the hover over.
+ @type parent: L{Object}
+
+ """
+ elm_hover_parent_set(self.obj, parent.obj)
+
+ def parent_get(self):
+ """Gets the parent object for the hover.
+
+ @see: L{parent_set()}
+
+ @return: The parent object to locate the hover over.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_hover_parent_get(self.obj))
+
+ property parent:
+ """The parent object for the hover.
+
+ This will cause the hover to take up the entire space that the
+ parent object fills.
+
+ @type: L{Object}
+
+ """
+ def __set__(self, evasObject parent):
+ elm_hover_parent_set(self.obj, parent.obj)
+
+ def __get__(self):
+ return Object_from_instance(elm_hover_parent_get(self.obj))
+
+ def best_content_location_get(self, axis):
+ """best_content_location_get(axis)
+
+ Returns the best swallow location for content in the hover.
+
+ Best is defined here as the location at which there is the most
+ available space.
+
+ C{pref_axis} may be one of
+ - C{ELM_HOVER_AXIS_NONE} -- no preferred orientation
+ - C{ELM_HOVER_AXIS_HORIZONTAL} -- horizontal
+ - C{ELM_HOVER_AXIS_VERTICAL} -- vertical
+ - C{ELM_HOVER_AXIS_BOTH} -- both
+
+ If ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position will
+ necessarily be along the horizontal axis("left" or "right"). If
+ ELM_HOVER_AXIS_VERTICAL is chosen the returned position will
+ necessarily be along the vertical axis("top" or "bottom"). Choosing
+ ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and
+ the returned position may be in either axis.
+
+ @see: L{Object.part_content_set()}
+
+ @param axis: The preferred orientation axis for the hover
+ object to use
+ @type axis: Elm_Hover_Axis
+
+ @return: The edje location to place content into the hover or C{None},
+ on errors.
+ @rtype: string
+
+ """
+ return _ctouni(elm_hover_best_content_location_get(self.obj, axis))
+
+ def dismiss(self):
+ """dismiss()
+
+ Dismiss a hover object
+
+ Use this function to simulate clicking outside the hover to dismiss
+ it. In this way, the hover will be hidden and the "clicked" signal
+ will be emitted.
+
+ """
+ elm_hover_dismiss(self.obj)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the empty space in the hover to dismiss"""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_smart_changed_add(self, func, *args, **kwargs):
+ """a content object placed under the "smart" policy was replaced to a
+ new slot direction."""
+ self._callback_add("smart,changed", func, *args, **kwargs)
+
+ def callback_smart_changed_del(self, func):
+ self._callback_del("smart,changed", func)
+
+_elm_widget_type_register("hover", Hover)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryHover_Type # hack to install metaclass
+_install_metaclass(&PyElementaryHover_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_hoversel.pxi b/elementary/elementary.c_elementary_hoversel.pxi
new file mode 100644
index 0000000..25ccfb1
--- /dev/null
+++ b/elementary/elementary.c_elementary_hoversel.pxi
@@ -0,0 +1,336 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class HoverselItem(ObjectItem):
+
+ """An item for the L{Hoversel} widget."""
+
+ def __init__(self, evasObject hoversel, label, icon_file, icon_type,
+ callback, *args, **kargs):
+ cdef Evas_Smart_Cb cb = NULL
+
+ if callback:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+ item = elm_hoversel_item_add( hoversel.obj,
+ _cfruni(label) if label is not None else NULL,
+ _cfruni(icon_file) if icon_file is not None else NULL,
+ icon_type,
+ cb,
+ <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def icon_set(self, icon_file, icon_group, icon_type):
+ """This sets the icon for the given hoversel item.
+
+ The icon can be loaded from the standard set, from an image file, or
+ from an edje file.
+
+ @see: L{Hoversel.item_add()}
+
+ @param icon_file: An image file path on disk to use for the icon or
+ standard icon name
+ @type icon_file: string
+ @param icon_group: The edje group to use if C{icon_file} is an edje
+ file. Set this to None if the icon is not an edje file
+ @param icon_type: The icon type
+
+ """
+ elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type)
+
+ def icon_get(self):
+ """Get the icon object of the hoversel item
+
+ @see: L{icon_set()}
+ @see: L{Hoversel.item_add()}
+
+ @return: The image file path / Standard name, Icon group, Icon type
+ @rtype: (string, string, Elm_Icon_Type)
+
+ """
+ cdef const_char_ptr cicon_file, cicon_group
+ cdef Elm_Icon_Type cicon_type
+ elm_hoversel_item_icon_get(self.item, &cicon_file, &cicon_group, &cicon_type)
+ return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+
+ property icon:
+ """This sets the icon for the given hoversel item.
+
+ The icon can be loaded from the standard set, from an image file, or
+ from an edje file.
+
+ @see: L{Hoversel.item_add()}
+
+ @type: tuple(string file, string group, Elm_Icon_Type type)
+
+ """
+ def __set__(self, value):
+ icon_file, icon_group, icon_type = value
+ elm_hoversel_item_icon_set(self.item, _cfruni(icon_file), _cfruni(icon_group), icon_type)
+
+ def __get__(self):
+ cdef const_char_ptr cicon_file, cicon_group
+ cdef Elm_Icon_Type cicon_type
+ elm_hoversel_item_icon_get(self.item, &cicon_file, &cicon_group, &cicon_type)
+ return (_ctouni(cicon_file), _ctouni(cicon_group), cicon_type)
+
+cdef public class Hoversel(Button) [object PyElementaryHoversel, type PyElementaryHoversel_Type]:
+
+ """A hoversel is a button that pops up a list of items (automatically
+ choosing the direction to display) that have a label and, optionally, an
+ icon to select from.
+
+ It is a convenience widget to avoid the need to do all the piecing
+ together yourself. It is intended for a small number of items in the
+ hoversel menu (no more than 8), though is capable of many more.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Button}:
+ - C{"clicked"} - the user clicked the hoversel button and popped up
+ the sel
+ - C{"selected"} - an item in the hoversel list is selected. event_info
+ is the item
+ - C{"dismissed"} - the hover is dismissed
+
+ Default content parts of the hoversel widget that you can use for are:
+ - "icon" - An icon of the hoversel
+
+ Default text parts of the hoversel widget that you can use for are:
+ - "default" - Label of the hoversel
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_hoversel_add(parent.obj))
+
+ def horizontal_set(self, horizontal):
+ """This sets the hoversel to expand horizontally.
+
+ @note: The initial button will display horizontally regardless of this
+ setting.
+
+ @param horizontal: If True, the hover will expand horizontally to the
+ right.
+ @type horizontal: bool
+
+ """
+ elm_hoversel_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """This returns whether the hoversel is set to expand horizontally.
+
+ @see: L{horizontal_set()}
+
+ @return: If True, the hover will expand horizontally to the right.
+ @rtype: bool
+
+ """
+ return bool(elm_hoversel_horizontal_get(self.obj))
+
+ property horizontal:
+ """Whether the hoversel is set to expand horizontally.
+
+ @note: The initial button will display horizontally regardless of this
+ setting.
+
+ @type: bool
+
+ """
+ def __set__(self, horizontal):
+ elm_hoversel_horizontal_set(self.obj, horizontal)
+
+ def __get__(self):
+ return bool(elm_hoversel_horizontal_get(self.obj))
+
+ def hover_parent_set(self, evasObject parent):
+ """Set the Hover parent
+
+ Sets the hover parent object, the area that will be darkened when the
+ hoversel is clicked. Should probably be the window that the hoversel is
+ in. See L{Hover} objects for more information.
+
+ @param parent: The parent to use
+ @type parent: L{Object}
+
+ """
+ elm_hoversel_hover_parent_set(self.obj, parent.obj)
+
+ def hover_parent_get(self):
+ """Get the Hover parent
+
+ Gets the hover parent object.
+
+ @see: elm_hoversel_hover_parent_set()
+
+ @return: The used parent
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_hoversel_hover_parent_get(self.obj))
+
+ property hover_parent:
+ """The Hover parent.
+
+ The hover parent object, the area that will be darkened when the
+ hoversel is clicked. Should probably be the window that the hoversel
+ is in. See L{Hover} objects for more information.
+
+ @type: L{Object}
+
+ """
+ def __set__(self, evasObject parent):
+ elm_hoversel_hover_parent_set(self.obj, parent.obj)
+
+ def __get__(self):
+ return Object_from_instance(elm_hoversel_hover_parent_get(self.obj))
+
+ def hover_begin(self):
+ """hover_begin()
+
+ This triggers the hoversel popup from code, the same as if the user
+ had clicked the button.
+
+ """
+ elm_hoversel_hover_begin(self.obj)
+
+ def hover_end(self):
+ """hover_end()
+
+ This dismisses the hoversel popup as if the user had clicked outside
+ the hover.
+
+ """
+ elm_hoversel_hover_end(self.obj)
+
+ def expanded_get(self):
+ """Returns whether the hoversel is expanded.
+
+ @return: This will return True if the hoversel is expanded or
+ False if it is not expanded.
+ @rtype: bool
+
+ """
+ return bool(elm_hoversel_expanded_get(self.obj))
+
+ property expanded:
+ """Returns whether the hoversel is expanded.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_hoversel_expanded_get(self.obj))
+
+ def clear(self):
+ """clear()
+
+ This will remove all the children items from the hoversel.
+
+ @warning: Should B{not} be called while the hoversel is active; use
+ L{expanded_get()} to check first.
+
+ @see: L{ObjectItem.delete()}
+
+ """
+ elm_hoversel_clear(self.obj)
+
+ def items_get(self):
+ """Get the list of items within the given hoversel.
+
+ @see: L{item_add()}
+
+ @return: Returns a list of Elm_Object_Item*
+ @rtype: tuple of Elm_Object_Items
+
+ """
+ return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
+
+ property items:
+ """Get the list of items within the given hoversel.
+
+ @see: L{item_add()}
+
+ @type: tuple of Elm_Object_Items
+
+ """
+ def __get__(self):
+ return _object_item_list_to_python(elm_hoversel_items_get(self.obj))
+
+ def item_add(self, label = None, icon_file = None, icon_type = ELM_ICON_NONE, callback = None, *args, **kwargs):
+ """item_add(label, icon_file=None, icon_type=ELM_ICON_NONE, callback=None, *args, **kwargs)
+
+ Add an item to the hoversel button
+
+ This adds an item to the hoversel to show when it is clicked. Note:
+ if you need to use an icon from an edje file then use
+ L{HoverselItem.icon_set()} right after this function, and set
+ icon_file to None here.
+
+ For more information on what C{icon_file} and C{icon_type} are, see the
+ L{Icon} "icon documentation".
+
+ @param label: The text label to use for the item (None if not desired)
+ @type label: string
+ @param icon_file: An image file path on disk to use for the icon or
+ standard icon name (None if not desired)
+ @type icon_file: string
+ @param icon_type: The icon type if relevant
+ @type icon_type: string
+ @param callback: Convenience function to call when this item is selected
+ @type callback: function
+
+ @return: The item added.
+ @rtype: Elm_Object_Item
+
+ """
+ return HoverselItem(self, label, icon_file, icon_type, callback, *args, **kwargs)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The user clicked the hoversel button and popped up the sel."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """An item in the hoversel list is selected. event_info is the item."""
+ self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del_full("selected", _cb_object_item_conv, func)
+
+ def callback_dismissed_add(self, func, *args, **kwargs):
+ """The hover is dismissed."""
+ self._callback_add("dismissed", func, *args, **kwargs)
+
+ def callback_dismissed_del(self, func):
+ self._callback_del("dismissed", func)
+
+_elm_widget_type_register("hoversel", Hoversel)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryHoversel_Type # hack to install metaclass
+_install_metaclass(&PyElementaryHoversel_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_icon.pxi b/elementary/elementary.c_elementary_icon.pxi
new file mode 100644
index 0000000..268d5d0
--- /dev/null
+++ b/elementary/elementary.c_elementary_icon.pxi
@@ -0,0 +1,259 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Icon(Image) [object PyElementaryIcon, type PyElementaryIcon_Type]:
+
+ """An icon object is used to display standard icon images ("delete",
+ "edit", "arrows", etc.) or images coming from a custom file (PNG, JPG,
+ EDJE, etc.), on icon contexts.
+
+ The icon image requested can be in the Elementary theme in use, or in
+ the C{freedesktop.org} theme paths. It's possible to set the order of
+ preference from where an image will be fetched.
+
+ This widget inherits from the L{Image} one, so that all the functions
+ acting on it also work for icon objects.
+
+ You should be using an icon, instead of an image, whenever one of the
+ following apply:
+ - you need a B{thumbnail} version of an original image
+ - you need freedesktop.org provided icon images
+ - you need theme provided icon images (Edje groups)
+
+ Default images provided by Elementary's default theme are described below.
+
+ These are names for icons that were first intended to be used in
+ toolbars, but can be used in many other places too:
+ - C{"home"}
+ - C{"close"}
+ - C{"apps"}
+ - C{"arrow_up"}
+ - C{"arrow_down"}
+ - C{"arrow_left"}
+ - C{"arrow_right"}
+ - C{"chat"}
+ - C{"clock"}
+ - C{"delete"}
+ - C{"edit"}
+ - C{"refresh"}
+ - C{"folder"}
+ - C{"file"}
+
+ These are names for icons that were designed to be used in menus
+ (but again, you can use them anywhere else):
+ - C{"menu/home"}
+ - C{"menu/close"}
+ - C{"menu/apps"}
+ - C{"menu/arrow_up"}
+ - C{"menu/arrow_down"}
+ - C{"menu/arrow_left"}
+ - C{"menu/arrow_right"}
+ - C{"menu/chat"}
+ - C{"menu/clock"}
+ - C{"menu/delete"}
+ - C{"menu/edit"}
+ - C{"menu/refresh"}
+ - C{"menu/folder"}
+ - C{"menu/file"}
+
+ And these are names for some media player specific icons:
+ - C{"media_player/forward"}
+ - C{"media_player/info"}
+ - C{"media_player/next"}
+ - C{"media_player/pause"}
+ - C{"media_player/play"}
+ - C{"media_player/prev"}
+ - C{"media_player/rewind"}
+ - C{"media_player/stop"}
+
+ This widget emits the following signals, besides the ones sent from
+ L{Image}:
+ - C{"thumb,done"} - L{thumb_set()} has completed with success
+ - C{"thumb,error"} - L{thumb_set()} has failed
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_icon_add(parent.obj))
+
+ def thumb_set(self, filename, group = None):
+ """Set the file that will be used, but use a generated thumbnail.
+
+ This functions like L{Image.file_set()} but requires the Ethumb library
+ support to be enabled successfully with elm_need_ethumb(). When set
+ the file indicated has a thumbnail generated and cached on disk for
+ future use or will directly use an existing cached thumbnail if it
+ is valid.
+
+ @see: L{Image.file_set()}
+
+ @param file: The path to file that will be used as icon image
+ @type file: string
+ @param group: The group that the icon belongs to an edje file
+ @type group: string
+
+ """
+ if group == None:
+ elm_icon_thumb_set(self.obj, _cfruni(filename), NULL)
+ else:
+ elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ property thumb:
+ """Set the file (and edje group) that will be used, but use a
+ generated thumbnail.
+
+ This functions like L{Image.file_set()} but requires the Ethumb
+ library support to be enabled successfully with elm_need_ethumb().
+ When set the file indicated has a thumbnail generated and cached on
+ disk for future use or will directly use an existing cached
+ thumbnail if it is valid.
+
+ @see: L{Image.file}
+
+ @type: string C{file} or tuple(string C{file}, string C{group})
+
+ """
+ def __set__(self, value):
+ if isinstance(value, tuple):
+ filename, group = value
+ else:
+ filename = value
+ group = None
+ # TODO: check return value
+ elm_icon_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ def standard_set(self, name):
+ """Set the icon by icon standards names.
+
+ For example, freedesktop.org defines standard icon names such as "home",
+ "network", etc. There can be different icon sets to match those icon
+ keys. The C{name} given as parameter is one of these "keys", and will be
+ used to look in the freedesktop.org paths and elementary theme. One can
+ change the lookup order with L{order_lookup_set()}.
+
+ If name is not found in any of the expected locations and it is the
+ absolute path of an image file, this image will be used.
+
+ @note: The icon image set by this function can be changed by
+ L{Image.file_set()}.
+
+ @see: L{standard_get()}
+ @see: L{Image.file_set()}
+
+ @param name: The icon name
+ @type name: string
+ @return: (C{True} = success, C{False} = error)
+ @rtype: bool
+
+ """
+ return bool(elm_icon_standard_set(self.obj, _cfruni(name)))
+
+ def standard_get(self):
+ """Get the icon name set by icon standard names.
+
+ If the icon image was set using L{Image.file_set()} instead of
+ L{standard_set()}, then this function will return C{None}.
+
+ @see: L{standard_set()}
+
+ @return: The icon name
+ @rtype: string
+
+ """
+ return _ctouni(elm_icon_standard_get(self.obj))
+
+ property standard:
+ """The icon standards name.
+
+ For example, freedesktop.org defines standard icon names such as "home",
+ "network", etc. There can be different icon sets to match those icon
+ keys. The C{name} given as parameter is one of these "keys", and will be
+ used to look in the freedesktop.org paths and elementary theme. One can
+ change the lookup order with L{order_lookup_set()}.
+
+ If name is not found in any of the expected locations and it is the
+ absolute path of an image file, this image will be used.
+
+ @note: The icon image set can be changed by L{Image.file}.
+
+ @see: L{Image.file}
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_icon_standard_get(self.obj))
+ def __set__(self, name):
+ # TODO: check return value
+ elm_icon_standard_set(self.obj, _cfruni(name))
+
+ def order_lookup_set(self, order):
+ """Sets the icon lookup order used by L{standard_set()}.
+
+ @see: L{order_lookup_get()}
+
+ @param order: The icon lookup order (can be one of
+ ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
+ or ELM_ICON_LOOKUP_THEME)
+ @type order: Elm_Icon_Lookup_Order
+
+ """
+ elm_icon_order_lookup_set(self.obj, order)
+
+ def order_lookup_get(self):
+ """Gets the icon lookup order.
+
+ @see: L{order_lookup_set()}
+
+ @return: The icon lookup order
+ @rtype: Elm_Icon_Lookup_Order
+
+ """
+ return elm_icon_order_lookup_get(self.obj)
+
+ property order_lookup:
+ """The icon lookup order used by L{standard_set()}.
+
+ @type: Elm_Icon_Lookup_Order
+
+ """
+ def __get__(self):
+ return elm_icon_order_lookup_get(self.obj)
+ def __set__(self, order):
+ elm_icon_order_lookup_set(self.obj, order)
+
+ def callback_thumb_done_add(self, func, *args, **kwargs):
+ """L{thumb_set()} has completed with success."""
+ self._callback_add("thumb,done", func, *args, **kwargs)
+
+ def callback_thumb_done_del(self, func):
+ self._callback_del("thumb,done", func)
+
+ def callback_thumb_error_add(self, func, *args, **kwargs):
+ """L{thumb_set()} has failed."""
+ self._callback_add("thumb,error", func, *args, **kwargs)
+
+ def callback_thumb_error_del(self, func):
+ self._callback_del("thumb,error", func)
+
+_elm_widget_type_register("icon", Icon)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryIcon_Type # hack to install metaclass
+_install_metaclass(&PyElementaryIcon_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_image.pxi b/elementary/elementary.c_elementary_image.pxi
new file mode 100644
index 0000000..87f92fb
--- /dev/null
+++ b/elementary/elementary.c_elementary_image.pxi
@@ -0,0 +1,741 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Image(Object) [object PyElementaryImage, type PyElementaryImage_Type]:
+
+ """An Elementary image object allows one to load and display an image
+ file on it, be it from a disk file or from a memory region.
+
+ Exceptionally, one may also load an Edje group as the contents of the
+ image. In this case, though, most of the functions of the image API will
+ act as a no-op.
+
+ One can tune various properties of the image, like:
+ - pre-scaling,
+ - smooth scaling,
+ - orientation,
+ - aspect ratio during resizes, etc.
+
+ An image object may also be made valid source and destination for drag
+ and drop actions, through the L{editable_set()} call.
+
+ Signals that you can add callbacks for are:
+
+ - C{"drop"} - This is called when a user has dropped an image
+ typed object onto the object in question -- the
+ event info argument is the path to that image file
+ - C{"clicked"} - This is called when a user has clicked the image
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_image_add(parent.obj))
+
+ #def memfile_set(self, img, size, format, key):
+ #return bool(elm_image_memfile_set(self.obj, img, size, _cfruni(format), _cfruni(key)))
+
+ def file_set(self, filename, group = None):
+ """Set the file that will be used as the image's source.
+
+ @see: L{file_get()}
+
+ @note: This function will trigger the Edje file case based on the
+ extension of the C{file} string (expects C{".edj"}, for this
+ case). If one wants to force this type of file independently of
+ the extension, L{file_edje_set()} must be used, instead.
+
+ @param file: The path to file that will be used as image source
+ @type file: string
+ @param group: The group that the image belongs to, in case it's an
+ EET (including Edje case) file
+ @type group: string
+ @return: (C{True} = success, C{False} = error)
+ @rtype: bool
+
+ """
+ if group == None:
+ elm_image_file_set(self.obj, _cfruni(filename), NULL)
+ else:
+ elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ def file_get(self):
+ """Get the file that will be used as image.
+
+ @see: L{file_set()}
+
+ @return: File path and group
+ @rtype: tuple of strings
+
+ """
+ cdef const_char_ptr filename, group
+ elm_image_file_get(self.obj, &filename, &group)
+ return (_ctouni(filename), _ctouni(group))
+
+ property file:
+ """The file (and edje group) that will be used as the image's source.
+
+ @note: Setting this will trigger the Edje file case based on the
+ extension of the C{file} string (expects C{".edj"}, for this
+ case). If one wants to force this type of file independently of
+ the extension, L{file_edje_set()} must be used, instead.
+
+ @type: string or tuple of strings
+
+ """
+ def __set__(self, value):
+ if isinstance(value, tuple):
+ filename, group = value
+ else:
+ filename = value
+ group = None
+ # TODO: check return value
+ elm_image_file_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ def __get__(self):
+ cdef const_char_ptr filename, group
+ elm_image_file_get(self.obj, &filename, &group)
+ return (_ctouni(filename), _ctouni(group))
+
+ def smooth_set(self, smooth):
+ """Set the smooth effect for an image.
+
+ Set the scaling algorithm to be used when scaling the image. Smooth
+ scaling provides a better resulting image, but is slower.
+
+ The smooth scaling should be disabled when making animations that change
+ the image size, since it will be faster. Animations that don't require
+ resizing of the image can keep the smooth scaling enabled (even if the
+ image is already scaled, since the scaled image will be cached).
+
+ @see: L{smooth_get()}
+
+ @param smooth: C{True} if smooth scaling should be used, C{False}
+ otherwise. Default is C{True}.
+ @type smooth: bool
+
+ """
+ elm_image_smooth_set(self.obj, smooth)
+
+ def smooth_get(self):
+ """Get the smooth effect for an image.
+
+ @see: L{smooth_get()}
+
+ @return: C{True} if smooth scaling is enabled, C{False} otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_image_smooth_get(self.obj))
+
+ property smooth:
+ """The smooth effect for an image.
+
+ The scaling algorithm to be used when scaling the image. Smooth
+ scaling provides a better resulting image, but is slower.
+
+ The smooth scaling should be disabled when making animations that change
+ the image size, since it will be faster. Animations that don't require
+ resizing of the image can keep the smooth scaling enabled (even if the
+ image is already scaled, since the scaled image will be cached).
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_smooth_get(self.obj))
+
+ def __set__(self, smooth):
+ elm_image_smooth_set(self.obj, smooth)
+
+ def object_size_get(self):
+ """Gets the current size of the image.
+
+ This is the real size of the image, not the size of the object.
+
+ @return: Width and height of the image
+ @rtype: tuple of ints
+
+ """
+ cdef int width, height
+ elm_image_object_size_get(self.obj, &width, &height)
+ return (width, height)
+
+ property object_size:
+ """The current size of the image.
+
+ This is the real size of the image, not the size of the object.
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int width, height
+ elm_image_object_size_get(self.obj, &width, &height)
+ return (width, height)
+
+ def no_scale_set(self, no_scale):
+ """Disable scaling of this object.
+
+ This function disables scaling of the elm_image widget through the
+ function L{Object.scale_set()}. However, this does not affect the widget
+ size/resize in any way. For that effect, take a look at
+ L{resizable_set()}.
+
+ @see: L{no_scale_get()}
+ @see: L{resizable_set()}
+ @see: L{Object.scale_set()}
+
+ @param no_scale: C{True} if the object is not scalable, C{False}
+ otherwise. Default is C{False}.
+ @type no_scale: bool
+
+ """
+ elm_image_no_scale_set(self.obj, no_scale)
+
+ def no_scale_get(self):
+ """Get whether scaling is disabled on the object.
+
+ @see: L{no_scale_set()}
+
+ @return: C{True} if scaling is disabled, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_image_no_scale_get(self.obj))
+
+ property no_scale:
+ """Whether to disable scaling of this object.
+
+ This disables scaling of the elm_image widget through the
+ function L{Object.scale_set()}. However, this does not affect the widget
+ size/resize in any way. For that effect, take a look at
+ L{resizable_set()}.
+
+ @see: L{resizable_set()}
+ @see: L{Object.scale_set()}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_no_scale_get(self.obj))
+ def __set__(self, no_scale):
+ elm_image_no_scale_set(self.obj, no_scale)
+
+ def resizable_set(self, size_up, size_down):
+ """Set if the object is (up/down) resizable.
+
+ This function limits the image resize ability. If C{size_up} is set to
+ C{False}, the object can't have its height or width resized to a value
+ higher than the original image size. Same is valid for C{size_down}.
+
+ @see: L{resizable_get()}
+
+ @param size_up: A bool to set if the object is resizable up. Default is
+ C{True}.
+ @type size_up: bool
+ @param size_down: A bool to set if the object is resizable down. Default
+ is C{True}.
+ @type size_down: bool
+
+ """
+ elm_image_resizable_set(self.obj, size_up, size_down)
+
+ def resizable_get(self):
+ """Get if the object is (up/down) resizable.
+
+ @return: The values of resizable up and down
+ @rtype: tuple of bools
+
+ """
+ cdef Eina_Bool size_up, size_down
+ elm_image_resizable_get(self.obj, &size_up, &size_down)
+ return (size_up, size_down)
+
+ property resizable:
+ """Whether the object is (up/down) resizable.
+
+ This limits the image resize ability. If set to C{False}, the
+ object can't have its height or width resized to a value higher than
+ the original image size. Same is valid for C{size_down}.
+
+ @type: (bool size_up, bool size_down)
+
+ """
+ def __get__(self):
+ cdef Eina_Bool size_up, size_down
+ elm_image_resizable_get(self.obj, &size_up, &size_down)
+ return (size_up, size_down)
+
+ def __set__(self, value):
+ size_up, size_down = value
+ elm_image_resizable_set(self.obj, size_up, size_down)
+
+ def fill_outside_set(self, fill_outside):
+ """Set if the image fills the entire object area, when keeping the aspect ratio.
+
+ When the image should keep its aspect ratio even if resized to another
+ aspect ratio, there are two possibilities to resize it: keep the entire
+ image inside the limits of height and width of the object (C{fill_outside}
+ is C{False}) or let the extra width or height go outside of the object,
+ and the image will fill the entire object (C{fill_outside} is C{True}).
+
+ @note: This option will have no effect if
+ L{aspect_fixed_set()} is set to C{False}.
+
+ @see: L{fill_outside_get()}
+ @see: L{aspect_fixed_set()}
+
+ @param fill_outside: C{True} if the object is filled outside,
+ C{False} otherwise. Default is C{False}.
+ @type fill_outside: bool
+
+ """
+ elm_image_fill_outside_set(self.obj, fill_outside)
+
+ def fill_outside_get(self):
+ """Get if the object is filled outside
+
+ @see: L{fill_outside_set()}
+
+ @return: C{True} if the object is filled outside, C{False} otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_image_fill_outside_get(self.obj))
+
+ property fill_outside:
+ """Whether the image fills the entire object area, when keeping the aspect ratio.
+
+ When the image should keep its aspect ratio even if resized to another
+ aspect ratio, there are two possibilities to resize it: keep the entire
+ image inside the limits of height and width of the object (C{fill_outside}
+ is C{False}) or let the extra width or height go outside of the object,
+ and the image will fill the entire object (C{fill_outside} is C{True}).
+
+ @note: This option will have no effect if
+ L{aspect_fixed} is set to C{False}.
+
+ @see: L{aspect_fixed}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_fill_outside_get(self.obj))
+
+ def __set__(self, fill_outside):
+ elm_image_fill_outside_set(self.obj, fill_outside)
+
+ def preload_disabled_set(self, disabled):
+ """Enable or disable preloading of the image
+
+ @param disabled: If True, preloading will be disabled
+ @type disabled: bool
+
+ """
+ elm_image_preload_disabled_set(self.obj, disabled)
+
+ property preload_disabled:
+ """Enable or disable preloading of the image
+
+ @type: bool
+
+ """
+ def __set__(self, disabled):
+ elm_image_preload_disabled_set(self.obj, disabled)
+
+ def prescale_set(self, size):
+ """Set the prescale size for the image
+
+ This function sets a new size for pixmap representation of the given
+ image. It allows the image to be loaded already in the specified size,
+ reducing the memory usage and load time when loading a big image with load
+ size set to a smaller size.
+
+ It's equivalent to the L{Background.load_size_set()} function for bg.
+
+ @note: this is just a hint, the real size of the pixmap may differ
+ depending on the type of image being loaded, being bigger than requested.
+
+ @see: L{prescale_get()}
+ @see: L{Background.load_size_set()}
+
+ @param size: The prescale size. This value is used for both width and
+ height.
+ @type size: int
+
+ """
+ elm_image_prescale_set(self.obj, size)
+
+ def prescale_get(self):
+ """Get the prescale size for the image
+
+ @see: L{prescale_set()}
+
+ @return: The prescale size
+ @rtype: int
+
+ """
+ return elm_image_prescale_get(self.obj)
+
+ property prescale:
+ """The prescale size for the image
+
+ This is the size for pixmap representation of the given
+ image. It allows the image to be loaded already in the specified size,
+ reducing the memory usage and load time when loading a big image with load
+ size set to a smaller size.
+
+ It's equivalent to the L{Background.load_size} property for bg.
+
+ @note: this is just a hint, the real size of the pixmap may differ
+ depending on the type of image being loaded, being bigger than requested.
+
+ @see: L{Background.load_size}
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_image_prescale_get(self.obj)
+ def __set__(self, size):
+ elm_image_prescale_set(self.obj, size)
+
+ def orient_set(self, orientation):
+ """Set the image orientation.
+
+ This function allows to rotate or flip the given image.
+
+ @see: L{orient_get()}
+
+ @param orient: The image orientation. Default is ELM_IMAGE_ORIENT_NONE.
+ @type orient: Elm_Image_Orient
+
+ """
+ elm_image_orient_set(self.obj, orientation)
+
+ def orient_get(self):
+ """Get the image orientation.
+
+ @see: L{orient_set()}
+
+ @return: The image orientation
+ @rtype: Elm_Image_Orient
+
+ """
+ return elm_image_orient_get(self.obj)
+
+ property orient:
+ """The image orientation.
+
+ Setting this allows to rotate or flip the given image.
+
+ @type: Elm_Image_Orient
+
+ """
+ def __get__(self):
+ return elm_image_orient_get(self.obj)
+ def __set__(self, orientation):
+ elm_image_orient_set(self.obj, orientation)
+
+ def editable_set(self, editable):
+ """Make the image 'editable'.
+
+ This means the image is a valid drag target for drag and drop, and can be
+ cut or pasted too.
+
+ @param set: Turn on or off editability. Default is C{False}.
+ @type set: bool
+
+ """
+ elm_image_editable_set(self.obj, editable)
+
+ def editable_get(self):
+ """Check if the image is 'editable'.
+
+ A return value of True means the image is a valid drag target
+ for drag and drop, and can be cut or pasted too.
+
+ @return: Editability.
+ @rtype: bool
+
+ """
+ return bool(elm_image_editable_get(self.obj))
+
+ property editable:
+ """Whether the image is 'editable'.
+
+ This means the image is a valid drag target for drag and drop, and can be
+ cut or pasted too. Default is C{False}.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_editable_get(self.obj))
+ def __set__(self, editable):
+ elm_image_editable_set(self.obj, editable)
+
+ def object_get(self):
+ """Get the inlined image object of the image widget.
+
+ This function allows one to get the underlying C{Evas_Object} of type
+ Image from this elementary widget. It can be useful to do things like get
+ the pixel data, save the image to a file, etc.
+
+ @note: Be careful to not manipulate it, as it is under control of
+ elementary.
+
+ @return: The inlined image object, or None if none exists
+ @rtype: evas.Image
+
+ """
+ return Object_from_instance(elm_image_object_get(self.obj))
+
+ property object:
+ """Get the inlined image object of the image widget.
+
+ This function allows one to get the underlying C{Evas_Object} of type
+ Image from this elementary widget. It can be useful to do things like get
+ the pixel data, save the image to a file, etc.
+
+ @note: Be careful to not manipulate it, as it is under control of
+ elementary.
+
+ @type: evas.Image
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_image_object_get(self.obj))
+
+ def aspect_fixed_set(self, fixed):
+ """Set whether the original aspect ratio of the image should be kept on resize.
+
+ The original aspect ratio (width / height) of the image is usually
+ distorted to match the object's size. Enabling this option will retain
+ this original aspect, and the way that the image is fit into the object's
+ area depends on the option set by L{fill_outside_set()}.
+
+ @see: L{aspect_fixed_get()}
+ @see: L{fill_outside_set()}
+
+ @param fixed: C{True} if the image should retain the aspect,
+ C{False} otherwise.
+ @type fixed: bool
+
+ """
+ elm_image_aspect_fixed_set(self.obj, fixed)
+
+ def aspect_fixed_get(self):
+ """Get if the object retains the original aspect ratio.
+
+ @return: C{True} if the object keeps the original aspect, C{False}
+ otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_image_aspect_fixed_get(self.obj))
+
+ property aspect_fixed:
+ """Whether the original aspect ratio of the image should be kept on resize.
+
+ The original aspect ratio (width / height) of the image is usually
+ distorted to match the object's size. Enabling this option will retain
+ this original aspect, and the way that the image is fit into the object's
+ area depends on the option set by L{fill_outside}.
+
+ @see: L{fill_outside}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_aspect_fixed_get(self.obj))
+ def __set__(self, fixed):
+ elm_image_aspect_fixed_set(self.obj, fixed)
+
+ def animated_available_get(self):
+ """Get whether an image object supports animation or not.
+
+ This function returns if this Elementary image object's internal
+ image can be animated. Currently Evas only supports GIF
+ animation. If the return value is B{False}, other
+ C{animated_xxx} API calls won't work.
+
+ @see: L{animated_set()}
+
+ @return: C{True} if the image supports animation,
+ C{False} otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_image_animated_available_get(self.obj))
+
+ property animated_available:
+ """Whether an image object supports animation or not.
+
+ This returns if this Elementary image object's internal
+ image can be animated. Currently Evas only supports GIF
+ animation. If the return value is B{False}, other
+ C{animated_xxx} API calls won't work.
+
+ @see: L{animated}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_animated_available_get(self.obj))
+
+ def animated_set(self, animated):
+ """Set whether an image object (which supports animation) is to
+ animate itself or not.
+
+ An image object, even if it supports animation, will be displayed
+ by default without animation. Call this function with C{animated}
+ set to C{True} to enable its animation. To start or stop the
+ animation, actually, use L{animated_play_set()}.
+
+ @see: L{animated_get()}
+ @see: L{animated_available_get()}
+ @see: L{animated_play_set()}
+
+ @param animated: C{True} if the object is to animate itself,
+ C{False} otherwise. Default is C{False}.
+ @type animated: bool
+
+ """
+ elm_image_animated_set(self.obj, animated)
+
+ def animated_get(self):
+ """Get whether an image object has animation enabled or not.
+
+ @see: L{animated_set()}
+
+ @return: C{True} if the image has animation enabled,
+ C{False} otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_image_animated_get(self.obj))
+
+ property animated:
+ """Whether an image object (which supports animation) is to
+ animate itself or not.
+
+ An image object, even if it supports animation, will be displayed
+ by default without animation. Set this to C{True} to enable its
+ animation. To start or stop the
+ animation, actually, use L{animated_play}.
+
+ @see: L{animated_available}
+ @see: L{animated_play}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_animated_get(self.obj))
+ def __set__(self, animated):
+ elm_image_animated_set(self.obj, animated)
+
+ def animated_play_set(self, play):
+ """Start or stop an image object's animation.
+
+ To actually start playing any image object's animation, if it
+ supports it, one must do something like::
+
+ if img.animated_available_get():
+ img.animated_set(True)
+ img.animated_play_set(True)
+
+ L{animated_set()} will enable animation on the image, B{but
+ not start it yet}. This is the function one uses to start and
+ stop animations on image objects.
+
+ @see: L{animated_available_get()}
+ @see: L{animated_set()}
+ @see: L{animated_play_get()}
+
+ @param play: C{True} to start the animation, C{False}
+ otherwise. Default is C{False}.
+ @type play: bool
+
+ """
+ elm_image_animated_play_set(self.obj, play)
+
+ def animated_play_get(self):
+ """Get whether an image object is under animation or not.
+
+ @see: L{animated_play_set()}
+
+ @return: C{True}, if the image is being animated, C{False}
+ otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_image_animated_play_get(self.obj))
+
+ property animated_play:
+ """Start or stop an image object's animation.
+
+ To actually start playing any image object's animation, if it
+ supports it, one must do something like::
+
+ if img.animated_available:
+ img.animated = True
+ img.animated_play = True
+
+ L{animated} will enable animation on the image, B{but not start it yet}.
+ This is the property one uses to start and stop animation on
+ an image object or get whether it is animating or not.
+
+ @see: L{animated_available}
+ @see: L{animated}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_image_animated_play_get(self.obj))
+ def __set__(self, play):
+ elm_image_animated_play_set(self.obj, play)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """This is called when a user has clicked the image."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_drop_add(self, func, *args, **kwargs):
+ """This is called when a user has dropped an image typed object onto
+ the object in question -- the event info argument is the path to that
+ image file."""
+ self._callback_add_full("drop", _cb_string_conv, func, *args, **kwargs)
+
+ def callback_drop_del(self, func):
+ self._callback_del_full("drop", _cb_string_conv, func)
+
+_elm_widget_type_register("image", Image)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryImage_Type # hack to install metaclass
+_install_metaclass(&PyElementaryImage_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_index.pxi b/elementary/elementary.c_elementary_index.pxi
new file mode 100644
index 0000000..3642b4f
--- /dev/null
+++ b/elementary/elementary.c_elementary_index.pxi
@@ -0,0 +1,556 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef enum Elm_Index_Item_Insert_Kind:
+ ELM_INDEX_ITEM_INSERT_APPEND
+ ELM_INDEX_ITEM_INSERT_PREPEND
+ ELM_INDEX_ITEM_INSERT_BEFORE
+ ELM_INDEX_ITEM_INSERT_AFTER
+ ELM_INDEX_ITEM_INSERT_SORTED
+
+cdef class IndexItem(ObjectItem):
+ def __init__(self, kind, evasObject index, letter, IndexItem before_after = None,
+ callback = None, *args, **kargs):
+ cdef Evas_Smart_Cb cb = NULL
+
+ if callback is not None:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+
+ if kind == ELM_INDEX_ITEM_INSERT_APPEND:
+ item = elm_index_item_append(index.obj, _cfruni(letter), cb, <void*>self)
+ elif kind == ELM_INDEX_ITEM_INSERT_PREPEND:
+ item = elm_index_item_prepend(index.obj, _cfruni(letter), cb, <void*>self)
+ #elif kind == ELM_INDEX_ITEM_INSERT_SORTED:
+ #item = elm_index_item_sorted_insert(index.obj, _cfruni(letter), cb, <void*>self, cmp_f, cmp_data_f)
+ else:
+ if before_after == None:
+ raise ValueError("need a valid after object to add an item before/after another item")
+ if kind == ELM_INDEX_ITEM_INSERT_BEFORE:
+ item = elm_index_item_insert_before(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+ else:
+ item = elm_index_item_insert_after(index.obj, before_after.item, _cfruni(letter), cb, <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def selected_set(self, selected):
+ """Set the selected state of an item.
+
+ This sets the selected state of the given item.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+ Previously selected item can be get with function
+ L{Index.selected_item_get()}.
+
+ Selected items will be highlighted.
+
+ @see: L{Index.selected_item_get()}
+
+ @param selected: The selected state
+ @type selected: bool
+
+ """
+ elm_index_item_selected_set(self.item, selected)
+
+ property selected:
+ """Set the selected state of an item.
+
+ This sets the selected state of the given item.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+ Previously selected item can be get with function
+ L{Index.selected_item_get()}.
+
+ Selected items will be highlighted.
+
+ @see: L{Index.selected_item_get()}
+
+ @type: bool
+
+ """
+ def __set__(self, selected):
+ elm_index_item_selected_set(self.item, selected)
+
+ def letter_get(self):
+ """Get the letter (string) set on a given index widget item.
+
+ @return: The letter string set on the item
+ @rtype: string
+
+ """
+ return _ctouni(elm_index_item_letter_get(self.item))
+
+ property letter:
+ """Get the letter (string) set on a given index widget item.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_index_item_letter_get(self.item))
+
+cdef Elm_Object_Item *_elm_index_item_from_python(IndexItem item):
+ if item is None:
+ return NULL
+ else:
+ return item.item
+
+cdef public class Index(LayoutClass) [object PyElementaryIndex, type PyElementaryIndex_Type]:
+
+ """An index widget gives you an index for fast access to whichever
+ group of other UI items one might have.
+
+ It's a list of text items (usually letters, for alphabetically ordered
+ access).
+
+ Index widgets are by default hidden and just appear when the
+ user clicks over it's reserved area in the canvas. In its
+ default theme, it's an area one C{finger} wide on
+ the right side of the index widget's container.
+
+ When items on the index are selected, smart callbacks get
+ called, so that its user can make other container objects to
+ show a given area or child object depending on the index item
+ selected. You'd probably be using an index together with L{List}s,
+ L{Genlist}s or L{Gengrid}s.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - When the selected index item changes. C{event_info}
+ is the selected item's data pointer.
+ - C{"delay,changed"} - When the selected index item changes, but
+ after a small idling period. C{event_info} is the selected
+ item's data pointer.
+ - C{"selected"} - When the user releases a mouse button and
+ selects an item. C{event_info} is the selected item's data
+ pointer.
+ - C{"level,up"} - when the user moves a finger from the first
+ level to the second level
+ - C{"level,down"} - when the user moves a finger from the second
+ level to the first level
+
+ The C{"delay,changed"} event is so that it'll wait a small time
+ before actually reporting those events and, moreover, just the
+ last event happening on those time frames will actually be
+ reported.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_index_add(parent.obj))
+
+ def autohide_disabled_set(self, disabled):
+ """Enable or disable auto hiding feature for a given index widget.
+
+ @see: L{autohide_disabled_get()}
+
+ @param disabled: C{True} to disable auto hiding, C{False} to enable
+ @type disabled: bool
+
+ """
+ elm_index_autohide_disabled_set(self.obj, disabled)
+
+ def autohide_disabled_get(self):
+ """Get whether auto hiding feature is enabled or not for a given index widget.
+
+ @see: L{autohide_disabled_set()} for more details
+
+ @return: C{True}, if auto hiding is disabled, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_index_autohide_disabled_get(self.obj))
+
+ property autohide_disabled:
+ """Enable or disable auto hiding feature for a given index widget.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_index_autohide_disabled_get(self.obj))
+
+ def __set__(self, disabled):
+ elm_index_autohide_disabled_set(self.obj, disabled)
+
+ def item_level_set(self, level):
+ """Set the items level for a given index widget.
+
+ @see: L{item_level_get()}
+
+ @param level: C{0} or C{1}, the currently implemented levels.
+ @type level: int
+
+ """
+ elm_index_item_level_set(self.obj, level)
+
+ def item_level_get(self):
+ """Get the items level set for a given index widget.
+
+ @see: L{item_level_set()} for more information
+
+ @return: C{0} or C{1}, which are the levels the object might be at.
+ @rtype: int
+
+ """
+ return elm_index_item_level_get(self.obj)
+
+ property item_level:
+ """The items level for a given index widget.
+
+ C{0} or C{1}, the currently implemented levels.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_index_item_level_get(self.obj)
+ def __set__(self, level):
+ elm_index_item_level_set(self.obj, level)
+
+ def selected_item_get(self, level):
+ """selected_item_get(level)
+
+ Returns the last selected item, for a given index widget.
+
+ @param level: C{0} or C{1}, the currently implemented levels.
+ @type level: int
+
+ @return: The last item B{selected} (or C{None}, on errors).
+ @rtype: L{IndexItem}
+
+ """
+ return _object_item_to_python(elm_index_selected_item_get(self.obj, level))
+
+ def item_append(self, letter, callback = None, *args, **kargs):
+ """item_append(letter, callback, *args, **kargs)
+
+ Append a new item on a given index widget.
+
+ Despite the most common usage of the C{letter} argument is for
+ single char strings, one could use arbitrary strings as index
+ entries.
+
+ C{item} will be the item returned back on C{"changed"},
+ C{"delay,changed"} and C{"selected"} smart events.
+
+ @param letter: Letter under which the item should be indexed
+ @type letter: string
+ @param callback: The function to call when the item is selected.
+ @type callback: function
+
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{IndexItem}
+
+ """
+ return IndexItem(ELM_INDEX_ITEM_INSERT_APPEND, self, letter,
+ None, callback, *args, **kargs)
+
+ def item_prepend(self, letter, callback = None, *args, **kargs):
+ """item_prepend(letter, callback=None, *args, **kargs)
+
+ Prepend a new item on a given index widget.
+
+ Despite the most common usage of the C{letter} argument is for
+ single char strings, one could use arbitrary strings as index
+ entries.
+
+ C{item} will be the item returned back on C{"changed"},
+ C{"delay,changed"} and C{"selected"} smart events.
+
+ @param letter: Letter under which the item should be indexed
+ @type letter: string
+ @param callback: The function to call when the item is selected.
+ @type callback: function
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{IndexItem}
+
+ """
+ return IndexItem(ELM_INDEX_ITEM_INSERT_PREPEND, self, letter,
+ None, callback, *args, **kargs)
+
+ def item_insert_after(self, IndexItem after, letter, callback = None, *args, **kargs):
+ """item_insert_after(after, letter, callback=None, *args, **kargs)
+
+ Insert a new item into the index object after item C{after}.
+
+ Despite the most common usage of the C{letter} argument is for
+ single char strings, one could use arbitrary strings as index
+ entries.
+
+ C{item} will be the pointer returned back on C{"changed"},
+ C{"delay,changed"} and C{"selected"} smart events.
+
+ @note: If C{relative} is C{None} this function will behave as
+ L{item_append()}.
+
+ @param after: The index item to insert after.
+ @type after: L{IndexItem}
+ @param letter: Letter under which the item should be indexed
+ @type letter: string
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{IndexItem}
+
+ """
+ return IndexItem(ELM_INDEX_ITEM_INSERT_AFTER, self, letter,
+ after, callback, *args, **kargs)
+
+ def item_insert_before(self, IndexItem before, letter, callback = None, *args, **kargs):
+ """item_insert_before(before, letter, callback=None, *args, **kargs)
+
+ Insert a new item into the index object before item C{before}.
+
+ Despite the most common usage of the C{letter} argument is for
+ single char strings, one could use arbitrary strings as index
+ entries.
+
+ C{item} will be the pointer returned back on C{"changed"},
+ C{"delay,changed"} and C{"selected"} smart events.
+
+ @note: If C{relative} is C{None} this function will behave as
+ L{item_prepend()}.
+
+ @param before: The index item to insert before.
+ @type before: L{IndexItem}
+ @param letter: Letter under which the item should be indexed
+ @type letter: string
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{IndexItem}
+
+ """
+ return IndexItem(ELM_INDEX_ITEM_INSERT_BEFORE, self, letter,
+ before, callback, *args, **kargs)
+
+ #def item_sorted_insert(self, letter, callback = None, *args, **kargs):
+ """item_sorted_insert(letter, cmp_func, cmp_data_func=None, callback=None, *args, **kargs)
+
+ Insert a new item into the given index widget, using C{cmp_func}
+ function to sort items (by item handles).
+
+ Despite the most common usage of the C{letter} argument is for
+ single char strings, one could use arbitrary strings as index
+ entries.
+
+ C{item} will be the pointer returned back on C{"changed"},
+ C{"delay,changed"} and C{"selected"} smart events.
+
+ @param letter: Letter under which the item should be indexed
+ @type letter: string
+ @param func: The function to call when the item is clicked.
+ @type func: function
+ @param cmp_func: The comparing function to be used to sort index
+ items B{by index item handles}
+ @type cmp_func: function
+ @param cmp_data_func: A B{fallback} function to be called for the
+ sorting of index items B{by item data}). It will be used
+ when C{cmp_func} returns C{0} (equality), which means an index
+ item with provided item data already exists. To decide which
+ data item should be pointed to by the index item in question,
+ C{cmp_data_func} will be used. If C{cmp_data_func} returns a
+ non-negative value, the previous index item data will be
+ replaced by the given C{item} pointer. If the previous data need
+ to be freed, it should be done by the C{cmp_data_func} function,
+ because all references to it will be lost. If this function is
+ not provided (C{None} is given), index items will be B{duplicated},
+ if C{cmp_func} returns C{0}.
+ @type cmp_data_func: function
+
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{IndexItem}
+
+ """
+ #return IndexItem(ELM_INDEX_ITEM_INSERT_SORTED, self, letter,
+ #None, callback, *args, **kargs)
+
+ def item_find(self, data):
+ """Find a given index widget's item, B{using item data}.
+
+ @param data: The item data pointed to by the desired index item
+ @return: The index item handle, if found, or C{None} otherwise
+ @rtype: L{IndexItem}
+
+ """
+ # XXX: This doesn't seem right.
+ # return _object_item_to_python(elm_index_item_find(self.obj, <void*>data))
+
+ def item_clear(self):
+ """item_clear()
+
+ Removes B{all} items from a given index widget.
+
+ If deletion callbacks are set, via L{delete_cb_set()},
+ that callback function will be called for each item.
+
+ """
+ elm_index_item_clear(self.obj)
+
+ def level_go(self, level):
+ """level_go(level)
+
+ Go to a given items level on a index widget
+
+ @param level: The index level (one of C{0} or C{1})
+ @type level: int
+
+ """
+ elm_index_level_go(self.obj, level)
+
+ def indicator_disabled_set(self, disabled):
+ """Set the indicator as to be disabled.
+
+ In Index widget, Indicator notes popup text, which shows a letter has been selecting.
+
+ @see: L{indicator_disabled_get()}
+
+ @param disabled: C{True} to disable it, C{False} to enable it
+ @type disabled: bool
+
+ """
+ elm_index_indicator_disabled_set(self.obj, disabled)
+
+ def indicator_disabled_get(self):
+ """Get the value of indicator's disabled status.
+
+ @see: L{indicator_disabled_set()}
+
+ @return: True if the indicator is disabled.
+ @rtype: bool
+
+ """
+ return bool(elm_index_indicator_disabled_get(self.obj))
+
+ property indicator_disabled:
+ """Whether the indicator is disabled or not.
+
+ In Index widget, Indicator notes popup text, which shows a letter has been selecting.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_index_indicator_disabled_get(self.obj))
+ def __set__(self, disabled):
+ elm_index_indicator_disabled_set(self.obj, disabled)
+
+ def horizontal_set(self, horizontal):
+ """Enable or disable horizontal mode on the index object
+
+ On horizontal mode items are displayed on index from left to right,
+ instead of from top to bottom. Also, the index will scroll horizontally.
+
+ @see: L{horizontal_get()}
+
+ @note: Vertical mode is set by default.
+
+ @param horizontal: C{True} to enable horizontal or C{False} to
+ disable it, i.e., to enable vertical mode. it's an area one
+ C{"finger"} wide on the bottom side of the index widget's
+ container.
+ @type horizontal: bool
+
+ """
+ elm_index_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """Get a value whether horizontal mode is enabled or not.
+
+ @see: L{horizontal_set()} for details.
+
+ @return: C{True} means horizontal mode selection is enabled.
+ C{False} indicates it's disabled.
+ @rtype: bool
+
+ """
+ return bool(elm_index_horizontal_get(self.obj))
+
+ property horizontal:
+ """Enable or disable horizontal mode on the index object
+
+ In horizontal mode items are displayed on index from left to right,
+ instead of from top to bottom. Also, the index will scroll
+ horizontally. It's an area one C{finger} wide on the bottom side of
+ the index widget's container.
+
+ @note: Vertical mode is set by default.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_index_horizontal_get(self.obj))
+ def __set__(self, horizontal):
+ elm_index_horizontal_set(self.obj, horizontal)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """When the selected index item changes. C{event_info} is the selected
+ item's data."""
+ self._callback_add_full("changed", _cb_object_item_conv, func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del_full("changed", _cb_object_item_conv, func)
+
+ def callback_delay_changed_add(self, func, *args, **kwargs):
+ """When the selected index item changes, but after a small idling
+ period. C{event_info} is the selected item's data."""
+ self._callback_add_full("delay,changed", _cb_object_item_conv, func, *args, **kwargs)
+
+ def callback_delay_changed_del(self, func):
+ self._callback_del_full("delay,changed", _cb_object_item_conv, func)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """When the user releases a mouse button and selects an item.
+ C{event_info} is the selected item's data ."""
+ self._callback_add_full("selected", _cb_object_item_conv, func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del_full("selected", _cb_object_item_conv, func)
+
+ def callback_level_up_add(self, func, *args, **kwargs):
+ """When the user moves a finger from the first level to the second
+ level."""
+ self._callback_add("level,up", func, *args, **kwargs)
+
+ def callback_level_up_del(self, func):
+ self._callback_del("level,up", func)
+
+ def callback_level_down_add(self, func, *args, **kwargs):
+ """When the user moves a finger from the second level to the first
+ level."""
+ self._callback_add("level,down", func, *args, **kwargs)
+
+ def callback_level_down_del(self, func):
+ self._callback_del("level,down", func)
+
+_elm_widget_type_register("index", Index)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryIndex_Type # hack to install metaclass
+_install_metaclass(&PyElementaryIndex_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_innerwindow.pxi b/elementary/elementary.c_elementary_innerwindow.pxi
new file mode 100644
index 0000000..5929ab1
--- /dev/null
+++ b/elementary/elementary.c_elementary_innerwindow.pxi
@@ -0,0 +1,133 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class InnerWindow(LayoutClass) [object PyElementaryInnerWindow, type PyElementaryInnerWindow_Type]:
+
+ """An inwin is a window inside a window that is useful for a quick popup.
+ It does not hover.
+
+ It works by creating an object that will occupy the entire window, so it
+ must be created using an L{Window} as parent only. The inwin
+ object can be hidden or restacked below every other object if it's
+ needed to show what's behind it without destroying it. If this is done,
+ the L{activate()} function can be used to bring it back to
+ full visibility again.
+
+ There are three styles available in the default theme. These are:
+ - default: The inwin is sized to take over most of the window it's
+ placed in.
+ - minimal: The size of the inwin will be the minimum necessary to show
+ its contents.
+ - minimal_vertical: Horizontally, the inwin takes as much space as
+ possible, but it's sized vertically the most it needs to fit its
+ contents.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_win_inwin_add(parent.obj))
+
+ def activate(self):
+ """Activates an inwin object, ensuring its visibility
+
+ This function will make sure that the inwin is completely visible
+ by calling L{show()} and L{_raise()} on it, to bring it
+ to the front. It also sets the keyboard focus to it, which will be passed
+ onto its content.
+
+ The object's theme will also receive the signal "elm,action,show" with
+ source "elm".
+
+ """
+ elm_win_inwin_activate(self.obj)
+
+ def content_set(self, evasObject content):
+ """Set the content of an inwin object.
+
+ Once the content object is set, a previously set one will be deleted.
+ If you want to keep that old content object, use the
+ L{content_unset()} function.
+
+ @param content: The object to set as content
+ @type content: L{Object}
+
+ """
+ cdef Evas_Object *o
+ if content is not None:
+ o = content.obj
+ else:
+ o = NULL
+ elm_win_inwin_content_set(self.obj, o)
+
+ def content_get(self):
+ """Get the content of an inwin object.
+
+ Return the content object for this widget.
+
+ The returned object is valid as long as the inwin is still alive and no
+ other content is set on it. Deleting the object will notify the inwin
+ about it and this one will be left empty.
+
+ If you need to remove an inwin's content to be reused somewhere else,
+ see L{content_unset()}.
+
+ @return: The content that is being used
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_win_inwin_content_get(self.obj))
+
+ def content_unset(self):
+ """Unset the content of an inwin object.
+
+ Unparent and return the content object which was set for this widget.
+
+ @return: The content that was being used
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_win_inwin_content_unset(self.obj))
+
+ property content:
+ """The content of an inwin object.
+
+ Once the content object is set, a previously set one will be deleted.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_win_inwin_content_get(self.obj))
+
+ def __set__(self, evasObject content):
+ cdef Evas_Object *o
+ if content is not None:
+ o = content.obj
+ else:
+ o = NULL
+ elm_win_inwin_content_set(self.obj, o)
+
+ def __del__(self):
+ elm_win_inwin_content_unset(self.obj)
+
+_elm_widget_type_register("inwin", InnerWindow)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryInnerWindow_Type # hack to install metaclass
+_install_metaclass(&PyElementaryInnerWindow_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_label.pxi b/elementary/elementary.c_elementary_label.pxi
new file mode 100644
index 0000000..1b4364f
--- /dev/null
+++ b/elementary/elementary.c_elementary_label.pxi
@@ -0,0 +1,261 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Label(LayoutClass) [object PyElementaryLabel, type PyElementaryLabel_Type]:
+
+ """Widget to display text, with simple html-like markup.
+
+ The Label widget B{doesn't} allow text to overflow its boundaries, if the
+ text doesn't fit the geometry of the label it will be ellipsized or be
+ cut. Elementary provides several styles for this widget:
+ - default - No animation
+ - marker - Centers the text in the label and makes it bold by default
+ - slide_long - The entire text appears from the right of the screen and
+ slides until it disappears in the left of the screen(reappearing on the
+ right again).
+ - slide_short - The text appears in the left of the label and slides to
+ the right to show the overflow. When all of the text has been shown the
+ position is reset.
+ - slide_bounce - The text appears in the left of the label and slides to
+ the right to show the overflow. When all of the text has been shown the
+ animation reverses, moving the text to the left.
+
+ Custom themes can of course invent new markup tags and style them any way
+ they like.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"language,changed"}: The program's language changed.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_label_add(parent.obj))
+
+ def line_wrap_set(self, Elm_Wrap_Type wrap):
+ """Set the wrapping behavior of the label
+
+ By default no wrapping is done. Possible values for C{wrap} are:
+ - ELM_WRAP_NONE - No wrapping
+ - ELM_WRAP_CHAR - wrap between characters
+ - ELM_WRAP_WORD - wrap between words
+ - ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
+
+ @param wrap: To wrap text or not
+ @type wrap: Elm_Wrap_Type
+
+ """
+ elm_label_line_wrap_set(self.obj, wrap)
+
+ def line_wrap_get(self):
+ """Get the wrapping behavior of the label
+
+ @see: L{line_wrap_set()}
+
+ @return: Wrap type
+ @rtype: Elm_Wrap_Type
+
+ """
+ return elm_label_line_wrap_get(self.obj)
+
+ property line_wrap:
+ """The wrapping behavior of the label
+
+ By default no wrapping is done. Possible values for C{wrap} are:
+ - ELM_WRAP_NONE - No wrapping
+ - ELM_WRAP_CHAR - wrap between characters
+ - ELM_WRAP_WORD - wrap between words
+ - ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
+
+ @type: Elm_Wrap_Type
+
+ """
+ def __get__(self):
+ return elm_label_line_wrap_get(self.obj)
+ def __set__(self, wrap):
+ elm_label_line_wrap_set(self.obj, wrap)
+
+ def wrap_width_set(self, int w):
+ """Set wrap width of the label
+
+ This function sets the maximum width size hint of the label.
+
+ @warning: This is only relevant if the label is inside a container.
+
+ @param w: The wrap width in pixels at a minimum where words need to wrap
+ @type w: int
+
+ """
+ elm_label_wrap_width_set(self.obj, w)
+
+ def wrap_width_get(self):
+ """Get wrap width of the label
+
+ @see: L{wrap_width_set()}
+
+ @return: The wrap width in pixels at a minimum where words need to wrap
+ @rtype: int
+
+ """
+ return elm_label_wrap_width_get(self.obj)
+
+ property wrap_width:
+ """Wrap width of the label
+
+ This is the maximum width size hint of the label.
+
+ @warning: This is only relevant if the label is inside a container.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_label_wrap_width_get(self.obj)
+ def __set__(self, w):
+ elm_label_wrap_width_set(self.obj, w)
+
+ def ellipsis_set(self, bool ellipsis):
+ """Set the ellipsis behavior of the label
+
+ If set to True and the text doesn't fit in the label an ellipsis("...")
+ will be shown at the end of the widget.
+
+ @warning: This doesn't work with slide(L{slide_set()}) or if the
+ chosen wrap method was ELM_WRAP_WORD.
+
+ @param ellipsis: To ellipsis text or not
+ @type ellipsis: bool
+
+ """
+ elm_label_ellipsis_set(self.obj, ellipsis)
+
+ def ellipsis_get(self):
+ """Get the ellipsis behavior of the label
+
+ @see: L{ellipsis_set()}
+
+ @return: If True, an ellipsis will be shown at the end of the label area.
+
+ """
+ return elm_label_ellipsis_get(self.obj)
+
+ property ellipsis:
+ """The ellipsis behavior of the label
+
+ If set to True and the text doesn't fit in the label an ellipsis("...")
+ will be shown at the end of the widget.
+
+ @warning: This doesn't work with slide(L{slide}) or if the
+ chosen wrap method was ELM_WRAP_WORD.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_label_ellipsis_get(self.obj)
+ def __set__(self, ellipsis):
+ elm_label_ellipsis_set(self.obj, ellipsis)
+
+ def slide_set(self, bool slide):
+ """Set the sliding effect of the label widget.
+
+ If set to True, the text of the label will slide/scroll through the length of
+ label.
+
+ @warning: This only works with the themes "slide_short", "slide_long" and
+ "slide_bounce".
+
+ @param slide: If True, sliding effect will be shown
+ @type slide: bool
+
+ """
+ elm_label_slide_set(self.obj, slide)
+
+ def slide_get(self):
+ """Get whether sliding effect is shown or not.
+
+ @see: L{slide_set()}
+
+ @return: If True, sliding effect is shown.
+ @rtype: bool
+
+ """
+ return elm_label_slide_get(self.obj)
+
+ property slide:
+ """The sliding effect of the label widget.
+
+ If set to True, the text of the label will slide/scroll through the length of
+ label.
+
+ @warning: This only works with the themes "slide_short", "slide_long" and
+ "slide_bounce".
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_label_slide_get(self.obj)
+ def __set__(self, slide):
+ elm_label_slide_set(self.obj, slide)
+
+ def slide_duration_set(self, duration):
+ """Set the slide duration (speed) of the label
+
+ @param duration: The duration in seconds in moving text from slide begin position
+ to slide end position
+ @type duration: float
+
+ """
+ elm_label_slide_duration_set(self.obj, duration)
+
+ def slide_duration_get(self):
+ """Get the slide duration(speed) of the label
+
+ @see: L{slide_duration_set()}
+
+ @return: The duration time in moving text from slide begin position to slide end position
+ @rtype: float
+
+ """
+ return elm_label_slide_duration_get(self.obj)
+
+ property slide_duration:
+ """The duration time in moving text from slide begin position to slide end position
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_label_slide_duration_get(self.obj)
+ def __set__(self, duration):
+ elm_label_slide_duration_set(self.obj, duration)
+
+ def callback_language_changed_add(self, func, *args, **kwargs):
+ """The program's language changed."""
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+_elm_widget_type_register("label", Label)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryLabel_Type # hack to install metaclass
+_install_metaclass(&PyElementaryLabel_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_layout.pxi b/elementary/elementary.c_elementary_layout.pxi
new file mode 100644
index 0000000..c1490b9
--- /dev/null
+++ b/elementary/elementary.c_elementary_layout.pxi
@@ -0,0 +1,239 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Layout(LayoutClass) [object PyElementaryLayout, type PyElementaryLayout_Type]:
+
+ """This is a container widget that takes a standard Edje design file and
+ wraps it very thinly in a widget.
+
+ An Edje design (theme) file has a very wide range of possibilities to
+ describe the behavior of elements added to the Layout. Check out the Edje
+ documentation and the EDC reference to get more information about what can
+ be done with Edje.
+
+ Just like L{List}, L{Box}, and other container widgets, any
+ object added to the Layout will become its child, meaning that it will be
+ deleted if the Layout is deleted, move if the Layout is moved, and so on.
+
+ The Layout widget can contain as many Contents, Boxes or Tables as
+ described in its theme file. For instance, objects can be added to
+ different Tables by specifying the respective Table part names. The same
+ is valid for Content and Box.
+
+ The objects added as child of the Layout will behave as described in the
+ part description where they were added. There are 3 possible types of
+ parts where a child can be added:
+
+ Content (SWALLOW part)
+ ======================
+
+ Only one object can be added to the C{SWALLOW} part (but you still can
+ have many C{SWALLOW} parts and one object on each of them). Use the
+ C{Object.content_set/get/unset} functions to set, retrieve and unset
+ objects as content of the C{SWALLOW}. After being set to this part, the
+ object size, position, visibility, clipping and other description
+ properties will be totally controlled by the description of the given part
+ (inside the Edje theme file).
+
+ One can use C{size_hint_*} functions on the child to have some
+ kind of control over its behavior, but the resulting behavior will still
+ depend heavily on the C{SWALLOW} part description.
+
+ The Edje theme also can change the part description, based on signals or
+ scripts running inside the theme. This change can also be animated. All of
+ this will affect the child object set as content accordingly. The object
+ size will be changed if the part size is changed, it will animate move if
+ the part is moving, and so on.
+
+ Box (BOX part)
+ ==============
+
+ An Edje C{BOX} part is very similar to the Elementary L{Box} widget. It
+ allows one to add objects to the box and have them distributed along its
+ area, accordingly to the specified C{layout} property (now by C{layout} we
+ mean the chosen layouting design of the Box, not the Layout widget
+ itself).
+
+ A similar effect for having a box with its position, size and other things
+ controlled by the Layout theme would be to create an Elementary L{Box}
+ widget and add it as a Content in the C{SWALLOW} part.
+
+ The main difference of using the Layout Box is that its behavior, the box
+ properties like layouting format, padding, align, etc. will be all
+ controlled by the theme. This means, for example, that a signal could be
+ sent to the Layout theme (with L{Object.signal_emit()}) and the theme
+ handled the signal by changing the box padding, or align, or both. Using
+ the Elementary L{Box} widget is not necessarily harder or easier, it
+ just depends on the circumstances and requirements.
+
+ The Layout Box can be used through the C{box_*} set of
+ functions.
+
+ Table (TABLE part)
+ ==================
+
+ Just like the C{Box}, the Layout Table is very similar to the
+ Elementary L{Table} widget. It allows one to add objects to the Table
+ specifying the row and column where the object should be added, and any
+ column or row span if necessary.
+
+ Again, we could have this design by adding a L{Table} widget to the
+ C{SWALLOW} part using L{Object.part_content_set()}. The same difference happens
+ here when choosing to use the Layout Table (a C{TABLE} part) instead of
+ the L{Table} plus C{SWALLOW} part. It's just a matter of convenience.
+
+ The Layout Table can be used through the C{table_*} set of
+ functions.
+
+ Predefined Layouts
+ ==================
+
+ Another interesting thing about the Layout widget is that it offers some
+ predefined themes that come with the default Elementary theme. These
+ themes can be set by the call L{theme_set()}, and provide some
+ basic functionality depending on the theme used.
+
+ Most of them already send some signals, some already provide a toolbar or
+ back and next buttons.
+
+ These are available predefined theme layouts. All of them have class =
+ C{layout}, group = C{application}, and style = one of the following options:
+
+ - C{toolbar-content} - application with toolbar and main content area
+ - C{toolbar-content-back} - application with toolbar and main content
+ area with a back button and title area
+ - C{toolbar-content-back-next} - application with toolbar and main
+ content area with a back and next buttons and title area
+ - C{content-back} - application with a main content area with a back
+ button and title area
+ - C{content-back-next} - application with a main content area with a
+ back and next buttons and title area
+ - C{toolbar-vbox} - application with toolbar and main content area as a
+ vertical box
+ - C{toolbar-table} - application with toolbar and main content area as a
+ table
+
+ Emitted signals
+ ===============
+
+ This widget emits the following signals:
+
+ - "theme,changed": The theme was changed.
+
+ """
+
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_layout_add(parent.obj))
+
+ def content_set(self, swallow, evasObject content):
+ """content_set(swallow, content)
+
+ Set the layout content.
+
+ Once the content object is set, a previously set one will be deleted.
+ If you want to keep that old content object, use the
+ L{Object.part_content_unset()} function.
+
+ @note: In an Edje theme, the part used as a content container is
+ called C{SWALLOW}. This is why the parameter name is called
+ C{swallow}, but it is expected to be a part name just like the
+ second parameter of L{box_append()}.
+
+ @see: L{box_append()}
+ @see: L{Object.part_content_get()}
+ @see: L{Object.part_content_unset()}
+
+ @param swallow: The swallow part name in the edje file
+ @type swallow: string
+ @param content: The child that will be added in this layout object
+ @type content: L{Object}
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ cdef Evas_Object *o
+ if content is not None:
+ o = content.obj
+ else:
+ o = NULL
+ elm_layout_content_set(self.obj, _cfruni(swallow), o)
+
+ def content_get(self, swallow):
+ """content_get(swallow)
+
+ Get the child object in the given content part.
+
+ @param swallow: The SWALLOW part to get its content
+ @type swallow: string
+
+ @return: The swallowed object or None if none or an error occurred
+
+ """
+ return Object_from_instance(elm_layout_content_get(self.obj, _cfruni(swallow)))
+
+ def content_unset(self, swallow):
+ """content_unset(swallow)
+
+ Unset the layout content.
+
+ Unparent and return the content object which was set for this part.
+
+ @param swallow: The swallow part name in the edje file
+ @type swallow: string
+ @return: The content that was being used
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_layout_content_unset(self.obj, _cfruni(swallow)))
+
+ def text_set(self, part, text):
+ """text_set(part, text)
+
+ Set the text of the given part
+
+ @param part: The TEXT part where to set the text
+ @type part: string
+ @param text: The text to set
+ @type text: string
+ @return: C{True} on success, C{False} otherwise
+
+ """
+ elm_layout_text_set(self.obj, _cfruni(part), _cfruni(text))
+
+ def text_get(self, part):
+ """text_get(part)
+
+ Get the text set in the given part
+
+ @param part: The TEXT part to retrieve the text off
+ @type part: string
+
+ @return: The text set in C{part}
+ @rtype: string
+
+ """
+ return _ctouni(elm_layout_text_get(self.obj, _cfruni(part)))
+
+_elm_widget_type_register("layout", Layout)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryLayout_Type # hack to install metaclass
+_install_metaclass(&PyElementaryLayout_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_layout_class.pxi b/elementary/elementary.c_elementary_layout_class.pxi
new file mode 100644
index 0000000..d66aec1
--- /dev/null
+++ b/elementary/elementary.c_elementary_layout_class.pxi
@@ -0,0 +1,695 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class LayoutClass(Object):
+
+ """Elementary, besides having the L{Layout} widget, exposes its
+ foundation -- the Elementary Layout Class -- in order to create
+ other widgets which are, basically, a certain layout with some more
+ logic on top.
+
+ The idea is to make the creation of that widgets as easy as possible,
+ factorizing code on this common base. For example, a button is a
+ layout (that looks like push button) that happens to react on
+ clicks and keyboard events in a special manner, calling its user
+ back on those events. That's no surprise, then, that the L{Button}
+ implementation relies on LayoutClass, if you go to check it.
+
+ Container parts, here, map directly to Edje parts from the layout's Edje
+ group. Besides that, there's a whole infrastructure around Edje files:
+ - interfacing by signals,
+ - setting/retrieving text part values,
+ - dealing with table and box parts directly,
+ - etc.
+
+ Finally, layout objects will do B{part aliasing} for you, if you set
+ it up properly. For that, take a look at
+ Elm_Layout_Part_Alias_Description, where it's explained in detail.
+
+ """
+
+ def file_set(self, filename, group):
+ """Set the file that will be used as layout
+
+ @param file: The path to file (edj) that will be used as layout
+ @type file: string
+ @param group: The group that the layout belongs in edje file
+ @type group: string
+
+ @return: (True = success, False = error)
+ @rtype: bool
+
+ """
+ return bool(elm_layout_file_set(self.obj, _cfruni(filename), _cfruni(group)))
+
+ property file:
+ """Set the file path and group of the edje file that will be used as
+ layout.
+
+ @type: tuple of string
+
+ """
+ def __set__(self, value):
+ filename, group = value
+ # TODO: check return value
+ elm_layout_file_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ def theme_set(self, clas, group, style):
+ """Set the edje group from the elementary theme that will be used as layout
+
+ Note that C{style} will be the new style too, as in an
+ L{Object.style_set()} call.
+
+ @param clas: the class of the group
+ @type clas: string
+ @param group: the group
+ @type group: string
+ @param style: the style to used
+ @type style: string
+
+ @return: (True = success, False = error)
+ @rtype: bool
+
+ """
+ return bool(elm_layout_theme_set(self.obj, _cfruni(clas), _cfruni(group), _cfruni(style)))
+
+ property theme:
+ """Set the edje group class, group name and style from the elementary
+ theme that will be used as layout.
+
+ Note that C{style} will be the new style too, as in an
+ L{Object.style_set()} call.
+
+ @type: tuple of string
+
+ """
+ def __set__(self, theme):
+ clas, group, style = theme
+ # TODO: check return value
+ elm_layout_theme_set(self.obj, _cfruni(clas), _cfruni(group), _cfruni(style))
+
+ def signal_emit(self, emission, source):
+ """signal_emit(emission, source)
+
+ Send a (Edje) signal to a given layout widget's underlying Edje object.
+
+ This function sends a signal to the underlying Edje object. An Edje
+ program on that Edje object's definition can respond to a signal by
+ specifying matching 'signal' and 'source' fields.
+
+ @param emission: The signal's name string
+ @type emission: string
+ @param source: The signal's source string
+ @type source: string
+
+ """
+ elm_layout_signal_emit(self.obj, _cfruni(emission), _cfruni(source))
+
+ #def signal_callback_add(self, emission, source, func, data):
+ """Add a callback for a (Edje) signal emitted by a layout widget's
+ underlying Edje object.
+
+ This function connects a callback function to a signal emitted by
+ the underlying Edje object. Globs are accepted in either
+ the emission or source strings (see
+ C{edje_object_signal_callback_add()}).
+
+ @param emission: The signal's name string
+ @type emission: string
+ @param source: The signal's source string
+ @type source: string
+ @param func: The callback function to be executed when the signal is
+ emitted.
+ @type func: function
+
+ """
+ #elm_layout_signal_callback_add(self.obj, _cfruni(emission), _cfruni(source), Edje_Signal_Cb func, voiddata)
+
+ #def signal_callback_del(self, emission, source, func):
+ """Remove a signal-triggered callback from a given layout widget.
+
+ This function removes the B{last} callback attached to a signal
+ emitted by the undelying Edje object, with parameters
+ C{emission}, C{source} and C{func} matching exactly those passed to a
+ previous call to L{Object.signal_callback_add()}. The data pointer
+ that was passed to this call will be returned.
+
+ @param emission: The signal's name string
+ @type emission: string
+ @param source: The signal's source string
+ @type source: string
+ @param func: The callback function being executed when the signal
+ was emitted.
+ @type func: function
+
+ """
+ #elm_layout_signal_callback_del(self.obj, _cfruni(emission), _cfruni(source), Edje_Signal_Cb func)
+
+ def box_append(self, part, evasObject child):
+ """box_append(part, child)
+
+ Append child to layout box part.
+
+ Once the object is appended, it will become child of the layout. Its
+ lifetime will be bound to the layout, whenever the layout dies the child
+ will be deleted automatically. One should use L{box_remove()} to
+ make this layout forget about the object.
+
+ @see: L{box_prepend()}
+ @see: L{box_insert_before()}
+ @see: L{box_insert_at()}
+ @see: L{box_remove()}
+
+ @param part: the box part to which the object will be appended.
+ @type part: string
+ @param child: the child object to append to box.
+ @type child: L{Object}
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_box_append(self.obj, _cfruni(part), child.obj))
+
+ def box_prepend(self, part, evasObject child):
+ """box_prepend(part, child)
+
+ Prepend child to layout box part.
+
+ Once the object is prepended, it will become child of the layout. Its
+ lifetime will be bound to the layout, whenever the layout dies the
+ child will be deleted automatically. One should use L{box_remove()}
+ to make this layout forget about the object.
+
+ @see: L{box_append()}
+ @see: L{box_insert_before()}
+ @see: L{box_insert_at()}
+ @see: L{box_remove()}
+
+ @param part: the box part to prepend.
+ @type part: string
+ @param child: the child object to prepend to box.
+ @type child: L{Object}
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_box_prepend(self.obj, _cfruni(part), child.obj))
+
+ def box_insert_before(self, part, evasObject child, evasObject reference):
+ """box_insert_before(part, child, reference)
+
+ Insert child to layout box part before a reference object.
+
+ Once the object is inserted, it will become child of the layout. Its
+ lifetime will be bound to the layout, whenever the layout dies the
+ child will be deleted automatically. One should use L{box_remove()}
+ to make this layout forget about the object.
+
+ @see: L{box_append()}
+ @see: L{box_prepend()}
+ @see: L{box_insert_at()}
+ @see: L{box_remove()}
+
+ @param part: the box part to insert.
+ @type part: string
+ @param child: the child object to insert into box.
+ @type child: L{Object}
+ @param reference: another reference object to insert before in box.
+ @type reference: L{Object}
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_box_insert_before(self.obj, _cfruni(part), child.obj, reference.obj))
+
+ def box_insert_at(self, part, evasObject child, pos):
+ """box_insert_at(part, child, pos)
+
+ Insert child to layout box part at a given position.
+
+ Once the object is inserted, it will become child of the layout. Its
+ lifetime will be bound to the layout, whenever the layout dies the child
+ will be deleted automatically. One should use L{box_remove()} to
+ make this layout forget about the object.
+
+ @see: L{box_append()}
+ @see: L{box_prepend()}
+ @see: L{box_insert_before()}
+ @see: L{box_remove()}
+
+ @param part: the box part to insert.
+ @type part: string
+ @param child: the child object to insert into box.
+ @type child: L{Object}
+ @param pos: the numeric position >=0 to insert the child.
+ @type pos: int
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_box_insert_at(self.obj, _cfruni(part), child.obj, pos))
+
+ def box_remove(self, part, evasObject child):
+ """box_remove(part, child):
+
+ Remove a child of the given part box.
+
+ The object will be removed from the box part and its lifetime will
+ not be handled by the layout anymore. This is equivalent to
+ L{Object.part_content_unset()} for box.
+
+ @see: L{box_append()}
+ @see: L{box_remove_all()}
+
+ @param part: The box part name to remove child.
+ @type part: string
+ @param child: The object to remove from box.
+ @type child: L{Object}
+
+ @return: The object that was being used, or None if not found.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_layout_box_remove(self.obj, _cfruni(part), child.obj))
+
+ def box_remove_all(self, part, clear):
+ """box_remove_all(part, clear)
+
+ Remove all children of the given part box.
+
+ The objects will be removed from the box part and their lifetime will
+ not be handled by the layout anymore. This is equivalent to
+ L{box_remove()} for all box children.
+
+ @see: L{box_append()}
+ @see: L{box_remove()}
+
+ @param part: The box part name to remove child.
+ @type part: string
+ @param clear: If True, then all objects will be deleted as
+ well, otherwise they will just be removed and will be
+ dangling on the canvas.
+ @type clear: bool
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_box_remove_all(self.obj, _cfruni(part), clear))
+
+ def table_pack(self, part, evasObject child_obj, col, row, colspan, rowspan):
+ """table_pack(part, child_obj, col, row, colspan, rowspan)
+
+ Insert child to layout table part.
+
+ Once the object is inserted, it will become child of the table. Its
+ lifetime will be bound to the layout, and whenever the layout dies the
+ child will be deleted automatically. One should use
+ L{table_remove()} to make this layout forget about the object.
+
+ If C{colspan} or C{rowspan} are bigger than 1, that object will occupy
+ more space than a single cell.
+
+ @see: L{table_unpack()}
+ @see: L{table_clear()}
+
+ @param part: the box part to pack child.
+ @type part: string
+ @param child_obj: the child object to pack into table.
+ @type child_obj: L{Object}
+ @param col: the column to which the child should be added. (>= 0)
+ @type col: int
+ @param row: the row to which the child should be added. (>= 0)
+ @type row: int
+ @param colspan: how many columns should be used to store this object.
+ (>= 1)
+ @type colspan: int
+ @param rowspan: how many rows should be used to store this object. (>= 1)
+ @type rowspan: int
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_table_pack(self.obj, _cfruni(part), child_obj.obj, col, row, colspan, rowspan))
+
+ def table_unpack(self, part, evasObject child_obj):
+ """table_unpack(part, child_obj)
+
+ Unpack (remove) a child of the given part table.
+
+ The object will be unpacked from the table part and its lifetime
+ will not be handled by the layout anymore. This is equivalent to
+ L{Object.part_content_unset()} for table.
+
+ @see: L{table_pack()}
+ @see: L{table_clear()}
+
+ @param part: The table part name to remove child.
+ @type part: string
+ @param child_obj: The object to remove from table.
+ @type child_obj: L{Object}
+
+ @return: The object that was being used, or None if not found.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_layout_table_unpack(self.obj, _cfruni(part), child_obj.obj))
+
+ def table_clear(self, part, clear):
+ """table_clear(part, clear)
+
+ Remove all the child objects of the given part table.
+
+ The objects will be removed from the table part and their lifetime will
+ not be handled by the layout anymore. This is equivalent to
+ L{table_unpack()} for all table children.
+
+ @see: L{table_pack()}
+ @see: L{table_unpack()}
+
+ @param part: The table part name to remove child.
+ @type part: string
+ @param clear: If True, then all objects will be deleted as
+ well, otherwise they will just be removed and will be
+ dangling on the canvas.
+ @type clear: bool
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_table_clear(self.obj, _cfruni(part), clear))
+
+ def edje_get(self):
+ """Get the edje layout
+
+ This returns the edje object. It is not expected to be used to then
+ swallow objects via edje_object_part_swallow() for example. Use
+ L{part_content_set()} instead so child object handling and sizing is
+ done properly.
+
+ @note: This function should only be used if you really need to call some
+ low level Edje function on this edje object. All the common stuff (setting
+ text, emitting signals, hooking callbacks to signals, etc.) can be done
+ with proper elementary functions.
+
+ @see: L{signal_callback_add()}
+ @see: L{signal_emit()}
+ @see: L{part_text_set()}
+ @see: L{part_content_set()}
+ @see: L{box_append()}
+ @see: L{table_pack()}
+ @see: L{data_get()}
+
+ @return: A Evas_Object with the edje layout settings loaded
+ with function L{file_set}
+ @rtype: Evas_Object
+
+ """
+ return Object_from_instance(elm_layout_edje_get(self.obj))
+
+ property edje:
+ """Get the edje layout
+
+ This returns the edje object. It is not expected to be used to then
+ swallow objects via edje_object_part_swallow() for example. Use
+ L{part_content_set()} instead so child object handling and sizing is
+ done properly.
+
+ @note: This function should only be used if you really need to call
+ some low level Edje function on this edje object. All the common
+ stuff (setting text, emitting signals, hooking callbacks to signals,
+ etc.) can be done with proper elementary functions.
+
+ @see: L{signal_callback_add()}
+ @see: L{signal_emit()}
+ @see: L{part_text_set()}
+ @see: L{part_content_set()}
+ @see: L{box_append()}
+ @see: L{table_pack()}
+ @see: L{data_get()}
+
+ @type: L{edje.Edje}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_layout_edje_get(self.obj))
+
+ def data_get(self, key):
+ """data_get(key)
+
+ Get the edje data from the given layout
+
+ This function fetches data specified inside the edje theme of this
+ layout. This function returns None if data is not found.
+
+ In EDC this comes from a data block within the group block that it
+ was loaded from. E.g::
+
+ collections {
+ group {
+ name: "a_group";
+ data {
+ item: "key1" "value1";
+ item: "key2" "value2";
+ }
+ }
+ }
+
+ @param key: The data key
+ @type key: string
+
+ @return: The edje data string
+ @rtype: string
+
+ """
+ return _ctouni(elm_layout_data_get(self.obj, _cfruni(key)))
+
+ def sizing_eval(self):
+ """sizing_eval()
+
+ Eval sizing
+
+ Manually forces a sizing re-evaluation. This is useful when the
+ minimum size required by the edje theme of this layout has changed.
+ The change on the minimum size required by the edje theme is not
+ immediately reported to the elementary layout, so one needs to call
+ this function in order to tell the widget (layout) that it needs to
+ reevaluate its own size.
+
+ The minimum size of the theme is calculated based on minimum size of
+ parts, the size of elements inside containers like box and table,
+ etc. All of this can change due to state changes, and that's when
+ this function should be called.
+
+ Also note that a standard signal of "size,eval" "elm" emitted from
+ the edje object will cause this to happen too.
+
+ """
+ elm_layout_sizing_eval(self.obj)
+
+ def part_cursor_set(self, part_name, cursor):
+ """part_cursor_set(part_name, cursor)
+
+ Sets a specific cursor for an edje part.
+
+ @param part_name: a part from loaded edje group.
+ @type part_name: string
+ @param cursor: cursor name to use, see Elementary_Cursor.h
+ @type cursor: string
+
+ @return: True on success or False on failure, that may be
+ part not exists or it has "mouse_events: 0".
+ @rtype: bool
+
+ """
+ return bool(elm_layout_part_cursor_set(self.obj, _cfruni(part_name), _cfruni(cursor)))
+
+ def part_cursor_get(self, part_name):
+ """part_cursor_get(part_name)
+
+ Get the cursor to be shown when mouse is over an edje part
+
+ @param part_name: a part from loaded edje group.
+ @type part_name: string
+ @return: the cursor name.
+ @rtype: string
+
+ """
+ return _ctouni(elm_layout_part_cursor_get(self.obj, _cfruni(part_name)))
+
+ def part_cursor_unset(self, part_name):
+ """part_cursor_unset(part_name)
+
+ Unsets a cursor previously set with L{part_cursor_set()}.
+
+ @param part_name: a part from loaded edje group, that had a cursor set
+ with L{part_cursor_set()}.
+ @type part_name: string
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_layout_part_cursor_unset(self.obj, _cfruni(part_name)))
+
+ def part_cursor_style_set(self, part_name, style):
+ """part_cursor_style_set(part_name, style)
+
+ Sets a specific cursor style for an edje part.
+
+ @param part_name: a part from loaded edje group.
+ @type part_name: string
+ @param style: the theme style to use (default, transparent, ...)
+ @type style: string
+
+ @return: True on success or False on failure, that may be
+ part not exists or it did not had a cursor set.
+ @rtype: bool
+
+ """
+ return bool(elm_layout_part_cursor_style_set(self.obj, _cfruni(part_name), _cfruni(style)))
+
+ def part_cursor_style_get(self, part_name):
+ """part_cursor_style_get(part_name)
+
+ Gets a specific cursor style for an edje part.
+
+ @param part_name: a part from loaded edje group.
+ @type part_name: string
+
+ @return: the theme style in use, defaults to "default". If the
+ object does not have a cursor set, then None is returned.
+ @rtype: string
+
+ """
+ return _ctouni(elm_layout_part_cursor_style_get(self.obj, _cfruni(part_name)))
+
+ def part_cursor_engine_only_set(self, part_name, engine_only):
+ """part_cursor_engine_only_set(part_name, engine_only)
+
+ Sets if the cursor set should be searched on the theme or should use
+ the provided by the engine, only.
+
+ @note: before you set if should look on theme you should define a
+ cursor with L{part_cursor_set()}. By default it will only
+ look for cursors provided by the engine.
+
+ @param part_name: a part from loaded edje group.
+ @type part_name: string
+ @param engine_only: if cursors should be just provided by the engine (True)
+ or should also search on widget's theme as well (False)
+ @type engine_only: bool
+
+ @return: True on success or False on failure, that may be
+ part not exists or it did not had a cursor set.
+ @rtype: bool
+
+ """
+ return bool(elm_layout_part_cursor_engine_only_set(self.obj, _cfruni(part_name), engine_only))
+
+ def part_cursor_engine_only_get(self, part_name):
+ """part_cursor_engine_only_get(part_name)
+
+ Gets a specific cursor engine_only for an edje part.
+
+ @param part_name: a part from loaded edje group.
+ @type part_name: string
+
+ @return: whenever the cursor is just provided by engine or also from theme.
+ @rtype: bool
+
+ """
+ return bool(elm_layout_part_cursor_engine_only_get(self.obj, _cfruni(part_name)))
+
+ def icon_set(self, evasObject icon):
+ """Convenience macro to set the icon object in a layout that follows the
+ Elementary naming convention for its parts.
+
+ @param icon: The icon object
+ @type icon: L{Object}
+
+ """
+ elm_layout_icon_set(self.obj, icon.obj if icon else NULL)
+
+ def icon_get(self):
+ """Convenience macro to get the icon object from a layout that follows the
+ Elementary naming convention for its parts.
+
+ @return: The icon object
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_layout_icon_get(self.obj))
+
+ property icon:
+ """The icon object in a layout that follows the Elementary naming
+ convention for its parts.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_layout_icon_get(self.obj))
+
+ def __set__(self, evasObject icon):
+ elm_layout_icon_set(self.obj, icon.obj if icon else NULL)
+
+ def end_set(self, evasObject end):
+ """Convenience macro to set the end object in a layout that follows the
+ Elementary naming convention for its parts.
+
+ @param end: The end object
+ @type end: L{Object}
+
+ """
+ elm_layout_end_set(self.obj, end.obj if end else NULL)
+
+ def end_get(self):
+ """Convenience macro to get the end object in a layout that follows the
+ Elementary naming convention for its parts.
+
+ @return: The end object
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_layout_end_get(self.obj))
+
+ property end:
+ """The end object in a layout that follows the Elementary naming
+ convention for its parts.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_layout_end_get(self.obj))
+
+ def __set__(self, evasObject end):
+ elm_layout_end_set(self.obj, end.obj if end else NULL)
+
+ def callback_theme_changed_add(self, func, *args, **kwargs):
+ """The theme was changed."""
+ self._callback_add("theme,changed", func, *args, **kwargs)
+
+ def callback_theme_changed_del(self, func):
+ self._callback_del("theme,changed", func)
diff --git a/elementary/elementary.c_elementary_list.pxi b/elementary/elementary.c_elementary_list.pxi
new file mode 100644
index 0000000..e869e11
--- /dev/null
+++ b/elementary/elementary.c_elementary_list.pxi
@@ -0,0 +1,1121 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef enum Elm_List_Item_Insert_Kind:
+ ELM_LIST_ITEM_INSERT_APPEND
+ ELM_LIST_ITEM_INSERT_PREPEND
+ ELM_LIST_ITEM_INSERT_BEFORE
+ ELM_LIST_ITEM_INSERT_AFTER
+ ELM_LIST_ITEM_INSERT_SORTED
+
+cdef class ListItem(ObjectItem):
+
+ """An item for the list widget."""
+
+ def __init__(self, kind, evasObject list, label, evasObject icon = None,
+ evasObject end = None, ListItem before_after = None,
+ callback = None, *args, **kargs):
+
+ cdef Evas_Object* icon_obj = NULL
+ cdef Evas_Object* end_obj = NULL
+ cdef Evas_Smart_Cb cb = NULL
+
+ if icon is not None:
+ icon_obj = icon.obj
+ if end is not None:
+ end_obj = end.obj
+
+ if callback is not None:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+
+ if kind == ELM_LIST_ITEM_INSERT_APPEND:
+ item = elm_list_item_append( list.obj,
+ _cfruni(label),
+ icon_obj,
+ end_obj,
+ cb,
+ <void*>self)
+
+ elif kind == ELM_LIST_ITEM_INSERT_PREPEND:
+ item = elm_list_item_prepend( list.obj,
+ _cfruni(label),
+ icon_obj,
+ end_obj,
+ cb,
+ <void*>self)
+
+ #elif kind == ELM_LIST_ITEM_INSERT_SORTED:
+ #item = elm_list_item_sorted_insert( list.obj,
+ #_cfruni(label),
+ #icon_obj,
+ #end_obj,
+ #cb,
+ #<void*>self,
+ #cmp_f)
+
+ else:
+ if before_after == None:
+ raise ValueError("need a valid after object to add an item before/after another item")
+
+ if kind == ELM_LIST_ITEM_INSERT_BEFORE:
+ item = elm_list_item_insert_before(list.obj,
+ before_after.item,
+ _cfruni(label),
+ icon_obj,
+ end_obj,
+ cb,
+ <void*>self)
+
+ else:
+ item = elm_list_item_insert_after( list.obj,
+ before_after.item,
+ _cfruni(label),
+ icon_obj,
+ end_obj,
+ cb,
+ <void*>self)
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def __str__(self):
+ return ("%s(label=%r, icon=%s, end=%s, "
+ "callback=%r, args=%r, kargs=%s)") % \
+ (self.__class__.__name__, self.text_get(), bool(self.part_content_get("icon")),
+ bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ "label=%r, icon=%s, end=%s, "
+ "callback=%r, args=%r, kargs=%s)") % \
+ (self.__class__.__name__, <unsigned long><void *>self,
+ PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ self.text_get(), bool(self.part_content_get("icon")),
+ bool(self.part_content_get("end")), self.params[0], self.params[1], self.params[2])
+
+ def selected_set(self, selected):
+ """Set the selected state of an item.
+
+ This sets the selected state of the given item.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected,
+ unless multiple selection is enabled with L{List.multi_select_set()}.
+ Previously selected item can be get with function
+ L{List.selected_item_get()}.
+
+ Selected items will be highlighted.
+
+ @see: L{selected_get()}
+ @see: L{List.selected_item_get()}
+ @see: L{List.multi_select_set()}
+
+ @param selected: The selected state
+ @type selected: bool
+
+ """
+ elm_list_item_selected_set(self.item, selected)
+
+ def selected_get(self):
+ """Get whether the item is selected or not.
+
+ @see: L{List.selected_item_get()}
+ @see: L{selected_set()} for details.
+
+ @return: C{True} means item is selected. C{False} indicates it's not.
+ @rtype: bool
+
+ """
+ return bool(elm_list_item_selected_get(self.item))
+
+ property selected:
+ """The selected state of an item.
+
+ This property is the selected state of the given item.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected,
+ unless multiple selection is enabled with L{List.multi_select}.
+ Previously selected item can be get with
+ L{List.selected_item}.
+
+ Selected items will be highlighted.
+
+ @see: L{List.selected_item}
+ @see: L{List.multi_select}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_list_item_selected_get(self.item))
+
+ def __set__(self, selected):
+ elm_list_item_selected_set(self.item, selected)
+
+ def separator_set(self, separator):
+ """Set or unset item as a separator.
+
+ Items aren't set as separator by default.
+
+ If set as separator it will display separator theme, so won't display
+ icons or label.
+
+ @see: L{separator_get()}
+
+ @param setting: C{True} to set item as separator or C{False} to
+ unset, i.e., item will be used as a regular item.
+ @type setting: bool
+
+ """
+ elm_list_item_separator_set(self.item, separator)
+
+ def separator_get(self):
+ """Get a value whether item is a separator or not.
+
+ @see: L{separator_set()} for details.
+
+ @return: C{True} means item is a separator. C{False} indicates it's not.
+ @rtype: bool
+
+ """
+ return bool(elm_list_item_separator_get(self.item))
+
+ property separator:
+ """Set or unset item as a separator.
+
+ Items aren't set as separator by default.
+
+ If set as separator it will display separator theme, so won't display
+ icons or label.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_list_item_separator_get(self.item))
+
+ def __set__(self, separator):
+ elm_list_item_separator_set(self.item, separator)
+
+ def show(self):
+ """show()
+
+ Show the item in the list view.
+
+ It won't animate list until item is visible. If such behavior is wanted,
+ use L{bring_in()} instead.
+
+ """
+ elm_list_item_show(self.item)
+
+ def bring_in(self):
+ """bring_in()
+
+ Bring in the given item to list view.
+
+ This causes list to jump to the given item and show it
+ (by scrolling), if it is not fully visible.
+
+ This may use animation to do so and take a period of time.
+
+ If animation isn't wanted, L{show()} can be used.
+
+ """
+ elm_list_item_bring_in(self.item)
+
+ def object_get(self):
+ """Returns the base object set for this list item.
+
+ Base object is the one that visually represents the list item
+ row. It must not be changed in a way that breaks the list
+ behavior (like deleting the base!), but it might be used to
+ feed Edje signals to add more features to row representation.
+
+ @rtype: edje.Edje
+
+ """
+ return Object_from_instance(elm_list_item_object_get(self.item))
+
+ property object:
+ """Returns the base object set for this list item.
+
+ Base object is the one that visually represents the list item
+ row. It must not be changed in a way that breaks the list
+ behavior (like deleting the base!), but it might be used to
+ feed Edje signals to add more features to row representation.
+
+ @type: edje.Edje
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_list_item_object_get(self.item))
+
+ def prev_get(self):
+ """Get the item before this item in the list.
+
+ @note: If it is the first item, C{None} will be returned.
+
+ @see: L{List.item_append()}
+ @see: L{List.items_get()}
+
+ @return: The item before this item, or C{None} if none or on failure.
+ @rtype: L{ListItem}
+
+ """
+ return _object_item_to_python(elm_list_item_prev(self.item))
+
+ property prev:
+ """The item before this item in the list.
+
+ @note: If the item is the first item, C{None} will be returned.
+
+ @see: L{List.item_append()}
+ @see: L{List.items_get()}
+
+ @type: L{ListItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_list_item_prev(self.item))
+
+ def next_get(self):
+ """Get the item after this item in the list.
+
+ @note: If it is the last item, C{None} will be returned.
+
+ @see: L{List.item_append()}
+ @see: L{List.items_get()}
+
+ @return: The item after this item, or C{None} if none or on failure.
+ @rtype: L{ListItem}
+
+ """
+ return _object_item_to_python(elm_list_item_next(self.item))
+
+ property next:
+ """The item after this item in the list.
+
+ @note: If the item is the last item, C{None} will be returned.
+
+ @see: L{List.item_append()}
+ @see: L{List.items_get()}
+
+ @type: L{ListItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_list_item_next(self.item))
+
+cdef public class List(Object) [object PyElementaryList, type PyElementaryList_Type]:
+
+ """A list widget is a container whose children are displayed vertically or
+ horizontally, in order, and can be selected.
+ The list can accept only one or multiple items selection. Also has many
+ modes of items displaying.
+
+ A list is a very simple type of list widget. For more robust
+ lists, L{Genlist} should probably be used.
+
+ Smart callbacks one can listen to:
+ - C{"activated"} - The user has double-clicked or pressed
+ (enter|return|spacebar) on an item. The C{event_info} parameter
+ is the item that was activated.
+ - C{"clicked,double"} - The user has double-clicked an item.
+ The C{event_info} parameter is the item that was double-clicked.
+ - "selected" - when the user selected an item
+ - "unselected" - when the user unselected an item
+ - "longpressed" - an item in the list is long-pressed
+ - "edge,top" - the list is scrolled until the top edge
+ - "edge,bottom" - the list is scrolled until the bottom edge
+ - "edge,left" - the list is scrolled until the left edge
+ - "edge,right" - the list is scrolled until the right edge
+ - "language,changed" - the program's language changed
+
+ Available styles for it:
+ - C{"default"}
+
+ Default content parts of the list items that you can use for are:
+ - "start" - A start position object in the list item
+ - "end" - A end position object in the list item
+
+ Default text parts of the list items that you can use for are:
+ - "default" - label in the list item
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_list_add(parent.obj))
+
+ def go(self):
+ """go()
+
+ Starts the list.
+
+ Example::
+ li = List(win)
+ li.item_append("First", None, None, None)
+ li.item_append("Second", None, None, None)
+ li.go()
+ li.show()
+
+ @note: Call before running show() on the list object.
+ @warning: If not called, it won't display the list properly.
+
+ """
+ elm_list_go(self.obj)
+
+ def multi_select_set(self, multi):
+ """Enable or disable multiple items selection on the list object.
+
+ Disabled by default. If disabled, the user can select a single item of
+ the list each time. Selected items are highlighted on list.
+ If enabled, many items can be selected.
+
+ If a selected item is selected again, it will be unselected.
+
+ @see: L{multi_select_get()}
+
+ @param multi: C{True} to enable multi selection or C{False} to
+ disable it.
+ @type multi: bool
+
+ """
+ elm_list_multi_select_set(self.obj, multi)
+
+ def multi_select_get(self):
+ """Get a value whether multiple items selection is enabled or not.
+
+ @see: L{multi_select_set()} for details.
+
+ @return: C{True} means multiple items selection is enabled.
+ C{False} indicates it's disabled.
+ @rtype: bool
+
+ """
+ return bool(elm_list_multi_select_get(self.obj))
+
+ property multi_select:
+ """Enable or disable multiple items selection on the list object.
+
+ Disabled by default. If disabled, the user can select a single item of
+ the list each time. Selected items are highlighted on list.
+ If enabled, many items can be selected.
+
+ If a selected item is selected again, it will be unselected.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_list_multi_select_get(self.obj)
+
+ def __set__(self, multi):
+ elm_list_multi_select_set(self.obj, multi)
+
+ def mode_set(self, Elm_List_Mode mode):
+ """Set which mode to use for the list object.
+
+ Set list's resize behavior, transverse axis scroll and
+ items cropping. See each mode's description for more details.
+
+ Only one can be set, if a previous one was set, it will be changed
+ by the new mode set. Bitmask won't work as well.
+
+ @see: L{mode_get()}
+
+ @note: Default value is ELM_LIST_SCROLL.
+
+ @param mode: One of: ELM_LIST_COMPRESS, ELM_LIST_SCROLL, ELM_LIST_LIMIT or ELM_LIST_EXPAND.
+ @type mode: Elm_List_Mode
+
+ """
+ elm_list_mode_set(self.obj, mode)
+
+ def mode_get(self):
+ """Get the mode the list is at.
+
+ @see: L{mode_set()} for more information.
+
+ @return: One of: ELM_LIST_COMPRESS, ELM_LIST_SCROLL, ELM_LIST_LIMIT, ELM_LIST_EXPAND or ELM_LIST_LAST on errors.
+ @rtype: Elm_List_Mode
+
+ """
+ return elm_list_mode_get(self.obj)
+
+ property mode:
+ """Which mode to use for the list object.
+
+ The list's resize behavior, transverse axis scroll and
+ items cropping. See each mode's description for more details.
+
+ Only one can be set, if a previous one was set, it will be changed
+ by the new mode set. Bitmask won't work as well.
+
+ @note: Default value is ELM_LIST_SCROLL.
+
+ @type: Elm_List_Mode
+
+ """
+ def __get__(self):
+ return elm_list_mode_get(self.obj)
+
+ def __set__(self, Elm_List_Mode mode):
+ elm_list_mode_set(self.obj, mode)
+
+ property horizontal:
+ """Enable or disable horizontal mode on the list object.
+
+ @note: Vertical mode is set by default.
+
+ On horizontal mode items are displayed on list from left to right,
+ instead of from top to bottom. Also, the list will scroll horizontally.
+ Each item will presents left icon on top and right icon, or end, at
+ the bottom.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_list_horizontal_get(self.obj)
+
+ def __set__(self, horizontal):
+ elm_list_horizontal_set(self.obj, horizontal)
+
+ def select_mode_set(self, mode):
+ """Set the list select mode.
+
+ select_mode_set() changes item select mode in the list widget.
+ - ELM_OBJECT_SELECT_MODE_DEFAULT : Items will only call their
+ selection func and callback when first becoming selected. Any
+ further clicks will do nothing, unless you set always
+ select mode.
+ - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if
+ selected, every click will make the selected callbacks be called.
+ - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability
+ to select items entirely and they will neither appear
+ selected nor call selected callback functions.
+
+ @see: L{select_mode_get()}
+
+ @param mode: The select mode
+ @type mode: Elm_Object_Select_Mode
+
+ """
+ elm_list_select_mode_set(self.obj, mode)
+
+ def select_mode_get(self):
+ """Get the list select mode.
+
+ @see: L{select_mode_set()}
+
+ @return: The select mode (If getting mode is failed,
+ it returns ELM_OBJECT_SELECT_MODE_MAX)
+ @rtype: Elm_Object_Select_Mode
+
+ """
+ return elm_list_select_mode_get(self.obj)
+
+ property select_mode:
+ """The list select mode.
+
+ Possible modes are:
+ - ELM_OBJECT_SELECT_MODE_DEFAULT : Items will only call their
+ selection func and callback when first becoming selected. Any
+ further clicks will do nothing, unless you set always
+ select mode.
+ - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if
+ selected, every click will make the selected callbacks be
+ called.
+ - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability
+ to select items entirely and they will neither appear
+ selected nor call selected callback functions.
+
+ @type: Elm_Object_Select_Mode
+
+ """
+ def __set__(self, mode):
+ elm_list_select_mode_set(self.obj, mode)
+
+ def __get__(self):
+ return elm_list_select_mode_get(self.obj)
+
+ def bounce_set(self, h, v):
+ """Set bouncing behaviour when the scrolled content reaches an edge.
+
+ Tell the internal scroller object whether it should bounce or not
+ when it reaches the respective edges for each axis.
+
+ @see: L{Scroller.bounce_set()}
+
+ @param h_bounce: Whether to bounce or not in the horizontal axis.
+ @type h_bounce: bool
+ @param v_bounce: Whether to bounce or not in the vertical axis.
+ @type v_bounce: bool
+
+ """
+ elm_scroller_bounce_set(self.obj, h, v)
+
+ def bounce_get(self):
+ """Get the bouncing behaviour of the internal scroller.
+
+ Get whether the internal scroller should bounce when the edge of each
+ axis is reached scrolling.
+
+ @see: L{Scroller.bounce_get()}
+ @see: L{bounce_set()}
+
+ @return: The bounce states of horizontal axis and vertical axis.
+ @rtype: tuple of bools
+
+ """
+ cdef Eina_Bool h, v
+ elm_scroller_bounce_get(self.obj, &h, &v)
+ return (h, v)
+
+ property bounce:
+ """The bouncing behaviour when the scrolled content reaches an edge.
+
+ Whether the internal scroller object should bounce or not when it
+ reaches the respective edges for each axis.
+
+ @type: tuple of bools
+
+ """
+ def __set__(self, value):
+ h, v = value
+ elm_scroller_bounce_set(self.obj, h, v)
+
+ def scroller_policy_set(self, policy_h, policy_v):
+ """Set the scrollbar policy.
+
+ This sets the scrollbar visibility policy for the given scroller.
+ ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
+ is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns
+ it on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.
+ This applies respectively for the horizontal and vertical scrollbars.
+
+ The both are disabled by default, i.e., are set to
+ ELM_SCROLLER_POLICY_OFF.
+
+ @param policy_h: Horizontal scrollbar policy.
+ @type policy_h: Elm_Scroller_Policy
+ @param policy_v: Vertical scrollbar policy.
+ @type policy_v: Elm_Scroller_Policy
+
+ """
+ elm_scroller_policy_set(self.obj, policy_h, policy_v)
+
+ def scroller_policy_get(self):
+ """Get the scrollbar visibility policy.
+
+ @see: L{scroller_policy_get()} for details.
+
+ @return: Policy for horizontal axis and vertical axis.
+ @rtype: Elm_Scroller_Policy
+
+ """
+ cdef Elm_Scroller_Policy policy_h, policy_v
+ elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ return (policy_h, policy_v)
+
+ property scroller_policy:
+ """The scrollbar policy.
+
+ This sets the scrollbar visibility policy for the given scroller.
+ ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
+ is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns
+ it on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.
+ This applies respectively for the horizontal and vertical scrollbars.
+
+ The both are disabled by default, i.e., are set to
+ ELM_SCROLLER_POLICY_OFF.
+
+ @type: Elm_Scroller_Policy
+
+ """
+ def __set__(self, value):
+ policy_h, policy_v = value
+ elm_scroller_policy_set(self.obj, policy_h, policy_v)
+
+ def __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)
+
+ def item_append(self, label, evasObject icon = None,
+ evasObject end = None, callback = None, *args, **kargs):
+ """item_append(label, icon=None, end=None, callback=None, *args, **kargs)
+
+ Append a new item to the list object.
+
+ A new item will be created and appended to the list, i.e., will
+ be set as B{last} item.
+
+ Items created with this method can be deleted with L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time this item
+ is selected, i.e., the user clicks over an unselected item.
+ If always select is enabled it will call this function every time
+ user clicks over an item (already selected or not).
+ If such function isn't needed, just passing
+ C{None} as C{func} is enough.
+
+ Simple example (with no function callback or data associated)::
+ li = List(win)
+ ic = Icon(win)
+ ic.file_set("path/to/image")
+ ic.resizable_set(True, True)
+ li.item_append("label", ic, None, None)
+ li.go()
+ li.show()
+
+ @see: L{select_mode_set()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+ @see: L{Icon}
+
+ @param label: The label of the list item.
+ @type label: string
+ @param icon: The icon object to use for the left side of the item. An
+ icon can be any Evas object, but usually it is an L{Icon}.
+ @type icon: L{Object}
+ @param end: The icon object to use for the right side of the item. An
+ icon can be any Evas object.
+ @type end: L{Object}
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ListItem}
+
+ """
+ return ListItem(ELM_LIST_ITEM_INSERT_APPEND, self, label, icon, end,
+ None, callback, *args, **kargs)
+
+ def item_prepend(self, label, evasObject icon = None,
+ evasObject end = None, callback = None, *args, **kargs):
+ """item_prepend(label, icon=None, end=None, callback=None, *args, **kargs)
+
+ Prepend a new item to the list object.
+
+ A new item will be created and prepended to the list, i.e., will
+ be set as B{first} item.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If always select is enabled it will call this function every time
+ user clicks over an item (already selected or not). If such function
+ isn't needed, just passing C{None} as C{func} is enough.
+
+ @see: L{item_append()} for a simple code example.
+ @see: L{select_mode_set()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+ @see: L{Icon}
+
+ @param label: The label of the list item.
+ @type label: string
+ @param icon: The icon object to use for the left side of the item. An
+ icon can be any Evas object, but usually it is an L{Icon}.
+ @type icon: L{Object}
+ @param end: The icon object to use for the right side of the item. An
+ icon can be any Evas object.
+ @type end: L{Object}
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ListItem}
+
+ """
+ return ListItem(ELM_LIST_ITEM_INSERT_PREPEND, self, label, icon, end,
+ None, callback, *args, **kargs)
+
+ def item_insert_before(self, ListItem before, label, evasObject icon = None,
+ evasObject end = None, callback = None, *args, **kargs):
+ """item_insert_before(before, label, icon=None, end=None, callback=None, *args, **kargs)
+
+ Insert a new item into the list object before item C{before}.
+
+ A new item will be created and added to the list. Its position in
+ this list will be just before item C{before}.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If always select is enabled it will call this function every time
+ user clicks over an item (already selected or not). If such function
+ isn't needed, just passing C{None} as C{func} is enough.
+
+ @see: L{item_append()} for a simple code example.
+ @see: L{select_mode_set()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+ @see: L{Icon}
+
+ @param before: The list item to insert before.
+ @type before: L{ListItem}
+ @param label: The label of the list item.
+ @type label: string
+ @param icon: The icon object to use for the left side of the item. An
+ icon can be any Evas object, but usually it is an L{Icon}.
+ @type icon: L{Object}
+ @param end: The icon object to use for the right side of the item. An
+ icon can be any Evas object.
+ @type end: L{Object}
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ListItem}
+
+ """
+ return ListItem(ELM_LIST_ITEM_INSERT_BEFORE, self, label, icon, end,
+ before, callback, *args, **kargs)
+
+ def item_insert_after(self, ListItem after, label, evasObject icon = None,
+ evasObject end = None, callback = None, *args, **kargs):
+ """item_insert_after(after, label, icon=None, end=None, callback=None, *args, **kargs)
+
+ Insert a new item into the list object after item C{after}.
+
+ A new item will be created and added to the list. Its position in
+ this list will be just after item C{after}.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If always select is enabled it will call this function every time
+ user clicks over an item (already selected or not). If such function
+ isn't needed, just passing C{None} as C{func} is enough.
+
+ @see: L{item_append()} for a simple code example.
+ @see: L{select_mode_set()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+ @see: L{Icon}
+
+ @param after: The list item to insert after.
+ @type after: L{ListItem}
+ @param label: The label of the list item.
+ @type label: string
+ @param icon: The icon object to use for the left side of the item. An
+ icon can be any Evas object, but usually it is an L{Icon}.
+ @type icon: L{Object}
+ @param end: The icon object to use for the right side of the item. An
+ icon can be any Evas object.
+ @type end: L{Object}
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ListItem}
+
+ """
+ return ListItem(ELM_LIST_ITEM_INSERT_AFTER, self, label, icon, end,
+ after, callback, *args, **kargs)
+
+ #def item_sorted_insert(self, label, evasObject icon = None,
+ #evasObject end = None, callback = None, cmp_func=None, *args, **kargs):
+ """item_sorted_insert(label, icon=None, end=None, callback=None, cmp_func=None, *args, **kargs)
+
+ Insert a new item into the sorted list object.
+
+ A new item will be created and added to the list. Its position in
+ this list will be found comparing the new item with previously inserted
+ items using function C{cmp_func.
+
+ Items created with this method can be deleted with L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time this item
+ is selected, i.e., the user clicks over an unselected item.
+ If always select is enabled it will call this function every time
+ user clicks over an item (already selected or not).
+ If such function isn't needed, just passing
+ C{None} as C{func} is enough.
+
+ @see: L{item_append()} for a simple code example.
+ @see: L{select_mode_set()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+ @see: L{Icon}
+
+ @note: This function inserts values into a list object assuming it was
+ sorted and the result will be sorted.
+
+ @param label: The label of the list item.
+ @type label: string
+ @param icon: The icon object to use for the left side of the item.
+ An icon can be any Evas object, but usually it is
+ an L{Icon}.
+ @type icon: L{Object}
+ @param end: The icon object to use for the right side of the item.
+ An icon can be any Evas object.
+ @type end: L{Object}
+ @param func: The function to call when the item is clicked.
+ @type func: function
+ @param cmp_func: The comparing function to be used to sort list
+ items B{by L{ObjectItem} item handles}. This
+ function will receive two items and compare them,
+ returning a non-negative integer if the second item
+ should be place after the first, or negative value
+ if should be placed before.
+ @type cmp_func: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ListItem}
+
+ """
+ #return ListItem(ELM_LIST_ITEM_INSERT_SORTED, self, label, icon, end,
+ #None, callback, *args, **kargs)
+
+ def clear(self):
+ """clear()
+
+ Remove all list's items.
+
+ @see: L{ObjectItem.delete()}
+ @see: L{item_append()}
+
+ """
+ elm_list_clear(self.obj)
+
+ def items_get(self):
+ """Get a list of all the list items.
+
+ @see: L{item_append()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+
+ @return: A tuple of list items, or C{None} on failure.
+ @rtype: tuple of L{ListItem}s
+
+ """
+ return _object_item_list_to_python(elm_list_items_get(self.obj))
+
+ property items:
+ """Get a list of all the list items.
+
+ @see: L{item_append()}
+ @see: L{ObjectItem.delete()}
+ @see: L{clear()}
+
+ @type: tuple of L{ListItem}s
+
+ """
+ def __get__(self):
+ return _object_item_list_to_python(elm_list_items_get(self.obj))
+
+ def selected_item_get(self):
+ """Get the selected item.
+
+ The selected item can be unselected with function
+ L{ListItem.selected_set()}.
+
+ The selected item always will be highlighted on list.
+
+ @see: L{selected_items_get()}
+
+ @return: The selected list item.
+ @rtype: L{ListItem}
+
+ """
+ return _object_item_to_python(elm_list_selected_item_get(self.obj))
+
+ property selected_item:
+ """Get the selected item.
+
+ The selected item can be unselected with function
+ L{ListItem.selected_set()}.
+
+ The selected item always will be highlighted on list.
+
+ @see: L{selected_items}
+
+ @type: L{ListItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_list_selected_item_get(self.obj))
+
+ def selected_items_get(self):
+ """Return a list of the currently selected list items.
+
+ Multiple items can be selected if multi select is enabled. It can be
+ done with L{multi_select_set()}.
+
+ @see: L{selected_item_get()}
+ @see: L{multi_select_set()}
+
+ @return: A tuple of list items, or C{None} on failure.
+ @rtype: tuple of L{ListItem}s
+
+ """
+ return _object_item_list_to_python(elm_list_selected_items_get(self.obj))
+
+ property selected_items:
+ """Return a list of the currently selected list items.
+
+ Multiple items can be selected if multi select is enabled. It can be
+ done with L{multi_select_set()}.
+
+ @see: L{selected_item}
+ @see: L{multi_select}
+
+ @type: tuple of L{ListItem}s
+
+ """
+ def __get__(self):
+ return _object_item_list_to_python(elm_list_selected_items_get(self.obj))
+
+ def first_item_get(self):
+ """Get the first item in the list
+
+ This returns the first item in the list.
+
+ @return: The first item, or None
+ @rtype: L{ListItem}
+
+ """
+ return _object_item_to_python(elm_list_first_item_get(self.obj))
+
+ property first_item:
+ """The first item in the list
+
+ @type: L{ListItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_list_first_item_get(self.obj))
+
+ def last_item_get(self):
+ """Get the last item in the list
+
+ This returns the last item in the list.
+
+ @return: The last item, or None
+ @rtype: L{ListItem}
+
+ """
+ return _object_item_to_python(elm_list_last_item_get(self.obj))
+
+ property last_item:
+ """The last item in the list
+
+ @type: L{ListItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_list_last_item_get(self.obj))
+
+ def callback_activated_add(self, func, *args, **kwargs):
+ """The user has double-clicked or pressed (enter|return|spacebar) on
+ an item. The C{event_info} parameter is the item that was activated."""
+ self._callback_add_full("activated", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ 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):
+ """The user has double-clicked an item. The C{event_info} parameter
+ is the item that was double-clicked."""
+ self._callback_add_full("clicked,double", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del_full("clicked,double", _cb_object_item_conv, func)
+
+ def callback_selected_add(self, func, *args, **kwargs):
+ """When the user selected an item."""
+ self._callback_add_full("selected", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_selected_del(self, func):
+ self._callback_del_full("selected", _cb_object_item_conv, func)
+
+ def callback_unselected_add(self, func, *args, **kwargs):
+ """When the user unselected an item."""
+ self._callback_add_full("unselected", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_unselected_del(self, func):
+ self._callback_del_full("unselected", _cb_object_item_conv, func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ """An item in the list is long-pressed."""
+ self._callback_add_full("longpressed", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del_full("longpressed", _cb_object_item_conv, func)
+
+ def callback_edge_top_add(self, func, *args, **kwargs):
+ """The list is scrolled until the top edge."""
+ self._callback_add("edge,top", func, *args, **kwargs)
+
+ def callback_edge_top_del(self, func):
+ self._callback_del("edge,top", func)
+
+ def callback_edge_bottom_add(self, func, *args, **kwargs):
+ """The list is scrolled until the bottom edge."""
+ self._callback_add("edge,bottom", func, *args, **kwargs)
+
+ def callback_edge_bottom_del(self, func):
+ self._callback_del("edge,bottom", func)
+
+ def callback_edge_left_add(self, func, *args, **kwargs):
+ """The list is scrolled until the left edge."""
+ self._callback_add("edge,left", func, *args, **kwargs)
+
+ def callback_edge_left_del(self, func):
+ self._callback_del("edge,left", func)
+
+ def callback_edge_right_add(self, func, *args, **kwargs):
+ """The list is scrolled until the right edge."""
+ self._callback_add("edge,right", func, *args, **kwargs)
+
+ def callback_edge_right_del(self, func):
+ self._callback_del("edge,right", func)
+
+ def callback_language_changed_add(self, func, *args, **kwargs):
+ """The program's language changed."""
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+_elm_widget_type_register("list", List)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryList_Type # hack to install metaclass
+_install_metaclass(&PyElementaryList_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_map.pxi b/elementary/elementary.c_elementary_map.pxi
new file mode 100644
index 0000000..3fd08b1
--- /dev/null
+++ b/elementary/elementary.c_elementary_map.pxi
@@ -0,0 +1,794 @@
+# Copyright (c) 2012 Davide Andreoli <dave@gurumeditation.it>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport eina_list_free, eina_list_append
+
+cdef _elm_map_overlay_to_python(Elm_Map_Overlay *ov):
+ cdef void *data
+
+ if ov == NULL:
+ return None
+ data = elm_map_overlay_data_get(ov)
+ if data == NULL:
+ return None
+ return <object>data
+
+cdef void _map_overlay_get_callback(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+ cdef Object obj
+
+ obj = <Object>evas_object_data_get(map, "python-evas")
+ try:
+ (func, args, kwargs) = <object>data
+ func(obj, _elm_map_overlay_to_python(overlay), *args, **kwargs)
+ except Exception, e:
+ traceback.print_exc()
+
+cdef void _map_overlay_del_cb(void *data, Evas_Object *map, Elm_Map_Overlay *overlay) with gil:
+ ov = <object>data
+ ov.__del_cb()
+
+cdef void _map_route_callback(void *data, Evas_Object *map, Elm_Map_Route *route) with gil:
+ cdef Object obj
+
+ obj = <Object>evas_object_data_get(map, "python-evas")
+ (proute, func, args, kwargs) = <object>data
+ try:
+ func(obj, proute, *args, **kwargs)
+ except Exception, e:
+ traceback.print_exc()
+
+ Py_DECREF(<object>data)
+
+cdef void _map_name_callback(void *data, Evas_Object *map, Elm_Map_Name *name) with gil:
+ cdef Object obj
+
+ obj = <Object>evas_object_data_get(map, "python-evas")
+ (pname, func, args, kwargs) = <object>data
+ try:
+ func(obj, pname, *args, **kwargs)
+ except Exception, e:
+ traceback.print_exc()
+
+ Py_DECREF(<object>data)
+
+
+cdef class MapRoute(object):
+ cdef Elm_Map_Route *route
+
+ def __cinit__(self):
+ self.route = NULL
+
+ def __init__(self, evasObject map,
+ Elm_Map_Route_Type type, Elm_Map_Route_Method method,
+ double flon, double flat, double tlon, double tlat,
+ func, *args, **kwargs):
+
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ data = (self, func, args, kwargs)
+ self.route = elm_map_route_add(map.obj, type, method,
+ flon, flat, tlon, tlat,
+ _map_route_callback, <void *>data)
+ Py_INCREF(data)
+ Py_INCREF(self)
+
+ def delete(self):
+ elm_map_route_del(self.route)
+ self.route = NULL
+ Py_DECREF(self)
+
+ def distance_get(self):
+ return elm_map_route_distance_get(self.route)
+
+ property distance:
+ def __get__(self):
+ return self.distance_get()
+
+ def node_get(self):
+ return elm_map_route_node_get(self.route)
+
+ property node:
+ def __get__(self):
+ return self.node_get()
+
+ def waypoint_get(self):
+ return elm_map_route_waypoint_get(self.route)
+
+ property waypoint:
+ def __get__(self):
+ return self.waypoint_get()
+
+
+cdef class MapName(object):
+ cdef Elm_Map_Name *name
+
+ def __cinit__(self):
+ self.name = NULL
+
+ def __init__(self, evasObject map, address, double lon, double lat,
+ func, *args, **kwargs):
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ data = (self, func, args, kwargs)
+ if address:
+ self.name = elm_map_name_add(map.obj, address, lon, lat,
+ _map_name_callback, <void *>data)
+ else:
+ self.name = elm_map_name_add(map.obj, NULL, lon, lat,
+ _map_name_callback, <void *>data)
+ Py_INCREF(data)
+ Py_INCREF(self)
+
+ def delete(self):
+ elm_map_name_del(self.name)
+ self.name = NULL
+ Py_DECREF(self)
+
+ def address_get(self):
+ return _ctouni(elm_map_name_address_get(self.name))
+
+ property address:
+ def __get__(self):
+ return self.address_get()
+
+ def region_get(self):
+ cdef double lon, lat
+
+ elm_map_name_region_get(self.name, &lon, &lat)
+ return (lon, lat)
+
+ property region:
+ def __get__(self):
+ return self.region_get()
+
+
+cdef class MapOverlay(object):
+ cdef Elm_Map_Overlay *overlay
+ cdef void* cb_get_data
+
+ def __cinit__(self):
+ self.overlay = NULL
+ self.cb_get_data = NULL
+
+ def __init__(self, evasObject Map, double lon, double lat):
+ self.overlay = elm_map_overlay_add(Map.obj, lon, lat)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+ def __del_cb(self):
+ self.overlay = NULL
+ Py_DECREF(self)
+
+ def delete(self):
+ if self.overlay == NULL:
+ raise ValueError("Object already deleted")
+ elm_map_overlay_del(self.overlay)
+
+ def type_get(self):
+ return elm_map_overlay_type_get(self.overlay)
+
+ property type:
+ def __get__(self):
+ return self.type_get()
+
+ def hide_set(self, hide):
+ elm_map_overlay_hide_set(self.overlay, bool(hide))
+
+ def hide_get(self):
+ return bool(elm_map_overlay_hide_get(self.overlay))
+
+ property hide:
+ def __get__(self):
+ return self.hide_get()
+ def __set__(self, value):
+ self.hide_set(value)
+
+ def displayed_zoom_min_set(self, zoom):
+ elm_map_overlay_displayed_zoom_min_set(self.overlay, zoom)
+
+ def displayed_zoom_min_get(self):
+ return elm_map_overlay_displayed_zoom_min_get(self.overlay)
+
+ property displayed_zoom_min:
+ def __get__(self):
+ return self.displayed_zoom_min_get()
+ def __set__(self, value):
+ self.displayed_zoom_min_set(value)
+
+ def paused_set(self, paused):
+ elm_map_overlay_paused_set(self.overlay, paused)
+
+ def paused_get(self):
+ return elm_map_overlay_paused_get(self.overlay)
+
+ property paused:
+ def __get__(self):
+ return self.paused_get()
+ def __set__(self, value):
+ self.paused_set(value)
+
+ def visible_get(self):
+ return bool(elm_map_overlay_visible_get(self.overlay))
+
+ property visible:
+ def __get__(self):
+ return self.visible_get()
+
+ def content_set(self, Object content):
+ elm_map_overlay_content_set(self.overlay, content.obj)
+
+ def content_get(self):
+ cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_content_get(self.overlay)
+ return Object_from_instance(obj)
+
+ property content:
+ def __get__(self):
+ return self.content_get()
+ def __set__(self, value):
+ self.content_set(value)
+
+ def icon_set(self, Object icon):
+ elm_map_overlay_icon_set(self.overlay, icon.obj)
+
+ def icon_get(self):
+ cdef Evas_Object *obj = <Evas_Object *>elm_map_overlay_icon_get(self.overlay)
+ return Object_from_instance(obj)
+
+ property icon:
+ def __get__(self):
+ return self.icon_get()
+ def __set__(self, value):
+ self.icon_set(value)
+
+ def region_set(self, lon, lat):
+ elm_map_overlay_region_set(self.overlay, lon, lat)
+
+ def region_get(self):
+ cdef double lon, lat
+ elm_map_overlay_region_get(self.overlay, &lon, &lat)
+ return (lon, lat)
+
+ property region:
+ def __get__(self):
+ return self.region_get()
+ def __set__(self, value):
+ self.region_set(*value)
+
+ def color_set(self, r, g, b, a):
+ elm_map_overlay_color_set(self.overlay, r, g, b, a)
+
+ def color_get(self):
+ cdef int r, g, b, a
+ elm_map_overlay_color_get(self.overlay, &r, &g, &b, &a)
+ return (r, g, b, a)
+
+ property color:
+ def __get__(self):
+ return self.color_get()
+ def __set__(self, value):
+ self.color_set(*value)
+
+ def show(self):
+ elm_map_overlay_show(self.overlay)
+
+ def callback_clicked_set(self, func, *args, **kwargs):
+ if not callable(func):
+ raise TypeError("func must be callable")
+ cb_data = (func, args, kwargs)
+ elm_map_overlay_get_cb_set(self.overlay, _map_overlay_get_callback,
+ <void *>cb_data)
+ Py_INCREF(cb_data)
+ self.cb_get_data
+
+ def callback_clicked_unset(self, func):
+ elm_map_overlay_get_cb_set(self.overlay, NULL, NULL)
+ cb_data = <object>self.cb_get_data
+ self.cb_get_data = NULL
+ Py_DECREF(cb_data)
+
+
+cdef class MapOverlayClass(MapOverlay):
+
+ def __init__(self, evasObject Map):
+ self.overlay = elm_map_overlay_class_add(Map.obj)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+ def append(self, MapOverlay overlay):
+ elm_map_overlay_class_append(self.overlay, overlay.overlay)
+
+ def remove(self, MapOverlay overlay):
+ elm_map_overlay_class_remove(self.overlay, overlay.overlay)
+
+ def zoom_max_set(self, zoom):
+ elm_map_overlay_class_zoom_max_set(self.overlay, zoom)
+
+ def zoom_max_get(self):
+ return elm_map_overlay_class_zoom_max_get(self.overlay)
+
+ property zoom_max:
+ def __get__(self):
+ return self.zoom_max_get()
+ def __set__(self, value):
+ self.zoom_max_set(value)
+
+ def members_get(self):
+ cdef Eina_List *lst
+ cdef Elm_Map_Overlay *ov
+ lst = elm_map_overlay_group_members_get(self.overlay)# TODO this is somehow wrong... group <> class
+
+ ret = []
+ ret_append = ret.append
+ while lst:
+ ov = <Elm_Map_Overlay *>lst.data
+ lst = lst.next
+ o = _elm_map_overlay_to_python(ov)
+ if o is not None:
+ ret_append(o)
+ return ret
+
+ property members:
+ def __get__(self):
+ return self.members_get()
+
+
+cdef class MapOverlayBubble(MapOverlay):
+
+ def __init__(self, evasObject Map):
+ self.overlay = elm_map_overlay_bubble_add(Map.obj)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+ def follow(self, MapOverlay overlay):
+ elm_map_overlay_bubble_follow(self.overlay, overlay.overlay)
+
+ def content_append(self, evasObject content):
+ elm_map_overlay_bubble_content_append(self.overlay, content.obj)
+
+ def content_clear(self):
+ elm_map_overlay_bubble_content_clear(self.overlay)
+
+
+cdef class MapOverlayLine(MapOverlay):
+
+ def __init__(self, evasObject Map, flon, flat, tlot, tlat):
+ self.overlay = elm_map_overlay_line_add(Map.obj, flon, flat, tlot, tlat)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+
+cdef class MapOverlayPolygon(MapOverlay):
+
+ def __init__(self, evasObject Map):
+ self.overlay = elm_map_overlay_polygon_add(Map.obj)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+ def region_add(self, lon, lat):
+ elm_map_overlay_polygon_region_add(self.overlay, lon, lat)
+
+
+cdef class MapOverlayCircle(MapOverlay):
+
+ def __init__(self, evasObject Map, lon, lat, radius):
+ self.overlay = elm_map_overlay_circle_add(Map.obj, lon, lat, radius)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+
+cdef class MapOverlayScale(MapOverlay):
+
+ def __init__(self, evasObject Map, x, y):
+ self.overlay = elm_map_overlay_scale_add(Map.obj, x, y)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+
+cdef class MapOverlayRoute(MapOverlay):
+
+ def __init__(self, evasObject Map, MapRoute route):
+ self.overlay = elm_map_overlay_route_add(Map.obj, route.route)
+ elm_map_overlay_data_set(self.overlay, <void *>self)
+ elm_map_overlay_del_cb_set(self.overlay, _map_overlay_del_cb, <void *>self)
+ Py_INCREF(self)
+
+
+cdef public class Map(Object)[object PyElementaryMap, type PyElementaryMap_Type]:
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_map_add(parent.obj))
+
+ def zoom_set(self, zoom):
+ elm_map_zoom_set(self.obj, zoom)
+
+ def zoom_get(self):
+ return elm_map_zoom_get(self.obj)
+
+ property zoom:
+ def __get__(self):
+ return self.zoom_get()
+ def __set__(self, value):
+ self.zoom_set(value)
+
+ def zoom_mode_set(self, mode):
+ elm_map_zoom_mode_set(self.obj, mode)
+
+ def zoom_mode_get(self):
+ return elm_map_zoom_mode_get(self.obj)
+
+ property zoom_mode:
+ def __get__(self):
+ return self.zoom_mode_get()
+ def __set__(self, value):
+ self.zoom_mode_set(value)
+
+ def zoom_min_set(self, zoom):
+ elm_map_zoom_min_set(self.obj, zoom)
+
+ def zoom_min_get(self):
+ return elm_map_zoom_min_get(self.obj)
+
+ property zoom_min:
+ def __get__(self):
+ return self.zoom_min_get()
+ def __set__(self, value):
+ self.zoom_min_set(value)
+
+ def zoom_max_set(self, zoom):
+ elm_map_zoom_max_set(self.obj, zoom)
+
+ def zoom_max_get(self):
+ return elm_map_zoom_max_get(self.obj)
+
+ property zoom_max:
+ def __get__(self):
+ return self.zoom_max_get()
+ def __set__(self, value):
+ self.zoom_max_set(value)
+
+ def region_get(self):
+ cdef double lon, lat
+ elm_map_region_get(self.obj, &lon, &lat)
+ return (lon, lat)
+
+ property region:
+ def __get__(self):
+ return self.region_get()
+
+ def region_bring_in(self, lon, lat):
+ elm_map_region_bring_in(self.obj, lon, lat)
+
+ def region_show(self, lon, lat):
+ elm_map_region_show(self.obj, lon, lat)
+
+ def canvas_to_region_convert(self, x, y):
+ cdef double lon, lat
+ elm_map_canvas_to_region_convert(self.obj, x, y, &lon, &lat)
+ return (lon, lat)
+
+ def region_to_canvas_convert(self, lon, lat):
+ cdef Evas_Coord x, y
+ elm_map_region_to_canvas_convert(self.obj, lon, lat, &x, &y)
+ return (x, y)
+
+ def paused_set(self, paused):
+ elm_map_paused_set(self.obj, bool(paused))
+
+ def paused_get(self):
+ return bool(elm_map_paused_get(self.obj))
+
+ property paused:
+ def __get__(self):
+ return self.paused_get()
+ def __set__(self, value):
+ self.paused_set(value)
+
+ def rotate_set(self, degree, cx, cy):
+ elm_map_rotate_set(self.obj, degree, cx, cy)
+
+ def rotate_get(self):
+ cdef double degree
+ cdef Evas_Coord cx, cy
+ elm_map_rotate_get(self.obj, &degree, &cx, &cy)
+ return (degree, cx, cy)
+
+ property rotate:
+ def __get__(self):
+ return self.rotate_get()
+ def __set__(self, value):
+ self.rotate_set(*value)
+
+ def wheel_disabled_set(self, disabled):
+ elm_map_wheel_disabled_set(self.obj, bool(disabled))
+
+ def wheel_disabled_get(self):
+ return bool(elm_map_wheel_disabled_get(self.obj))
+
+ property wheel_disabled:
+ def __get__(self):
+ return self.wheel_disabled_get()
+ def __set__(self, value):
+ self.wheel_disabled_set(value)
+
+ def user_agent_set(self, user_agent):
+ elm_map_user_agent_set(self.obj, user_agent)
+
+ def user_agent_get(self):
+ return elm_map_user_agent_get(self.obj)
+
+ property user_agent:
+ def __get__(self):
+ return self.user_agent_get()
+ def __set__(self, value):
+ self.user_agent_set(value)
+
+ def overlay_add(self, lon, lat):
+ return MapOverlay(self, lon, lat)
+
+ def overlays_get(self):
+ cdef Eina_List *lst
+ cdef Elm_Map_Overlay *ov
+ lst = elm_map_overlays_get(self.obj)
+
+ ret = []
+ ret_append = ret.append
+ while lst:
+ ov = <Elm_Map_Overlay *>lst.data
+ lst = lst.next
+ o = _elm_map_overlay_to_python(ov)
+ if o is not None:
+ ret_append(o)
+ return ret
+
+ property overlays:
+ def __get__(self):
+ return self.overlays_get()
+
+ def overlays_show(self, overlays):
+ cdef Eina_List *lst
+
+ lst = NULL
+ for overlay in overlays:
+ ov = <MapOverlay>overlay
+ lst = eina_list_append(lst, ov.overlay)
+ elm_map_overlays_show(lst)
+ eina_list_free(lst)
+
+ def overlay_bubble_add(self):
+ return MapOverlayBubble(self)
+
+ def overlay_line_add(self, flon, flat, tlon, tlat):
+ return MapOverlayLine(self, flon, flat, tlon, tlat)
+
+ def overlay_polygon_add(self):
+ return MapOverlayPolygon(self)
+
+ def overlay_circle_add(self, lon, lat, radius):
+ return MapOverlayCircle(self, lon, lat, radius)
+
+ def overlay_scale_add(self, x, y):
+ return MapOverlayScale(self, x, y)
+
+ def overlay_class_add(self):
+ return MapOverlayClass(self)
+
+ def overlay_route_add(self, route):
+ return MapOverlayRoute(self, route)
+
+ def tile_load_status_get(self):
+ cdef int try_num, finish_num
+
+ elm_map_tile_load_status_get(self.obj, &try_num, &finish_num)
+ return (try_num, finish_num)
+
+ property tile_load_status_get:
+ def __get__(self):
+ return self.tile_load_status_get_get()
+
+ def sources_get(self, type):
+ cdef const_char_ptr *lst
+
+ i = 0
+ ret = []
+ lst = elm_map_sources_get(self.obj, type)
+ while (lst[i]):
+ ret.append(_ctouni(lst[i]))
+ i += 1
+
+ return ret
+
+ def source_set(self, type, source_name):
+ elm_map_source_set(self.obj, type, _cfruni(source_name))
+
+ def source_get(self, type):
+ return _ctouni(elm_map_source_get(self.obj, type))
+
+ def route_add(self, Elm_Map_Route_Type type, Elm_Map_Route_Method method,
+ double flon, double flat, double tlon, double tlat,
+ route_cb, *args, **kwargs):
+ return MapRoute(self, type, method, flon, flat, tlon, tlat,
+ route_cb, *args, **kwargs)
+
+ def name_add(self, address, double lon, double lat,
+ name_cb, *args, **kwargs):
+ return MapName(self, address, lon, lat, name_cb, *args, **kwargs)
+
+ # TODO elm_map_track_add
+
+ # TODO elm_map_track_remove
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_clicked_double_add(self, func, *args, **kwargs):
+ self._callback_add("clicked,double", func, *args, **kwargs)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del("clicked,double", func)
+
+ def callback_press_add(self, func, *args, **kwargs):
+ self._callback_add("press", func, *args, **kwargs)
+
+ def callback_press_del(self, func):
+ self._callback_del("press", func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ self._callback_add("longpressed", func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del("longpressed", func)
+
+ def callback_scroll_add(self, func, *args, **kwargs):
+ self._callback_add("scroll", func, *args, **kwargs)
+
+ def callback_scroll_del(self, func):
+ self._callback_del("scroll", func)
+
+ def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ self._callback_add("scroll,drag,start", func, *args, **kwargs)
+
+ 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):
+ self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+
+ def callback_scroll_drag_stop_del(self, func):
+ self._callback_del("scroll,drag,stop", func)
+
+ def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ self._callback_add("scroll,anim,start", func, *args, **kwargs)
+
+ 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):
+ self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+
+ def callback_scroll_anim_stop_del(self, func):
+ self._callback_del("scroll,anim,stop", func)
+
+ def callback_zoom_start_add(self, func, *args, **kwargs):
+ self._callback_add("zoom,start", func, *args, **kwargs)
+
+ def callback_zoom_start_del(self, func):
+ self._callback_del("zoom,start", func)
+
+ def callback_zoom_stop_add(self, func, *args, **kwargs):
+ self._callback_add("zoom,stop", func, *args, **kwargs)
+
+ def callback_zoom_stop_del(self, func):
+ self._callback_del("zoom,stop", func)
+
+ def callback_zoom_change_add(self, func, *args, **kwargs):
+ self._callback_add("zoom,change", func, *args, **kwargs)
+
+ def callback_zoom_change_del(self, func):
+ self._callback_del("zoom,change", func)
+
+ def callback_tile_load_add(self, func, *args, **kwargs):
+ self._callback_add("tile,load", func, *args, **kwargs)
+
+ def callback_tile_load_del(self, func):
+ self._callback_del("tile,load", func)
+
+ def callback_tile_loaded_add(self, func, *args, **kwargs):
+ self._callback_add("tile,loaded", func, *args, **kwargs)
+
+ def callback_tile_loaded_del(self, func):
+ self._callback_del("tile,loaded", func)
+
+ def callback_tile_loaded_fail_add(self, func, *args, **kwargs):
+ self._callback_add("tile,loaded,fail", func, *args, **kwargs)
+
+ def callback_tile_loaded_fail_del(self, func):
+ self._callback_del("tile,loaded,fail", func)
+
+ def callback_route_load_add(self, func, *args, **kwargs):
+ self._callback_add("route,load", func, *args, **kwargs)
+
+ def callback_route_load_del(self, func):
+ self._callback_del("route,load", func)
+
+ def callback_route_loaded_add(self, func, *args, **kwargs):
+ self._callback_add("route,loaded", func, *args, **kwargs)
+
+ def callback_route_loaded_del(self, func):
+ self._callback_del("route,loaded", func)
+
+ def callback_route_loaded_fail_add(self, func, *args, **kwargs):
+ self._callback_add("route,loaded,fail", func, *args, **kwargs)
+
+ def callback_route_loaded_fail_del(self, func):
+ self._callback_del("route,loaded,fail", func)
+
+ def callback_name_load_add(self, func, *args, **kwargs):
+ self._callback_add("name,load", func, *args, **kwargs)
+
+ def callback_name_load_del(self, func):
+ self._callback_del("name,load", func)
+
+ def callback_name_loaded_add(self, func, *args, **kwargs):
+ self._callback_add("name,loaded", func, *args, **kwargs)
+
+ def callback_name_loaded_del(self, func):
+ self._callback_del("name,loaded", func)
+
+ def callback_name_loaded_fail_add(self, func, *args, **kwargs):
+ self._callback_add("name,loaded,fail", func, *args, **kwargs)
+
+ def callback_name_loaded_fail_del(self, func):
+ self._callback_del("name,loaded,fail", func)
+
+ def callback_overlay_clicked_add(self, func, *args, **kwargs):
+ self._callback_add("overlay,clicked", func, *args, **kwargs)
+
+ def callback_overlay_clicked_del(self, func):
+ self._callback_del("overlay,clicked", func)
+
+ def callback_overlay_del_add(self, func, *args, **kwargs):
+ self._callback_add("overlay,del", func, *args, **kwargs)
+
+ def callback_overlay_del_del(self, func):
+ self._callback_del("overlay,del", func)
+
+ def callback_loaded_add(self, func, *args, **kwargs):
+ self._callback_add("loaded", func, *args, **kwargs)
+
+ def callback_loaded_del(self, func):
+ self._callback_del("loaded", func)
+
+
+_elm_widget_type_register("map", Map)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryMap_Type # hack to install metaclass
+_install_metaclass(&PyElementaryMap_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_mapbuf.pxi b/elementary/elementary.c_elementary_mapbuf.pxi
new file mode 100644
index 0000000..dd4c69a
--- /dev/null
+++ b/elementary/elementary.c_elementary_mapbuf.pxi
@@ -0,0 +1,138 @@
+# Copyright (c) 2012 Davide Andreoli <dave@gurumeditation.it>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Mapbuf(Object) [object PyElementaryMapbuf, type PyElementaryMapbuf_Type]:
+
+ """This holds one content object and uses an Evas Map of transformation
+ points to be later used with this content. So the content will be
+ moved, resized, etc as a single image. So it will improve performance
+ when you have a complex interface, with a lot of elements, and will
+ need to resize or move it frequently (the content object and its
+ children).
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_mapbuf_add(parent.obj))
+
+ def enabled_set(self, enabled):
+ """Enable or disable the map.
+
+ @param enabled: A boolean to set if the map should me enabled.
+ @type enabled: bool
+
+ """
+ elm_mapbuf_enabled_set(self.obj, enabled)
+
+ def enabled_get(self):
+ """Get the enabled state of the map.
+
+ @return: A boolean to indicating if the map is enabled
+ @rtype: bool
+
+ """
+ return bool(elm_mapbuf_enabled_get(self.obj))
+
+ property enabled:
+ """The enabled state of the map.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_mapbuf_enabled_get(self.obj))
+ def __set__(self, enabled):
+ elm_mapbuf_enabled_set(self.obj, enabled)
+
+ def smooth_set(self, smooth):
+ """Enable or disable smooth map rendering.
+
+ This sets smoothing for map rendering. If the object is a type that has
+ its own smoothing settings, then both the smooth settings for this object
+ and the map must be turned off.
+
+ By default smooth maps are enabled.
+
+ @param smooth: A boolean to set if the map should me enabled.
+ @type smooth: bool
+
+ """
+ elm_mapbuf_smooth_set(self.obj, smooth)
+
+ def smooth_get(self):
+ """Get the smooth state of the map.
+
+ @return: A boolean to indicating if the map will use smooth rendering
+ @rtype: bool
+
+ """
+ return bool(elm_mapbuf_smooth_get(self.obj))
+
+ property smooth:
+ """Smooth map rendering.
+
+ This sets smoothing for map rendering. If the object is a type that has
+ its own smoothing settings, then both the smooth settings for this object
+ and the map must be turned off.
+
+ By default smooth maps are enabled.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_mapbuf_smooth_get(self.obj))
+ def __set__(self, smooth):
+ elm_mapbuf_smooth_set(self.obj, smooth)
+
+ def alpha_set(self, alpha):
+ """Set or unset alpha flag for map rendering.
+
+ @param alpha: A boolean to set if the map should use transparency
+ @type alpha: bool
+
+ """
+ elm_mapbuf_alpha_set(self.obj, alpha)
+
+ def alpha_get(self):
+ """Get the alpha state of the map.
+
+ @return: A boolean to indicating if the alpha is enabled
+ @rtype: bool
+
+ """
+ return bool(elm_mapbuf_alpha_get(self.obj))
+
+ property alpha:
+ """The alpha state of the map.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_mapbuf_alpha_get(self.obj))
+ def __set__(self, alpha):
+ elm_mapbuf_alpha_set(self.obj, alpha)
+
+
+_elm_widget_type_register("mapbuf", Mapbuf)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryMapbuf_Type # hack to install metaclass
+_install_metaclass(&PyElementaryMapbuf_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_menu.pxi b/elementary/elementary.c_elementary_menu.pxi
new file mode 100644
index 0000000..6044df6
--- /dev/null
+++ b/elementary/elementary.c_elementary_menu.pxi
@@ -0,0 +1,456 @@
+# Copyright (c) 2010 Boris Faure
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class MenuItem(ObjectItem):
+
+ """An item for the L{Menu} widget."""
+
+ def __init__( self,
+ evasObject menu,
+ MenuItem parent = None,
+ label = None,
+ icon = None,
+ callback = None,
+ *args, **kargs):
+
+ cdef Elm_Object_Item *item, *parent_obj = NULL
+ cdef Evas_Smart_Cb cb = NULL
+
+ parent_obj = parent.item if parent is not None else NULL
+
+ if callback is not None:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+ item = elm_menu_item_add( menu.obj,
+ parent_obj,
+ _cfruni(icon) if icon is not None else NULL,
+ _cfruni(label) if label is not None else NULL,
+ cb,
+ <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def object_get(self):
+ """Get the Evas_Object of an Elm_Object_Item
+
+ @warning: Don't manipulate this object!
+
+ @return: The edje object containing the swallowed content
+
+ """
+ return Object_from_instance(elm_menu_item_object_get(self.item))
+
+ def icon_name_set(self, icon):
+ """Set the icon of a menu item to the standard icon with name C{icon}
+
+ Once this icon is set, any previously set icon will be deleted.
+
+ @param icon: The name of icon object to set for the content of item
+ @type icon: string
+
+ """
+ elm_menu_item_icon_name_set(self.item, _cfruni(icon))
+
+ def icon_name_get(self):
+ """Get the string representation from the icon of a menu item
+
+ @see: L{icon_name_set()}
+
+ @return: The string representation of item's icon or None
+ @rtype: string
+
+ """
+ return _ctouni(elm_menu_item_icon_name_get(self.item))
+
+ property icon_name:
+ """The standard icon name of a menu item
+
+ Once this icon is set, any previously set icon will be deleted.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_menu_item_icon_name_get(self.item))
+ def __set__(self, icon):
+ elm_menu_item_icon_name_set(self.item, _cfruni(icon))
+
+ def selected_set(self, selected):
+ """Set the selected state of the item.
+
+ @param selected: The selected/unselected state of the item
+ @type selected: bool
+
+ """
+ elm_menu_item_selected_set(self.item, selected)
+
+ def selected_get(self):
+ """Get the selected state of the item.
+
+ @see: L{selected_set()}
+
+ @return: The selected/unselected state of the item
+ @rtype: bool
+
+ """
+ return elm_menu_item_selected_get(self.item)
+
+ property selected:
+ """The selected state of the item.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_menu_item_selected_get(self.item)
+ def __set__(self, selected):
+ elm_menu_item_selected_set(self.item, selected)
+
+ def is_separator(self):
+ """is_separator()
+
+ Returns whether the item is a separator.
+
+ @see: L{Menu.item_separator_add()}
+
+ @return: If True, the item is a separator
+ @rtype: bool
+
+ """
+ return False
+
+ def subitems_get(self):
+ """Returns a list of item's subitems.
+
+ @return: A tuple of item's subitems
+ @rtype: tuple of L{MenuItem}s
+
+ """
+ return _object_item_list_to_python(elm_menu_item_subitems_get(self.item))
+
+ property subitems:
+ """A list of item's subitems.
+
+ @type: tuple of L{MenuItem}s
+
+ """
+ def __get__(self):
+ return _object_item_list_to_python(elm_menu_item_subitems_get(self.item))
+
+ def index_get(self):
+ """Get the position of a menu item
+
+ This function returns the index position of a menu item in a menu.
+ For a sub-menu, this number is relative to the first item in the sub-menu.
+
+ @note: Index values begin with 0
+
+ @return: The item's index
+ @rtype: int
+
+ """
+ return elm_menu_item_index_get(self.item)
+
+ property index:
+ """Get the position of a menu item
+
+ This function returns the index position of a menu item in a menu.
+ For a sub-menu, this number is relative to the first item in the
+ sub-menu.
+
+ @note: Index values begin with 0
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_menu_item_index_get(self.item)
+
+ def next_get(self):
+ """Get the next item in the menu.
+
+ @return: The item after it, or None
+ @rtype: L{MenuItem}
+
+ """
+ return _object_item_to_python(elm_menu_item_next_get(self.item))
+
+ property next:
+ """Get the next item in the menu.
+
+ @type: L{MenuItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_menu_item_next_get(self.item))
+
+ def prev_get(self):
+ """Get the previous item in the menu.
+
+ @return: The item before it, or None
+ @rtype: L{MenuItem}
+
+ """
+ return _object_item_to_python(elm_menu_item_prev_get(self.item))
+
+ property prev:
+ """Get the previous item in the menu.
+
+ @type: L{MenuItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_menu_item_prev_get(self.item))
+
+cdef class MenuSeparatorItem(ObjectItem):
+ def __init__(self, evasObject menu, MenuItem parent):
+ cdef Elm_Object_Item *parent_obj = NULL
+
+ if parent:
+ parent_obj = parent.item
+ item = elm_menu_item_separator_add(menu.obj, parent_obj)
+ if not item:
+ raise RuntimeError("Error creating separator")
+
+ self._set_obj(item)
+
+ def is_separator(self):
+ """Returns whether the item is a separator.
+
+ @see: L{Menu.item_separator_add()}
+
+ @return: If True, the item is a separator
+ @rtype: bool
+
+ """
+ return True
+
+cdef public class Menu(Object) [object PyElementaryMenu, type PyElementaryMenu_Type]:
+
+ """A menu is a list of items displayed above its parent.
+
+ When the menu is showing its parent is darkened. Each item can have a
+ sub-menu. The menu object can be used to display a menu on a right click
+ event, in a toolbar, anywhere.
+
+ Signals that you can add callbacks for are:
+ - "clicked" - the user clicked the empty space in the menu to dismiss.
+
+ Default content parts of the menu items that you can use for are:
+ - "default" - A main content of the menu item
+
+ Default text parts of the menu items that you can use for are:
+ - "default" - label in the menu item
+
+ """
+
+ def __init__(self, evasObject parent, obj = None):
+ if obj is None:
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_menu_add(parent.obj))
+ else:
+ self._set_obj(<Evas_Object*>obj)
+
+ def parent_set(self, evasObject parent):
+ """Set the parent for the given menu widget
+
+ @param parent: The new parent.
+ @type parent: L{Object}
+
+ """
+ elm_menu_parent_set(self.obj, parent.obj)
+
+ def parent_get(self):
+ """Get the parent for the given menu widget
+
+ @see: L{parent_set()}
+
+ @return: The parent.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_menu_parent_get(self.obj))
+
+ property parent:
+ """The parent for the given menu widget.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_menu_parent_get(self.obj))
+ def __set__(self, evasObject parent):
+ elm_menu_parent_set(self.obj, parent.obj)
+
+ def move(self, x, y):
+ """move(x, y)
+
+ Move the menu to a new position
+
+ Sets the top-left position of the menu to (C{x},C{y}).
+
+ @note: C{x} and C{y} coordinates are relative to parent.
+
+ @param x: The new position.
+ @type x: Evas_Coord (int)
+ @param y: The new position.
+ @type y: Evas_Coord (int)
+
+ """
+ elm_menu_move(self.obj, x, y)
+
+ def close(self):
+ """close()
+
+ Close a opened menu
+
+ Hides the menu and all it's sub-menus.
+
+ """
+ elm_menu_close(self.obj)
+
+ def items_get(self):
+ """Returns a list of C{item}'s items.
+
+ @return: A tuple of C{item}'s items
+ @rtype: tuple of L{Object}s
+
+ """
+ return _object_item_list_to_python(elm_menu_items_get(self.obj))
+
+ property items:
+ """Returns a list of C{item}'s items.
+
+ @type: tuple of L{Object}s
+
+ """
+ def __get__(self):
+ return _object_item_list_to_python(elm_menu_items_get(self.obj))
+
+ def item_add(self, parent = None, label = None, icon = None, callback = None, *args, **kwargs):
+ """item_add(parent=None, label=None, icon=None, callback=None, *args, **kwargs)
+
+ Add an item at the end of the given menu widget
+
+ @param parent: The parent menu item (optional)
+ @type parent: L{Object}
+ @param icon: An icon display on the item. The icon will be destroyed by the menu.
+ @type icon: string
+ @param label: The label of the item.
+ @type label: string
+ @param callback: Function called when the user select the item.
+ @type callback: function
+
+ @return: Returns the new item.
+ @rtype: L{MenuItem}
+
+ """
+ return MenuItem(self, parent, label, icon, callback, *args, **kwargs)
+
+ def item_separator_add(self, parent = None):
+ """item_separator_add(parent=None)
+
+ Add a separator item to menu under C{parent}.
+
+ This item is a L{Separator}.
+
+ @param parent: The item to add the separator under
+ @type parent: L{Object}
+ @return: The created item or None on failure
+ @rtype: L{MenuSeparatorItem}
+
+ """
+ return MenuSeparatorItem(self, parent)
+
+ def selected_item_get(self):
+ """Get the selected item in the menu
+
+ @see: L{MenuItem.selected_get()}
+ @see: L{MenuItem.selected_set()}
+
+ @return: The selected item, or None
+ @rtype: L{MenuItem}
+
+ """
+ return _object_item_to_python(elm_menu_selected_item_get(self.obj))
+
+ property selected_item:
+ """The selected item in the menu
+
+ @see: L{MenuItem.selected}
+
+ @type: L{MenuItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_menu_selected_item_get(self.obj))
+
+ def last_item_get(self):
+ """Get the last item in the menu
+
+ @return: The last item, or None
+ @rtype: L{MenuItem}
+
+ """
+ return _object_item_to_python(elm_menu_last_item_get(self.obj))
+
+ property last_item:
+ """The last item in the menu
+
+ @type: L{MenuItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_menu_last_item_get(self.obj))
+
+ def first_item_get(self):
+ """Get the first item in the menu
+
+ @return: The first item, or None
+ @rtype: MenuItem
+
+ """
+ return _object_item_to_python(elm_menu_first_item_get(self.obj))
+
+ property first_item:
+ """The first item in the menu
+
+ @type: MenuItem
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_menu_first_item_get(self.obj))
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The user clicked the empty space in the menu to dismiss."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+_elm_widget_type_register("menu", Menu)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryMenu_Type # hack to install metaclass
+_install_metaclass(&PyElementaryMenu_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_multibuttonentry.pxi b/elementary/elementary.c_elementary_multibuttonentry.pxi
new file mode 100644
index 0000000..ae1ad41
--- /dev/null
+++ b/elementary/elementary.c_elementary_multibuttonentry.pxi
@@ -0,0 +1,318 @@
+# Copyright (c) 2012 Davide Andreoli <dave@gurumeditation.it>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef Eina_Bool _multibuttonentry_filter_callback(Evas_Object *obj, const_char_ptr item_label, void *item_data, void *data) with gil:
+ try:
+ (mbe, callback, a, ka) = <object>data
+ ret = callback(mbe, item_label, *a, **ka)
+ if isinstance(ret, str):
+ # TODO this is BROKEN! the doc say should work, but it's a const char* :/
+ # free(<void*>item_label)
+ # item_label = strdup(ret)
+ return 1
+ elif ret:
+ return 1
+ else:
+ return 0
+ except Exception, e:
+ traceback.print_exc()
+
+cdef enum Elm_MultiButtonEntry_Item_Insert_Kind:
+ ELM_MULTIBUTTONENTRY_INSERT_APPEND
+ ELM_MULTIBUTTONENTRY_INSERT_PREPEND
+ ELM_MULTIBUTTONENTRY_INSERT_BEFORE
+ ELM_MULTIBUTTONENTRY_INSERT_AFTER
+
+cdef class MultiButtonEntryItem(ObjectItem):
+
+ """An item for the MultiButtonEntry widget."""
+
+ def __init__(self, kind, evasObject mbe, label,
+ MultiButtonEntryItem before_after = None,
+ callback = None, *args, **kargs):
+ cdef Evas_Smart_Cb cb = NULL
+
+ if callback:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+
+ if kind == ELM_MULTIBUTTONENTRY_INSERT_PREPEND:
+ item = elm_multibuttonentry_item_prepend(mbe.obj,
+ _cfruni(label), cb, <void*>self)
+ elif kind == ELM_MULTIBUTTONENTRY_INSERT_APPEND:
+ item = elm_multibuttonentry_item_append(mbe.obj,
+ _cfruni(label), cb, <void*>self)
+ elif kind == ELM_MULTIBUTTONENTRY_INSERT_BEFORE:
+ item = elm_multibuttonentry_item_insert_before(mbe.obj,
+ before_after.item, _cfruni(label), cb, <void*>self)
+ elif kind == ELM_MULTIBUTTONENTRY_INSERT_AFTER:
+ item = elm_multibuttonentry_item_insert_after(mbe.obj,
+ before_after.item, _cfruni(label), cb, <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def __str__(self):
+ return ("%s(label=%r, callback=%r, args=%r, kargs=%s)") % \
+ (self.__class__.__name__, self.text_get(), self.params[0], self.params[1], self.params[2])
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ "label=%r, callback=%r, args=%r, kargs=%s)") % \
+ (self.__class__.__name__, <unsigned long><void *>self,
+ PY_REFCOUNT(self), <unsigned long><void *>self.item,
+ self.text_get(), self.params[0], self.params[1], self.params[2])
+
+ def selected_set(self, selected):
+ elm_multibuttonentry_item_selected_set(self.item, bool(selected))
+
+ def selected_get(self):
+ return bool(elm_multibuttonentry_item_selected_get(self.item))
+
+ property selected:
+ def __get__(self):
+ return self.selected_get()
+ def __set__(self, value):
+ self.selected_set(value)
+
+ def prev_get(self):
+ return _object_item_to_python(elm_multibuttonentry_item_prev_get(self.item))
+
+ property prev:
+ def __get__(self):
+ return self.prev_get()
+
+ def next_get(self):
+ return _object_item_to_python(elm_multibuttonentry_item_next_get(self.item))
+
+ property next:
+ def __get__(self):
+ return self.next_get()
+
+
+cdef public class MultiButtonEntry(Object) [object PyElementaryMultiButtonEntry, type PyElementaryMultiButtonEntry_Type]:
+
+ """A Multibuttonentry is a widget to allow a user enter text and manage
+ it as a number of buttons. Each text button is inserted by pressing the
+ "return" key. If there is no space in the current row, a new button is
+ added to the next row. When a text button is pressed, it will become
+ focused. Backspace removes the focus. When the Multibuttonentry loses
+ focus items longer than one line are shrunk to one line.
+
+ Typical use case of multibuttonentry is, composing emails/messages to a
+ group of addresses, each of which is an item that can be clicked for
+ further actions.
+
+ Default text parts of the multibuttonentry widget that you can use for are:
+ - "default" - A label of the multibuttonentry
+
+ Default text parts of the multibuttonentry items that you can use for are:
+ - "default" - A label of the multibuttonentry item
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_multibuttonentry_add(parent.obj))
+
+ def entry_get(self):
+ """Get the entry of the multibuttonentry object
+
+ @return: The child entry
+ @rtype: Entry
+
+ """
+ return Object_from_instance(elm_multibuttonentry_entry_get(self.obj))
+
+ property entry:
+ """The Entry object child of the multibuttonentry.
+
+ @type: Entry
+
+ """
+ def __get__(self):
+ return self.entry_get()
+
+ def expanded_set(self, enabled):
+ """Set/Unset the multibuttonentry to expanded state.
+
+ In expanded state, the complete entry will be displayed.
+ Otherwise, only single line of the entry will be displayed.
+
+ @param enabled: A boolean to set if the entry should be expanded
+ @type enabled: bool
+
+ """
+ elm_multibuttonentry_expanded_set(self.obj, bool(enabled))
+
+ def expanded_get(self):
+ """Get the value of expanded state.
+ In expanded state, the complete entry will be displayed.
+ Otherwise, only single line of the entry will be displayed.
+
+ @return: A boolean to indicating if the entry is expanded
+ @rtype: bool
+
+ """
+ return bool(elm_multibuttonentry_expanded_get(self.obj))
+
+ property expanded:
+ """The expanded state of the multibuttonentry.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.expanded_get()
+ def __set__(self, value):
+ self.expanded_set(value)
+
+ def item_prepend(self, label, func = None, *args, **kwargs):
+ return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_PREPEND,
+ self, label, None, func, *args, **kwargs)
+
+ def item_append(self, label, func = None, *args, **kwargs):
+ return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_APPEND,
+ self, label, None, func, *args, **kwargs)
+
+ def item_insert_before(self, MultiButtonEntryItem before, label, func = None, *args, **kwargs):
+ return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_BEFORE,
+ self, label, before, func, *args, **kwargs)
+
+ def item_insert_after(self, MultiButtonEntryItem after, label, func = None, *args, **kwargs):
+ return MultiButtonEntryItem(ELM_MULTIBUTTONENTRY_INSERT_AFTER,
+ self, label, after, func, *args, **kwargs)
+
+ def items_get(self):
+ return _object_item_list_to_python(elm_multibuttonentry_items_get(self.obj))
+
+ property items:
+ def __get__(self):
+ return self.items_get()
+
+ def first_item_get(self):
+ return _object_item_to_python(elm_multibuttonentry_first_item_get(self.obj))
+
+ property first_item:
+ def __get__(self):
+ return self.first_item_get()
+
+ def last_item_get(self):
+ return _object_item_to_python(elm_multibuttonentry_last_item_get(self.obj))
+
+ property last_item:
+ def __get__(self):
+ return self.last_item_get()
+
+ def selected_item_get(self):
+ return _object_item_to_python(elm_multibuttonentry_selected_item_get(self.obj))
+
+ property selected_item:
+ def __get__(self):
+ return self.selected_item_get()
+
+ def clear(self):
+ elm_multibuttonentry_clear(self.obj)
+
+ def filter_append(self, func, *args, **kwargs):
+ cbdata = (self, func, args, kwargs)
+ elm_multibuttonentry_item_filter_append(self.obj,
+ _multibuttonentry_filter_callback, <void *>cbdata)
+ Py_INCREF(cbdata)
+
+ def filter_prepend(self, func, *args, **kwargs):
+ cbdata = (self, func, args, kwargs)
+ elm_multibuttonentry_item_filter_prepend(self.obj,
+ _multibuttonentry_filter_callback, <void *>cbdata)
+ Py_INCREF(cbdata)
+
+ def filter_remove(self, func, *args, **kwargs):
+ #TODO
+ pass
+
+ def callback_item_selected_add(self, func, *args, **kwargs):
+ self._callback_add("item,selected", func, *args, **kwargs)
+
+ def callback_item_selected_del(self, func):
+ self._callback_del("item,selected", func)
+
+ def callback_item_added_add(self, func, *args, **kwargs):
+ self._callback_add("item,added", func, *args, **kwargs)
+
+ def callback_item_added_del(self, func):
+ self._callback_del("item,added", func)
+
+ def callback_item_deleted_add(self, func, *args, **kwargs):
+ self._callback_add("item,deleted", func, *args, **kwargs)
+
+ def callback_item_deleted_del(self, func):
+ self._callback_del("item,deleted", func)
+
+ def callback_item_clicked_add(self, func, *args, **kwargs):
+ self._callback_add("item,clicked", func, *args, **kwargs)
+
+ def callback_item_clicked_del(self, func):
+ self._callback_del("item,clicked", func)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_focused_add(self, func, *args, **kwargs):
+ self._callback_add("focused", func, *args, **kwargs)
+
+ def callback_focused_del(self, func):
+ self._callback_del("focused", func)
+
+ def callback_unfocused_add(self, func, *args, **kwargs):
+ self._callback_add("unfocused", func, *args, **kwargs)
+
+ def callback_unfocused_del(self, func):
+ self._callback_del("unfocused", func)
+
+ def callback_expanded_add(self, func, *args, **kwargs):
+ self._callback_add("expanded", func, *args, **kwargs)
+
+ def callback_expanded_del(self, func):
+ self._callback_del("expanded", func)
+
+ def callback_contracted_add(self, func, *args, **kwargs):
+ self._callback_add("contracted", func, *args, **kwargs)
+
+ def callback_contracted_del(self, func):
+ self._callback_del("contracted", func)
+
+ def callback_expand_state_changed_add(self, func, *args, **kwargs):
+ self._callback_add("expand,state,changed", func, *args, **kwargs)
+
+ def callback_expand_state_changed_del(self, func):
+ self._callback_del("expand,state,changed", func)
+
+
+_elm_widget_type_register("multibuttonentry", MultiButtonEntry)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryMultiButtonEntry_Type # hack to install metaclass
+_install_metaclass(&PyElementaryMultiButtonEntry_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_naviframe.pxi b/elementary/elementary.c_elementary_naviframe.pxi
new file mode 100644
index 0000000..86a8526
--- /dev/null
+++ b/elementary/elementary.c_elementary_naviframe.pxi
@@ -0,0 +1,591 @@
+# Copyright (c) 2008-2009 Simon Busch
+# Copyright (c) 2010-2010 ProFUSION embedded systems
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class NaviframeItem(ObjectItem):
+
+ """An item for the Naviframe widget."""
+
+ def item_pop_to(self):
+ _METHOD_DEPRECATED(self, "pop_to")
+ elm_naviframe_item_pop_to(self.item)
+
+ def pop_to(self):
+ """item_pop_to()
+
+ Pop the items between the top and the above one on the given item.
+
+ """
+ elm_naviframe_item_pop_to(self.item)
+
+ def item_promote(self):
+ _METHOD_DEPRECATED(self, "promote")
+ elm_naviframe_item_promote(self.item)
+
+ def promote(self):
+ """item_promote()
+
+ Promote an item already in the naviframe stack to the top of the stack
+
+ This will take the indicated item and promote it to the top of the stack
+ as if it had been pushed there. The item must already be inside the
+ naviframe stack to work.
+
+ """
+ elm_naviframe_item_promote(self.item)
+
+ def style_set(self, style):
+ """Set an item style
+
+ The following styles are available for this item:
+ - C{"default"}
+
+ @see: L{style_get()}
+
+ @param item_style: The item style name. C{None} would be default
+ @type item_style: string
+
+ """
+ elm_naviframe_item_style_set(self.item, _cfruni(style))
+
+ def style_get(self):
+ """Get an item style
+
+ @see: L{style_set()}
+
+ @return: The current item style name
+ @rtype: string
+
+ """
+ return _ctouni(elm_naviframe_item_style_get(self.item))
+
+ property style:
+ """The item style.
+
+ The following styles are available for this item:
+ - C{"default"}
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_naviframe_item_style_get(self.item))
+ def __set__(self, style):
+ elm_naviframe_item_style_set(self.item, _cfruni(style))
+
+ def title_visible_set(self, visible):
+ """Show/Hide the title area
+
+ When the title area is invisible, then the controls would be hidden
+ so as to expand the content area to full-size.
+
+ @see: L{title_visible_get()}
+
+ @param visible: If C{True}, title area will be visible, hidden
+ otherwise
+ @type visible: bool
+
+ """
+ elm_naviframe_item_title_visible_set(self.item, visible)
+
+ def title_visible_get(self):
+ """Get a value whether title area is visible or not.
+
+ @see: L{title_visible_set()}
+
+ @return: If C{True}, title area is visible
+
+ """
+ return bool(elm_naviframe_item_title_visible_get(self.item))
+
+ property title_visible:
+ """Show/Hide the title area
+
+ When the title area is invisible, then the controls would be hidden
+ so as to expand the content area to full-size.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_naviframe_item_title_visible_get(self.item))
+ def __set__(self, visible):
+ elm_naviframe_item_title_visible_set(self.item, visible)
+
+cdef public class Naviframe(LayoutClass) [object PyElementaryNaviframe, type PyElementaryNaviframe_Type]:
+
+ """Naviframe stands for navigation frame. It's a views manager
+ for applications.
+
+ A naviframe holds views (or pages) as its items. Those items are
+ organized in a stack, so that new items get pushed on top of the
+ old, and only the topmost view is displayed at one time. The
+ transition between views is animated, depending on the theme
+ applied to the widget.
+
+ Naviframe views hold spaces to various elements, which are:
+ - back button, used to navigate to previous views,
+ - next button, used to navigate to next views in the stack,
+ - title label,
+ - sub-title label,
+ - title icon and
+ - content area.
+
+ Becase this widget is a layout, one places content on those areas
+ by using L{content_set()} on the right swallow part names
+ expected for each, which are:
+ - C{"default"} - The main content of the current page
+ - C{"icon"} - An icon in the title area of the current page
+ - C{"prev_btn"} - A button of the current page to go to the
+ previous page
+ - C{"next_btn"} - A button of the current page to go to the next
+ page
+
+ For text, L{text_set()} will work here on:
+ - C{"default"} - Title label in the title area of the current
+ page
+ - C{"subtitle"} - Sub-title label in the title area of the
+ current page
+
+ Most of those content objects can be passed at the time of an item
+ creation (see L{item_push()}).
+
+ Naviframe items can have different styles, which affect the
+ transition between views, for example. On the default theme, two of
+ them are supported:
+ - C{"basic"} - views are switched sliding horizontally, one after
+ the other
+ - C{"overlap"} - like the previous one, but the previous view stays
+ at its place and is ovelapped by the new
+
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"transition,finished"} - When the transition is finished in
+ changing the item
+ - C{"title,clicked"} - User clicked title area
+
+ All the parts, for content and text, described here will also be
+ reachable by naviframe B{items} direct calls:
+ - L{ObjectItem.part_text_set}
+ - L{ObjectItem.part_text_get}
+ - L{ObjectItem.part_content_set}
+ - L{ObjectItem.part_content_get}
+ - L{ObjectItem.part_content_unset}
+ - L{ObjectItem.signal_emit}
+
+ What happens is that the topmost item of a naviframe will be the
+ widget's target layout, when accessed directly. Items lying below
+ the top one can be interacted with this way.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_naviframe_add(parent.obj))
+
+ def item_push(self, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style):
+ """item_push(title_label, prev_btn, next_btn, content, item_style)
+
+ Push a new item to the top of the naviframe stack (and show it).
+
+ The item pushed becomes one page of the naviframe, this item will be
+ deleted when it is popped.
+
+ The following styles are available for this item:
+ - C{"default"}
+
+ @see: L{NaviframeItem.style_set()}
+ @see: L{NaviframeItem.insert_before()}
+ @see: L{NaviframeItem.insert_after()}
+
+ @param title_label: The label in the title area. The name of the title
+ label part is "elm.text.title"
+ @type title_label: string
+ @param prev_btn: The button to go to the previous item. If it is None,
+ then naviframe will create a back button automatically. The name of
+ the prev_btn part is "elm.swallow.prev_btn"
+ @type prev_btn: L{Button}
+ @param next_btn: The button to go to the next item. Or It could be just an
+ extra function button. The name of the next_btn part is
+ "elm.swallow.next_btn"
+ @type next_btn: L{Button}
+ @param content: The main content object. The name of content part is
+ "elm.swallow.content"
+ @type content: L{Object}
+ @param item_style: The current item style name. C{None} would be default.
+ @type item_style: string
+
+ @return: The created item or C{None} upon failure.
+ @rtype: L{NaviframeItem}
+
+ """
+ cdef NaviframeItem ret = NaviframeItem()
+ cdef Elm_Object_Item *item
+
+ item = elm_naviframe_item_push(self.obj, _cfruni(title_label),
+ prev_btn.obj if prev_btn else NULL,
+ next_btn.obj if next_btn else NULL,
+ content.obj if content else NULL,
+ _cfruni(item_style) if item_style else NULL)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_insert_before(self, NaviframeItem before, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style):
+ """item_push(before, title_label, prev_btn, next_btn, content, item_style)
+
+ Insert a new item into the naviframe before item C{before}.
+
+ The item is inserted into the naviframe straight away without any
+ transition operations. This item will be deleted when it is popped.
+
+ The following styles are available for this item:
+ - C{"default"}
+
+ @see: L{NaviframeItem.style_set()}
+ @see: L{NaviframeItem.push()}
+ @see: L{NaviframeItem.insert_after()}
+
+ @param before: The naviframe item to insert before.
+ @type before: L{NaviframeItem}
+ @param title_label: The label in the title area. The name of the title
+ label part is "elm.text.title"
+ @type title_label: string
+ @param prev_btn: The button to go to the previous item. If it is None,
+ then naviframe will create a back button automatically. The name of
+ the prev_btn part is "elm.swallow.prev_btn"
+ @type prev_btn: L{Button}
+ @param next_btn: The button to go to the next item. Or It could be just an
+ extra function button. The name of the next_btn part is
+ "elm.swallow.next_btn"
+ @type next_btn: L{Button}
+ @param content: The main content object. The name of content part is
+ "elm.swallow.content"
+ @type content: L{Object}
+ @param item_style: The current item style name. C{None} would be default.
+ @type item_style: string
+ @return: The created item or C{None} upon failure.
+ @rtype: L{NaviframeItem}
+
+ """
+ cdef NaviframeItem ret = NaviframeItem()
+ cdef Elm_Object_Item *item
+
+ item = elm_naviframe_item_insert_before(self.obj, before.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style))
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_insert_after(self, NaviframeItem after, title_label, evasObject prev_btn, evasObject next_btn, evasObject content, const_char_ptr item_style):
+ """item_push(after, title_label, prev_btn, next_btn, content, item_style)
+
+ Insert a new item into the naviframe after item C{after}.
+
+ The item is inserted into the naviframe straight away without any
+ transition operations. This item will be deleted when it is popped.
+
+ The following styles are available for this item:
+ - C{"default"}
+
+ @see: L{NaviframeItem.style_set()}
+ @see: L{NaviframeItem.push()}
+ @see: L{NaviframeItem.insert_before()}
+
+ @param after: The naviframe item to insert after.
+ @type after: L{NaviframeItem}
+ @param title_label: The label in the title area. The name of the title
+ label part is "elm.text.title"
+ @type title_label: string
+ @param prev_btn: The button to go to the previous item. If it is None,
+ then naviframe will create a back button automatically. The name of
+ the prev_btn part is "elm.swallow.prev_btn"
+ @type prev_btn: L{Button}
+ @param next_btn: The button to go to the next item. Or It could be just an
+ extra function button. The name of the next_btn part is
+ "elm.swallow.next_btn"
+ @type next_btn: L{Button}
+ @param content: The main content object. The name of content part is
+ "elm.swallow.content"
+ @type content: L{Object}
+ @param item_style: The current item style name. C{None} would be default.
+ @type item_style: string
+ @return: The created item or C{None} upon failure.
+ @rtype: L{NaviframeItem}
+
+ """
+ cdef NaviframeItem ret = NaviframeItem()
+ cdef Elm_Object_Item *item
+
+ item = elm_naviframe_item_insert_after(self.obj, after.item, _cfruni(title_label), prev_btn.obj, next_btn.obj, content.obj, _cfruni(item_style))
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_pop(self):
+ """item_pop()
+
+ Pop an item that is on top of the stack
+
+ This pops an item that is on the top (visible) of the naviframe,
+ makes it disappear, then deletes the item. The item that was
+ underneath it on the stack will become visible.
+
+ @see: L{content_preserve_on_pop_get()}
+
+ @return: C{None} or the content object(if the
+ L{content_preserve_on_pop_get} is True).
+ @rtype: L{NaviframeItem}
+
+ """
+ return Object_from_instance(elm_naviframe_item_pop(self.obj))
+
+ def content_preserve_on_pop_set(self, preserve):
+ """Preserve the content objects when items are popped.
+
+ @see: L{content_preserve_on_pop_get()}
+
+ @param preserve: Enable the preserve mode if True, disable otherwise
+ @type preserve: bool
+
+ """
+ elm_naviframe_content_preserve_on_pop_set(self.obj, preserve)
+
+ def content_preserve_on_pop_get(self):
+ """Get a value whether preserve mode is enabled or not.
+
+ @see: L{content_preserve_on_pop_set()}
+
+ @return: If C{True}, preserve mode is enabled
+ @rtype: bool
+
+ """
+ return bool(elm_naviframe_content_preserve_on_pop_get(self.obj))
+
+ property content_preserve_on_pop:
+ """Preserve the content objects when items are popped.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_naviframe_content_preserve_on_pop_get(self.obj))
+ def __set__(self, preserve):
+ elm_naviframe_content_preserve_on_pop_set(self.obj, preserve)
+
+ def top_item_get(self):
+ """Get a top item on the naviframe stack
+
+ @return: The top item on the naviframe stack or C{None}, if the
+ stack is empty
+ @rtype: L{NaviframeItem}
+
+ """
+ return _object_item_to_python(elm_naviframe_top_item_get(self.obj))
+
+ property top_item:
+ """Get a top item on the naviframe stack
+
+ @type: L{NaviframeItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_naviframe_top_item_get(self.obj))
+
+ def bottom_item_get(self):
+ """Get a bottom item on the naviframe stack
+
+ @return: The bottom item on the naviframe stack or C{None}, if the
+ stack is empty
+ @rtype: L{NaviframeItem}
+
+ """
+ return _object_item_to_python(elm_naviframe_bottom_item_get(self.obj))
+
+ property bottom_item:
+ """Get a bottom item on the naviframe stack
+
+ @type: L{NaviframeItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_naviframe_bottom_item_get(self.obj))
+
+ def prev_btn_auto_pushed_set(self, auto_pushed):
+ """Set creating prev button automatically or not
+
+ @see: L{item_push()}
+
+ @param auto_pushed: If C{True}, the previous button(back button) will
+ be created internally when you pass the C{None} to the prev_btn
+ parameter in L{item_push}
+ @type auto_pushed: bool
+
+ """
+ elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed)
+
+ def prev_btn_auto_pushed_get(self):
+ """Get a value whether prev button(back button) will be auto pushed or
+ not.
+
+ @see: L{item_push()}
+ @see: L{prev_btn_auto_pushed_set()}
+
+ @return: If C{True}, prev button will be auto pushed.
+ @rtype: bool
+
+ """
+ return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj))
+
+ property prev_btn_auto_pushed:
+ """Whether prev button(back button) will be created automatically or
+ not.
+
+ @see: L{item_push()}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_naviframe_prev_btn_auto_pushed_get(self.obj))
+ def __set__(self, auto_pushed):
+ elm_naviframe_prev_btn_auto_pushed_set(self.obj, auto_pushed)
+
+ def items_get(self):
+ """Get a list of all the naviframe items.
+
+ @return: A tuple of naviframe items or C{None} on failure.
+ @rtype: tuple of L{NaviframeItem}s
+
+ """
+ return _object_item_list_to_python(elm_naviframe_items_get(self.obj))
+
+ property items:
+ """Get a list of all the naviframe items.
+
+ @type: tuple of L{NaviframeItem}s
+
+ """
+ def __get__(self):
+ return _object_item_list_to_python(elm_naviframe_items_get(self.obj))
+
+ def event_enabled_set(self, enabled):
+ """Set the event enabled when pushing/popping items
+
+ If C{enabled} is True, the contents of the naviframe item will
+ receives events from mouse and keyboard during view changing such as
+ item push/pop.
+
+ @warning: Events will be blocked by calling
+ L{freeze_events_set()} internally. So don't call the API
+ while pushing/popping items.
+
+ @see: L{event_enabled_get()}
+ @see: L{evasObject.freeze_events_set()}
+
+ @param enabled: Events are received when enabled is C{True}, and
+ ignored otherwise.
+ @type enabled: bool
+
+ """
+ elm_naviframe_event_enabled_set(self.obj, enabled)
+
+ def event_enabled_get(self):
+ """Get the value of event enabled status.
+
+ @see: L{event_enabled_set()}
+
+ @return: True, when event is enabled
+ @rtype: bool
+
+ """
+ return bool(elm_naviframe_event_enabled_get(self.obj))
+
+ property event_enabled:
+ """Whether the event when pushing/popping items is enabled
+
+ If is True, the contents of the naviframe item will receives events
+ from mouse and keyboard during view changing such as item push/pop.
+
+ @warning: Events will be blocked by calling
+ L{freeze_events_set()} internally. So don't call the API
+ while pushing/popping items.
+
+ @see: L{evasObject.freeze_events_set()}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_naviframe_event_enabled_get(self.obj))
+ def __set__(self, enabled):
+ elm_naviframe_event_enabled_set(self.obj, enabled)
+
+ def item_simple_push(self, evasObject content):
+ """item_simple_push(content)
+
+ Simple version of item_push.
+
+ @see: L{item_push}
+
+ """
+ cdef NaviframeItem ret = NaviframeItem()
+ cdef Elm_Object_Item *item
+
+ item = elm_naviframe_item_simple_push(self.obj, content.obj)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_simple_promote(self, evasObject content):
+ """item_simple_promote(content)
+
+ Simple version of item_promote.
+
+ @see: L{NaviframeItem.item_promote}
+
+ """
+ elm_naviframe_item_simple_promote(self.obj, content.obj)
+
+ def callback_transition_finished_add(self, func, *args, **kwargs):
+ """When the transition is finished in changing the item."""
+ self._callback_add("transition,finished", func, *args, **kwargs)
+
+ def callback_transition_finished_del(self, func):
+ self._callback_del("transition,finished", func)
+
+ def callback_title_clicked_add(self, func, *args, **kwargs):
+ """User clicked title area."""
+ self._callback_add("title,clicked", func, *args, **kwargs)
+
+ def callback_title_clicked_del(self, func):
+ self._callback_del("title,clicked", func)
+
+_elm_widget_type_register("naviframe", Naviframe)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryNaviframe_Type # hack to install metaclass
+_install_metaclass(&PyElementaryNaviframe_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_need.pxi b/elementary/elementary.c_elementary_need.pxi
new file mode 100644
index 0000000..8b68a32
--- /dev/null
+++ b/elementary/elementary.c_elementary_need.pxi
@@ -0,0 +1,71 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+def need_efreet():
+ """Request that your elementary application needs Efreet
+
+ This initializes the Efreet library when called and if support exists
+ it returns True, otherwise returns False. This must be called
+ before any efreet calls.
+
+ @return: True if support exists and initialization succeeded.
+ @rtype: bool
+
+ """
+ return bool(elm_need_efreet())
+
+def need_e_dbus():
+ """Request that your elementary application needs e_dbus
+
+ This initializes the E_dbus library when called and if support exists
+ it returns True, otherwise returns False. This must be called
+ before any e_dbus calls.
+
+ @return: True if support exists and initialization succeeded.
+ @rtype: bool
+
+ """
+ return bool(elm_need_e_dbus())
+
+def need_ethumb():
+ """Request that your elementary application needs ethumb
+
+ This initializes the Ethumb library when called and if support exists
+ it returns True, otherwise returns False.
+ This must be called before any other function that deals with
+ elm_thumb objects or ethumb_client instances.
+
+ @return: True if support exists and initialization succeeded.
+ @rtype: bool
+
+ """
+ return bool(elm_need_ethumb())
+
+def need_web():
+ """Request that your elementary application needs web support
+
+ This initializes the Ewebkit library when called and if support exists
+ it returns True, otherwise returns False.
+ This must be called before any other function that deals with
+ elm_web objects or ewk_view instances.
+
+ @return: True if support exists and initialization succeeded.
+ @rtype: bool
+
+ """
+ return bool(elm_need_web())
diff --git a/elementary/elementary.c_elementary_notify.pxi b/elementary/elementary.c_elementary_notify.pxi
new file mode 100644
index 0000000..43be658
--- /dev/null
+++ b/elementary/elementary.c_elementary_notify.pxi
@@ -0,0 +1,227 @@
+# Copyright (c) 2008-2009 ProFUSION embedded systems
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+
+cdef public class Notify(Object) [object PyElementaryNotify, type PyElementaryNotify_Type]:
+
+ """Display a container in a particular region of the parent.
+
+ A timeout can be set to automatically hide the notify. This is so that,
+ after an L{show()} on a notify object, if a timeout was set on it,
+ it will B{automatically} get hidden after that time.
+
+ Signals that you can add callbacks for are:
+ - "timeout" - when timeout happens on notify and it's hidden
+ - "block,clicked" - when a click outside of the notify happens
+
+ Default content parts of the notify widget that you can use are:
+ - C{"default"} - The main content of the notify
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_notify_add(parent.obj))
+
+ def parent_set(self, evasObject parent):
+ """Set the notify parent.
+
+ Once the parent object is set, a previously set one will be disconnected
+ and replaced.
+
+ @param parent: The new parent
+ @type parent: L{Object}
+
+ """
+ cdef Evas_Object *o
+ if parent is not None:
+ o = parent.obj
+ else:
+ o = NULL
+ elm_notify_parent_set(self.obj, o)
+
+ def parent_get(self):
+ """Get the notify parent
+
+ @see: L{parent_set()}
+
+ @return: The parent
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_notify_parent_get(self.obj))
+
+ property parent:
+ """The notify parent.
+
+ Once the parent object is set, a previously set one will be disconnected
+ and replaced.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_notify_parent_get(self.obj))
+ def __set__(self, evasObject parent):
+ cdef Evas_Object *o
+ if parent is not None:
+ o = parent.obj
+ else:
+ o = NULL
+ elm_notify_parent_set(self.obj, o)
+
+ def orient_set(self, int orient):
+ """Set the orientation.
+
+ Sets the position in which the notify will appear in its parent.
+
+ @param orient: The new orientation
+ @type orient: Elm_Notify_Orient
+
+ """
+ elm_notify_orient_set(self.obj, orient)
+
+ def orient_get(self):
+ """Return the orientation
+
+ @see: L{orient_set()}
+
+ @return: The orientation of the notification
+ @rtype: Elm_Notify_Orient
+
+ """
+ return elm_notify_orient_get(self.obj)
+
+ property orient:
+ """The position in which the notify will appear in its parent.
+
+ @type: Elm_Notify_Orient
+
+ """
+ def __get__(self):
+ return elm_notify_orient_get(self.obj)
+ def __set__(self, orient):
+ elm_notify_orient_set(self.obj, orient)
+
+ def timeout_set(self, double timeout):
+ """Set the time interval after which the notify window is going to be
+ hidden.
+
+ This function sets a timeout and starts the timer controlling when the
+ notify is hidden. Since calling L{show()} on a notify restarts
+ the timer controlling when the notify is hidden, setting this before the
+ notify is shown will in effect mean starting the timer when the notify is
+ shown.
+
+ @note: Set a value <= 0.0 to disable a running timer.
+
+ @note: If the value > 0.0 and the notify is previously visible, the
+ timer will be started with this value, canceling any running timer.
+
+ @param timeout: The timeout in seconds
+ @type timeout: float
+
+ """
+ elm_notify_timeout_set(self.obj, timeout)
+
+ def timeout_get(self):
+ """Return the timeout value (in seconds).
+
+ @see: L{timeout_set()}
+
+ """
+ return elm_notify_timeout_get(self.obj)
+
+ property timeout:
+ """The time interval after which the notify window is going to be
+ hidden.
+
+ Setting this starts the timer controlling when the
+ notify is hidden. Since calling L{show()} on a notify restarts
+ the timer controlling when the notify is hidden, setting this before the
+ notify is shown will in effect mean starting the timer when the notify is
+ shown.
+
+ @note: Set a value <= 0.0 to disable a running timer.
+
+ @note: If the value > 0.0 and the notify is previously visible, the
+ timer will be started with this value, canceling any running timer.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_notify_timeout_get(self.obj)
+ def __set__(self, timeout):
+ elm_notify_timeout_set(self.obj, timeout)
+
+ def allow_events_set(self, repeat):
+ """Sets whether events should be passed to by a click outside its area.
+
+ When True if the user clicks outside the window the events will be caught
+ by the others widgets, else the events are blocked.
+
+ @note: The default value is True.
+
+ @param allow: True if events are allowed, otherwise not
+ @type allow: bool
+
+ """
+ elm_notify_allow_events_set(self.obj, repeat)
+
+ def allow_events_get(self):
+ """Return true if events are allowed below the notify object
+
+ @see: L{allow_events_set()}
+
+ """
+ return bool(elm_notify_allow_events_get(self.obj))
+
+ property allow_events:
+ """Whether events should be passed to by a click outside its area.
+
+ When True if the user clicks outside the window the events will be caught
+ by the others widgets, else the events are blocked.
+
+ @note: The default value is True.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_notify_allow_events_get(self.obj))
+ def __set__(self, allow_events):
+ elm_notify_allow_events_set(self.obj, allow_events)
+
+ def callback_timeout_add(self, func, *args, **kwargs):
+ """When timeout happens on notify and it's hidden."""
+ self._callback_add("timeout", func, *args, **kwargs)
+
+ def callback_timeout_del(self, func):
+ self._callback_del("timeout", func)
+
+ def callback_block_clicked_add(self, func, *args, **kwargs):
+ """When a click outside of the notify happens."""
+ self._callback_add("block,clicked", func, *args, **kwargs)
+
+ def callback_block_clicked_del(self, func):
+ self._callback_del("block,clicked", func)
+
+_elm_widget_type_register("notify", Notify)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryNotify_Type # hack to install metaclass
+_install_metaclass(&PyElementaryNotify_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_object.pxi b/elementary/elementary.c_elementary_object.pxi
new file mode 100644
index 0000000..019a9b8
--- /dev/null
+++ b/elementary/elementary.c_elementary_object.pxi
@@ -0,0 +1,1486 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport Object as evasObject
+from evas.c_evas cimport EventKeyDown, EventKeyUp
+from evas.c_evas cimport evas_object_data_get
+from evas.c_evas cimport evas_object_smart_callback_add
+from evas.c_evas cimport evas_object_smart_callback_del
+from evas.c_evas cimport EVAS_CALLBACK_KEY_DOWN
+from evas.c_evas cimport EVAS_CALLBACK_KEY_UP
+from evas.c_evas cimport eina_list_append
+
+from evas.c_evas import _extended_object_mapping_register
+
+#API XXX: Callbacks!
+cdef void _object_callback(void *data,
+ Evas_Object *o, void *event_info) with gil:
+ cdef Object obj
+ cdef object event, ei
+ obj = <Object>evas_object_data_get(o, "python-evas")
+ event = <object>data
+ lst = tuple(obj._elmcallbacks[event])
+ for event_conv, func, args, kargs in lst:
+ try:
+ if event_conv is None:
+ func(obj, *args, **kargs)
+ else:
+ ei = event_conv(<long>event_info)
+ func(obj, ei, *args, **kargs)
+ except Exception, e:
+ traceback.print_exc()
+
+cdef Evas_Object *_tooltip_content_create(void *data, Evas_Object *o, Evas_Object *t) with gil:
+ cdef Object ret, obj, tooltip
+
+ obj = <Object>evas_object_data_get(o, "python-evas")
+ tooltip = Object_from_instance(t)
+ (func, args, kargs) = <object>data
+ ret = func(obj, tooltip, *args, **kargs)
+ if not ret:
+ return NULL
+ return ret.obj
+
+cdef void _tooltip_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ Py_DECREF(<object>data)
+
+cdef Eina_Bool _event_dispatcher(o, src, Evas_Callback_Type t, event_info):
+ cdef Object obj = o
+ cdef object ret
+ for func, args, kargs in obj._elm_event_cbs:
+ try:
+ ret = func(obj, src, t, event_info, *args, **kargs)
+ except Exception, e:
+ traceback.print_exc()
+ else:
+ if ret:
+ return True
+ return False
+
+#TODO: More event types
+cdef Eina_Bool _event_callback(void *data, Evas_Object *o, Evas_Object *src, Evas_Callback_Type t, void *event_info) with gil:
+ cdef Object obj = <Object>Object_from_instance(o)
+ cdef Object src_obj = <Object>Object_from_instance(src)
+ cdef Eina_Bool ret = False
+ cdef EventKeyDown down_event
+ cdef EventKeyUp up_event
+ if t == EVAS_CALLBACK_KEY_DOWN:
+ down_event = EventKeyDown()
+ down_event._set_obj(event_info)
+ ret = _event_dispatcher(obj, src_obj, t, down_event)
+ down_event._unset_obj()
+ elif t == EVAS_CALLBACK_KEY_UP:
+ up_event = EventKeyUp()
+ up_event._set_obj(event_info)
+ ret = _event_dispatcher(obj, src_obj, t, up_event)
+ up_event._unset_obj()
+
+
+cdef void _event_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ Py_DECREF(<object>data)
+
+cdef _strings_to_python(const_Eina_List *lst):
+ cdef const_char_ptr s
+ ret = []
+ while lst:
+ s = <const_char_ptr>lst.data
+ if s != NULL:
+ ret.append(_ctouni(s))
+ lst = lst.next
+ return ret
+
+cdef Eina_List * _strings_from_python(strings):
+ cdef Eina_List *lst = NULL
+ for s in strings:
+ lst = eina_list_append(lst, _cfruni(s))
+ return lst
+
+def _cb_string_conv(long addr):
+ cdef const_char_ptr s = <const_char_ptr>addr
+ if s == NULL:
+ return None
+ else:
+ return s
+
+cdef _object_list_to_python(const_Eina_List *lst):
+ cdef Evas_Object *o
+ ret = []
+ while lst:
+ o = <Evas_Object *>lst.data
+ obj = Object_from_instance(o)
+ ret.append(obj)
+ lst = lst.next
+ return ret
+
+cdef class Canvas(evas.c_evas.Canvas):
+ def __init__(self):
+ pass
+
+cdef public class Object(evasObject) [object PyElementaryObject, type PyElementaryObject_Type]:
+
+ """An abstract class to manage object and callback handling.
+
+ All widgets are based on this class.
+
+ @group General: part_text_set, text_set, part_text_get, text_get, text,
+ part_content_*, content_*, access_info_set, name_find, signal_emit,
+ elm_event_callback_*, domain_translatable_*, translatable_*
+ @group Styles: style_*, disabled_*, disabled
+ @group Widget Tree Navigation: widget_check, parent_widget_get,
+ top_widget_get, widget_type_get
+ @group Cursors: cursor_*
+ @group Focus: focus_*
+ @group Mirroring: mirrored_*
+ @group Widget Scaling: scale_*
+ @group Scrollhints: scroll_*
+ @group Tooltips: tooltip_*
+
+ @group Callbacks: callback_*
+
+ """
+
+ cdef object _elmcallbacks
+ cdef object _elm_event_cbs
+
+ def part_text_set(self, part, text):
+ """part_text_set(part, text)
+
+ Sets the text of a given part of this object.
+
+ @see: L{text_set()} and L{part_text_get()}
+
+ @param part: part name to set the text.
+ @type part: string
+ @param text: text to set.
+ @type text: string
+
+ """
+ elm_object_part_text_set(self.obj, _cfruni(part) if part is not None else NULL, _cfruni(text))
+
+ def text_set(self, text):
+ """text_set(text)
+
+ Sets the main text for this object.
+
+ @see: L{text_get()} and L{part_text_set()}
+
+ @param text: any text to set as the main textual part of this object.
+ @type text: string
+
+ """
+ elm_object_text_set(self.obj, _cfruni(text))
+
+ def part_text_get(self, part):
+ """part_text_get(part)
+
+ Gets the text of a given part of this object.
+
+ @see: L{text_get()} and L{part_text_set()}
+
+ @param part: part name to get the text.
+ @type part: string
+ @return: the text of a part or None if nothing was set.
+ @rtype: string
+
+ """
+ return _ctouni(elm_object_part_text_get(self.obj, _cfruni(part) if part is not None else NULL))
+
+ def text_get(self):
+ """text_get()
+
+ Gets the main text for this object.
+
+ @see: L{text_set()} and L{part_text_get()}
+
+ @return: the main text or None if nothing was set.
+ @rtype: string
+
+ """
+ return _ctouni(elm_object_text_get(self.obj))
+
+ property text:
+ def __get__(self):
+ return self.text_get()
+
+ def __set__(self, value):
+ self.text_set(value)
+
+ def part_content_set(self, part, evasObject content):
+ """part_content_set(part, content)
+
+ Set a content of an object
+
+ This sets a new object to a widget as a content object. If any
+ object was already set as a content object in the same part,
+ previous object will be deleted automatically.
+
+ @note: Elementary objects may have many contents
+
+ @param part: The content part name to set (None for the default content)
+ @type part: string
+ @param content: The new content of the object
+ @type content: L{Object}
+
+ """
+ elm_object_part_content_set(self.obj, _cfruni(part) if part is not None else NULL, content.obj)
+
+ def content_set(self, evasObject obj):
+ elm_object_part_content_set(self.obj, NULL, obj.obj)
+
+ def part_content_get(self, part):
+ """part_content_get(part)
+
+ Get a content of an object
+
+ @note: Elementary objects may have many contents
+
+ @param part: The content part name to get (None for the default content)
+ @type part: string
+ @return: content of the object or None for any error
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_object_part_content_get(self.obj, _cfruni(part) if part is not None else NULL))
+
+ def content_get(self):
+ return Object_from_instance(elm_object_content_get(self.obj))
+
+ def part_content_unset(self, part):
+ """part_content_unset(part)
+
+ Unset a content of an object
+
+ @note: Elementary objects may have many contents
+
+ @param part: The content part name to unset (None for the default
+ content)
+ @type part: string
+
+ """
+ return Object_from_instance(elm_object_part_content_unset(self.obj, _cfruni(part) if part is not None else NULL))
+
+ def content_unset(self):
+ return Object_from_instance(elm_object_content_unset(self.obj))
+
+ property content:
+ def __get__(self):
+ return self.content_get()
+ def __set__(self, content):
+ self.content_set(content)
+ def __del__(self):
+ self.content_unset()
+
+ def access_info_set(self, txt):
+ """access_info_set(txt)
+
+ Set the text to read out when in accessibility mode
+
+ @param txt: The text that describes the widget to people with poor or no vision
+ @type txt: string
+
+ """
+ elm_object_access_info_set(self.obj, _cfruni(txt))
+
+ def name_find(self, name not None, int recurse = 0):
+ """name_find(name, recurse)
+
+ Get a named object from the children
+
+ This function searches the children (or recursively children of
+ children and so on) of the given object looking for a child with the
+ name of C{name}. If the child is found the object is returned, or
+ None is returned. You can set the name of an object with
+ L{name_set()}. If the name is not unique within the child objects
+ (or the tree is C{recurse} is greater than 0) then it is undefined
+ as to which child of that name is returned, so ensure the name is
+ unique amongst children. If recurse is set to -1 it will recurse
+ without limit.
+
+ @param name: The name of the child to find
+ @type name: string
+ @param recurse: Set to the maximum number of levels to recurse (0 == none, 1 is only look at 1 level of children etc.)
+ @type recurse: int
+ @return: The found object of that name, or None if none is found
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_object_name_find(self.obj, _cfruni(name), recurse))
+
+ def style_set(self, style):
+ """style_set(style)
+
+ Set the style to used by a given widget
+
+ This sets the style (by name) that will define the appearance of a
+ widget. Styles vary from widget to widget and may also be defined
+ by other themes by means of extensions and overlays.
+
+ @see: elm_theme_extension_add()
+ @see: elm_theme_extension_del()
+ @see: elm_theme_overlay_add()
+ @see: elm_theme_overlay_del()
+
+ @param style: The name of the style to use on it
+ @type style: string
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ elm_object_style_set(self.obj, _cfruni(style))
+
+ def style_get(self):
+ """style_get()
+
+ Get the style used by the widget
+
+ This gets the style being used for that widget. Note that the string
+ pointer is only valid as long as the object is valid and the style doesn't
+ change.
+
+ @see: L{style_set()}
+
+ @return: The style name used
+ @rtype: string
+
+ """
+ return _ctouni(elm_object_style_get(self.obj))
+
+ property style:
+ """The style to be used by the widget
+
+ @type: string
+
+ """
+ def __get__(self):
+ return self.style_get()
+ def __set__(self, value):
+ self.style_set(value)
+
+ def disabled_set(self, disabled):
+ """disabled_set(disabled)
+
+ Set the disabled state of an Elementary object.
+
+ Elementary objects can be B{disabled}, in which state they won't
+ receive input and, in general, will be themed differently from
+ their normal state, usually greyed out. Useful for contexts
+ where you don't want your users to interact with some of the
+ parts of you interface.
+
+ This sets the state for the widget, either disabling it or
+ enabling it back.
+
+ @param disabled: The state to put in in: C{True} for
+ disabled, C{False} for enabled
+ @type disabled: bool
+
+ """
+ elm_object_disabled_set(self.obj, disabled)
+
+ def disabled_get(self):
+ """disabled_get()
+
+ Get the disabled state of an Elementary object.
+
+ This gets the state of the widget, which might be enabled or disabled.
+
+ @return: C{True}, if the widget is disabled, C{False} if it's enabled
+ (or on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_object_disabled_get(self.obj))
+
+ property disabled:
+ """The disabled state of an Elementary object.
+
+ Elementary objects can be B{disabled}, in which state they won't
+ receive input and, in general, will be themed differently from
+ their normal state, usually greyed out. Useful for contexts
+ where you don't want your users to interact with some of the
+ parts of you interface.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.disabled_get()
+ def __set__(self, disabled):
+ self.disabled_set(disabled)
+
+ def widget_check(self):
+ """widget_check()
+
+ Check if the given Evas Object is an Elementary widget.
+
+ @return: C{True} if it is an elementary widget variant, C{False}
+ otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_object_widget_check(self.obj))
+
+ def parent_widget_get(self):
+ """parent_widget_get()
+
+ Get the first parent of the given object that is an Elementary widget.
+
+ Use this to query for an object's parent widget.
+
+ @note: Most of Elementary users wouldn't be mixing non-Elementary
+ smart objects in the objects tree of an application, as this is
+ an advanced usage of Elementary with Evas. So, except for the
+ application's window, which is the root of that tree, all other
+ objects would have valid Elementary widget parents.
+
+ @return: the parent object that is an Elementary widget, or C{None},
+ if it was not found.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_object_parent_widget_get(self.obj))
+
+ property parent_widget:
+ """The first parent of the given object that is an Elementary
+ widget. This is a readonly property.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return self.parent_widget_get()
+
+ def top_widget_get(self):
+ """top_widget_get()
+
+ Get the top level parent of an Elementary widget.
+
+ @return: The top level Elementary widget, or C{None} if parent
+ cannot be found.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_object_top_widget_get(self.obj))
+
+ property top_widget:
+ """The top level parent of an Elementary widget.
+ This is a readonly property.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return self.top_widget_get()
+
+ def widget_type_get(self):
+ """widget_type_get()
+
+ Get the string that represents this Elementary widget.
+
+ @note: Elementary is weird and exposes itself as a single
+ Evas_Object_Smart_Class of type "elm_widget", so
+ evas_object_type_get() always return that, making debug and
+ language bindings hard. This function tries to mitigate this
+ problem, but the solution is to change Elementary to use
+ proper inheritance.
+
+ @return: Elementary widget name, or C{None} if not a valid widget.
+ @rtype: string
+
+ """
+ return elm_object_widget_type_get(self.obj)
+
+ property widget_type:
+ """The string that represents this Elementary widget.
+ This is a readonly property.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return elm_object_widget_type_get(self.obj)
+
+ def signal_emit(self, emission, source):
+ """signal_emit(emission, source)
+
+ Send a signal to the widget edje object.
+
+ This function sends a signal to the edje object of the obj. An edje
+ program can respond to a signal by specifying matching 'signal' and
+ 'source' fields.
+
+ @param emission: The signal's name.
+ @type emission: string
+ @param source: The signal's source.
+ @type source: string
+
+ """
+ elm_object_signal_emit(self.obj, _cfruni(emission), _cfruni(source))
+
+ #def signal_callback_add(self, emission, source, func, data):
+ #elm_object_signal_callback_add(self.obj, emission, source, func, data)
+
+ #def signal_callback_del(self, emission, source, func):
+ #elm_object_signal_callback_del(self.obj, emission, source, func)
+
+ # XXX: Clashes badly with evas event_callback_*
+ def elm_event_callback_add(self, func, *args, **kargs):
+ """elm_event_callback_add(func, *args, **kargs)
+
+ Add a callback for input events (key up, key down, mouse wheel)
+ on a given Elementary widget
+
+ Every widget in an Elementary interface set to receive focus, with
+ elm_object_focus_allow_set(), will propagate B{all} of its key up,
+ key down and mouse wheel input events up to its parent object, and
+ so on. All of the focusable ones in this chain which had an event
+ callback set, with this call, will be able to treat those events.
+ There are two ways of making the propagation of these event upwards
+ in the tree of widgets to B{cease}:
+ - Just return C{True} on C{func}. C{False} will mean the event
+ was B{not} processed, so the propagation will go on.
+ - The C{event_info} pointer passed to C{func} will contain the
+ event's structure and, if you OR its C{event_flags} inner
+ value to C{EVAS_EVENT_FLAG_ON_HOLD}, you're telling
+ Elementary one has already handled it, thus killing the
+ event's propagation, too.
+
+ @note: Your event callback will be issued on those events taking
+ place only if no other child widget has consumed the event already.
+
+ @note: Not to be confused with C{evas_object_event_callback_add()},
+ which will add event callbacks per type on general Evas objects
+ (no event propagation infrastructure taken in account).
+
+ @note: Not to be confused with L{signal_callback_add()},
+ which will add callbacks to B{signals} coming from a widget's
+ theme, not input events.
+
+ @note: Not to be confused with C{edje_object_signal_callback_add()},
+ which does the same as L{signal_callback_add()}, but directly on
+ an Edje object.
+
+ @note: Not to be confused with C{evas_object_smart_callback_add()},
+ which adds callbacks to smart objects' B{smart events}, and not
+ input events.
+
+ @see: L{event_callback_del()}
+
+ @param func: The callback function to be executed when the event
+ happens
+ @type func: function
+ @param args: Optional arguments containing data passed to C{func}
+ @param kargs: Optional keyword arguments containing data passed to
+ C{func}
+
+ """
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ if self._elm_event_cbs is None:
+ self._elm_event_cbs = []
+
+ if not self._elm_event_cbs:
+ elm_object_event_callback_add(self.obj, _event_callback, NULL)
+
+ data = (func, args, kargs)
+ self._elm_event_cbs.append(data)
+
+ def elm_event_callback_del(self, func, *args, **kargs):
+ """elm_event_callback_del(func, *args, **kargs)
+
+ Remove an event callback from a widget.
+
+ This function removes a callback, previously attached to event emission.
+ The parameters func and args, kwargs must match exactly those passed to
+ a previous call to L{event_callback_add()}.
+
+ @param func: The callback function to be executed when the event is
+ emitted.
+ @type func: function
+ @param args: Optional arguments containing data passed to C{func}
+ @param kargs: Optional keyword arguments containing data passed to
+ C{func}
+
+ """
+ data = (func, args, kargs)
+ self._elm_event_cbs.remove(data)
+
+ if not self._elm_event_cbs:
+ elm_object_event_callback_del(self.obj, _event_callback, NULL)
+
+ # Cursors
+ def cursor_set(self, cursor):
+ """cursor_set(cursor)
+
+ Set the cursor to be shown when mouse is over the object
+
+ Set the cursor that will be displayed when mouse is over the object.
+ The object can have only one cursor set to it, so if this function
+ is called twice for an object, the previous set will be unset.
+
+ """
+ elm_object_cursor_set(self.obj, _cfruni(cursor))
+
+ def cursor_get(self):
+ return _ctouni(elm_object_cursor_get(self.obj))
+
+ def cursor_unset(self):
+ """cursor_unset()
+
+ Unset cursor for object
+
+ Unset cursor for object, and set the cursor to default if the mouse
+ was over this object.
+
+ """
+ elm_object_cursor_unset(self.obj)
+
+ property cursor:
+ """The cursor to be shown when mouse is over the object
+
+ @type: string
+
+ """
+ def __get__(self):
+ return self.cursor_get()
+ def __set__(self, value):
+ self.cursor_set(value)
+ def __del__(self):
+ self.cursor_unset()
+
+ def cursor_style_set(self, style=None):
+ """cursor_style_set(style)
+
+ Sets a different style for this object cursor.
+
+ @note: before you set a style you should define a cursor with
+ elm_object_cursor_set()
+
+ """
+ elm_object_cursor_style_set(self.obj, _cfruni(style) if style is not None else NULL)
+
+ def cursor_style_get(self):
+ """cursor_style_get()
+
+ Get the style for this object cursor.
+
+ """
+ return _ctouni(elm_object_cursor_style_get(self.obj))
+
+ property cursor_style:
+ """The style for this object cursor."""
+ def __get__(self):
+ return self.cursor_style_get()
+ def __set__(self, value):
+ self.cursor_style_set(value)
+
+ def cursor_theme_search_enabled_set(self, engine_only):
+ """cursor_theme_search_enabled_set(engine_only)
+
+ Sets cursor engine only usage for this object.
+
+ @note: before you set engine only usage you should define a cursor with
+ elm_object_cursor_set()
+
+ """
+ elm_object_cursor_theme_search_enabled_set(self.obj, bool(engine_only))
+
+ def cursor_theme_search_enabled_get(self):
+ """cursor_theme_search_enabled_get()
+
+ Get the engine only usage for this object.
+
+ """
+ return elm_object_cursor_theme_search_enabled_get(self.obj)
+
+ property cursor_theme_search_enabled:
+ def __get__(self):
+ return self.cursor_theme_search_enabled_get()
+ def __set__(self, value):
+ self.cursor_theme_search_enabled_set(value)
+
+ # Focus
+ def focus_get(self):
+ """focus_get()
+
+ Get the whether an Elementary object has the focus or not.
+
+ @see: L{focus_set()}
+ @return: C{True}, if the object is focused, C{False} if
+ not (and on errors).
+ @rtype: bool
+
+ """
+ return bool(elm_object_focus_get(self.obj))
+
+ def focus_set(self, focus):
+ """focus_set(focus)
+
+ Set/unset focus to a given Elementary object.
+
+ @note: When you set focus to this object, if it can handle focus, will
+ take the focus away from the one who had it previously and will, for
+ now on, be the one receiving input events. Unsetting focus will remove
+ the focus from the object, passing it back to the previous element in the
+ focus chain list.
+
+ @see: L{focus_get()}
+ @see: L{focus_custom_chain_get()}
+
+ @param focus: C{True} set focus to a given object,
+ C{False} unset focus to a given object.
+ @type focus: bool
+
+ """
+ elm_object_focus_set(self.obj, focus)
+
+ def focus_allow_set(self, allow):
+ """focus_allow_set(allow)
+
+ Set the ability for an Elementary object to be focused
+
+ This sets whether the object is able to take focus or not.
+ Unfocusable objects do nothing when programmatically focused, being
+ the nearest focusable parent object the one really getting focus.
+ Also, when they receive mouse input, they will get the event, but
+ not take away the focus from where it was previously.
+
+ @param allow: C{True} if the object can be focused,
+ C{False} if not (and on errors)
+ @type allow: bool
+
+ """
+ elm_object_focus_allow_set(self.obj, allow)
+
+ def focus_allow_get(self):
+ """focus_allow_get()
+
+ Get whether an Elementary object is focusable or not
+
+ @note: Objects which are meant to be interacted with by input
+ events are created able to be focused, by default. All the
+ others are not.
+
+ @return: C{True} if the object is allowed to be focused,
+ C{False} if not (and on errors)
+ @rtype: bool
+
+ """
+ return elm_object_focus_allow_get(self.obj)
+
+ property focus_allow:
+ """The ability for the Elementary object to be focused.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.focus_allow_get()
+ def __set__(self, value):
+ self.focus_allow_set(value)
+
+ def focus_custom_chain_set(self, objs):
+ """focus_custom_chain_set(objs)
+
+ Set custom focus chain.
+
+ This function overwrites any previous custom focus chain within
+ the list of objects. The previous list will be deleted and this list
+ will be managed by elementary. After it is set, don't modify it.
+
+ @note: On focus cycle, only will be evaluated children of this container.
+
+ @param objs: Chain of objects to pass focus
+ @type objs: list of L{Object}s
+
+ """
+ elm_object_focus_custom_chain_unset(self.obj)
+ cdef Object obj
+ for obj in objs:
+ elm_object_focus_custom_chain_append(self.obj, obj.obj, NULL)
+
+ def focus_custom_chain_unset(self):
+ """focus_custom_chain_unset()
+
+ Unset a custom focus chain on a given Elementary widget
+
+ Any focus chain previously set on the object (for its child objects)
+ is removed entirely after this call.
+
+ """
+ elm_object_focus_custom_chain_unset(self.obj)
+
+ def focus_custom_chain_get(self):
+ """focus_custom_chain_get()
+
+ Get custom focus chain
+
+ @return: Chain of objects
+ @rtype: list of L{Object}s
+
+ """
+ return _object_list_to_python(elm_object_focus_custom_chain_get(self.obj))
+
+ property focus_custom_chain:
+ """The custom focus chain.
+
+ @type: list of L{Object}s
+
+ """
+ def __get__(self):
+ return self.focus_custom_chain_get()
+ def __set__(self, value):
+ self.focus_custom_chain_set(value)
+ def __del__(self):
+ self.focus_custom_chain_unset()
+
+ def focus_custom_chain_append(self, Object child, Object relative_child=None):
+ """focus_custom_chain_append(child, relative_child=None)
+
+ Append object to custom focus chain.
+
+ @note: If relative_child equal to None or not in custom chain, the
+ object will be added in end.
+
+ @note: On focus cycle, only will be evaluated children of this
+ container.
+
+ @param child: The child to be added in custom chain
+ @type child: L{Object}
+ @param relative_child: The relative object to position the child
+ @type relative_child: L{Object}
+
+ """
+ cdef Evas_Object *rel = NULL
+ if relative_child:
+ rel = relative_child.obj
+ elm_object_focus_custom_chain_append(self.obj, child.obj, rel)
+
+ def focus_custom_chain_prepend(self, Object child, Object relative_child=None):
+ """focus_custom_chain_prepend(child, relative_child=None)
+
+ Prepend object to custom focus chain.
+
+ @note: If relative_child equal to None or not in custom chain, the
+ object will be added in begin.
+
+ @note: On focus cycle, only will be evaluated children of this
+ container.
+
+ @param child: The child to be added in custom chain
+ @type child: L{Object}
+ @param relative_child: The relative object to position the child
+ @type relative_child: L{Object}
+
+ """
+ cdef Evas_Object *rel = NULL
+ if relative_child:
+ rel = relative_child.obj
+ elm_object_focus_custom_chain_prepend(self.obj, child.obj, rel)
+
+ #def focus_next(self, direction):
+ """focus_next(direction)
+
+ Give focus to next object in object tree.
+
+ Give focus to next object in focus chain of one object sub-tree. If
+ the last object of chain already have focus, the focus will go to the
+ first object of chain.
+
+ @param dir: Direction to move the focus
+ @type dir: Elm_Focus_Direction
+
+ """
+ #elm_object_focus_next(self.obj, direction)
+
+ def tree_focus_allow_set(self, focusable):
+ """tree_focus_allow_set(focusable)
+
+ Make the elementary object and its children to be focusable
+ (or unfocusable).
+
+ This sets whether the object and its children objects are able to
+ take focus or not. If the tree is set as unfocusable, newest focused
+ object which is not in this tree will get focus. This API can be
+ helpful for an object to be deleted. When an object will be deleted
+ soon, it and its children may not want to get focus (by focus
+ reverting or by other focus controls). Then, just use this API
+ before deleting.
+
+ @see: L{tree_focus_allow_get()}
+
+ @param focusable: C{True} for focusable, C{False} for unfocusable.
+ @type focusable: bool
+
+ """
+ elm_object_tree_focus_allow_set(self.obj, focusable)
+
+ def tree_focus_allow_get(self):
+ """tree_focus_allow_get()
+
+ Get whether an Elementary object and its children are focusable
+ or not.
+
+ @see: L{tree_focus_allow_set()}
+
+ @return: C{True}, if the tree is focusable, C{False} if not (and on
+ errors).
+
+ """
+ return bool(elm_object_tree_focus_allow_get(self.obj))
+
+ property tree_focus_allow:
+ """Whether the Elementary object and its children are focusable
+ or not.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.tree_focus_allow_get()
+ def __set__(self, value):
+ self.tree_focus_allow_set(value)
+
+ # Mirroring
+ def mirrored_get(self):
+ """mirrored_get()
+
+ Get the widget's mirrored mode.
+
+ @return: True if mirrored is set, False otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_object_mirrored_get(self.obj))
+
+ def mirrored_set(self, mirrored):
+ """mirrored_set(mirrored)
+
+ Set the widget's mirrored mode.
+
+ @param mirrored: True to set mirrored mode, False to unset it.
+ @type mirrored: bool
+
+ """
+ elm_object_mirrored_set(self.obj, mirrored)
+
+ property mirrored:
+ """The widget's mirrored mode.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.mirrored_get()
+ def __set__(self, value):
+ self.mirrored_set(value)
+
+ def mirrored_automatic_get(self):
+ """mirrored_automatic_get()
+
+ Returns the widget's mirrored mode setting.
+
+ @return: mode setting of the object.
+ @rtype: bool
+
+ """
+ return bool(elm_object_mirrored_automatic_get(self.obj))
+
+ def mirrored_automatic_set(self, automatic):
+ """mirrored_automatic_set(automatic)
+
+ Sets the widget's mirrored mode setting. When widget in automatic
+ mode, it follows the system mirrored mode set by elm_mirrored_set().
+
+ @param automatic: True for auto mirrored mode, False for manual.
+ @type automatic: bool
+
+ """
+ elm_object_mirrored_automatic_set(self.obj, automatic)
+
+ property mirrored_automatic:
+ """The widget's mirrored mode setting.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.mirrored_automatic_get()
+ def __set__(self, value):
+ self.mirrored_automatic_set(value)
+
+ # Scaling
+ def scale_set(self, scale):
+ """scale_set(scale)
+
+ Set the scaling factor for a given Elementary object
+
+ @param scale: Scale factor (from C{0.0} up, with C{1.0} meaning
+ no scaling)
+ @type scale: float
+
+ """
+ elm_object_scale_set(self.obj, scale)
+
+ def scale_get(self):
+ """scale_get()
+
+ Get the scaling factor for a given Elementary object
+
+ @return: The scaling factor set by L{scale_set()}
+ @rtype: float
+
+ """
+ return elm_object_scale_get(self.obj)
+
+ property scale:
+ """The scaling factor for the Elementary object.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return self.scale_get()
+ def __set__(self, value):
+ self.scale_set(value)
+
+ # Scrollhints
+ def scroll_hold_push(self):
+ """scroll_hold_push()
+
+ Push the scroll hold by 1
+
+ This increments the scroll hold count by one. If it is more
+ than 0 it will take effect on the parents of the indicated
+ object.
+
+ """
+ elm_object_scroll_hold_push(self.obj)
+
+ def scroll_hold_pop(self):
+ """scroll_hold_pop()
+
+ Pop the scroll hold by 1
+
+ This decrements the scroll hold count by one. If it is more than 0
+ it will take effect on the parents of the indicated object.
+
+ """
+ elm_object_scroll_hold_pop(self.obj)
+
+ def scroll_freeze_push(self):
+ """scroll_freeze_push()
+
+ Push the scroll freeze by 1
+
+ This increments the scroll freeze count by one. If it is more than 0
+ it will take effect on the parents of the indicated object.
+
+ """
+ elm_object_scroll_freeze_push(self.obj)
+
+ def scroll_freeze_pop(self):
+ """scroll_freeze_pop()
+
+ Pop the scroll freeze by 1
+
+ This decrements the scroll freeze count by one. If it is more than 0
+ it will take effect on the parents of the indicated object.
+
+ """
+ elm_object_scroll_freeze_pop(self.obj)
+
+ def scroll_lock_x_set(self, lock):
+ elm_object_scroll_lock_x_set(self.obj, lock)
+
+ def scroll_lock_y_set(self, lock):
+ elm_object_scroll_lock_y_set(self.obj, lock)
+
+ def scroll_lock_x_get(self):
+ return bool(elm_object_scroll_lock_x_get(self.obj))
+
+ def scroll_lock_y_get(self):
+ return bool(elm_object_scroll_lock_y_get(self.obj))
+
+ property scroll_lock_x:
+ def __get__(self):
+ return self.scroll_lock_x_get()
+ def __set__(self, value):
+ self.scroll_lock_x_set(value)
+
+ property scroll_lock_y:
+ def __get__(self):
+ return self.scroll_lock_y_get()
+ def __set__(self, value):
+ self.scroll_lock_y_set(value)
+
+ # Theme
+ property theme:
+ """A theme to be used for this object and its children.
+
+ This sets a specific theme that will be used for the given object and any
+ child objects it has. If @p th is NULL then the theme to be used is
+ cleared and the object will inherit its theme from its parent (which
+ ultimately will use the default theme if no specific themes are set).
+
+ Use special themes with great care as this will annoy users and make
+ configuration difficult. Avoid any custom themes at all if it can be
+ helped.
+
+ @type: L{Theme}
+
+ """
+ def __set__(self, Theme th):
+ elm_object_theme_set(self.obj, th.th)
+ def __get__(self):
+ cdef Theme th = Theme()
+ th.th = elm_object_theme_get(self.obj)
+ return th
+
+ # Tooltips
+ def tooltip_show(self):
+ """tooltip_show()
+
+ Force show tooltip of object
+
+ Force show the tooltip and disable hide on mouse_out If another
+ content is set as tooltip, the visible tooltip will hidden and
+ showed again with new content.
+
+ This can force show more than one tooltip at a time.
+
+ """
+ elm_object_tooltip_show(self.obj)
+
+ def tooltip_hide(self):
+ """tooltip_hide()
+
+ Force hide tooltip of the object
+
+ Force hide tooltip of object and (re)enable future mouse interations.
+
+ """
+ elm_object_tooltip_hide(self.obj)
+
+ def tooltip_text_set(self, text):
+ """tooltip_text_set(text)
+
+ Set the text to be shown in the tooltip object
+
+ Setup the text as tooltip object. The object can have only one
+ tooltip, so any previous tooltip data is removed. Internally, this
+ method calls L{tooltip_content_cb_set}
+
+ """
+ elm_object_tooltip_text_set(self.obj, _cfruni(text))
+
+ def tooltip_domain_translatable_text_set(self, domain, text):
+ elm_object_tooltip_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text))
+
+ def tooltip_translatable_text_set(self, text):
+ elm_object_tooltip_translatable_text_set(self.obj, _cfruni(text))
+
+ def tooltip_content_cb_set(self, func, *args, **kargs):
+ """tooltip_content_cb_set(func, *args, **kwargs)
+
+ Set the content to be shown in the tooltip object
+
+ Setup the tooltip to object. The object can have only one tooltip,
+ so any previews tooltip data is removed. C{func(owner, tooltip,
+ args, kargs)} will be called every time that need show the tooltip
+ and it should return a valid Evas_Object. This object is then
+ managed fully by tooltip system and is deleted when the tooltip is
+ gone.
+
+ @param func: Function to be create tooltip content, called when
+ need show tooltip.
+
+ """
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ cdef void *cbdata
+
+ data = (func, args, kargs)
+ Py_INCREF(data)
+ cbdata = <void *>data
+ elm_object_tooltip_content_cb_set(self.obj, _tooltip_content_create,
+ cbdata, _tooltip_data_del_cb)
+
+ def tooltip_unset(self):
+ """tooltip_unset()
+
+ Unset tooltip from object
+
+ Remove tooltip from object. If used the L{tooltip_text_set} the
+ internal copy of label will be removed correctly. If used
+ L{tooltip_content_cb_set}, the data will be unreferred but no freed.
+
+ """
+ elm_object_tooltip_unset(self.obj)
+
+ def tooltip_style_set(self, style=None):
+ """tooltip_style_set(style=None)
+
+ Sets a different style for this object tooltip.
+
+ @note: before you set a style you should define a tooltip with
+ L{tooltip_content_cb_set()} or L{tooltip_text_set()}
+
+ """
+ elm_object_tooltip_style_set(self.obj, _cfruni(style) if style is not None else NULL)
+
+ def tooltip_style_get(self):
+ """tooltip_style_get()
+
+ Get the style for this object tooltip.
+
+ """
+ return _ctouni(elm_object_tooltip_style_get(self.obj))
+
+ property tooltip_style:
+ """The style for this object tooltip.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return self.tooltip_style_get()
+ def __set__(self, value):
+ self.tooltip_style_set(value)
+
+ def tooltip_window_mode_set(self, disable):
+ return bool(elm_object_tooltip_window_mode_set(self.obj, disable))
+
+ def tooltip_window_mode_get(self):
+ return bool(elm_object_tooltip_window_mode_get(self.obj))
+
+ property tooltip_window_mode:
+ def __get__(self):
+ return self.tooltip_window_mode_get()
+ def __set__(self, value):
+ self.tooltip_window_mode_set(value)
+
+ #Translatable text
+ def domain_translatable_text_part_set(self, part, domain, text):
+ """domain_translatable_text_part_set(part, domain, text)
+
+ Set the text for an objects' part, marking it as translatable.
+
+ The string to set as C{text} must be the original one. Do not pass the
+ return of @C{gettext()} here. Elementary will translate the string
+ internally and set it on the object using L{part_text_set()},
+ also storing the original string so that it can be automatically
+ translated when the language is changed with L{language_set()}.
+
+ The C{domain} will be stored along to find the translation in the
+ correct catalog. It can be None, in which case it will use whatever
+ domain was set by the application with C{textdomain()}. This is useful
+ in case you are building a library on top of Elementary that will have
+ its own translatable strings, that should not be mixed with those of
+ programs using the library.
+
+ @param part: The name of the part to set
+ @type part: string
+ @param domain: The translation domain to use
+ @type domain: string
+ @param text: The original, non-translated text to set
+ @type text: string
+
+ """
+ elm_object_domain_translatable_text_part_set(self.obj, _cfruni(part), _cfruni(domain), _cfruni(text))
+
+ def domain_translatable_text_set(self, domain, text):
+ elm_object_domain_translatable_text_set(self.obj, _cfruni(domain), _cfruni(text))
+
+ def translatable_text_set(self, text):
+ elm_object_translatable_text_set(self.obj, _cfruni(text))
+
+ def translatable_text_part_get(self, part):
+ """translatable_text_part_get(part)
+
+ Gets the original string set as translatable for an object
+
+ When setting translated strings, the function L{part_text_get()}
+ will return the translation returned by C{gettext()}. To get the
+ original string use this function.
+
+ @param part: The name of the part that was set
+ @type part: string
+
+ @return: The original, untranslated string
+ @rtype: string
+
+ """
+ return _ctouni(elm_object_translatable_text_part_get(self.obj, _cfruni(part)))
+
+ def translatable_text_get(self):
+ return _ctouni(elm_object_translatable_text_get(self.obj))
+
+ property translatable_text:
+ def __get__(self):
+ return self.translatable_text_get()
+ def __set__(self, value):
+ self.translatable_text_set(value)
+
+ # Callbacks
+ def _callback_add_full(self, event, event_conv, func, *args, **kargs):
+ """_callback_add_full(event, event_conv, func, *args, **kargs)
+
+ Add a callback for the smart event specified by event.
+
+ @param event: event name
+ @type event: string
+ @param event_conv: Conversion function to get the
+ pointer (as a long) to the object to be given to the
+ function as the second parameter. If None, then no
+ parameter will be given to the callback.
+ @type event_conv: function
+ @param func: what to callback. Should have the signature:
+ C{function(object, event_info, *args, **kargs)}
+ C{function(object, *args, **kargs)} (if no event_conv is provided)
+ @type func: function
+
+ @raise TypeError: if B{func} is not callable.
+ @raise TypeError: if B{event_conv} is not callable or None.
+
+ """
+ if not callable(func):
+ raise TypeError("func must be callable")
+ if event_conv is not None and not callable(event_conv):
+ raise TypeError("event_conv must be None or callable")
+
+ if self._elmcallbacks is None:
+ self._elmcallbacks = {}
+
+ e = intern(event)
+ lst = self._elmcallbacks.setdefault(e, [])
+ if not lst:
+ evas_object_smart_callback_add(self.obj, _fruni(event),
+ _object_callback, <void *>e)
+ lst.append((event_conv, func, args, kargs))
+
+ def _callback_del_full(self, event, event_conv, func):
+ """_callback_del_full(event, event_conv, func)
+
+ Remove a smart callback.
+
+ Removes a callback that was added by L{_callback_add_full()}.
+
+ @param event: event name
+ @type event: string
+ @param event_conv: same as registered with L{_callback_add_full()}
+ @type event_conv: function
+ @param func: what to callback, should have be previously registered.
+ @type func: function
+
+ @precond: B{event}, B{event_conv} and B{func} must be used as
+ parameter for L{_callback_add_full()}.
+
+ @raise ValueError: if there was no B{func} connected with this event.
+
+ """
+ try:
+ lst = self._elmcallbacks[event]
+ except KeyError as e:
+ raise ValueError("Unknown event %r" % event)
+
+ i = -1
+ ec = None
+ f = None
+ for i, (ec, f, a, k) in enumerate(lst):
+ if event_conv == ec and func == f:
+ break
+
+ if f != func or ec != event_conv:
+ raise ValueError("Callback %s was not registered with event %r" %
+ (func, event))
+
+ lst.pop(i)
+ if lst:
+ return
+ self._elmcallbacks.pop(event)
+ evas_object_smart_callback_del(self.obj, _fruni(event), _object_callback)
+
+ def _callback_add(self, event, func, *args, **kargs):
+ """_callback_add(event, func, *args, **kargs)
+
+ Add a callback for the smart event specified by event.
+
+ @param event: event name
+ @type event: string
+ @param func: what to callback. Should have the signature:
+ C{function(object, *args, **kargs)}
+ @type func: function
+
+ @raise TypeError: if B{func} is not callable.
+
+ """
+ return self._callback_add_full(event, None, func, *args, **kargs)
+
+ def _callback_del(self, event, func):
+ """_callback_del(event, func)
+
+ Remove a smart callback.
+
+ Removes a callback that was added by L{_callback_add()}.
+
+ @param event: event name
+ @type event: string
+ @param func: what to callback, should have be previously registered.
+ @type func: function
+
+ @precond: B{event} and B{func} must be used as parameter for
+ L{_callback_add_full()}.
+
+ @raise ValueError: if there was no B{func} connected with this event.
+
+ """
+ return self._callback_del_full(event, None, func)
+
+ def _get_obj_addr(self):
+ """_get_obj_addr()
+
+ Return the address of the internal save Evas_Object
+
+ @return: Address of saved Evas_Object
+
+ """
+ return <long>self.obj
+
+
+def __elm_widget_cls_resolver(unsigned long ptr):
+ cdef Evas_Object *obj = <Evas_Object *>ptr
+ cdef const_char_ptr t
+
+ t = elm_object_widget_type_get(obj)
+ assert t != NULL
+ return _elm_widget_type_mapping.get(_ctouni(t), None)
+
+_extended_object_mapping_register("elm_widget",
+ __elm_widget_cls_resolver)
+
+# NOTE: this is just transitional, need to be removed after all the widgets
+# in elm will be ported to the new hierarchical pattern.
+_extended_object_mapping_register("elm_widget_compat",
+ __elm_widget_cls_resolver)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryObject_Type # hack to install metaclass
+_install_metaclass(&PyElementaryObject_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_object_item.pxi b/elementary/elementary.c_elementary_object_item.pxi
new file mode 100644
index 0000000..46fb26c
--- /dev/null
+++ b/elementary/elementary.c_elementary_object_item.pxi
@@ -0,0 +1,529 @@
+# Copyright (c) 2010 ProFUSION embedded systems
+#
+#This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef Evas_Object *_tooltip_item_content_create(void *data, Evas_Object *o, Evas_Object *t, void *it) with gil:
+ cdef Object ret, obj, tooltip
+
+ obj = <Object>evas_object_data_get(o, "python-evas")
+ tooltip = Object_from_instance(t)
+ (func, item, args, kargs) = <object>data
+ ret = func(obj, item, *args, **kargs)
+ if not ret:
+ return NULL
+ return ret.obj
+
+cdef void _tooltip_item_data_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ Py_DECREF(<object>data)
+
+cdef class ObjectItem
+
+def _cb_object_item_conv(long addr):
+ cdef Elm_Object_Item *it = <Elm_Object_Item *>addr
+ return _object_item_to_python(it)
+
+cdef Elm_Object_Item * _object_item_from_python(ObjectItem item) except NULL:
+ if item is None or item.item is NULL:
+ raise TypeError("Invalid item!")
+ return item.item
+
+cdef _object_item_to_python(Elm_Object_Item *it):
+ cdef void *data
+ cdef object item
+
+ if it == NULL:
+ return None
+
+ data = elm_object_item_data_get(it)
+ if data == NULL:
+ return None
+
+ item = <object>data
+ return item
+
+cdef _object_item_list_to_python(const_Eina_List *lst):
+ cdef Elm_Object_Item *it
+ ret = []
+ ret_append = ret.append
+ while lst:
+ it = <Elm_Object_Item *>lst.data
+ lst = lst.next
+ o = _object_item_to_python(it)
+ if o is not None:
+ ret_append(o)
+ return ret
+
+cdef void _object_item_del_cb(void *data, Evas_Object *o, void *event_info) with gil:
+ cdef ObjectItem d = <object>data
+ d.item = NULL
+ Py_DECREF(d)
+
+cdef void _object_item_callback(void *data, Evas_Object *obj, void *event_info) with gil:
+ cdef ObjectItem item = <object>data
+ (callback, a, ka) = item.params
+ try:
+ o = Object_from_instance(obj)
+ callback(o, item, *a, **ka)
+ except Exception as e:
+ traceback.print_exc()
+
+cdef class ObjectItem(object):
+
+ """A generic item for the widgets.
+
+ @group General: widget_get, part_content_set, content_set, part_content_get,
+ content_get, part_content_unset, content_unset, part_text_set, text_set,
+ part_text_get, text_get, text, access_info_set, data_get, signal_emit,
+ tooltip_text_set, tooltip_window_mode_set, tooltip_window_mode_get,
+ tooltip_content_cb_set, tooltip_unset, tooltip_style_set,
+ tooltip_style_get, cursor_set, cursor_get, cursor_unset,
+ cursor_style_set, cursor_style_get, cursor_engine_only_set,
+ cursor_engine_only_get
+
+ @group Styles: disabled_set, disabled_get, disabled
+
+ """
+
+ # Notes to bindings' developers:
+ # ==============================
+ #
+ # After calling _set_obj, Elm_Object_Item's "data" contains the python item
+ # instance pointer, and the attribute "item", that you see below, contains
+ # a pointer to Elm_Object_Item.
+ #
+ # The variable params holds callback data, usually the tuple
+ # (callback, args, kwargs). Note that some of the generic object item
+ # functions expect this tuple. Use custom functions if you assign the
+ # params differently.
+ #
+ # Gen type widgets MUST set the params BEFORE adding the item as the
+ # items need their data immediately when adding them.
+
+ cdef Elm_Object_Item *item
+ cdef object params
+
+ def __dealloc__(self):
+ if self.item != NULL:
+ elm_object_item_del_cb_set(self.item, NULL)
+ elm_object_item_del(self.item)
+ self.item = NULL
+
+ cdef int _set_obj(self, Elm_Object_Item *item) except 0:
+ assert self.item == NULL, "Object must be clean"
+ self.item = item
+ elm_object_item_data_set(item, <void*>self)
+ elm_object_item_del_cb_set(item, _object_item_del_cb)
+ Py_INCREF(self)
+ return 1
+
+ def widget_get(self):
+ """widget_get()
+
+ Get the widget object's handle which contains a given item
+
+ @note: This returns the widget object itself that an item belongs to.
+ @note: Every elm_object_item supports this API
+
+ @return: The widget object
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_object_item_widget_get(self.item))
+
+ def part_content_set(self, part, Object content not None):
+ """part_content_set(part, content)
+
+ Set a content of an object item
+
+ This sets a new object to an item as a content object. If any object
+ was already set as a content object in the same part, previous
+ object will be deleted automatically.
+
+ @note: Elementary object items may have many contents
+
+ @param part: The content part name to set (None for the default
+ content)
+ @param content: The new content of the object item
+
+ """
+ elm_object_item_part_content_set(self.item, _cfruni(part) if part is not None else NULL, content.obj)
+
+ def content_set(self, Object content not None):
+ elm_object_item_content_set(self.item, content.obj)
+
+ def part_content_get(self, part):
+ """part_content_get(part)
+
+ Get a content of an object item
+
+ @note: Elementary object items may have many contents
+
+ @param part: The content part name to unset (None for the default
+ content)
+ @type part: string
+ @return: content of the object item or None for any error
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_object_item_part_content_get(self.item, _cfruni(part) if part is not None else NULL))
+
+ def content_get(self):
+ return Object_from_instance(elm_object_item_content_get(self.item))
+
+ def part_content_unset(self, part):
+ """part_content_unset(part)
+
+ Unset a content of an object item
+
+ @note: Elementary object items may have many contents
+
+ @param part: The content part name to unset (None for the default
+ content)
+ @type part: string
+
+ """
+ return Object_from_instance(elm_object_item_part_content_unset(self.item, _cfruni(part) if part is not None else NULL))
+
+ def content_unset(self):
+ return Object_from_instance(elm_object_item_content_unset(self.item))
+
+ def part_text_set(self, part, text):
+ """part_text_set(part, text)
+
+ Sets the text of a given part of this object.
+
+ @see: L{text_set()} and L{part_text_get()}
+
+ @param part: part name to set the text.
+ @type part: string
+ @param text: text to set.
+ @type text: string
+
+ """
+ elm_object_item_part_text_set(self.item, _cfruni(part) if part is not None else NULL, _cfruni(text))
+
+ def text_set(self, text):
+ """text_set(text)
+
+ Sets the main text for this object.
+
+ @see: L{text_get()} and L{part_text_set()}
+
+ @param text: any text to set as the main textual part of this object.
+ @type text: string
+
+ """
+ elm_object_item_text_set(self.item, _cfruni(text))
+
+ def part_text_get(self, part):
+ """part_text_get(part)
+
+ Gets the text of a given part of this object.
+
+ @see: L{text_get()} and L{part_text_set()}
+
+ @param part: part name to get the text.
+ @type part: string
+ @return: the text of a part or None if nothing was set.
+ @rtype: string
+
+ """
+ return _ctouni(elm_object_item_part_text_get(self.item, _cfruni(part) if part is not None else NULL))
+
+ def text_get(self):
+ """text_get()
+
+ Gets the main text for this object.
+
+ @see: L{text_set()} and L{part_text_get()}
+
+ @return: the main text or None if nothing was set.
+ @rtype: string
+
+ """
+ return _ctouni(elm_object_item_text_get(self.item))
+
+ property text:
+ """The main text for this object.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return self.text_get()
+
+ def __set__(self, value):
+ self.text_set(value)
+
+ def access_info_set(self, txt):
+ """access_info_set(txt)
+
+ Set the text to read out when in accessibility mode
+
+ @param txt: The text that describes the widget to people with poor
+ or no vision
+ @type txt: string
+
+ """
+ elm_object_item_access_info_set(self.item, _cfruni(txt))
+
+ def data_get(self):
+ """data_get()
+
+ Returns the callback data given at creation time.
+
+ @rtype: tuple of (args, kargs), args is tuple, kargs is dict.
+
+ """
+ (callback, a, ka) = self.params
+ return (a, ka)
+
+ def data_set(self, *args, **kwargs):
+ """data_set(*args, **kwargs)
+
+ Set the callback data.
+
+ """
+ (callback, a, ka) = self.params
+ self.params = tuple(callback, *args, **kwargs)
+
+ property data:
+ def __get__(self):
+ return self.data_get()
+ #def __set__(self, data):
+ #self.data_set(data)
+
+ def signal_emit(self, emission, source):
+ """signal_emit(emission, source)
+
+ Send a signal to the edje object of the widget item.
+
+ This function sends a signal to the edje object of the obj item. An
+ edje program can respond to a signal by specifying matching
+ 'signal' and 'source' fields.
+
+ @param emission: The signal's name.
+ @type emission: string
+ @param source: The signal's source.
+ @type source: string
+
+ """
+ elm_object_item_signal_emit(self.item, _cfruni(emission), _cfruni(source))
+
+ def disabled_set(self, disabled):
+ """disabled_set(disabled)
+
+ Set the disabled state of an widget item.
+
+ Elementary object item can be B{disabled}, in which state they won't
+ receive input and, in general, will be themed differently from
+ their normal state, usually greyed out. Useful for contexts
+ where you don't want your users to interact with some of the
+ parts of you interface.
+
+ This sets the state for the widget item, either disabling it or
+ enabling it back.
+
+ @param disabled: The state to put in in: C{True} for
+ disabled, C{False} for enabled
+ @type disabled: bool
+
+ """
+ elm_object_item_disabled_set(self.item, disabled)
+
+ def disabled_get(self):
+ """disabled_get()
+
+ Get the disabled state of an widget item.
+
+ This gets the state of the widget, which might be enabled or disabled.
+
+ @return: C{True}, if the widget item is disabled, C{False}
+ if it's enabled (or on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_object_item_disabled_get(self.item))
+
+ property disabled:
+ """The disabled state of an widget item.
+
+ Elementary object item can be B{disabled}, in which state they won't
+ receive input and, in general, will be themed differently from their
+ normal state, usually greyed out. Useful for contexts where you
+ don't want your users to interact with some of the parts of you
+ interface.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.disabled_get()
+ def __set__(self, disabled):
+ self.disabled_set(disabled)
+
+ #def delete_cb_set(self, del_cb):
+ #elm_object_item_del_cb_set(self.item, del_cb)
+
+ def delete(self):
+ if self.item == NULL:
+ raise ValueError("Object already deleted")
+ elm_object_item_del(self.item)
+ Py_DECREF(self)
+
+ def tooltip_text_set(self, char *text):
+ """tooltip_text_set(text)
+
+ Set the text to be shown in the tooltip object
+
+ Setup the text as tooltip object. The object can have only one
+ tooltip, so any previous tooltip data is removed. Internally, this
+ method calls L{tooltip_content_cb_set}
+
+ """
+ elm_object_item_tooltip_text_set(self.item, _cfruni(text))
+
+ def tooltip_window_mode_set(self, disable):
+ return bool(elm_object_item_tooltip_window_mode_set(self.item, disable))
+
+ def tooltip_window_mode_get(self):
+ return bool(elm_object_item_tooltip_window_mode_get(self.item))
+
+ def tooltip_content_cb_set(self, func, *args, **kargs):
+ """tooltip_content_cb_set(func, *args, **kargs)
+
+ Set the content to be shown in the tooltip object
+
+ Setup the tooltip to object. The object can have only one tooltip,
+ so any previews tooltip data is removed. C{func(owner, tooltip,
+ args, kargs)} will be called every time that need show the tooltip
+ and it should return a valid Evas_Object. This object is then
+ managed fully by tooltip system and is deleted when the tooltip is
+ gone.
+
+ @param func: Function to be create tooltip content, called when
+ need show tooltip.
+ @type func: function
+
+ """
+ if not callable(func):
+ raise TypeError("func must be callable")
+
+ cdef void *cbdata
+
+ data = (func, args, kargs)
+ Py_INCREF(data)
+ cbdata = <void *>data
+ elm_object_item_tooltip_content_cb_set(self.item, _tooltip_item_content_create,
+ cbdata, _tooltip_item_data_del_cb)
+
+ def tooltip_unset(self):
+ """tooltip_unset()
+
+ Unset tooltip from object
+
+ Remove tooltip from object. If used the L{tooltip_text_set} the
+ internal copy of label will be removed correctly. If used
+ L{tooltip_content_cb_set}, the data will be unreferred but no freed.
+
+ """
+ elm_object_item_tooltip_unset(self.item)
+
+ def tooltip_style_set(self, style=None):
+ """tooltip_style_set(style=None)
+
+ Sets a different style for this object tooltip.
+
+ @note: before you set a style you should define a tooltip with
+ L{tooltip_content_cb_set()} or L{tooltip_text_set()}
+
+ """
+ elm_object_item_tooltip_style_set(self.item, _cfruni(style) if style is not None else NULL)
+
+ def tooltip_style_get(self):
+ """tooltip_style_get()
+
+ Get the style for this object tooltip.
+
+ """
+ return _ctouni(elm_object_item_tooltip_style_get(self.item))
+
+ def cursor_set(self, char *cursor):
+ """cursor_set(cursor)
+
+ Set the cursor to be shown when mouse is over the object
+
+ Set the cursor that will be displayed when mouse is over the object.
+ The object can have only one cursor set to it, so if this function
+ is called twice for an object, the previous set will be unset.
+
+ """
+ elm_object_item_cursor_set(self.item, _cfruni(cursor))
+
+ def cursor_get(self):
+ return _ctouni(elm_object_item_cursor_get(self.item))
+
+ def cursor_unset(self):
+ """cursor_unset()
+
+ Unset cursor for object
+
+ Unset cursor for object, and set the cursor to default if the mouse
+ was over this object.
+
+ """
+ elm_object_item_cursor_unset(self.item)
+
+ def cursor_style_set(self, style=None):
+ """cusor_style_set(style=None)
+
+ Sets a different style for this object cursor.
+
+ @note: before you set a style you should define a cursor with
+ L{cursor_set()}
+
+ """
+ elm_object_item_cursor_style_set(self.item, _cfruni(style) if style is not None else NULL)
+
+ def cursor_style_get(self):
+ """cursor_style_get()
+
+ Get the style for this object cursor.
+
+ """
+ return _ctouni(elm_object_item_cursor_style_get(self.item))
+
+ def cursor_engine_only_set(self, engine_only):
+ """cursor_engine_only_set(engine_only)
+
+ Sets cursor engine only usage for this object.
+
+ @note: before you set engine only usage you should define a cursor with
+ L{cursor_set()}
+
+ """
+ elm_object_item_cursor_engine_only_set(self.item, bool(engine_only))
+
+ def cursor_engine_only_get(self):
+ """cursor_engine_only_get()
+
+ Get the engine only usage for this object.
+
+ """
+ return elm_object_item_cursor_engine_only_get(self.item)
+
+_elm_widget_type_register("object_item", ObjectItem)
diff --git a/elementary/elementary.c_elementary_panel.pxi b/elementary/elementary.c_elementary_panel.pxi
new file mode 100644
index 0000000..73b2aa7
--- /dev/null
+++ b/elementary/elementary.c_elementary_panel.pxi
@@ -0,0 +1,115 @@
+# Copyright (c) 2010 Boris Faure
+# 2010 Sebastian Krzyszkowiak
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Panel(Object) [object PyElementaryPanel, type PyElementaryPanel_Type]:
+
+ """A panel is a type of animated container that contains subobjects.
+
+ It can be expanded or contracted by clicking the button on it's edge.
+
+ Orientations are as follows:
+ - ELM_PANEL_ORIENT_TOP
+ - ELM_PANEL_ORIENT_LEFT
+ - ELM_PANEL_ORIENT_RIGHT
+
+ Default content parts of the panel widget that you can use for are:
+ - "default" - A content of the panel
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_panel_add(parent.obj))
+
+ def orient_set(self, orient):
+ """Sets the orientation of the panel
+
+ Sets from where the panel will (dis)appear.
+
+ @param orient: The panel orientation.
+ @type orient: Elm_Panel_Orient
+
+ """
+ elm_panel_orient_set(self.obj, orient)
+
+ def orient_get(self):
+ """Get the orientation of the panel.
+
+ @return: The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
+ @rtype: Elm_Panel_Orient
+
+ """
+ return elm_panel_orient_get(self.obj)
+
+ property orient:
+ """The orientation of the panel.
+
+ Tells from where the panel will (dis)appear.
+
+ This has value ELM_PANEL_ORIENT_LEFT on failure
+
+ @type: Elm_Panel_Orient
+
+ """
+ def __set__(self, orient):
+ elm_panel_orient_set(self.obj, orient)
+ def __get__(self):
+ return elm_panel_orient_get(self.obj)
+
+ def hidden_set(self, hidden):
+ """Set the hidden state of the panel.
+
+ @param hidden: If True, the panel will run the animation to disappear.
+ @type hidden: bool
+
+ """
+ elm_panel_orient_set(self.obj, hidden)
+
+ def hidden_get(self):
+ """Get the hidden state of the panel.
+
+ @return: True if it is hidden state
+
+ """
+ return elm_panel_hidden_get(self.obj)
+
+ property hidden:
+ """The hidden state of the panel.
+
+ @type: bool
+
+ """
+ def __set__(self, hidden):
+ elm_panel_hidden_set(self.obj, hidden)
+ def __get__(self):
+ return elm_panel_hidden_get(self.obj)
+
+ def toggle(self):
+ """toggle()
+
+ Toggle the hidden state of the panel from code.
+
+ """
+ elm_panel_toggle(self.obj)
+
+_elm_widget_type_register("panel", Panel)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPanel_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPanel_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_panes.pxi b/elementary/elementary.c_elementary_panes.pxi
new file mode 100644
index 0000000..92e6425
--- /dev/null
+++ b/elementary/elementary.c_elementary_panes.pxi
@@ -0,0 +1,159 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Panes(LayoutClass) [object PyElementaryPanes, type PyElementaryPanes_Type]:
+
+ """The panes widget adds a draggable bar between two contents. When
+ dragged this bar will resize contents' size.
+
+ Panes can be displayed vertically or horizontally, and contents size
+ proportion can be customized (homogeneous by default).
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"press"} - The panes has been pressed (button wasn't released yet).
+ - C{"unpressed"} - The panes was released after being pressed.
+ - C{"clicked"} - The panes has been clicked.
+ - C{"clicked,double"} - The panes has been double clicked.
+
+ Available styles for it:
+ - C{"default"}
+
+ Default content parts of the panes widget that you can use are:
+ - "left" - A leftside content of the panes
+ - "right" - A rightside content of the panes
+
+ If panes are displayed vertically, left content will be displayed on top.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_panes_add(parent.obj))
+
+ property fixed:
+ """Whether the left and right panes resize homogeneously or not.
+
+ By default panes are resized homogeneously.
+
+ @see: L{content_left_size}
+ @see: L{content_right_size}
+
+ @type: bool
+
+ """
+ def __set__(self, fixed):
+ elm_panes_fixed_set(self.obj, fixed)
+ def __get__(self):
+ return bool(elm_panes_fixed_get(self.obj))
+
+ property content_left_size:
+ """The size proportion of panes widget's left side.
+
+ By default it's homogeneous, i.e., both sides have the same size.
+
+ If something different is required, it can be set with this property.
+ For example, if the left content should be displayed over
+ 75% of the panes size, C{size} should be passed as C{0.75}.
+ This way, right content will be resized to 25% of panes size.
+
+ If displayed vertically, left content is displayed at top, and
+ right content at bottom.
+
+ @note: This proportion will change when user drags the panes bar.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_panes_content_left_size_get(self.obj)
+ def __set__(self, size):
+ elm_panes_content_left_size_set(self.obj, size)
+
+ property content_right_size:
+ """The size proportion of panes widget's right side.
+
+ By default it's homogeneous, i.e., both sides have the same size.
+
+ If something different is required, it can be set with this property.
+ For example, if the right content should be displayed over
+ 75% of the panes size, C{size} should be passed as C{0.75.}
+ This way, left content will be resized to 25% of panes size.
+
+ If displayed vertically, left content is displayed at top, and
+ right content at bottom.
+
+ @note: This proportion will change when user drags the panes bar.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_panes_content_right_size_get(self.obj)
+ def __set__(self, size):
+ elm_panes_content_right_size_set(self.obj, size)
+
+ property horizontal:
+ """The orientation of a given panes widget.
+
+ Use this property to change how your panes is to be disposed:
+ vertically or horizontally.
+
+ By default it's displayed horizontally.
+
+ @type: bool
+
+ """
+ def __set__(self, horizontal):
+ elm_panes_horizontal_set(self.obj, horizontal)
+ def __get__(self):
+ return bool(elm_panes_horizontal_get(self.obj))
+
+ def callback_press_add(self, func, *args, **kwargs):
+ """The panes has been pressed (button wasn't released yet)."""
+ self._callback_add("press", func, *args, **kwargs)
+
+ def callback_press_del(self, func):
+ self._callback_del("press", func)
+
+ def callback_unpress_add(self, func, *args, **kwargs):
+ """The panes was released after being pressed."""
+ self._callback_add("unpress", func, *args, **kwargs)
+
+ def callback_unpress_del(self, func):
+ self._callback_del("unpress", func)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """The panes has been clicked."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_clicked_double_add(self, func, *args, **kwargs):
+ """The panes has been double clicked."""
+ self._callback_add("clicked,double", func, *args, **kwargs)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del("clicked,double", func)
+
+_elm_widget_type_register("panes", Panes)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPanes_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPanes_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_photo.pxi b/elementary/elementary.c_elementary_photo.pxi
new file mode 100644
index 0000000..7614e25
--- /dev/null
+++ b/elementary/elementary.c_elementary_photo.pxi
@@ -0,0 +1,229 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Photo(Object) [object PyElementaryPhoto, type PyElementaryPhoto_Type]:
+
+ """An Elementary photo widget is intended for displaying a photo, for
+ ex., a person's image (contact).
+
+ Simple, yet with a very specific purpose. It has a decorative frame
+ around the inner image itself, on the default theme.
+
+ This widget relies on an internal L{Icon}, so that the APIs of these two
+ widgets are similar (drag and drop is also possible here, for example).
+
+ Signals that you can add callbacks for are:
+ - C{"clicked"} - This is called when a user has clicked the photo
+ - C{"drag,start"} - One has started dragging the inner image out of the
+ photo's frame
+ - C{"drag,end"} - One has dropped the dragged image somewhere
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_photo_add(parent.obj))
+
+ def file_set(self, filename):
+ """Set the file that will be used as photo
+
+ @param file: The path to file that will be used as photo
+ @type file: string
+
+ @return: (True = success, False = error)
+ @rtype: bool
+
+ """
+ if filename:
+ return bool(elm_photo_file_set(self.obj, _cfruni(filename)))
+ else:
+ return bool(elm_photo_file_set(self.obj, NULL))
+
+ property file:
+ """Set the file that will be used as photo
+
+ @type: string
+
+ """
+ def __set__(self, filename):
+ # TODO: check return status
+ if filename:
+ elm_photo_file_set(self.obj, _cfruni(filename))
+ else:
+ elm_photo_file_set(self.obj, NULL)
+
+ def thumb_set(self, filename, group = None):
+ """Set the file that will be used as thumbnail in the photo.
+
+ @param file: The path to file that will be used as thumbnail.
+ @type file: string
+ @param group: The key used in case of an EET file.
+ @type group: string
+
+ """
+ elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ property thumb:
+ """Set the file that will be used as thumbnail in the photo.
+
+ @type: string or tuple of strings
+
+ """
+ def __set__(self, value):
+ if isinstance(value, tuple):
+ filename, group = value
+ else:
+ filename = value
+ group = None
+ elm_photo_thumb_set(self.obj, _cfruni(filename), _cfruni(group))
+
+ def size_set(self, size):
+ """Set the size that will be used on the photo.
+
+ @param size: The size of the photo
+ @type size: int
+
+ """
+ elm_photo_size_set(self.obj, size)
+
+ property size:
+ """Set the size that will be used on the photo.
+
+ @type: int
+
+ """
+ def __set__(self, size):
+ elm_photo_size_set(self.obj, size)
+
+ def fill_inside_set(self, fill):
+ """Set if the photo should be completely visible or not.
+
+ @param fill: If True the photo will be completely visible.
+ @type fill: bool
+
+ """
+ elm_photo_fill_inside_set(self.obj, fill)
+
+ property fill_inside:
+ """Set if the photo should be completely visible or not.
+
+ @type: bool
+
+ """
+ def __set__(self, fill):
+ elm_photo_fill_inside_set(self.obj, fill)
+
+ def editable_set(self, fill):
+ """Set editability of the photo.
+
+ An editable photo can be dragged to or from, and can be cut or
+ pasted too. Note that pasting an image or dropping an item on
+ the image will delete the existing content.
+
+ @param set: To set of clear editability.
+ @type set: bool
+
+ """
+ elm_photo_editable_set(self.obj, fill)
+
+ property editable:
+ """Set editability of the photo.
+
+ An editable photo can be dragged to or from, and can be cut or
+ pasted too. Note that pasting an image or dropping an item on
+ the image will delete the existing content.
+
+ @type: bool
+
+ """
+ def __set__(self, fill):
+ elm_photo_editable_set(self.obj, fill)
+
+ def aspect_fixed_set(self, fixed):
+ """Set whether the original aspect ratio of the photo should be kept on resize.
+
+ The original aspect ratio (width / height) of the photo is usually
+ distorted to match the object's size. Enabling this option will fix
+ this original aspect, and the way that the photo is fit into
+ the object's area
+
+ @see: L{aspect_fixed_get()}
+
+ @param fixed: C{True} if the photo should fix the aspect,
+ C{False} otherwise.
+ @type fixed: bool
+
+ """
+ elm_photo_aspect_fixed_set(self.obj, fixed)
+
+ def aspect_fixed_get(self):
+ """Get if the object keeps the original aspect ratio.
+
+ @return: C{True} if the object keeps the original aspect, C{False}
+ otherwise.
+ @rtype: bool
+
+ """
+ return elm_photo_aspect_fixed_get(self.obj)
+
+ property aspect_fixed:
+ """Whether the original aspect ratio of the photo should be kept on resize.
+
+ The original aspect ratio (width / height) of the photo is usually
+ distorted to match the object's size. Enabling this option will fix
+ this original aspect, and the way that the photo is fit into
+ the object's area
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_photo_aspect_fixed_get(self.obj)
+
+ def __set__(self, fixed):
+ elm_photo_aspect_fixed_set(self.obj, fixed)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """This is called when a user has clicked the photo."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_drag_start_add(self, func, *args, **kwargs):
+ """One has started dragging the inner image out of the photo's
+ frame.
+
+ """
+ self._callback_add("drag,start", func, *args, **kwargs)
+
+ def callback_drag_start_del(self, func):
+ self._callback_del("drag,start", func)
+
+ def callback_drag_end_add(self, func, *args, **kwargs):
+ """One has dropped the dragged image somewhere."""
+ self._callback_add("drag,end", func, *args, **kwargs)
+
+ def callback_drag_end_del(self, func):
+ self._callback_del("drag,end", func)
+
+_elm_widget_type_register("photo", Photo)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPhoto_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPhoto_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_photocam.pxi b/elementary/elementary.c_elementary_photocam.pxi
new file mode 100644
index 0000000..b9b9822
--- /dev/null
+++ b/elementary/elementary.c_elementary_photocam.pxi
@@ -0,0 +1,364 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport Image as evasImage
+
+cdef public class Photocam(Object) [object PyElementaryPhotocam, type PyElementaryPhotocam_Type]:
+
+ """This is a widget specifically for displaying high-resolution digital
+ camera photos giving speedy feedback (fast load), low memory footprint
+ and zooming and panning as well as fitting logic. It is entirely focused
+ on jpeg images, and takes advantage of properties of the jpeg format (via
+ evas loader features in the jpeg loader).
+
+ Signals that you can add callbacks for are:
+ - "clicked" - This is called when a user has clicked the photo without
+ dragging around.
+ - "press" - This is called when a user has pressed down on the photo.
+ - "longpressed" - This is called when a user has pressed down on the
+ photo for a long time without dragging around.
+ - "clicked,double" - This is called when a user has double-clicked the
+ photo.
+ - "load" - Photo load begins.
+ - "loaded" - This is called when the image file load is complete for
+ the first view (low resolution blurry version).
+ - "load,detail" - Photo detailed data load begins.
+ - "loaded,detail" - This is called when the image file load is
+ complete for the detailed image data (full resolution needed).
+ - "zoom,start" - Zoom animation started.
+ - "zoom,stop" - Zoom animation stopped.
+ - "zoom,change" - Zoom changed when using an auto zoom mode.
+ - "scroll" - the content has been scrolled (moved)
+ - "scroll,anim,start" - scrolling animation has started
+ - "scroll,anim,stop" - scrolling animation has stopped
+ - "scroll,drag,start" - dragging the contents around has started
+ - "scroll,drag,stop" - dragging the contents around has stopped
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_photocam_add(parent.obj))
+
+ property file:
+ """The photo file to be shown
+
+ This sets (and shows) the specified file (with a relative or absolute
+ path) and will return a load error (same error that
+ evas_object_image_load_error_get() will return). The image will
+ change and adjust its size at this point and begin a background load
+ process for this photo that at some time in the future will be
+ displayed at the full quality needed.
+
+ @type: string
+
+ """
+ def __set__(self, file):
+ elm_photocam_file_set(self.obj, _cfruni(file))
+ #TODO: handle errors from return status
+ def __get__(self):
+ return _ctouni(elm_photocam_file_get(self.obj))
+
+ property zoom:
+ """The zoom level of the photo
+
+ This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be
+ 2:1 (that is 2x2 photo pixels will display as 1 on-screen pixel).
+ 4:1 will be 4x4 photo pixels as 1 screen pixel, and so on. The
+ parameter must be greater than 0. It is suggested to stick to powers
+ of 2. (1, 2, 4, 8, 16, 32, etc.).
+
+ @type: float
+
+ """
+ def __set__(self, zoom):
+ elm_photocam_zoom_set(self.obj, zoom)
+ def __get__(self):
+ return elm_photocam_zoom_get(self.obj)
+
+ property zoom_mode:
+ """Set the zoom mode
+
+ This sets the zoom mode to manual or one of several automatic levels.
+ Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set
+ manually by L{zoom} and will stay at that level until changed by
+ code or until zoom mode is changed. This is the default mode. The
+ Automatic modes will allow the photocam object to automatically
+ adjust zoom mode based on properties.
+ ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so the photo fits
+ EXACTLY inside the scroll frame with no pixels outside this region.
+ ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
+ pixels within the frame are left unfilled.
+
+ @type: Elm_Photocam_Zoom_Mode
+
+ """
+ def __set__(self, mode):
+ elm_photocam_zoom_mode_set(self.obj, mode)
+ def __get__(self):
+ return elm_photocam_zoom_mode_get(self.obj)
+
+ property image_size:
+ """Get the current image pixel width and height
+
+ This gets the current photo pixel width and height (for the
+ original). The size will be returned in the integers @C{w} and @C{h}
+ that are pointed to.
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int w, h
+ elm_photocam_image_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ property image_region:
+ """Get the region of the image that is currently shown
+
+ @see: L{image_region_show()}
+ @see: L{image_region_bring_in()}
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int x, y, w, h
+ elm_photocam_image_region_get(self.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ def image_region_show(self, x, y, w, h):
+ """image_region_show(x, y, w, h)
+
+ Set the viewed region of the image
+
+ This shows the region of the image without using animation.
+
+ @param x: X-coordinate of region in image original pixels
+ @type x: int
+ @param y: Y-coordinate of region in image original pixels
+ @type y: int
+ @param w: Width of region in image original pixels
+ @type w: int
+ @param h: Height of region in image original pixels
+ @type h: int
+
+ """
+ elm_photocam_image_region_show(self.obj, x, y, w, h)
+
+ def image_region_bring_in(self, x, y, w, h):
+ """image_region_bring_in(x, y, w, h)
+
+ Bring in the viewed portion of the image
+
+ This shows the region of the image using animation.
+
+ @param x: X-coordinate of region in image original pixels
+ @type x: int
+ @param y: Y-coordinate of region in image original pixels
+ @type y: int
+ @param w: Width of region in image original pixels
+ @type w: int
+ @param h: Height of region in image original pixels
+ @type h: int
+
+ """
+ elm_photocam_image_region_bring_in(self.obj, x, y, w, h)
+
+ property paused:
+ """Set the paused state for photocam
+
+ This sets the paused state to on (True) or off (False) for photocam.
+ The default is off. This will stop zooming using animation on zoom
+ level changes and change instantly. This will stop any existing
+ animations that are running.
+
+ @type: bool
+
+ """
+ def __set__(self, paused):
+ elm_photocam_paused_set(self.obj, paused)
+ def __get__(self):
+ return bool(elm_photocam_paused_get(self.obj))
+
+ property internal_image:
+ """Get the internal low-res image used for photocam
+
+ This gets the internal image object inside photocam. Do not modify
+ it. It is for inspection only, and hooking callbacks to. Nothing
+ else. It may be deleted at any time as well.
+
+ @type: evasImage
+
+ """
+ def __get__(self):
+ cdef evasImage img = evasImage()
+ cdef Evas_Object *obj = elm_photocam_internal_image_get(self.obj)
+ img.obj = obj
+ return img
+
+ property bounce:
+ """Photocam scrolling bouncing.
+
+ @type: tuple of bools
+
+ """
+ def __set__(self, value):
+ h_bounce, v_bounce = value
+ elm_scroller_bounce_set(self.obj, h_bounce, v_bounce)
+ def __get__(self):
+ cdef Eina_Bool h_bounce, v_bounce
+ elm_scroller_bounce_get(self.obj, &h_bounce, &v_bounce)
+ return (h_bounce, v_bounce)
+
+ property gesture_enabled:
+ """Set the gesture state for photocam.
+
+ This sets the gesture state to on (True) or off (False) for
+ photocam. The default is off. This will start multi touch zooming.
+
+ @type: bool
+
+ """
+ def __set__(self, gesture):
+ elm_photocam_gesture_enabled_set(self.obj, gesture)
+ def __get__(self):
+ return bool(elm_photocam_gesture_enabled_get(self.obj))
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """This is called when a user has clicked the photo without dragging
+ around."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_press_add(self, func, *args, **kwargs):
+ """This is called when a user has pressed down on the photo."""
+ self._callback_add("press", func, *args, **kwargs)
+
+ def callback_press_del(self, func):
+ self._callback_del("press", func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ """This is called when a user has pressed down on the photo for a
+ long time without dragging around."""
+ self._callback_add("longpressed", func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del("longpressed", func)
+
+ def callback_clicked_double_add(self, func, *args, **kwargs):
+ """This is called when a user has double-clicked the photo."""
+ self._callback_add("clicked,double", func, *args, **kwargs)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del("clicked,double", func)
+
+ def callback_load_add(self, func, *args, **kwargs):
+ """Photo load begins."""
+ self._callback_add("load", func, *args, **kwargs)
+
+ def callback_load_del(self, func):
+ self._callback_del("load", func)
+
+ def callback_loaded_add(self, func, *args, **kwargs):
+ """This is called when the image file load is complete for the first
+ view (low resolution blurry version)."""
+ self._callback_add("loaded", func, *args, **kwargs)
+
+ def callback_loaded_del(self, func):
+ self._callback_del("loaded", func)
+
+ def callback_load_detail_add(self, func, *args, **kwargs):
+ """Photo detailed data load begins."""
+ self._callback_add("load,detail", func, *args, **kwargs)
+
+ def callback_load_detail_del(self, func):
+ self._callback_del("load,detail", func)
+
+ def callback_loaded_detail_add(self, func, *args, **kwargs):
+ """This is called when the image file load is complete for the
+ detailed image data (full resolution needed)."""
+ self._callback_add("loaded,detail", func, *args, **kwargs)
+
+ def callback_loaded_detail_del(self, func):
+ self._callback_del("loaded,detail", func)
+
+ def callback_zoom_start_add(self, func, *args, **kwargs):
+ """Zoom animation started."""
+ self._callback_add("zoom,start", func, *args, **kwargs)
+
+ def callback_zoom_start_del(self, func):
+ self._callback_del("zoom,start", func)
+
+ def callback_zoom_stop_add(self, func, *args, **kwargs):
+ """Zoom animation stopped."""
+ self._callback_add("zoom,stop", func, *args, **kwargs)
+
+ def callback_zoom_stop_del(self, func):
+ self._callback_del("zoom,stop", func)
+
+ def callback_zoom_change_add(self, func, *args, **kwargs):
+ """Zoom changed when using an auto zoom mode."""
+ self._callback_add("zoom,change", func, *args, **kwargs)
+
+ def callback_zoom_change_del(self, func):
+ self._callback_del("zoom,change", func)
+
+ def callback_scroll_add(self, func, *args, **kwargs):
+ """The content has been scrolled (moved)."""
+ self._callback_add("scroll", func, *args, **kwargs)
+
+ def callback_scroll_del(self, func):
+ self._callback_del("scroll", func)
+
+ def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ """Scrolling animation has started."""
+ self._callback_add("scroll,anim,start", func, *args, **kwargs)
+
+ 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):
+ """Scrolling animation has stopped."""
+ self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+
+ def callback_scroll_anim_stop_del(self, func):
+ self._callback_del("scroll,anim,stop", func)
+
+ def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ """Dragging the contents around has started."""
+ self._callback_add("scroll,drag,start", func, *args, **kwargs)
+
+ 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):
+ """Dragging the contents around has stopped."""
+ self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+
+ def callback_scroll_drag_stop_del(self, func):
+ self._callback_del("scroll,drag,stop", func)
+
+
+_elm_widget_type_register("photocam", Photocam)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPhotocam_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPhotocam_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_plug.pxi b/elementary/elementary.c_elementary_plug.pxi
new file mode 100644
index 0000000..8b5e49f
--- /dev/null
+++ b/elementary/elementary.c_elementary_plug.pxi
@@ -0,0 +1,74 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport Image as evasImage
+
+cdef public class Plug(Object) [object PyElementaryPlug, type PyElementaryPlug_Type]:
+
+ """An object that allows one to show an image which other process created.
+ It can be used anywhere like any other elementary widget.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_plug_add(parent.obj))
+
+ def connect(self, svcname, svcnum, svcsys):
+ """connect(svcname, svcnum, svcsys)
+
+ Connect a plug widget to service provided by socket image.
+
+ @param svcname: The service name to connect to set up by the socket.
+ @type svcname: string
+ @param svcnum: The service number to connect to (set up by socket).
+ @type svcnum: int
+ @param svcsys: Boolean to set if the service is a system one or not
+ (set up by socket).
+ @type svcsys: bool
+
+ @return: (C{True} = success, C{False} = error)
+ @rtype: bool
+
+ """
+ return bool(elm_plug_connect(self.obj, _cfruni(svcname), svcnum, svcsys))
+
+ property image_object:
+ """Get the basic Evas_Image object from this object (widget).
+
+ This function allows one to get the underlying C{Object} of type
+ Image from this elementary widget. It can be useful to do things
+ like get the pixel data, save the image to a file, etc.
+
+ @note: Be careful to not manipulate it, as it is under control of
+ elementary.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ cdef evasImage img = evasImage()
+ cdef Evas_Object *obj = elm_plug_image_object_get(self.obj)
+ img.obj = obj
+ return img
+
+_elm_widget_type_register("plug", Plug)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPlug_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPlug_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_popup.pxi b/elementary/elementary.c_elementary_popup.pxi
new file mode 100644
index 0000000..393c370
--- /dev/null
+++ b/elementary/elementary.c_elementary_popup.pxi
@@ -0,0 +1,255 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class PopupItem(ObjectItem):
+
+ """An item for L{Popup}.
+
+ Default contents parts of the popup items that you can use for are:
+ - "default" -Item's icon
+
+ Default text parts of the popup items that you can use for are:
+ - "default" - Item's label
+
+ """
+
+ def __init__(self, evasObject popup, label = None, evasObject icon = None, func = None, *args, **kwargs):
+ cdef Elm_Object_Item *item
+ cdef Evas_Smart_Cb cb
+
+ if func is None:
+ cb = NULL
+ elif callable(func):
+ cb = _object_item_callback
+ else:
+ raise TypeError("func is not None or callable")
+
+ self.params = (func, args, kwargs)
+ item = elm_popup_item_append(popup.obj, _cfruni(label),
+ icon.obj if icon else NULL,
+ cb, <void *>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def __str__(self):
+ return "%s(func=%s, item_data=%s)" % \
+ (self.__class__.__name__,
+ self.params[0],
+ self.params[1])
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ "item_class=%s, func=%s, item_data=%r)") % \
+ (self.__class__.__name__,
+ <unsigned long><void*>self,
+ PY_REFCOUNT(self),
+ <unsigned long>self.item,
+ self.params[0],
+ self.params[1])
+
+cdef public class Popup(Object) [object PyElementaryPopup, type PyElementaryPopup_Type]:
+
+ """This widget is an enhancement of L{Notify}.
+ In addition to Content area, there are two optional sections namely Title
+ area and Action area.
+
+ Popup Widget displays its content with a particular orientation in the
+ parent area. This orientation can be one among top, center, bottom,
+ left, top-left, top-right, bottom-left and bottom-right. Content part of
+ Popup can be an Evas Object set by application or it can be Text set by
+ application or set of items containing an icon and/or text. The
+ content/item-list can be removed using elm_object_content_set with second
+ parameter passed as None.
+
+ Following figures shows the textual layouts of popup in which Title Area
+ and Action area area are optional ones. Action area can have up to 3
+ buttons handled using elm_object common APIs mentioned below. If user
+ wants to have more than 3 buttons then these buttons can be put inside
+ the items of a list as content. User needs to handle the clicked signal
+ of these action buttons if required. No event is processed by the widget
+ automatically when clicked on these action buttons.
+
+ Figure::
+ |---------------------| |---------------------| |---------------------|
+ | Title Area | | Title Area | | Title Area |
+ |Icon| Text | |Icon| Text | |Icon| Text |
+ |---------------------| |---------------------| |---------------------|
+ | Item 1 | | | | |
+ |---------------------| | | | |
+ | Item 2 | | | | Description |
+ |---------------------| | Content | | |
+ | Item 3 | | | | |
+ |---------------------| | | | |
+ | . | |---------------------| |---------------------|
+ | . | | Action Area | | Action Area |
+ | . | | Btn1 |Btn2|. |Btn3 | | Btn1 |Btn2| |Btn3 |
+ |---------------------| |---------------------| |---------------------|
+ | Item N | Content Based Layout Description based Layout
+ |---------------------|
+ | Action Area |
+ | Btn1 |Btn2|. |Btn3 |
+ |---------------------|
+ Item Based Layout
+
+ Timeout can be set on expiry of which popup instance hides and sends a
+ smart signal "timeout" to the user. The visible region of popup is
+ surrounded by a translucent region called Blocked Event area. By
+ clicking on Blocked Event area, the signal "block,clicked" is sent to
+ the application. This block event area can be avoided by using API
+ elm_popup_allow_events_set. When gets hidden, popup does not get
+ destroyed automatically, application should destroy the popup instance
+ after use. To control the maximum height of the internal scroller for
+ item, we use the height of the action area which is passed by theme
+ based on the number of buttons currently set to popup.
+
+ Signals that you can add callbacks for are:
+ - "timeout" - when ever popup is closed as a result of timeout.
+ - "block,clicked" - when ever user taps on Blocked Event area.
+
+ Styles available for Popup
+ - "default"
+
+ Default contents parts of the popup widget that you can use for are:
+ - "default" - The content of the popup
+ - "title,icon" - Title area's icon
+ - "button1" - 1st button of the action area
+ - "button2" - 2nd button of the action area
+ - "button3" - 3rd button of the action area
+
+ Default text parts of the popup widget that you can use for are:
+ - "title,text" - This operates on Title area's label
+ - "default" - content-text set in the content area of the widget
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_popup_add(parent.obj))
+
+ def item_append(self, label = None, evasObject icon = None, func = None, *args, **kwargs):
+ """item_append(label, icon, func, *args, **kwargs)
+
+ Add a new item to a Popup object
+
+ Both an item list and a content cannot be set at the same time!
+ Once you add an item, the previous content will be removed.
+
+ @param label: The Label of the new item
+ @type label: string
+ @param icon: Icon to be set on new item
+ @type icon: L{Object}
+ @param func: Convenience function called when item selected
+ @type func: function
+
+ @return: A handle to the item added or C{None} on errors.
+ @rtype: L{PopupItem}
+
+ @warning: When the first item is appended to popup object, any
+ previous content of the content area is deleted. At a time, only
+ one of content, content-text and item(s) can be there in a popup
+ content area.
+
+ """
+ return PopupItem(self, label, icon, func, *args, **kwargs)
+
+ property content_text_wrap_type:
+ """Sets the wrapping type of content text packed in content
+ area of popup object.
+
+ @type: Elm_Wrap_Type
+
+ """
+ def __set__(self, wrap):
+ elm_popup_content_text_wrap_type_set(self.obj, wrap)
+ def __get__(self):
+ return elm_popup_content_text_wrap_type_get(self.obj)
+
+ property orient:
+ """Sets the orientation of the popup in the parent region
+
+ Sets the position in which popup will appear in its parent
+
+ @type: Elm_Popup_Orient
+
+ """
+ def __set__(self, orient):
+ elm_popup_orient_set(self.obj, orient)
+ def __get__(self):
+ return elm_popup_orient_get(self.obj)
+
+ property timeout:
+ """A timeout to hide popup automatically
+
+ Setting this starts the timer controlling when the popup is hidden.
+ Since calling evas_object_show() on a popup restarts the timer
+ controlling when it is hidden, setting this before the popup is
+ shown will in effect mean starting the timer when the popup is
+ shown. Smart signal "timeout" is called afterwards which can be
+ handled if needed.
+
+ @note: Set a value <= 0.0 to disable a running timer.
+
+ @note: If the value > 0.0 and the popup is previously visible, the
+ timer will be started with this value, canceling any running timer.
+
+ @type: float
+
+ """
+ def __set__(self, timeout):
+ elm_popup_timeout_set(self.obj, timeout)
+ def __get__(self):
+ return elm_popup_timeout_get(self.obj)
+
+ property allow_events:
+ """Whether events should be passed to by a click outside.
+
+ Enabling allow event will remove the Blocked event area and events will
+ pass to the lower layer objects otherwise they are blocked.
+
+ @note: The default value is False.
+
+ @type: bool
+
+ """
+ def __set__(self, allow):
+ elm_popup_allow_events_set(self.obj, allow)
+ def __get__(self):
+ return bool(elm_popup_allow_events_get(self.obj))
+
+ def callback_timeout_add(self, func, *args, **kwargs):
+ """When popup is closed as a result of timeout."""
+ self._callback_add("timeout", func, *args, **kwargs)
+
+ def callback_timeout_del(self, func):
+ self._callback_del("timeout", func)
+
+ def callback_block_clicked_add(self, func, *args, **kwargs):
+ """When the user taps on Blocked Event area."""
+ self._callback_add("block,clicked", func, *args, **kwargs)
+
+ def callback_block_clicked_del(self, func):
+ self._callback_del("block,clicked", func)
+
+_elm_widget_type_register("popup", Popup)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPopup_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPopup_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_progressbar.pxi b/elementary/elementary.c_elementary_progressbar.pxi
new file mode 100644
index 0000000..b6a06dd
--- /dev/null
+++ b/elementary/elementary.c_elementary_progressbar.pxi
@@ -0,0 +1,395 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Progressbar(LayoutClass) [object PyElementaryProgressbar, type PyElementaryProgressbar_Type]:
+
+ """The progress bar is a widget for visually representing the progress
+ status of a given job/task.
+
+ A progress bar may be horizontal or vertical. It may display an icon
+ besides it, as well as primary and B{units} labels. The former is meant
+ to label the widget as a whole, while the latter, which is formatted
+ with floating point values (and thus accepts a C{printf}-style format
+ string, like C{"%1.2f units"}), is meant to label the widget's B{progress
+ value}. Label, icon and unit strings/objects are B{optional} for
+ progress bars.
+
+ A progress bar may be B{inverted}, in which case it gets its values
+ inverted, i.e., high values being on the left or top and low values on
+ the right or bottom, for horizontal and vertical modes respectively.
+
+ The B{span} of the progress, as set by L{span_size_set()}, is its length
+ (horizontally or vertically), unless one puts size hints on the widget
+ to expand on desired directions, by any container. That length will be
+ scaled by the object or applications scaling factor. Applications can
+ query the progress bar for its value with L{value_get()}.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - when the value is changed
+
+ This widget has the following styles:
+ - C{"default"}
+ - C{"wheel"} (simple style, no text, no progression, only "pulse"
+ effect is available)
+
+ Default text parts of the progressbar widget that you can use for are:
+ - "default" - Label of the progressbar
+
+ Default content parts of the progressbar widget that you can use for are:
+ - "icon" - An icon of the progressbar
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_progressbar_add(parent.obj))
+
+ def pulse_set(self, pulse):
+ """Set whether a given progress bar widget is at "pulsing mode" or not.
+
+ By default, progress bars will display values from the low to high
+ value boundaries. There are, though, contexts in which the progress
+ of a given task is B{unknown}. For such cases, one can set a
+ progress bar widget to a "pulsing state", to give the user an idea
+ that some computation is being held, but without exact progress
+ values. In the default theme, it will animate its bar with the
+ contents filling in constantly and back to non-filled, in a loop. To
+ start and stop this pulsing animation, one has to explicitly call
+ L{pulse()}.
+
+ @see: L{pulse_get()}
+ @see: L{pulse()}
+
+ @param pulse: C{True} to put the object in pulsing mode,
+ C{False} to put it back to its default one
+ @type pulse: bool
+
+ """
+ elm_progressbar_pulse_set(self.obj, pulse)
+
+ def pulse_get(self):
+ """Get whether a given progress bar widget is at "pulsing mode" or not.
+
+ @return: C{True}, if the object is in pulsing mode, C{False}
+ if it's in the default one (and on errors)
+ @rtype: bool
+
+ """
+ return elm_progressbar_pulse_get(self.obj)
+
+ def pulse(self, state):
+ """Start/stop a given progress bar "pulsing" animation, if its
+ under that mode
+
+ @note: This call won't do anything if the object is not under "pulsing mode".
+
+ @see: L{pulse_set()} for more details.
+
+ @param state: C{True}, to B{start} the pulsing animation, C{False} to
+ B{stop} it
+ @type state: bool
+
+ """
+ elm_progressbar_pulse(self.obj, state)
+
+ def value_set(self, value):
+ """Set the progress value (in percentage) on a given progress bar
+ widget.
+
+ Use this call to set progress bar levels.
+
+ @note: If you pass a value out of the specified range for C{val},
+ it will be interpreted as the B{closest} of the B{boundary}
+ values in the range.
+
+ @param val: The progress value (B{must} be between C{0.0} and C{1.0})
+ @type val: float
+
+ """
+ elm_progressbar_value_set(self.obj, value)
+
+ def value_get(self):
+ """Get the progress value (in percentage) on a given progress bar
+ widget.
+
+ @see: L{value_set()} for more details
+
+ @return: The value of the progressbar
+ @rtype: float
+
+ """
+ return elm_progressbar_value_get(self.obj)
+
+ property value:
+ """The progress value (in percentage) on a given progress bar widget.
+
+ The progress value (B{must} be between C{0.0} and C{1.0})
+
+ @note: If you set a value out of the specified range for C{val},
+ it will be interpreted as the B{closest} of the B{boundary}
+ values in the range.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_progressbar_value_get(self.obj)
+
+ def __set__(self, value):
+ elm_progressbar_value_set(self.obj, value)
+
+ def span_size_set(self, size):
+ """Set the (exact) length of the bar region of a given progress bar
+ widget.
+
+ This sets the minimum width (when in horizontal mode) or height
+ (when in vertical mode) of the actual bar area of the progress bar.
+ This in turn affects the object's minimum size. Use this when you're
+ not setting other size hints expanding on the given direction (like
+ weight and alignment hints) and you would like it to have a specific
+ size.
+
+ @note: Icon, label and unit text around the object will require their
+ own space, which will make the object to actually require more size.
+
+ @see: L{span_size_get()}
+
+ @param size: The length of the progress bar's bar region
+ @type size: Evas_Coord (int)
+
+ """
+ elm_progressbar_span_size_set(self.obj, size)
+
+ def span_size_get(self):
+ """Get the length set for the bar region of a given progress bar
+ widget.
+
+ If that size was not set previously, with L{span_size_set()}, this
+ call will return C{0}.
+
+ @return: The length of the progress bar's bar region
+ @rtype: Evas_Coord (int)
+
+ """
+ return elm_progressbar_span_size_get(self.obj)
+
+ property span_size:
+ """The (exact) length of the bar region of a given progress bar widget.
+
+ This property is the minimum width (when in horizontal mode) or height
+ (when in vertical mode) of the actual bar area of the progress bar.
+ This in turn affects the object's minimum size. Use this when you're
+ not setting other size hints expanding on the given direction (like
+ weight and alignment hints) and you would like it to have a specific
+ size.
+
+ @note: Icon, label and unit text around the object will require their
+ own space, which will make the object to actually require more size.
+
+ @type: Evas_Coord (int)
+
+ """
+ def __get__(self):
+ return elm_progressbar_span_size_get(self.obj)
+
+ def __set__(self, size):
+ elm_progressbar_span_size_set(self.obj, size)
+
+ def unit_format_set(self, format):
+ """Set the format string for a given progress bar widget's units
+ label.
+
+ If C{None} is passed on C{format}, it will make the objects units
+ area to be hidden completely. If not, it'll set the B{format string}
+ for the units label's B{text}. The units label is provided a
+ floating point value, so the units text is up display at most one
+ floating point value. Note that the units label is optional. Use a
+ format string such as "%1.2f meters" for example.
+
+ @note: The default format string for a progress bar is an integer
+ percentage, as in C{"%.0f %%"}.
+
+ @see: L{unit_format_get()}
+
+ @param format: The format string for objects units label
+ @type format: string
+
+ """
+ if format is None:
+ elm_progressbar_unit_format_set(self.obj, NULL)
+ else:
+ elm_progressbar_unit_format_set(self.obj, _cfruni(format))
+
+ def unit_format_get(self):
+ """Retrieve the format string set for a given progress bar widget's
+ units label.
+
+ @see: L{unit_format_set()} for more details
+
+ @return: The format set string for the objects units label or
+ C{None}, if none was set (and on errors)
+ @rtype: string
+
+ """
+ return _ctouni(elm_progressbar_unit_format_get(self.obj))
+
+ property unit_format:
+ """The format string for a given progress bar widget's units label.
+
+ If this is set to C{None}, it will make the objects units area to be
+ hidden completely. If not, it'll set the B{format string} for the
+ units label's B{text}. The units label is provided a floating point
+ value, so the units text is up display at most one floating point
+ value. Note that the units label is optional. Use a format string
+ such as "%1.2f meters" for example.
+
+ @note: The default format string for a progress bar is an integer
+ percentage, as in C{"%.0f %%"}.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_progressbar_unit_format_get(self.obj))
+
+ def __set__(self, format):
+ if format is None:
+ elm_progressbar_unit_format_set(self.obj, NULL)
+ else:
+ elm_progressbar_unit_format_set(self.obj, _cfruni(format))
+
+ property unit_format_function:
+ """Set the callback function to format the unit string.
+
+ @see: L{unit_format} for more info on how this works.
+
+ @type: function
+
+ """
+ def __set__(self, func not None):
+ pass
+ #if not callable(func):
+ #raise TypeError("func is not callable")
+ #TODO: char * func(double value)
+ #elm_progressbar_unit_format_function_set(self.obj, func, NULL)
+
+ def horizontal_set(self, horizontal):
+ """Set the orientation of a given progress bar widget.
+
+ Use this function to change how your progress bar is to be
+ disposed: vertically or horizontally.
+
+ @see: L{horizontal_get()}
+
+ @param horizontal: Use C{True} to make the object to be
+ B{horizontal}, C{False} to make it B{vertical}.
+ @type horizontal: bool
+
+ """
+ elm_progressbar_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """Retrieve the orientation of a given progress bar widget.
+
+ @see: L{horizontal_set()} for more details
+
+ @return: C{True}, if the object is set to be B{horizontal},
+ C{False} if it's B{vertical} (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_progressbar_horizontal_get(self.obj))
+
+ property horizontal:
+ """The orientation of a given progress bar widget.
+
+ This property reflects how your progress bar is to be disposed:
+ vertically or horizontally.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_progressbar_horizontal_get(self.obj))
+
+ def __set__(self, horizontal):
+ elm_progressbar_horizontal_set(self.obj, horizontal)
+
+ def inverted_set(self, inverted):
+ """Invert a given progress bar widget's displaying values order.
+
+ A progress bar may be B{inverted}, in which state it gets its values
+ inverted, with high values being on the left or top and low values
+ on the right or bottom, as opposed to normally have the low values
+ on the former and high values on the latter, respectively, for
+ horizontal and vertical modes.
+
+ @see: L{inverted_get()}
+
+ @param inverted: Use C{True} to make the object inverted,
+ C{False} to bring it back to default, non-inverted values.
+ @type inverted: bool
+
+ """
+ elm_progressbar_inverted_set(self.obj, inverted)
+
+ def inverted_get(self):
+ """Get whether a given progress bar widget's displaying values are
+ inverted or not.
+
+ @see: L{inverted_set()} for more details
+
+ @return: C{True}, if the object has inverted values,
+ C{False} otherwise (and on errors)
+ @rtype: bool
+
+ """
+ return bool(elm_progressbar_inverted_get(self.obj))
+
+ property inverted:
+ """Whether a given progress bar widget's displaying values are
+ inverted or not.
+
+ A progress bar may be B{inverted}, in which state it gets its values
+ inverted, with high values being on the left or top and low values
+ on the right or bottom, as opposed to normally have the low values
+ on the former and high values on the latter, respectively, for
+ horizontal and vertical modes.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_progressbar_inverted_get(self.obj))
+
+ def __set__(self, inverted):
+ elm_progressbar_inverted_set(self.obj, inverted)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """When the value is changed."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+_elm_widget_type_register("progressbar", Progressbar)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryProgressbar_Type # hack to install metaclass
+_install_metaclass(&PyElementaryProgressbar_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_radio.pxi b/elementary/elementary.c_elementary_radio.pxi
new file mode 100644
index 0000000..6cd983f
--- /dev/null
+++ b/elementary/elementary.c_elementary_radio.pxi
@@ -0,0 +1,215 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Radio(LayoutClass) [object PyElementaryRadio, type PyElementaryRadio_Type]:
+
+ """Radio is a widget that allows for one or more options to be displayed
+ and have the user choose only one of them.
+
+ A radio object contains an indicator, an optional Label and an optional
+ icon object. While it's possible to have a group of only one radio they,
+ are normally used in groups of two or more.
+
+ Radio objects are grouped in a slightly different, compared to other UI
+ toolkits. There is no seperate group name/id to remember or manage. The
+ members represent the group, there are the group. To make a group, use
+ L{group_add()} and pass existing radio object and the new radio object.
+
+ The radio object(s) will select from one of a set of integer values, so
+ any value they are configuring needs to be mapped to a set of integers.
+ To configure what value that radio object represents, use
+ elm_radio_state_value_set() to set the integer it represents. To set the
+ value the whole group(which one is currently selected) is to indicate
+ use L{value_set()} on any group member, and to get the groups value use
+ L{value_get()}. For convenience the radio objects are also able to
+ directly set an integer(int) to the value that is selected. To specify
+ the pointer to this integer to modify, use L{value_pointer_set()}. The
+ radio objects will modify this directly. That implies the pointer must
+ point to valid memory for as long as the radio objects exist.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - changed - This is called whenever the user changes the state of
+ one of the radio objects within the group of radio objects that
+ work together.
+
+ Default text parts of the radio widget that you can use for are:
+ - "default" - Label of the radio
+
+ Default content parts of the radio widget that you can use for are:
+ - "icon" - An icon of the radio
+
+ """
+
+ def __init__(self, evasObject parent, obj=None):
+ if obj is None:
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_radio_add(parent.obj))
+ else:
+ self._set_obj(<Evas_Object*>obj)
+
+ def group_add(self, evasObject group):
+ """group_add(group)
+
+ Add this radio to a group of other radio objects
+
+ Radio objects work in groups. Each member should have a different integer
+ value assigned. In order to have them work as a group, they need to know
+ about each other. This adds the given radio object to the group of which
+ the group object indicated is a member.
+
+ @param group: Any object whose group the object is to join.
+ @type group: L{Radio}
+
+ """
+ elm_radio_group_add(self.obj, group.obj)
+
+ def state_value_set(self, value):
+ """Set the integer value that this radio object represents
+
+ This sets the value of the radio.
+
+ @param value: The value to use if this radio object is selected
+ @type value: int
+
+ """
+ elm_radio_state_value_set(self.obj, value)
+
+ def state_value_get(self):
+ """Get the integer value that this radio object represents
+
+ This gets the value of the radio.
+ @see: L{value_set()}
+
+ @return: The value used if this radio object is selected
+ @rtype: int
+
+ """
+ return elm_radio_state_value_get(self.obj)
+
+ property state_value:
+ """The integer value that this radio object represents
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_radio_state_value_get(self.obj)
+ def __set__(self, value):
+ elm_radio_state_value_set(self.obj, value)
+
+ def value_set(self, value):
+ """Set the value of the radio group.
+
+ This sets the value of the radio group and will also set the value if
+ pointed to, to the value supplied, but will not call any callbacks.
+
+ @param value: The value to use for the group
+ @type value: int
+
+ """
+ elm_radio_value_set(self.obj, value)
+
+ def value_get(self):
+ """Get the value of the radio group
+
+ @return: The integer state
+ @rtype: int
+
+ """
+ return elm_radio_value_get(self.obj)
+
+ property value:
+ """The value of the radio group.
+
+ This reflects the value of the radio group and will also set the
+ value if pointed to, to the value supplied, but will not call any
+ callbacks.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_radio_value_get(self.obj)
+ def __set__(self, value):
+ elm_radio_value_set(self.obj, value)
+
+ #TODO: Check whether this actually works
+ def value_pointer_set(self, value):
+ """Set a convenience pointer to a integer to change when radio group
+ value changes.
+
+ This sets a pointer to a integer, that, in addition to the radio objects
+ state will also be modified directly. To stop setting the object pointed
+ to simply use None as the C{valuep} argument. If valuep is not None, then
+ when this is called, the radio objects state will also be modified to
+ reflect the value of the integer valuep points to, just like calling
+ L{value_set()}.
+
+ @param valuep: Pointer to the integer to modify
+ @type valuep: int
+
+ """
+ cdef int valuep = value
+ elm_radio_value_pointer_set(self.obj, &valuep)
+
+ def selected_object_get(self):
+ """Get the selected radio object.
+
+ @return: The selected radio object
+ @rtype: L{Radio}
+
+ """
+ cdef Radio r = Radio()
+ cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ if selected == NULL:
+ return None
+ else:
+ r.obj = selected
+ return r
+
+ property selected_object:
+ """Get the selected radio object.
+
+ @type: L{Radio}
+
+ """
+ def __get__(self):
+ cdef Radio r = Radio()
+ cdef Evas_Object *selected = elm_radio_selected_object_get(self.obj)
+ if selected == NULL:
+ return None
+ else:
+ r.obj = selected
+ return r
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """This is called whenever the user changes the state of one of the
+ radio objects within the group of radio objects that work together.
+
+ """
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+_elm_widget_type_register("radio", Radio)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryRadio_Type # hack to install metaclass
+_install_metaclass(&PyElementaryRadio_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_scroller.pxi b/elementary/elementary.c_elementary_scroller.pxi
new file mode 100644
index 0000000..2e89ed2
--- /dev/null
+++ b/elementary/elementary.c_elementary_scroller.pxi
@@ -0,0 +1,703 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Scroller(Object) [object PyElementaryScroller, type PyElementaryScroller_Type]:
+
+ """A scroller holds a single object and "scrolls it around".
+
+ This means that it allows the user to use a scrollbar (or a finger) to
+ drag the viewable region around, allowing to move through a much larger
+ object that is contained in the scroller. The scroller will always have
+ a small minimum size by default as it won't be limited by the contents
+ of the scroller.
+
+ Signals that you can add callbacks for are:
+ - "edge,left" - the left edge of the content has been reached
+ - "edge,right" - the right edge of the content has been reached
+ - "edge,top" - the top edge of the content has been reached
+ - "edge,bottom" - the bottom edge of the content has been reached
+ - "scroll" - the content has been scrolled (moved)
+ - "scroll,anim,start" - scrolling animation has started
+ - "scroll,anim,stop" - scrolling animation has stopped
+ - "scroll,drag,start" - dragging the contents around has started
+ - "scroll,drag,stop" - dragging the contents around has stopped
+
+ Default content parts of the scroller widget that you can use for are:
+ - "default" - A content of the scroller
+
+ @note: The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
+ user intervention.
+
+ @note: When Elementary is in embedded mode the scrollbars will not be
+ draggable, they appear merely as indicators of how much has been
+ scrolled.
+
+ @note: When Elementary is in desktop mode the thumbscroll(a.k.a.
+ fingerscroll) won't work.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_scroller_add(parent.obj))
+
+ def custom_widget_base_theme_set(self, widget, base):
+ """custom_widget_base_theme_set(widget, base)
+
+ Set custom theme elements for the scroller
+
+ @param widget: The widget name to use (default is "scroller")
+ @type widget: string
+ @param base: The base name to use (default is "base")
+ @type base: string
+
+ """
+ elm_scroller_custom_widget_base_theme_set(self.obj, _cfruni(widget), _cfruni(base))
+
+ def content_min_limit(self, w, h):
+ """content_min_limit(w, h)
+
+ Make the scroller minimum size limited to the minimum size of the
+ content
+
+ By default the scroller will be as small as its design allows,
+ irrespective of its content. This will make the scroller minimum
+ size the right size horizontally and/or vertically to perfectly fit
+ its content in that direction.
+
+ @param w: Enable limiting minimum size horizontally
+ @type w: bool
+ @param h: Enable limiting minimum size vertically
+ @type h: bool
+
+ """
+ elm_scroller_content_min_limit(self.obj, w, h)
+
+ def region_show(self, x, y, w, h):
+ """region_show(x, y, w, h)
+
+ Show a specific virtual region within the scroller content object
+
+ This will ensure all (or part if it does not fit) of the designated
+ region in the virtual content object (0, 0 starting at the top-left
+ of the virtual content object) is shown within the scroller.
+
+ @param x: X coordinate of the region
+ @type x: Evas_Coord (int)
+ @param y: Y coordinate of the region
+ @type y: Evas_Coord (int)
+ @param w: Width of the region
+ @type w: Evas_Coord (int)
+ @param h: Height of the region
+ @type h: Evas_Coord (int)
+
+ """
+ elm_scroller_region_show(self.obj, x, y, w, h)
+
+ def policy_set(self, policy_h, policy_v):
+ """Set the scrollbar visibility policy
+
+ This sets the scrollbar visibility policy for the given scroller.
+ ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
+ needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it
+ on all the time, and ELM_SCROLLER_POLICY_OFF always keeps it off.
+ This applies respectively for the horizontal and vertical scrollbars.
+
+ @param policy_h: Horizontal scrollbar policy
+ @type policy_h: Elm_Scroller_Policy
+ @param policy_v: Vertical scrollbar policy
+ @type policy_v: Elm_Scroller_Policy
+
+ """
+ elm_scroller_policy_set(self.obj, policy_h, policy_v)
+
+ def policy_get(self):
+ """Gets scrollbar visibility policy
+
+ @see: elm_scroller_policy_set()
+
+ @return: A tuple with horizontal and vertical policies.
+ @rtype: tuple of Elm_Scroller_Policy
+
+ """
+ cdef Elm_Scroller_Policy policy_h, policy_v
+ elm_scroller_policy_get(self.obj, &policy_h, &policy_v)
+ return (policy_h, policy_v)
+
+ property policy:
+ """The scrollbar visibility policy
+
+ This property reflects the scrollbar visibility policy for the given
+ scroller. ELM_SCROLLER_POLICY_AUTO means the scrollbar is made
+ visible if it is needed, and otherwise kept hidden.
+ ELM_SCROLLER_POLICY_ON turns it on all the time, and
+ ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
+ respectively for the horizontal and vertical scrollbars.
+
+ @type: tuple of Elm_Scroller_Policy
+
+ """
+ def __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)
+
+ def __set__(self, value):
+ cdef Elm_Scroller_Policy policy_h, policy_v
+ policy_h, policy_v = value
+ elm_scroller_policy_set(self.obj, policy_h, policy_v)
+
+ def region_get(self):
+ """Get the currently visible content region
+
+ This gets the current region in the content object that is visible
+ through the scroller. The region co-ordinates are returned in the
+ C{x}, C{y}, C{w}, C{h} values pointed to.
+
+ @note: All coordinates are relative to the content.
+
+ @see: L{region_show()}
+
+ @return: The X and Y coordinates and the width and height of the region
+ @rtype: tuple of Evas_Coord (int)
+
+ """
+ cdef Evas_Coord x, y, w, h
+ elm_scroller_region_get(self.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ property region:
+ """Get the currently visible content region
+
+ This gets the current region in the content object that is visible
+ through the scroller. The region co-ordinates are returned in the
+ C{x}, C{y}, C{w}, C{h} values pointed to.
+
+ @note: All coordinates are relative to the content.
+
+ @see: L{region_show()}
+
+ @type: tuple of Evas_Coord (int)
+
+ """
+ def __get__(self):
+ cdef Evas_Coord x, y, w, h
+ elm_scroller_region_get(self.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ def child_size_get(self):
+ """Get the size of the content object
+
+ This gets the size of the content object of the scroller.
+
+ @return: The width and height of the content object
+ @rtype: tuple of Evas_Coord (int)
+
+ """
+ cdef Evas_Coord w, h
+ elm_scroller_child_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ property child_size:
+ """Get the size of the content object
+
+ This gets the size of the content object of the scroller.
+
+ @type: tuple of Evas_Coord (int)
+
+ """
+ def __get__(self):
+ cdef Evas_Coord w, h
+ elm_scroller_child_size_get(self.obj, &w, &h)
+ return (w, h)
+
+ def bounce_set(self, h, v):
+ """Set bouncing behavior
+
+ When scrolling, the scroller may "bounce" when reaching an edge of
+ the content object. This is a visual way to indicate the end has
+ been reached. This is enabled by default for both axis. This API
+ will set if it is enabled for the given axis with the boolean
+ parameters for each axis.
+
+ @param h_bounce: Allow bounce horizontally
+ @type h_bounce: bool
+ @param v_bounce: Allow bounce vertically
+ @type v_bounce: bool
+
+ """
+ elm_scroller_bounce_set(self.obj, h, v)
+
+ def bounce_get(self):
+ """Get the bounce behaviour
+
+ @see: L{bounce_set()}
+
+ @param h_bounce: Will the scroller bounce horizontally or not
+ @type h_bounce: bool
+ @param v_bounce: Will the scroller bounce vertically or not
+ @type v_bounce: bool
+
+ @return: Bounce behaviour for horizontal and vertical
+ @rtype: (bool, bool)
+
+ """
+ cdef Eina_Bool h, v
+ elm_scroller_bounce_get(self.obj, &h, &v)
+ return (h, v)
+
+ property bounce:
+ """The bouncing behavior
+
+ When scrolling, the scroller may "bounce" when reaching an edge of
+ the content object. This is a visual way to indicate the end has
+ been reached. This is enabled by default for both axis. This API
+ will set if it is enabled for the given axis with the boolean
+ parameters for each axis.
+
+ @type: (bool, bool)
+
+ """
+ def __get__(self):
+ cdef Eina_Bool h, v
+ elm_scroller_bounce_get(self.obj, &h, &v)
+ return (h, v)
+
+ def __set__(self, value):
+ cdef Eina_Bool h, v
+ h, v = value
+ elm_scroller_bounce_set(self.obj, h, v)
+
+ def page_relative_set(self, h_pagerel, v_pagerel):
+ """Set scroll page size relative to viewport size.
+
+ The scroller is capable of limiting scrolling by the user to
+ "pages". That is to jump by and only show a "whole page" at a time
+ as if the continuous area of the scroller content is split into page
+ sized pieces. This sets the size of a page relative to the viewport
+ of the scroller. 1.0 is "1 viewport" is size (horizontally or
+ vertically). 0.0 turns it off in that axis. This is mutually
+ exclusive with page size (see L{page_size_set()} for more
+ information). Likewise 0.5 is "half a viewport". Sane usable values
+ are normally between 0.0 and 1.0 including 1.0. If you only want a
+ single axis to be page "limited", use 0.0 for the other axis.
+
+ @param h_pagerel: The horizontal page relative size
+ @type h_pagerel: float
+ @param v_pagerel: The vertical page relative size
+ @type v_pagerel: float
+
+ """
+ elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+
+ def page_relative_get(self):
+ """Get scroll page size relative to viewport size.
+ @see: L{page_relative_set()}
+
+ @return: A tuple with horizontal and vertical page size relative to
+ viewport size.
+ @rtype: (float, float)
+
+ """
+ cdef double h_pagerel, v_pagerel
+ elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ return (h_pagerel, v_pagerel)
+
+ property page_relative:
+ """Set scroll page size relative to viewport size.
+
+ The scroller is capable of limiting scrolling by the user to
+ "pages". That is to jump by and only show a "whole page" at a time
+ as if the continuous area of the scroller content is split into page
+ sized pieces. This sets the size of a page relative to the viewport
+ of the scroller. 1.0 is "1 viewport" is size (horizontally or
+ vertically). 0.0 turns it off in that axis. This is mutually
+ exclusive with page size (see L{page_size_set()} for more
+ information). Likewise 0.5 is "half a viewport". Sane usable values
+ are normally between 0.0 and 1.0 including 1.0. If you only want a
+ single axis to be page "limited", use 0.0 for the other axis.
+
+ @type: tuple of floats
+
+ """
+ def __set__(self, value):
+ h_pagerel, v_pagerel = value
+ elm_scroller_page_relative_set(self.obj, h_pagerel, v_pagerel)
+
+ def __get__(self):
+ cdef double h_pagerel, v_pagerel
+ elm_scroller_page_relative_get(self.obj, &h_pagerel, &v_pagerel)
+ return (h_pagerel, v_pagerel)
+
+ def page_size_set(self, h_pagesize, v_pagesize):
+ """Set scroll page size.
+
+ This sets the page size to an absolute fixed value, with 0 turning it off
+ for that axis.
+
+ @see: L{page_relative_set()}
+
+ @param h_pagesize: The horizontal page size
+ @type h_pagesize: Evas_Coord (int)
+ @param v_pagesize: The vertical page size
+ @type v_pagesize: Evas_Coord (int)
+
+ """
+ elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+
+ property page_size:
+ """Set scroll page size.
+
+ This sets the page size to an absolute fixed value, with 0 turning it off
+ for that axis.
+
+ @see: L{page_relative_set()}
+
+ @type: tuple of Evas_Coords (int)
+
+ """
+ def __set__(self, value):
+ h_pagesize, v_pagesize = value
+ elm_scroller_page_size_set(self.obj, h_pagesize, v_pagesize)
+
+ def current_page_get(self):
+ """Get scroll current page number.
+
+ The page number starts from 0. 0 is the first page.
+ Current page means the page which meets the top-left of the viewport.
+ If there are two or more pages in the viewport, it returns the number of the page
+ which meets the top-left of the viewport.
+
+ @see: L{last_page_get()}
+ @see: L{page_show()}
+ @see: L{page_bring_in()}
+
+ @return: horizontal and vertical page number
+ @rtype: tuple of ints
+
+ """
+ cdef int h_pagenumber, v_pagenumber
+ elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ return (h_pagenumber, v_pagenumber)
+
+ property current_page:
+ """Get scroll current page number.
+
+ The page number starts from 0. 0 is the first page.
+ Current page means the page which meets the top-left of the viewport.
+ If there are two or more pages in the viewport, it returns the number of the page
+ which meets the top-left of the viewport.
+
+ @see: L{last_page_get()}
+ @see: L{page_show()}
+ @see: L{page_bring_in()}
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int h_pagenumber, v_pagenumber
+ elm_scroller_current_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ return (h_pagenumber, v_pagenumber)
+
+ def last_page_get(self):
+ """Get scroll last page number.
+
+ The page number starts from 0. 0 is the first page.
+ This returns the last page number among the pages.
+
+ @see: L{current_page_get()}
+ @see: L{page_show()}
+ @see: L{page_bring_in()}
+
+ @return: horizontal and vertical page number
+ @rtype: tuple of ints
+
+ """
+ cdef int h_pagenumber, v_pagenumber
+ elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ return (h_pagenumber, v_pagenumber)
+
+ property last_page:
+ """Get scroll last page number.
+
+ The page number starts from 0. 0 is the first page.
+ This returns the last page number among the pages.
+
+ @see: L{current_page_get()}
+ @see: L{page_show()}
+ @see: L{page_bring_in()}
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int h_pagenumber, v_pagenumber
+ elm_scroller_last_page_get(self.obj, &h_pagenumber, &v_pagenumber)
+ return (h_pagenumber, v_pagenumber)
+
+ def page_show(self, h_pagenumber, v_pagenumber):
+ """page_show(h_pagenumber, v_pagenumber)
+
+ Show a specific virtual region within the scroller content object by page number.
+
+ 0, 0 of the indicated page is located at the top-left of the viewport.
+ This will jump to the page directly without animation.
+
+ Example of usage::
+ sc = Scroller(win)
+ sc.content_set(content)
+ sc.page_relative_set(1, 0)
+ h_page, v_page = sc.current_page_get()
+ sc.page_show(h_page + 1, v_page)
+
+ @see: L{page_bring_in()}
+
+ @param h_pagenumber: The horizontal page number
+ @type h_pagenumber: int
+ @param v_pagenumber: The vertical page number
+ @type v_pagenumber: int
+
+ """
+ elm_scroller_page_show(self.obj, h_pagenumber, v_pagenumber)
+
+ def page_bring_in(self, h_pagenumber, v_pagenumber):
+ """page_bring_in(h_pagenumber, v_pagenumber)
+
+ Show a specific virtual region within the scroller content object by page number.
+
+ 0, 0 of the indicated page is located at the top-left of the viewport.
+ This will slide to the page with animation.
+
+ Example of usage::
+ sc = Scroller(win)
+ sc.content_set(content)
+ sc.page_relative_set(1, 0)
+ h_page, v_page = sc.last_page_get()
+ sc.page_bring_in(h_page, v_page)
+
+ @see: L{page_show()}
+
+ @param h_pagenumber: The horizontal page number
+ @type h_pagenumber: int
+ @param v_pagenumber: The vertical page number
+ @type v_pagenumber: int
+
+ """
+ elm_scroller_page_bring_in(self.obj, h_pagenumber, v_pagenumber)
+
+ def region_bring_in(self, x, y, w, h):
+ """region_bring_in(x, y, w, h)
+
+ Show a specific virtual region within the scroller content object.
+
+ This will ensure all (or part if it does not fit) of the designated
+ region in the virtual content object (0, 0 starting at the top-left of the
+ virtual content object) is shown within the scroller. Unlike
+ elm_scroller_region_show(), this allow the scroller to "smoothly slide"
+ to this location (if configuration in general calls for transitions). It
+ may not jump immediately to the new location and make take a while and
+ show other content along the way.
+
+ @see: L{region_show()}
+
+ @param x: X coordinate of the region
+ @type x: Evas_Coord (int)
+ @param y: Y coordinate of the region
+ @type y: Evas_Coord (int)
+ @param w: Width of the region
+ @type w: Evas_Coord (int)
+ @param h: Height of the region
+ @type h: Evas_Coord (int)
+
+ """
+ elm_scroller_region_bring_in(self.obj, x, y, w, h)
+
+ def propagate_events_set(self, propagation):
+ """Set event propagation on a scroller
+
+ This enables or disabled event propagation from the scroller content to
+ the scroller and its parent. By default event propagation is disabled.
+
+ @param propagation: If propagation is enabled or not
+ @type propagation: bool
+
+ """
+ elm_scroller_propagate_events_set(self.obj, propagation)
+
+ def propagate_events_get(self):
+ """Get event propagation for a scroller
+
+ This gets the event propagation for a scroller.
+
+ @see: L{propagate_events_set()}
+
+ @return: The propagation state
+ @rtype: bool
+
+ """
+ return bool(elm_scroller_propagate_events_get(self.obj))
+
+ property propagate_events:
+ """Event propagation for a scroller
+
+ This enables or disables event propagation from the scroller content to
+ the scroller and its parent. By default event propagation is disabled.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_scroller_propagate_events_get(self.obj))
+
+ def __set__(self, propagation):
+ elm_scroller_propagate_events_set(self.obj, propagation)
+
+ def gravity_set(self, x, y):
+ """Set scrolling gravity on a scroller
+
+ The gravity, defines how the scroller will adjust its view
+ when the size of the scroller contents increase.
+
+ The scroller will adjust the view to glue itself as follows.
+
+ x=0.0, for showing the left most region of the content.
+ x=1.0, for showing the right most region of the content.
+ y=0.0, for showing the bottom most region of the content.
+ y=1.0, for showing the top most region of the content.
+
+ Default values for x and y are 0.0
+
+ @param x: The scrolling horizontal gravity
+ @type x: float
+ @param y: The scrolling vertical gravity
+ @type y: float
+
+ """
+ elm_scroller_gravity_set(self.obj, x, y)
+
+ def gravity_get(self):
+ """Get scrolling gravity values for a scroller
+
+ This gets gravity values for a scroller.
+
+ @see: L{gravity_set()}
+
+ @return: The scrolling horizontal and vertical gravities
+ @rtype: tuple of floats
+
+ """
+ cdef double x, y
+ elm_scroller_gravity_get(self.obj, &x, &y)
+ return (x, y)
+
+ property gravity:
+ """Scrolling gravity on a scroller
+
+ The gravity, defines how the scroller will adjust its view
+ when the size of the scroller contents increase.
+
+ The scroller will adjust the view to glue itself as follows.
+
+ x=0.0, for showing the left most region of the content.
+ x=1.0, for showing the right most region of the content.
+ y=0.0, for showing the bottom most region of the content.
+ y=1.0, for showing the top most region of the content.
+
+ Default values for x and y are 0.0
+
+ @type: tuple of floats
+
+ """
+ def __get__(self):
+ cdef double x, y
+ elm_scroller_gravity_get(self.obj, &x, &y)
+ return (x, y)
+
+ def __set__(self, value):
+ x, y = value
+ elm_scroller_gravity_set(self.obj, x, y)
+
+ def callback_edge_left_add(self, func, *args, **kwargs):
+ """The left edge of the content has been reached."""
+ self._callback_add("edge,left", func, *args, **kwargs)
+
+ def callback_edge_left_del(self, func):
+ self._callback_del("edge,left", func)
+
+ def callback_edge_right_add(self, func, *args, **kwargs):
+ """The right edge of the content has been reached."""
+ self._callback_add("edge,right", func, *args, **kwargs)
+
+ def callback_edge_right_del(self, func):
+ self._callback_del("edge,right", func)
+
+ def callback_edge_top_add(self, func, *args, **kwargs):
+ """The top edge of the content has been reached."""
+ self._callback_add("edge,top", func, *args, **kwargs)
+
+ def callback_edge_top_del(self, func):
+ self._callback_del("edge,top", func)
+
+ def callback_edge_bottom_add(self, func, *args, **kwargs):
+ """The bottom edge of the content has been reached."""
+ self._callback_add("edge,bottom", func, *args, **kwargs)
+
+ def callback_edge_bottom_del(self, func):
+ self._callback_del("edge,bottom", func)
+
+ def callback_scroll_add(self, func, *args, **kwargs):
+ """The content has been scrolled (moved)."""
+ self._callback_add("scroll", func, *args, **kwargs)
+
+ def callback_scroll_del(self, func):
+ self._callback_del("scroll", func)
+
+ def callback_scroll_anim_start_add(self, func, *args, **kwargs):
+ """Scrolling animation has started."""
+ self._callback_add("scroll,anim,start", func, *args, **kwargs)
+
+ 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):
+ """Scrolling animation has stopped."""
+ self._callback_add("scroll,anim,stop", func, *args, **kwargs)
+
+ def callback_scroll_anim_stop_del(self, func):
+ self._callback_del("scroll,anim,stop", func)
+
+ def callback_scroll_drag_start_add(self, func, *args, **kwargs):
+ """Dragging the contents around has started."""
+ self._callback_add("scroll,drag,start", func, *args, **kwargs)
+
+ 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):
+ """Dragging the contents around has stopped."""
+ self._callback_add("scroll,drag,stop", func, *args, **kwargs)
+
+ def callback_scroll_drag_stop_del(self, func):
+ self._callback_del("scroll,drag,stop", func)
+
+_elm_widget_type_register("scroller", Scroller)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryScroller_Type # hack to install metaclass
+_install_metaclass(&PyElementaryScroller_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_segment_control.pxi b/elementary/elementary.c_elementary_segment_control.pxi
new file mode 100644
index 0000000..a6f9916
--- /dev/null
+++ b/elementary/elementary.c_elementary_segment_control.pxi
@@ -0,0 +1,349 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class SegmentControlItem(ObjectItem):
+
+ """An item for L{SegmentControl}."""
+
+ def index_get(self):
+ """Get the index of an item.
+
+ Index is the position of an item in segment control widget. Its
+ range is from C{0} to <tt> count - 1 </tt>.
+ Count is the number of items, that can be get with
+ elm_segment_control_item_count_get().
+
+ @return: The position index
+ @rtype: int
+
+ """
+ return elm_segment_control_item_index_get(self.item)
+
+ property index:
+ """Get the index of an item.
+
+ Index is the position of an item in segment control widget. Its
+ range is from C{0} to <tt> count - 1 </tt>.
+ Count is the number of items, that can be get with
+ elm_segment_control_item_count_get().
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_segment_control_item_index_get(self.item)
+
+ def object_get(self):
+ """Get the base object of the item.
+
+ @return: The SegmentControl object
+ @rtype: L{SegmentControl}
+
+ """
+ return Object_from_instance(elm_segment_control_item_object_get(self.item))
+
+ property object:
+ """Get the base object of the item.
+
+ @type: L{SegmentControl}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_segment_control_item_object_get(self.item))
+
+ def selected_set(self, select):
+ """Set the selected state of an item.
+
+ This sets the selected state of the given item C{it}.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+
+ The selected item always will be highlighted on segment control.
+
+ @param select: The selected state
+ @type select: bool
+
+ """
+ elm_segment_control_item_selected_set(self.item, select)
+
+ property selected:
+ """Set the selected state of an item.
+
+ This sets the selected state of the given item C{it}.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+
+ The selected item always will be highlighted on segment control.
+
+ @see: L{SegmentControl.item_selected}
+
+ @type: bool
+
+ """
+ def __set__(self, select):
+ elm_segment_control_item_selected_set(self.item, select)
+
+cdef public class SegmentControl(LayoutClass) [object PyElementarySegmentControl, type PyElementarySegmentControl_Type]:
+
+ """Segment control widget is a horizontal control made of multiple
+ segment items, each segment item functioning similar to discrete two
+ state button. A segment control groups the items together and provides
+ compact single button with multiple equal size segments.
+
+ Segment item size is determined by base widget size and the number of
+ items added. Only one segment item can be at selected state. A segment
+ item can display combination of Text and any Evas_Object like Images or
+ other widget.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - When the user clicks on a segment item which is not
+ previously selected and get selected. The event_info parameter is the
+ segment item pointer.
+
+ Available styles for it:
+ - C{"default"}
+
+ Default content parts of the segment control items that you can use for are:
+ - "icon" - An icon in a segment control item
+
+ Default text parts of the segment control items that you can use for are:
+ - "default" - Title label in a segment control item
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_segment_control_add(parent.obj))
+
+ def item_add(self, evasObject icon, label = None):
+ """item_add(icon, label=None)
+
+ Append a new item to the segment control object.
+
+ A new item will be created and appended to the segment control, i.e., will
+ be set as B{last} item.
+
+ If it should be inserted at another position,
+ elm_segment_control_item_insert_at() should be used instead.
+
+ Items created with this function can be deleted with function
+ L{ObjectItem.delete()} or L{item_del_at()}.
+
+ Simple example::
+ sc = SegmentControl(win)
+ ic = Icon(win)
+ ic.file_set("path/to/image")
+ ic.resizable_set(True, True)
+ sc.item_add(ic, "label")
+ sc.show()
+
+ @note: C{label} set to C{None} is different from empty string "".
+ If an item only has icon, it will be displayed bigger and
+ centered. If it has icon and label, even that an empty string,
+ icon will be smaller and positioned at left.
+
+ @see: L{SegmentControl.item_insert_at()}
+ @see: L{ObjectItem.delete()}
+
+ @param icon: The icon object to use for the left side of the item. An
+ icon can be any Evas object, but usually it is an icon created
+ with elm_icon_add().
+ @type icon: L{Object}
+ @param label: The label of the item. Note that, None is different
+ from empty string "".
+ @type label: string
+ @return: The created item or C{None} upon failure.
+ @rtype: L{SegmentControlItem}
+
+ """
+ cdef SegmentControlItem ret = SegmentControlItem()
+ cdef Elm_Object_Item *item
+
+ item = elm_segment_control_item_add(self.obj,
+ icon.obj if icon else NULL,
+ _cfruni(label))
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_insert_at(self, evasObject icon, label = None, index = 0):
+ """item_insert_at(icon, label=None, index=0)
+
+ Insert a new item to the segment control object at specified position.
+
+ Index values must be between C{0}, when item will be prepended to
+ segment control, and items count, that can be get with
+ elm_segment_control_item_count_get(), case when item will be appended
+ to segment control, just like elm_segment_control_item_add().
+
+ Items created with this function can be deleted with function
+ elm_object_item_del() or elm_segment_control_item_del_at().
+
+ @note: C{label} set to C{None} is different from empty string "".
+ If an item only has icon, it will be displayed bigger and
+ centered. If it has icon and label, even that an empty string,
+ icon will be smaller and positioned at left.
+
+ @see: L{SegmentControl.item_add()}
+ @see: L{SegmentControl.item_count_get()}
+ @see: L{ObjectItem.delete()}
+
+ @param icon: The icon object to use for the left side of the item. An
+ icon can be any Evas object, but usually it is an icon created
+ with elm_icon_add().
+ @type icon: L{Object}
+ @param label: The label of the item.
+ @type label: string
+ @param index: Item position. Value should be between 0 and items count.
+ @type index: int
+ @return: The created item or C{None} upon failure.
+ @rtype: L{SegmentControlItem}
+
+ """
+ cdef SegmentControlItem ret = SegmentControlItem()
+ cdef Elm_Object_Item *item
+
+ item = elm_segment_control_item_insert_at(self.obj,
+ icon.obj if icon else NULL,
+ _cfruni(label), index)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_del_at(self, index):
+ """item_del_at(index)
+
+ Remove a segment control item at given index from its parent,
+ deleting it.
+
+ Items can be added with elm_segment_control_item_add() or
+ elm_segment_control_item_insert_at().
+
+ @param index: The position of the segment control item to be deleted.
+ @type index: int
+
+ """
+ elm_segment_control_item_del_at(self.obj, index)
+
+ property item_count:
+ """Get the Segment items count from segment control.
+
+ It will just return the number of items added to the segment control.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_segment_control_item_count_get(self.obj)
+
+ def item_get(self, index):
+ """item_get(index)
+
+ Get the item placed at specified index.
+
+ Index is the position of an item in segment control widget. Its
+ range is from C{0} to <tt> count - 1 </tt>.
+ Count is the number of items, that can be get with
+ elm_segment_control_item_count_get().
+
+ @param index: The index of the segment item.
+ @type index: int
+ @return: The segment control item or C{None} on failure.
+ @rtype: L{SegmentControlItem}
+
+ """
+ return _object_item_to_python(elm_segment_control_item_get(self.obj, index))
+
+ def item_label_get(self, index):
+ """item_label_get(index)
+
+ Get the label of item.
+
+ The return value is a pointer to the label associated to the item when
+ it was created, with function elm_segment_control_item_add(), or later
+ with function elm_object_item_text_set. If no label
+ was passed as argument, it will return C{None}.
+
+ @see: L{ObjectItem.text_set()} for more details.
+ @see: L{SegmentControl.item_add()}
+
+ @param index: The index of the segment item.
+ @type index: int
+ @return: The label of the item at C{index}.
+ @rtype: string
+
+ """
+ return _ctouni(elm_segment_control_item_label_get(self.obj, index))
+
+ def item_icon_get(self, index):
+ """item_icon_get(index)
+
+ Get the icon associated to the item.
+
+ The return value is a pointer to the icon associated to the item when
+ it was created, with function elm_segment_control_item_add(), or later
+ with function elm_object_item_part_content_set(). If no icon
+ was passed as argument, it will return C{None}.
+
+ @see: L{SegmentControl.item_add()}
+ @see: L{ObjectItem.part_content_set()}
+
+ @param index: The index of the segment item.
+ @type index: int
+ @return: The left side icon associated to the item at C{index}.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_segment_control_item_icon_get(self.obj, index))
+
+ property item_selected:
+ """Get the selected item.
+
+ The selected item can be unselected with function
+ elm_segment_control_item_selected_set().
+
+ The selected item always will be highlighted on segment control.
+
+ @type: L{SegmentControlItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_segment_control_item_selected_get(self.obj))
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """When the user clicks on a segment item which is not previously
+ selected and get selected. The event_info parameter is the segment
+ item."""
+ self._callback_add_full("changed", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del_full("changed", _cb_object_item_conv, func)
+
+_elm_widget_type_register("segment_control", SegmentControl)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementarySegmentControl_Type # hack to install metaclass
+_install_metaclass(&PyElementarySegmentControl_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_separator.pxi b/elementary/elementary.c_elementary_separator.pxi
new file mode 100644
index 0000000..3ee981d
--- /dev/null
+++ b/elementary/elementary.c_elementary_separator.pxi
@@ -0,0 +1,68 @@
+# Copyright (c) 2009 Boris Faure
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Separator(LayoutClass) [object PyElementarySeparator, type PyElementarySeparator_Type]:
+
+ """Separator is a very thin object used to separate other objects.
+
+ A separator can be vertical or horizontal.
+
+ This widget emits the signals coming from L{Layout}.
+
+ """
+
+ def __init__(self, evasObject parent):
+ self._set_obj(elm_separator_add(parent.obj))
+
+ def horizontal_set(self, b):
+ """Set the horizontal mode of a separator object
+
+ @param horizontal: If True, the separator is horizontal
+ @type horizontal: bool
+
+ """
+ elm_separator_horizontal_set(self.obj, b)
+
+ def horizontal_get(self):
+ """Get the horizontal mode of a separator object
+
+ @see: L{horizontal_set()}
+
+ @return: If True, the separator is horizontal
+ @rtype: bool
+
+ """
+ return elm_separator_horizontal_get(self.obj)
+
+ property horizontal:
+ """The horizontal mode of a separator object
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_separator_horizontal_get(self.obj)
+
+ def __set__(self, b):
+ elm_separator_horizontal_set(self.obj, b)
+
+_elm_widget_type_register("separator", Separator)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementarySeparator_Type # hack to install metaclass
+_install_metaclass(&PyElementarySeparator_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_slider.pxi b/elementary/elementary.c_elementary_slider.pxi
new file mode 100644
index 0000000..d52743b
--- /dev/null
+++ b/elementary/elementary.c_elementary_slider.pxi
@@ -0,0 +1,579 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Slider(LayoutClass) [object PyElementarySlider, type PyElementarySlider_Type]:
+
+ """The slider adds a draggable "slider" widget for selecting the value of
+ something within a range.
+
+ A slider can be horizontal or vertical. It can contain an Icon and has a
+ primary label as well as a units label (that is formatted with floating
+ point values and thus accepts a printf-style format string, like
+ "%1.2f units". There is also an indicator string that may be somewhere
+ else (like on the slider itself) that also accepts a format string like
+ units. Label, Icon Unit and Indicator strings/objects are optional.
+
+ A slider may be inverted which means values invert, with high vales being
+ on the left or top and low values on the right or bottom (as opposed to
+ normally being low on the left or top and high on the bottom and right).
+
+ The slider should have its minimum and maximum values set by the
+ application with L{min_max_set()} and value should also be set by
+ the application before use with L{value_set()}. The span of the
+ slider is its length (horizontally or vertically). This will be scaled by
+ the object or applications scaling factor. At any point code can query the
+ slider for its value with L{value_get()}.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - Whenever the slider value is changed by the user.
+ - C{"slider,drag,start"} - dragging the slider indicator around has
+ started.
+ - C{"slider,drag,stop"} - dragging the slider indicator around has
+ stopped.
+ - C{"delay,changed"} - A short time after the value is changed by
+ the user. This will be called only when the user stops dragging
+ for a very short period or when they release their finger/mouse,
+ so it avoids possibly expensive reactions to the value change.
+
+ Available styles for it:
+ - C{"default"}
+
+ Default content parts of the slider widget that you can use for are:
+ - "icon" - An icon of the slider
+ - "end" - A end part content of the slider
+
+ Default text parts of the slider widget that you can use for are:
+ - "default" - Label of the slider
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_slider_add(parent.obj))
+
+ def span_size_set(self, size):
+ """Set the (exact) length of the bar region of a given slider widget.
+
+ This sets the minimum width (when in horizontal mode) or height
+ (when in vertical mode) of the actual bar area of the slider. This
+ in turn affects the object's minimum size. Use this when you're not
+ setting other size hints expanding on the given direction (like
+ weight and alignment hints) and you would like it to have a specific
+ size.
+
+ @note: Icon, end, label, indicator and unit text around the object
+ will require their own space, which will make the object to
+ require more the C{size}, actually.
+
+ @see: L{span_size_get()}
+
+ @param size: The length of the slider's bar region.
+ @type size: Evas_Coord (int)
+
+ """
+ elm_slider_span_size_set(self.obj, size)
+
+ def span_size_get(self):
+ """Get the length set for the bar region of a given slider widget
+
+ If that size was not set previously, with L{span_size_set()}, this
+ call will return C{0}.
+
+ @return: The length of the slider's bar region.
+ @rtype: Evas_Coord (int)
+
+ """
+ return elm_slider_span_size_get(self.obj)
+
+ property span_size:
+ """The (exact) length of the bar region of a given slider widget.
+
+ This property reflects the minimum width (when in horizontal mode)
+ or height (when in vertical mode) of the actual bar area of the
+ slider. This in turn affects the object's minimum size. Use this
+ when you're not setting other size hints expanding on the given
+ direction (like weight and alignment hints) and you would like it to
+ have a specific size.
+
+ @note: Icon, end, label, indicator and unit text around the object
+ will require their own space, which will make the object to
+ require more the C{size}, actually.
+
+ @type: Evas_Coord (int)
+
+ """
+ def __get__(self):
+ return elm_slider_span_size_get(self.obj)
+
+ def __set__(self, size):
+ elm_slider_span_size_set(self.obj, size)
+
+ def unit_format_set(self, format):
+ """Set the format string for the unit label.
+
+ Unit label is displayed all the time, if set, after slider's bar.
+ In horizontal mode, at right and in vertical mode, at bottom.
+
+ If C{None}, unit label won't be visible. If not it sets the format
+ string for the label text. To the label text is provided a floating point
+ value, so the label text can display up to 1 floating point value.
+ Note that this is optional.
+
+ Use a format string such as "%1.2f meters" for example, and it will
+ display values like: "3.14 meters" for a value equal to 3.14159.
+
+ Default is unit label disabled.
+
+ @see: L{indicator_format_get()}
+
+ @param format: The format string for the unit display.
+ @type format: string
+
+ """
+ elm_slider_unit_format_set(self.obj, _cfruni(format))
+
+ def unit_format_get(self):
+ """Get the unit label format of the slider.
+
+ Unit label is displayed all the time, if set, after slider's bar.
+ In horizontal mode, at right and in vertical mode, at bottom.
+
+ @see: L{unit_format_set()} for more information on how this works.
+
+ @return: The unit label format string in UTF-8.
+ @rtype: string
+
+ """
+ return _ctouni(elm_slider_unit_format_get(self.obj))
+
+ property unit_format:
+ """The format string for the unit label.
+
+ Unit label is displayed all the time, if set, after slider's bar.
+ In horizontal mode, at right and in vertical mode, at bottom.
+
+ If C{None}, unit label won't be visible. If not it sets the format
+ string for the label text. To the label text is provided a floating point
+ value, so the label text can display up to 1 floating point value.
+ Note that this is optional.
+
+ Use a format string such as "%1.2f meters" for example, and it will
+ display values like: "3.14 meters" for a value equal to 3.14159.
+
+ Default is unit label disabled.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_slider_unit_format_get(self.obj))
+
+ def __set__(self, format):
+ elm_slider_unit_format_set(self.obj, _cfruni(format))
+
+ def indicator_format_set(self, format):
+ """Set the format string for the indicator label.
+
+ The slider may display its value somewhere else then unit label, for
+ example, above the slider knob that is dragged around. This function
+ sets the format string used for this.
+
+ If C{None}, indicator label won't be visible. If not it sets the
+ format string for the label text. To the label text is provided a
+ floating point value, so the label text can display up to 1 floating
+ point value. Note that this is optional.
+
+ Use a format string such as "%1.2f meters" for example, and it will
+ display values like: "3.14 meters" for a value equal to 3.14159.
+
+ Default is indicator label disabled.
+
+ @see: L{indicator_format_get()}
+
+ @param indicator: The format string for the indicator display.
+ @type indicator: string
+
+ """
+ elm_slider_indicator_format_set(self.obj, _cfruni(format))
+
+ def indicator_format_get(self):
+ """Get the indicator label format of the slider.
+
+ The slider may display its value somewhere else then unit label, for
+ example, above the slider knob that is dragged around. This function
+ gets the format string used for this.
+
+ @see: L{indicator_format_set()} for more information on how this works.
+
+ @return: The indicator label format string in UTF-8.
+ @rtype: string
+
+ """
+ return _ctouni(elm_slider_indicator_format_get(self.obj))
+
+ property indicator_format:
+ """The format string for the indicator label.
+
+ The slider may display its value somewhere else then unit label, for
+ example, above the slider knob that is dragged around. This function
+ sets the format string used for this.
+
+ If C{None}, indicator label won't be visible. If not it sets the
+ format string for the label text. To the label text is provided a
+ floating point value, so the label text can display up to 1 floating
+ point value. Note that this is optional.
+
+ Use a format string such as "%1.2f meters" for example, and it will
+ display values like: "3.14 meters" for a value equal to 3.14159.
+
+ Default is indicator label disabled.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_slider_indicator_format_get(self.obj))
+
+ def __set__(self, format):
+ elm_slider_indicator_format_set(self.obj, _cfruni(format))
+
+ #TODO: def indicator_format_function_set(self, func, free_func)
+#~ """Set the format function pointer for the indicator label
+#~
+#~ Set the callback function to format the indicator string.
+#~
+#~ @see: L{indicator_format_set()} for more info on how this works.
+#~
+#~ @param func: The indicator format function.
+#~ @type func: function
+#~ @param free_func: The freeing function for the format string.
+#~ @type free_func: function
+#~
+#~ """
+ #elm_slider_indicator_format_function_set(self.obj, char(*func)(double val), void (*free_func)(charstr))
+
+ #TODO: def units_format_function_set(self, func, free_func)
+#~ """Set the format function pointer for the units label
+#~
+#~ Set the callback function to format the units string.
+#~
+#~ @see: L{units_format_set() for more info on how this works.
+#~
+#~ @param func: The units format function.
+#~ @type func: function
+#~ @param free_func: The freeing function for the format string.
+#~ @type free_func: function
+#~
+#~ """
+ #elm_slider_units_format_function_set(self.obj, char(*func)(double val), void (*free_func)(charstr))
+
+ def horizontal_set(self, horizontal):
+ """Set the orientation of a given slider widget.
+
+ Use this function to change how your slider is to be
+ disposed: vertically or horizontally.
+
+ By default it's displayed horizontally.
+
+ @see: L{horizontal_get()}
+
+ @param horizontal: Use C{True} to make the object be B{horizontal},
+ C{False} to make it B{vertical}.
+ @type horizontal: bool
+
+ """
+ elm_slider_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """Retrieve the orientation of a given slider widget
+
+ @see: L{horizontal_set()} for more details.
+
+ @return: C{True}, if the object is set to be B{horizontal}, C{False}
+ if it's B{vertical} (and on errors).
+ @rtype: bool
+
+ """
+ return bool(elm_slider_horizontal_get(self.obj))
+
+ property horizontal:
+ """The orientation of a given slider widget.
+
+ This property reflects how your slider is to be disposed: vertically
+ or horizontally.
+
+ By default it's displayed horizontally.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_slider_horizontal_get(self.obj))
+ def __set__(self, horizontal):
+ elm_slider_horizontal_set(self.obj, horizontal)
+
+ def min_max_set(self, min, max):
+ """Set the minimum and maximum values for the slider.
+
+ Define the allowed range of values to be selected by the user.
+
+ If actual value is less than C{min}, it will be updated to C{min}. If it
+ is bigger then C{max}, will be updated to C{max}. Actual value can be
+ get with L{value_get()}.
+
+ By default, min is equal to 0.0, and max is equal to 1.0.
+
+ @warning: Maximum must be greater than minimum, otherwise behavior
+ is undefined.
+
+ @see: L{min_max_get()}
+
+ @param min: The minimum value.
+ @type min: float
+ @param max: The maximum value.
+ @type max: float
+
+ """
+ elm_slider_min_max_set(self.obj, min, max)
+
+ def min_max_get(self):
+ """Get the minimum and maximum values of the slider.
+
+ @note: If only one value is needed, the other pointer can be passed
+ as C{None}.
+
+ @see: L{min_max_set()} for details.
+
+ @return: The minimum and maximum values
+ @rtype: tuple of floats
+
+ """
+ cdef double min, max
+ elm_slider_min_max_get(self.obj, &min, &max)
+ return (min, max)
+
+ property min_max:
+ """The minimum and maximum values for the slider.
+
+ If actual value is less than C{min}, it will be updated to C{min}. If it
+ is bigger then C{max}, will be updated to C{max}. Actual value can be
+ get with L{value_get()}.
+
+ By default, min is equal to 0.0, and max is equal to 1.0.
+
+ @warning: Maximum must be greater than minimum, otherwise behavior
+ is undefined.
+
+ @type: (float, float)
+
+ """
+ def __get__(self):
+ cdef double min, max
+ elm_slider_min_max_get(self.obj, &min, &max)
+ return (min, max)
+
+ def __set__(self, value):
+ min, max = value
+ elm_slider_min_max_set(self.obj, min, max)
+
+ def value_set(self, value):
+ """Set the value the slider displays.
+
+ Value will be presented on the unit label following format specified
+ with L{unit_format_set()} and on indicator with
+ L{indicator_format_set()}.
+
+ @warning: The value must to be between min and max values. These
+ values are set by L{min_max_set()}.
+
+ @see: L{value_get()}
+ @see: L{unit_format_set()}
+ @see: L{indicator_format_set()}
+ @see: L{min_max_set()}
+
+ @param val: The value to be displayed.
+ @type val: float
+
+ """
+ elm_slider_value_set(self.obj, value)
+
+ def value_get(self):
+ """Get the value displayed by the spinner.
+
+ @see: L{value_set()} for details.
+
+ @return: The value displayed.
+ @rtype: float
+
+ """
+ return elm_slider_value_get(self.obj)
+
+ property value:
+ """The value displayed in the slider.
+
+ Value will be presented on the unit label following format specified
+ with L{unit_format_set()} and on indicator with
+ L{indicator_format_set()}.
+
+ @warning: The value must to be between min and max values. These
+ values are set by L{min_max}.
+
+ @see: L{unit_format}
+ @see: L{indicator_format}
+ @see: L{min_max}
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_slider_value_get(self.obj)
+ def __set__(self, value):
+ elm_slider_value_set(self.obj, value)
+
+ def inverted_set(self, inverted):
+ """Invert a given slider widget's displaying values order
+
+ A slider may be B{inverted}, in which state it gets its
+ values inverted, with high vales being on the left or top and
+ low values on the right or bottom, as opposed to normally have
+ the low values on the former and high values on the latter,
+ respectively, for horizontal and vertical modes.
+
+ @see: L{inverted_get()}
+
+ @param inverted: Use C{True} to make the object inverted, C{False} to
+ bring it back to default, non-inverted values.
+ @type inverted: bool
+
+ """
+ elm_slider_inverted_set(self.obj, inverted)
+
+ def inverted_get(self):
+ """Get whether a given slider widget's displaying values are
+ inverted or not.
+
+ @see: L{inverted_set()} for more details.
+
+ @return: C{True}, if the object has inverted values, C{False}
+ otherwise (and on errors).
+ @rtype: bool
+
+ """
+ return bool(elm_slider_inverted_get(self.obj))
+
+ property inverted:
+ """Invert a given slider widget's displaying values order
+
+ A slider may be B{inverted}, in which state it gets its
+ values inverted, with high vales being on the left or top and
+ low values on the right or bottom, as opposed to normally have
+ the low values on the former and high values on the latter,
+ respectively, for horizontal and vertical modes.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_slider_inverted_get(self.obj))
+
+ def __set__(self, inverted):
+ elm_slider_inverted_set(self.obj, inverted)
+
+ def indicator_show_set(self, show):
+ """Set whether to enlarge slider indicator (augmented knob) or not.
+
+ By default, indicator will be bigger while dragged by the user.
+
+ @warning: It won't display values set with
+ L{indicator_format_set()} if you disable indicator.
+
+ @param show: C{True} will make it enlarge, C{False} will let the
+ knob always at default size.
+ @type show: bool
+
+ """
+ elm_slider_indicator_show_set(self.obj, show)
+
+ def indicator_show_get(self):
+ """Get whether a given slider widget's enlarging indicator or not.
+
+ @see: L{indicator_show_set()} for details.
+
+ @return: C{True}, if the object is enlarging indicator, or C{False}
+ otherwise (and on errors).
+ @rtype: bool
+
+ """
+ return bool(elm_slider_indicator_show_get(self.obj))
+
+ property indicator_show:
+ """Whether to enlarge slider indicator (augmented knob) or not.
+
+ By default, indicator will be bigger while dragged by the user.
+
+ @warning: It won't display values set with
+ L{indicator_format} if you disable indicator.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_slider_indicator_show_get(self.obj))
+
+ def __set__(self, show):
+ elm_slider_indicator_show_set(self.obj, show)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """Whenever the slider value is changed by the user."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+ def callback_slider_drag_start_add(self, func, *args, **kwargs):
+ """Dragging the slider indicator around has started."""
+ self._callback_add("slider,drag,start", func, *args, **kwargs)
+
+ def callback_slider_drag_start_del(self, func):
+ self._callback_del("slider,drag,start", func)
+
+ def callback_slider_drag_stop_add(self, func, *args, **kwargs):
+ """Dragging the slider indicator around has stopped."""
+ self._callback_add("slider,drag,stop", func, *args, **kwargs)
+
+ def callback_slider_drag_stop_del(self, func):
+ self._callback_del("slider,drag,stop", func)
+
+ def callback_delay_changed_add(self, func, *args, **kwargs):
+ """A short time after the value is changed by the user. This will be
+ called only when the user stops dragging for a very short period or
+ when they release their finger/mouse, so it avoids possibly
+ expensive reactions to the value change.
+
+ """
+ self._callback_add("delay,changed", func, *args, **kwargs)
+
+ def callback_delay_changed_del(self, func):
+ self._callback_del("delay,changed", func)
+
+_elm_widget_type_register("slider", Slider)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementarySlider_Type # hack to install metaclass
+_install_metaclass(&PyElementarySlider_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_slideshow.pxi b/elementary/elementary.c_elementary_slideshow.pxi
new file mode 100644
index 0000000..3097041
--- /dev/null
+++ b/elementary/elementary.c_elementary_slideshow.pxi
@@ -0,0 +1,651 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef _py_elm_slideshow_item_call(func, Evas_Object *obj, data) with gil:
+ try:
+ o = Object_from_instance(obj)
+ (args, kwargs) = data
+ return func(o, *args, **kwargs)
+ except Exception as e:
+ traceback.print_exc()
+ return None
+
+cdef Evas_Object *_py_elm_slideshow_item_get(void *data, Evas_Object *obj) with gil:
+ cdef SlideshowItem item = <object>data
+ cdef object params = item.params
+ cdef evasObject icon
+ cdef SlideshowItemClass itc = params[0]
+
+ func = itc._get_func
+ if func is None:
+ return NULL
+
+ ret = _py_elm_slideshow_item_call(func, obj, params[1])
+ if ret is not None:
+ try:
+ icon = ret
+ return icon.obj
+ except Exception as e:
+ traceback.print_exc()
+ return NULL
+ else:
+ return NULL
+
+cdef void _py_elm_slideshow_item_del(void *data, Evas_Object *obj) with gil:
+ cdef SlideshowItem item = <object>data
+ cdef object params = item.params
+ cdef SlideshowItemClass itc = params[0]
+
+ func = itc._del_func
+ if func is not None:
+ try:
+ o = Object_from_instance(obj)
+ func(o, params[1])
+ except Exception as e:
+ traceback.print_exc()
+ item._unset_obj()
+ Py_DECREF(item)
+
+cdef int _py_elm_slideshow_compare_func(const_void *data1, const_void *data2) with gil:
+ cdef SlideshowItem item1 = <object>data1
+ cdef SlideshowItem item2 = <object>data2
+ cdef object params = item1.params
+ cdef object func = params[2]
+
+ if func is None:
+ return 0
+
+ ret = func(item1, item2)
+ if ret is not None:
+ try:
+ return ret
+ except Exception as e:
+ traceback.print_exc()
+ return 0
+ else:
+ return 0
+
+cdef class SlideshowItemClass (object):
+ """Defines the behavior of each slideshow item.
+
+ This class should be created and handled to the Slideshow itself.
+
+ It may be subclassed, in this case the methods L{get()} and C{delete()}
+ will be used.
+
+ It may also be instantiated directly, given getters to override as
+ constructor parameters.
+
+ @param get_func: if provided will override the behavior
+ defined by L{get()} in this class. Its purpose is
+ to return the icon object to be used (swalloed) by a
+ given part and row. This function should have the
+ signature:
+ C{func(obj, item_data) -> obj}
+
+ @param del_func: if provided will override the behavior
+ defined by C{delete()} in this class. Its purpose is to be
+ called when item is deleted, thus finalizing resources
+ and similar. This function should have the signature:
+ C{func(obj, item_data)}
+
+ @note: In all these signatures, 'obj' means Slideshow and
+ 'item_data' is the value given to Slideshow item append/prepend
+ methods, it should represent your item model as you want.
+
+ """
+ cdef Elm_Slideshow_Item_Class obj
+ cdef readonly object _get_func
+ cdef readonly object _del_func
+
+ def __cinit__(self, *a, **ka):
+ self._get_func = None
+ self._del_func = None
+
+ self.obj.func.get = _py_elm_slideshow_item_get
+ self.obj.func.del_ = _py_elm_slideshow_item_del
+
+ def __init__(self, get_func=None, del_func=None):
+ if get_func and not callable(get_func):
+ raise TypeError("get_func is not callable!")
+ elif get_func:
+ self._get_func = get_func
+ else:
+ self._get_func = self.get
+
+ if del_func and not callable(del_func):
+ raise TypeError("del_func is not callable!")
+ elif del_func:
+ self._del_func = del_func
+ else:
+ try:
+ self._del_func = self.delete
+ except AttributeError:
+ pass
+
+ def __str__(self):
+ return ("%s(get_func=%s, del_func=%s)") % \
+ (self.__class__.__name__,
+ self._get_func,
+ self._del_func)
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Slideshow_Item_Class=%#x, "
+ "get_func=%s, del_func=%s)") % \
+ (self.__class__.__name__,
+ <unsigned long><void *>self,
+ PY_REFCOUNT(self),
+ <unsigned long>&self.obj,
+ self._get_func,
+ self._del_func)
+
+ def get(self, evasObject obj, item_data):
+ """get(obj, item_data)
+
+ To be called by Slideshow for each item to get its icon.
+
+ @param obj: the Slideshow instance
+ @param item_data: the value given to slideshow append/prepend.
+
+ @return: icon object to be used and swallowed.
+ @rtype: evas Object or None
+ """
+ return None
+
+cdef class SlideshowItem(ObjectItem):
+
+ """An item for Slideshow."""
+
+ cdef int _set_obj(self, Elm_Object_Item *item, params=None) except 0:
+ assert self.item == NULL, "Object must be clean"
+ self.item = item
+ Py_INCREF(self)
+ return 1
+
+ cdef void _unset_obj(self):
+ assert self.item != NULL, "Object must wrap something"
+ self.item = NULL
+
+ def __str__(self):
+ return "%s(item_class=%s, func=%s, item_data=%s)" % \
+ (self.__class__.__name__,
+ self.params[0].__class__.__name__,
+ self.params[3],
+ self.params[1])
+
+ def __repr__(self):
+ return ("%s(%#x, refcount=%d, Elm_Object_Item=%#x, "
+ "item_class=%s, func=%s, item_data=%r)") % \
+ (self.__class__.__name__,
+ <unsigned long><void*>self,
+ PY_REFCOUNT(self),
+ <unsigned long>self.obj,
+ self.params[0].__class__.__name__,
+ self.params[3],
+ self.params[1])
+
+ property object:
+ """Get the real Evas object created to implement the view of a given
+ slideshow item.
+
+ This returns the actual Evas object used to implement the specified
+ slideshow item's view. This may be C{None}, as it may not have been
+ created or may have been deleted, at any time, by the slideshow.
+ B{Do not modify this object} (move, resize, show, hide, etc.), as
+ the slideshow is controlling it. This function is for querying,
+ emitting custom signals or hooking lower level callbacks for events
+ on that object. Do not delete this object under any circumstances.
+
+ @see: L{ObjectItem.data}
+
+ @type: L{Slideshow}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_slideshow_item_object_get(self.item))
+
+ def show(self):
+ """show()
+
+ Display a given slideshow widget's item, programmatically.
+
+ The change between the current item and this item will use the
+ transition the slideshow object is set to use.
+
+ @see: L{Slideshow.transition_set()}
+
+ """
+ elm_slideshow_item_show(self.item)
+
+
+
+cdef public class Slideshow(LayoutClass) [object PyElementarySlideshow, type PyElementarySlideshow_Type]:
+
+ """This widget, as the name indicates, is a pre-made image
+ slideshow panel, with API functions acting on (child) image
+ items presentation. Between those actions, are:
+ - advance to next/previous image
+ - select the style of image transition animation
+ - set the exhibition time for each image
+ - start/stop the slideshow
+
+ The transition animations are defined in the widget's theme,
+ consequently new animations can be added without having to
+ update the widget's code.
+
+ Slideshow items
+ ===============
+
+ For slideshow items, just like for L{Genlist} "genlist" ones,
+ the user defines a B{classes}, specifying functions that will be
+ called on the item's creation and deletion times.
+
+ The Elm_Slideshow_Item_Class structure contains the following
+ members:
+
+ - C{func.get} - When an item is displayed, this function is
+ called, and it's where one should create the item object, de
+ facto. For example, the object can be a pure Evas image object
+ or an Elementary L{Photocam} "photocam" widget.
+ See #SlideshowItemGetFunc.
+ - C{func.del} - When an item is no more displayed, this function
+ is called, where the user must delete any data associated to
+ the item. See #SlideshowItemDelFunc.
+
+ Slideshow caching
+ =================
+
+ The slideshow provides facilities to have items adjacent to the
+ one being displayed B{already "realized"} (i.e. loaded) for
+ you, so that the system does not have to decode image data
+ anymore at the time it has to actually switch images on its
+ viewport. The user is able to set the numbers of items to be
+ cached B{before} and B{after} the current item, in the widget's
+ item list.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - when the slideshow switches its view to a new item.
+ event_info parameter in callback contains the current visible item
+ - C{"transition,end"} - when a slide transition ends. event_info
+ parameter in callback contains the current visible item
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_slideshow_add(parent.obj))
+
+ def item_add(self, SlideshowItemClass item_class not None, *args, **kwargs):
+ """item_add(item_class, *args, **kwargs)
+
+ Add (append) a new item in a given slideshow widget.
+
+ Add a new item to C{obj's} internal list of items, appending it.
+ The item's class must contain the function really fetching the
+ image object to show for this item, which could be an Evas image
+ object or an Elementary photo, for example. The C{data}
+ parameter is going to be passed to both class functions of the
+ item.
+
+ @see: Elm_Slideshow_Item_Class
+ @see: L{item_sorted_insert()}
+ @see: L{ObjectItem.data}
+
+ @param item_class: The item class for the item
+ @type item_class: SlideshowItemClass
+
+ @return: A handle to the item added or C{None}, on errors
+ @rtype: L{SlideshowItem}
+
+ """
+ cdef SlideshowItem ret = SlideshowItem()
+ cdef Elm_Object_Item *item
+
+ item_data = (args, kwargs)
+ ret.params = (item_class, item_data)
+ item = elm_slideshow_item_add(self.obj, &item_class.obj, <void*>ret)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def item_sorted_insert(self, SlideshowItemClass item_class not None,
+ func not None, *args, **kwargs):
+ """item_sorted_insert(itc, func, *args, **kwargs)
+
+ Insert a new item into the given slideshow widget, using the C{func}
+ function to sort items (by item handles).
+
+ Add a new item to C{obj}'s internal list of items, in a position
+ determined by the C{func} comparing function. The item's class
+ must contain the function really fetching the image object to
+ show for this item, which could be an Evas image object or an
+ Elementary photo, for example. The C{data} parameter is going to
+ be passed to both class functions of the item.
+
+ The compare function compares data1 and data2. If data1 is 'less'
+ than data2, -1 must be returned, if it is 'greater', 1 must be
+ returned, and if they are equal, 0 must be returned.
+
+ @see: L{SlideshowItemClass}
+ @see: L{item_add()}
+
+ @param itc: The item class for the item
+ @param func: The comparing function to be used to sort slideshow
+ items B{by SlideshowItemClass item handles}
+ @return: Returns The slideshow item handle, on success, or
+ C{None}, on errors
+
+ """
+ cdef SlideshowItem ret = SlideshowItem()
+ cdef Elm_Object_Item *item
+ cdef Eina_Compare_Cb compare
+
+ if callable(func):
+ compare = _py_elm_slideshow_compare_func
+ else:
+ raise TypeError("func is not None or callable")
+
+ item_data = (args, kwargs)
+ ret.params = (item_class, item_data, func)
+ item = elm_slideshow_item_sorted_insert(self.obj, &item_class.obj, <void*>ret, compare)
+ if item != NULL:
+ ret._set_obj(item)
+ return ret
+ else:
+ return None
+
+ def next(self):
+ """next()
+
+ Slide to the B{next} item, in a given slideshow widget
+
+ The sliding animation the object is set to use will be the
+ transition effect used, after this call is issued.
+
+ @note: If the end of the slideshow's internal list of items is
+ reached, it'll wrap around to the list's beginning, again.
+
+ """
+ elm_slideshow_next(self.obj)
+
+ def previous(self):
+ """previous()
+
+ Slide to the B{previous} item, in a given slideshow widget
+
+ The sliding animation the object is set to use will be the
+ transition effect used, after this call is issued.
+
+ @note: If the beginning of the slideshow's internal list of items
+ is reached, it'll wrap around to the list's end, again.
+
+ """
+ elm_slideshow_previous(self.obj)
+
+ property transitions:
+ """Returns the list of sliding transition/effect names available,
+ for a given slideshow widget.
+
+ The transitions, which come from the objects theme, must be an EDC
+ data item named C{"transitions"} on the theme file, with (prefix)
+ names of EDC programs actually implementing them.
+
+ The available transitions for slideshows on the default theme are:
+ - C{"fade"} - the current item fades out, while the new one
+ fades in to the slideshow's viewport.
+ - C{"black_fade"} - the current item fades to black, and just
+ then, the new item will fade in.
+ - C{"horizontal"} - the current item slides horizontally, until
+ it gets out of the slideshow's viewport, while the new item
+ comes from the left to take its place.
+ - C{"vertical"} - the current item slides vertically, until it
+ gets out of the slideshow's viewport, while the new item comes
+ from the bottom to take its place.
+ - C{"square"} - the new item starts to appear from the middle of
+ the current one, but with a tiny size, growing until its
+ target (full) size and covering the old one.
+
+ @see: L{transition}
+
+ @type: tuple of strings
+
+ """
+ def __get__(self):
+ return tuple(_strings_to_python(elm_slideshow_transitions_get(self.obj)))
+
+ property transition:
+ """The slide transition/effect in use for a given slideshow widget
+
+ If C{transition} is implemented in C{obj's} theme (i.e., is
+ contained in the list returned by L{transitions}), this new sliding
+ effect will be used on the widget.
+
+ @type: string
+
+ """
+ def __set__(self, transition):
+ elm_slideshow_transition_set(self.obj, _cfruni(transition))
+ def __get__(self):
+ return _ctouni(elm_slideshow_transition_get(self.obj))
+
+ property timeout:
+ """The interval between each image transition on a given
+ slideshow widget, B{and start the slideshow, itself}
+
+ After setting this, the slideshow widget will start cycling its
+ view, sequentially and automatically, with the images of the
+ items it has. The time between each new image displayed is going
+ to be C{timeout} in B{seconds}. If a different timeout was set
+ previously and an slideshow was in progress, it will continue
+ with the new time between transitions, after this call.
+
+ @note: A value less than or equal to 0 on C{timeout} will disable
+ the widget's internal timer, thus halting any slideshow which
+ could be happening on C{obj}.
+
+ @type: float
+
+ """
+ def __set__(self, timeout):
+ elm_slideshow_timeout_set(self.obj, timeout)
+ def __get__(self):
+ return elm_slideshow_timeout_get(self.obj)
+
+ property loop:
+ """If, after a slideshow is started, for a given slideshow
+ widget, its items should be displayed cyclically or not.
+
+ @note: L{next()} and L{previous()} will
+ B{ignore} what is set by this property, i.e., they'll B{always}
+ cycle through items. This affects only the "automatic"
+ slideshow, as set by L{timeout}.
+
+ @type: bool
+
+ """
+ def __set__(self, loop):
+ elm_slideshow_loop_set(self.obj, loop)
+ def __get__(self):
+ return bool(elm_slideshow_loop_get(self.obj))
+
+ def clear(self):
+ """clear()
+
+ Remove all items from a given slideshow widget.
+
+ This removes (and deletes) all items in the object, leaving it empty.
+
+ @see: L{ObjectItem.delete()}, to remove just one item.
+
+ """
+ elm_slideshow_clear(self.obj)
+
+ property items:
+ """Get the internal list of items in a given slideshow widget.
+
+ This list is B{not} to be modified in any way and must not be
+ freed. Use the list members with functions like
+ L{ObjectItem.delete()}, L{ObjectItem.data}.
+
+ @warning: This list is only valid until C{obj} object's internal
+ items list is changed. It should be fetched again with another
+ call to this function when changes happen.
+
+ @type: tuple of L{SlideshowItem}s
+
+ """
+ def __get__(self):
+ return tuple(_object_item_list_to_python(elm_slideshow_items_get(self.obj)))
+
+ property current_item:
+ """The currently displayed item, in a given slideshow widget
+
+ @type: L{SlideshowItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_slideshow_item_current_get(self.obj))
+
+ def nth_item_get(self, nth):
+ """nth_item_get(nth)
+
+ Get the the item, in a given slideshow widget, placed at position
+ C{nth} in its internal items list.
+
+ @param nth: The number of the item to grab a handle to (0 being the
+ first)
+ @type nth: int
+
+ @return: The item stored in C{obj} at position C{nth} or C{None},
+ if there's no item with that index (and on errors)
+ @rtype: L{SlideshowItem}
+
+ """
+ return _object_item_to_python(elm_slideshow_item_nth_get(self.obj, nth))
+
+ property layout:
+ """The current slide layout in use for a given slideshow widget
+
+ If C{layout} is implemented in C{obj's} theme (i.e., is contained
+ in the list returned by elm_slideshow_layouts_get()), this new
+ images layout will be used on the widget.
+
+ @type: string
+
+ """
+ def __set__(self, layout):
+ elm_slideshow_layout_set(self.obj, _cfruni(layout))
+ def __get__(self):
+ return _ctouni(elm_slideshow_layout_get(self.obj))
+
+ property layouts:
+ """Returns the list of B{layout} names available, for a given
+ slideshow widget.
+
+ Slideshow layouts will change how the widget is to dispose each
+ image item in its viewport, with regard to cropping, scaling,
+ etc.
+
+ The layouts, which come from the object theme, must be an EDC
+ data item name C{"layouts"} on the theme file, with (prefix)
+ names of EDC programs actually implementing them.
+
+ The available layouts for slideshows on the default theme are:
+ - C{"fullscreen"} - item images with original aspect, scaled to
+ touch top and down slideshow borders or, if the image's height
+ is not enough, left and right slideshow borders.
+ - C{"not_fullscreen"} - the same behavior as the C{"fullscreen"}
+ one, but always leaving 10% of the slideshow's dimensions of
+ distance between the item image's borders and the slideshow
+ borders, for each axis.
+
+ @see: L{layout}
+
+ @type: tuple of strings
+
+ """
+ def __get__(self):
+ return tuple(_strings_to_python(elm_slideshow_layouts_get(self.obj)))
+
+ property cache_before:
+ """The number of items to cache, on a given slideshow widget,
+ B{before the current item}
+
+ The default value for this property is C{2}. See
+ L{Slideshow_Caching} "slideshow caching" for more details.
+
+ @type: int
+
+ """
+ def __set__(self, count):
+ elm_slideshow_cache_before_set(self.obj, count)
+ def __get__(self):
+ return elm_slideshow_cache_before_get(self.obj)
+
+ property cache_after:
+ """The number of items to cache, on a given slideshow widget,
+ B{after the current item}
+
+ The default value for this property is C{2.} See
+ L{Slideshow_Caching} "slideshow caching" for more details.
+
+ @see: L{cache_after_get()}
+
+ @type: int
+
+ """
+ def __set__(self, count):
+ elm_slideshow_cache_after_set(self.obj, count)
+ def __get__(self):
+ return elm_slideshow_cache_after_get(self.obj)
+
+ property count:
+ """Get the number of items stored in a given slideshow widget
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_slideshow_count_get(self.obj)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """When the slideshow switches its view to a new item. event_info
+ parameter in callback contains the current visible item."""
+ self._callback_add_full("changed", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del_full("changed", _cb_object_item_conv, func)
+
+ def callback_transition_end_add(self, func, *args, **kwargs):
+ """When a slide transition ends. event_info parameter in callback
+ contains the current visible item."""
+ self._callback_add_full("transition,end", _cb_object_item_conv,
+ func, *args, **kwargs)
+
+ def callback_transition_end_del(self, func):
+ self._callback_del_full("transition,end", _cb_object_item_conv, func)
+
+_elm_widget_type_register("slideshow", Slideshow)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementarySlideshow_Type # hack to install metaclass
+_install_metaclass(&PyElementarySlideshow_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_spinner.pxi b/elementary/elementary.c_elementary_spinner.pxi
new file mode 100644
index 0000000..a2360f2
--- /dev/null
+++ b/elementary/elementary.c_elementary_spinner.pxi
@@ -0,0 +1,628 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Spinner(LayoutClass) [object PyElementarySpinner, type PyElementarySpinner_Type]:
+
+ """A spinner is a widget which allows the user to increase or decrease
+ numeric values using arrow buttons, or edit values directly, clicking
+ over it and typing the new value.
+
+ By default the spinner will not wrap and has a label
+ of "%.0f" (just showing the integer value of the double).
+
+ A spinner has a label that is formatted with floating
+ point values and thus accepts a printf-style format string, like
+ "%1.2f units".
+
+ It also allows specific values to be replaced by pre-defined labels.
+
+ This widget emits the following signals, besides the ones sent from
+ L{Layout}:
+ - C{"changed"} - Whenever the spinner value is changed.
+ - C{"delay,changed"} - A short time after the value is changed by
+ the user. This will be called only when the user stops dragging
+ for a very short period or when they release their finger/mouse,
+ so it avoids possibly expensive reactions to the value change.
+
+ Available styles for it:
+ - C{"default"}: Default style
+ - C{"vertical"}: up/down buttons at the right side and text left aligned.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_spinner_add(parent.obj))
+
+ def label_format_set(self, format):
+ """Set the format string of the displayed label.
+
+ If C{None}, this sets the format to "%.0f". If not it sets the format
+ string for the label text. The label text is provided a floating point
+ value, so the label text can display up to 1 floating point value.
+ Note that this is optional.
+
+ Use a format string such as "%1.2f meters" for example, and it will
+ display values like: "3.14 meters" for a value equal to 3.14159.
+
+ Default is "%0.f".
+
+ @see: L{label_format_get()}
+
+ @param fmt: The format string for the label display.
+ @type fmt: string
+
+ """
+ elm_spinner_label_format_set(self.obj, _cfruni(format))
+
+ def label_format_get(self):
+ """Get the label format of the spinner.
+
+ @see: L{label_format_set()} for details.
+
+ @return: The text label format string in UTF-8.
+ @rtype: string
+
+ """
+ return _ctouni(elm_spinner_label_format_get(self.obj))
+
+ property label_format:
+ """The format string of the displayed label.
+
+ If set to C{None}, the format is set to "%.0f". If not it sets the
+ format string for the label text. The label text is provided a
+ floating point value, so the label text can display up to 1 floating
+ point value. Note that this is optional.
+
+ Use a format string such as "%1.2f meters" for example, and it will
+ display values like: "3.14 meters" for a value equal to 3.14159.
+
+ Default is "%0.f".
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_spinner_label_format_get(self.obj))
+
+ def __set__(self, format):
+ elm_spinner_label_format_set(self.obj, _cfruni(format))
+
+ def min_max_set(self, min, max):
+ """Set the minimum and maximum values for the spinner.
+
+ Define the allowed range of values to be selected by the user.
+
+ If actual value is less than C{min}, it will be updated to C{min}.
+ If it is bigger then C{max}, will be updated to C{max}. Actual value
+ can be get with L{value_get()}.
+
+ By default, min is equal to 0, and max is equal to 100.
+
+ @warning: Maximum must be greater than minimum.
+
+ @see: L{min_max_get()}
+
+ @param min: The minimum value.
+ @type min: float
+ @param max: The maximum value.
+ @type max: float
+
+ """
+ elm_spinner_min_max_set(self.obj, min, max)
+
+ def min_max_get(self):
+ """Get the minimum and maximum values of the spinner.
+
+ @note: If only one value is needed, the other pointer can be passed
+ as C{None}.
+
+ @see: L{min_max_set()} for details.
+
+ @return: The minimum and maximum values
+ @rtype: tuple of floats
+
+ """
+ cdef double min, max
+ elm_spinner_min_max_get(self.obj, &min, &max)
+ return (min, max)
+
+ property min_max:
+ """The minimum and maximum values for the spinner.
+
+ If actual value is less than C{min}, it will be updated to C{min}.
+ If it is bigger then C{max}, will be updated to C{max}. Actual value
+ can be get with L{value}.
+
+ By default, min is equal to 0, and max is equal to 100.
+
+ @warning: Maximum must be greater than minimum.
+
+ @type: (float, float)
+
+ """
+ def __get__(self):
+ cdef double min, max
+ elm_spinner_min_max_get(self.obj, &min, &max)
+ return (min, max)
+
+ def __set__(self, value):
+ min, max = value
+ elm_spinner_min_max_set(self.obj, min, max)
+
+ def step_set(self, step):
+ """Set the step used to increment or decrement the spinner value.
+
+ This value will be incremented or decremented to the displayed value.
+ It will be incremented while the user keep right or top arrow
+ pressed, and will be decremented while the user keep left or bottom
+ arrow pressed.
+
+ The interval to increment / decrement can be set with
+ L{interval_set()}.
+
+ By default step value is equal to 1.
+
+ @see: L{step_get()}
+
+ @param step: The step value.
+ @type step: float
+
+ """
+ elm_spinner_step_set(self.obj, step)
+
+ def step_get(self):
+ """Get the step used to increment or decrement the spinner value.
+
+ @see: L{step_get()} for more details.
+
+ @return: The step value.
+ @rtype: float
+
+ """
+ return elm_spinner_step_get(self.obj)
+
+ property step:
+ """The step used to increment or decrement the spinner value.
+
+ This value will be incremented or decremented to the displayed value.
+ It will be incremented while the user keep right or top arrow
+ pressed, and will be decremented while the user keep left or bottom
+ arrow pressed.
+
+ The interval to increment / decrement can be set with
+ L{interval}.
+
+ By default step value is equal to 1.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_spinner_step_get(self.obj)
+
+ def __set__(self, step):
+ elm_spinner_step_set(self.obj, step)
+
+ def value_set(self, value):
+ """Set the value the spinner displays.
+
+ Value will be presented on the label following format specified with
+ L{format_set()}.
+
+ @warning: The value must to be between min and max values. This values
+ are set by L{min_max_set()}.
+
+ @see: L{value_get()}
+ @see: L{format_set()}
+ @see: L{min_max_set()}
+
+ @param val: The value to be displayed.
+ @type val: float
+
+ """
+ elm_spinner_value_set(self.obj, value)
+
+ def value_get(self):
+ """Get the value displayed by the spinner.
+
+ @see: L{value_set()} for details.
+
+ @return: The value displayed.
+ @rtype: float
+
+ """
+ return elm_spinner_value_get(self.obj)
+
+ property value:
+ """The value the spinner displays.
+
+ Value will be presented on the label following format specified with
+ L{format}.
+
+ @warning: The value must to be between min and max values. This values
+ are set by L{min_max}.
+
+ @see: L{format}
+ @see: L{min_max}
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_spinner_value_get(self.obj)
+ def __set__(self, value):
+ elm_spinner_value_set(self.obj, value)
+
+ def wrap_set(self, wrap):
+ """Set whether the spinner should wrap when it reaches its
+ minimum or maximum value.
+
+ Disabled by default. If disabled, when the user tries to increment
+ the value, but displayed value plus step value is bigger than
+ maximum value, the spinner won't allow it. The same happens when the
+ user tries to decrement it, but the value less step is less than
+ minimum value.
+
+ When wrap is enabled, in such situations it will allow these changes,
+ but will get the value that would be less than minimum and subtracts
+ from maximum. Or add the value that would be more than maximum to
+ the minimum.
+
+ E.g.:
+ - min value = 10
+ - max value = 50
+ - step value = 20
+ - displayed value = 20
+
+ When the user decrement value (using left or bottom arrow), it will
+ display C{40}, because max - (min - (displayed - step)) is
+ C{50} - (C{10} - (C{20} - C{20})) = C{40}.
+
+ @see: L{wrap_get()}
+
+ @param wrap: C{True} to enable wrap or C{False} to disable it.
+ @type wrap: bool
+
+ """
+ elm_spinner_wrap_set(self.obj, wrap)
+
+ def wrap_get(self):
+ """Get whether the spinner should wrap when it reaches its minimum
+ or maximum value.
+
+ @see: L{wrap_set()} for details.
+
+ @return: C{True} means wrap is enabled. C{False} indicates it's
+ disabled.
+ @rtype: bool
+
+ """
+ return elm_spinner_wrap_get(self.obj)
+
+ property wrap:
+ """Whether the spinner should wrap when it reaches its minimum or
+ maximum value.
+
+ Disabled by default. If disabled, when the user tries to increment
+ the value, but displayed value plus step value is bigger than
+ maximum value, the spinner won't allow it. The same happens when the
+ user tries to decrement it, but the value less step is less than
+ minimum value.
+
+ When wrap is enabled, in such situations it will allow these changes,
+ but will get the value that would be less than minimum and subtracts
+ from maximum. Or add the value that would be more than maximum to
+ the minimum.
+
+ E.g.:
+ - min value = 10
+ - max value = 50
+ - step value = 20
+ - displayed value = 20
+
+ When the user decrement value (using left or bottom arrow), it will
+ display C{40}, because max - (min - (displayed - step)) is
+ C{50} - (C{10} - (C{20} - C{20})) = C{40}.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_spinner_wrap_get(self.obj)
+ def __set__(self, wrap):
+ elm_spinner_wrap_set(self.obj, wrap)
+
+ def editable_set(self, editable):
+ """Set whether the spinner can be directly edited by the user or not.
+
+ Spinner objects can have edition B{disabled}, in which state they
+ will be changed only by arrows. Useful for contexts where you don't
+ want your users to interact with it writing the value. Specially
+ when using special values, the user can see real value instead of
+ special label on edition.
+
+ It's enabled by default.
+
+ @see: L{editable_get()}
+
+ @param editable: C{True} to allow users to edit it or C{False} to
+ don't allow users to edit it directly.
+ @type editable: bool
+
+ """
+ elm_spinner_editable_set(self.obj, editable)
+
+ def editable_get(self):
+ """Get whether the spinner can be directly edited by the user or not.
+
+ @see: L{editable_set()} for details.
+
+ @return: C{True} means edition is enabled. C{False} indicates it's
+ disabled.
+ @rtype: bool
+
+ """
+ return elm_spinner_editable_get(self.obj)
+
+ property editable:
+ """Whether the spinner can be directly edited by the user or not.
+
+ Spinner objects can have edition B{disabled}, in which state they
+ will be changed only by arrows. Useful for contexts where you don't
+ want your users to interact with it writing the value. Specially
+ when using special values, the user can see real value instead of
+ special label on edition.
+
+ It's enabled by default.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_spinner_editable_get(self.obj)
+ def __set__(self, editable):
+ elm_spinner_editable_set(self.obj, editable)
+
+ def special_value_add(self, value, label):
+ """special_value_add(value, label)
+
+ Set a special string to display in the place of the numerical value.
+
+ It's useful for cases when a user should select an item that is
+ better indicated by a label than a value. For example, weekdays or months.
+
+ E.g.::
+ sp = Spinner(win)
+ sp.min_max_set(1, 3)
+ sp.special_value_add(1, "January")
+ sp.special_value_add(2, "February")
+ sp.special_value_add(3, "March")
+ sp.show()
+
+ @param value: The value to be replaced.
+ @type value: float
+ @param label: The label to be used.
+ @type label: string
+
+ """
+ elm_spinner_special_value_add(self.obj, value, _cfruni(label))
+
+ def interval_set(self, interval):
+ """Set the interval on time updates for an user mouse button hold
+ on spinner widgets' arrows.
+
+ This interval value is B{decreased} while the user holds the
+ mouse pointer either incrementing or decrementing spinner's value.
+
+ This helps the user to get to a given value distant from the
+ current one easier/faster, as it will start to change quicker and
+ quicker on mouse button holds.
+
+ The calculation for the next change interval value, starting from
+ the one set with this call, is the previous interval divided by
+ C{1.05}, so it decreases a little bit.
+
+ The default starting interval value for automatic changes is
+ C{0.85} seconds.
+
+ @see: L{interval_get()}
+
+ @param interval: The (first) interval value in seconds.
+ @type interval: float
+
+ """
+ elm_spinner_interval_set(self.obj, interval)
+
+ def interval_get(self):
+ """Get the interval on time updates for an user mouse button hold
+ on spinner widgets' arrows.
+
+ @see: L{interval_set()} for more details.
+
+ @return: The (first) interval value, in seconds, set on it.
+ @rtype: float
+
+ """
+ return elm_spinner_interval_get(self.obj)
+
+ property interval:
+ """The interval on time updates for an user mouse button hold
+ on spinner widgets' arrows.
+
+ This interval value is B{decreased} while the user holds the
+ mouse pointer either incrementing or decrementing spinner's value.
+
+ This helps the user to get to a given value distant from the
+ current one easier/faster, as it will start to change quicker and
+ quicker on mouse button holds.
+
+ The calculation for the next change interval value, starting from
+ the one set with this call, is the previous interval divided by
+ C{1.05}, so it decreases a little bit.
+
+ The default starting interval value for automatic changes is
+ C{0.85} seconds.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_spinner_interval_get(self.obj)
+
+ def __set__(self, interval):
+ elm_spinner_interval_set(self.obj, interval)
+
+ def base_set(self, base):
+ """Set the base for rounding
+
+ Rounding works as follows:
+
+ C{rounded_val = base + (double)(((value - base) / round) round)}
+
+ Where rounded_val, value and base are doubles, and round is an integer.
+
+ This means that things will be rounded to increments (or decrements)
+ of "round" starting from value C{base}. The default base for
+ rounding is 0.
+
+ Example: round = 3, base = 2
+ Values: 3, 6, 9, 12, 15, ...
+
+ Example: round = 2, base = 5.5
+ Values: 5.5, 7.5, 9.5, 11.5, ...
+
+ @see: L{round_get()}
+ @see: L{base_get()} too.
+
+ @param base: The base value
+ @type base: float
+
+ """
+ elm_spinner_base_set(self.obj, base)
+
+ def base_get(self):
+ """Get the base for rounding
+
+ This returns the base for rounding.
+
+ @see: L{round_set()} too.
+ @see: L{base_set()} too.
+
+ @return: The base rounding value
+ @rtype: float
+
+ """
+ return elm_spinner_base_get(self.obj)
+
+ property base:
+ """The base for rounding
+
+ Rounding works as follows:
+
+ C{rounded_val = base + (double)(((value - base) / round) round)}
+
+ Where rounded_val, value and base are doubles, and round is an integer.
+
+ This means that things will be rounded to increments (or decrements)
+ of "round" starting from the value of this property. The default
+ base for rounding is 0.
+
+ Example: round = 3, base = 2
+ Values: 3, 6, 9, 12, 15, ...
+
+ Example: round = 2, base = 5.5
+ Values: 5.5, 7.5, 9.5, 11.5, ...
+
+ @see: L{round}
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_spinner_base_get(self.obj)
+
+ def __set__(self, base):
+ elm_spinner_base_set(self.obj, base)
+
+ def round_set(self, rnd):
+ """Set the round value for rounding
+
+ Sets the rounding value used for value rounding in the spinner.
+
+ @see: L{round_get()}
+ @see: L{base_set()}
+
+ @param rnd: The rounding value
+ @type rnd: float
+
+ """
+ elm_spinner_round_set(self.obj, rnd)
+
+ def round_get(self):
+ """Get the round value for rounding
+
+ This returns the round value for rounding.
+
+ @see: L{round_set()} too.
+ @see: L{base_set()} too.
+
+ @return: The rounding value
+ @rtype: float
+
+ """
+ return elm_spinner_round_get(self.obj)
+
+ property round:
+ """The rounding value used for value rounding in the spinner.
+
+ @see: L{base}
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_spinner_round_get(self.obj)
+
+ def __set__(self, rnd):
+ elm_spinner_round_set(self.obj, rnd)
+
+ def callback_changed_add(self, func, *args, **kwargs):
+ """Whenever the spinner value is changed."""
+ self._callback_add("changed", func, *args, **kwargs)
+
+ def callback_changed_del(self, func):
+ self._callback_del("changed", func)
+
+ def callback_delay_changed_add(self, func, *args, **kwargs):
+ """A short time after the value is changed by the user. This will
+ be called only when the user stops dragging for a very short period
+ or when they release their finger/mouse, so it avoids possibly
+ expensive reactions to the value change.
+
+ """
+ self._callback_add("delay,changed", func, *args, **kwargs)
+
+ def callback_delay_changed_del(self, func):
+ self._callback_del("delay,changed", func)
+
+_elm_widget_type_register("spinner", Spinner)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementarySpinner_Type # hack to install metaclass
+_install_metaclass(&PyElementarySpinner_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_table.pxi b/elementary/elementary.c_elementary_table.pxi
new file mode 100644
index 0000000..c92ea05
--- /dev/null
+++ b/elementary/elementary.c_elementary_table.pxi
@@ -0,0 +1,208 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Table(Object) [object PyElementaryTable, type PyElementaryTable_Type]:
+
+ """A container widget to arrange other widgets in a table where items can
+ span multiple columns or rows - even overlap (and then be raised or
+ lowered accordingly to adjust stacking if they do overlap).
+
+ The row and column count is not fixed. The table widget adjusts itself when
+ subobjects are added to it dynamically.
+
+ The most common way to use a table is::
+ table = Table(win)
+ table.show()
+ table.padding_set(table, space_between_columns, space_between_rows)
+ table.pack(table_content_object, x_coord, y_coord, colspan, rowspan)
+ table.pack(table_content_object, next_x_coord, next_y_coord, colspan, rowspan)
+ table.pack(table_content_object, other_x_coord, other_y_coord, colspan, rowspan)
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_table_add(parent.obj))
+
+ def homogeneous_set(self, homogeneous):
+ """Set the homogeneous layout in the table
+
+ @param homogeneous: A boolean to set if the layout is homogeneous in
+ the table (True = homogeneous, False = no homogeneous)
+ @type homogeneous: bool
+
+ """
+ elm_table_homogeneous_set(self.obj, homogeneous)
+
+ def homogeneous_get(self):
+ """Get the current table homogeneous mode.
+
+ @return: A boolean to indicating if the layout is homogeneous in the
+ table (True = homogeneous, False = no homogeneous)
+ @rtype: bool
+
+ """
+ return elm_table_homogeneous_get(self.obj)
+
+ property homogeneous:
+ """The homogeneous layout in the table
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_table_homogeneous_get(self.obj)
+
+ def __set__(self, homogeneous):
+ elm_table_homogeneous_set(self.obj, homogeneous)
+
+ def padding_set(self, horizontal, vertical):
+ """Set padding between cells.
+
+ Default value is 0.
+
+ @param horizontal: set the horizontal padding.
+ @type horizontal: Evas_Coord (int)
+ @param vertical: set the vertical padding.
+ @type vertical: Evas_Coord (int)
+
+ """
+ elm_table_padding_set(self.obj, horizontal, vertical)
+
+ def padding_get(self):
+ """Get padding between cells.
+
+ @return: The horizontal and vertical padding
+ @rtype: tuple of Evas_Coords (int)
+
+ """
+ cdef Evas_Coord horizontal, vertical
+ elm_table_padding_get(self.obj, &horizontal, &vertical)
+ return (horizontal, vertical)
+
+ property padding:
+ """Padding between cells.
+
+ Default value is 0.
+
+ @type: (int, int)
+
+ """
+ def __get__(self):
+ cdef Evas_Coord horizontal, vertical
+ elm_table_padding_get(self.obj, &horizontal, &vertical)
+ return (horizontal, vertical)
+
+ def __set__(self, value):
+ horizontal, vertical = value
+ elm_table_padding_set(self.obj, horizontal, vertical)
+
+ def pack(self, evasObject subobj, x, y, w, h):
+ """pack(subobj, x, y, w, h)
+
+ Add a subobject on the table with the coordinates passed
+
+ @note: All positioning inside the table is relative to rows and
+ columns, so a value of 0 for x and y, means the top left cell of
+ the table, and a value of 1 for w and h means C{subobj} only
+ takes that 1 cell.
+
+ @param subobj: The subobject to be added to the table
+ @type subobj: L{Object}
+ @param x: Row number
+ @type x: int
+ @param y: Column number
+ @type y: int
+ @param w: colspan
+ @type w: int
+ @param h: rowspan
+ @type h: int
+
+ """
+ elm_table_pack(self.obj, subobj.obj, x, y, w, h)
+
+ def unpack(self, evasObject subobj):
+ """unpack(subobj)
+
+ Remove child from table.
+
+ @param subobj: The subobject
+ @type subobj: L{Object}
+
+ """
+ elm_table_unpack(self.obj, subobj.obj)
+
+ def clear(self, clear):
+ """clear(clear)
+
+ Faster way to remove all child objects from a table object.
+
+ @param clear: If True, will delete children, else just remove from table.
+ @type clear: bool
+
+ """
+ elm_table_clear(self.obj, clear)
+
+ def pack_set(evasObject subobj, x, y, w, h):
+ """pack_set(subobj, x, y, w, h)
+
+ Set the packing location of an existing child of the table
+
+ Modifies the position of an object already in the table.
+
+ @note: All positioning inside the table is relative to rows and
+ columns, so a value of 0 for x and y, means the top left cell of
+ the table, and a value of 1 for w and h means C{subobj} only
+ takes that 1 cell.
+
+ @param subobj: The subobject to be modified in the table
+ @type subobj: L{Object}
+ @param x: Row number
+ @type x: int
+ @param y: Column number
+ @type y: int
+ @param w: rowspan
+ @type w: int
+ @param h: colspan
+ @type h: int
+
+ """
+ elm_table_pack_set(subobj.obj, x, y, w, h)
+
+ def pack_get(evasObject subobj):
+ """pack_get(subobj)
+
+ Get the packing location of an existing child of the table
+
+ @see: L{pack_set()}
+
+ @param subobj: The subobject to be modified in the table
+ @type subobj: L{Object}
+ @return: Row number, Column number, rowspan, colspan
+ @rtype: tuple of ints
+
+ """
+ cdef int x, y, w, h
+ elm_table_pack_get(subobj.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+_elm_widget_type_register("table", Table)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryTable_Type # hack to install metaclass
+_install_metaclass(&PyElementaryTable_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_theme.pxi b/elementary/elementary.c_elementary_theme.pxi
new file mode 100644
index 0000000..6bf0d28
--- /dev/null
+++ b/elementary/elementary.c_elementary_theme.pxi
@@ -0,0 +1,387 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class Theme(object):
+
+ """Elementary uses Edje to theme its widgets, naturally. But for the most
+ part this is hidden behind a simpler interface that lets the user set
+ extensions and choose the style of widgets in a much easier way.
+
+ Instead of thinking in terms of paths to Edje files and their groups
+ each time you want to change the appearance of a widget, Elementary
+ works so you can add any theme file with extensions or replace the
+ main theme at one point in the application, and then just set the style
+ of widgets with elm_object_style_set() and related functions. Elementary
+ will then look in its list of themes for a matching group and apply it,
+ and when the theme changes midway through the application, all widgets
+ will be updated accordingly.
+
+ There are three concepts you need to know to understand how Elementary
+ theming works: default theme, extensions and overlays.
+
+ Default theme, obviously enough, is the one that provides the default
+ look of all widgets. End users can change the theme used by Elementary
+ by setting the C{ELM_THEME} environment variable before running an
+ application, or globally for all programs using the C{elementary_config}
+ utility. Applications can change the default theme using elm_theme_set(),
+ but this can go against the user wishes, so it's not an advised practice.
+
+ Ideally, applications should find everything they need in the already
+ provided theme, but there may be occasions when that's not enough and
+ custom styles are required to correctly express the idea. For this
+ cases, Elementary has extensions.
+
+ Extensions allow the application developer to write styles of its own
+ to apply to some widgets. This requires knowledge of how each widget
+ is themed, as extensions will always replace the entire group used by
+ the widget, so important signals and parts need to be there for the
+ object to behave properly (see documentation of Edje for details).
+ Once the theme for the extension is done, the application needs to add
+ it to the list of themes Elementary will look into, using
+ elm_theme_extension_add(), and set the style of the desired widgets as
+ he would normally with elm_object_style_set().
+
+ Overlays, on the other hand, can replace the look of all widgets by
+ overriding the default style. Like extensions, it's up to the application
+ developer to write the theme for the widgets it wants, the difference
+ being that when looking for the theme, Elementary will check first the
+ list of overlays, then the set theme and lastly the list of extensions,
+ so with overlays it's possible to replace the default view and every
+ widget will be affected. This is very much alike to setting the whole
+ theme for the application and will probably clash with the end user
+ options, not to mention the risk of ending up with not matching styles
+ across the program. Unless there's a very special reason to use them,
+ overlays should be avoided for the reasons exposed before.
+
+ All these theme lists are handled by ::Elm_Theme instances. Elementary
+ keeps one default internally and every function that receives one of
+ these can be called with NULL to refer to this default (except for
+ elm_theme_free()). It's possible to create a new instance of a
+ ::Elm_Theme to set other theme for a specific widget (and all of its
+ children), but this is as discouraged, if not even more so, than using
+ overlays. Don't use this unless you really know what you are doing.
+
+ """
+
+ cdef Elm_Theme *th
+
+ def __cinit__(self):
+ self.th = NULL
+
+ def __init__(self, default=False):
+ """Create a new specific theme
+
+ This creates an empty specific theme that only uses the default
+ theme. A specific theme has its own private set of extensions and
+ overlays too (which are empty by default). Specific themes do not
+ fall back to themes of parent objects. They are not intended for
+ this use. Use styles, overlays and extensions when needed, but avoid
+ specific themes unless there is no other way (example: you want to
+ have a preview of a new theme you are selecting in a "theme
+ selector" window. The preview is inside a scroller and should
+ display what the theme you selected will look like, but not actually
+ apply it yet. The child of the scroller will have a specific theme
+ set to show this preview before the user decides to apply it to all
+ applications).
+
+ """
+ cdef Elm_Theme *th
+ if default:
+ th = elm_theme_default_get()
+ else:
+ th = elm_theme_new()
+
+ if th != NULL:
+ self.th = th
+ else:
+ Py_DECREF(self)
+
+ def __dealloc__(self):
+ """Free a specific theme
+
+ This frees a theme created with elm_theme_new().
+
+ """
+ if self.th != NULL:
+ elm_theme_free(self.th)
+ self.th = NULL
+
+ def copy(self, Theme thdst):
+ """copy(thdst)
+
+ Copy the theme from the source to the destination theme
+
+ This makes a one-time static copy of all the theme config, extensions
+ and overlays from C{th} to C{thdst}. If C{th} references a theme, then
+ C{thdst} is also set to reference it, with all the theme settings,
+ overlays and extensions that C{th} had.
+
+ @param thdst: The destination theme to copy data to
+ @type thdst: L{Theme}
+
+ """
+ elm_theme_copy(self.th, thdst.th)
+
+ property reference:
+ """Tell the source theme to reference the ref theme
+
+ This clears C{th} to be empty and then sets it to refer to C{thref}
+ so C{th} acts as an override to C{thref}, but where its overrides
+ don't apply, it will fall through to C{thref} for configuration.
+
+ @type: L{Theme}
+
+ """
+ def __set__(self, Theme thref):
+ elm_theme_ref_set(self.th, thref.th)
+
+ def __get__(self):
+ cdef Theme thref = Theme()
+ thref.th = elm_theme_ref_get(self.th)
+ return thref
+
+ def overlay_add(self, item):
+ """overlay_add(item)
+
+ Prepends a theme overlay to the list of overlays
+
+ Use this if your application needs to provide some custom overlay
+ theme (An Edje file that replaces some default styles of widgets)
+ where adding new styles, or changing system theme configuration is
+ not possible. Do NOT use this instead of a proper system theme
+ configuration. Use proper configuration files, profiles, environment
+ variables etc. to set a theme so that the theme can be altered by
+ simple configuration by a user. Using this call to achieve that
+ effect is abusing the API and will create lots of trouble.
+
+ @see: L{extension_add()}
+
+ @param item: The Edje file path to be used
+ @type item: string
+
+ """
+ elm_theme_overlay_add(self.th, _cfruni(item))
+
+ def overlay_del(self, item):
+ """overlay_del(item)
+
+ Delete a theme overlay from the list of overlays
+
+ @see: L{overlay_add()}
+
+ @param item: The name of the theme overlay
+ @type item: string
+
+ """
+ elm_theme_overlay_del(self.th, _cfruni(item))
+
+ property overlay_list:
+ """Get the list of registered overlays for the given theme
+
+ @see: L{overlay_add()}
+
+ @type: tuple of strings
+
+ """
+ def __get__(self):
+ return tuple(_strings_to_python(elm_theme_overlay_list_get(self.th)))
+
+ def extension_add(self, item):
+ """extension_add(item)
+
+ Appends a theme extension to the list of extensions.
+
+ This is intended when an application needs more styles of widgets or
+ new widget themes that the default does not provide (or may not
+ provide). The application has "extended" usage by coming up with new
+ custom style names for widgets for specific uses, but as these are
+ not "standard", they are not guaranteed to be provided by a default
+ theme. This means the application is required to provide these extra
+ elements itself in specific Edje files. This call adds one of those
+ Edje files to the theme search path to be search after the default
+ theme. The use of this call is encouraged when default styles do not
+ meet the needs of the application. Use this call instead of
+ elm_theme_overlay_add() for almost all cases.
+
+ @see: L{Object.style}
+
+ @param item: The Edje file path to be used
+ @type item: string
+
+ """
+ elm_theme_extension_add(self.th, _cfruni(item))
+
+ def extension_del(self, item):
+ """extension_del(item)
+
+ Deletes a theme extension from the list of extensions.
+
+ @see: L{extension_add()}
+
+ @param item: The name of the theme extension
+ @type item: string
+
+ """
+ elm_theme_extension_del(self.th, _cfruni(item))
+
+ property extension_list:
+ """Get the list of registered extensions for the given theme
+
+ @see: L{extension_add()}
+
+ @type: tuple of strings
+
+ """
+ def __get__(self):
+ return tuple(_strings_to_python(elm_theme_extension_list_get(self.th)))
+
+ property order:
+ """Set the theme search order for the given theme
+
+ This sets the search string for the theme in path-notation from first
+ theme to search, to last, delimited by the : character. Example:
+
+ "shiny:/path/to/file.edj:default"
+
+ See the ELM_THEME environment variable for more information.
+
+ @see: L{list_get()}
+
+ @type: string
+
+ """
+ def __set__(self, theme):
+ elm_theme_set(self.th, _cfruni(theme))
+
+ def __get__(self):
+ return _ctouni(elm_theme_get(self.th))
+
+ property elements:
+ """Return a list of theme elements to be used in a theme.
+
+ This returns the internal list of theme elements (will only be valid as
+ long as the theme is not modified by elm_theme_set() or theme is not
+ freed by elm_theme_free(). This is a list of strings which must not be
+ altered as they are also internal. If C{th} is NULL, then the default
+ theme element list is returned.
+
+ A theme element can consist of a full or relative path to a .edj file,
+ or a name, without extension, for a theme to be searched in the known
+ theme paths for Elementary.
+
+ @see: L{order}
+
+ @type: tuple of strings
+
+ """
+ def __get__(self):
+ return tuple(_strings_to_python(elm_theme_list_get(self.th)))
+
+ def flush(self):
+ """flush()
+
+ Flush the current theme.
+
+ This flushes caches that let elementary know where to find theme elements
+ in the given theme. If C{th} is NULL, then the default theme is flushed.
+ Call this function if source theme data has changed in such a way as to
+ make any caches Elementary kept invalid.
+
+ """
+ elm_theme_flush(self.th)
+
+ def data_get(self, key):
+ """data_get(key)
+
+ Get a data item from a theme
+
+ This function is used to return data items from edc in C{th}, an
+ overlay, or an extension. It works the same way as
+ edje_file_data_get() except that the return is stringshared.
+
+ @param key: The data key to search with
+ @type key: string
+
+ @return: The data value, or NULL on failure
+ @rtype: string
+
+ """
+ return _ctouni(elm_theme_data_get(self.th, _cfruni(key)))
+
+def theme_list_item_path_get(f, in_search_path):
+ """theme_list_item_path_get(f, in_search_path)
+
+ Return the full path for a theme element
+
+ This returns a string you should free with free() on success, NULL on
+ failure. This will search for the given theme element, and if it is a
+ full or relative path element or a simple search-able name. The returned
+ path is the full path to the file, if searched, and the file exists, or it
+ is simply the full path given in the element or a resolved path if
+ relative to home. The C{in_search_path} boolean pointed to is set to
+ EINA_TRUE if the file was a search-able file and is in the search path,
+ and EINA_FALSE otherwise.
+
+ @param f: The theme element name
+ @type f: string
+ @param in_search_path: Pointer to a boolean to indicate if item is in the search path or not
+ @type in_search_path: bool
+
+ @return: The full path to the file found.
+ @rtype: string
+
+ """
+ cdef Eina_Bool path = in_search_path
+ return _ctouni(elm_theme_list_item_path_get(_cfruni(f), &path))
+
+def theme_full_flush():
+ """theme_full_flush()
+
+ This flushes all themes (default and specific ones).
+
+ This will flush all themes in the current application context, by calling
+ elm_theme_flush() on each of them.
+
+ """
+ elm_theme_full_flush()
+
+def theme_name_available_list():
+ """theme_name_available_list()
+
+ Return a list of theme elements in the theme search path
+
+ This lists all available theme files in the standard Elementary search path
+ for theme elements, and returns them in alphabetical order as theme
+ element names in a list of strings. Free this with
+ elm_theme_name_available_list_free() when you are done with the list.
+
+ @return: A list of strings that are the theme element names.
+ @rtype: tuple of strings
+
+ """
+ cdef Eina_List *lst = elm_theme_name_available_list_new()
+ elements = tuple(_strings_to_python(lst))
+ elm_theme_name_available_list_free(lst)
+ return elements
+
+# for compatibility
+def theme_overlay_add(item):
+ elm_theme_overlay_add(NULL, item)
+
+def theme_extension_add(item):
+ elm_theme_extension_add(NULL, item)
diff --git a/elementary/elementary.c_elementary_thumb.pxi b/elementary/elementary.c_elementary_thumb.pxi
new file mode 100644
index 0000000..5a1bf93
--- /dev/null
+++ b/elementary/elementary.c_elementary_thumb.pxi
@@ -0,0 +1,267 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Thumb(Object) [object PyElementaryThumb, type PyElementaryThumb_Type]:
+
+ """A thumbnail object is used for displaying the thumbnail of an image
+ or video. You must have compiled Elementary with C{Ethumb_Client}
+ support. Also, Ethumb's DBus service must be present and
+ auto-activated in order to have thumbnails generated. You must also
+ have a B{session} bus, not a B{system} one.
+
+ Once the thumbnail object becomes visible, it will check if there
+ is a previously generated thumbnail image for the file set on
+ it. If not, it will start generating this thumbnail.
+
+ Different configuration settings will cause different thumbnails to
+ be generated even on the same file.
+
+ Generated thumbnails are stored under C{$HOME/.thumbnails/}. Check
+ Ethumb's documentation to change this path, and to see other
+ configuration options.
+
+ This widget emits the following signals:
+ - C{"clicked"} - This is called when a user has clicked the
+ thumbnail object without dragging it around.
+ - C{"clicked,double"} - This is called when a user has double-clicked
+ the thumbnail object.
+ - C{"press"} - This is called when a user has pressed down over the
+ thumbnail object.
+ - C{"generate,start"} - The thumbnail generation has started.
+ - C{"generate,stop"} - The generation process has stopped.
+ - C{"generate,error"} - The thumbnail generation failed.
+ - C{"load,error"} - The thumbnail image loading failed.
+
+ Available styles:
+ - C{"default"}
+ - C{"noframe"}
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_thumb_add(parent.obj))
+
+ def reload(self):
+ """reload()
+
+ Reload thumbnail if it was generated before.
+
+ This is useful if the ethumb client configuration changed, like its
+ size, aspect or any other property one set in the handle returned
+ by L{ethumb_client_get()}.
+
+ If the options didn't change, the thumbnail won't be generated
+ again, but the old one will still be used.
+
+ @see: L{file}
+
+ """
+ elm_thumb_reload(self.obj)
+
+ property file:
+ """The file that will be used as thumbnail B{source}.
+
+ The file can be an image or a video (in that case, acceptable
+ extensions are: avi, mp4, ogv, mov, mpg and wmv). To start the
+ video animation, use the function L{animate()}.
+
+ @see: L{reload()}
+ @see: L{animate()}
+
+ @type: string or tuple(string file, optional string eet_key)
+
+ """
+ def __set__(self, value):
+ if isinstance(value, tuple) or isinstance(value, list):
+ file, key = value
+ else:
+ file = value
+ key = None
+ elm_thumb_file_set( self.obj,
+ _cfruni(file) if file is not None else NULL,
+ _cfruni(key) if key is not None else NULL)
+ def __get__(self):
+ cdef const_char_ptr file, key
+ elm_thumb_file_get(self.obj, &file, &key)
+ return(_ctouni(file), _ctouni(key))
+
+ property path:
+ """Get the path and key to the image or video thumbnail generated by
+ ethumb.
+
+ One just needs to make sure that the thumbnail was generated before
+ getting its path; otherwise, the path will be None. One way to do
+ that is by asking for the path when/after the "generate,stop" smart
+ callback is called.
+
+ @see: L{file}
+
+ @type: (string path, string eet_key)
+
+ """
+ def __get__(self):
+ cdef const_char_ptr path, key
+ elm_thumb_path_get(self.obj, &path, &key)
+ return(_ctouni(path), _ctouni(key))
+
+ property animate:
+ """Set the animation state for the thumb object. If its content is
+ an animated video, you may start/stop the animation or tell it to
+ play continuously and looping.
+
+ @see: L{file}
+
+ @type: Elm_Thumb_Animation_Setting
+
+ """
+ def __set__(self, s):
+ elm_thumb_animate_set(self.obj, s)
+ def __get__(self):
+ return elm_thumb_animate_get(self.obj)
+
+ def ethumb_client_get(self):
+ """Get the ethumb_client handle so custom configuration can be made.
+
+ This must be called before the objects are created to be sure no object is
+ visible and no generation started.
+
+ Example of usage::
+ #include <Elementary.h>
+ #ifndef ELM_LIB_QUICKLAUNCH
+ EAPI_MAIN int
+ elm_main(int argc, char **argv)
+ {
+ Ethumb_Client *client;
+
+ elm_need_ethumb();
+
+ // ... your code
+
+ client = elm_thumb_ethumb_client_get();
+ if (!client)
+ {
+ ERR("could not get ethumb_client");
+ return 1;
+ }
+ ethumb_client_size_set(client, 100, 100);
+ ethumb_client_crop_align_set(client, 0.5, 0.5);
+ // ... your code
+
+ // Create elm_thumb objects here
+
+ elm_run();
+ elm_shutdown();
+ return 0;
+ }
+ #endif
+ ELM_MAIN()
+
+ @note: There's only one client handle for Ethumb, so once a
+ configuration change is done to it, any other request for
+ thumbnails (for any thumbnail object) will use that
+ configuration. Thus, this configuration is global.
+
+ @return: Ethumb_Client instance or None.
+ @rtype: Ethumb_Client
+
+ """
+ return None
+ #return elm_thumb_ethumb_client_get(void)
+
+ def ethumb_client_connected_get(self):
+ """Get the ethumb_client connection state.
+
+ @return: True if the client is connected to the server or False
+ otherwise.
+ @rtype: bool
+
+ """
+ return bool(elm_thumb_ethumb_client_connected_get())
+
+ property editable:
+ """Make the thumbnail 'editable'.
+
+ This means the thumbnail is a valid drag target for drag and drop,
+ and can be cut or pasted too.
+
+ @type: bool
+
+ """
+ def __set__(self, edit):
+ elm_thumb_editable_set(self.obj, edit)
+ def __get__(self):
+ return bool(elm_thumb_editable_get(self.obj))
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """This is called when a user has clicked the thumbnail object
+ without dragging it around."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_clicked_double_add(self, func, *args, **kwargs):
+ """This is called when a user has double-clicked the thumbnail
+ object."""
+ self._callback_add("clicked,double", func, *args, **kwargs)
+
+ def callback_clicked_double_del(self, func):
+ self._callback_del("clicked,double", func)
+
+ def callback_press_add(self, func, *args, **kwargs):
+ """This is called when a user has pressed down over the thumbnail
+ object."""
+ self._callback_add("press", func, *args, **kwargs)
+
+ def callback_press_del(self, func):
+ self._callback_del("press", func)
+
+ def callback_generate_start_add(self, func, *args, **kwargs):
+ """The thumbnail generation has started."""
+ self._callback_add("generate,start", func, *args, **kwargs)
+
+ def callback_generate_start_del(self, func):
+ self._callback_del("generate,start", func)
+
+ def callback_generate_stop_add(self, func, *args, **kwargs):
+ """The generation process has stopped."""
+ self._callback_add("generate,stop", func, *args, **kwargs)
+
+ def callback_generate_stop_del(self, func):
+ self._callback_del("generate,stop", func)
+
+ def callback_generate_error_add(self, func, *args, **kwargs):
+ """The thumbnail generation failed."""
+ self._callback_add("generate,error", func, *args, **kwargs)
+
+ def callback_generate_error_del(self, func):
+ self._callback_del("generate,error", func)
+
+ def callback_load_error_add(self, func, *args, **kwargs):
+ """The thumbnail image loading failed."""
+ self._callback_add("load,error", func, *args, **kwargs)
+
+ def callback_load_error_del(self, func):
+ self._callback_del("load,error", func)
+
+_elm_widget_type_register("thumb", Thumb)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryThumb_Type # hack to install metaclass
+_install_metaclass(&PyElementaryThumb_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_toolbar.pxi b/elementary/elementary.c_elementary_toolbar.pxi
new file mode 100644
index 0000000..6c4e6ee
--- /dev/null
+++ b/elementary/elementary.c_elementary_toolbar.pxi
@@ -0,0 +1,1279 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class ToolbarItemState(object):
+
+ """A state for a L{ToolbarItem}."""
+
+ cdef Elm_Toolbar_Item_State *obj
+ cdef object params
+
+ def __init__(self, ObjectItem it, icon = None, label = None, callback = None, *args, **kwargs):
+ cdef Evas_Smart_Cb cb = NULL
+
+ if callback:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kwargs)
+
+ self.obj = elm_toolbar_item_state_add(it.item, _cfruni(icon), _cfruni(label), cb, <void*>self)
+ if self.obj == NULL:
+ Py_DECREF(self)
+
+cdef class ToolbarItem(ObjectItem):
+
+ """An item for the L{Toolbar} widget."""
+
+ def __init__(self, evasObject toolbar, icon, label,
+ callback, *args, **kargs):
+ cdef Evas_Object *ic = NULL
+ cdef Evas_Smart_Cb cb = NULL
+
+ if callback:
+ if not callable(callback):
+ raise TypeError("callback is not callable")
+ cb = _object_item_callback
+
+ self.params = (callback, args, kargs)
+
+ item = elm_toolbar_item_append(toolbar.obj, icon, _cfruni(label), cb, <void*>self)
+
+ if item != NULL:
+ self._set_obj(item)
+ else:
+ Py_DECREF(self)
+
+ def next_get(self):
+ """Get the item after C{item} in toolbar.
+
+ @note: If it is the last item, C{None} will be returned.
+
+ @see: L{Toolbar.item_append()}
+
+ @return: The item after C{item}, or C{None} if none or on failure.
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_item_next_get(self.item))
+
+ property next:
+ """Get the item after C{item} in toolbar.
+
+ @note: If it is the last item, C{None} will be returned.
+
+ @see: L{Toolbar.item_append()}
+
+ @type: L{ToolbarItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_toolbar_item_next_get(self.item))
+
+ def prev_get(self):
+ """Get the item before C{item} in toolbar.
+
+ @note: If it is the first item, C{None} will be returned.
+
+ @see: L{Toolbar.item_prepend()}
+
+ @return: The item before C{item}, or C{None} if none or on failure.
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_item_prev_get(self.item))
+
+ property prev:
+ """Get the item before C{item} in toolbar.
+
+ @note: If it is the first item, C{None} will be returned.
+
+ @see: L{Toolbar.item_prepend()}
+
+ @type: L{ToolbarItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_toolbar_item_prev_get(self.item))
+
+ def priority_set(self, priority):
+ """Set the priority of a toolbar item.
+
+ This is used only when the toolbar shrink mode is set to
+ ELM_TOOLBAR_SHRINK_MENU or ELM_TOOLBAR_SHRINK_HIDE. When space is
+ less than required, items with low priority will be removed from the
+ toolbar and added to a dynamically-created menu, while items with
+ higher priority will remain on the toolbar, with the same order they
+ were added.
+
+ @see: L{priority_get()}
+
+ @param priority: The item priority. The default is zero.
+ @type priority: int
+
+ """
+ elm_toolbar_item_priority_set(self.item, priority)
+
+ def priority_get(self):
+ """Get the priority of a toolbar item.
+
+ @see: L{priority_set()} for details.
+
+ @return: The item priority, or C{0} on failure.
+ @rtype: int
+
+ """
+ return elm_toolbar_item_priority_get(self.item)
+
+ property priority:
+ """The priority of a toolbar item.
+
+ This is used only when the toolbar shrink mode is set to
+ ELM_TOOLBAR_SHRINK_MENU or ELM_TOOLBAR_SHRINK_HIDE. When space is
+ less than required, items with low priority will be removed from the
+ toolbar and added to a dynamically-created menu, while items with
+ higher priority will remain on the toolbar, with the same order they
+ were added.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_toolbar_item_priority_get(self.item)
+
+ def __set__(self, priority):
+ elm_toolbar_item_priority_set(self.item, priority)
+
+ def selected_get(self):
+ """Get whether the item is selected or not.
+
+ @see: L{Toolbar.selected_item_get()} for details.
+ @see: L{selected_get()}
+
+ @return: C{True} means item is selected. C{False} indicates it's not.
+ @rtype: bool
+
+ """
+ return elm_toolbar_item_selected_get(self.item)
+
+ def selected_set(self, selected):
+ """Set the selected state of an item.
+
+ This sets the selected state of the given item.
+ C{True} for selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+ Previously selected item can be get with function
+ L{Toolbar.selected_item_get()}.
+
+ Selected items will be highlighted.
+
+ @see: L{selected_get()}
+ @see: L{Toolbar.selected_item_get()}
+
+ @param selected: The selected state
+ @type selected: bool
+
+ """
+ elm_toolbar_item_selected_set(self.item, selected)
+
+ property selected:
+ """The selected state of an item.
+
+ This reflects the selected state of the given item. C{True} for
+ selected, C{False} for not selected.
+
+ If a new item is selected the previously selected will be unselected.
+ Previously selected item can be get with function
+ L{Toolbar.selected_item_get()}.
+
+ Selected items will be highlighted.
+
+ @see: L{Toolbar.selected_item_get()}
+
+ @type: bool
+
+ """
+ def __set__(self, selected):
+ elm_toolbar_item_selected_set(self.item, selected)
+
+ def __get__(self):
+ return elm_toolbar_item_selected_get(self.item)
+
+ def icon_set(self, ic):
+ """Set the icon associated with the item.
+
+ Toolbar will load icon image from fdo or current theme.
+ This behavior can be set by L{Toolbar.icon_order_lookup_set()} function.
+ If an absolute path is provided it will load it direct from a file.
+
+ @see: L{Toolbar.icon_order_lookup_set()}
+ @see: L{Toolbar.icon_order_lookup_get()}
+
+ @param icon: A string with icon name or the absolute path of an
+ image file.
+ @type icon: string
+
+ """
+ elm_toolbar_item_icon_set(self.item, _cfruni(ic))
+
+ def icon_get(self):
+ """Get the string used to set the icon of item.
+
+ @see: L{icon_set()} for details.
+
+ @return: The string associated with the icon object.
+ @rtype: string
+
+ """
+ return _ctouni(elm_toolbar_item_icon_get(self.item))
+
+ property icon:
+ """The icon associated with the item.
+
+ Toolbar will load icon image from fdo or current theme.
+ This behavior can be set by L{Toolbar.icon_order_lookup_set()} function.
+ If an absolute path is provided it will load it direct from a file.
+
+ @see: L{Toolbar.icon_order_lookup}
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_toolbar_item_icon_get(self.item))
+
+ def __set__(self, ic):
+ elm_toolbar_item_icon_set(self.item, _cfruni(ic))
+
+ def object_get(self):
+ """Get the object of item.
+
+ @return: The object
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_toolbar_item_object_get(self.item))
+
+ property object:
+ """Get the object of item.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_toolbar_item_object_get(self.item))
+
+ def icon_object_get(self):
+ """Get the icon object of item.
+
+ @see: L{icon}, L{icon_file}, or L{icon_memfile} for details.
+
+ @return: The icon object
+ @rtype: L{Icon}
+
+ """
+ return Object_from_instance(elm_toolbar_item_icon_object_get(self.item))
+
+ property icon_object:
+ """Get the icon object of item.
+
+ @see: L{icon}, L{icon_file}, or L{icon_memfile} for details.
+
+ @type: L{Icon}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_toolbar_item_icon_object_get(self.item))
+
+ def icon_memfile_set(self, img, size, format, key):
+ """Set the icon associated with item to an image in a binary buffer.
+
+ @note: The icon image set by this function can be changed by
+ L{icon_set()}.
+
+ @param img: The binary data that will be used as an image
+ @param size: The size of binary data C{img}
+ @type size: int
+ @param format: Optional format of C{img} to pass to the image loader
+ @type format: string
+ @param key: Optional key of C{img} to pass to the image loader (eg.
+ if C{img} is an edje file)
+ @type key: string
+
+ @return: (C{True} = success, C{False} = error)
+ @rtype: bool
+
+ """
+ return False
+ #TODO: return bool(elm_toolbar_item_icon_memfile_set(self.item, img, size, format, key))
+
+ def icon_file_set(self, file, key):
+ """Set the icon associated with item to an image in a binary buffer.
+
+ @note: The icon image set by this function can be changed by
+ L{icon_set()}.
+
+ @param file: The file that contains the image
+ @type file: string
+ @param key: Optional key of C{img} to pass to the image loader (eg.
+ if C{img} is an edje file)
+ @type key: string
+
+ @return: (C{True} = success, C{False} = error)
+ @rtype: bool
+
+ """
+ return bool(elm_toolbar_item_icon_file_set(self.item, _cfruni(file), _cfruni(key)))
+
+ property icon_file:
+ """Set the icon associated with item to an image in a binary buffer.
+
+ @note: The icon image set by this function can be changed by
+ L{icon_set()}.
+
+ @type: string or tuple of strings
+
+ """
+ def __set__(self, value):
+ if isinstance(value, tuple):
+ file, key = value
+ else:
+ file = value
+ key = None
+ # TODO: check return status
+ elm_toolbar_item_icon_file_set(self.item, _cfruni(file), _cfruni(key))
+
+ def separator_set(self, separator):
+ """Set or unset item as a separator.
+
+ Items aren't set as separator by default.
+
+ If set as separator it will display separator theme, so won't display
+ icons or label.
+
+ @see: L{separator_get()}
+
+ @param separator: C{True} to set item item as separator or C{False}
+ to unset, i.e., item will be used as a regular item.
+ @type separator: bool
+
+ """
+ elm_toolbar_item_separator_set(self.item, separator)
+
+ def separator_get(self):
+ """Get a value whether item is a separator or not.
+
+ @see: L{separator_set()} for details.
+
+ @return: C{True} means item is a separator. C{False} indicates it's
+ not.
+ @rtype: bool
+
+ """
+ return elm_toolbar_item_separator_get(self.item)
+
+ property separator:
+ """Whether item is a separator or not.
+
+ Items aren't set as separator by default.
+
+ If set as separator it will display separator theme, so won't display
+ icons or label.
+
+ @type: bool
+
+ """
+ def __set__(self, separator):
+ elm_toolbar_item_separator_set(self.item, separator)
+
+ def __get__(self):
+ return elm_toolbar_item_separator_get(self.item)
+
+ def menu_set(self, menu):
+ """Set whether the toolbar item opens a menu.
+
+ A toolbar item can be set to be a menu, using this function.
+
+ Once it is set to be a menu, it can be manipulated through the
+ menu-like function L{menu_parent_set()} and the other menu
+ functions, using the Evas_Object C{menu} returned by
+ L{item_menu_get()}.
+
+ So, items to be displayed in this item's menu should be added with
+ L{Menu.item_add()}.
+
+ The following code exemplifies the most basic usage::
+ tb = Toolbar(win)
+ item = tb.item_append("refresh", "Menu")
+ item.menu_set(True)
+ tb.menu_parent_set(win)
+ menu = item.menu_get()
+ menu.item_add(None, "edit-cut", "Cut")
+ menu_item = menu.item_add(None, "edit-copy", "Copy")
+
+ @see: L{menu_get()}
+
+ @param menu: If C{True}, item will opens a menu when selected.
+ @type menu: bool
+
+ """
+ elm_toolbar_item_menu_set(self.item, menu)
+
+ def menu_get(self):
+ """Get toolbar item's menu.
+
+ If item wasn't set as menu item with L{menu_set()}, this function
+ will set it.
+
+ @see: L{menu_set()} for details.
+
+ @return: Item's menu object or C{None} on failure.
+
+ """
+ cdef Evas_Object *menu
+ menu = elm_toolbar_item_menu_get(self.item)
+ if menu == NULL:
+ return None
+ else:
+ return Menu(None, <object>menu)
+
+ property menu:
+ """This property has two diffent functionalities. The object you get
+ from it is the L{Menu} object used by this toolbar item, and setting
+ it to True or False controls whether this item is a menu or not.
+
+ If item wasn't set as menu item, getting the value of this property
+ sets it to be that.
+
+ Once it is set to be a menu, it can be manipulated through
+ L{Toolbar.menu_parent} and the L{Menu} functions and properties.
+
+ So, items to be displayed in this item's menu should be added with
+ L{Menu.item_add()}.
+
+ The following code exemplifies the most basic usage::
+ tb = Toolbar(win)
+ item = tb.item_append("refresh", "Menu")
+ item.menu = True
+ tb.menu_parent = win
+ menu = item.menu
+ menu.item_add(None, "edit-cut", "Cut")
+ menu_item = menu.item_add(None, "edit-copy", "Copy")
+
+ @type: bool
+
+ """
+ def __get__(self):
+ cdef Evas_Object *menu
+ menu = elm_toolbar_item_menu_get(self.item)
+ if menu == NULL:
+ return None
+ else:
+ return Menu(None, <object>menu)
+
+ def __set__(self, menu):
+ elm_toolbar_item_menu_set(self.item, menu)
+
+ def state_add(self, icon = None, label = None, func = None, *args, **kwargs):
+ """state_add(icon=None, label=None, func=None, *args, **kwargs)
+
+ Add a new state to C{item}.
+
+ Toolbar will load icon image from fdo or current theme. This
+ behavior can be set by elm_toolbar_icon_order_lookup_set() function.
+ If an absolute path is provided it will load it direct from a file.
+
+ States created with this function can be removed with
+ elm_toolbar_item_state_del().
+
+ @see: L{state)
+
+ @param icon: A string with icon name or the absolute path of an
+ image file.
+ @type icon: string
+ @param label: The label of the new state.
+ @type label: string
+ @param func: The function to call when the item is clicked when this
+ state is selected.
+ @type func: function
+
+ @return: The toolbar item state, or C{None} upon failure.
+ @rtype: L{ToolbarItemState}
+
+ """
+ return ToolbarItemState(self, icon, label, func, *args, **kwargs)
+
+ def state_del(self, ToolbarItemState state):
+ """state_del(state)
+
+ Delete a previously added state to C{item}.
+
+ @see: L{state_add(})
+
+ @param state: The state to be deleted.
+ @type state: L{ToolbarItemState}
+
+ @return: C{True} on success or C{False} on failure.
+ @rtype: bool
+
+ """
+ return bool(elm_toolbar_item_state_del(self.item, state.obj))
+
+ property state:
+ """The current state of the item.
+
+ If C{state} is C{None}, it won't select any state and the default
+ item's icon and label will be used. It's the same behaviour than
+ elm_toolbar_item_state_unset().
+
+ @type: L{ToolbarItemState}
+
+ """
+ def __set__(self, ToolbarItemState state):
+ # TODO: check return value bool for errors
+ elm_toolbar_item_state_set(self.item, state.obj)
+
+ def __del__(self):
+ elm_toolbar_item_state_unset(self.item)
+
+ def __get__(self):
+ return None
+ # TODO: C api doesn't have data_get() for states so we can't get
+ # the py object from there. Store it in the item instead?
+ #elm_toolbar_item_state_get(self.item)
+
+ property state_next:
+ """Get the state after selected state in toolbar's C{item}.
+
+ If last state is selected, this function will return first state.
+
+ @see: L{state)
+ @see: L{state_add(})
+
+ @type: L{ToolbarItemState}
+
+ """
+ def __get__(self):
+ return None
+ # TODO: keep a list of the states?
+ #return elm_toolbar_item_state_next(self.item)
+
+ property state_prev:
+ """Get the state before selected state in toolbar's C{item}.
+
+ If first state is selected, this function will return last state.
+
+ @see: L{state)
+ @see: L{state_add(})
+
+ @type: L{ToolbarItemState}
+
+ """
+ def __get__(self):
+ return None
+ # TODO: keep a list of the states?
+ #return elm_toolbar_item_state_prev(self.item)
+
+cdef public class Toolbar(Object) [object PyElementaryToolbar, type PyElementaryToolbar_Type]:
+
+ """A toolbar is a widget that displays a list of items inside a box. It
+ can be scrollable, show a menu with items that don't fit to toolbar size
+ or even crop them.
+
+ Only one item can be selected at a time.
+
+ Items can have multiple states, or show menus when selected by the user.
+
+ Smart callbacks one can listen to:
+ - "clicked" - when the user clicks on a toolbar item and becomes selected.
+ - "longpressed" - when the toolbar is pressed for a certain amount of time.
+ - "language,changed" - when the program language changes.
+
+ Available styles for it:
+ - C{"default"}
+ - C{"transparent"} - no background or shadow, just show the content
+
+ Default text parts of the toolbar items that you can use for are:
+ - "default" - label of the toolbar item
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_toolbar_add(parent.obj))
+
+ def icon_size_set(self, icon_size):
+ """Set the icon size, in pixels, to be used by toolbar items.
+
+ @note: Default value is C{32}. It reads value from elm config.
+
+ @see: L{icon_size_get()}
+
+ @param icon_size: The icon size in pixels
+ @type icon_size: int
+
+ """
+ elm_toolbar_icon_size_set(self.obj, icon_size)
+
+ def icon_size_get(self):
+ """Get the icon size, in pixels, to be used by toolbar items.
+
+ @see: L{icon_size_set()} for details.
+
+ @return: The icon size in pixels.
+ @rtype: int
+
+ """
+ return elm_toolbar_icon_size_get(self.obj)
+
+ property icon_size:
+ """The icon size, in pixels, to be used by toolbar items.
+
+ @note: Default value is C{32}. It reads value from elm config.
+
+ @type: int
+
+ """
+ def __set__(self, icon_size):
+ elm_toolbar_icon_size_set(self.obj, icon_size)
+
+ def __get__(self):
+ return elm_toolbar_icon_size_get(self.obj)
+
+ def icon_order_lookup_set(self, order):
+ """Sets icon lookup order, for toolbar items' icons.
+
+ Icons added before calling this function will not be affected.
+ The default lookup order is ELM_ICON_LOOKUP_THEME_FDO.
+
+ @see: L{icon_order_lookup_get()}
+
+ @param order: The icon lookup order.
+ @type order: Elm_Icon_Lookup_Order
+
+ """
+ elm_toolbar_icon_order_lookup_set(self.obj, order)
+
+ def icon_order_lookup_get(self):
+ """Gets the icon lookup order.
+
+ @see: L{icon_order_lookup_set()} for details.
+
+ @return: The icon lookup order.
+ @rtype: Elm_Icon_Lookup_Order
+
+ """
+ return elm_toolbar_icon_order_lookup_get(self.obj)
+
+ property icon_order_lookup:
+ """Icon lookup order, for toolbar items' icons.
+
+ Icons added before calling this function will not be affected.
+ The default lookup order is ELM_ICON_LOOKUP_THEME_FDO.
+
+ @type: Elm_Icon_Lookup_Order
+
+ """
+ def __set__(self, order):
+ elm_toolbar_icon_order_lookup_set(self.obj, order)
+
+ def __get__(self):
+ return elm_toolbar_icon_order_lookup_get(self.obj)
+
+ def item_append(self, icon, label, callback = None, *args, **kargs):
+ """item_append(icon, label, callback, *args, **kargs)
+
+ Append item to the toolbar.
+
+ A new item will be created and appended to the toolbar, i.e., will
+ be set as B{last} item.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If such function isn't needed, just passing C{None} as C{func} is
+ enough. The same should be done for C{data}.
+
+ Toolbar will load icon image from fdo or current theme. This
+ behavior can be set by L{icon_order_lookup} function.
+ If an absolute path is provided it will load it direct from a file.
+
+ @see: L{ToolbarItem.icon}
+ @see: L{ObjectItem.delete()}
+
+ @param icon: A string with icon name or the absolute path of an image file.
+ @type icon: string
+ @param label: The label of the item.
+ @type label: string
+ @param callback: The function to call when the item is clicked.
+ @type callback: function
+
+ @return: The created item or C{None} upon failure.
+ @rtype: ToolbarItem
+
+ """
+ # Everything is done in the ToolbarItem class, because of wrapping the
+ # C structures in python classes
+ return ToolbarItem(self, icon, label, callback, *args, **kargs)
+
+ #TODO: def item_prepend(self, icon, label, callback = None, *args, **kargs):
+ """Prepend item to the toolbar.
+
+ A new item will be created and prepended to the toolbar, i.e., will
+ be set as B{first} item.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If such function isn't needed, just passing C{None} as C{func} is
+ enough. The same should be done for C{data}.
+
+ Toolbar will load icon image from fdo or current theme. This
+ behavior can be set by L{icon_order_lookup_set()} function.
+ If an absolute path is provided it will load it direct from a file.
+
+ @see: L{ToolbarItem.icon_set()}
+ @see: L{ObjectItem.delete()}
+
+ @param icon: A string with icon name or the absolute path of an image file.
+ @type icon: string
+ @param label: The label of the item.
+ @type label: string
+ @param func: The function to call when the item is clicked.
+ @type func: function
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ToolbarItem}
+
+ """
+ #return ToolbarItem(self, icon, label, callback, *args, **kargs)
+
+ #TODO: def item_insert_before(self, before, icon, label, callback = None, *args, **kargs):
+ """Insert a new item into the toolbar object before item C{before}.
+
+ A new item will be created and added to the toolbar. Its position in
+ this toolbar will be just before item C{before}.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If such function isn't needed, just passing C{None} as C{func} is
+ enough. The same should be done for C{data}.
+
+ Toolbar will load icon image from fdo or current theme. This
+ behavior can be set by L{icon_order_lookup_set()} function.
+ If an absolute path is provided it will load it direct from a file.
+
+ @see: L{ToolbarItem.icon_set()}
+ @see: L{ObjectItem.delete()}
+
+ @param before: The toolbar item to insert before.
+ @type before: L{ToolbarItem}
+ @param icon: A string with icon name or the absolute path of an image file.
+ @type icon: string
+ @param label: The label of the item.
+ @type label: string
+ @param func: The function to call when the item is clicked.
+ @type func: function
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ToolbarItem}
+
+ """
+ #return ToolbarItem(self, icon, label, callback, *args, **kargs)
+
+ #TODO: def item_insert_after(self, after, icon, label, callback = None, *args, **kargs):
+ """Insert a new item into the toolbar object after item C{after}.
+
+ A new item will be created and added to the toolbar. Its position in
+ this toolbar will be just after item C{after}.
+
+ Items created with this method can be deleted with
+ L{ObjectItem.delete()}.
+
+ If a function is passed as argument, it will be called every time
+ this item is selected, i.e., the user clicks over an unselected item.
+ If such function isn't needed, just passing C{None} as C{func} is
+ enough. The same should be done for C{data}.
+
+ Toolbar will load icon image from fdo or current theme. This
+ behavior can be set by L{icon_order_lookup_set()} function.
+ If an absolute path is provided it will load it direct from a file.
+
+ @see: L{ToolbarItem.icon_set()}
+ @see: L{ObjectItem.delete()}
+
+ @param after: The toolbar item to insert after.
+ @type after: L{ToolbarItem}
+ @param icon: A string with icon name or the absolute path of an image file.
+ @type icon: string
+ @param label: The label of the item.
+ @type label: string
+ @param func: The function to call when the item is clicked.
+ @type func: function
+ @return: The created item or C{None} upon failure.
+ @rtype: L{ToolbarItem}
+
+ """
+ #return ToolbarItem(self, icon, label, callback, *args, **kargs)
+
+ def first_item_get(self):
+ """Get the first item in the given toolbar widget's list of items.
+
+ @see: L{item_append()}
+ @see: L{last_item_get()}
+
+ @return: The first item or C{None}, if it has no items (and on errors)
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_first_item_get(self.obj))
+
+ property first_item:
+ """Get the first item in the given toolbar widget's list of items.
+
+ @see: L{item_append()}
+ @see: L{last_item_get()}
+
+ @type: L{ToolbarItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_toolbar_first_item_get(self.obj))
+
+ def last_item_get(self):
+ """Get the last item in the given toolbar widget's list of items.
+
+ @see: L{item_prepend()}
+ @see: L{first_item_get()}
+
+ @return: The last item or C{None}, if it has no items (and on errors)
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_last_item_get(self.obj))
+
+ property last_item:
+ """Get the last item in the given toolbar widget's list of items.
+
+ @see: L{item_prepend()}
+ @see: L{first_item_get()}
+
+ @type: L{ToolbarItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_toolbar_last_item_get(self.obj))
+
+ def item_find_by_label(self, label):
+ """item_find_by_label(label)
+
+ Returns a toolbar item by its label.
+
+ @param label: The label of the item to find.
+ @type label: string
+ @return: The toolbar item matching C{label} or C{None} on failure.
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_item_find_by_label(self.obj, _cfruni(label)))
+
+ def selected_item_get(self):
+ """Get the selected item.
+
+ The selected item can be unselected with function
+ elm_toolbar_item_selected_set().
+
+ The selected item always will be highlighted on toolbar.
+
+ @see: L{selected_items_get()}
+
+ @return: The selected toolbar item.
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_selected_item_get(self.obj))
+
+ property selected_item:
+ """The selected item.
+
+ The selected item can be unselected with L{ToolbarItem.selected}.
+
+ The selected item always will be highlighted on toolbar.
+
+ @see: L{selected_items}
+
+ @type: L{ToolbarItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_toolbar_selected_item_get(self.obj))
+
+ def more_item_get(self):
+ """Get the more item.
+
+ The more item can be changed with function
+ L{ObjectItem.text_set()} and L{ObjectItem.content_set()}.
+
+ @return: The toolbar more item.
+ @rtype: L{ToolbarItem}
+
+ """
+ return _object_item_to_python(elm_toolbar_more_item_get(self.obj))
+
+ property more_item:
+ """Get the more item.
+
+ The more item can be changed with function
+ L{ObjectItem.text_set()} and L{ObjectItem.content_set()}.
+
+ @type: L{ToolbarItem}
+
+ """
+ def __get__(self):
+ return _object_item_to_python(elm_toolbar_more_item_get(self.obj))
+
+ def shrink_mode_set(self, mode):
+ """Set the shrink state of toolbar.
+
+ The toolbar won't scroll if ELM_TOOLBAR_SHRINK_NONE, but will
+ enforce a minimum size so all the items will fit, won't scroll and
+ won't show the items that don't fit if ELM_TOOLBAR_SHRINK_HIDE, will
+ scroll if ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to pop
+ up excess elements with ELM_TOOLBAR_SHRINK_MENU.
+
+ @param shrink_mode: Toolbar's items display behavior.
+ @type shrink_mode: Elm_Toolbar_Shrink_Mode
+
+ """
+ elm_toolbar_shrink_mode_set(self.obj, mode)
+
+ def shrink_mode_get(self):
+ """Get the shrink mode of toolbar.
+
+ @see: L{shrink_mode_set()} for details.
+
+ @return: Toolbar's items display behavior.
+ @rtype: Elm_Toolbar_Shrink_Mode
+
+ """
+ return elm_toolbar_shrink_mode_get(self.obj)
+
+ property shrink_mode:
+ """The shrink state of toolbar.
+
+ The toolbar won't scroll if ELM_TOOLBAR_SHRINK_NONE, but will
+ enforce a minimum size so all the items will fit, won't scroll and
+ won't show the items that don't fit if ELM_TOOLBAR_SHRINK_HIDE, will
+ scroll if ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to pop
+ up excess elements with ELM_TOOLBAR_SHRINK_MENU.
+
+ @type: Elm_Toolbar_Shrink_Mode
+
+ """
+ def __get__(self):
+ return elm_toolbar_shrink_mode_get(self.obj)
+
+ def __set__(self, mode):
+ elm_toolbar_shrink_mode_set(self.obj, mode)
+
+ def homogeneous_set(self, homogeneous):
+ """Enable/disable homogeneous mode.
+
+ This will enable the homogeneous mode where items are of the same size.
+
+ @see: L{homogeneous_get()}
+
+ @param homogeneous: Assume the items within the toolbar are of the
+ same size (True = on, False = off). Default is C{False}.
+ @type homogeneous: bool
+
+ """
+ elm_toolbar_homogeneous_set(self.obj, homogeneous)
+
+ def homogeneous_get(self):
+ """Get whether the homogeneous mode is enabled.
+
+ @see: L{homogeneous_set()}
+
+ @return: Assume the items within the toolbar are of the same height
+ and width (True = on, False = off).
+ @rtype: bool
+
+ """
+ return elm_toolbar_homogeneous_get(self.obj)
+
+ property homogeneous:
+ """Homogeneous mode.
+
+ This will enable the homogeneous mode where items are of the same size.
+
+ @type: bool
+
+ """
+ def __set__(self, homogeneous):
+ elm_toolbar_homogeneous_set(self.obj, homogeneous)
+
+ def __get__(self):
+ return elm_toolbar_homogeneous_get(self.obj)
+
+ def menu_parent_set(self, evasObject parent):
+ """Set the parent object of the toolbar items' menus.
+
+ Each item can be set as item menu, with L{ToolbarItem.menu_set()}.
+
+ For more details about setting the parent for toolbar menus, see
+ L{Menu.parent_set()}.
+
+ @see: L{Menu.parent_set()} for details.
+ @see: L{ToolbarItem.menu_set()} for details.
+
+ @param parent: The parent of the menu objects.
+ @type parent: L{Object}
+
+ """
+ elm_toolbar_menu_parent_set(self.obj, parent.obj)
+
+ def menu_parent_get(self):
+ """Get the parent object of the toolbar items' menus.
+
+ @see: L{Menu.parent_set()} for details.
+
+ @return: The parent of the menu objects.
+ @rtype: L{Object}
+
+ """
+ return Object_from_instance(elm_toolbar_menu_parent_get(self.obj))
+
+ property menu_parent:
+ """The parent object of the toolbar items' menus.
+
+ Each item can be set as item menu, with L{ToolbarItem.menu_set()}.
+
+ For more details about setting the parent for toolbar menus, see
+ L{Menu.parent_set()}.
+
+ @see: L{Menu.parent} for details.
+ @see: L{ToolbarItem.menu} for details.
+
+ @type: L{Object}
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_toolbar_menu_parent_get(self.obj))
+
+ def __set__(self, evasObject parent):
+ elm_toolbar_menu_parent_set(self.obj, parent.obj)
+
+ def align_set(self, align):
+ """Set the alignment of the items.
+
+ Alignment of toolbar items, from C{0.0} to indicates to align
+ left, to C{1.0}, to align to right. C{0.5} centralize
+ items.
+
+ Centered items by default.
+
+ @see: L{align_get()}
+
+ @param align: The new alignment, a float between C{0.0} and C{1.0}.
+ @type align: float
+
+ """
+ elm_toolbar_align_set(self.obj, align)
+
+ def align_get(self):
+ """Get the alignment of the items.
+
+ @see: L{align_set()} for details.
+
+ @return: toolbar items alignment, a float between C{0.0} and C{1.0}.
+ @rtype: float
+
+ """
+ return elm_toolbar_align_get(self.obj)
+
+ property align:
+ """The alignment of the items.
+
+ Alignment of toolbar items, from C{0.0} to indicates to align
+ left, to C{1.0}, to align to right. C{0.5} centralize
+ items.
+
+ Centered items by default.
+
+ @type: float
+
+ """
+ def __set__(self, align):
+ elm_toolbar_align_set(self.obj, align)
+
+ def __get__(self):
+ return elm_toolbar_align_get(self.obj)
+
+ def horizontal_set(self, horizontal):
+ """Change a toolbar's orientation
+
+ By default, a toolbar will be horizontal. Use this function to
+ create a vertical toolbar.
+
+ @param horizontal: If C{True}, the toolbar is horizontal
+ @type horizontal: bool
+
+ """
+ elm_toolbar_horizontal_set(self.obj, horizontal)
+
+ def horizontal_get(self):
+ """Get a toolbar's orientation
+
+ By default, a toolbar will be horizontal. Use this function to
+ determine whether a toolbar is vertical.
+
+ @return: If C{True}, the toolbar is horizontal
+ @rtype: bool
+
+ """
+ return elm_toolbar_horizontal_get(self.obj)
+
+ property horizontal:
+ """A toolbar's orientation
+
+ By default, a toolbar will be horizontal. Change this property to
+ create a vertical toolbar.
+
+ @type: bool
+
+ """
+ def __set__(self, horizontal):
+ elm_toolbar_horizontal_set(self.obj, horizontal)
+
+ def __get__(self):
+ return elm_toolbar_horizontal_get(self.obj)
+
+ def items_count(self):
+ """Get the number of items in a toolbar
+
+ @return: The number of items in toolbar
+ @rtype: int
+
+ """
+ return elm_toolbar_items_count(self.obj)
+
+ property standard_priority:
+ """The standard priority of visible items in a toolbar
+
+ If the priority of the item is up to standard priority, it is shown
+ in basic panel. The other items are located in more menu or panel.
+ The more menu or panel can be shown when the more item is clicked.
+
+ @type: int
+
+ """
+ def __set__(self, priority):
+ elm_toolbar_standard_priority_set(self.obj, priority)
+ def __get__(self):
+ return elm_toolbar_standard_priority_get(self.obj)
+
+ def select_mode_set(self, mode):
+ """Set the toolbar select mode.
+
+ This function changes the item select mode in the toolbar widget.
+ - ELM_OBJECT_SELECT_MODE_DEFAULT : Items will only call their
+ selection func and callback when first becoming selected. Any
+ further clicks will do nothing, unless you set always select
+ mode.
+ - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if
+ selected, every click will make the selected callbacks be called.
+ - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability
+ to select items entirely and they will neither appear selected
+ nor call selected callback functions.
+
+ @see: L{select_mode_get()}
+
+ @param mode: The select mode
+ @type mode: Elm_Object_Select_Mode
+
+ """
+ elm_toolbar_select_mode_set(self.obj, mode)
+
+ def select_mode_get(self):
+ """Get the toolbar select mode.
+
+ @see: L{select_mode_set()}
+
+ @return: The select mode (ELM_OBJECT_SELECT_MODE_MAX on failure)
+ @rtype: Elm_Object_Select_Mode
+
+ """
+ return elm_toolbar_select_mode_get(self.obj)
+
+ property select_mode:
+ """The toolbar select mode.
+
+ The possible modes are:
+ - ELM_OBJECT_SELECT_MODE_DEFAULT : Items will only call their
+ selection func and callback when first becoming selected. Any
+ further clicks will do nothing, unless you set always select
+ mode.
+ - ELM_OBJECT_SELECT_MODE_ALWAYS : This means that, even if
+ selected, every click will make the selected callbacks be called.
+ - ELM_OBJECT_SELECT_MODE_NONE : This will turn off the ability
+ to select items entirely and they will neither appear selected
+ nor call selected callback functions.
+
+ @type: Elm_Object_Select_Mode
+
+ """
+ def __get__(self):
+ return elm_toolbar_select_mode_get(self.obj)
+
+ def __set__(self, mode):
+ elm_toolbar_select_mode_set(self.obj, mode)
+
+ def callback_clicked_add(self, func, *args, **kwargs):
+ """When the user clicks on a toolbar item and becomes selected."""
+ self._callback_add("clicked", func, *args, **kwargs)
+
+ def callback_clicked_del(self, func):
+ self._callback_del("clicked", func)
+
+ def callback_longpressed_add(self, func, *args, **kwargs):
+ """When the toolbar is pressed for a certain amount of time."""
+ self._callback_add("longpressed", func, *args, **kwargs)
+
+ def callback_longpressed_del(self, func):
+ self._callback_del("longpressed", func)
+
+ def callback_language_changed_add(self, func, *args, **kwargs):
+ """When the program language changes."""
+ self._callback_add("language,changed", func, *args, **kwargs)
+
+ def callback_language_changed_del(self, func):
+ self._callback_del("language,changed", func)
+
+_elm_widget_type_register("toolbar", Toolbar)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryToolbar_Type # hack to install metaclass
+_install_metaclass(&PyElementaryToolbar_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_transit.pxi b/elementary/elementary.c_elementary_transit.pxi
new file mode 100644
index 0000000..3177b6b
--- /dev/null
+++ b/elementary/elementary.c_elementary_transit.pxi
@@ -0,0 +1,714 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef class Transit(object):
+
+ """Transit is designed to apply various animated transition effects to
+ C{Evas_Object}, such like translation, rotation, etc. For using these
+ effects, create a L{Transit} and add the desired transition effects.
+
+ Once the effects are added into transit, they will be automatically managed
+ (their callback will be called for the set duration and they will be deleted
+ upon completion).
+
+ Example::
+ t = elementary.Transit()
+ t.object_add(obj)
+ t.effect_translation_add(0, 0, 280, 280)
+ t.duration = 1
+ t.auto_reverse = True
+ t.tween_mode = elementary.ELM_TRANSIT_TWEEN_MODE_DECELERATE
+ t.repeat_times = 3
+
+ Some transition effects are used to change the properties of objects. They
+ are:
+ - L{effect_translation_add}
+ - L{effect_color_add}
+ - L{effect_rotation_add}
+ - L{effect_wipe_add}
+ - L{effect_zoom_add}
+ - L{effect_resizing_add}
+
+ Other transition effects are used to make one object disappear and another
+ object appear on its place. These effects are:
+ - L{effect_flip_add}
+ - L{effect_resizable_flip_add}
+ - L{effect_fade_add}
+ - L{effect_blend_add}
+
+ It's also possible to make a transition chain with L{chain_transit_add}.
+
+ @warning: We strongly recommend to use elm_transit just when edje can
+ not do the trick. Edje is better at handling transitions than
+ Elm_Transit. Edje has more flexibility and animations can be manipulated
+ inside the theme.
+
+ """
+
+ cdef Elm_Transit* obj
+
+ def __cinit__(self, *a, **ka):
+ self.obj = NULL
+
+ def __init__(self):
+ """Create new transit.
+
+ @note: It is not necessary to delete the transit object, it will be
+ deleted at the end of its operation.
+ @note: The transit will start playing when the program enters the
+ main loop.
+
+ @return: The transit object.
+
+ """
+ self.obj = elm_transit_add()
+
+ def delete(self):
+ """delete()
+
+ Stops the animation and delete the C{transit} object.
+
+ Call this function if you want to stop the animation before the
+ transit time. Make sure the C{transit} object is still alive with
+ L{del_cb_set()} function. All added effects will be deleted, calling
+ its respective data_free_cb functions. The function set by
+ L{del_cb_set()} will be called.
+
+ L{del_cb_set()}
+
+ """
+ elm_transit_del(self.obj)
+
+ #def effect_add(self, Elm_Transit_Effect_Transition_Cb transition_cb, effect, Elm_Transit_Effect_End_Cb end_cb):
+ """effect_ass(transition_cb, effect, end_cb)
+
+ Add a new effect to the transit.
+
+ Example::
+ t = Transit()
+ t.effect_add( elm_transit_effect_blend_op,
+ elm_transit_effect_blend_context_new(),
+ elm_transit_effect_blend_context_free)
+
+ @warning: The transit will free the context data at the and of the
+ transition with the data_free_cb function. Do not share the
+ context data in between different transit objects.
+
+ @note: The cb function and the data are the key to the effect. If
+ you try to add an existing effect, nothing is done.
+ @note: After the first addition of an effect to C{transit}, if its
+ effect list become empty again, the C{transit} will be killed by
+ elm_transit_del(transit) function.
+
+ @param transition_cb: The operation function. It is called when the
+ animation begins, it is the function that actually performs the
+ animation. It is called with the C{data}, C{transit} and the time
+ progression of the animation (a double value between 0.0 and
+ 1.0).
+ @param effect: The context data of the effect.
+ @param end_cb: The function to free the context data, it will be
+ called at the end of the effect, it must finalize the animation
+ and free the C{data}.
+
+ """
+ #elm_transit_effect_add(self.obj, transition_cb, effect, end_cb)
+
+ #def effect_del(self, Elm_Transit_Effect_Transition_Cb transition_cb, effect):
+ """effect_del(transition_cb, effect)
+
+ Delete an added effect.
+
+ This function will remove the effect from the C{transit}, calling the
+ data_free_cb to free the C{data}.
+
+ L{effect_add()}
+
+ @note: If the effect is not found, nothing is done.
+ @note: If the effect list become empty, this function will call
+ elm_transit_del(transit), i.e., it will kill the C{transit}.
+
+ @param transition_cb: The operation function.
+ @param effect: The context data of the effect.
+
+ """
+ #elm_transit_effect_del(self.obj, transition_cb, effect)
+
+ def object_add(self, evasObject obj):
+ """object_add(obj)
+
+ Add new object to apply the effects.
+
+ @note: After the first addition of an object to C{transit}, if its
+ object list become empty again, the C{transit} will be killed by
+ elm_transit_del(transit) function.
+ @note: If the C{obj} belongs to another transit, the C{obj} will be
+ removed from it and it will only belong to the other C{transit}.
+ If the old transit stays without objects, it will die.
+ @note: When you add an object into the C{transit}, its state from
+ evas_object_pass_events_get(obj) is saved, and it is applied
+ when the transit ends, if you change this state with
+ evas_object_pass_events_set() after add the object, this state
+ will change again when C{transit} stops.
+
+ @param obj: Object to be animated.
+
+ @warning: It is not allowed to add a new object after transit begins.
+
+ """
+ elm_transit_object_add(self.obj, obj.obj)
+
+ def object_remove(self, evasObject obj):
+ """object_remove(obj)
+
+ Removes an added object from the transit.
+
+ @note: If the C{obj} is not in the C{transit}, nothing is done.
+ @note: If the list become empty, this function will call
+ transit.delete(), i.e., it will kill the C{transit}.
+
+ @param obj: Object to be removed from C{transit}.
+
+ @warning: It is not allowed to remove objects after transit begins.
+
+ """
+ elm_transit_object_remove(self.obj, obj.obj)
+
+ property objects:
+ """The objects of the transit.
+
+ type: list
+
+ """
+ def __get__(self):
+ cdef Eina_List *lst
+ cdef Evas_Object *data
+ ret = []
+ lst = <Eina_List *>elm_transit_objects_get(self.obj)
+ while lst:
+ data = <Evas_Object *>lst.data
+ if data != NULL:
+ o = Object_from_instance(data)
+ ret.append(o)
+ lst = lst.next
+ return ret
+
+ property objects_final_state_keep:
+ """Enable/disable keeping up the objects states.
+
+ If it is not kept, the objects states will be reset when transition
+ ends.
+
+ @note: One state includes geometry, color, map data.
+
+ @type: bool
+
+ """
+ def __set__(self, state_keep):
+ elm_transit_objects_final_state_keep_set(self.obj, state_keep)
+
+ def __get__(self):
+ return bool(elm_transit_objects_final_state_keep_get(self.obj))
+
+ property event_enabled:
+ """Set the event enabled when transit is operating.
+
+ If C{enabled} is True, the objects of the transit will receive
+ events from mouse and keyboard during the animation.
+
+ @note: When you add an object with L{object_add()}, its
+ state from evas_object_freeze_events_get(obj) is saved, and it is
+ applied when the transit ends. If you change this state with
+ evas_object_freeze_events_set() after adding the object, this state
+ will change again when C{transit} stops to run.
+
+ @type: bool
+
+ """
+ def __set__(self, enabled):
+ elm_transit_event_enabled_set(self.obj, enabled)
+ def __get__(self):
+ return bool(elm_transit_event_enabled_get(self.obj))
+
+ def del_cb_set(self, cb, *args, **kwargs):
+ """Set the user-callback function when the transit is deleted.
+
+ @note: Using this function twice will overwrite the first function set.
+ @note: the C{transit} object will be deleted after call C{cb} function.
+
+ @param cb: Callback function pointer. This function will be called before
+ the deletion of the transit.
+ @param data: Callback function user data. It is the C{op} parameter.
+
+ """
+ pass
+ #elm_transit_del_cb_set(self.obj, cb, data)
+
+ property auto_reverse:
+ """If auto reverse is set, after running the effects with the
+ progress parameter from 0 to 1, it will call the effects again with
+ the progress from 1 to 0.
+
+ The transit will last for a time equal to (2 * duration * repeat),
+ where the duration was set with the function elm_transit_add and
+ the repeat with the function L{repeat_times_set()}.
+
+ @type: bool
+
+ """
+ def __set__(self, reverse):
+ elm_transit_auto_reverse_set(self.obj, reverse)
+ def __get__(self):
+ return bool(elm_transit_auto_reverse_get(self.obj))
+
+ property repeat_times:
+ """The transit repeat count. Effect will be repeated by repeat count.
+
+ This property reflects the number of repetition the transit will run
+ after the first one, i.e., if C{repeat} is 1, the transit will run 2
+ times. If the C{repeat} is a negative number, it will repeat
+ infinite times.
+
+ @note: If this function is called during the transit execution, the
+ transit will run C{repeat} times, ignoring the times it already
+ performed.
+
+ @type: int
+
+ """
+ def __set__(self, repeat):
+ elm_transit_repeat_times_set(self.obj, repeat)
+ def __get__(self):
+ return elm_transit_repeat_times_get(self.obj)
+
+ property tween_mode:
+ """The transit animation acceleration type.
+
+ This property reflects the tween mode of the transit that can be:
+ - ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
+ - ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode
+ and ends decelerating.
+ - ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be
+ slowed over time.
+ - ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will
+ accelerate over time.
+
+ @type: Elm_Transit_Tween_Mode
+
+ """
+ def __set__(self, tween_mode):
+ elm_transit_tween_mode_set(self.obj, tween_mode)
+ def __get__(self):
+ return elm_transit_tween_mode_get(self.obj)
+
+ property duration:
+ """Set the transit animation time
+
+ @type: float
+
+ """
+ def __set__(self, duration):
+ elm_transit_duration_set(self.obj, duration)
+ def __get__(self):
+ return elm_transit_duration_get(self.obj)
+
+ def go(self):
+ """go()
+
+ Starts the transition. Once this API is called, the transit
+ begins to measure the time.
+
+ """
+ elm_transit_go(self.obj)
+
+ property paused:
+ """Pause/Resume the transition.
+
+ If you call elm_transit_go again, the transit will be started from the
+ beginning, and will be played.
+
+ @type: bool
+
+ """
+ def __set__(self, paused):
+ elm_transit_paused_set(self.obj, paused)
+ def __get__(self):
+ return bool(elm_transit_paused_get(self.obj))
+
+ property progress_value:
+ """Get the time progression of the animation (a double value between
+ 0.0 and 1.0).
+
+ The value returned is a fraction (current time / total time). It
+ represents the progression position relative to the total.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_transit_progress_value_get(self.obj)
+
+ def chain_transit_add(self, Transit chain_transit):
+ """chain_transit_add(chain_transit)
+
+ Makes the chain relationship between two transits.
+
+ This function adds C{chain_transit} transition to a chain after the
+ C{transit}, and will be started as soon as C{transit} ends.
+
+ @note: C{chain_transit} can not be None. Chain transits could be
+ chained to the only one transit.
+
+ @param chain_transit: The chain transit object. This transit will be
+ operated after transit is done.
+
+ """
+ elm_transit_chain_transit_add(self.obj, chain_transit.obj)
+
+ def chain_transit_del(self, Transit chain_transit):
+ """chain_transit_del(chain_transit)
+
+ Cut off the chain relationship between two transits.
+
+ This function removes the C{chain_transit} transition from the
+ C{transit}.
+
+ @note: C{chain_transit} can not be None. Chain transits should be
+ chained to the C{transit}.
+
+ @param chain_transit: The chain transit object.
+
+ """
+ elm_transit_chain_transit_del(self.obj, chain_transit.obj)
+
+ property chain_transits:
+ """Get the current chain transit list.
+
+ @type: list
+
+ """
+ def __get__(self):
+ cdef Eina_List *lst
+ cdef Evas_Object *data
+ ret = []
+ lst = elm_transit_chain_transits_get(self.obj)
+ while lst:
+ data = <Evas_Object *>lst.data
+ if data != NULL:
+ o = Object_from_instance(data)
+ ret.append(o)
+ lst = lst.next
+ return ret
+
+ def effect_resizing_add(self, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h):
+ """effect_resizing_add(from_w, from_h, to_w, to_h)
+
+ Add the Resizing Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates resizing effect
+ context and add it's required APIs to elm_transit_effect_add.
+
+ @see: L{effect_add()}
+
+ @param from_w: Object width size when effect begins.
+ @type from_w: Evas_Coord (int)
+ @param from_h: Object height size when effect begins.
+ @type from_h: Evas_Coord (int)
+ @param to_w: Object width size when effect ends.
+ @type to_w: Evas_Coord (int)
+ @param to_h: Object height size when effect ends.
+ @type to_h: Evas_Coord (int)
+ @return: Resizing effect context data.
+ @rtype: Elm_Transit_Effect
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_resizing_add(self.obj, from_w, from_h, to_w, to_h)
+
+ def effect_translation_add(self, Evas_Coord from_dx, Evas_Coord from_dy, Evas_Coord to_dx, Evas_Coord to_dy):
+ """effect_translation_add(from_dx, from_dy, to_dx, to_dy)
+
+ Add the Translation Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates translation effect
+ context and add it's required APIs to elm_transit_effect_add.
+
+ @see: L{effect_add()}
+
+ @param from_dx: X Position variation when effect begins.
+ @param from_dy: Y Position variation when effect begins.
+ @param to_dx: X Position variation when effect ends.
+ @param to_dy: Y Position variation when effect ends.
+ @return: Translation effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ geometry information about the objects, and if the window was
+ not created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_translation_add(self.obj, from_dx, from_dy, to_dx, to_dy)
+
+ def effect_zoom_add(self, float from_rate, float to_rate):
+ """effect_zoom_add(from_rate, to_rate)
+
+ Add the Zoom Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates zoom effect context
+ and add it's required APIs to elm_transit_effect_add.
+
+ @see: L{effect_add()}
+
+ @param from_rate: Scale rate when effect begins (1 is current rate).
+ @param to_rate: Scale rate when effect ends.
+ @return: Zoom effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ geometry information about the objects, and if the window was
+ not created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_zoom_add(self.obj, from_rate, to_rate)
+
+ def effect_flip_add(self, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw):
+ """effect_flip_add(axis, cw)
+
+ Add the Flip Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates flip effect context
+ and add it's required APIs to elm_transit_effect_add.
+ @note: This effect is applied to each pair of objects in the order
+ they are listed in the transit list of objects. The first object
+ in the pair will be the "front" object and the second will be the
+ "back" object.
+
+ @see: L{effect_add()}
+
+ @param axis: Flipping Axis(X or Y).
+ @param cw: Flipping Direction. True is clock-wise.
+ @return: Flip effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ geometry information about the objects, and if the window was
+ not created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_flip_add(self.obj, axis, cw)
+
+ def effect_resizable_flip_add(self, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw):
+ """effect_resizable_flip_add(axis, cw)
+
+ Add the Resizeable Flip Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates resizable flip
+ effect context and add it's required APIs to
+ elm_transit_effect_add.
+ @note: This effect is applied to each pair of objects in the order
+ they are listed in the transit list of objects. The first object
+ in the pair will be the "front" object and the second will be the
+ "back" object.
+
+ @see: L{effect_add()}
+
+ @param axis: Flipping Axis(X or Y).
+ @param cw: Flipping Direction. True is clock-wise.
+ @return: Resizeable flip effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ geometry information about the objects, and if the window was
+ not created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_resizable_flip_add(self.obj, axis, cw)
+
+ def effect_wipe_add(self, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir):
+ """effect_wipe_add(type, dir)
+
+ Add the Wipe Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates wipe effect context
+ and add it's required APIs to elm_transit_effect_add.
+
+ @see: L{effect_add()}
+
+ @param type: Wipe type. Hide or show.
+ @param dir: Wipe Direction.
+ @return: Wipe effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ geometry information about the objects, and if the window was
+ not created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_wipe_add(self.obj, type, dir)
+
+ def effect_color_add(self, unsigned int from_r, unsigned int from_g, unsigned int from_b, unsigned int from_a, unsigned int to_r, unsigned int to_g, unsigned int to_b, unsigned int to_a):
+ """effect_color_add(from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a)
+
+ Add the Color Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates color effect
+ context and add it's required APIs to elm_transit_effect_add.
+
+ @see: L{effect_add()}
+
+ @param from_r: RGB R when effect begins.
+ @param from_g: RGB G when effect begins.
+ @param from_b: RGB B when effect begins.
+ @param from_a: RGB A when effect begins.
+ @param to_r: RGB R when effect ends.
+ @param to_g: RGB G when effect ends.
+ @param to_b: RGB B when effect ends.
+ @param to_a: RGB A when effect ends.
+ @return: Color effect context data.
+ @rtype: Elm_Transit_Effect
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_color_add(self.obj, from_r, from_g, from_b, from_a, to_r, to_g, to_b, to_a)
+
+ def effect_fade_add(self):
+ """effect_face_add()
+
+ Add the Fade Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates fade effect context
+ and add it's required APIs to elm_transit_effect_add.
+ @note: This effect is applied to each pair of objects in the order
+ they are listed in the transit list of objects. The first object
+ in the pair will be the "before" object and the second will be
+ the "after" object.
+
+ @see: L{effect_add()}
+
+ @return: Fade effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ color information about the objects, and if the window was not
+ created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_fade_add(self.obj)
+
+ def effect_blend_add(self):
+ """effect_blend_add()
+
+ Add the Blend Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates blend effect
+ context and add it's required APIs to elm_transit_effect_add.
+ @note: This effect is applied to each pair of objects in the order
+ they are listed in the transit list of objects. The first object
+ in the pair will be the "before" object and the second will be
+ the "after" object.
+
+ @see: L{effect_add()}
+
+ @return: Blend effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ color information about the objects, and if the window was not
+ created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_blend_add(self.obj)
+
+ def effect_rotation_add(self, float from_degree, float to_degree):
+ """effect_rotation_add(from_degree, to_degree)
+
+ Add the Rotation Effect to Elm_Transit.
+
+ @note: This API is one of the facades. It creates rotation effect
+ context and add it's required APIs to elm_transit_effect_add.
+
+ @see: L{effect_add()}
+
+ @param from_degree: Degree when effect begins.
+ @type from_degree: float
+ @param to_degree: Degree when effect is ends.
+ @type to_degree: float
+ @return: Rotation effect context data.
+ @rtype: Elm_Transit_Effect
+
+ @warning: It is highly recommended just create a transit with this
+ effect when the window that the objects of the transit belongs
+ has already been created. This is because this effect needs the
+ geometry information about the objects, and if the window was
+ not created yet, it can get a wrong information.
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_rotation_add(self.obj, from_degree, to_degree)
+
+ def effect_image_animation_add(self, images):
+ """effect_image_animation_add(images)
+
+ Add the ImageAnimation Effect to Elm_Transit.
+
+ Example::
+ t = Transit()
+ images = []
+ images.append("%s/images/icon_11.png" % PACKAGE_DATA_DIR)
+ images.append("%s/images/logo_small.png" % PACKAGE_DATA_DIR)
+ t.effect_image_animation_add(images)
+
+ @note: This API is one of the facades. It creates image animation
+ effect context and add it's required APIs to
+ elm_transit_effect_add. The C{images} parameter is a list images
+ paths. This list and its contents will be deleted at the end of
+ the effect by elm_transit_effect_image_animation_context_free()
+ function.
+
+ @see: L{effect_add()}
+
+ @param images: A list of images file paths. This list and its
+ contents will be deleted at the end of the effect by
+ elm_transit_effect_image_animation_context_free() function.
+ @type images: list
+ @return: Image Animation effect context data.
+ @rtype: Elm_Transit_Effect
+
+ """
+ #TODO: can the return value Elm_Transit_Effect be used somehow?
+ elm_transit_effect_image_animation_add(self.obj, _strings_from_python(images))
diff --git a/elementary/elementary.c_elementary_video.pxi b/elementary/elementary.c_elementary_video.pxi
new file mode 100644
index 0000000..09b71bd
--- /dev/null
+++ b/elementary/elementary.c_elementary_video.pxi
@@ -0,0 +1,421 @@
+# Copyright 2012 Kai Huuhko <kai.huuhko@gmail.com>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+cdef public class Video(LayoutClass) [object PyElementaryVideo, type PyElementaryVideo_Type]:
+
+ """Display a video by using Emotion.
+
+ It embeds the video inside an Edje object, so you can do some
+ animation depending on the video state change. It also implements a
+ resource management policy to remove this burden from the application.
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_video_add(parent.obj))
+
+ def file_set(self, filename):
+ """Define the file or URI that will be the video source.
+
+ This function will explicitly define a file or URI as a source
+ for the video of the Elm_Video object.
+
+ @param filename: The file or URI to target.
+ Local files can be specified using file:// or by using full file
+ paths. URI could be remote source of video, like http:// or
+ local source like WebCam (v4l2://). (You can use Emotion API to
+ request and list the available Webcam on your system).
+ @type filename: string
+
+ @return: C{True} on success, C{False} otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_video_file_set(self.obj, _cfruni(filename)))
+
+ property file:
+ """Define the file or URI that will be the video source.
+
+ Setting this property will explicitly define a file or URI as a source
+ for the video of the Elm_Video object.
+
+ Local files can be specified using file:// or by using full file
+ paths. URI could be remote source of video, like http:// or
+ local source like WebCam (v4l2://). (You can use Emotion API to
+ request and list the available Webcam on your system).
+
+ @type: string
+
+ """
+ def __set__(self, filename):
+ # TODO: check return value
+ elm_video_file_set(self.obj, _cfruni(filename))
+
+ def emotion_get(self):
+ """Get the underlying Emotion object.
+
+ @return: the underlying Emotion object.
+ @rtype: emotion.Object
+
+ """
+ return Object_from_instance(elm_video_emotion_get(self.obj))
+
+ property emotion:
+ """The underlying Emotion object.
+
+ @type: emotion.Object
+
+ """
+ def __get__(self):
+ return Object_from_instance(elm_video_emotion_get(self.obj))
+
+ def play(self):
+ """play()
+
+ Start to play the video and cancel all suspend state.
+
+ """
+ elm_video_play(self.obj)
+
+ def pause(self):
+ """pause()
+
+ Pause the video and start a timer to trigger suspend mode.
+
+ """
+ elm_video_pause(self.obj)
+
+ def stop(self):
+ """stop()
+
+ Stop the video and put the emotion in deep sleep mode.
+
+ """
+ elm_video_stop(self.obj)
+
+ def is_playing_get(self):
+ """Is the video actually playing.
+
+ You should consider watching event on the object instead of polling
+ the object state.
+
+ @return: C{True} if the video is actually playing.
+ @rtype: bool
+
+ """
+ return bool(elm_video_is_playing_get(self.obj))
+
+ property is_playing:
+ """Is the video actually playing.
+
+ You should consider watching event on the object instead of polling
+ the object state.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.is_playing_get()
+
+ def is_seekable_get(self):
+ """Is it possible to seek inside the video.
+
+ @return: C{True} if is possible to seek inside the video.
+ @rtype: bool
+
+ """
+ return bool(elm_video_is_seekable_get(self.obj))
+
+ property is_seekable:
+ """Is it possible to seek inside the video.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.is_seekable_get()
+
+ def audio_mute_get(self):
+ """Is the audio muted.
+
+ @return: C{True} if the audio is muted.
+ @rtype: bool
+
+ """
+ return bool(elm_video_audio_mute_get(self.obj))
+
+ def audio_mute_set(self, mute):
+ """Change the mute state of the Elm_Video object.
+
+ @param mute: The new mute state.
+ @type mute: bool
+
+ """
+ elm_video_audio_mute_set(self.obj, mute)
+
+ property audio_mute:
+ """Is the audio muted.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.audio_mute_get()
+ def __set__(self, mute):
+ self.audio_mute_set(mute)
+
+ def audio_level_get(self):
+ """Get the audio level of the current video.
+
+ @return: the current audio level.
+ @rtype: float
+
+ """
+ return elm_video_audio_level_get(self.obj)
+
+ def audio_level_set(self, double volume):
+ """Set the audio level of an Video object.
+
+ @param volume: The new audio volume.
+ @type volume: float
+
+ """
+ elm_video_audio_level_set(self.obj, volume)
+
+ property audio_level:
+ """The audio level of the current video.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return self.audio_level_get()
+ def __set__(self, volume):
+ self.audio_level_set(volume)
+
+ def play_position_get(self):
+ """Get the current position (in seconds) being played in the Video
+ object.
+
+ @return: The time (in seconds) since the beginning of the media file.
+ @rtype: float
+
+ """
+ return elm_video_play_position_get(self.obj)
+
+ def play_position_set(self, double position):
+ """Set the current position (in seconds) to be played in the Video
+ object.
+
+ @param position: The time (in seconds) since the beginning of the
+ media file.
+ @type position: float
+
+ """
+ elm_video_play_position_set(self.obj, position)
+
+ property play_position:
+ """Get the current position (in seconds) being played in the Video
+ object.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return self.play_position_get()
+ def __set__(self, position):
+ self.play_position_set(position)
+
+ def play_length_get(self):
+ """Get the total playing time (in seconds) of the Video object.
+
+ @return: The total duration (in seconds) of the media file.
+ @rtype: float
+
+ """
+ return elm_video_play_length_get(self.obj)
+
+ property play_length:
+ """The total playing time (in seconds) of the Video object.
+
+ @type: float
+
+ """
+ def __get__(self):
+ return self.play_length_get()
+
+ def remember_position_set(self, remember):
+ """Set whether the object can remember the last played position.
+
+ @note: This API only serves as indication. System support is required.
+
+ @param remember: whether the object remembers the last played position
+ (C{True}) or not.
+ @type remember: bool
+
+ """
+ elm_video_remember_position_set(self.obj, remember)
+
+ def remember_position_get(self):
+ """Get whether the object can remember the last played position.
+
+ @note: This API only serves as indication. System support is required.
+
+ @return: whether the object remembers the last played position
+ (C{True}) or not.
+ @rtype: bool
+
+ """
+ return bool(elm_video_remember_position_get(self.obj))
+
+ property remember_position:
+ """Whether the object can remember the last played position.
+
+ @note: This API only serves as indication. System support is required.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.remember_position_get()
+ def __set__(self, remember):
+ self.remember_position_set(remember)
+
+ def title_get(self):
+ """Get the title (for instance DVD title) from this emotion object.
+
+ This function is only useful when playing a DVD.
+
+ @note: Don't change or free the string returned by this function.
+
+ @return: A string containing the title.
+ @rtype: string
+
+ """
+ return _ctouni(elm_video_title_get(self.obj))
+
+ property title:
+ """The title (for instance DVD title) from this emotion object.
+
+ This property is only useful when playing a DVD.
+
+ @note: Don't change or free the string returned by this function.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return self.title_get()
+
+_elm_widget_type_register("video", Video)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryVideo_Type # hack to install metaclass
+_install_metaclass(&PyElementaryVideo_Type, ElementaryObjectMeta)
+
+cdef public class Player(LayoutClass) [object PyElementaryPlayer, type PyElementaryPlayer_Type]:
+
+ """Player is a video player that need to be linked with a L{Video}.
+
+ It takes care of updating its content according to Emotion events and
+ provides a way to theme itself. It also automatically raises the priority of
+ the linked L{Video} so it will use the video decoder, if available. It also
+ activates the "remember" function on the linked L{Video} object.
+
+ The player widget emits the following signals, besides the ones
+ sent from L{Layout}:
+ - C{"forward,clicked"} - the user clicked the forward button.
+ - C{"info,clicked"} - the user clicked the info button.
+ - C{"next,clicked"} - the user clicked the next button.
+ - C{"pause,clicked"} - the user clicked the pause button.
+ - C{"play,clicked"} - the user clicked the play button.
+ - C{"prev,clicked"} - the user clicked the prev button.
+ - C{"rewind,clicked"} - the user clicked the rewind button.
+ - C{"stop,clicked"} - the user clicked the stop button.
+
+ Default content parts of the player widget that you can use for are:
+ - "video" - A video of the player
+
+ """
+
+ def __init__(self, evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_player_add(parent.obj))
+
+ def callback_forward_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the forward button."""
+ self._callback_add_full("forward,clicked", func, *args, **kwargs)
+
+ def callback_forward_clicked_del(self, func):
+ self._callback_del_full("forward,clicked", func)
+
+ def callback_info_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the info button."""
+ self._callback_add_full("info,clicked", func, *args, **kwargs)
+
+ def callback_info_clicked_del(self, func):
+ self._callback_del_full("info,clicked", func)
+
+ def callback_next_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the next button."""
+ self._callback_add_full("next,clicked", func, *args, **kwargs)
+
+ def callback_next_clicked_del(self, func):
+ self._callback_del_full("next,clicked", func)
+
+ def callback_pause_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the pause button."""
+ self._callback_add_full("pause,clicked", func, *args, **kwargs)
+
+ def callback_pause_clicked_del(self, func):
+ self._callback_del_full("pause,clicked", func)
+
+ def callback_play_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the play button."""
+ self._callback_add_full("play,clicked", func, *args, **kwargs)
+
+ def callback_play_clicked_del(self, func):
+ self._callback_del_full("play,clicked", func)
+
+ def callback_prev_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the prev button."""
+ self._callback_add_full("prev,clicked", func, *args, **kwargs)
+
+ def callback_prev_clicked_del(self, func):
+ self._callback_del_full("prev,clicked", func)
+
+ def callback_rewind_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the rewind button."""
+ self._callback_add_full("rewind,clicked", func, *args, **kwargs)
+
+ def callback_rewind_clicked_del(self, func):
+ self._callback_del_full("rewind,clicked", func)
+
+ def callback_stop_clicked_add(self, func, *args, **kwargs):
+ """the user clicked the stop button."""
+ self._callback_add_full("stop,clicked", func, *args, **kwargs)
+
+ def callback_stop_clicked_del(self, func):
+ self._callback_del_full("stop,clicked", func)
+
+_elm_widget_type_register("player", Player)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryPlayer_Type # hack to install metaclass
+_install_metaclass(&PyElementaryPlayer_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_web.pxi b/elementary/elementary.c_elementary_web.pxi
new file mode 100644
index 0000000..8a5c8af
--- /dev/null
+++ b/elementary/elementary.c_elementary_web.pxi
@@ -0,0 +1,214 @@
+# Copyright (c) 2012 Joost Albers
+# Copyright (c) 2012 Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+def _web_double_conv(long addr):
+ cdef double *info = <double *>addr
+ if info == NULL:
+ return None
+ return info[0]
+
+def _web_load_frame_error_conv(long addr):
+ cdef Elm_Web_Frame_Load_Error *err = <Elm_Web_Frame_Load_Error *>addr
+ if err == NULL:
+ return None
+ ret = {
+ "code": err.code,
+ "is_cancellation": bool(err.is_cancellation),
+ }
+ if err.domain:
+ ret["domain"] = err.domain
+ else:
+ ret["domain"] = None
+
+ if err.description:
+ ret["description"] = err.description
+ else:
+ ret["description"] = None
+
+ if err.failing_url:
+ ret["failing_url"] = err.failing_url
+ else:
+ ret["failing_url"] = None
+
+ if err.frame:
+ ret["frame"] = Object_from_instance(err.frame)
+ else:
+ ret["frame"] = None
+
+ return ret
+
+
+def _web_link_hover_in_conv(long addr):
+ cdef char **info = <char **>addr
+ if info == NULL:
+ url = title = None
+ else:
+ if info[0] == NULL:
+ url = None
+ else:
+ url = info[0]
+
+ if info[1] == NULL:
+ title = None
+ else:
+ title = info[1]
+ return (url, title)
+
+
+cdef void _web_console_message_hook(void *data, Evas_Object *obj, const_char_ptr message, unsigned int line_number, const_char_ptr source_id) with gil:
+ cdef Web self = <Web>data
+
+ if message == NULL:
+ m = None
+ else:
+ m = message
+
+ if source_id == NULL:
+ s = None
+ else:
+ s = source_id
+
+ try:
+ self._console_message_hook(self, m, line_number, s)
+ except Exception, e:
+ traceback.print_exc()
+
+cdef public class Web(Object) [object PyElementaryWeb, type PyElementaryWeb_Type]:
+ cdef object _console_message_hook
+
+ def __init__(self,evasObject parent):
+ Object.__init__(self, parent.evas)
+ self._set_obj(elm_web_add(parent.obj))
+
+ # XXX TODO: complete all callbacks from elm_web.h
+ def callback_uri_changed_add(self, func, *args, **kwargs):
+ self._callback_add_full("uri,changed", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_uri_changed_del(self, func):
+ self._callback_del_full("uri,changed", _cb_string_conv, func)
+
+ def callback_title_changed_add(self, func, *args, **kwargs):
+ self._callback_add_full("title,changed", _cb_string_conv,
+ func, *args, **kwargs)
+
+ def callback_title_changed_del(self, func):
+ self._callback_del_full("title,changed", _cb_string_conv, func)
+
+ def callback_link_hover_in_add(self, func, *args, **kwargs):
+ self._callback_add_full("link,hover,in", _web_link_hover_in_conv,
+ func, *args, **kwargs)
+
+ def callback_link_hover_in_del(self, func):
+ self._callback_del_full("link,hover,in", _web_link_hover_in_conv, func)
+
+ def callback_link_hover_out_add(self, func, *args, **kwargs):
+ self._callback_add("link,hover,out", func, *args, **kwargs)
+
+ def callback_link_hover_out_del(self, func):
+ self._callback_del("link,hover,out", func)
+
+ def callback_load_error_add(self, func, *args, **kwargs):
+ self._callback_add_full("load,error", _web_load_frame_error_conv,
+ func, *args, **kwargs)
+
+ def callback_load_error_del(self, func):
+ self._callback_del_full("load,error", _web_load_frame_error_conv, func)
+
+ def callback_load_finished_add(self, func, *args, **kwargs):
+ self._callback_add_full("load,finished", _web_load_frame_error_conv,
+ func, *args, **kwargs)
+
+ def callback_load_finished_del(self, func):
+ self._callback_del_full("load,finished",
+ _web_load_frame_error_conv, func)
+
+ def callback_load_progress_add(self, func, *args, **kwargs):
+ self._callback_add_full("load,progress", _web_double_conv,
+ func, *args, **kwargs)
+
+ def callback_load_progress_del(self, func):
+ self._callback_del_full("load,progress", _web_double_conv, func)
+
+ def callback_load_provisional_add(self, func, *args, **kwargs):
+ self._callback_add("load,provisional", func, *args, **kwargs)
+
+ def callback_load_provisional_del(self, func):
+ self._callback_del("load,provisional", func)
+
+ def callback_load_started_add(self, func, *args, **kwargs):
+ self._callback_add("load,started", func, *args, **kwargs)
+
+ def callback_load_started_del(self, func):
+ self._callback_del("load,started", func)
+
+ def history_enabled_get(self):
+ return bool(elm_web_history_enabled_get(self.obj))
+
+ def webkit_view_get(self):
+ cdef Evas_Object *obj = elm_web_webkit_view_get(self.obj)
+ return Object_from_instance(obj)
+
+ def uri_set(self, uri):
+ return bool(elm_web_uri_set(self.obj, uri))
+
+ def uri_get(self):
+ cdef const_char_ptr l
+ l = elm_web_uri_get(self.obj)
+ if l == NULL:
+ return None
+ return l
+
+ property uri:
+ def __get__(self):
+ return self.uri_get()
+
+ def __set__(self, value):
+ self.uri_set(value)
+
+ def useragent_get(self):
+ cdef const_char_ptr l
+ l = elm_web_useragent_get(self.obj)
+ if l == NULL:
+ return None
+ return l
+
+ def zoom_get(self):
+ return elm_web_zoom_get(self.obj)
+
+ def zoom_mode_get(self):
+ return elm_web_zoom_mode_get(self.obj)
+
+ def back(self):
+ return bool(elm_web_back(self.obj))
+
+ def console_message_hook_set(self, func):
+ self._console_message_hook = func
+ if func:
+ elm_web_console_message_hook_set(self.obj,
+ _web_console_message_hook,
+ <void *>self)
+ else:
+ elm_web_console_message_hook_set(self.obj, NULL, NULL)
+
+_elm_widget_type_register("web", Web)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryWeb_Type # hack to install metaclass
+_install_metaclass(&PyElementaryWeb_Type, ElementaryObjectMeta)
diff --git a/elementary/elementary.c_elementary_window.pxi b/elementary/elementary.c_elementary_window.pxi
new file mode 100644
index 0000000..caf7dd0
--- /dev/null
+++ b/elementary/elementary.c_elementary_window.pxi
@@ -0,0 +1,1740 @@
+# Copyright (c) 2008-2009 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport Evas
+from evas.c_evas cimport evas_object_evas_get
+from evas.c_evas cimport Canvas_from_instance
+
+cdef public class Window(Object) [object PyElementaryWindow, type PyElementaryWindow_Type]:
+
+ """The window class of Elementary.
+
+ Contains functions to manipulate windows. The Evas engine used to render
+ the window contents is specified in the system or user elementary config
+ files (whichever is found last), and can be overridden with the
+ ELM_ENGINE environment variable for testing. Engines that may be
+ supported (depending on Evas and Ecore-Evas compilation setup and
+ modules actually installed at runtime) are (listed in order of best
+ supported and most likely to be complete and work to lowest quality).
+
+ - "x11", "x", "software-x11", "software_x11" (Software rendering in
+ X11)
+ - "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
+ rendering in X11)
+ - "shot:..." (Virtual screenshot renderer - renders to output file
+ and exits)
+ - "fb", "software-fb", "software_fb" (Linux framebuffer direct
+ software rendering)
+ - "sdl", "software-sdl", "software_sdl" (SDL software rendering to
+ SDL buffer)
+ - "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or
+ OpenGL-ES2 rendering using SDL as the buffer)
+ - "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
+ GDI with software)
+ - "dfb", "directfb" (Rendering to a DirectFB window)
+ - "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
+ grayscale using dedicated 8bit software engine in X11)
+ - "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
+ X11 using 16bit software engine)
+ - "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
+ (Windows CE rendering via GDI with 16bit software renderer)
+ - "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
+ buffer with 16bit software renderer)
+ - "ews" (rendering to EWS - Ecore + Evas Single Process Windowing
+ System)
+ - "gl-cocoa", "gl_cocoa", "opengl-cocoa", "opengl_cocoa" (OpenGL
+ rendering in Cocoa)
+ - "psl1ght" (PS3 rendering using PSL1GHT)
+
+ All engines use a simple string to select the engine to render, EXCEPT
+ the "shot" engine. This actually encodes the output of the virtual
+ screenshot and how long to delay in the engine string. The engine string
+ is encoded in the following way::
+
+ "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
+
+ Where options are separated by a ":" char if more than one option is
+ given, with delay, if provided being the first option and file the last
+ (order is important). The delay specifies how long to wait after the
+ window is shown before doing the virtual "in memory" rendering and then
+ save the output to the file specified by the file option (and then exit).
+ If no delay is given, the default is 0.5 seconds. If no file is given the
+ default output file is "out.png". Repeat option is for continuous
+ capturing screenshots. Repeat range is from 1 to 999 and filename is
+ fixed to "out001.png" Some examples of using the shot engine::
+
+ ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
+ ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
+ ELM_ENGINE="shot:file=elm_test2.png" elementary_test
+ ELM_ENGINE="shot:delay=2.0" elementary_test
+ ELM_ENGINE="shot:" elementary_test
+
+ Signals that you can add callbacks for are:
+
+ - "delete,request": the user requested to close the window. See
+ L{autodel_set()}.
+ - "focus,in": window got focus
+ - "focus,out": window lost focus
+ - "moved": window that holds the canvas was moved
+ - "withdrawn": window is still managed normally but removed from view
+ - "iconified": window is minimized (perhaps into an icon or taskbar)
+ - "normal": window is in a normal state (not withdrawn or iconified)
+ - "stick": window has become sticky (shows on all desktops)
+ - "unstick": window has stopped being sticky
+ - "fullscreen": window has become fullscreen
+ - "unfullscreen": window has stopped being fullscreen
+ - "maximized": window has been maximized
+ - "unmaximized": window has stopped being maximized
+
+ @param name: A name for the new window.
+ @type name: string
+ @param type: A type for the new window:
+ @type type: Elm_Win_Type
+
+ """
+
+ def __init__(self, name, type):
+ self._set_obj(elm_win_add(NULL, _cfruni(name), type))
+
+ cdef Evas *e
+ e = evas_object_evas_get(self.obj)
+ canvas = Canvas_from_instance(e)
+ evasObject.__init__(self, canvas)
+
+ def resize_object_add(self, evasObject subobj):
+ """resize_object_add(subobj)
+
+ Add C{subobj} as a resize object of the window.
+
+ Setting an object as a resize object of the window means that the
+ C{subobj} child's size and position will be controlled by the window
+ directly. That is, the object will be resized to match the window size
+ and should never be moved or resized manually by the developer.
+
+ In addition, resize objects of the window control what the minimum size
+ of it will be, as well as whether it can or not be resized by the user.
+
+ For the end user to be able to resize a window by dragging the handles
+ or borders provided by the Window Manager, or using any other similar
+ mechanism, all of the resize objects in the window should have their
+ L{size_hint_weight_set()} set to EVAS_HINT_EXPAND.
+
+ Also notice that the window can get resized to the current size of the
+ object if the EVAS_HINT_EXPAND is set B{after} the call to
+ resize_object_add(). So if the object should get resized to the
+ size of the window, set this hint B{before} adding it as a resize object
+ (this happens because the size of the window and the object are evaluated
+ as soon as the object is added to the window).
+
+ @param subobj: The resize object to add
+ @type subobj: L{Object}
+
+ """
+ elm_win_resize_object_add(self.obj, subobj.obj)
+
+ def resize_object_del(self, evasObject subobj):
+ """resize_object_del(subobj)
+
+ Delete C{subobj} as a resize object of the window.
+
+ This function removes the object C{subobj} from the resize objects of
+ the window. It will not delete the object itself, which will be
+ left unmanaged and should be deleted by the developer, manually handled
+ or set as child of some other container.
+
+ @param subobj: The resize object to add
+ @type subobj: L{Object}
+
+ """
+ elm_win_resize_object_del(self.obj, subobj.obj)
+
+ def title_set(self, title):
+ """Set the title of the window.
+
+ @param title: Title for the window
+ @type title: string
+
+ """
+ elm_win_title_set(self.obj, _cfruni(title))
+
+ def title_get(self):
+ """Get the title of the window
+
+ @return: The title
+ @rtype: string
+
+ """
+ return _ctouni(elm_win_title_get(self.obj))
+
+ property title:
+ """The title of the window.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_win_title_get(self.obj))
+ def __set__(self, title):
+ elm_win_title_set(self.obj, _cfruni(title))
+
+ def icon_name_set(self, icon_name):
+ """Set the icon name of the window.
+
+ @param icon_name: Icon name for the window
+ @type icon_name: string
+
+ """
+ elm_win_icon_name_set(self.obj, _cfruni(icon_name))
+
+ def icon_name_get(self):
+ """Get the icon name of the window
+
+ @return: The icon name
+ @rtype: string
+
+ """
+ return _ctouni(elm_win_icon_name_get(self.obj))
+
+ property icon_name:
+ """The icon name of the window.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_win_icon_name_get(self.obj))
+ def __set__(self, icon_name):
+ elm_win_icon_name_set(self.obj, _cfruni(icon_name))
+
+ def role_set(self, role):
+ """Set the role of the window.
+
+ @param role: Role for the window
+ @type role: string
+
+ """
+ elm_win_role_set(self.obj, _cfruni(role))
+
+ def role_get(self):
+ """Get the role of the window
+
+ @return: The role
+ @rtype: string
+
+ """
+ return _ctouni(elm_win_role_get(self.obj))
+
+ property role:
+ """The role of the window.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_win_role_get(self.obj))
+ def __set__(self, role):
+ elm_win_role_set(self.obj, _cfruni(role))
+
+ def icon_object_set(self, evasObject icon):
+ """Set the object to represent the window icon
+
+ This sets an object that will be used as the icon for the window. The exact
+ pixel dimensions of the object (not object size) will be used, and the
+ image pixels will be used as-is when this function is called. If the
+ image object has been updated, then call this function again to source
+ the image pixels and put them on the window's icon. This has limitations
+ as only image objects allowed at this stage. This may be lifted in future.
+
+ @param icon: The object to use for an icon
+ @type icon: L{Image}
+
+ """
+ elm_win_icon_object_set(self.obj, icon.obj)
+
+ def icon_object_get(self):
+ """Get the icon object used for the window
+
+ The object returns is the one marked by L{icon_object_set()} as the
+ object to use for the window icon.
+
+ @return: The icon object set
+ @rtype: L{Image}
+
+ """
+ return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj))
+
+ property icon_object:
+ """The object to represent the window icon
+
+ This sets an object that will be used as the icon for the window.
+ The exact pixel dimensions of the object (not object size) will be
+ used, and the image pixels will be used as-is when this function is
+ called. If the image object has been updated, then call this
+ function again to source the image pixels and put them on the
+ window's icon. This has limitations as only image objects allowed at
+ this stage. This may be lifted in future.
+
+ @type: L{Image}
+
+ """
+ def __get__(self):
+ return Object_from_instance(<Evas_Object *>elm_win_icon_object_get(self.obj))
+ def __set__(self, evasObject icon):
+ elm_win_icon_object_set(self.obj, icon.obj)
+
+ def autodel_set(self, autodel):
+ """Set the window's autodel state.
+
+ When closing the window in any way outside of the program control, like
+ pressing the X button in the titlebar or using a command from the
+ Window Manager, a "delete,request" signal is emitted to indicate that
+ this event occurred and the developer can take any action, which may
+ include, or not, destroying the window object.
+
+ When the C{autodel} parameter is set, the window will be automatically
+ destroyed when this event occurs, after the signal is emitted.
+ If C{autodel} is C{False}, then the window will not be destroyed
+ and is up to the program to do so when it's required.
+
+ @param autodel: If true, the window will automatically delete itself
+ when closed
+ @type autodel: bool
+
+ """
+ elm_win_autodel_set(self.obj, autodel)
+
+ def autodel_get(self):
+ """Get the window's autodel state.
+
+ @see: L{autodel_set()}
+
+ @return: If the window will automatically delete itself when closed
+ @rtype: bool
+
+ """
+ return elm_win_autodel_get(self.obj)
+
+ property autodel:
+ """The window's autodel state.
+
+ When closing the window in any way outside of the program control,
+ like pressing the X button in the titlebar or using a command from
+ the Window Manager, a "delete,request" signal is emitted to indicate
+ that this event occurred and the developer can take any action,
+ which may include, or not, destroying the window object.
+
+ When this property is set, the window will be automatically
+ destroyed when this event occurs, after the signal is emitted. If
+ C{autodel} is C{False}, then the window will not be destroyed and is
+ up to the program to do so when it's required.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return elm_win_autodel_get(self.obj)
+ def __set__(self, autodel):
+ elm_win_autodel_set(self.obj, autodel)
+
+ def activate(self):
+ """activate()
+
+ Activate a window object.
+
+ This function sends a request to the Window Manager to activate the
+ window. If honored by the WM, the window will receive the keyboard
+ focus.
+
+ @note: This is just a request that a Window Manager may ignore, so
+ calling this function does not ensure in any way that the window
+ will be the active one after it.
+
+ """
+ elm_win_activate(self.obj)
+
+ def lower(self):
+ """lower()
+
+ Lower a window object.
+
+ Places the window at the bottom of the stack, so that no other
+ window is covered by it.
+
+ If L{override_set()} is not set, the Window Manager may ignore this
+ request.
+
+ """
+ elm_win_lower(self.obj)
+
+ def _raise(self):
+ """_raise()
+
+ Raise a window object.
+
+ Places the window at the top of the stack, so that it's not covered
+ by any other window.
+
+ If L{override_set()} is not set, the Window Manager may ignore this
+ request.
+
+ """
+ elm_win_raise(self.obj)
+
+ def center(self, h, v):
+ """center(h, v)
+
+ Center a window on its screen
+
+ This function centers window horizontally and/or vertically
+ based on the values of C{h} and C{v}.
+
+ @param h: If True, center horizontally. If False, do not change
+ horizontal location.
+ @type h: bool
+ @param v: If True, center vertically. If False, do not change
+ vertical location.
+ @type v: bool
+
+ """
+ elm_win_center(self.obj, h, v)
+
+ def borderless_set(self, borderless):
+ """Set the borderless state of a window.
+
+ This function requests the Window Manager to not draw any decoration
+ around the window.
+
+ @param borderless: If True, the window is borderless
+ @type borderless: bool
+
+ """
+ elm_win_borderless_set(self.obj, borderless)
+
+ def borderless_get(self):
+ """Get the borderless state of a window.
+
+ @return: If True, the window is borderless
+ @rtype: bool
+
+ """
+ return bool(elm_win_borderless_get(self.obj))
+
+ property borderless:
+ """The borderless state of a window.
+
+ Setting this to True requests the Window Manager to not draw any
+ decoration around the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return self.borderless_get()
+ def __set__(self, borderless):
+ self.borderless_set(borderless)
+
+ def shaped_set(self,shaped):
+ """Set the shaped state of a window.
+
+ Shaped windows, when supported, will render the parts of the window that
+ has no content, transparent.
+
+ If C{shaped} is False, then it is strongly advised to have some
+ background object or cover the entire window in any other way, or the
+ parts of the canvas that have no data will show framebuffer artifacts.
+
+ @see: L{alpha_set()}
+
+ @param shaped: If true, the window is shaped
+ @type shaped: bool
+
+ """
+ elm_win_shaped_set(self.obj, shaped)
+
+ def shaped_get(self):
+ """Get the shaped state of a window.
+
+ @see: L{shaped_set()}
+
+ @return: If true, the window is shaped
+ @rtype: bool
+
+ """
+ return bool(elm_win_shaped_get(self.obj))
+
+ property shaped:
+ """The shaped state of a window.
+
+ Shaped windows, when supported, will render the parts of the window that
+ has no content, transparent.
+
+ If C{shaped} is False, then it is strongly advised to have some
+ background object or cover the entire window in any other way, or the
+ parts of the canvas that have no data will show framebuffer artifacts.
+
+ @see: L{alpha}
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_shaped_get(self.obj))
+ def __set__(self, shaped):
+ elm_win_shaped_set(self.obj, shaped)
+
+ def alpha_set(self,alpha):
+ """Set the alpha channel state of a window.
+
+ If C{alpha} is True, the alpha channel of the canvas will be enabled
+ possibly making parts of the window completely or partially
+ transparent. This is also subject to the underlying system
+ supporting it, like for example, running under a compositing
+ manager. If no compositing is available, enabling this option will
+ instead fallback to using shaped windows, with L{shaped_set()}.
+
+ @param alpha: If True, the window has an alpha channel
+ @type alpha: bool
+
+ """
+ elm_win_alpha_set(self.obj, alpha)
+
+ def alpha_get(self):
+ """Get the alpha channel state of a window.
+
+ @return: If true, the window has an alpha channel
+ @rtype: bool
+
+ """
+ return bool(elm_win_alpha_get(self.obj))
+
+ property alpha:
+ """The alpha channel state of a window.
+
+ If C{alpha} is True, the alpha channel of the canvas will be enabled
+ possibly making parts of the window completely or partially
+ transparent. This is also subject to the underlying system
+ supporting it, like for example, running under a compositing
+ manager. If no compositing is available, enabling this option will
+ instead fallback to using shaped windows, with L{shaped}.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_alpha_get(self.obj))
+ def __set__(self, alpha):
+ elm_win_alpha_set(self.obj, alpha)
+
+ def override_set(self, override):
+ """Set the override state of a window.
+
+ A window with C{override} set to True will not be managed by the
+ Window Manager. This means that no decorations of any kind will be
+ shown for it, moving and resizing must be handled by the
+ application, as well as the window visibility.
+
+ This should not be used for normal windows, and even for not so
+ normal ones, it should only be used when there's a good reason and
+ with a lot of care. Mishandling override windows may result
+ situations that disrupt the normal workflow of the end user.
+
+ @param override: If true, the window is overridden
+ @type override: bool
+
+ """
+ elm_win_override_set(self.obj, override)
+
+ def override_get(self):
+ """Get the override state of a window.
+
+ @see: L{override_set()}
+
+ @return: If true, the window is overridden
+ @rtype: bool
+
+ """
+ return bool(elm_win_override_get(self.obj))
+
+ property override:
+ """The override state of a window.
+
+ A window with C{override} set to True will not be managed by the
+ Window Manager. This means that no decorations of any kind will be
+ shown for it, moving and resizing must be handled by the
+ application, as well as the window visibility.
+
+ This should not be used for normal windows, and even for not so
+ normal ones, it should only be used when there's a good reason and
+ with a lot of care. Mishandling override windows may result
+ situations that disrupt the normal workflow of the end user.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_override_get(self.obj))
+ def __set__(self, override):
+ elm_win_override_set(self.obj, override)
+
+ def fullscreen_set(self, fullscreen):
+ """Set the window to fullscreen mode
+
+ @param fullscreen: Fullscreen mode
+ @type fullscreen: bool
+
+ """
+ elm_win_fullscreen_set(self.obj, fullscreen)
+
+ def fullscreen_get(self):
+ """Get the fullscreen state of a window.
+
+ @return: If true, the window is fullscreen
+ @rtype: bool
+
+ """
+ return bool(elm_win_fullscreen_get(self.obj))
+
+ property fullscreen:
+ """The fullscreen state of a window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_fullscreen_get(self.obj))
+ def __set__(self, fullscreen):
+ elm_win_fullscreen_set(self.obj, fullscreen)
+
+ def maximized_set(self, maximized):
+ """Set the maximized state of a window.
+
+ @param maximized: Maximized state for the window
+ @type maximized: bool
+
+ """
+ elm_win_maximized_set(self.obj, maximized)
+
+ def maximized_get(self):
+ """Get the maximized state of a window.
+
+ @return: If true, the window is maximized
+ @rtype: bool
+
+ """
+ return bool(elm_win_maximized_get(self.obj))
+
+ property maximized:
+ """The maximized state of a window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_maximized_get(self.obj))
+ def __set__(self, maximized):
+ elm_win_maximized_set(self.obj, maximized)
+
+ def iconified_set(self, iconified):
+ """Set the iconified state of the window.
+
+ @param iconified: iconified state
+ @type iconified: bool
+
+ """
+ elm_win_iconified_set(self.obj, iconified)
+
+ def iconified_get(self):
+ """Get the iconified state of a window.
+
+ @return: If true, the window is iconified
+ @rtype: bool
+
+ """
+ return bool(elm_win_iconified_get(self.obj))
+
+ property iconified:
+ """The iconified state of the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_iconified_get(self.obj))
+ def __set__(self, iconified):
+ elm_win_iconified_set(self.obj, iconified)
+
+ def withdrawn_set(self, withdrawn):
+ """Set the withdrawn state of the window.
+
+ @param withdrawn: withdrawn state
+ @type withdrawn: bool
+
+ """
+ elm_win_withdrawn_set(self.obj, withdrawn)
+
+ def withdrawn_get(self):
+ """Get the withdrawn state of a window.
+
+ @return: If true, the window is withdrawn
+ @rtype: bool
+
+ """
+ return bool(elm_win_withdrawn_get(self.obj))
+
+ property withdrawn:
+ """The withdrawn state of the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_withdrawn_get(self.obj))
+ def __set__(self, withdrawn):
+ elm_win_withdrawn_set(self.obj, withdrawn)
+
+ def urgent_set(self, urgent):
+ """Set the urgent state of the window.
+
+ @param urgent: urgent state
+ @type urgent: bool
+
+ """
+ elm_win_urgent_set(self.obj, urgent)
+
+ def urgent_get(self):
+ """Get the urgent state of a window.
+
+ @return: If true, the window is urgent
+ @rtype: bool
+
+ """
+ return bool(elm_win_urgent_get(self.obj))
+
+ property urgent:
+ """The urgent state of the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_urgent_get(self.obj))
+ def __set__(self, urgent):
+ elm_win_urgent_set(self.obj, urgent)
+
+ def demand_attention_set(self, demand_attention):
+ """Set the demand attention state of the window.
+
+ @param demand_attention: demand attention state
+ @type demand_attention: bool
+
+ """
+ elm_win_demand_attention_set(self.obj, demand_attention)
+
+ def demand_attention_get(self):
+ """Get the demand_attention state of a window.
+
+ @return: If true, the window is demand_attention
+ @rtype: bool
+
+ """
+ return bool(elm_win_demand_attention_get(self.obj))
+
+ property demand_attention:
+ """The demand attention state of the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_demand_attention_get(self.obj))
+ def __set__(self, demand_attention):
+ elm_win_demand_attention_set(self.obj, demand_attention)
+
+ def modal_set(self, modal):
+ """Set the Modal state of the window.
+
+ @param modal: Modal state
+ @type modal: bool
+
+ """
+ elm_win_modal_set(self.obj, modal)
+
+ def modal_get(self):
+ """Get the modal state of a window.
+
+ @return: If true, the window is modal
+ @rtype: bool
+
+ """
+ return bool(elm_win_modal_get(self.obj))
+
+ property modal:
+ """The Modal state of the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_modal_get(self.obj))
+ def __set__(self, modal):
+ elm_win_modal_set(self.obj, modal)
+
+ def aspect_set(self, aspect):
+ """Set the aspect ratio of a window.
+
+ @param aspect: If 0, the window has no aspect limits, otherwise it is width divided by height
+ @type aspect: float
+
+ """
+ elm_win_aspect_set(self.obj, aspect)
+
+ def aspect_get(self):
+ """Get the aspect ratio of a window.
+
+ @return: The aspect ratio set (0 by default)
+ @rtype: float
+
+ """
+ return elm_win_aspect_get(self.obj)
+
+ property aspect:
+ """Set the aspect ratio of a window.
+
+ If 0, the window has no aspect limits, otherwise it is width divided
+ by height
+
+ @type: float
+
+ """
+ def __get__(self):
+ return elm_win_aspect_get(self.obj)
+ def __set__(self, aspect):
+ elm_win_aspect_set(self.obj, aspect)
+
+ property size_base:
+ """The base window size used with stepping calculation
+
+ Base size + stepping is what is calculated for window sizing restrictions.
+
+ @type: tuple(int w, int h)
+
+ @see: L{size_step}
+
+ """
+ def __set__(self, value):
+ w, h = value
+ elm_win_size_base_set(self.obj, w, h)
+
+ def __get__(self):
+ cdef int w, h
+ elm_win_size_base_get(self.obj, &w, &h)
+ return (w, h)
+
+ property size_step:
+ """Set the window stepping used with sizing calculation
+
+ Base size + stepping is what is calculated for window sizing restrictions.
+
+ @type: tuple(int w, int h)
+
+ @see: L{size_base}
+
+ """
+ def __set__(self, value):
+ w, h = value
+ elm_win_size_step_set(self.obj, w, h)
+
+ def __get__(self):
+ cdef int w, h
+ elm_win_size_step_get(self.obj, &w, &h)
+ return (w, h)
+
+ def layer_set(self, layer):
+ """Set the layer of the window.
+
+ What this means exactly will depend on the underlying engine used.
+
+ In the case of X11 backed engines, the value in C{layer} has the
+ following meanings:
+ - < 3: The window will be placed below all others.
+ - > 5: The window will be placed above all others.
+ - other: The window will be placed in the default layer.
+
+ @param layer: The layer of the window
+ @type layer: int
+
+ """
+ elm_win_layer_set(self.obj, layer)
+
+ def layer_get(self):
+ """Get the layer of the window.
+
+ @see: L{layer_set()}
+
+ @return: The layer of the window
+ @rtype: int
+
+ """
+ return elm_win_layer_get(self.obj)
+
+ property layer:
+ """The layer of the window.
+
+ What this means exactly will depend on the underlying engine used.
+
+ In the case of X11 backed engines, the value in C{layer} has the
+ following meanings:
+ - < 3: The window will be placed below all others.
+ - > 5: The window will be placed above all others.
+ - other: The window will be placed in the default layer.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_win_layer_get(self.obj)
+ def __set__(self, layer):
+ elm_win_layer_set(self.obj, layer)
+
+ def rotation_set(self, rotation):
+ """Set the rotation of the window.
+
+ Most engines only work with multiples of 90.
+
+ This function is used to set the orientation of the window to match
+ that of the screen. The window itself will be resized to adjust to
+ the new geometry of its contents. If you want to keep the window
+ size, see L{rotation_with_resize_set()}.
+
+ @param rotation: The rotation of the window, in degrees (0-360),
+ counter-clockwise.
+ @type rotation: int
+
+ """
+ elm_win_rotation_set(self.obj, rotation)
+
+ def rotation_get(self):
+ """Get the rotation of the window.
+
+ @see: L{rotation_set()}
+ @see: L{rotation_with_resize_set()}
+
+ @return: The rotation of the window in degrees (0-360)
+ @rtype: int
+
+ """
+ return elm_win_rotation_get(self.obj)
+
+ property rotation:
+ """The rotation of the window.
+
+ Most engines only work with multiples of 90.
+
+ This function is used to set the orientation of the window to match
+ that of the screen. The window itself will be resized to adjust to
+ the new geometry of its contents. If you want to keep the window
+ size, see L{rotation_with_resize_set()}.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_win_rotation_get(self.obj)
+ def __set__(self, rotation):
+ elm_win_rotation_set(self.obj, rotation)
+
+ def rotation_with_resize_set(self, rotation):
+ """Rotates the window and resizes it.
+
+ Like L{rotation_set()}, but it also resizes the window's contents so
+ that they fit inside the current window geometry.
+
+ @param rotation: The rotation of the window in degrees (0-360),
+ counter-clockwise.
+ @type rotation: int
+
+ """
+ elm_win_rotation_set(self.obj, rotation)
+
+ property rotation_with_resize:
+ """Rotates the window and resizes it.
+
+ Like L{rotation}, but it also resizes the window's contents so that
+ they fit inside the current window geometry.
+
+ @type: int
+
+ """
+ def __set__(self, rotation):
+ elm_win_rotation_set(self.obj, rotation)
+
+ def sticky_set(self, sticky):
+ """Set the Sticky state of the window.
+
+ @param sticky: Sticky state
+ @type sticky: bool
+
+ """
+ elm_win_sticky_set(self.obj, sticky)
+
+ def sticky_get(self):
+ """Get the sticky state of the window.
+
+ @see: L{sticky_set()}
+
+ @return: If true, the window's sticky state is enabled
+ @rtype: bool
+
+ """
+ return bool(elm_win_sticky_get(self.obj))
+
+ property sticky:
+ """The Sticky state of the window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_sticky_get(self.obj))
+ def __set__(self, sticky):
+ elm_win_sticky_set(self.obj, sticky)
+
+ def conformant_set(self, conformant):
+ """Set if this window is an illume conformant window.
+
+ @param conformant: Conformant state
+ @type conformant: bool
+
+ """
+ elm_win_conformant_set(self.obj, conformant)
+
+ def conformant_get(self):
+ """Get if this window is an illume conformant window
+
+ @return: A boolean if this window is illume conformant or not
+ @rtype: bool
+
+ """
+ return bool(elm_win_conformant_get(self.obj))
+
+ property conformant:
+ """Whether this window is an illume conformant window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_conformant_get(self.obj))
+ def __set__(self, conformant):
+ elm_win_conformant_set(self.obj, conformant)
+
+ def quickpanel_set(self, quickpanel):
+ """Set a window to be an illume quickpanel window.
+
+ @param quickpanel: The quickpanel flag (True = quickpanel, False =
+ normal window)
+ @type quickpanel: bool
+
+ """
+ elm_win_quickpanel_set(self.obj, quickpanel)
+
+ def quickpanel_get(self):
+ """Get if this window is a quickpanel or not
+
+ @return: A boolean if this window is a quickpanel or not
+ @rtype: bool
+
+ """
+ return bool(elm_win_quickpanel_get(self.obj))
+
+ property quickpanel:
+ """Whether this window is an illume quickpanel window.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_quickpanel_get(self.obj))
+ def __set__(self, quickpanel):
+ elm_win_quickpanel_set(self.obj, quickpanel)
+
+ def quickpanel_priority_major_set(self, priority):
+ """Set the major priority of a quickpanel window.
+
+ @param priority: The major priority of this quickpanel
+ @type priority: int
+
+ """
+ elm_win_quickpanel_priority_major_set(self.obj, priority)
+
+ def quickpanel_priority_major_get(self):
+ """Get the major priority of a quickpanel window
+
+ @return: The major priority of this quickpanel
+ @rtype: int
+
+ """
+ return elm_win_quickpanel_priority_major_get(self.obj)
+
+ property quickpanel_priority_major:
+ """The major priority of a quickpanel window.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_win_quickpanel_priority_major_get(self.obj)
+ def __set__(self, priority):
+ elm_win_quickpanel_priority_major_set(self.obj, priority)
+
+ def quickpanel_priority_minor_set(self, priority):
+ """Set the minor priority of a quickpanel window.
+
+ @param priority: The minor priority of this quickpanel
+ @type priority: int
+
+ """
+ elm_win_quickpanel_priority_minor_set(self.obj, priority)
+
+ def quickpanel_priority_minor_get(self):
+ """Get the minor priority of a quickpanel window
+
+ @return: The minor priority of this quickpanel
+ @rtype: int
+
+ """
+ return elm_win_quickpanel_priority_minor_get(self.obj)
+
+ property quickpanel_priority_minor:
+ """The minor priority of a quickpanel window.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_win_quickpanel_priority_minor_get(self.obj)
+ def __set__(self, priority):
+ elm_win_quickpanel_priority_minor_set(self.obj, priority)
+
+ def quickpanel_zone_set(self, zone):
+ """Set which zone this quickpanel should appear in.
+
+ @param zone: The requested zone for this quickpanel
+ @type zone: int
+
+ """
+ elm_win_quickpanel_zone_set(self.obj, zone)
+
+ def quickpanel_zone_get(self):
+ """Get which zone this quickpanel should appear in
+
+ @return: The requested zone for this quickpanel
+ @rtype: int
+
+ """
+ return elm_win_quickpanel_zone_get(self.obj)
+
+ property quickpanel_zone:
+ """Which zone this quickpanel should appear in.
+
+ @type: int
+
+ """
+ def __get__(self):
+ return elm_win_quickpanel_zone_get(self.obj)
+ def __set__(self, zone):
+ elm_win_quickpanel_zone_set(self.obj, zone)
+
+ def prop_focus_skip_set(self, skip):
+ """Set the window to be skipped by keyboard focus
+
+ This sets the window to be skipped by normal keyboard input. This
+ means a window manager will be asked to not focus this window as
+ well as omit it from things like the taskbar, pager, "alt-tab" list
+ etc. etc.
+
+ Call this and enable it on a window BEFORE you show it for the first
+ time, otherwise it may have no effect.
+
+ Use this for windows that have only output information or might only
+ be interacted with by the mouse or fingers, and never for typing
+ input. Be careful that this may have side-effects like making the
+ window non-accessible in some cases unless the window is specially
+ handled. Use this with care.
+
+ @param skip: The skip flag state (True if it is to be skipped)
+ @type skip: bool
+
+ """
+ elm_win_prop_focus_skip_set(self.obj, skip)
+
+ property focus_skip_set:
+ """Set the window to be skipped by keyboard focus
+
+ This sets the window to be skipped by normal keyboard input. This
+ means a window manager will be asked to not focus this window as
+ well as omit it from things like the taskbar, pager, "alt-tab" list
+ etc. etc.
+
+ Set this and enable it on a window BEFORE you show it for the first
+ time, otherwise it may have no effect.
+
+ Use this for windows that have only output information or might only
+ be interacted with by the mouse or fingers, and never for typing
+ input. Be careful that this may have side-effects like making the
+ window non-accessible in some cases unless the window is specially
+ handled. Use this with care.
+
+ @type: bool
+
+ """
+ def __set__(self, skip):
+ elm_win_prop_focus_skip_set(self.obj, skip)
+
+ def illume_command_send(self, command, *args, **kwargs):
+ """illume_command_send(command, params)
+
+ Send a command to the windowing environment
+
+ This is intended to work in touchscreen or small screen device
+ environments where there is a more simplistic window management
+ policy in place. This uses the window object indicated to select
+ which part of the environment to control (the part that this window
+ lives in), and provides a command and an optional parameter
+ structure (use None for this if not needed).
+
+ @param command: The command to send
+ @type command: Elm_Illume_Command
+ @param params: Optional parameters for the command
+
+ """
+ params = (args, kwargs)
+ elm_win_illume_command_send(self.obj, command, params)
+
+ def inlined_image_object_get(self):
+ """Get the inlined image object handle
+
+ When you create a window of type ELM_WIN_INLINED_IMAGE, then the
+ window is in fact an evas image object inlined in the parent canvas.
+ You can get this object (be careful to not manipulate it as it is
+ under control of elementary), and use it to do things like get pixel
+ data, save the image to a file, etc.
+
+ @return: The inlined image object, or None if none exists
+ @rtype: evasObject
+
+ """
+ cdef evasImage img = evasImage()
+ cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ img.obj = obj
+ return img
+
+ property inlined_image_object:
+ """Get the inlined image object handle
+
+ When you create a window of type ELM_WIN_INLINED_IMAGE, then the
+ window is in fact an evas image object inlined in the parent canvas.
+ You can get this object (be careful to not manipulate it as it is
+ under control of elementary), and use it to do things like get pixel
+ data, save the image to a file, etc.
+
+ @type: evasObject
+
+ """
+ def __get__(self):
+ cdef evasImage img = evasImage()
+ cdef Evas_Object *obj = elm_win_inlined_image_object_get(self.obj)
+ img.obj = obj
+ return img
+
+ def focus_get(self):
+ """Determine whether a window has focus
+
+ @return: True if the window exists and has focus, else False
+ @rtype: bool
+
+ """
+ return bool(elm_win_focus_get(self.obj))
+
+ property focus:
+ """Determine whether a window has focus
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_focus_get(self.obj))
+
+ def screen_constrain_set(self, constrain):
+ """Constrain the maximum width and height of a window to the width
+ and height of its screen
+
+ When C{constrain} is true, the window will never resize larger than
+ the screen.
+
+ @param constrain: True to restrict the window's maximum size, False
+ to disable restriction
+ @type constrain: bool
+
+ """
+ elm_win_screen_constrain_set(self.obj, constrain)
+
+ def screen_constrain_get(self):
+ """Retrieve the constraints on the maximum width and height of a
+ window relative to the width and height of its screen
+
+ When this function returns true, the window will never resize larger
+ than the screen.
+
+ @return: True to restrict the window's maximum size, False to
+ disable restriction
+ @rtype: bool
+
+ """
+ return bool(elm_win_screen_constrain_get(self.obj))
+
+ property screen_constrain:
+ """Constrain the maximum width and height of a window to the width
+ and height of its screen
+
+ When C{constrain} is true, the window will never resize larger than
+ the screen.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_screen_constrain_get(self.obj))
+ def __set__(self, constrain):
+ elm_win_screen_constrain_set(self.obj, constrain)
+
+ def screen_size_get(self):
+ """Get screen geometry details for the screen that a window is on
+
+ @return: Coordinates X and Y, and the width and height
+ @rtype: tuple of ints
+
+ """
+ cdef int x, y, w, h
+ elm_win_screen_size_get(self.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ property screen_size:
+ """Get screen geometry details for the screen that a window is on
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int x, y, w, h
+ elm_win_screen_size_get(self.obj, &x, &y, &w, &h)
+ return (x, y, w, h)
+
+ def focus_highlight_enabled_set(self, enabled):
+ """Set the enabled status for the focus highlight in a window
+
+ This function will enable or disable the focus highlight only for the
+ given window, regardless of the global setting for it
+
+ @param enabled: The enabled value for the highlight
+ @type enabled: bool
+
+ """
+ elm_win_focus_highlight_enabled_set(self.obj, enabled)
+
+ def focus_highlight_enabled_get(self):
+ """Get the enabled value of the focus highlight for this window
+
+ @return: True if enabled, False otherwise
+ @rtype: bool
+
+ """
+ return bool(elm_win_focus_highlight_enabled_get(self.obj))
+
+ property focus_highlight_enabled:
+ """The enabled status of the focus highlight in a window
+
+ This will enable or disable the focus highlight only for the given
+ window, regardless of the global setting for it
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_focus_highlight_enabled_get(self.obj))
+ def __set__(self, enabled):
+ elm_win_focus_highlight_enabled_set(self.obj, enabled)
+
+ def focus_highlight_style_set(self, style):
+ """Set the style for the focus highlight on this window
+
+ Sets the style to use for theming the highlight of focused objects on
+ the given window. If C{style} is None, the default will be used.
+
+ @param style: The style to set
+ @type style: string
+
+ """
+ elm_win_focus_highlight_style_set(self.obj, _cfruni(style))
+
+ def focus_highlight_style_get(self):
+ """Get the style set for the focus highlight object
+
+ Gets the style set for this windows highlight object, or None if none
+ is set.
+
+ @return: The style set or None if none was set. Default is used in
+ that case.
+ @rtype: string
+
+ """
+ return _ctouni(elm_win_focus_highlight_style_get(self.obj))
+
+ property focus_highlight_style:
+ """The style for the focus highlight on this window
+
+ The style to use for theming the highlight of focused objects on
+ the given window. If C{style} is None, the default will be used.
+
+ @type: string
+
+ """
+ def __get__(self):
+ return _ctouni(elm_win_focus_highlight_style_get(self.obj))
+ def __set__(self, style):
+ elm_win_focus_highlight_style_set(self.obj, _cfruni(style))
+
+ def keyboard_mode_set(self, mode):
+ """Sets the keyboard mode of the window.
+
+ @param mode: The mode to set
+ @type mode: Elm_Win_Keyboard_Mode
+
+ """
+ elm_win_keyboard_mode_set(self.obj, mode)
+
+ def keyboard_mode_get(self):
+ """Gets the keyboard mode of the window.
+
+ @return: The mode
+ @rtype: Elm_Win_Keyboard_Mode
+
+ """
+ return elm_win_keyboard_mode_get(self.obj)
+
+ property keyboard_mode:
+ """The keyboard mode of the window.
+
+ @type: Elm_Win_Keyboard_Mode
+
+ """
+ def __get__(self):
+ return elm_win_keyboard_mode_get(self.obj)
+ def __set__(self, mode):
+ elm_win_keyboard_mode_set(self.obj, mode)
+
+ def keyboard_win_set(self, is_keyboard):
+ """Sets whether the window is a keyboard.
+
+ @param is_keyboard: If true, the window is a virtual keyboard
+ @type is_keyboard: bool
+
+ """
+ elm_win_keyboard_win_set(self.obj, is_keyboard)
+
+ def keyboard_win_get(self):
+ """Gets whether the window is a keyboard.
+
+ @return: If the window is a virtual keyboard
+ @rtype: bool
+
+ """
+ return bool(elm_win_keyboard_win_get(self.obj))
+
+ property keyboard_win:
+ """Whether the window is a keyboard.
+
+ @type: bool
+
+ """
+ def __get__(self):
+ return bool(elm_win_keyboard_win_get(self.obj))
+ def __set__(self, is_keyboard):
+ elm_win_keyboard_win_set(self.obj, is_keyboard)
+
+ def indicator_mode_set(self, mode):
+ """Sets the indicator mode of the window.
+
+ @param mode: The mode to set
+ @type mode: Elm_Win_Indicator_Mode
+
+ """
+ elm_win_indicator_mode_set(self.obj, mode)
+
+ def indicator_mode_get(self):
+ """Gets the indicator mode of the window.
+
+ @return: The mode
+ @rtype: Elm_Win_Indicator_Mode
+
+ """
+ return elm_win_indicator_mode_get(self.obj)
+
+ property indicator_mode:
+ """The indicator mode of the window.
+
+ @type: Elm_Win_Indicator_Mode
+
+ """
+ def __get__(self):
+ return elm_win_indicator_mode_get(self.obj)
+ def __set__(self, mode):
+ elm_win_indicator_mode_set(self.obj, mode)
+
+ def indicator_opacity_set(self, mode):
+ """Sets the indicator opacity mode of the window.
+
+ @param mode: The mode to set
+ @type mode: Elm_Win_Indicator_Opacity_Mode
+
+ """
+ elm_win_indicator_opacity_set(self.obj, mode)
+
+ def indicator_opacity_get(self):
+ """Gets the indicator opacity mode of the window.
+
+ @return: The mode
+ @rtype: Elm_Win_Indicator_Opacity_Mode
+
+ """
+ return elm_win_indicator_opacity_get(self.obj)
+
+ property indicator_opacity:
+ """The indicator opacity mode of the window.
+
+ @type: Elm_Win_Indicator_Opacity_Mode
+
+ """
+ def __get__(self):
+ return elm_win_indicator_opacity_get(self.obj)
+ def __set__(self, mode):
+ elm_win_indicator_opacity_set(self.obj, mode)
+
+ def screen_position_get(self):
+ """Get the screen position of a window.
+
+ @return: X and Y coordinates
+ @rtype: tuple of ints
+
+ """
+ cdef int x, y
+ elm_win_screen_position_get(self.obj, &x, &y)
+ return (x, y)
+
+ property screen_position:
+ """Get the screen position of a window.
+
+ @type: tuple of ints
+
+ """
+ def __get__(self):
+ cdef int x, y
+ elm_win_screen_position_get(self.obj, &x, &y)
+ return (x, y)
+
+ def socket_listen(self, svcname, svcnum, svcsys):
+ """socket_listen(svcname, svcnum, svcsys)
+
+ Create a socket to provide the service for Plug widget
+
+ @param svcname: The name of the service to be advertised. ensure that it is unique.
+ @type svcname: string
+ @param svcnum: A number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.
+ @type svcnum: int
+ @param svcsys: A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user id that created the service.
+ @type svcsys: bool
+
+ """
+ return bool(elm_win_socket_listen(self.obj, _cfruni(svcname), svcnum, svcsys))
+
+ def xwindow_xid_get(self):
+ """Returns the X Window id.
+
+ X Window id is a value of type long int which can be used in combination
+ with some functions/objects in the ecore.x module.
+
+ For example you can hide the mouse cursor with:
+ import ecore.x
+ xid = your_elm_win.xwindow_xid_get()
+ xwin = ecore.x.Window_from_xid(xid)
+ xwin.cursor_hide()
+
+ @note: This is not portable at all. Works only under the X window system.
+
+ @return: The X Window id.
+ @rtype: long
+
+ """
+ cdef Ecore_X_Window xwin
+ xwin = elm_win_xwindow_get(self.obj)
+ return xwin
+
+ property xwindow_xid:
+ """Returns the X Window id.
+
+ X Window id is a value of type long int which can be used in
+ combination with some functions/objects in the ecore.x module.
+
+ For example you can hide the mouse cursor with:
+ import ecore.x
+ xid = your_elm_win.xwindow_xid_get()
+ xwin = ecore.x.Window_from_xid(xid)
+ xwin.cursor_hide()
+
+ @note: This is not portable at all. Works only under the X window
+ system.
+
+ @type: long
+
+ """
+ def __get__(self):
+ cdef Ecore_X_Window xwin
+ xwin = elm_win_xwindow_get(self.obj)
+ return xwin
+
+ def callback_delete_request_add(self, func, *args, **kwargs):
+ """The user requested to close the window. See L{autodel_set()}."""
+ self._callback_add("delete,request", func, *args, **kwargs)
+
+ def callback_delete_request_del(self, func):
+ self._callback_del("delete,request", func)
+
+ def callback_focus_in_add(self, func, *args, **kwargs):
+ """window got focus"""
+ self._callback_add("focus,in", func, *args, **kwargs)
+
+ def callback_focus_in_del(self, func):
+ self._callback_del("focus,in", func)
+
+ def callback_focus_out_add(self, func, *args, **kwargs):
+ """window lost focus"""
+ self._callback_add("focus,out", func, *args, **kwargs)
+
+ def callback_focus_out_del(self, func):
+ self._callback_del("focus,out")
+
+ def callback_moved_add(self, func, *args, **kwargs):
+ """window that holds the canvas was moved"""
+ self._callback_add("moved", func, *args, **kwargs)
+
+ def callback_moved_del(self, func):
+ self._callback_del("moved")
+
+ def callback_withdrawn_add(self, func, *args, **kwargs):
+ """window is still managed normally but removed from view"""
+ self._callback_add("withdrawn", func, *args, **kwargs)
+
+ def callback_withdrawn_del(self, func):
+ self._callback_del("withdrawn")
+
+ def callback_iconified_add(self, func, *args, **kwargs):
+ """window is minimized (perhaps into an icon or taskbar)"""
+ self._callback_add("iconified", func, *args, **kwargs)
+
+ def callback_iconified_del(self, func):
+ self._callback_del("iconified")
+
+ def callback_normal_add(self, func, *args, **kwargs):
+ """window is in a normal state (not withdrawn or iconified)"""
+ self._callback_add("normal", func, *args, **kwargs)
+
+ def callback_normal_del(self, func):
+ self._callback_del("normal")
+
+ def callback_stick_add(self, func, *args, **kwargs):
+ """window has become sticky (shows on all desktops)"""
+ self._callback_add("stick", func, *args, **kwargs)
+
+ def callback_stick_del(self, func):
+ self._callback_del("stick")
+
+ def callback_unstick_add(self, func, *args, **kwargs):
+ """window has stopped being sticky"""
+ self._callback_add("unstick", func, *args, **kwargs)
+
+ def callback_unstick_del(self, func):
+ self._callback_del("unstick")
+
+ def callback_fullscreen_add(self, func, *args, **kwargs):
+ """window has become fullscreen"""
+ self._callback_add("fullscreen", func, *args, **kwargs)
+
+ def callback_fullscreen_del(self, func):
+ self._callback_del("fullscreen")
+
+ def callback_unfullscreen_add(self, func, *args, **kwargs):
+ """window has stopped being fullscreen"""
+ self._callback_add("unfullscreen", func, *args, **kwargs)
+
+ def callback_unfullscreen_del(self, func):
+ self._callback_del("unfullscreen")
+
+ def callback_maximized_add(self, func, *args, **kwargs):
+ """window has been maximized"""
+ self._callback_add("maximized", func, *args, **kwargs)
+
+ def callback_maximized_del(self, func):
+ self._callback_del("maximized")
+
+ def callback_unmaximized_add(self, func, *args, **kwargs):
+ """window has stopped being maximized"""
+ self._callback_add("unmaximized", func, *args, **kwargs)
+
+ def callback_unmaximized_del(self, func):
+ self._callback_del("unmaximized")
+
+_elm_widget_type_register("win", Window)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryWindow_Type # hack to install metaclass
+_install_metaclass(&PyElementaryWindow_Type, ElementaryObjectMeta)
+
+cdef public class StandardWindow(Window) [object PyElementaryStandardWindow, type PyElementaryStandardWindow_Type]:
+
+ """A L{Window} with standard setup.
+
+ @param name: A name for the new window.
+ @type name: string
+ @param title: A title for the new window.
+ @type title: string
+
+ """
+
+ def __init__(self, name, title):
+ self._set_obj(elm_win_util_standard_add(_cfruni(name), _cfruni(title)))
+
+ cdef Evas *e
+ e = evas_object_evas_get(self.obj)
+ canvas = Canvas_from_instance(e)
+ evasObject.__init__(self, canvas)
+
+_elm_widget_type_register("standardwin", StandardWindow)
+
+cdef extern from "Elementary.h": # hack to force type to be known
+ cdef PyTypeObject PyElementaryStandardWindow_Type # hack to install metaclass
+_install_metaclass(&PyElementaryStandardWindow_Type, ElementaryObjectMeta)
diff --git a/include/elementary/__init__.py b/include/elementary/__init__.py
new file mode 100644
index 0000000..607949a
--- /dev/null
+++ b/include/elementary/__init__.py
Binary files differ
diff --git a/include/elementary/c_elementary.pxd b/include/elementary/c_elementary.pxd
new file mode 100644
index 0000000..1fa8021
--- /dev/null
+++ b/include/elementary/c_elementary.pxd
@@ -0,0 +1,2351 @@
+# Copyright (c) 2008 Simon Busch
+#
+# This file is part of python-elementary.
+#
+# python-elementary is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# python-elementary is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-elementary. If not, see <http://www.gnu.org/licenses/>.
+#
+
+from evas.c_evas cimport Eina_List, Eina_Bool, const_Eina_List
+from evas.c_evas cimport Eina_Rectangle, Eina_Compare_Cb
+from evas.c_evas cimport Evas_Object, const_Evas_Object
+from evas.c_evas cimport Evas_Coord
+from evas.c_evas cimport Evas_Callback_Type
+from evas.c_evas cimport Evas_Smart_Cb
+from evas.c_evas cimport Evas_Font_Size
+from evas.c_evas cimport Evas_Load_Error
+from evas.c_evas cimport Evas_Event_Flags
+
+cdef extern from *:
+ ctypedef char* const_char_ptr "const char *"
+ ctypedef void const_void "const void"
+
+cdef extern from "stdlib.h":
+ void free(void *ptr)
+
+cdef extern from "string.h":
+ void *memcpy(void *dst, void *src, int n)
+ char *strdup(char *str)
+
+cdef extern from "time.h":
+ struct tm:
+ int tm_sec
+ int tm_min
+ int tm_hour
+ int tm_mday
+ int tm_mon
+ int tm_year
+ int tm_wday
+ int tm_yday
+ int tm_isdst
+
+ long int tm_gmtoff
+ const_char_ptr tm_zone
+
+cdef extern from "Ecore.h":
+ ctypedef void (*Ecore_Cb)(void *data)
+
+cdef extern from "Ecore_X.h":
+ ctypedef unsigned int Ecore_X_ID
+ ctypedef Ecore_X_ID Ecore_X_Window
+
+cdef extern from "Evas.h":
+ ctypedef void *Evas_Object_Box_Data
+ ctypedef void *Elm_Box_Transition
+ ctypedef void (*Evas_Object_Box_Layout)(Evas_Object *o, Evas_Object_Box_Data *priv, void *user_data)
+ void evas_object_box_layout_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_homogeneous_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_homogeneous_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_homogeneous_max_size_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_flow_horizontal(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_flow_vertical(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void evas_object_box_layout_stack(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+ void elm_box_layout_transition(Evas_Object *o, Evas_Object_Box_Data *priv, void *data)
+
+cdef extern from "Edje.h":
+ ctypedef void (*Edje_Signal_Cb)(void *data, Evas_Object *obj, const_char_ptr emission, const_char_ptr source)
+
+# For Debugging
+"""
+cdef extern from "Ecore_Evas.h":
+ ctypedef struct Ecore_Evas
+ void ecore_evas_geometry_get(Ecore_Evas *ee, int *x, int *y, int *w, int *h)
+
+cdef extern from "Ecore.h":
+ ctypedef struct Ecore_Job
+
+ctypedef struct Elm_Win:
+ Ecore_Evas *ee
+ evas.c_evas.Evas *evas
+ Evas_Object *parent
+ Evas_Object *win_obj
+ Eina_List *subobjs
+ Ecore_X_ID xwin
+ Ecore_Job *deferred_resize_job
+ Ecore_Job *deferred_child_eval_job
+ Elm_Win_Type type
+ Elm_Win_Keyboard_Mode kbdmode
+ Eina_Bool autodel = 1
+"""
+
+cdef extern from "Elementary.h":
+
+ # enums
+ ctypedef enum Elm_Actionslider_Pos:
+ ELM_ACTIONSLIDER_NONE
+ ELM_ACTIONSLIDER_LEFT
+ ELM_ACTIONSLIDER_CENTER
+ ELM_ACTIONSLIDER_RIGHT
+ ELM_ACTIONSLIDER_ALL
+
+ ctypedef enum Elm_Bg_Option:
+ ELM_BG_OPTION_CENTER
+ ELM_BG_OPTION_SCALE
+ ELM_BG_OPTION_STRETCH
+ ELM_BG_OPTION_TILE
+ ELM_BG_OPTION_LAST
+
+ ctypedef enum Elm_Bubble_Pos:
+ ELM_BUBBLE_POS_TOP_LEFT
+ ELM_BUBBLE_POS_TOP_RIGHT
+ ELM_BUBBLE_POS_BOTTOM_LEFT
+ ELM_BUBBLE_POS_BOTTOM_RIGHT
+
+ ctypedef enum Elm_Calendar_Mark_Repeat_Type:
+ ELM_CALENDAR_UNIQUE
+ ELM_CALENDAR_DAILY
+ ELM_CALENDAR_WEEKLY
+ ELM_CALENDAR_MONTHLY
+ ELM_CALENDAR_ANNUALLY
+ ELM_CALENDAR_LAST_DAY_OF_MONTH
+
+ ctypedef enum Elm_Calendar_Select_Mode:
+ ELM_CALENDAR_SELECT_MODE_DEFAULT
+ ELM_CALENDAR_SELECT_MODE_ALWAYS
+ ELM_CALENDAR_SELECT_MODE_NONE
+ ELM_CALENDAR_SELECT_MODE_ONDEMAND
+
+ ctypedef enum Elm_Ctxpopup_Direction:
+ ELM_CTXPOPUP_DIRECTION_DOWN
+ ELM_CTXPOPUP_DIRECTION_RIGHT
+ ELM_CTXPOPUP_DIRECTION_LEFT
+ ELM_CTXPOPUP_DIRECTION_UP
+ ELM_CTXPOPUP_DIRECTION_UNKNOWN
+
+ ctypedef enum Elm_Calendar_Weekday:
+ ELM_DAY_SUNDAY
+ ELM_DAY_MONDAY
+ ELM_DAY_TUESDAY
+ ELM_DAY_WEDNESDAY
+ ELM_DAY_THURSDAY
+ ELM_DAY_FRIDAY
+ ELM_DAY_SATURDAY
+ ELM_DAY_LAST
+
+ ctypedef enum Elm_Clock_Edit_Mode:
+ ELM_CLOCK_EDIT_DEFAULT = 0
+ ELM_CLOCK_EDIT_HOUR_DECIMAL = 1 << 0
+ ELM_CLOCK_EDIT_HOUR_UNIT = 1 << 1
+ ELM_CLOCK_EDIT_MIN_DECIMAL = 1 << 2
+ ELM_CLOCK_EDIT_MIN_UNIT = 1 << 3
+ ELM_CLOCK_EDIT_SEC_DECIMAL = 1 << 4
+ ELM_CLOCK_EDIT_SEC_UNIT = 1 << 5
+ ELM_CLOCK_EDIT_ALL = (1 << 6) - 1
+
+ ctypedef enum Elm_Cnp_Mode:
+ ELM_CNP_MODE_MARKUP # copy & paste text with markup tag
+ ELM_CNP_MODE_NO_IMAGE # copy & paste text without item(image) tag
+ ELM_CNP_MODE_PLAINTEXT # copy & paste text without markup tag
+
+ ctypedef enum Elm_Colorselector_Mode:
+ ELM_COLORSELECTOR_PALETTE
+ ELM_COLORSELECTOR_COMPONENTS
+ ELM_COLORSELECTOR_BOTH
+
+ ctypedef enum Elm_Datetime_Field_Type:
+ ELM_DATETIME_YEAR = 0
+ ELM_DATETIME_MONTH = 1
+ ELM_DATETIME_DATE = 2
+ ELM_DATETIME_HOUR = 3
+ ELM_DATETIME_MINUTE = 4
+ ELM_DATETIME_AMPM = 5
+
+ ctypedef enum Elm_Dayselector_Day:
+ ELM_DAYSELECTOR_SUN = 0
+ ELM_DAYSELECTOR_MON
+ ELM_DAYSELECTOR_TUE
+ ELM_DAYSELECTOR_WED
+ ELM_DAYSELECTOR_THU
+ ELM_DAYSELECTOR_FRI
+ ELM_DAYSELECTOR_SAT
+ ELM_DAYSELECTOR_MAX
+
+ ctypedef enum Elm_Fileselector_Mode:
+ ELM_FILESELECTOR_LIST
+ ELM_FILESELECTOR_GRID
+
+ ctypedef enum Elm_Flip_Direction:
+ ELM_FLIP_DIRECTION_UP
+ ELM_FLIP_DIRECTION_DOWN
+ ELM_FLIP_DIRECTION_LEFT
+ ELM_FLIP_DIRECTION_RIGHT
+
+ ctypedef enum Elm_Flip_Interaction:
+ ELM_FLIP_INTERACTION_NONE
+ ELM_FLIP_INTERACTION_ROTATE
+ ELM_FLIP_INTERACTION_CUBE
+ ELM_FLIP_INTERACTION_PAGE
+
+ ctypedef enum Elm_Flip_Mode:
+ ELM_FLIP_ROTATE_Y_CENTER_AXIS
+ ELM_FLIP_ROTATE_X_CENTER_AXIS
+ ELM_FLIP_ROTATE_XZ_CENTER_AXIS
+ ELM_FLIP_ROTATE_YZ_CENTER_AXIS
+ ELM_FLIP_CUBE_LEFT
+ ELM_FLIP_CUBE_RIGHT
+ ELM_FLIP_CUBE_UP
+ ELM_FLIP_CUBE_DOWN
+ ELM_FLIP_PAGE_LEFT
+ ELM_FLIP_PAGE_RIGHT
+ ELM_FLIP_PAGE_UP
+ ELM_FLIP_PAGE_DOWN
+
+ ctypedef enum Elm_Focus_Direction:
+ ELM_FOCUS_PREVIOUS
+ ELM_FOCUS_NEXT
+
+ ctypedef enum Elm_Genlist_Item_Type:
+ ELM_GENLIST_ITEM_NONE
+ ELM_GENLIST_ITEM_TREE
+ ELM_GENLIST_ITEM_GROUP
+ ELM_GENLIST_ITEM_MAX
+
+ ctypedef enum Elm_Genlist_Item_Field_Type:
+ ELM_GENLIST_ITEM_FIELD_ALL
+ ELM_GENLIST_ITEM_FIELD_TEXT
+ ELM_GENLIST_ITEM_FIELD_CONTENT
+ ELM_GENLIST_ITEM_FIELD_STATE
+
+ ctypedef enum Elm_Genlist_Item_Scrollto_Type:
+ ELM_GENLIST_ITEM_SCROLLTO_NONE # no scrollto
+ ELM_GENLIST_ITEM_SCROLLTO_IN # to the nearest viewport
+ ELM_GENLIST_ITEM_SCROLLTO_TOP # to the top of viewport
+ ELM_GENLIST_ITEM_SCROLLTO_MIDDLE # to the middle of viewport
+
+ ctypedef enum Elm_Gesture_State:
+ ELM_GESTURE_STATE_UNDEFINED
+ ELM_GESTURE_STATE_START
+ ELM_GESTURE_STATE_MOVE
+ ELM_GESTURE_STATE_END
+ ELM_GESTURE_STATE_ABORT
+
+ ctypedef enum Elm_Gesture_Type:
+ ELM_GESTURE_FIRST
+ ELM_GESTURE_N_TAPS
+ ELM_GESTURE_N_LONG_TAPS
+ ELM_GESTURE_N_DOUBLE_TAPS
+ ELM_GESTURE_N_TRIPLE_TAPS
+ ELM_GESTURE_MOMENTUM
+ ELM_GESTURE_N_LINES
+ ELM_GESTURE_N_FLICKS
+ ELM_GESTURE_ZOOM
+ ELM_GESTURE_ROTATE
+ ELM_GESTURE_LAST
+
+ ctypedef enum Elm_Hover_Axis:
+ ELM_HOVER_AXIS_NONE
+ ELM_HOVER_AXIS_HORIZONTAL
+ ELM_HOVER_AXIS_VERTICAL
+ ELM_HOVER_AXIS_BOTH
+
+ ctypedef enum Elm_Icon_Lookup_Order:
+ ELM_ICON_LOOKUP_FDO_THEME
+ ELM_ICON_LOOKUP_THEME_FDO
+ ELM_ICON_LOOKUP_FDO
+ ELM_ICON_LOOKUP_THEME
+
+ ctypedef enum Elm_Icon_Type:
+ ELM_ICON_NONE
+ ELM_ICON_FILE
+ ELM_ICON_STANDARD
+
+ ctypedef enum Elm_Illume_Command:
+ ELM_ILLUME_COMMAND_FOCUS_BACK
+ ELM_ILLUME_COMMAND_FOCUS_FORWARD
+ ELM_ILLUME_COMMAND_FOCUS_HOME
+ ELM_ILLUME_COMMAND_CLOSE
+
+ ctypedef enum Elm_Image_Orient:
+ ELM_IMAGE_ORIENT_NONE
+ ELM_IMAGE_ROTATE_90
+ ELM_IMAGE_ROTATE_180
+ ELM_IMAGE_ROTATE_270
+ ELM_IMAGE_FLIP_HORIZONTAL
+ ELM_IMAGE_FLIP_VERTICAL
+ ELM_IMAGE_FLIP_TRANSPOSE
+ ELM_IMAGE_FLIP_TRANSVERSE
+
+ ctypedef enum Elm_Input_Panel_Lang:
+ ELM_INPUT_PANEL_LANG_AUTOMATIC
+ ELM_INPUT_PANEL_LANG_ALPHABET
+
+ ctypedef enum Elm_Input_Panel_Layout:
+ ELM_INPUT_PANEL_LAYOUT_NORMAL
+ ELM_INPUT_PANEL_LAYOUT_NUMBER
+ ELM_INPUT_PANEL_LAYOUT_EMAIL
+ ELM_INPUT_PANEL_LAYOUT_URL
+ ELM_INPUT_PANEL_LAYOUT_PHONENUMBER
+ ELM_INPUT_PANEL_LAYOUT_IP
+ ELM_INPUT_PANEL_LAYOUT_MONTH
+ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY
+ ELM_INPUT_PANEL_LAYOUT_INVALID
+ ELM_INPUT_PANEL_LAYOUT_HEX
+ ELM_INPUT_PANEL_LAYOUT_TERMINAL
+ ELM_INPUT_PANEL_LAYOUT_PASSWORD
+
+ ctypedef enum Elm_Input_Panel_Return_Key_Type:
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_GO
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_JOIN
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH
+ ELM_INPUT_PANEL_RETURN_KEY_TYPE_SEND
+
+ ctypedef enum Elm_List_Mode:
+ ELM_LIST_COMPRESS
+ ELM_LIST_SCROLL
+ ELM_LIST_LIMIT
+ ELM_LIST_EXPAND
+
+ ctypedef enum Elm_Notify_Orient:
+ ELM_NOTIFY_ORIENT_TOP
+ ELM_NOTIFY_ORIENT_CENTER
+ ELM_NOTIFY_ORIENT_BOTTOM
+ ELM_NOTIFY_ORIENT_LEFT
+ ELM_NOTIFY_ORIENT_RIGHT
+ ELM_NOTIFY_ORIENT_TOP_LEFT
+ ELM_NOTIFY_ORIENT_TOP_RIGHT
+ ELM_NOTIFY_ORIENT_BOTTOM_LEFT
+ ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
+ ELM_NOTIFY_ORIENT_LAST
+
+ ctypedef enum Elm_Object_Select_Mode:
+ ELM_OBJECT_SELECT_MODE_DEFAULT # default select mode
+ ELM_OBJECT_SELECT_MODE_ALWAYS # always select mode
+ ELM_OBJECT_SELECT_MODE_NONE # no select mode
+ ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY # no select mode with no finger size rule
+ ELM_OBJECT_SELECT_MODE_MAX
+
+ ctypedef enum Elm_Panel_Orient:
+ ELM_PANEL_ORIENT_TOP
+ ELM_PANEL_ORIENT_BOTTOM
+ ELM_PANEL_ORIENT_LEFT
+ ELM_PANEL_ORIENT_RIGHT
+
+ ctypedef enum Elm_Photocam_Zoom_Mode:
+ ELM_PHOTOCAM_ZOOM_MODE_MANUAL
+ ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT
+ ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL
+ ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN
+ ELM_PHOTOCAM_ZOOM_MODE_LAST
+
+ ctypedef enum Elm_Policy:
+ ELM_POLICY_QUIT
+ ELM_POLICY_LAST
+
+ ctypedef enum Elm_Policy_Quit:
+ ELM_POLICY_QUIT_NONE
+ ELM_POLICY_QUIT_LAST_WINDOW_CLOSED
+
+ ctypedef enum Elm_Popup_Orient:
+ ELM_POPUP_ORIENT_TOP
+ ELM_POPUP_ORIENT_CENTER
+ ELM_POPUP_ORIENT_BOTTOM
+ ELM_POPUP_ORIENT_LEFT
+ ELM_POPUP_ORIENT_RIGHT
+ ELM_POPUP_ORIENT_TOP_LEFT
+ ELM_POPUP_ORIENT_TOP_RIGHT
+ ELM_POPUP_ORIENT_BOTTOM_LEFT
+ ELM_POPUP_ORIENT_BOTTOM_RIGHT
+ ELM_POPUP_ORIENT_LAST
+
+ ctypedef enum Elm_Scroller_Policy:
+ ELM_SCROLLER_POLICY_AUTO
+ ELM_SCROLLER_POLICY_ON
+ ELM_SCROLLER_POLICY_OFF
+
+ ctypedef enum Elm_Text_Format:
+ ELM_TEXT_FORMAT_PLAIN_UTF8
+ ELM_TEXT_FORMAT_MARKUP_UTF8
+
+ ctypedef enum Elm_Thumb_Animation_Setting:
+ ELM_THUMB_ANIMATION_START
+ ELM_THUMB_ANIMATION_LOOP
+ ELM_THUMB_ANIMATION_STOP
+ ELM_THUMB_ANIMATION_LAST
+
+ ctypedef enum Elm_Toolbar_Shrink_Mode:
+ ELM_TOOLBAR_SHRINK_NONE
+ ELM_TOOLBAR_SHRINK_HIDE
+ ELM_TOOLBAR_SHRINK_SCROLL
+ ELM_TOOLBAR_SHRINK_MENU
+ ELM_TOOLBAR_SHRINK_EXPAND
+ ELM_TOOLBAR_SHRINK_LAST
+
+ ctypedef enum Elm_Transit_Effect_Flip_Axis:
+ ELM_TRANSIT_EFFECT_FLIP_AXIS_X
+ ELM_TRANSIT_EFFECT_FLIP_AXIS_Y
+
+ ctypedef enum Elm_Transit_Effect_Wipe_Dir:
+ ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT
+ ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT
+ ELM_TRANSIT_EFFECT_WIPE_DIR_UP
+ ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN
+
+ ctypedef enum Elm_Transit_Effect_Wipe_Type:
+ ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE
+ ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW
+
+ ctypedef enum Elm_Transit_Tween_Mode:
+ ELM_TRANSIT_TWEEN_MODE_LINEAR
+ ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL
+ ELM_TRANSIT_TWEEN_MODE_DECELERATE
+ ELM_TRANSIT_TWEEN_MODE_ACCELERATE
+
+ ctypedef enum Elm_Web_Window_Feature_Flag:
+ ELM_WEB_WINDOW_FEATURE_TOOLBAR
+ ELM_WEB_WINDOW_FEATURE_STATUSBAR
+ ELM_WEB_WINDOW_FEATURE_SCROLLBARS
+ ELM_WEB_WINDOW_FEATURE_MENUBAR
+ ELM_WEB_WINDOW_FEATURE_LOCATIONBAR
+ ELM_WEB_WINDOW_FEATURE_FULLSCREEN
+
+ ctypedef enum Elm_Web_Zoom_Mode:
+ ELM_WEB_ZOOM_MODE_MANUAL #Zoom controlled normally by elm_web_zoom_set.
+ ELM_WEB_ZOOM_MODE_AUTO_FIT #Zoom until content fits in web object
+ ELM_WEB_ZOOM_MODE_AUTO_FILL #Zoom until content fills web object.
+
+ ctypedef enum Elm_Win_Type:
+ ELM_WIN_BASIC
+ ELM_WIN_DIALOG_BASIC
+ ELM_WIN_DESKTOP
+ ELM_WIN_DOCK
+ ELM_WIN_TOOLBAR
+ ELM_WIN_MENU
+ ELM_WIN_UTILITY
+ ELM_WIN_SPLASH
+ ELM_WIN_DROPDOWN_MENU
+ ELM_WIN_POPUP_MENU
+ ELM_WIN_TOOLTIP
+ ELM_WIN_NOTIFICATION
+ ELM_WIN_COMBO
+ ELM_WIN_DND
+ ELM_WIN_INLINED_IMAGE
+ ELM_WIN_SOCKET_IMAGE
+
+ ctypedef enum Elm_Win_Indicator_Mode:
+ ELM_WIN_INDICATOR_UNKNOWN
+ ELM_WIN_INDICATOR_HIDE
+ ELM_WIN_INDICATOR_SHOW
+
+ ctypedef enum Elm_Win_Indicator_Opacity_Mode:
+ ELM_WIN_INDICATOR_OPACITY_UNKNOWN
+ ELM_WIN_INDICATOR_OPAQUE
+ ELM_WIN_INDICATOR_TRANSLUCENT
+ ELM_WIN_INDICATOR_TRANSPARENT
+
+ ctypedef enum Elm_Win_Keyboard_Mode:
+ ELM_WIN_KEYBOARD_UNKNOWN # Unknown keyboard state
+ ELM_WIN_KEYBOARD_OFF # Request to deactivate the keyboard
+ ELM_WIN_KEYBOARD_ON # Enable keyboard with default layout
+ ELM_WIN_KEYBOARD_ALPHA # Alpha (a-z) keyboard layout
+ ELM_WIN_KEYBOARD_NUMERIC # Numeric keyboard layout
+ ELM_WIN_KEYBOARD_PIN # PIN keyboard layout
+ ELM_WIN_KEYBOARD_PHONE_NUMBER # Phone keyboard layout
+ ELM_WIN_KEYBOARD_HEX # Hexadecimal numeric keyboard layout
+ ELM_WIN_KEYBOARD_TERMINAL # Full (QWERTY) keyboard layout
+ ELM_WIN_KEYBOARD_PASSWORD # Password keyboard layout
+ ELM_WIN_KEYBOARD_IP # IP keyboard layout
+ ELM_WIN_KEYBOARD_HOST # Host keyboard layout
+ ELM_WIN_KEYBOARD_FILE # File keyboard layout
+ ELM_WIN_KEYBOARD_URL # URL keyboard layout
+ ELM_WIN_KEYBOARD_KEYPAD # Keypad layout
+ ELM_WIN_KEYBOARD_J2ME # J2ME keyboard layout
+
+ ctypedef enum Elm_Wrap_Type:
+ ELM_WRAP_NONE
+ ELM_WRAP_CHAR
+ ELM_WRAP_WORD
+ ELM_WRAP_MIXED
+
+ # types & structs
+
+ #calendar
+ ctypedef char *(*Elm_Calendar_Format_Cb) (tm *stime)
+
+ ctypedef struct Elm_Calendar_Mark:
+ Evas_Object *obj
+ Eina_List *node
+ tm *mark_time
+ const_char_ptr mark_type
+ Elm_Calendar_Mark_Repeat_Type repeat
+
+ #colors
+ ctypedef struct Elm_Color_RGBA:
+ unsigned int r
+ unsigned int g
+ unsigned int b
+ unsigned int a
+
+ ctypedef struct _Elm_Custom_Palette:
+ const_char_ptr palette_name
+ Eina_List *color_list
+
+ #entry
+ ctypedef struct Elm_Entry_Anchor_Info:
+ char *name
+ int button
+ Evas_Coord x
+ Evas_Coord y
+ Evas_Coord w
+ Evas_Coord h
+
+ ctypedef struct Elm_Entry_Anchor_Hover_Info:
+ Elm_Entry_Anchor_Info *anchor_info
+ Evas_Object *hover
+ Eina_Rectangle hover_parent
+ Eina_Bool hover_left
+ Eina_Bool hover_right
+ Eina_Bool hover_top
+ Eina_Bool hover_bottom
+
+ #event
+ ctypedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type t, void *event_info)
+
+ #font
+ ctypedef struct Elm_Font_Overlay:
+ const_char_ptr text_class
+ const_char_ptr font
+ Evas_Font_Size size
+
+ #genlist
+ ctypedef char *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const_char_ptr part)
+ ctypedef Evas_Object *(*GenlistItemIconGetFunc) (void *data, Evas_Object *obj, const_char_ptr part)
+ ctypedef Eina_Bool (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const_char_ptr part)
+ ctypedef void (*GenlistItemDelFunc) (void *data, Evas_Object *obj)
+
+ ctypedef struct Elm_Genlist_Item_Class_Func:
+ GenlistItemLabelGetFunc text_get
+ GenlistItemIconGetFunc content_get
+ GenlistItemStateGetFunc state_get
+ GenlistItemDelFunc del_ "del"
+
+ ctypedef struct Elm_Genlist_Item_Class:
+ char *item_style
+ Elm_Genlist_Item_Class_Func func
+
+ #gengrid
+ ctypedef char *(*GengridItemLabelGetFunc) (void *data, Evas_Object *obj, const_char_ptr part)
+ ctypedef Evas_Object *(*GengridItemIconGetFunc) (void *data, Evas_Object *obj, const_char_ptr part)
+ ctypedef Eina_Bool (*GengridItemStateGetFunc) (void *data, Evas_Object *obj, const_char_ptr part)
+ ctypedef void (*GengridItemDelFunc) (void *data, Evas_Object *obj)
+
+ ctypedef struct Elm_Gengrid_Item_Class_Func:
+ GengridItemLabelGetFunc text_get
+ GengridItemIconGetFunc content_get
+ GengridItemStateGetFunc state_get
+ GengridItemDelFunc del_ "del"
+
+ ctypedef struct Elm_Gengrid_Item_Class:
+ char *item_style
+ Elm_Gengrid_Item_Class_Func func
+
+ #gesture layer
+ ctypedef struct Elm_Gesture_Taps_Info:
+ Evas_Coord x, y
+ unsigned int n
+ unsigned int timestamp
+
+ ctypedef struct Elm_Gesture_Momentum_Info:
+ Evas_Coord x1
+ Evas_Coord y1
+ Evas_Coord x2
+ Evas_Coord y2
+
+ unsigned int tx
+ unsigned int ty
+
+ Evas_Coord mx
+ Evas_Coord my
+
+ unsigned int n
+
+ ctypedef struct _Elm_Gesture_Line_Info:
+ Elm_Gesture_Momentum_Info momentum
+ double angle
+
+ ctypedef struct _Elm_Gesture_Zoom_Info:
+ Evas_Coord x, y
+ Evas_Coord radius
+ double zoom
+ double momentum
+
+ ctypedef struct _Elm_Gesture_Rotate_Info:
+ Evas_Coord x, y
+ Evas_Coord radius
+ double base_angle
+ double angle
+ double momentum
+
+ ctypedef Evas_Event_Flags (*Elm_Gesture_Event_Cb)(void *data, void *event_info)
+
+ #object item
+ ctypedef struct Elm_Object_Item
+ ctypedef Elm_Object_Item const_Elm_Object_Item "const Elm_Object_Item"
+
+ #slideshow
+ ctypedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj)
+ ctypedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj)
+
+ ctypedef struct Elm_Slideshow_Item_Class_Func:
+ SlideshowItemGetFunc get
+ SlideshowItemDelFunc del_ "del"
+
+ ctypedef struct Elm_Slideshow_Item_Class:
+ Elm_Slideshow_Item_Class_Func func
+
+ #text
+ ctypedef struct Elm_Text_Class:
+ const_char_ptr name
+ const_char_ptr desc
+
+ #theme
+ ctypedef struct Elm_Theme
+
+ #toolbar
+ ctypedef struct Elm_Toolbar_Item_State:
+ char *icon
+ char *label
+ Evas_Smart_Cb func
+ void *data
+
+ #tooltip
+ ctypedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip)
+ ctypedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item)
+
+ #transit
+ ctypedef struct Elm_Transit
+ ctypedef struct Elm_Transit_Effect
+
+ ctypedef void (*Elm_Transit_Effect_Transition_Cb)(Elm_Transit_Effect *effect, Elm_Transit *transit, double progress)
+ ctypedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit)
+ ctypedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit)
+
+ #web
+ ctypedef struct Elm_Web_Frame_Load_Error:
+ int code
+ Eina_Bool is_cancellation
+ const_char_ptr domain
+ const_char_ptr description
+ const_char_ptr failing_url
+ Evas_Object *frame
+
+ ctypedef struct Elm_Web_Window_Features
+
+ ctypedef Evas_Object *(*Elm_Web_Window_Open) (void *data, Evas_Object *obj, Eina_Bool js, Elm_Web_Window_Features *window_features)
+ ctypedef Evas_Object *(*Elm_Web_Dialog_Alert) (void *data, Evas_Object *obj, const_char_ptr message)
+ ctypedef Evas_Object *(*Elm_Web_Dialog_Confirm) (void *data, Evas_Object *obj, const_char_ptr message, Eina_Bool *ret)
+ ctypedef Evas_Object *(*Elm_Web_Dialog_Prompt) (void *data, Evas_Object *obj, const_char_ptr message, const_char_ptr def_value, char **value, Eina_Bool *ret)
+ ctypedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret)
+ ctypedef void (*Elm_Web_Console_Message) (void *data, Evas_Object *obj, const_char_ptr message, unsigned int line_number, const_char_ptr source_id)
+
+
+ # General
+ void elm_init(int argc, char** argv)
+ void elm_shutdown()
+ void elm_run() nogil
+ void elm_exit()
+
+ # General - Quicklaunch (XXX: Only used by macros?)
+ void elm_quicklaunch_init(int argc, char **argv)
+ void elm_quicklaunch_sub_init(int argc, char **argv)
+ void elm_quicklaunch_sub_shutdown()
+ void elm_quicklaunch_shutdown()
+ void elm_quicklaunch_seed()
+ Eina_Bool elm_quicklaunch_prepare(int argc, char **argv)
+ Eina_Bool elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (*postfork_func) (void *data), void *postfork_data)
+ void elm_quicklaunch_cleanup()
+ int elm_quicklaunch_fallback(int argc, char **argv)
+ char *elm_quicklaunch_exe_path_get(char *exe)
+
+ # General - Policy
+ Eina_Bool elm_policy_set(unsigned int policy, int value)
+ int elm_policy_get(unsigned int policy)
+
+ # General - Language (py3: TODO)
+ void elm_language_set(const_char_ptr lang)
+
+ # Config (py3: TODO)
+ Eina_Bool elm_config_save()
+ void elm_config_reload()
+ void elm_config_all_flush()
+ const_char_ptr elm_config_profile_get()
+ const_char_ptr elm_config_profile_dir_get(const_char_ptr profile, Eina_Bool is_user)
+ void elm_config_profile_dir_free(const_char_ptr p_dir)
+ Eina_List *elm_config_profile_list_get()
+ void elm_config_profile_list_free(Eina_List *l)
+ void elm_config_profile_set(const_char_ptr profile)
+ Eina_Bool elm_config_scroll_bounce_enabled_get()
+ void elm_config_scroll_bounce_enabled_set(Eina_Bool enabled)
+ double elm_config_scroll_bounce_friction_get()
+ void elm_config_scroll_bounce_friction_set(double friction)
+ double elm_config_scroll_page_scroll_friction_get()
+ void elm_config_scroll_page_scroll_friction_set(double friction)
+ double elm_config_scroll_bring_in_scroll_friction_get()
+ void elm_config_scroll_bring_in_scroll_friction_set(double friction)
+ double elm_config_scroll_zoom_friction_get()
+ void elm_config_scroll_zoom_friction_set(double friction)
+ Eina_Bool elm_config_scroll_thumbscroll_enabled_get()
+ void elm_config_scroll_thumbscroll_enabled_set(Eina_Bool enabled)
+ unsigned int elm_config_scroll_thumbscroll_threshold_get()
+ void elm_config_scroll_thumbscroll_threshold_set(unsigned int threshold)
+ double elm_config_scroll_thumbscroll_momentum_threshold_get()
+ void elm_config_scroll_thumbscroll_momentum_threshold_set(double threshold)
+ double elm_config_scroll_thumbscroll_friction_get()
+ void elm_config_scroll_thumbscroll_friction_set(double friction)
+ double elm_config_scroll_thumbscroll_border_friction_get()
+ void elm_config_scroll_thumbscroll_border_friction_set(double friction)
+ double elm_config_scroll_thumbscroll_sensitivity_friction_get()
+ void elm_config_scroll_thumbscroll_sensitivity_friction_set(double friction)
+ double elm_config_longpress_timeout_get()
+ void elm_config_longpress_timeout_set(double longpress_timeout)
+ double elm_config_tooltip_delay_get()
+ Eina_Bool elm_config_tooltip_delay_set(double delay)
+ int elm_config_cursor_engine_only_get()
+ Eina_Bool elm_config_cursor_engine_only_set(int engine_only)
+ double elm_config_scale_get()
+ void elm_config_scale_set(double scale)
+ Eina_Bool elm_config_password_show_last_get()
+ void elm_config_password_show_last_set(Eina_Bool password_show_last)
+ double elm_config_password_show_last_timeout_get()
+ void elm_config_password_show_last_timeout_set(double password_show_last_timeout)
+ const_char_ptr elm_config_engine_get()
+ void elm_config_engine_set(const_char_ptr engine)
+ const_char_ptr elm_config_preferred_engine_get()
+ void elm_config_preferred_engine_set(const_char_ptr engine)
+ Eina_List *elm_config_text_classes_list_get()
+ void elm_config_text_classes_list_free(Eina_List *list)
+ Eina_List *elm_config_font_overlay_list_get()
+ void elm_config_font_overlay_set(const_char_ptr text_class, const_char_ptr font, Evas_Font_Size size)
+ void elm_config_font_overlay_unset(const_char_ptr text_class)
+ void elm_config_font_overlay_apply()
+ Evas_Coord elm_config_finger_size_get()
+ void elm_config_finger_size_set(Evas_Coord size)
+ int elm_config_cache_flush_interval_get()
+ void elm_config_cache_flush_interval_set(int size)
+ Eina_Bool elm_config_cache_flush_enabled_get()
+ void elm_config_cache_flush_enabled_set(Eina_Bool enabled)
+ int elm_config_cache_font_cache_size_get()
+ void elm_config_cache_font_cache_size_set(int size)
+ int elm_config_cache_image_cache_size_get()
+ void elm_config_cache_image_cache_size_set(int size)
+ int elm_config_cache_edje_file_cache_size_get()
+ void elm_config_cache_edje_file_cache_size_set(int size)
+ int elm_config_cache_edje_collection_cache_size_get()
+ void elm_config_cache_edje_collection_cache_size_set(int size)
+ Eina_Bool elm_config_focus_highlight_enabled_get()
+ void elm_config_focus_highlight_enabled_set(Eina_Bool enable)
+ Eina_Bool elm_config_focus_highlight_animate_get()
+ void elm_config_focus_highlight_animate_set(Eina_Bool animate)
+ Eina_Bool elm_config_mirrored_get()
+ void elm_config_mirrored_set(Eina_Bool mirrored)
+
+ # Finger
+ void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h)
+
+ # Gesture layer
+ void elm_gesture_layer_cb_set(Evas_Object *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data)
+ Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj)
+ void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool hold_events)
+ void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double step)
+ double elm_gesture_layer_zoom_step_get(Evas_Object *obj)
+ void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double step)
+ double elm_gesture_layer_rotate_step_get(Evas_Object *obj)
+ Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *target)
+ Evas_Object *elm_gesture_layer_add(Evas_Object *parent)
+
+ # Need
+ Eina_Bool elm_need_efreet()
+ Eina_Bool elm_need_e_dbus()
+ Eina_Bool elm_need_ethumb()
+ Eina_Bool elm_need_web()
+
+ # Theme
+ Elm_Theme *elm_theme_new()
+ void elm_theme_free(Elm_Theme *th)
+ void elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst)
+ void elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref)
+ Elm_Theme *elm_theme_ref_get(Elm_Theme *th)
+ Elm_Theme *elm_theme_default_get()
+ void elm_theme_overlay_add(Elm_Theme *th, char *item)
+ void elm_theme_overlay_del(Elm_Theme *th, char *item)
+ Eina_List *elm_theme_overlay_list_get(Elm_Theme *th)
+ void elm_theme_extension_add(Elm_Theme *th, char *item)
+ void elm_theme_extension_del(Elm_Theme *th, char *item)
+ Eina_List *elm_theme_extension_list_get(Elm_Theme *th)
+ void elm_theme_set(Elm_Theme *th, char *theme)
+ char *elm_theme_get(Elm_Theme *th)
+ Eina_List *elm_theme_list_get(Elm_Theme *th)
+ char *elm_theme_list_item_path_get(char *f, Eina_Bool *in_search_path)
+ void elm_theme_flush(Elm_Theme *th)
+ void elm_theme_full_flush()
+ Eina_List *elm_theme_name_available_list_new()
+ void elm_theme_name_available_list_free(Eina_List *list)
+ char *elm_theme_data_get(Elm_Theme *th, char *key)
+
+ # Object handling (py3: DONE)
+ void elm_object_part_text_set(Evas_Object *obj, const_char_ptr part, const_char_ptr label)
+ void elm_object_text_set(Evas_Object *obj, const_char_ptr label)
+ char* elm_object_part_text_get(Evas_Object *obj, const_char_ptr part)
+ char* elm_object_text_get(Evas_Object *obj)
+ void elm_object_part_content_set(Evas_Object *obj, const_char_ptr part, Evas_Object *icon)
+ void elm_object_content_set(Evas_Object *obj, Evas_Object *icon)
+ Evas_Object *elm_object_part_content_get(Evas_Object *obj, const_char_ptr part)
+ Evas_Object *elm_object_content_get(Evas_Object *obj)
+ Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const_char_ptr part)
+ Evas_Object *elm_object_content_unset(Evas_Object *obj)
+ void elm_object_access_info_set(Evas_Object *obj, const_char_ptr txt)
+ Evas_Object *elm_object_name_find(Evas_Object *obj, const_char_ptr name, int recurse)
+ void elm_object_style_set(Evas_Object *obj, const_char_ptr style)
+ char *elm_object_style_get(Evas_Object *obj)
+ void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ Eina_Bool elm_object_disabled_get(Evas_Object *obj)
+ Eina_Bool elm_object_widget_check(Evas_Object *obj)
+ Evas_Object *elm_object_parent_widget_get(Evas_Object *obj)
+ Evas_Object *elm_object_top_widget_get(Evas_Object *obj)
+ char *elm_object_widget_type_get(Evas_Object *obj)
+ void elm_object_signal_emit(Evas_Object *obj, const_char_ptr emission, const_char_ptr source)
+ void elm_object_signal_callback_add(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func, void *data)
+ void *elm_object_signal_callback_del(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func)
+ void elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const_void *data)
+ void *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const_void *data)
+
+ # Object - Cursors (elm_cursor.h) (py3: DONE)
+ void elm_object_cursor_set(Evas_Object *obj, const_char_ptr cursor)
+ const_char_ptr elm_object_cursor_get(Evas_Object *obj)
+ void elm_object_cursor_unset(Evas_Object *obj)
+ void elm_object_cursor_style_set(Evas_Object *obj, const_char_ptr style)
+ const_char_ptr elm_object_cursor_style_get(Evas_Object *obj)
+ void elm_object_cursor_theme_search_enabled_set(Evas_Object *obj, Eina_Bool theme_search)
+ Eina_Bool elm_object_cursor_theme_search_enabled_get(Evas_Object *obj)
+
+ # Object - Focus (elm_focus.h)
+ Eina_Bool elm_object_focus_get(Evas_Object *obj)
+ void elm_object_focus_set(Evas_Object *obj, Eina_Bool focus)
+ void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable)
+ Eina_Bool elm_object_focus_allow_get(Evas_Object *obj)
+ void elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs)
+ void elm_object_focus_custom_chain_unset(Evas_Object *obj)
+ const_Eina_List *elm_object_focus_custom_chain_get(const_Evas_Object *obj)
+ void elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child)
+ void elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child)
+ void elm_object_focus_next(Evas_Object *obj, Elm_Focus_Direction direction)
+ void elm_object_tree_focus_allow_set(Evas_Object *obj, Eina_Bool focusable)
+ Eina_Bool elm_object_tree_focus_allow_get(Evas_Object *obj)
+
+ # Object - Mirroring (elm_mirroring.h)
+ Eina_Bool elm_object_mirrored_get(Evas_Object *obj)
+ void elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored)
+ Eina_Bool elm_object_mirrored_automatic_get(Evas_Object *obj)
+ void elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic)
+
+ # Object - Scaling (elm_scale.h)
+ void elm_object_scale_set(Evas_Object *obj, double scale)
+ double elm_object_scale_get(Evas_Object *obj)
+
+ # Object - Scrollhints (elm_scroll.h)
+ void elm_object_scroll_hold_push(Evas_Object *obj)
+ void elm_object_scroll_hold_pop(Evas_Object *obj)
+ void elm_object_scroll_freeze_push(Evas_Object *obj)
+ void elm_object_scroll_freeze_pop(Evas_Object *obj)
+ void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock)
+ void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock)
+ Eina_Bool elm_object_scroll_lock_x_get(Evas_Object *obj)
+ Eina_Bool elm_object_scroll_lock_y_get(Evas_Object *obj)
+
+ # Object - Theme (elm_theme.h)
+ void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th)
+ Elm_Theme *elm_object_theme_get(Evas_Object *obj)
+
+ # Object - Tooltips (elm_tooltip.h) (py3: DONE)
+ void elm_object_tooltip_show(Evas_Object *obj)
+ void elm_object_tooltip_hide(Evas_Object *obj)
+ void elm_object_tooltip_text_set(Evas_Object *obj, const_char_ptr text)
+ void elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const_char_ptr domain, const_char_ptr text)
+ void elm_object_tooltip_translatable_text_set(Evas_Object *obj, const_char_ptr text)
+ void elm_object_tooltip_content_cb_set(Evas_Object *obj, Elm_Tooltip_Content_Cb func, void *data, Evas_Smart_Cb del_cb)
+ void elm_object_tooltip_unset(Evas_Object *obj)
+ void elm_object_tooltip_style_set(Evas_Object *obj, const_char_ptr style)
+ char *elm_object_tooltip_style_get(Evas_Object *obj)
+ Eina_Bool elm_object_tooltip_window_mode_set(Evas_Object *obj, Eina_Bool disable)
+ Eina_Bool elm_object_tooltip_window_mode_get(Evas_Object *obj)
+
+ # Object - Translatable text (elm_general.h) (py3: DONE)
+ void elm_object_domain_translatable_text_part_set(Evas_Object *obj, const_char_ptr part, const_char_ptr domain, const_char_ptr text)
+ void elm_object_domain_translatable_text_set(Evas_Object *obj, const_char_ptr domain, const_char_ptr text)
+ void elm_object_translatable_text_set(Evas_Object *obj, const_char_ptr text)
+ const_char_ptr elm_object_translatable_text_part_get(Evas_Object *obj, const_char_ptr part)
+ const_char_ptr elm_object_translatable_text_get(Evas_Object *obj)
+
+ # Object Item (py3: DONE)
+ Evas_Object *elm_object_item_widget_get(Elm_Object_Item *it)
+ void elm_object_item_part_content_set(Elm_Object_Item *it, const_char_ptr part, Evas_Object* content)
+ void elm_object_item_content_set(Elm_Object_Item *it, Evas_Object* content)
+ Evas_Object *elm_object_item_part_content_get(Elm_Object_Item *it, const_char_ptr part)
+ Evas_Object *elm_object_item_content_get(Elm_Object_Item *it)
+ Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const_char_ptr part)
+ Evas_Object *elm_object_item_content_unset(Elm_Object_Item *it)
+ void elm_object_item_part_text_set(Elm_Object_Item *item, const_char_ptr part, const_char_ptr label)
+ void elm_object_item_text_set(Elm_Object_Item *item, const_char_ptr label)
+ const_char_ptr elm_object_item_part_text_get(Elm_Object_Item *item, const_char_ptr part)
+ const_char_ptr elm_object_item_text_get(Elm_Object_Item *item)
+ void elm_object_item_access_info_set(Elm_Object_Item *it, const_char_ptr txt)
+ void *elm_object_item_data_get(Elm_Object_Item *item)
+ void elm_object_item_data_set(Elm_Object_Item *item, void *data)
+ void elm_object_item_signal_emit(Elm_Object_Item *it, const_char_ptr emission, const_char_ptr source)
+ void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled)
+ Eina_Bool elm_object_item_disabled_get(Elm_Object_Item *it)
+ void elm_object_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb del_cb)
+ void elm_object_item_del(Elm_Object_Item *item)
+ void elm_object_item_tooltip_text_set(Elm_Object_Item *it, const_char_ptr text)
+ Eina_Bool elm_object_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable)
+ Eina_Bool elm_object_item_tooltip_window_mode_get(Elm_Object_Item *it)
+ void elm_object_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb)
+ void elm_object_item_tooltip_unset(Elm_Object_Item *it)
+ void elm_object_item_tooltip_style_set(Elm_Object_Item *it, const_char_ptr style)
+ const_char_ptr elm_object_item_tooltip_style_get(Elm_Object_Item *it)
+ void elm_object_item_cursor_set(Elm_Object_Item *it, const_char_ptr cursor)
+ const_char_ptr elm_object_item_cursor_get(Elm_Object_Item *it)
+ void elm_object_item_cursor_unset(Elm_Object_Item *it)
+ void elm_object_item_cursor_style_set(Elm_Object_Item *it, const_char_ptr style)
+ const_char_ptr elm_object_item_cursor_style_get(Elm_Object_Item *it)
+ void elm_object_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only)
+ Eina_Bool elm_object_item_cursor_engine_only_get(Elm_Object_Item *it)
+
+ # Transit (api:TODO cb:TODO test:TODO doc:TODO py3: TODO)
+ Elm_Transit *elm_transit_add()
+ void elm_transit_del(Elm_Transit *transit)
+ void elm_transit_effect_add(Elm_Transit *transit, Elm_Transit_Effect_Transition_Cb transition_cb, Elm_Transit_Effect *effect, Elm_Transit_Effect_End_Cb end_cb)
+ void elm_transit_effect_del(Elm_Transit *transit, Elm_Transit_Effect_Transition_Cb transition_cb, Elm_Transit_Effect *effect)
+ void elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj)
+ void elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj)
+ const_Eina_List *elm_transit_objects_get(Elm_Transit *transit)
+ void elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep)
+ Eina_Bool elm_transit_objects_final_state_keep_get(Elm_Transit *transit)
+ void elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled)
+ Eina_Bool elm_transit_event_enabled_get(Elm_Transit *transit)
+ void elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data)
+ void elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse)
+ Eina_Bool elm_transit_auto_reverse_get(Elm_Transit *transit)
+ void elm_transit_repeat_times_set(Elm_Transit *transit, int repeat)
+ int elm_transit_repeat_times_get(Elm_Transit *transit)
+ void elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode)
+ Elm_Transit_Tween_Mode elm_transit_tween_mode_get(Elm_Transit *transit)
+ void elm_transit_duration_set(Elm_Transit *transit, double duration)
+ double elm_transit_duration_get(Elm_Transit *transit)
+ void elm_transit_go(Elm_Transit *transit)
+ void elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused)
+ Eina_Bool elm_transit_paused_get(Elm_Transit *transit)
+ double elm_transit_progress_value_get(Elm_Transit *transit)
+ void elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit)
+ void elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit)
+ Eina_List *elm_transit_chain_transits_get(Elm_Transit *transit)
+ Elm_Transit_Effect *elm_transit_effect_resizing_add(Elm_Transit *transit, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h)
+ Elm_Transit_Effect *elm_transit_effect_translation_add(Elm_Transit *transit, Evas_Coord from_dx, Evas_Coord from_dy, Evas_Coord to_dx, Evas_Coord to_dy)
+ Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate)
+ Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw)
+ Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw)
+ Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir)
+ Elm_Transit_Effect *elm_transit_effect_color_add(Elm_Transit *transit, unsigned int from_r, unsigned int from_g, unsigned int from_b, unsigned int from_a, unsigned int to_r, unsigned int to_g, unsigned int to_b, unsigned int to_a)
+ Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit)
+ Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit)
+ Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree)
+ Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images)
+
+ # Widgets
+
+ # Actionslider (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_actionslider_add(Evas_Object *parent)
+ char *elm_actionslider_selected_label_get(Evas_Object *obj)
+ void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos)
+ Elm_Actionslider_Pos elm_actionslider_indicator_pos_get(Evas_Object *obj)
+ void elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos)
+ Elm_Actionslider_Pos elm_actionslider_magnet_pos_get(Evas_Object *obj)
+ void elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos)
+ Elm_Actionslider_Pos elm_actionslider_enabled_pos_get(Evas_Object *obj)
+
+ # Background (api:DONE cb:N/A test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_bg_add(Evas_Object *parent)
+ Eina_Bool elm_bg_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group)
+ void elm_bg_file_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *group)
+ void elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option)
+ Elm_Bg_Option elm_bg_option_get(Evas_Object *obj)
+ void elm_bg_color_set(Evas_Object *obj, int r, int g, int b)
+ void elm_bg_color_get(Evas_Object *obj, int *r, int *g, int *b)
+ void elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
+
+ # Box (api:DONE cb:N/A test:DONE doc:DONE)
+ Evas_Object *elm_box_add(Evas_Object *parent)
+ void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_box_horizontal_get(Evas_Object *obj)
+ void elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous)
+ Eina_Bool elm_box_homogeneous_get(Evas_Object *obj)
+ void elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj)
+ void elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj)
+ void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before)
+ void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after)
+ void elm_box_clear(Evas_Object *obj)
+ void elm_box_unpack(Evas_Object *obj, Evas_Object *subobj)
+ void elm_box_unpack_all(Evas_Object *obj)
+ void elm_box_recalculate(Evas_Object *obj)
+ Eina_List *elm_box_children_get(Evas_Object *obj)
+ void elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical)
+ void elm_box_padding_get(Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical)
+ void elm_box_align_set(Evas_Object *obj, double horizontal, double vertical)
+ void elm_box_align_get(Evas_Object *obj, double *horizontal, double *vertical)
+ void elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const_void *data, Ecore_Cb free_data)
+ Elm_Box_Transition *elm_box_transition_new(double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, Ecore_Cb start_layout_free_data, Evas_Object_Box_Layout end_layout, void *end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data)
+ void elm_box_transition_free(void *data)
+
+ # Bubble (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_bubble_add(Evas_Object *parent)
+ void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos)
+ Elm_Bubble_Pos elm_bubble_pos_get(Evas_Object *obj)
+
+ # Button (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_button_add(Evas_Object *parent)
+ void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on)
+ Eina_Bool elm_button_autorepeat_get(Evas_Object *obj)
+ void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t)
+ double elm_button_autorepeat_initial_timeout_get(Evas_Object *obj)
+ void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t)
+ double elm_button_autorepeat_gap_timeout_get(Evas_Object *obj)
+
+ # Calendar (api:TODO cb:DONE test:TODO doc:DONE py3:DONE)
+ Evas_Object *elm_calendar_add(Evas_Object *parent)
+ const_char_ptr *elm_calendar_weekdays_names_get(Evas_Object *obj)
+ void elm_calendar_weekdays_names_set(Evas_Object *obj, const_char_ptr weekdays[])
+ void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max)
+ void elm_calendar_min_max_year_get(Evas_Object *obj, int *min, int *max)
+ void elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode)
+ Elm_Calendar_Select_Mode elm_calendar_select_mode_get(Evas_Object *obj)
+ void elm_calendar_selected_time_set(Evas_Object *obj, tm *selected_time)
+ Eina_Bool elm_calendar_selected_time_get(Evas_Object *obj, tm *selected_time)
+ void elm_calendar_format_function_set(Evas_Object *obj, Elm_Calendar_Format_Cb format_func)
+ Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const_char_ptr mark_type, tm *mark_time, Elm_Calendar_Mark_Repeat_Type repeat)
+ void elm_calendar_mark_del(Elm_Calendar_Mark *mark)
+ void elm_calendar_marks_clear(Evas_Object *obj)
+ const_Eina_List *elm_calendar_marks_get(Evas_Object *obj)
+ void elm_calendar_marks_draw(Evas_Object *obj)
+ void elm_calendar_interval_set(Evas_Object *obj, double interval)
+ double elm_calendar_interval_get(Evas_Object *obj)
+ void elm_calendar_first_day_of_week_set(Evas_Object *obj, Elm_Calendar_Weekday day)
+ Elm_Calendar_Weekday elm_calendar_first_day_of_week_get(Evas_Object *obj)
+
+ # Check (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_check_add(Evas_Object *parent)
+ void elm_check_state_set(Evas_Object *obj, Eina_Bool state)
+ Eina_Bool elm_check_state_get(Evas_Object *obj)
+
+ # Clock (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_clock_add(Evas_Object *parent)
+ void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec)
+ void elm_clock_time_get(Evas_Object *obj, int *hrs, int *min, int *sec)
+ void elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit)
+ Eina_Bool elm_clock_edit_get(Evas_Object *obj)
+ void elm_clock_edit_mode_set(Evas_Object *obj, Elm_Clock_Edit_Mode mode)
+ Elm_Clock_Edit_Mode elm_clock_edit_mode_get(Evas_Object *obj)
+ void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm)
+ Eina_Bool elm_clock_show_am_pm_get(Evas_Object *obj)
+ void elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds)
+ Eina_Bool elm_clock_show_seconds_get(Evas_Object *obj)
+ void elm_clock_first_interval_set(Evas_Object *obj, double interval)
+ double elm_clock_first_interval_get(Evas_Object *obj)
+
+ # Colorselector (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_colorselector_add(Evas_Object *parent)
+ void elm_colorselector_color_set(Evas_Object *obj, int r, int g, int b, int a)
+ void elm_colorselector_color_get(Evas_Object *obj, int *r, int *g, int *b, int *a)
+ void elm_colorselector_mode_set(Evas_Object *obj, Elm_Colorselector_Mode mode)
+ Elm_Colorselector_Mode elm_colorselector_mode_get(Evas_Object *obj)
+ void elm_colorselector_palette_item_color_get(Elm_Object_Item *it, int *r, int *g, int *b, int *a)
+ void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a)
+ Elm_Object_Item *elm_colorselector_palette_color_add(Evas_Object *obj, int r, int g, int b, int a)
+ void elm_colorselector_palette_clear(Evas_Object *obj)
+ void elm_colorselector_palette_name_set(Evas_Object *obj, const_char_ptr palette_name)
+ const_char_ptr elm_colorselector_palette_name_get(Evas_Object *obj)
+
+ # Conformant (api:DONE cb:N/A test:TODO doc:DONE)
+ Evas_Object *elm_conformant_add(Evas_Object *parent)
+
+ # Ctxpopup (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_ctxpopup_add(Evas_Object *parent)
+ void elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
+ Evas_Object *elm_ctxpopup_hover_parent_get(Evas_Object *obj)
+ void elm_ctxpopup_clear(Evas_Object *obj)
+ void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj)
+ Elm_Object_Item *elm_ctxpopup_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, const_void *data)
+ void elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth)
+ void elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth)
+ Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(Evas_Object *obj)
+ void elm_ctxpopup_dismiss(Evas_Object *obj)
+
+ # Datetime (api: DONE cb:DONE test:XXX doc:DONE py3:DONE)
+ Evas_Object *elm_datetime_add(Evas_Object *parent)
+ const_char_ptr elm_datetime_format_get(Evas_Object *obj)
+ void elm_datetime_format_set(Evas_Object *obj, const_char_ptr fmt)
+ Eina_Bool elm_datetime_value_max_get(Evas_Object *obj, tm *maxtime)
+ Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, tm *maxtime)
+ Eina_Bool elm_datetime_value_min_get(Evas_Object *obj, tm *mintime)
+ Eina_Bool elm_datetime_value_min_set(Evas_Object *obj, tm *mintime)
+ void elm_datetime_field_limit_get(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, int *min, int *max)
+ void elm_datetime_field_limit_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, int min, int max)
+ Eina_Bool elm_datetime_value_get(Evas_Object *obj, tm *currtime)
+ Eina_Bool elm_datetime_value_set(Evas_Object *obj, tm *newtime)
+ Eina_Bool elm_datetime_field_visible_get(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype)
+ void elm_datetime_field_visible_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, Eina_Bool visible)
+
+ # Dayselector (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_dayselector_add(Evas_Object *parent)
+ void elm_dayselector_day_selected_set(Evas_Object *obj, Elm_Dayselector_Day day, Eina_Bool selected)
+ Eina_Bool elm_dayselector_day_selected_get(Evas_Object *obj, Elm_Dayselector_Day day)
+ void elm_dayselector_week_start_set(Evas_Object *obj, Elm_Dayselector_Day day)
+ Elm_Dayselector_Day elm_dayselector_week_start_get(Evas_Object *obj)
+ void elm_dayselector_weekend_start_set(Evas_Object *obj, Elm_Dayselector_Day day)
+ Elm_Dayselector_Day elm_dayselector_weekend_start_get(Evas_Object *obj)
+ void elm_dayselector_weekend_length_set(Evas_Object *obj, unsigned int length)
+ unsigned int elm_dayselector_weekend_length_get(Evas_Object *obj)
+
+ # Diskselector (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_diskselector_add(Evas_Object *parent)
+ void elm_diskselector_round_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+ Eina_Bool elm_diskselector_round_enabled_get(Evas_Object *obj)
+ int elm_diskselector_side_text_max_length_get(Evas_Object *obj)
+ void elm_diskselector_side_text_max_length_set(Evas_Object *obj, int len)
+ void elm_diskselector_display_item_num_set(Evas_Object *obj, int num)
+ int elm_diskselector_display_item_num_get(Evas_Object *obj)
+ void elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_diskselector_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ void elm_diskselector_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
+ void elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
+ void elm_diskselector_clear(Evas_Object *obj)
+ const_Eina_List *elm_diskselector_items_get(Evas_Object *obj)
+ Elm_Object_Item *elm_diskselector_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_diskselector_selected_item_get(Evas_Object *obj)
+ void elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
+ Eina_Bool elm_diskselector_item_selected_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_diskselector_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_diskselector_last_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_diskselector_item_prev_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_diskselector_item_next_get(Elm_Object_Item *it)
+
+ # Entry (api:TODO cb:DONE test:TODO doc:TODO py3:DONE)
+ Evas_Object *elm_entry_add(Evas_Object *parent)
+ void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line)
+ Eina_Bool elm_entry_single_line_get(Evas_Object *obj)
+ void elm_entry_password_set(Evas_Object *obj, Eina_Bool password)
+ Eina_Bool elm_entry_password_get(Evas_Object *obj)
+ void elm_entry_entry_set(Evas_Object *obj, const_char_ptr entry)
+ const_char_ptr elm_entry_entry_get(Evas_Object *obj)
+ void elm_entry_entry_append(Evas_Object *obj, const_char_ptr text)
+ Eina_Bool elm_entry_is_empty(Evas_Object *obj)
+ const_char_ptr elm_entry_selection_get(Evas_Object *obj)
+ Evas_Object *elm_entry_textblock_get(Evas_Object *obj)
+ void elm_entry_calc_force(Evas_Object *obj)
+ void elm_entry_entry_insert(Evas_Object *obj, const_char_ptr entry)
+ void elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap)
+ Elm_Wrap_Type elm_entry_line_wrap_get(Evas_Object *obj)
+ void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable)
+ Eina_Bool elm_entry_editable_get(Evas_Object *obj)
+ void elm_entry_select_none(Evas_Object *obj)
+ void elm_entry_select_all(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_next(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_prev(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_up(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_down(Evas_Object *obj)
+ void elm_entry_cursor_begin_set(Evas_Object *obj)
+ void elm_entry_cursor_end_set(Evas_Object *obj)
+ void elm_entry_cursor_line_begin_set(Evas_Object *obj)
+ void elm_entry_cursor_line_end_set(Evas_Object *obj)
+ void elm_entry_cursor_selection_begin(Evas_Object *obj)
+ void elm_entry_cursor_selection_end(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_is_format_get(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_is_visible_format_get(Evas_Object *obj)
+ const_char_ptr elm_entry_cursor_content_get(Evas_Object *obj)
+ Eina_Bool elm_entry_cursor_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
+ void elm_entry_cursor_pos_set(Evas_Object *obj, int pos)
+ int elm_entry_cursor_pos_get(Evas_Object *obj)
+ void elm_entry_selection_cut(Evas_Object *obj)
+ void elm_entry_selection_copy(Evas_Object *obj)
+ void elm_entry_selection_paste(Evas_Object *obj)
+ const_char_ptr elm_entry_markup_to_utf8(const_char_ptr s)
+ const_char_ptr elm_entry_utf8_to_markup(const_char_ptr s)
+ Eina_Bool elm_entry_file_set(Evas_Object *obj, const_char_ptr file, Elm_Text_Format format)
+ void elm_entry_file_get(Evas_Object *obj, const_char_ptr *file, Elm_Text_Format *format)
+ void elm_entry_file_save(Evas_Object *obj)
+ void elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave)
+ Eina_Bool elm_entry_autosave_get(Evas_Object *obj)
+ void elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scrollable)
+ Eina_Bool elm_entry_scrollable_get(Evas_Object *obj)
+ void elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v)
+ void elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting)
+ void elm_entry_context_menu_clear(Evas_Object *obj)
+ void elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ Eina_Bool elm_entry_context_menu_disabled_get(Evas_Object *obj)
+ void elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_entry_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+ Eina_Bool elm_entry_input_panel_enabled_get(Evas_Object *obj)
+ void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout)
+ Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj)
+ void elm_entry_input_panel_show(Evas_Object *obj)
+ void elm_entry_input_panel_hide(Evas_Object *obj)
+ void elm_entry_input_panel_language_set(Evas_Object *obj, Elm_Input_Panel_Lang lang)
+ Elm_Input_Panel_Lang elm_entry_input_panel_language_get(Evas_Object *obj)
+ void elm_entry_input_panel_return_key_type_set(Evas_Object *obj, Elm_Input_Panel_Return_Key_Type return_key_type)
+ Elm_Input_Panel_Return_Key_Type elm_entry_input_panel_return_key_type_get(Evas_Object *obj)
+ void elm_entry_input_panel_return_key_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ Eina_Bool elm_entry_input_panel_return_key_disabled_get(Evas_Object *obj)
+ void elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool disabled)
+ void elm_entry_imf_context_reset(Evas_Object *obj)
+ void elm_entry_prediction_allow_set(Evas_Object *obj, Eina_Bool allow)
+ Eina_Bool elm_entry_prediction_allow_get(Evas_Object *obj)
+ void elm_entry_cnp_mode_set(Evas_Object *obj, Elm_Cnp_Mode cnp_mode)
+ Elm_Cnp_Mode elm_entry_cnp_mode_get(Evas_Object *obj)
+ void elm_entry_anchor_hover_parent_set(Evas_Object *obj, Evas_Object *anchor_hover_parent)
+ Evas_Object *elm_entry_anchor_hover_parent_get(Evas_Object *obj)
+ void elm_entry_anchor_hover_style_set(Evas_Object *obj, const_char_ptr anchor_hover_style)
+ const_char_ptr elm_entry_anchor_hover_style_get(Evas_Object *obj)
+ void elm_entry_anchor_hover_end(Evas_Object *obj)
+
+ # Fileselector (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_fileselector_add(Evas_Object *parent)
+ void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save)
+ Eina_Bool elm_fileselector_is_save_get(Evas_Object *obj)
+ void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_folder_only_get(Evas_Object *obj)
+ void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_buttons_ok_cancel_get(Evas_Object *obj)
+ void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_expandable_get(Evas_Object *obj)
+ void elm_fileselector_path_set(Evas_Object *obj, const_char_ptr path)
+ const_char_ptr elm_fileselector_path_get(Evas_Object *obj)
+ Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const_char_ptr path)
+ const_char_ptr elm_fileselector_selected_get(Evas_Object *obj)
+ void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode)
+ Elm_Fileselector_Mode elm_fileselector_mode_get(Evas_Object *obj)
+
+ # Fileselector Button (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_fileselector_button_add(Evas_Object *parent)
+ void elm_fileselector_button_window_title_set(Evas_Object *obj, const_char_ptr title)
+ const_char_ptr elm_fileselector_button_window_title_get(Evas_Object *obj)
+ void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height)
+ void elm_fileselector_button_window_size_get(Evas_Object *obj, Evas_Coord *width, Evas_Coord *height)
+ void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_button_folder_only_get(Evas_Object *obj)
+ void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_button_inwin_mode_get(Evas_Object *obj)
+ void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_button_is_save_get(Evas_Object *obj)
+ void elm_fileselector_button_path_set(Evas_Object *obj, const_char_ptr path)
+ const_char_ptr elm_fileselector_button_path_get(Evas_Object *obj)
+ void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_button_expandable_get(Evas_Object *obj)
+
+ # Fileselector Entry (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_fileselector_entry_add(Evas_Object *parent)
+ void elm_fileselector_entry_window_title_set(Evas_Object *obj, const_char_ptr title)
+ const_char_ptr elm_fileselector_entry_window_title_get(Evas_Object *obj)
+ void elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height)
+ void elm_fileselector_entry_window_size_get(Evas_Object *obj, Evas_Coord *width, Evas_Coord *height)
+ void elm_fileselector_entry_path_set(Evas_Object *obj, const_char_ptr path)
+ const_char_ptr elm_fileselector_entry_path_get(Evas_Object *obj)
+ void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_entry_expandable_get(Evas_Object *obj)
+ void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_entry_folder_only_get(Evas_Object *obj)
+ void elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_entry_is_save_get(Evas_Object *obj)
+ void elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_fileselector_entry_inwin_mode_get(Evas_Object *obj)
+ void elm_fileselector_entry_selected_set(Evas_Object *obj, const_char_ptr path)
+ const_char_ptr elm_fileselector_entry_selected_get(Evas_Object *obj)
+
+ # Flip (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_flip_add(Evas_Object *parent)
+ Eina_Bool elm_flip_front_visible_get(Evas_Object *obj)
+ void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y)
+ void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode)
+ void elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode)
+ Elm_Flip_Interaction elm_flip_interaction_get(Evas_Object *obj)
+ void elm_flip_interaction_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled)
+ Eina_Bool elm_flip_interaction_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir)
+ void elm_flip_interaction_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize)
+ double elm_flip_interaction_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir)
+
+ # Flipselector (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_flipselector_add(Evas_Object *parent)
+ void elm_flipselector_flip_next(Evas_Object *obj)
+ void elm_flipselector_flip_prev(Evas_Object *obj)
+ Elm_Object_Item *elm_flipselector_item_append(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_flipselector_item_prepend(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ const_Eina_List *elm_flipselector_items_get(const_Evas_Object *obj)
+ Elm_Object_Item *elm_flipselector_first_item_get(const_Evas_Object *obj)
+ Elm_Object_Item *elm_flipselector_last_item_get(const_Evas_Object *obj)
+ Elm_Object_Item *elm_flipselector_selected_item_get(const_Evas_Object *obj)
+ void elm_flipselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
+ Eina_Bool elm_flipselector_item_selected_get(const_Elm_Object_Item *it)
+ Elm_Object_Item *elm_flipselector_item_prev_get(const_Elm_Object_Item *it)
+ Elm_Object_Item *elm_flipselector_item_next_get(const_Elm_Object_Item *it)
+ void elm_flipselector_first_interval_set(Evas_Object *obj, double interval)
+ double elm_flipselector_first_interval_get(const_Evas_Object *obj)
+
+ # Frame (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_frame_add(Evas_Object *parent)
+ void elm_frame_autocollapse_set(Evas_Object *obj, Eina_Bool autocollapse)
+ Eina_Bool elm_frame_autocollapse_get(Evas_Object *obj)
+ void elm_frame_collapse_set(Evas_Object *obj, Eina_Bool collapse)
+ Eina_Bool elm_frame_collapse_get(Evas_Object *obj)
+ void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse)
+
+ # Generic Grid (api:TODO cb:TODO test:DONE doc:TODO py3:TODO)
+ Evas_Object *elm_gengrid_add(Evas_Object *parent)
+ void elm_gengrid_clear(Evas_Object *obj)
+ void elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi)
+ Eina_Bool elm_gengrid_multi_select_get(Evas_Object *obj)
+ void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting)
+ Eina_Bool elm_gengrid_horizontal_get(Evas_Object *obj)
+ void elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_gengrid_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ Elm_Object_Item *elm_gengrid_item_append(Evas_Object *obj, Elm_Gengrid_Item_Class *itc, void *data, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_gengrid_item_prepend(Evas_Object *obj, Elm_Gengrid_Item_Class *itc, void *data, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_gengrid_item_insert_before(Evas_Object *obj, Elm_Gengrid_Item_Class *itc, void *data, Elm_Object_Item *before, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_gengrid_item_insert_after(Evas_Object *obj, Elm_Gengrid_Item_Class *itc, void *data, Elm_Object_Item *after, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_gengrid_selected_item_get(Evas_Object *obj)
+ Eina_List *elm_gengrid_selected_items_get(Evas_Object *obj)
+ Eina_List *elm_gengrid_realized_items_get(Evas_Object *obj)
+ void elm_gengrid_realized_items_update(Evas_Object *obj)
+ Elm_Object_Item *elm_gengrid_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_gengrid_last_item_get(Evas_Object *obj)
+ void elm_gengrid_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
+ void elm_gengrid_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
+ unsigned int elm_gengrid_items_count(Evas_Object *obj)
+ void elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
+ void elm_gengrid_item_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
+ void elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
+ void elm_gengrid_group_item_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
+ void elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y)
+ void elm_gengrid_align_get(Evas_Object *obj, double *align_x, double *align_y)
+ void elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode)
+ Eina_Bool elm_gengrid_reorder_mode_get(Evas_Object *obj)
+ void elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel)
+ void elm_gengrid_page_relative_get(Evas_Object *obj, double *h_pagerel, double *v_pagerel)
+ void elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize)
+ void elm_gengrid_current_page_get(Evas_Object *obj, int *h_pagenum, int *v_pagenum)
+ void elm_gengrid_last_page_get(Evas_Object *obj, int *h_pagenum, int *v_pagenum)
+ void elm_gengrid_page_show(Evas_Object *obj, int h_pagenum, int v_pagenum)
+ void elm_gengrid_page_bring_in(Evas_Object *obj, int h_pagenum, int v_pagenum)
+ void elm_gengrid_filled_set(Evas_Object *obj, Eina_Bool fill)
+ Eina_Bool elm_gengrid_filled_get(Evas_Object *obj)
+ void elm_gengrid_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode)
+ Elm_Object_Select_Mode elm_gengrid_select_mode_get(Evas_Object *obj)
+ void elm_gengrid_highlight_mode_set(Evas_Object *obj, Eina_Bool highlight)
+ Eina_Bool elm_gengrid_highlight_mode_get(Evas_Object *obj)
+
+ Elm_Object_Item *elm_gengrid_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_gengrid_last_item_get(Evas_Object *obj)
+ int elm_gengrid_item_index_get(Elm_Object_Item *it)
+ void elm_gengrid_item_select_mode_set(Elm_Object_Item *it, Elm_Object_Select_Mode mode)
+ Elm_Object_Select_Mode elm_gengrid_item_select_mode_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_gengrid_item_next_get(Elm_Object_Item *item)
+ Elm_Object_Item *elm_gengrid_item_prev_get(Elm_Object_Item *item)
+ void elm_gengrid_item_selected_set(Elm_Object_Item *item, Eina_Bool selected)
+ Eina_Bool elm_gengrid_item_selected_get(Elm_Object_Item *item)
+ void elm_gengrid_item_show(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
+ void elm_gengrid_item_bring_in(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
+ Evas_Object *elm_gengrid_item_object_get(Elm_Object_Item *it)
+ void elm_gengrid_item_update(Elm_Object_Item *item)
+ void elm_gengrid_item_pos_get(Elm_Object_Item *item, unsigned int *x, unsigned int *y)
+ void elm_gengrid_item_tooltip_text_set(Elm_Object_Item *item, const_char_ptr text)
+ void elm_gengrid_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb)
+ void elm_gengrid_item_tooltip_unset(Elm_Object_Item *item)
+ void elm_gengrid_item_tooltip_style_set(Elm_Object_Item *item, const_char_ptr style)
+ const_char_ptr elm_gengrid_item_tooltip_style_get(Elm_Object_Item *item)
+ Eina_Bool elm_gengrid_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable)
+ Eina_Bool elm_gengrid_item_tooltip_window_mode_get(Elm_Object_Item *it)
+ void elm_gengrid_item_cursor_set(Elm_Object_Item *item, const_char_ptr cursor)
+ const_char_ptr elm_gengrid_item_cursor_get(Elm_Object_Item *item)
+ void elm_gengrid_item_cursor_unset(Elm_Object_Item *item)
+ void elm_gengrid_item_cursor_style_set(Elm_Object_Item *item, const_char_ptr style)
+ const_char_ptr elm_gengrid_item_cursor_style_get(Elm_Object_Item *item)
+ void elm_gengrid_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only)
+ Eina_Bool elm_gengrid_item_cursor_engine_only_get(Elm_Object_Item *item)
+
+ # Generic List (api:TODO cb:DONE test:DONE doc:TODO py3:TODO)
+ Evas_Object *elm_genlist_add(Evas_Object *parent)
+ void elm_genlist_clear(Evas_Object *obj)
+ void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi)
+ Eina_Bool elm_genlist_multi_select_get(Evas_Object *obj)
+ void elm_genlist_mode_set(Evas_Object *obj, Elm_List_Mode mode)
+ Elm_List_Mode elm_genlist_mode_get(Evas_Object *obj)
+ void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_genlist_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ Elm_Object_Item *elm_genlist_item_append(Evas_Object *obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type flags, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_genlist_item_prepend(Evas_Object *obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type flags, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_genlist_item_insert_before(Evas_Object *obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Object_Item *before, Elm_Genlist_Item_Type flags, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_genlist_item_insert_after(Evas_Object *obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Object_Item *after, Elm_Genlist_Item_Type flags, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, Elm_Genlist_Item_Class *itc, void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, void *func_data)
+ Elm_Object_Item *elm_genlist_selected_item_get(Evas_Object *obj)
+ Eina_List *elm_genlist_selected_items_get(Evas_Object *obj)
+ Eina_List *elm_genlist_realized_items_get(Evas_Object *obj)
+ Elm_Object_Item *elm_genlist_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_genlist_last_item_get(Evas_Object *obj)
+ void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
+ void elm_genlist_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
+
+ Elm_Object_Item *elm_genlist_item_next_get(Elm_Object_Item *item)
+ Elm_Object_Item *elm_genlist_item_prev_get(Elm_Object_Item *item)
+ void elm_genlist_item_selected_set(Elm_Object_Item *item, Eina_Bool selected)
+ Eina_Bool elm_genlist_item_selected_get(Elm_Object_Item *item)
+ void elm_genlist_item_show(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
+ void elm_genlist_item_bring_in(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
+ void elm_genlist_item_update(Elm_Object_Item *item)
+ void elm_genlist_item_item_class_update(Elm_Object_Item *it, Elm_Genlist_Item_Class *itc)
+ Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(Elm_Object_Item *it)
+ int elm_genlist_item_index_get(Elm_Object_Item *it)
+ void elm_genlist_realized_items_update(Evas_Object *obj)
+ unsigned int elm_genlist_items_count(Evas_Object *obj)
+ void elm_genlist_item_tooltip_text_set(Elm_Object_Item *item, const_char_ptr text)
+ void elm_genlist_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, Evas_Smart_Cb del_cb)
+ void elm_genlist_item_tooltip_unset(Elm_Object_Item *item)
+ void elm_genlist_item_tooltip_style_set(Elm_Object_Item *item, const_char_ptr style)
+ const_char_ptr elm_genlist_item_tooltip_style_get(Elm_Object_Item *item)
+ Eina_Bool elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable)
+ Eina_Bool elm_genlist_item_tooltip_window_mode_get(Elm_Object_Item *it)
+ void elm_genlist_item_cursor_set(Elm_Object_Item *item, const_char_ptr cursor)
+ const_char_ptr elm_genlist_item_cursor_get(Elm_Object_Item *it)
+ void elm_genlist_item_cursor_unset(Elm_Object_Item *item)
+ void elm_genlist_item_cursor_style_set(Elm_Object_Item *item, const_char_ptr style)
+ const_char_ptr elm_genlist_item_cursor_style_get(Elm_Object_Item *item)
+ void elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only)
+ Eina_Bool elm_genlist_item_cursor_engine_only_get(Elm_Object_Item *item)
+ void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous)
+ Eina_Bool elm_genlist_homogeneous_get(Evas_Object *obj)
+ void elm_genlist_block_count_set(Evas_Object *obj, int n)
+ int elm_genlist_block_count_get(Evas_Object *obj)
+ void elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout)
+ double elm_genlist_longpress_timeout_get(Evas_Object *obj)
+ Elm_Object_Item *elm_genlist_at_xy_item_get(Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret)
+ Elm_Object_Item *elm_genlist_item_parent_get(Elm_Object_Item *it)
+ void elm_genlist_item_subitems_clear(Elm_Object_Item *item)
+ void elm_genlist_item_expanded_set(Elm_Object_Item *item, Eina_Bool expanded)
+ Eina_Bool elm_genlist_item_expanded_get(Elm_Object_Item *item)
+ int elm_genlist_item_expanded_depth_get(Elm_Object_Item *it)
+ void elm_genlist_item_all_contents_unset(Elm_Object_Item *it, Eina_List **l)
+ void elm_genlist_item_promote(Elm_Object_Item *it)
+ void elm_genlist_item_demote(Elm_Object_Item *it)
+ void elm_genlist_item_fields_update(Elm_Object_Item *item, const_char_ptr parts, Elm_Genlist_Item_Field_Type itf)
+ void elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const_char_ptr decorate_it_type, Eina_Bool decorate_it_set)
+ const_char_ptr elm_genlist_item_decorate_mode_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_genlist_decorated_item_get(Evas_Object *obj)
+ void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode)
+ Eina_Bool elm_genlist_reorder_mode_get(Evas_Object *obj)
+ Elm_Genlist_Item_Type elm_genlist_item_type_get(Elm_Object_Item *it)
+ void elm_genlist_decorate_mode_set(Evas_Object *obj, Eina_Bool decorated)
+ Eina_Bool elm_genlist_decorate_mode_get(Evas_Object *obj)
+ void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool flip)
+ Eina_Bool elm_genlist_item_flip_get(Elm_Object_Item *it)
+ void elm_genlist_tree_effect_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+ Eina_Bool elm_genlist_tree_effect_enabled_get(Evas_Object *obj)
+ void elm_genlist_item_select_mode_set(Elm_Object_Item *it, Elm_Object_Select_Mode mode)
+ Elm_Object_Select_Mode elm_genlist_item_select_mode_get(Elm_Object_Item *it)
+ void elm_genlist_highlight_mode_set(Evas_Object *obj, Eina_Bool highlight)
+ Eina_Bool elm_genlist_highlight_mode_get(Evas_Object *obj)
+ void elm_genlist_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode)
+ Elm_Object_Select_Mode elm_genlist_select_mode_get(Evas_Object *obj)
+
+ # GLView (XXX)
+
+ # Grid (api:DONE cb:N/A test:DONE doc:DONE)
+ Evas_Object *elm_grid_add(Evas_Object *parent)
+ void elm_grid_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
+ void elm_grid_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
+ void elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
+ void elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj)
+ void elm_grid_clear(Evas_Object *obj, Eina_Bool clear)
+ void elm_grid_pack_set(Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
+ void elm_grid_pack_get(Evas_Object *subobj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
+ Eina_List *elm_grid_children_get(Evas_Object *obj)
+
+ # Hover (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_hover_add(Evas_Object *parent)
+ void elm_hover_target_set(Evas_Object *obj, Evas_Object *target)
+ Evas_Object *elm_hover_target_get(Evas_Object *obj)
+ void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
+ Evas_Object *elm_hover_parent_get(Evas_Object *obj)
+ char *elm_hover_best_content_location_get(Evas_Object *obj, Elm_Hover_Axis pref_axis)
+ void elm_hover_dismiss(Evas_Object *obj)
+
+ # Hoversel (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_hoversel_add(Evas_Object *parent)
+ void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_hoversel_horizontal_get(Evas_Object *obj)
+ void elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
+ Evas_Object *elm_hoversel_hover_parent_get(Evas_Object *obj)
+ void elm_hoversel_hover_begin(Evas_Object *obj)
+ void elm_hoversel_hover_end(Evas_Object *obj)
+ Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj)
+ void elm_hoversel_clear(Evas_Object *obj)
+ Eina_List *elm_hoversel_items_get(Evas_Object *obj)
+ Elm_Object_Item *elm_hoversel_item_add(Evas_Object *obj, const_char_ptr label, const_char_ptr icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, void *data)
+ void elm_hoversel_item_icon_set(Elm_Object_Item *it, const_char_ptr icon_file, const_char_ptr icon_group, Elm_Icon_Type icon_type)
+ void elm_hoversel_item_icon_get(Elm_Object_Item *it, const_char_ptr *icon_file, const_char_ptr *icon_group, Elm_Icon_Type *icon_type)
+
+ # Icon (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_icon_add(Evas_Object *parent)
+ void elm_icon_thumb_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group)
+ Eina_Bool elm_icon_standard_set(Evas_Object *obj, const_char_ptr name)
+ const_char_ptr elm_icon_standard_get(Evas_Object *obj)
+ void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order)
+ Elm_Icon_Lookup_Order elm_icon_order_lookup_get(Evas_Object *obj)
+
+ # Image (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_image_add(Evas_Object *parent)
+ Eina_Bool elm_image_memfile_set(Evas_Object *obj, const_void *img, size_t size, const_char_ptr format, const_char_ptr key)
+ Eina_Bool elm_image_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group)
+ void elm_image_file_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *group)
+ void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth)
+ Eina_Bool elm_image_smooth_get(Evas_Object *obj)
+ void elm_image_object_size_get(Evas_Object *obj, int *w, int *h)
+ void elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale)
+ Eina_Bool elm_image_no_scale_get(Evas_Object *obj)
+ void elm_image_resizable_set(Evas_Object *obj, Eina_Bool scale_up,Eina_Bool scale_down)
+ void elm_image_resizable_get(Evas_Object *obj, Eina_Bool *scale_up,Eina_Bool *scale_down)
+ void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside)
+ Eina_Bool elm_image_fill_outside_get(Evas_Object *obj)
+ void elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ void elm_image_prescale_set(Evas_Object *obj, int size)
+ int elm_image_prescale_get(Evas_Object *obj)
+ void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient)
+ Elm_Image_Orient elm_image_orient_get(Evas_Object *obj)
+ void elm_image_editable_set(Evas_Object *obj, Eina_Bool editable)
+ Eina_Bool elm_image_editable_get(Evas_Object *obj)
+ Evas_Object *elm_image_object_get(Evas_Object *obj)
+ void elm_image_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed)
+ Eina_Bool elm_image_aspect_fixed_get(Evas_Object *obj)
+ Eina_Bool elm_image_animated_available_get(Evas_Object *obj)
+ void elm_image_animated_set(Evas_Object *obj, Eina_Bool animated)
+ Eina_Bool elm_image_animated_get(Evas_Object *obj)
+ void elm_image_animated_play_set(Evas_Object *obj, Eina_Bool play)
+ Eina_Bool elm_image_animated_play_get(Evas_Object *obj)
+
+ # Index (api:TODO cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_index_add(Evas_Object *parent)
+ void elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ Eina_Bool elm_index_autohide_disabled_get(Evas_Object *obj)
+ void elm_index_item_level_set(Evas_Object *obj, int level)
+ int elm_index_item_level_get(Evas_Object *obj)
+ void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
+ Elm_Object_Item *elm_index_selected_item_get(Evas_Object *obj, int level)
+ Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const_char_ptr letter, Evas_Smart_Cb func, const_void *data)
+ Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const_char_ptr letter, Evas_Smart_Cb func, const_void *data)
+ Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr letter, Evas_Smart_Cb func, const_void *data)
+ Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr letter, Evas_Smart_Cb func, const_void *data)
+ Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const_char_ptr letter, Evas_Smart_Cb func, const_void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func)
+ Elm_Object_Item *elm_index_item_find(Evas_Object *obj, void *data)
+ void elm_index_item_clear(Evas_Object *obj)
+ void elm_index_level_go(Evas_Object *obj, int level)
+ char *elm_index_item_letter_get(Elm_Object_Item *item)
+ void elm_index_indicator_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ Eina_Bool elm_index_indicator_disabled_get(Evas_Object *obj)
+ void elm_index_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_index_horizontal_get(Evas_Object *obj)
+
+ # Inwin (api:DONE cb:N/A test:DONE doc:DONE)
+ Evas_Object *elm_win_inwin_add(Evas_Object *obj)
+ void elm_win_inwin_activate(Evas_Object *obj)
+ void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content)
+ Evas_Object *elm_win_inwin_content_get(Evas_Object *obj)
+ Evas_Object *elm_win_inwin_content_unset(Evas_Object *obj)
+
+ # Label (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_label_add(Evas_Object *parent)
+ void elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap)
+ Elm_Wrap_Type elm_label_line_wrap_get(Evas_Object *obj)
+ void elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w)
+ Evas_Coord elm_label_wrap_width_get(Evas_Object *obj)
+ void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis)
+ Eina_Bool elm_label_ellipsis_get(Evas_Object *obj)
+ void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide)
+ Eina_Bool elm_label_slide_get(Evas_Object *obj)
+ void elm_label_slide_duration_set(Evas_Object *obj, double duration)
+ double elm_label_slide_duration_get(Evas_Object *obj)
+
+ # Layout (api:TODO cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_layout_add(Evas_Object *parent)
+ Eina_Bool elm_layout_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group)
+ Eina_Bool elm_layout_theme_set(Evas_Object *obj, const_char_ptr clas, const_char_ptr group, const_char_ptr style)
+ void elm_layout_signal_emit(Evas_Object *obj, const_char_ptr emission, const_char_ptr source)
+ void elm_layout_signal_callback_add(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func, void *data)
+ void *elm_layout_signal_callback_del(Evas_Object *obj, const_char_ptr emission, const_char_ptr source, Edje_Signal_Cb func)
+ Eina_Bool elm_layout_box_append(Evas_Object *obj, const_char_ptr part, Evas_Object *child)
+ Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const_char_ptr part, Evas_Object *child)
+ Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const_char_ptr part, Evas_Object *child, Evas_Object *reference)
+ Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const_char_ptr part, Evas_Object *child, unsigned int pos)
+ Evas_Object *elm_layout_box_remove(Evas_Object *obj, const_char_ptr part, Evas_Object *child)
+ Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const_char_ptr part, Eina_Bool clear)
+ Eina_Bool elm_layout_table_pack(Evas_Object *obj, const_char_ptr part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan)
+ Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const_char_ptr part, Evas_Object *child_obj)
+ Eina_Bool elm_layout_table_clear(Evas_Object *obj, const_char_ptr part, Eina_Bool clear)
+ Evas_Object *elm_layout_edje_get(Evas_Object *obj)
+ const_char_ptr elm_layout_data_get(Evas_Object *obj, const_char_ptr key)
+ void elm_layout_sizing_eval(Evas_Object *obj)
+ Eina_Bool elm_layout_part_cursor_set(Evas_Object *obj, const_char_ptr part_name, const_char_ptr cursor)
+ const_char_ptr elm_layout_part_cursor_get(Evas_Object *obj, const_char_ptr part_name)
+ Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const_char_ptr part_name)
+ Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const_char_ptr part_name, const_char_ptr style)
+ const_char_ptr elm_layout_part_cursor_style_get(Evas_Object *obj, const_char_ptr part_name)
+ Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const_char_ptr part_name, Eina_Bool engine_only)
+ Eina_Bool elm_layout_part_cursor_engine_only_get(Evas_Object *obj, const_char_ptr part_name)
+ Eina_Bool elm_layout_content_set(Evas_Object *obj, const_char_ptr swallow, Evas_Object *content)
+ Evas_Object *elm_layout_content_get(Evas_Object *obj, const_char_ptr swallow)
+ Evas_Object *elm_layout_content_unset(Evas_Object *obj, const_char_ptr swallow)
+ Eina_Bool elm_layout_text_set(Evas_Object *obj, const_char_ptr part, const_char_ptr text)
+ const_char_ptr elm_layout_text_get(Evas_Object *obj, const_char_ptr part)
+ void elm_layout_icon_set(Evas_Object *obj, Evas_Object *icon)
+ Evas_Object *elm_layout_icon_get(Evas_Object *obj)
+ void elm_layout_end_set(Evas_Object *obj, Evas_Object *end)
+ Evas_Object *elm_layout_end_get(Evas_Object *obj)
+
+ # List (api:TODO cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_list_add(Evas_Object *parent)
+ void elm_list_go(Evas_Object *obj)
+ void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi)
+ Eina_Bool elm_list_multi_select_get(Evas_Object *obj)
+ void elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode)
+ Elm_List_Mode elm_list_mode_get(Evas_Object *obj)
+ void elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_list_horizontal_get(Evas_Object *obj)
+ void elm_list_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode)
+ Elm_Object_Select_Mode elm_list_select_mode_get(Evas_Object *obj)
+ void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_list_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
+ void elm_list_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
+ Elm_Object_Item *elm_list_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_list_item_prepend(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_list_item_sorted_insert(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, void *data, Eina_Compare_Cb cmp_func)
+ void elm_list_clear(Evas_Object *obj)
+ Eina_List *elm_list_items_get(Evas_Object *obj)
+ Elm_Object_Item *elm_list_selected_item_get(Evas_Object *obj)
+ Eina_List *elm_list_selected_items_get(Evas_Object *obj)
+ void elm_list_item_selected_set(Elm_Object_Item *item, Eina_Bool selected)
+ Eina_Bool elm_list_item_selected_get(Elm_Object_Item *item)
+ void elm_list_item_separator_set(Elm_Object_Item *it, Eina_Bool setting)
+ Eina_Bool elm_list_item_separator_get(Elm_Object_Item *it)
+ void elm_list_item_show(Elm_Object_Item *item)
+ void elm_list_item_bring_in(Elm_Object_Item *it)
+ Evas_Object *elm_list_item_object_get(Elm_Object_Item *item)
+ Elm_Object_Item *elm_list_item_prev(Elm_Object_Item *it)
+ Elm_Object_Item *elm_list_item_next(Elm_Object_Item *it)
+ Elm_Object_Item *elm_list_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_list_last_item_get(Evas_Object *obj)
+
+ # Map (api:DONE cb:DONE test:DONE doc:TODO py3:TODO)
+ ctypedef void *Elm_Map_Overlay
+ ctypedef void *Elm_Map_Route
+ ctypedef void *Elm_Map_Name
+ ctypedef void (*Elm_Map_Overlay_Get_Cb)(void *data, Evas_Object *map, Elm_Map_Overlay *overlay)
+ ctypedef void (*Elm_Map_Overlay_Del_Cb)(void *data, Evas_Object *map, Elm_Map_Overlay *overlay)
+ ctypedef void (*Elm_Map_Route_Cb)(void *data, Evas_Object *map, Elm_Map_Route *route)
+ ctypedef void (*Elm_Map_Name_Cb)(void *data, Evas_Object *map, Elm_Map_Name *name)
+
+ ctypedef enum Elm_Map_Overlay_Type:
+ ELM_MAP_OVERLAY_TYPE_NONE
+ ELM_MAP_OVERLAY_TYPE_DEFAULT
+ ELM_MAP_OVERLAY_TYPE_CLASS
+ ELM_MAP_OVERLAY_TYPE_GROUP
+ ELM_MAP_OVERLAY_TYPE_BUBBLE
+ ELM_MAP_OVERLAY_TYPE_ROUTE
+ ELM_MAP_OVERLAY_TYPE_LINE
+ ELM_MAP_OVERLAY_TYPE_POLYGON
+ ELM_MAP_OVERLAY_TYPE_CIRCLE
+ ELM_MAP_OVERLAY_TYPE_SCALE
+
+ ctypedef enum Elm_Map_Route_Method:
+ ELM_MAP_ROUTE_METHOD_FASTEST
+ ELM_MAP_ROUTE_METHOD_SHORTEST
+ ELM_MAP_ROUTE_METHOD_LAST
+
+ ctypedef enum Elm_Map_Route_Type:
+ ELM_MAP_ROUTE_TYPE_MOTOCAR
+ ELM_MAP_ROUTE_TYPE_BICYCLE
+ ELM_MAP_ROUTE_TYPE_FOOT
+ ELM_MAP_ROUTE_TYPE_LAST
+
+ ctypedef enum Elm_Map_Source_Type:
+ ELM_MAP_SOURCE_TYPE_TILE
+ ELM_MAP_SOURCE_TYPE_ROUTE
+ ELM_MAP_SOURCE_TYPE_NAME
+ ELM_MAP_SOURCE_TYPE_LAST
+
+ ctypedef enum Elm_Map_Zoom_Mode:
+ ELM_MAP_ZOOM_MODE_MANUAL
+ ELM_MAP_ZOOM_MODE_AUTO_FIT
+ ELM_MAP_ZOOM_MODE_AUTO_FILL
+ ELM_MAP_ZOOM_MODE_LAST
+
+ Evas_Object *elm_map_add(Evas_Object *parent)
+ void elm_map_zoom_set(Evas_Object *obj, int zoom)
+ int elm_map_zoom_get(const_Evas_Object *obj)
+ void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode)
+ Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const_Evas_Object *obj)
+ void elm_map_zoom_min_set(Evas_Object *obj, int zoom)
+ int elm_map_zoom_min_get(const_Evas_Object *obj)
+ void elm_map_zoom_max_set(Evas_Object *obj, int zoom)
+ int elm_map_zoom_max_get(const_Evas_Object *obj)
+ void elm_map_region_get(const_Evas_Object *obj, double *lon, double *lat)
+ void elm_map_region_bring_in(Evas_Object *obj, double lon, double lat)
+ void elm_map_region_show(Evas_Object *obj, double lon, double lat)
+ void elm_map_canvas_to_region_convert(const_Evas_Object *obj, Evas_Coord x, Evas_Coord y, double *lon, double *lat)
+ void elm_map_region_to_canvas_convert(const_Evas_Object *obj, double lon, double lat, Evas_Coord *x, Evas_Coord *y)
+ void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused)
+ Eina_Bool elm_map_paused_get(const_Evas_Object *obj)
+ void elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy)
+ void elm_map_rotate_get(const_Evas_Object *obj, double *degree, Evas_Coord *cx, Evas_Coord *cy)
+ void elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+ Eina_Bool elm_map_wheel_disabled_get(const_Evas_Object *obj)
+ void elm_map_user_agent_set(Evas_Object *obj, char *user_agent)
+ char *elm_map_user_agent_get(const_Evas_Object *obj)
+ Eina_List *elm_map_overlays_get(Evas_Object *obj)
+ Elm_Map_Overlay *elm_map_overlay_add(Evas_Object *obj, double lon, double lat)
+ void elm_map_overlay_del(Elm_Map_Overlay *overlay)
+ Elm_Map_Overlay_Type elm_map_overlay_type_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_data_set(Elm_Map_Overlay *overlay, void *data)
+ void *elm_map_overlay_data_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_hide_set(Elm_Map_Overlay *overlay, Eina_Bool hide)
+ Eina_Bool elm_map_overlay_hide_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_displayed_zoom_min_set(Elm_Map_Overlay *overlay, int zoom)
+ int elm_map_overlay_displayed_zoom_min_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_paused_set(Elm_Map_Overlay *overlay, Eina_Bool paused)
+ Eina_Bool elm_map_overlay_paused_get(Elm_Map_Overlay *overlay)
+ Eina_Bool elm_map_overlay_visible_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_content_set(Elm_Map_Overlay *overlay, Evas_Object *obj)
+ const_Evas_Object *elm_map_overlay_content_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_icon_set(Elm_Map_Overlay *overlay, Evas_Object *icon)
+ const_Evas_Object *elm_map_overlay_icon_get(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_region_set(Elm_Map_Overlay *overlay, double lon, double lat)
+ void elm_map_overlay_region_get(Elm_Map_Overlay *overlay, double *lon, double *lat)
+ void elm_map_overlay_color_set(Elm_Map_Overlay *overlay, int r, int g, int b, int a)
+ void elm_map_overlay_color_get(Elm_Map_Overlay *overlay, int *r, int *g, int *b, int *a)
+ void elm_map_overlay_show(Elm_Map_Overlay *overlay)
+ void elm_map_overlay_get_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Get_Cb get_cb, void *data)
+ void elm_map_overlay_del_cb_set(Elm_Map_Overlay *overlay, Elm_Map_Overlay_Del_Cb del_cb, void *data)
+ void elm_map_overlays_show(Eina_List *overlays)
+ Elm_Map_Overlay *elm_map_overlay_class_add(Evas_Object *obj)
+ void elm_map_overlay_class_append(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay)
+ void elm_map_overlay_class_remove(Elm_Map_Overlay *clas, Elm_Map_Overlay *overlay)
+ void elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay *clas, int zoom)
+ int elm_map_overlay_class_zoom_max_get(Elm_Map_Overlay *clas)
+ Eina_List *elm_map_overlay_group_members_get(Elm_Map_Overlay *grp) # group ??
+ Elm_Map_Overlay *elm_map_overlay_bubble_add(Evas_Object *obj)
+ void elm_map_overlay_bubble_follow(Elm_Map_Overlay *bubble, Elm_Map_Overlay *parent)
+ void elm_map_overlay_bubble_content_append(Elm_Map_Overlay *bubble, Evas_Object *content)
+ void elm_map_overlay_bubble_content_clear(Elm_Map_Overlay *bubble)
+ Elm_Map_Overlay *elm_map_overlay_line_add(Evas_Object *obj, double flon, double flat, double tlon, double tlat)
+ Elm_Map_Overlay *elm_map_overlay_polygon_add(Evas_Object *obj)
+ void elm_map_overlay_polygon_region_add(Elm_Map_Overlay *overlay, double lon, double lat)
+ Elm_Map_Overlay *elm_map_overlay_circle_add(Evas_Object *obj, double lon, double lat, double radius)
+ Elm_Map_Overlay *elm_map_overlay_scale_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
+ Elm_Map_Overlay *elm_map_overlay_route_add(Evas_Object *obj, Elm_Map_Route *route)
+ void elm_map_tile_load_status_get(const_Evas_Object *obj, int *try_num, int *finish_num)
+ const_char_ptr *elm_map_sources_get(const_Evas_Object *obj, Elm_Map_Source_Type type)
+ void elm_map_source_set(Evas_Object *obj, Elm_Map_Source_Type type, const_char_ptr source_name)
+ const_char_ptr elm_map_source_get(const_Evas_Object *obj, Elm_Map_Source_Type type)
+ Elm_Map_Route *elm_map_route_add(Evas_Object *obj, Elm_Map_Route_Type type, Elm_Map_Route_Method method, double flon, double flat, double tlon, double tlat, Elm_Map_Route_Cb route_cb, void *data)
+ void elm_map_route_del(Elm_Map_Route *route)
+ double elm_map_route_distance_get(Elm_Map_Route *route)
+ const_char_ptr elm_map_route_node_get(Elm_Map_Route *route)
+ const_char_ptr elm_map_route_waypoint_get(Elm_Map_Route *route)
+ Elm_Map_Name *elm_map_name_add(const_Evas_Object *obj, const_char_ptr address, double lon, double lat, Elm_Map_Name_Cb name_cb, void *data)
+ void elm_map_name_del(Elm_Map_Name *name)
+ const_char_ptr elm_map_name_address_get(Elm_Map_Name *name)
+ void elm_map_name_region_get(Elm_Map_Name *name, double *lon, double *lat)
+
+ # Mapbuf (api:DONE cb:N/A test:DONE doc:DONE py3:N/A)
+ Evas_Object *elm_mapbuf_add(Evas_Object *parent)
+ void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+ Eina_Bool elm_mapbuf_enabled_get(const_Evas_Object *obj)
+ void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth)
+ Eina_Bool elm_mapbuf_smooth_get(const_Evas_Object *obj)
+ void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha)
+ Eina_Bool elm_mapbuf_alpha_get(const_Evas_Object *obj)
+
+ # Menu (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_menu_add(Evas_Object *parent)
+ void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent)
+ Evas_Object *elm_menu_parent_get(Evas_Object *obj)
+ void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
+ void elm_menu_close(Evas_Object *obj)
+ Eina_List *elm_menu_items_get(Evas_Object *obj)
+ Evas_Object *elm_menu_item_object_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ void elm_menu_item_icon_name_set(Elm_Object_Item *it, const_char_ptr icon)
+ const_char_ptr elm_menu_item_icon_name_get(Elm_Object_Item *it)
+ void elm_menu_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
+ Eina_Bool elm_menu_item_selected_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent)
+ Eina_Bool elm_menu_item_is_separator(Elm_Object_Item *it)
+ Eina_List *elm_menu_item_subitems_get(Elm_Object_Item *it)
+ int elm_menu_item_index_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_menu_selected_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_menu_last_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_menu_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_menu_item_next_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_menu_item_prev_get(Elm_Object_Item *it)
+
+ # Multibuttonentry (api:DONE cb:DONE test:DONE doc:TODO py3:TODO)
+ ctypedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_Cb)(Evas_Object *obj, const_char_ptr item_label, void *item_data, void *data)
+
+ Evas_Object *elm_multibuttonentry_add(Evas_Object *parent)
+ Evas_Object *elm_multibuttonentry_entry_get(const_Evas_Object *obj)
+ Eina_Bool elm_multibuttonentry_expanded_get(const_Evas_Object *obj)
+ void elm_multibuttonentry_expanded_set(Evas_Object *obj, Eina_Bool expanded)
+ Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ const_Eina_List *elm_multibuttonentry_items_get(const_Evas_Object *obj)
+ Elm_Object_Item *elm_multibuttonentry_first_item_get(const_Evas_Object *obj)
+ Elm_Object_Item *elm_multibuttonentry_last_item_get(const_Evas_Object *obj)
+ Elm_Object_Item *elm_multibuttonentry_selected_item_get(const_Evas_Object *obj)
+ void elm_multibuttonentry_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
+ Eina_Bool elm_multibuttonentry_item_selected_get(const_Elm_Object_Item *it)
+ void elm_multibuttonentry_clear(Evas_Object *obj)
+ Elm_Object_Item *elm_multibuttonentry_item_prev_get(const_Elm_Object_Item *it)
+ Elm_Object_Item *elm_multibuttonentry_item_next_get(const_Elm_Object_Item *it)
+ void elm_multibuttonentry_item_filter_append(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data)
+ void elm_multibuttonentry_item_filter_prepend(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data)
+ void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data)
+
+ # Naviframe (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_naviframe_add(Evas_Object *parent)
+ Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const_char_ptr title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style)
+ Elm_Object_Item *elm_naviframe_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style)
+ Elm_Object_Item *elm_naviframe_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const_char_ptr item_style)
+ Evas_Object *elm_naviframe_item_pop(Evas_Object *obj)
+ void elm_naviframe_item_pop_to(Elm_Object_Item *it)
+ void elm_naviframe_item_promote(Elm_Object_Item *it)
+ void elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve)
+ Eina_Bool elm_naviframe_content_preserve_on_pop_get(Evas_Object *obj)
+ Elm_Object_Item *elm_naviframe_top_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_naviframe_bottom_item_get(Evas_Object *obj)
+ void elm_naviframe_item_style_set(Elm_Object_Item *it, const_char_ptr item_style)
+ const_char_ptr elm_naviframe_item_style_get(Elm_Object_Item *it)
+ void elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible)
+ Eina_Bool elm_naviframe_item_title_visible_get(Elm_Object_Item *it)
+ void elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed)
+ Eina_Bool elm_naviframe_prev_btn_auto_pushed_get(Evas_Object *obj)
+ Eina_List *elm_naviframe_items_get(Evas_Object *obj)
+ void elm_naviframe_event_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+ Eina_Bool elm_naviframe_event_enabled_get(Evas_Object *obj)
+ Elm_Object_Item *elm_naviframe_item_simple_push(Evas_Object *obj, Evas_Object *content)
+ void elm_naviframe_item_simple_promote(Evas_Object *obj, Evas_Object *content)
+
+ # Notify (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_notify_add(Evas_Object *parent)
+ void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent)
+ Evas_Object *elm_notify_parent_get(Evas_Object *obj)
+ void elm_notify_orient_set(Evas_Object *obj, int orient)
+ int elm_notify_orient_get(Evas_Object *obj)
+ void elm_notify_timeout_set(Evas_Object *obj, double timeout)
+ double elm_notify_timeout_get(Evas_Object *obj)
+ void elm_notify_allow_events_set(Evas_Object *obj, Eina_Bool repeat)
+ Eina_Bool elm_notify_allow_events_get(Evas_Object *obj)
+
+ # Panel (api:DONE cb:N/A test:DONE doc:DONE)
+ Evas_Object *elm_panel_add(Evas_Object *parent)
+ void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient)
+ Elm_Panel_Orient elm_panel_orient_get(Evas_Object *obj)
+ void elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden)
+ Eina_Bool elm_panel_hidden_get(Evas_Object *obj)
+ void elm_panel_toggle(Evas_Object *obj)
+
+ # Panes (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_panes_add(Evas_Object *parent)
+ void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed)
+ Eina_Bool elm_panes_fixed_get(Evas_Object *obj)
+ double elm_panes_content_left_size_get(Evas_Object *obj)
+ void elm_panes_content_left_size_set(Evas_Object *obj, double size)
+ double elm_panes_content_right_size_get(Evas_Object *obj)
+ void elm_panes_content_right_size_set(Evas_Object *obj, double size)
+ void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_panes_horizontal_get(Evas_Object *obj)
+
+ # Photo (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_photo_add(Evas_Object *parent)
+ Eina_Bool elm_photo_file_set(Evas_Object *obj, const_char_ptr file)
+ void elm_photo_thumb_set(Evas_Object *obj, const_char_ptr file, const_char_ptr group)
+ void elm_photo_size_set(Evas_Object *obj, int size)
+ void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill)
+ void elm_photo_editable_set(Evas_Object *obj, Eina_Bool editable)
+ void elm_photo_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed)
+ Eina_Bool elm_photo_aspect_fixed_get(Evas_Object *obj)
+
+ # Photocam (api:DONE cb:DONE test:TODO doc:DONE py3:DONE)
+ Evas_Object *elm_photocam_add(Evas_Object *parent)
+ Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const_char_ptr file)
+ const_char_ptr elm_photocam_file_get(Evas_Object *obj)
+ void elm_photocam_zoom_set(Evas_Object *obj, double zoom)
+ double elm_photocam_zoom_get(Evas_Object *obj)
+ void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode)
+ Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(Evas_Object *obj)
+ void elm_photocam_image_size_get(Evas_Object *obj, int *w, int *h)
+ void elm_photocam_image_region_get(Evas_Object *obj, int *x, int *y, int *w, int *h)
+ void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h)
+ void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h)
+ void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused)
+ Eina_Bool elm_photocam_paused_get(Evas_Object *obj)
+ Evas_Object *elm_photocam_internal_image_get(Evas_Object *obj)
+ void elm_photocam_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_photocam_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ void elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gesture)
+ Eina_Bool elm_photocam_gesture_enabled_get(Evas_Object *obj)
+
+ # Plug (api:DONE cb:N/A test:TODO doc:DONE py3:DONE)
+ Evas_Object *elm_plug_add(Evas_Object *parent)
+ Eina_Bool elm_plug_connect(Evas_Object *obj, const_char_ptr svcname, int svcnum, Eina_Bool svcsys)
+ Evas_Object *elm_plug_image_object_get(Evas_Object *obj)
+
+ # Popup (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_popup_add(Evas_Object *parent)
+ Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const_char_ptr label, Evas_Object *icon, Evas_Smart_Cb func, void *data)
+ void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type wrap)
+ Elm_Wrap_Type elm_popup_content_text_wrap_type_get(Evas_Object *obj)
+ void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient)
+ Elm_Popup_Orient elm_popup_orient_get(Evas_Object *obj)
+ void elm_popup_timeout_set(Evas_Object *obj, double timeout)
+ double elm_popup_timeout_get(Evas_Object *obj)
+ void elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow)
+ Eina_Bool elm_popup_allow_events_get(Evas_Object *obj)
+
+ # Progressbar (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_progressbar_add(Evas_Object *parent)
+ void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse)
+ Eina_Bool elm_progressbar_pulse_get(Evas_Object *obj)
+ void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state)
+ void elm_progressbar_value_set(Evas_Object *obj, double val)
+ double elm_progressbar_value_get(Evas_Object *obj)
+ void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size)
+ Evas_Coord elm_progressbar_span_size_get(Evas_Object *obj)
+ void elm_progressbar_unit_format_set(Evas_Object *obj, const_char_ptr format)
+ const_char_ptr elm_progressbar_unit_format_get(Evas_Object *obj)
+ void elm_progressbar_unit_format_function_set(Evas_Object *obj, char *(*format_func)(double value), void (*free_func)(char * string))
+ void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_progressbar_horizontal_get(Evas_Object *obj)
+ void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted)
+ Eina_Bool elm_progressbar_inverted_get(Evas_Object *obj)
+
+ # Radio (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_radio_add(Evas_Object *parent)
+ void elm_radio_group_add(Evas_Object *obj, Evas_Object *group)
+ void elm_radio_state_value_set(Evas_Object *obj, int value)
+ int elm_radio_state_value_get(Evas_Object *obj)
+ void elm_radio_value_set(Evas_Object *obj, int value)
+ int elm_radio_value_get(Evas_Object *obj)
+ void elm_radio_value_pointer_set(Evas_Object *obj, int *valuep)
+ Evas_Object *elm_radio_selected_object_get(Evas_Object *obj)
+
+ # Scroller (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_scroller_add(Evas_Object *parent)
+ void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const_char_ptr widget, const_char_ptr base)
+ void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h)
+ void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
+ void elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v)
+ void elm_scroller_policy_get(Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v)
+ void elm_scroller_region_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
+ void elm_scroller_child_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
+ void elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+ void elm_scroller_bounce_get(Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce)
+ void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel)
+ void elm_scroller_page_relative_get(Evas_Object *obj, double *h_pagerel, double *v_pagerel)
+ void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize)
+ void elm_scroller_current_page_get(Evas_Object *obj, int *h_pagenumber, int *v_pagenumber)
+ void elm_scroller_last_page_get(Evas_Object *obj, int *h_pagenumber, int *v_pagenumber)
+ void elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber)
+ void elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber)
+ void elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
+ void elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation)
+ Eina_Bool elm_scroller_propagate_events_get(Evas_Object *obj)
+ void elm_scroller_gravity_set(Evas_Object *obj, double x, double y)
+ void elm_scroller_gravity_get(Evas_Object *obj, double *x, double *y)
+
+ # SegmentControl (api:DONE cb:DONE test:XXX doc:DONE py3:DONE)
+ Evas_Object *elm_segment_control_add(Evas_Object *parent)
+ Elm_Object_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const_char_ptr label)
+ Elm_Object_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const_char_ptr label, int index)
+ void elm_segment_control_item_del_at(Evas_Object *obj, int index)
+ int elm_segment_control_item_count_get(Evas_Object *obj)
+ Elm_Object_Item *elm_segment_control_item_get(Evas_Object *obj, int index)
+ const_char_ptr elm_segment_control_item_label_get(Evas_Object *obj, int index)
+ Evas_Object *elm_segment_control_item_icon_get(Evas_Object *obj, int index)
+ int elm_segment_control_item_index_get(Elm_Object_Item *it)
+ Evas_Object *elm_segment_control_item_object_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_segment_control_item_selected_get(Evas_Object *obj)
+ void elm_segment_control_item_selected_set(Elm_Object_Item *it, Eina_Bool select)
+
+ # Separator (api:DONE cb:N/A test:DONE doc:DONE)
+ Evas_Object *elm_separator_add(Evas_Object *parent)
+ void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool)
+ Eina_Bool elm_separator_horizontal_get(Evas_Object *obj)
+
+ # Slider (api:TODO cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_slider_add(Evas_Object *parent)
+ void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size)
+ Evas_Coord elm_slider_span_size_get(Evas_Object *obj)
+ void elm_slider_unit_format_set(Evas_Object *obj, const_char_ptr format)
+ const_char_ptr elm_slider_unit_format_get(Evas_Object *obj)
+ void elm_slider_indicator_format_set(Evas_Object *obj, const_char_ptr indicator)
+ const_char_ptr elm_slider_indicator_format_get(Evas_Object *obj)
+ #void elm_slider_indicator_format_function_set(Evas_Object *obj, const_char_ptr (*func)(double val), void (*free_func)(const_char_ptr str))
+ #void elm_slider_units_format_function_set(Evas_Object *obj, const_char_ptr (*func)(double val), void (*free_func)(const_char_ptr str))
+ void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_slider_horizontal_get(Evas_Object *obj)
+ void elm_slider_min_max_set(Evas_Object *obj, double min, double max)
+ void elm_slider_min_max_get(Evas_Object *obj, double *min, double *max)
+ void elm_slider_value_set(Evas_Object *obj, double val)
+ double elm_slider_value_get(Evas_Object *obj)
+ void elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted)
+ Eina_Bool elm_slider_inverted_get(Evas_Object *obj)
+ void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show)
+ Eina_Bool elm_slider_indicator_show_get(Evas_Object *obj)
+
+ # Slideshow (api:DONE cb:DONE test:XXX doc:DONE py3:DONE)
+ Evas_Object *elm_slideshow_add(Evas_Object *parent)
+ Elm_Object_Item *elm_slideshow_item_add(Evas_Object *obj, Elm_Slideshow_Item_Class *itc, void *data)
+ Elm_Object_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, Elm_Slideshow_Item_Class *itc, void *data, Eina_Compare_Cb func)
+ void elm_slideshow_item_show(Elm_Object_Item *it)
+ void elm_slideshow_next(Evas_Object *obj)
+ void elm_slideshow_previous(Evas_Object *obj)
+ const_Eina_List *elm_slideshow_transitions_get(Evas_Object *obj)
+ void elm_slideshow_transition_set(Evas_Object *obj, const_char_ptr transition)
+ const_char_ptr elm_slideshow_transition_get(Evas_Object *obj)
+ void elm_slideshow_timeout_set(Evas_Object *obj, double timeout)
+ double elm_slideshow_timeout_get(Evas_Object *obj)
+ void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop)
+ Eina_Bool elm_slideshow_loop_get(Evas_Object *obj)
+ void elm_slideshow_clear(Evas_Object *obj)
+ const_Eina_List *elm_slideshow_items_get(Evas_Object *obj)
+ Elm_Object_Item *elm_slideshow_item_current_get(Evas_Object *obj)
+ Evas_Object *elm_slideshow_item_object_get(Elm_Object_Item *it)
+ Elm_Object_Item *elm_slideshow_item_nth_get(Evas_Object *obj, unsigned int nth)
+ void elm_slideshow_layout_set(Evas_Object *obj, const_char_ptr layout)
+ const_char_ptr elm_slideshow_layout_get(Evas_Object *obj)
+ const_Eina_List *elm_slideshow_layouts_get(Evas_Object *obj)
+ void elm_slideshow_cache_before_set(Evas_Object *obj, int count)
+ int elm_slideshow_cache_before_get(Evas_Object *obj)
+ void elm_slideshow_cache_after_set(Evas_Object *obj, int count)
+ int elm_slideshow_cache_after_get(Evas_Object *obj)
+ unsigned int elm_slideshow_count_get(Evas_Object *obj)
+
+ # Spinner (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_spinner_add(Evas_Object *parent)
+ void elm_spinner_label_format_set(Evas_Object *obj, const_char_ptr format)
+ const_char_ptr elm_spinner_label_format_get(Evas_Object *obj)
+ void elm_spinner_min_max_set(Evas_Object *obj, double min, double max)
+ void elm_spinner_min_max_get(Evas_Object *obj, double *min, double *max)
+ void elm_spinner_step_set(Evas_Object *obj, double step)
+ double elm_spinner_step_get(Evas_Object *obj)
+ void elm_spinner_value_set(Evas_Object *obj, double val)
+ double elm_spinner_value_get(Evas_Object *obj)
+ void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap)
+ Eina_Bool elm_spinner_wrap_get(Evas_Object *obj)
+ void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable)
+ Eina_Bool elm_spinner_editable_get(Evas_Object *obj)
+ void elm_spinner_special_value_add(Evas_Object *obj, double value, const_char_ptr label)
+ void elm_spinner_interval_set(Evas_Object *obj, double interval)
+ double elm_spinner_interval_get(Evas_Object *obj)
+ void elm_spinner_base_set(Evas_Object *obj, double base)
+ double elm_spinner_base_get(Evas_Object *obj)
+ void elm_spinner_round_set(Evas_Object *obj, int rnd)
+ int elm_spinner_round_get(Evas_Object *obj)
+
+ # Table (api:DONE cb:DONE test:DONE doc:DONE)
+ Evas_Object *elm_table_add(Evas_Object *parent)
+ void elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous)
+ Eina_Bool elm_table_homogeneous_get(Evas_Object *obj)
+ void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical)
+ void elm_table_padding_get(Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical)
+ void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h)
+ void elm_table_unpack(Evas_Object *obj, Evas_Object *subobj)
+ void elm_table_clear(Evas_Object *obj, Eina_Bool clear)
+ void elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h)
+ void elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h)
+
+ # Thumb (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_thumb_add(Evas_Object *parent)
+ void elm_thumb_reload(Evas_Object *obj)
+ void elm_thumb_file_set(Evas_Object *obj, const_char_ptr file, const_char_ptr key)
+ void elm_thumb_file_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *key)
+ void elm_thumb_path_get(Evas_Object *obj, const_char_ptr *file, const_char_ptr *key)
+ void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s)
+ Elm_Thumb_Animation_Setting elm_thumb_animate_get(Evas_Object *obj)
+ void *elm_thumb_ethumb_client_get()
+ Eina_Bool elm_thumb_ethumb_client_connected_get()
+ Eina_Bool elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit)
+ Eina_Bool elm_thumb_editable_get(Evas_Object *obj)
+
+ # Toolbar (api:TODO cb:DONE test:DONE doc:TODO py3:DONE)
+ Evas_Object *elm_toolbar_add(Evas_Object *parent)
+ void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size)
+ int elm_toolbar_icon_size_get(Evas_Object *obj)
+ void elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order)
+ Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(Evas_Object *obj)
+ Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Elm_Object_Item *elm_toolbar_first_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_toolbar_last_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_toolbar_item_next_get(Elm_Object_Item *item)
+ Elm_Object_Item *elm_toolbar_item_prev_get(Elm_Object_Item *item)
+ void elm_toolbar_item_priority_set(Elm_Object_Item *item, int priority)
+ int elm_toolbar_item_priority_get(Elm_Object_Item *item)
+ Elm_Object_Item *elm_toolbar_item_find_by_label(Evas_Object *obj, const_char_ptr label)
+ Eina_Bool elm_toolbar_item_selected_get(Elm_Object_Item *item)
+ void elm_toolbar_item_selected_set(Elm_Object_Item *item, Eina_Bool selected)
+ Elm_Object_Item *elm_toolbar_selected_item_get(Evas_Object *obj)
+ Elm_Object_Item *elm_toolbar_more_item_get(Evas_Object *obj)
+ void elm_toolbar_item_icon_set(Elm_Object_Item *item, const_char_ptr icon)
+ const_char_ptr elm_toolbar_item_icon_get(Elm_Object_Item *item)
+ Evas_Object *elm_toolbar_item_object_get(Elm_Object_Item *item)
+ Evas_Object *elm_toolbar_item_icon_object_get(Elm_Object_Item *item)
+ Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *item, const_char_ptr img, const_char_ptr size, const_char_ptr format, const_char_ptr key)
+ Eina_Bool elm_toolbar_item_icon_file_set(Elm_Object_Item *item, const_char_ptr file, const_char_ptr key)
+ void elm_toolbar_item_separator_set(Elm_Object_Item *item, Eina_Bool separator)
+ Eina_Bool elm_toolbar_item_separator_get(Elm_Object_Item *item)
+ void elm_toolbar_shrink_mode_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode)
+ Elm_Toolbar_Shrink_Mode elm_toolbar_shrink_mode_get(Evas_Object *obj)
+ void elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous)
+ Eina_Bool elm_toolbar_homogeneous_get(Evas_Object *obj)
+ void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent)
+ Evas_Object *elm_toolbar_menu_parent_get(Evas_Object *obj)
+ void elm_toolbar_align_set(Evas_Object *obj, double align)
+ double elm_toolbar_align_get(Evas_Object *obj)
+ void elm_toolbar_item_menu_set(Elm_Object_Item *item, Eina_Bool menu)
+ Evas_Object *elm_toolbar_item_menu_get(Elm_Object_Item *item)
+ Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Object_Item *item, const_char_ptr icon, const_char_ptr label, Evas_Smart_Cb func, void *data)
+ Eina_Bool elm_toolbar_item_state_del(Elm_Object_Item *item, Elm_Toolbar_Item_State *state)
+ Eina_Bool elm_toolbar_item_state_set(Elm_Object_Item *item, Elm_Toolbar_Item_State *state)
+ void elm_toolbar_item_state_unset(Elm_Object_Item *item)
+ Elm_Toolbar_Item_State *elm_toolbar_item_state_get(Elm_Object_Item *item)
+ Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Object_Item *item)
+ Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Object_Item *item)
+ void elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal)
+ Eina_Bool elm_toolbar_horizontal_get(Evas_Object *obj)
+ unsigned int elm_toolbar_items_count(Evas_Object *obj)
+ void elm_toolbar_standard_priority_set(Evas_Object *obj, int priority)
+ int elm_toolbar_standard_priority_get(Evas_Object *obj)
+ void elm_toolbar_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode)
+ Elm_Object_Select_Mode elm_toolbar_select_mode_get(Evas_Object *obj)
+
+ # Video (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_player_add(Evas_Object *parent)
+ Evas_Object *elm_video_add(Evas_Object *parent)
+ Eina_Bool elm_video_file_set(Evas_Object *video, const_char_ptr filename)
+ Evas_Object *elm_video_emotion_get(Evas_Object *video)
+ void elm_video_play(Evas_Object *video)
+ void elm_video_pause(Evas_Object *video)
+ void elm_video_stop(Evas_Object *video)
+ Eina_Bool elm_video_is_playing_get(Evas_Object *video)
+ Eina_Bool elm_video_is_seekable_get(Evas_Object *video)
+ Eina_Bool elm_video_audio_mute_get(Evas_Object *video)
+ void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute)
+ double elm_video_audio_level_get(Evas_Object *video)
+ void elm_video_audio_level_set(Evas_Object *video, double volume)
+ double elm_video_play_position_get(Evas_Object *video)
+ void elm_video_play_position_set(Evas_Object *video, double position)
+ double elm_video_play_length_get(Evas_Object *video)
+ void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember)
+ Eina_Bool elm_video_remember_position_get(Evas_Object *video)
+ const_char_ptr elm_video_title_get(Evas_Object *video)
+
+ # Web (api:TODO cb:TODO test:DONE doc:TODO py3:TODO)
+ Evas_Object *elm_web_add(Evas_Object *parent)
+ void elm_web_useragent_set(Evas_Object *obj, const_char_ptr user_agent)
+ const_char_ptr elm_web_useragent_get(Evas_Object *obj)
+ Evas_Object *elm_web_webkit_view_get(Evas_Object *obj)
+
+ void elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data)
+ void elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data)
+ void elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data)
+ void elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data)
+ void elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data)
+ void elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data)
+
+ Eina_Bool elm_web_tab_propagate_get(Evas_Object *obj)
+ void elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate)
+ Eina_Bool elm_web_uri_set(Evas_Object *obj,char *uri)
+ const_char_ptr elm_web_uri_get(Evas_Object *obj)
+ const_char_ptr elm_web_title_get(Evas_Object *obj)
+ void elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a)
+ void elm_web_bg_color_get(Evas_Object *obj, int *r, int *g, int *b, int *a)
+
+ char *elm_web_selection_get(Evas_Object *obj)
+ void elm_web_popup_selected_set(Evas_Object *obj, int index)
+ Eina_Bool elm_web_popup_destroy(Evas_Object *obj)
+
+ Eina_Bool elm_web_text_search(Evas_Object *obj, const_char_ptr string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap)
+ unsigned int elm_web_text_matches_mark(Evas_Object *obj, const_char_ptr string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit)
+ Eina_Bool elm_web_text_matches_unmark_all(Evas_Object *obj)
+ Eina_Bool elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight)
+ Eina_Bool elm_web_text_matches_highlight_get(Evas_Object *obj)
+
+ double elm_web_load_progress_get(Evas_Object *obj)
+ Eina_Bool elm_web_stop(Evas_Object *obj)
+ Eina_Bool elm_web_reload(Evas_Object *obj)
+ Eina_Bool elm_web_reload_full(Evas_Object *obj)
+ Eina_Bool elm_web_back(Evas_Object *obj)
+ Eina_Bool elm_web_forward(Evas_Object *obj)
+ Eina_Bool elm_web_navigate(Evas_Object *obj, int steps)
+
+ Eina_Bool elm_web_back_possible_get(Evas_Object *obj)
+ Eina_Bool elm_web_forward_possible_get(Evas_Object *obj)
+ Eina_Bool elm_web_navigate_possible_get(Evas_Object *obj, int steps)
+ Eina_Bool elm_web_history_enabled_get(Evas_Object *obj)
+ void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+
+ void elm_web_zoom_set(Evas_Object *obj, double zoom)
+ double elm_web_zoom_get(Evas_Object *obj)
+ void elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode)
+ Elm_Web_Zoom_Mode elm_web_zoom_mode_get(Evas_Object *obj)
+
+ void elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h)
+ void elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h)
+ void elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value)
+ Eina_Bool elm_web_inwin_mode_get(Evas_Object *obj)
+
+ Eina_Bool elm_web_window_features_property_get(Elm_Web_Window_Features *wf, Elm_Web_Window_Feature_Flag flag)
+ void elm_web_window_features_region_get(Elm_Web_Window_Features *wf, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
+
+ # Window (api:DONE cb:DONE test:DONE doc:DONE py3:DONE)
+ Evas_Object *elm_win_add(Evas_Object *parent, const_char_ptr name, Elm_Win_Type type)
+ Evas_Object *elm_win_util_standard_add(const_char_ptr name, const_char_ptr title)
+ void elm_win_resize_object_add(Evas_Object *obj, Evas_Object* subobj)
+ void elm_win_resize_object_del(Evas_Object *obj, Evas_Object* subobj)
+ void elm_win_title_set(Evas_Object *obj, const_char_ptr title)
+ const_char_ptr elm_win_title_get(Evas_Object *obj)
+ void elm_win_icon_name_set(Evas_Object *obj, const_char_ptr icon_name)
+ const_char_ptr elm_win_icon_name_get(Evas_Object *obj)
+ void elm_win_role_set(Evas_Object *obj, const_char_ptr role)
+ const_char_ptr elm_win_role_get(Evas_Object *obj)
+ void elm_win_icon_object_set(Evas_Object* obj, Evas_Object* icon)
+ const_Evas_Object *elm_win_icon_object_get(Evas_Object*)
+ void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel)
+ Eina_Bool elm_win_autodel_get(Evas_Object *obj)
+ void elm_win_activate(Evas_Object *obj)
+ void elm_win_lower(Evas_Object *obj)
+ void elm_win_raise(Evas_Object *obj)
+ void elm_win_center(Evas_Object *obj, Eina_Bool h, Eina_Bool v)
+ void elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless)
+ Eina_Bool elm_win_borderless_get(Evas_Object *obj)
+ void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped)
+ Eina_Bool elm_win_shaped_get(Evas_Object *obj)
+ void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha)
+ Eina_Bool elm_win_alpha_get(Evas_Object *obj)
+ void elm_win_override_set(Evas_Object *obj, Eina_Bool override)
+ Eina_Bool elm_win_override_get(Evas_Object *obj)
+ void elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen)
+ Eina_Bool elm_win_fullscreen_get(Evas_Object *obj)
+ void elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized)
+ Eina_Bool elm_win_maximized_get(Evas_Object *obj)
+ void elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified)
+ Eina_Bool elm_win_iconified_get(Evas_Object *obj)
+ void elm_win_withdrawn_set(Evas_Object *obj, Eina_Bool withdrawn)
+ Eina_Bool elm_win_withdrawn_get(Evas_Object *obj)
+ void elm_win_urgent_set(Evas_Object *obj, Eina_Bool urgent)
+ Eina_Bool elm_win_urgent_get(Evas_Object *obj)
+ void elm_win_demand_attention_set(Evas_Object *obj, Eina_Bool demand_attention)
+ Eina_Bool elm_win_demand_attention_get(Evas_Object *obj)
+ void elm_win_modal_set(Evas_Object *obj, Eina_Bool modal)
+ Eina_Bool elm_win_modal_get(Evas_Object *obj)
+ void elm_win_aspect_set(Evas_Object *obj, double aspect)
+ double elm_win_aspect_get(Evas_Object *obj)
+ void elm_win_size_base_set(Evas_Object *obj, int w, int h)
+ void elm_win_size_base_get(Evas_Object *obj, int *w, int *h)
+ void elm_win_size_step_set(Evas_Object *obj, int w, int h)
+ void elm_win_size_step_get(Evas_Object *obj, int *w, int *h)
+ void elm_win_layer_set(Evas_Object *obj, int layer)
+ int elm_win_layer_get(Evas_Object *obj)
+ void elm_win_rotation_set(Evas_Object *obj, int rotation)
+ void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation)
+ int elm_win_rotation_get(Evas_Object *obj)
+ void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky)
+ Eina_Bool elm_win_sticky_get(Evas_Object *obj)
+ void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant)
+ Eina_Bool elm_win_conformant_get(Evas_Object *obj)
+
+ void elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel)
+ Eina_Bool elm_win_quickpanel_get(Evas_Object *obj)
+ void elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority)
+ int elm_win_quickpanel_priority_major_get(Evas_Object *obj)
+ void elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority)
+ int elm_win_quickpanel_priority_minor_get(Evas_Object *obj)
+ void elm_win_quickpanel_zone_set(Evas_Object *obj, int zone)
+ int elm_win_quickpanel_zone_get(Evas_Object *obj)
+
+ void elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip)
+ void elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, params)
+ Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj)
+ Eina_Bool elm_win_focus_get(Evas_Object *obj)
+ void elm_win_screen_constrain_set(Evas_Object *obj, Eina_Bool constrain)
+ Eina_Bool elm_win_screen_constrain_get(Evas_Object *obj)
+ void elm_win_screen_size_get(Evas_Object *obj, int *x, int *y, int *w, int *h)
+
+ void elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled)
+ Eina_Bool elm_win_focus_highlight_enabled_get(Evas_Object *obj)
+ void elm_win_focus_highlight_style_set(Evas_Object *obj, const_char_ptr style)
+ const_char_ptr elm_win_focus_highlight_style_get(Evas_Object *obj)
+
+ void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode)
+ Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(Evas_Object *obj)
+ void elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard)
+ Eina_Bool elm_win_keyboard_win_get(Evas_Object *obj)
+
+ void elm_win_indicator_mode_set(Evas_Object *obj, Elm_Win_Indicator_Mode mode)
+ Elm_Win_Indicator_Mode elm_win_indicator_mode_get(Evas_Object *obj)
+ void elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode)
+ Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(Evas_Object *obj)
+
+ void elm_win_screen_position_get(Evas_Object *obj, int *x, int *y)
+ Eina_Bool elm_win_socket_listen(Evas_Object *obj, const_char_ptr svcname, int svcnum, Eina_Bool svcsys)
+
+ # X specific call - wont't work on non-x engines (return 0)
+ Ecore_X_Window elm_win_xwindow_get(Evas_Object *obj)
diff --git a/install-sh b/install-sh
new file mode 100755
index 0000000..a9244eb
--- /dev/null
+++ b/install-sh
@@ -0,0 +1,527 @@
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2011-01-19.21; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# `make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+no_target_directory=
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ # Protect names problematic for `test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) no_target_directory=true;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for `test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call `install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for `test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writeable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
+ shift
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/ltmain.sh b/ltmain.sh
new file mode 100755
index 0000000..3061e3c
--- /dev/null
+++ b/ltmain.sh
@@ -0,0 +1,9636 @@
+
+# libtool (GNU libtool) 2.4
+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
+# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING. If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html,
+# or obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# Usage: $progname [OPTION]... [MODE-ARG]...
+#
+# Provide generalized library-building support services.
+#
+# --config show all configuration variables
+# --debug enable verbose shell tracing
+# -n, --dry-run display commands without modifying any files
+# --features display basic configuration information and exit
+# --mode=MODE use operation mode MODE
+# --preserve-dup-deps don't remove duplicate dependency libraries
+# --quiet, --silent don't print informational messages
+# --no-quiet, --no-silent
+# print informational messages (default)
+# --tag=TAG use configuration variables from tag TAG
+# -v, --verbose print more informational messages than default
+# --no-verbose don't print the extra informational messages
+# --version print version information
+# -h, --help, --help-all print short, long, or detailed help message
+#
+# MODE must be one of the following:
+#
+# clean remove files from the build directory
+# compile compile a source file into a libtool object
+# execute automatically set library path, then run a program
+# finish complete the installation of libtool libraries
+# install install libraries or executables
+# link create a library or an executable
+# uninstall remove libraries from an installed directory
+#
+# MODE-ARGS vary depending on the MODE. When passed as first option,
+# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
+# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
+#
+# When reporting a bug, please describe a test case to reproduce it and
+# include the following information:
+#
+# host-triplet: $host
+# shell: $SHELL
+# compiler: $LTCC
+# compiler flags: $LTCFLAGS
+# linker: $LD (gnu? $with_gnu_ld)
+# $progname: (GNU libtool) 2.4
+# automake: $automake_version
+# autoconf: $autoconf_version
+#
+# Report bugs to <bug-libtool@gnu.org>.
+# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+# General help using GNU software: <http://www.gnu.org/gethelp/>.
+
+PROGRAM=libtool
+PACKAGE=libtool
+VERSION=2.4
+TIMESTAMP=""
+package_revision=1.3293
+
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
+fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
+# NLS nuisances: We save the old values to restore during execute mode.
+lt_user_locale=
+lt_safe_locale=
+for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+do
+ eval "if test \"\${$lt_var+set}\" = set; then
+ save_$lt_var=\$$lt_var
+ $lt_var=C
+ export $lt_var
+ lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
+ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
+ fi"
+done
+LC_ALL=C
+LANGUAGE=C
+export LANGUAGE LC_ALL
+
+$lt_unset CDPATH
+
+
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath="$0"
+
+
+
+: ${CP="cp -f"}
+test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
+: ${EGREP="grep -E"}
+: ${FGREP="grep -F"}
+: ${GREP="grep"}
+: ${LN_S="ln -s"}
+: ${MAKE="make"}
+: ${MKDIR="mkdir"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+: ${SED="sed"}
+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
+: ${Xsed="$SED -e 1s/^X//"}
+
+# Global variables:
+EXIT_SUCCESS=0
+EXIT_FAILURE=1
+EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
+EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
+
+exit_status=$EXIT_SUCCESS
+
+# Make sure IFS has a sensible default
+lt_nl='
+'
+IFS=" $lt_nl"
+
+dirname="s,/[^/]*$,,"
+basename="s,^.*/,,"
+
+# func_dirname file append nondir_replacement
+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+# otherwise set result to NONDIR_REPLACEMENT.
+func_dirname ()
+{
+ func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+ if test "X$func_dirname_result" = "X${1}"; then
+ func_dirname_result="${3}"
+ else
+ func_dirname_result="$func_dirname_result${2}"
+ fi
+} # func_dirname may be replaced by extended shell implementation
+
+
+# func_basename file
+func_basename ()
+{
+ func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+} # func_basename may be replaced by extended shell implementation
+
+
+# func_dirname_and_basename file append nondir_replacement
+# perform func_basename and func_dirname in a single function
+# call:
+# dirname: Compute the dirname of FILE. If nonempty,
+# add APPEND to the result, otherwise set result
+# to NONDIR_REPLACEMENT.
+# value returned in "$func_dirname_result"
+# basename: Compute filename of FILE.
+# value retuned in "$func_basename_result"
+# Implementation must be kept synchronized with func_dirname
+# and func_basename. For efficiency, we do not delegate to
+# those functions but instead duplicate the functionality here.
+func_dirname_and_basename ()
+{
+ # Extract subdirectory from the argument.
+ func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
+ if test "X$func_dirname_result" = "X${1}"; then
+ func_dirname_result="${3}"
+ else
+ func_dirname_result="$func_dirname_result${2}"
+ fi
+ func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
+} # func_dirname_and_basename may be replaced by extended shell implementation
+
+
+# func_stripname prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+# func_strip_suffix prefix name
+func_stripname ()
+{
+ case ${2} in
+ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+ esac
+} # func_stripname may be replaced by extended shell implementation
+
+
+# These SED scripts presuppose an absolute path with a trailing slash.
+pathcar='s,^/\([^/]*\).*$,\1,'
+pathcdr='s,^/[^/]*,,'
+removedotparts=':dotsl
+ s@/\./@/@g
+ t dotsl
+ s,/\.$,/,'
+collapseslashes='s@/\{1,\}@/@g'
+finalslash='s,/*$,/,'
+
+# func_normal_abspath PATH
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+# value returned in "$func_normal_abspath_result"
+func_normal_abspath ()
+{
+ # Start from root dir and reassemble the path.
+ func_normal_abspath_result=
+ func_normal_abspath_tpath=$1
+ func_normal_abspath_altnamespace=
+ case $func_normal_abspath_tpath in
+ "")
+ # Empty path, that just means $cwd.
+ func_stripname '' '/' "`pwd`"
+ func_normal_abspath_result=$func_stripname_result
+ return
+ ;;
+ # The next three entries are used to spot a run of precisely
+ # two leading slashes without using negated character classes;
+ # we take advantage of case's first-match behaviour.
+ ///*)
+ # Unusual form of absolute path, do nothing.
+ ;;
+ //*)
+ # Not necessarily an ordinary path; POSIX reserves leading '//'
+ # and for example Cygwin uses it to access remote file shares
+ # over CIFS/SMB, so we conserve a leading double slash if found.
+ func_normal_abspath_altnamespace=/
+ ;;
+ /*)
+ # Absolute path, do nothing.
+ ;;
+ *)
+ # Relative path, prepend $cwd.
+ func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+ ;;
+ esac
+ # Cancel out all the simple stuff to save iterations. We also want
+ # the path to end with a slash for ease of parsing, so make sure
+ # there is one (and only one) here.
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
+ while :; do
+ # Processed it all yet?
+ if test "$func_normal_abspath_tpath" = / ; then
+ # If we ascended to the root using ".." the result may be empty now.
+ if test -z "$func_normal_abspath_result" ; then
+ func_normal_abspath_result=/
+ fi
+ break
+ fi
+ func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$pathcar"`
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$pathcdr"`
+ # Figure out what to do with it
+ case $func_normal_abspath_tcomponent in
+ "")
+ # Trailing empty path component, ignore it.
+ ;;
+ ..)
+ # Parent dir; strip last assembled component from result.
+ func_dirname "$func_normal_abspath_result"
+ func_normal_abspath_result=$func_dirname_result
+ ;;
+ *)
+ # Actual path component, append it.
+ func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
+ ;;
+ esac
+ done
+ # Restore leading double-slash if one was found on entry.
+ func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
+}
+
+# func_relative_path SRCDIR DSTDIR
+# generates a relative path from SRCDIR to DSTDIR, with a trailing
+# slash if non-empty, suitable for immediately appending a filename
+# without needing to append a separator.
+# value returned in "$func_relative_path_result"
+func_relative_path ()
+{
+ func_relative_path_result=
+ func_normal_abspath "$1"
+ func_relative_path_tlibdir=$func_normal_abspath_result
+ func_normal_abspath "$2"
+ func_relative_path_tbindir=$func_normal_abspath_result
+
+ # Ascend the tree starting from libdir
+ while :; do
+ # check if we have found a prefix of bindir
+ case $func_relative_path_tbindir in
+ $func_relative_path_tlibdir)
+ # found an exact match
+ func_relative_path_tcancelled=
+ break
+ ;;
+ $func_relative_path_tlibdir*)
+ # found a matching prefix
+ func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+ func_relative_path_tcancelled=$func_stripname_result
+ if test -z "$func_relative_path_result"; then
+ func_relative_path_result=.
+ fi
+ break
+ ;;
+ *)
+ func_dirname $func_relative_path_tlibdir
+ func_relative_path_tlibdir=${func_dirname_result}
+ if test "x$func_relative_path_tlibdir" = x ; then
+ # Have to descend all the way to the root!
+ func_relative_path_result=../$func_relative_path_result
+ func_relative_path_tcancelled=$func_relative_path_tbindir
+ break
+ fi
+ func_relative_path_result=../$func_relative_path_result
+ ;;
+ esac
+ done
+
+ # Now calculate path; take care to avoid doubling-up slashes.
+ func_stripname '' '/' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ func_stripname '/' '/' "$func_relative_path_tcancelled"
+ if test "x$func_stripname_result" != x ; then
+ func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
+ fi
+
+ # Normalisation. If bindir is libdir, return empty string,
+ # else relative path ending with a slash; either way, target
+ # file name can be directly appended.
+ if test ! -z "$func_relative_path_result"; then
+ func_stripname './' '' "$func_relative_path_result/"
+ func_relative_path_result=$func_stripname_result
+ fi
+}
+
+# The name of this program:
+func_dirname_and_basename "$progpath"
+progname=$func_basename_result
+
+# Make sure we have an absolute path for reexecution:
+case $progpath in
+ [\\/]*|[A-Za-z]:\\*) ;;
+ *[\\/]*)
+ progdir=$func_dirname_result
+ progdir=`cd "$progdir" && pwd`
+ progpath="$progdir/$progname"
+ ;;
+ *)
+ save_IFS="$IFS"
+ IFS=:
+ for progdir in $PATH; do
+ IFS="$save_IFS"
+ test -x "$progdir/$progname" && break
+ done
+ IFS="$save_IFS"
+ test -n "$progdir" || progdir=`pwd`
+ progpath="$progdir/$progname"
+ ;;
+esac
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed="${SED}"' -e 1s/^X//'
+sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
+
+# Sed substitution that converts a w32 file name or path
+# which contains forward slashes, into one that contains
+# (escaped) backslashes. A very naive implementation.
+lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
+# Re-`\' parameter expansions in output of double_quote_subst that were
+# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
+# in input to double_quote_subst, that '$' was protected from expansion.
+# Since each input `\' is now two `\'s, look for any number of runs of
+# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
+bs='\\'
+bs2='\\\\'
+bs4='\\\\\\\\'
+dollar='\$'
+sed_double_backslash="\
+ s/$bs4/&\\
+/g
+ s/^$bs2$dollar/$bs&/
+ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
+ s/\n//g"
+
+# Standard options:
+opt_dry_run=false
+opt_help=false
+opt_quiet=false
+opt_verbose=false
+opt_warning=:
+
+# func_echo arg...
+# Echo program name prefixed message, along with the current mode
+# name if it has been set yet.
+func_echo ()
+{
+ $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
+}
+
+# func_verbose arg...
+# Echo program name prefixed message in verbose mode only.
+func_verbose ()
+{
+ $opt_verbose && func_echo ${1+"$@"}
+
+ # A bug in bash halts the script if the last line of a function
+ # fails when set -e is in force, so we need another command to
+ # work around that:
+ :
+}
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+# func_error arg...
+# Echo program name prefixed message to standard error.
+func_error ()
+{
+ $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
+}
+
+# func_warning arg...
+# Echo program name prefixed warning message to standard error.
+func_warning ()
+{
+ $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
+
+ # bash bug again:
+ :
+}
+
+# func_fatal_error arg...
+# Echo program name prefixed message to standard error, and exit.
+func_fatal_error ()
+{
+ func_error ${1+"$@"}
+ exit $EXIT_FAILURE
+}
+
+# func_fatal_help arg...
+# Echo program name prefixed message to standard error, followed by
+# a help hint, and exit.
+func_fatal_help ()
+{
+ func_error ${1+"$@"}
+ func_fatal_error "$help"
+}
+help="Try \`$progname --help' for more information." ## default
+
+
+# func_grep expression filename
+# Check whether EXPRESSION matches any line of FILENAME, without output.
+func_grep ()
+{
+ $GREP "$1" "$2" >/dev/null 2>&1
+}
+
+
+# func_mkdir_p directory-path
+# Make sure the entire path to DIRECTORY-PATH is available.
+func_mkdir_p ()
+{
+ my_directory_path="$1"
+ my_dir_list=
+
+ if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
+
+ # Protect directory names starting with `-'
+ case $my_directory_path in
+ -*) my_directory_path="./$my_directory_path" ;;
+ esac
+
+ # While some portion of DIR does not yet exist...
+ while test ! -d "$my_directory_path"; do
+ # ...make a list in topmost first order. Use a colon delimited
+ # list incase some portion of path contains whitespace.
+ my_dir_list="$my_directory_path:$my_dir_list"
+
+ # If the last portion added has no slash in it, the list is done
+ case $my_directory_path in */*) ;; *) break ;; esac
+
+ # ...otherwise throw away the child directory and loop
+ my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
+ done
+ my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
+
+ save_mkdir_p_IFS="$IFS"; IFS=':'
+ for my_dir in $my_dir_list; do
+ IFS="$save_mkdir_p_IFS"
+ # mkdir can fail with a `File exist' error if two processes
+ # try to create one of the directories concurrently. Don't
+ # stop in that case!
+ $MKDIR "$my_dir" 2>/dev/null || :
+ done
+ IFS="$save_mkdir_p_IFS"
+
+ # Bail out if we (or some other process) failed to create a directory.
+ test -d "$my_directory_path" || \
+ func_fatal_error "Failed to create \`$1'"
+ fi
+}
+
+
+# func_mktempdir [string]
+# Make a temporary directory that won't clash with other running
+# libtool processes, and avoids race conditions if possible. If
+# given, STRING is the basename for that directory.
+func_mktempdir ()
+{
+ my_template="${TMPDIR-/tmp}/${1-$progname}"
+
+ if test "$opt_dry_run" = ":"; then
+ # Return a directory name, but don't create it in dry-run mode
+ my_tmpdir="${my_template}-$$"
+ else
+
+ # If mktemp works, use that first and foremost
+ my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
+
+ if test ! -d "$my_tmpdir"; then
+ # Failing that, at least try and use $RANDOM to avoid a race
+ my_tmpdir="${my_template}-${RANDOM-0}$$"
+
+ save_mktempdir_umask=`umask`
+ umask 0077
+ $MKDIR "$my_tmpdir"
+ umask $save_mktempdir_umask
+ fi
+
+ # If we're not in dry-run mode, bomb out on failure
+ test -d "$my_tmpdir" || \
+ func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
+ fi
+
+ $ECHO "$my_tmpdir"
+}
+
+
+# func_quote_for_eval arg
+# Aesthetically quote ARG to be evaled later.
+# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
+# is double-quoted, suitable for a subsequent eval, whereas
+# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
+# which are still active within double quotes backslashified.
+func_quote_for_eval ()
+{
+ case $1 in
+ *[\\\`\"\$]*)
+ func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
+ *)
+ func_quote_for_eval_unquoted_result="$1" ;;
+ esac
+
+ case $func_quote_for_eval_unquoted_result in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting, command substitution and and variable
+ # expansion for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
+ ;;
+ *)
+ func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
+ esac
+}
+
+
+# func_quote_for_expand arg
+# Aesthetically quote ARG to be evaled later; same as above,
+# but do not quote variable references.
+func_quote_for_expand ()
+{
+ case $1 in
+ *[\\\`\"]*)
+ my_arg=`$ECHO "$1" | $SED \
+ -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
+ *)
+ my_arg="$1" ;;
+ esac
+
+ case $my_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting and command substitution for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ my_arg="\"$my_arg\""
+ ;;
+ esac
+
+ func_quote_for_expand_result="$my_arg"
+}
+
+
+# func_show_eval cmd [fail_exp]
+# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it.
+func_show_eval ()
+{
+ my_cmd="$1"
+ my_fail_exp="${2-:}"
+
+ ${opt_silent-false} || {
+ func_quote_for_expand "$my_cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+
+ if ${opt_dry_run-false}; then :; else
+ eval "$my_cmd"
+ my_status=$?
+ if test "$my_status" -eq 0; then :; else
+ eval "(exit $my_status); $my_fail_exp"
+ fi
+ fi
+}
+
+
+# func_show_eval_locale cmd [fail_exp]
+# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it. Use the saved locale for evaluation.
+func_show_eval_locale ()
+{
+ my_cmd="$1"
+ my_fail_exp="${2-:}"
+
+ ${opt_silent-false} || {
+ func_quote_for_expand "$my_cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+
+ if ${opt_dry_run-false}; then :; else
+ eval "$lt_user_locale
+ $my_cmd"
+ my_status=$?
+ eval "$lt_safe_locale"
+ if test "$my_status" -eq 0; then :; else
+ eval "(exit $my_status); $my_fail_exp"
+ fi
+ fi
+}
+
+# func_tr_sh
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result. All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+ case $1 in
+ [0-9]* | *[!a-zA-Z0-9_]*)
+ func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
+ ;;
+ * )
+ func_tr_sh_result=$1
+ ;;
+ esac
+}
+
+
+# func_version
+# Echo version message to standard output and exit.
+func_version ()
+{
+ $opt_debug
+
+ $SED -n '/(C)/!b go
+ :more
+ /\./!{
+ N
+ s/\n# / /
+ b more
+ }
+ :go
+ /^# '$PROGRAM' (GNU /,/# warranty; / {
+ s/^# //
+ s/^# *$//
+ s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
+ p
+ }' < "$progpath"
+ exit $?
+}
+
+# func_usage
+# Echo short help message to standard output and exit.
+func_usage ()
+{
+ $opt_debug
+
+ $SED -n '/^# Usage:/,/^# *.*--help/ {
+ s/^# //
+ s/^# *$//
+ s/\$progname/'$progname'/
+ p
+ }' < "$progpath"
+ echo
+ $ECHO "run \`$progname --help | more' for full usage"
+ exit $?
+}
+
+# func_help [NOEXIT]
+# Echo long help message to standard output and exit,
+# unless 'noexit' is passed as argument.
+func_help ()
+{
+ $opt_debug
+
+ $SED -n '/^# Usage:/,/# Report bugs to/ {
+ :print
+ s/^# //
+ s/^# *$//
+ s*\$progname*'$progname'*
+ s*\$host*'"$host"'*
+ s*\$SHELL*'"$SHELL"'*
+ s*\$LTCC*'"$LTCC"'*
+ s*\$LTCFLAGS*'"$LTCFLAGS"'*
+ s*\$LD*'"$LD"'*
+ s/\$with_gnu_ld/'"$with_gnu_ld"'/
+ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
+ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
+ p
+ d
+ }
+ /^# .* home page:/b print
+ /^# General help using/b print
+ ' < "$progpath"
+ ret=$?
+ if test -z "$1"; then
+ exit $ret
+ fi
+}
+
+# func_missing_arg argname
+# Echo program name prefixed message to standard error and set global
+# exit_cmd.
+func_missing_arg ()
+{
+ $opt_debug
+
+ func_error "missing argument for $1."
+ exit_cmd=exit
+}
+
+
+# func_split_short_opt shortopt
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+func_split_short_opt ()
+{
+ my_sed_short_opt='1s/^\(..\).*$/\1/;q'
+ my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
+
+ func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
+ func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
+} # func_split_short_opt may be replaced by extended shell implementation
+
+
+# func_split_long_opt longopt
+# Set func_split_long_opt_name and func_split_long_opt_arg shell
+# variables after splitting LONGOPT at the `=' sign.
+func_split_long_opt ()
+{
+ my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
+ my_sed_long_arg='1s/^--[^=]*=//'
+
+ func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
+ func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
+} # func_split_long_opt may be replaced by extended shell implementation
+
+exit_cmd=:
+
+
+
+
+
+magic="%%%MAGIC variable%%%"
+magic_exe="%%%MAGIC EXE variable%%%"
+
+# Global variables.
+nonopt=
+preserve_args=
+lo2o="s/\\.lo\$/.${objext}/"
+o2lo="s/\\.${objext}\$/.lo/"
+extracted_archives=
+extracted_serial=0
+
+# If this variable is set in any of the actions, the command in it
+# will be execed at the end. This prevents here-documents from being
+# left over by shells.
+exec_cmd=
+
+# func_append var value
+# Append VALUE to the end of shell variable VAR.
+func_append ()
+{
+ eval "${1}=\$${1}\${2}"
+} # func_append may be replaced by extended shell implementation
+
+# func_append_quoted var value
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+func_append_quoted ()
+{
+ func_quote_for_eval "${2}"
+ eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
+} # func_append_quoted may be replaced by extended shell implementation
+
+
+# func_arith arithmetic-term...
+func_arith ()
+{
+ func_arith_result=`expr "${@}"`
+} # func_arith may be replaced by extended shell implementation
+
+
+# func_len string
+# STRING may not start with a hyphen.
+func_len ()
+{
+ func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
+} # func_len may be replaced by extended shell implementation
+
+
+# func_lo2o object
+func_lo2o ()
+{
+ func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+} # func_lo2o may be replaced by extended shell implementation
+
+
+# func_xform libobj-or-source
+func_xform ()
+{
+ func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+} # func_xform may be replaced by extended shell implementation
+
+
+# func_fatal_configuration arg...
+# Echo program name prefixed message to standard error, followed by
+# a configuration failure hint, and exit.
+func_fatal_configuration ()
+{
+ func_error ${1+"$@"}
+ func_error "See the $PACKAGE documentation for more information."
+ func_fatal_error "Fatal configuration error."
+}
+
+
+# func_config
+# Display the configuration for all the tags in this script.
+func_config ()
+{
+ re_begincf='^# ### BEGIN LIBTOOL'
+ re_endcf='^# ### END LIBTOOL'
+
+ # Default configuration.
+ $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
+
+ # Now print the configurations for the tags.
+ for tagname in $taglist; do
+ $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
+ done
+
+ exit $?
+}
+
+# func_features
+# Display the features supported by this script.
+func_features ()
+{
+ echo "host: $host"
+ if test "$build_libtool_libs" = yes; then
+ echo "enable shared libraries"
+ else
+ echo "disable shared libraries"
+ fi
+ if test "$build_old_libs" = yes; then
+ echo "enable static libraries"
+ else
+ echo "disable static libraries"
+ fi
+
+ exit $?
+}
+
+# func_enable_tag tagname
+# Verify that TAGNAME is valid, and either flag an error and exit, or
+# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
+# variable here.
+func_enable_tag ()
+{
+ # Global variable:
+ tagname="$1"
+
+ re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
+ re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
+ sed_extractcf="/$re_begincf/,/$re_endcf/p"
+
+ # Validate tagname.
+ case $tagname in
+ *[!-_A-Za-z0-9,/]*)
+ func_fatal_error "invalid tag name: $tagname"
+ ;;
+ esac
+
+ # Don't test for the "default" C tag, as we know it's
+ # there but not specially marked.
+ case $tagname in
+ CC) ;;
+ *)
+ if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
+ taglist="$taglist $tagname"
+
+ # Evaluate the configuration. Be careful to quote the path
+ # and the sed script, to avoid splitting on whitespace, but
+ # also don't use non-portable quotes within backquotes within
+ # quotes we have to do it in 2 steps:
+ extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
+ eval "$extractedcf"
+ else
+ func_error "ignoring unknown tag $tagname"
+ fi
+ ;;
+ esac
+}
+
+# func_check_version_match
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
+{
+ if test "$package_revision" != "$macro_revision"; then
+ if test "$VERSION" != "$macro_version"; then
+ if test -z "$macro_version"; then
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ fi
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+ fi
+
+ exit $EXIT_MISMATCH
+ fi
+}
+
+
+# Shorthand for --mode=foo, only valid as the first argument
+case $1 in
+clean|clea|cle|cl)
+ shift; set dummy --mode clean ${1+"$@"}; shift
+ ;;
+compile|compil|compi|comp|com|co|c)
+ shift; set dummy --mode compile ${1+"$@"}; shift
+ ;;
+execute|execut|execu|exec|exe|ex|e)
+ shift; set dummy --mode execute ${1+"$@"}; shift
+ ;;
+finish|finis|fini|fin|fi|f)
+ shift; set dummy --mode finish ${1+"$@"}; shift
+ ;;
+install|instal|insta|inst|ins|in|i)
+ shift; set dummy --mode install ${1+"$@"}; shift
+ ;;
+link|lin|li|l)
+ shift; set dummy --mode link ${1+"$@"}; shift
+ ;;
+uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+ shift; set dummy --mode uninstall ${1+"$@"}; shift
+ ;;
+esac
+
+
+
+# Option defaults:
+opt_debug=:
+opt_dry_run=false
+opt_config=false
+opt_preserve_dup_deps=false
+opt_features=false
+opt_finish=false
+opt_help=false
+opt_help_all=false
+opt_silent=:
+opt_verbose=:
+opt_silent=false
+opt_verbose=false
+
+
+# Parse options once, thoroughly. This comes as soon as possible in the
+# script to make things like `--version' happen as quickly as we can.
+{
+ # this just eases exit handling
+ while test $# -gt 0; do
+ opt="$1"
+ shift
+ case $opt in
+ --debug|-x) opt_debug='set -x'
+ func_echo "enabling shell trace mode"
+ $opt_debug
+ ;;
+ --dry-run|--dryrun|-n)
+ opt_dry_run=:
+ ;;
+ --config)
+ opt_config=:
+func_config
+ ;;
+ --dlopen|-dlopen)
+ optarg="$1"
+ opt_dlopen="${opt_dlopen+$opt_dlopen
+}$optarg"
+ shift
+ ;;
+ --preserve-dup-deps)
+ opt_preserve_dup_deps=:
+ ;;
+ --features)
+ opt_features=:
+func_features
+ ;;
+ --finish)
+ opt_finish=:
+set dummy --mode finish ${1+"$@"}; shift
+ ;;
+ --help)
+ opt_help=:
+ ;;
+ --help-all)
+ opt_help_all=:
+opt_help=': help-all'
+ ;;
+ --mode)
+ test $# = 0 && func_missing_arg $opt && break
+ optarg="$1"
+ opt_mode="$optarg"
+case $optarg in
+ # Valid mode arguments:
+ clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+ # Catch anything else as an error
+ *) func_error "invalid argument for $opt"
+ exit_cmd=exit
+ break
+ ;;
+esac
+ shift
+ ;;
+ --no-silent|--no-quiet)
+ opt_silent=false
+func_append preserve_args " $opt"
+ ;;
+ --no-verbose)
+ opt_verbose=false
+func_append preserve_args " $opt"
+ ;;
+ --silent|--quiet)
+ opt_silent=:
+func_append preserve_args " $opt"
+ opt_verbose=false
+ ;;
+ --verbose|-v)
+ opt_verbose=:
+func_append preserve_args " $opt"
+opt_silent=false
+ ;;
+ --tag)
+ test $# = 0 && func_missing_arg $opt && break
+ optarg="$1"
+ opt_tag="$optarg"
+func_append preserve_args " $opt $optarg"
+func_enable_tag "$optarg"
+ shift
+ ;;
+
+ -\?|-h) func_usage ;;
+ --help) func_help ;;
+ --version) func_version ;;
+
+ # Separate optargs to long options:
+ --*=*)
+ func_split_long_opt "$opt"
+ set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate non-argument short options:
+ -\?*|-h*|-n*|-v*)
+ func_split_short_opt "$opt"
+ set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ --) break ;;
+ -*) func_fatal_help "unrecognized option \`$opt'" ;;
+ *) set dummy "$opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+ # Validate options:
+
+ # save first non-option argument
+ if test "$#" -gt 0; then
+ nonopt="$opt"
+ shift
+ fi
+
+ # preserve --debug
+ test "$opt_debug" = : || func_append preserve_args " --debug"
+
+ case $host in
+ *cygwin* | *mingw* | *pw32* | *cegcc*)
+ # don't eliminate duplications in $postdeps and $predeps
+ opt_duplicate_compiler_generated_deps=:
+ ;;
+ *)
+ opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
+ ;;
+ esac
+
+ $opt_help || {
+ # Sanity checks first:
+ func_check_version_match
+
+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+ func_fatal_configuration "not configured to build any kind of library"
+ fi
+
+ # Darwin sucks
+ eval std_shrext=\"$shrext_cmds\"
+
+ # Only execute mode is allowed to have -dlopen flags.
+ if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
+ func_error "unrecognized option \`-dlopen'"
+ $ECHO "$help" 1>&2
+ exit $EXIT_FAILURE
+ fi
+
+ # Change the help message to a mode-specific one.
+ generic_help="$help"
+ help="Try \`$progname --help --mode=$opt_mode' for more information."
+ }
+
+
+ # Bail if the options were screwed
+ $exit_cmd $EXIT_FAILURE
+}
+
+
+
+
+## ----------- ##
+## Main. ##
+## ----------- ##
+
+# func_lalib_p file
+# True iff FILE is a libtool `.la' library or `.lo' object file.
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_lalib_p ()
+{
+ test -f "$1" &&
+ $SED -e 4q "$1" 2>/dev/null \
+ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
+}
+
+# func_lalib_unsafe_p file
+# True iff FILE is a libtool `.la' library or `.lo' object file.
+# This function implements the same check as func_lalib_p without
+# resorting to external programs. To this end, it redirects stdin and
+# closes it afterwards, without saving the original file descriptor.
+# As a safety measure, use it only where a negative result would be
+# fatal anyway. Works if `file' does not exist.
+func_lalib_unsafe_p ()
+{
+ lalib_p=no
+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
+ for lalib_p_l in 1 2 3 4
+ do
+ read lalib_p_line
+ case "$lalib_p_line" in
+ \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
+ esac
+ done
+ exec 0<&5 5<&-
+ fi
+ test "$lalib_p" = yes
+}
+
+# func_ltwrapper_script_p file
+# True iff FILE is a libtool wrapper script
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_script_p ()
+{
+ func_lalib_p "$1"
+}
+
+# func_ltwrapper_executable_p file
+# True iff FILE is a libtool wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_executable_p ()
+{
+ func_ltwrapper_exec_suffix=
+ case $1 in
+ *.exe) ;;
+ *) func_ltwrapper_exec_suffix=.exe ;;
+ esac
+ $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
+}
+
+# func_ltwrapper_scriptname file
+# Assumes file is an ltwrapper_executable
+# uses $file to determine the appropriate filename for a
+# temporary ltwrapper_script.
+func_ltwrapper_scriptname ()
+{
+ func_dirname_and_basename "$1" "" "."
+ func_stripname '' '.exe' "$func_basename_result"
+ func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
+}
+
+# func_ltwrapper_p file
+# True iff FILE is a libtool wrapper script or wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_p ()
+{
+ func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
+}
+
+
+# func_execute_cmds commands fail_cmd
+# Execute tilde-delimited COMMANDS.
+# If FAIL_CMD is given, eval that upon failure.
+# FAIL_CMD may read-access the current command in variable CMD!
+func_execute_cmds ()
+{
+ $opt_debug
+ save_ifs=$IFS; IFS='~'
+ for cmd in $1; do
+ IFS=$save_ifs
+ eval cmd=\"$cmd\"
+ func_show_eval "$cmd" "${2-:}"
+ done
+ IFS=$save_ifs
+}
+
+
+# func_source file
+# Source FILE, adding directory component if necessary.
+# Note that it is not necessary on cygwin/mingw to append a dot to
+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
+# behavior happens only for exec(3), not for open(2)! Also, sourcing
+# `FILE.' does not work on cygwin managed mounts.
+func_source ()
+{
+ $opt_debug
+ case $1 in
+ */* | *\\*) . "$1" ;;
+ *) . "./$1" ;;
+ esac
+}
+
+
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot. Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+ func_resolve_sysroot_result=$1
+ case $func_resolve_sysroot_result in
+ =*)
+ func_stripname '=' '' "$func_resolve_sysroot_result"
+ func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+ ;;
+ esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+ case "$lt_sysroot:$1" in
+ ?*:"$lt_sysroot"*)
+ func_stripname "$lt_sysroot" '' "$1"
+ func_replace_sysroot_result="=$func_stripname_result"
+ ;;
+ *)
+ # Including no sysroot.
+ func_replace_sysroot_result=$1
+ ;;
+ esac
+}
+
+# func_infer_tag arg
+# Infer tagged configuration to use if any are available and
+# if one wasn't chosen via the "--tag" command line option.
+# Only attempt this if the compiler in the base compile
+# command doesn't match the default compiler.
+# arg is usually of the form 'gcc ...'
+func_infer_tag ()
+{
+ $opt_debug
+ if test -n "$available_tags" && test -z "$tagname"; then
+ CC_quoted=
+ for arg in $CC; do
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case $@ in
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when configure was run.
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
+ # Blanks at the start of $base_compile will cause this to fail
+ # if we don't check for them as well.
+ *)
+ for z in $available_tags; do
+ if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
+ CC_quoted=
+ for arg in $CC; do
+ # Double-quote args containing other shell metacharacters.
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case "$@ " in
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ func_echo "unable to infer tagged configuration"
+ func_fatal_error "specify a tag with \`--tag'"
+# else
+# func_verbose "using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+}
+
+
+
+# func_write_libtool_object output_name pic_name nonpic_name
+# Create a libtool object file (analogous to a ".la" file),
+# but don't create it if we're doing a dry run.
+func_write_libtool_object ()
+{
+ write_libobj=${1}
+ if test "$build_libtool_libs" = yes; then
+ write_lobj=\'${2}\'
+ else
+ write_lobj=none
+ fi
+
+ if test "$build_old_libs" = yes; then
+ write_oldobj=\'${3}\'
+ else
+ write_oldobj=none
+ fi
+
+ $opt_dry_run || {
+ cat >${write_libobj}T <<EOF
+# $write_libobj - a libtool object file
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object=$write_lobj
+
+# Name of the non-PIC object
+non_pic_object=$write_oldobj
+
+EOF
+ $MV "${write_libobj}T" "${write_libobj}"
+ }
+}
+
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+ $opt_debug
+ func_convert_core_file_wine_to_w32_result="$1"
+ if test -n "$1"; then
+ # Unfortunately, winepath does not exit with a non-zero error code, so we
+ # are forced to check the contents of stdout. On the other hand, if the
+ # command is not found, the shell will set an exit code of 127 and print
+ # *an error message* to stdout. So we must check for both error code of
+ # zero AND non-empty stdout, which explains the odd construction:
+ func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+ if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
+ func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+ $SED -e "$lt_sed_naive_backslashify"`
+ else
+ func_convert_core_file_wine_to_w32_result=
+ fi
+ fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+ $opt_debug
+ # unfortunately, winepath doesn't convert paths, only file names
+ func_convert_core_path_wine_to_w32_result=""
+ if test -n "$1"; then
+ oldIFS=$IFS
+ IFS=:
+ for func_convert_core_path_wine_to_w32_f in $1; do
+ IFS=$oldIFS
+ func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+ if test -n "$func_convert_core_file_wine_to_w32_result" ; then
+ if test -z "$func_convert_core_path_wine_to_w32_result"; then
+ func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
+ else
+ func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+ fi
+ fi
+ done
+ IFS=$oldIFS
+ fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+ $opt_debug
+ if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+ func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+ if test "$?" -ne 0; then
+ # on failure, ensure result is empty
+ func_cygpath_result=
+ fi
+ else
+ func_cygpath_result=
+ func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
+ fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format. Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+ $opt_debug
+ # awkward: cmd appends spaces to result
+ func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+ $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+ $opt_debug
+ if test -z "$2" && test -n "$1" ; then
+ func_error "Could not determine host file name corresponding to"
+ func_error " \`$1'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback:
+ func_to_host_file_result="$1"
+ fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+ $opt_debug
+ if test -z "$4" && test -n "$3"; then
+ func_error "Could not determine the host path corresponding to"
+ func_error " \`$3'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback. This is a deliberately simplistic "conversion" and
+ # should not be "improved". See libtool.info.
+ if test "x$1" != "x$2"; then
+ lt_replace_pathsep_chars="s|$1|$2|g"
+ func_to_host_path_result=`echo "$3" |
+ $SED -e "$lt_replace_pathsep_chars"`
+ else
+ func_to_host_path_result="$3"
+ fi
+ fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+ $opt_debug
+ case $4 in
+ $1 ) func_to_host_path_result="$3$func_to_host_path_result"
+ ;;
+ esac
+ case $4 in
+ $2 ) func_append func_to_host_path_result "$3"
+ ;;
+ esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via `$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+ $opt_debug
+ $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result. If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+ $opt_debug
+ case ,$2, in
+ *,"$to_tool_file_cmd",*)
+ func_to_tool_file_result=$1
+ ;;
+ *)
+ $to_tool_file_cmd "$1"
+ func_to_tool_file_result=$func_to_host_file_result
+ ;;
+ esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+ func_to_host_file_result="$1"
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+ $opt_debug
+ func_to_host_file_result="$1"
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_to_host_file_result="$func_convert_core_msys_to_w32_result"
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+ $opt_debug
+ func_to_host_file_result="$1"
+ if test -n "$1"; then
+ # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+ # LT_CYGPATH in this case.
+ func_to_host_file_result=`cygpath -m "$1"`
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format. Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+ $opt_debug
+ func_to_host_file_result="$1"
+ if test -n "$1"; then
+ func_convert_core_file_wine_to_w32 "$1"
+ func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+ $opt_debug
+ func_to_host_file_result="$1"
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_msys_to_w32_result"
+ func_to_host_file_result="$func_cygpath_result"
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+ $opt_debug
+ func_to_host_file_result="$1"
+ if test -n "$1"; then
+ # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+ func_convert_core_file_wine_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+ func_to_host_file_result="$func_cygpath_result"
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via `$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format. If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+# file name conversion function : func_convert_file_X_to_Y ()
+# path conversion function : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same. If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+ $opt_debug
+ if test -z "$to_host_path_cmd"; then
+ func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+ to_host_path_cmd="func_convert_path_${func_stripname_result}"
+ fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+ $opt_debug
+ func_init_to_host_path_cmd
+ $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+ func_to_host_path_result="$1"
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+ $opt_debug
+ func_to_host_path_result="$1"
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from ARG. MSYS
+ # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+ # and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result="$func_convert_core_msys_to_w32_result"
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+ $opt_debug
+ func_to_host_path_result="$1"
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format. Requires a wine environment and
+# a working winepath. Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+ $opt_debug
+ func_to_host_path_result="$1"
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+ $opt_debug
+ func_to_host_path_result="$1"
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+ func_to_host_path_result="$func_cygpath_result"
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+ $opt_debug
+ func_to_host_path_result="$1"
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from
+ # ARG. msys behavior is inconsistent here, cygpath turns them
+ # into '.;' and ';.', and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+ func_to_host_path_result="$func_cygpath_result"
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
+# func_mode_compile arg...
+func_mode_compile ()
+{
+ $opt_debug
+ # Get the compilation command and the source file.
+ base_compile=
+ srcfile="$nonopt" # always keep a non-empty value in "srcfile"
+ suppress_opt=yes
+ suppress_output=
+ arg_mode=normal
+ libobj=
+ later=
+ pie_flag=
+
+ for arg
+ do
+ case $arg_mode in
+ arg )
+ # do not "continue". Instead, add this to base_compile
+ lastarg="$arg"
+ arg_mode=normal
+ ;;
+
+ target )
+ libobj="$arg"
+ arg_mode=normal
+ continue
+ ;;
+
+ normal )
+ # Accept any command-line options.
+ case $arg in
+ -o)
+ test -n "$libobj" && \
+ func_fatal_error "you cannot specify \`-o' more than once"
+ arg_mode=target
+ continue
+ ;;
+
+ -pie | -fpie | -fPIE)
+ func_append pie_flag " $arg"
+ continue
+ ;;
+
+ -shared | -static | -prefer-pic | -prefer-non-pic)
+ func_append later " $arg"
+ continue
+ ;;
+
+ -no-suppress)
+ suppress_opt=no
+ continue
+ ;;
+
+ -Xcompiler)
+ arg_mode=arg # the next one goes into the "base_compile" arg list
+ continue # The current "srcfile" will either be retained or
+ ;; # replaced later. I would guess that would be a bug.
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ lastarg=
+ save_ifs="$IFS"; IFS=','
+ for arg in $args; do
+ IFS="$save_ifs"
+ func_append_quoted lastarg "$arg"
+ done
+ IFS="$save_ifs"
+ func_stripname ' ' '' "$lastarg"
+ lastarg=$func_stripname_result
+
+ # Add the arguments to base_compile.
+ func_append base_compile " $lastarg"
+ continue
+ ;;
+
+ *)
+ # Accept the current argument as the source file.
+ # The previous "srcfile" becomes the current argument.
+ #
+ lastarg="$srcfile"
+ srcfile="$arg"
+ ;;
+ esac # case $arg
+ ;;
+ esac # case $arg_mode
+
+ # Aesthetically quote the previous argument.
+ func_append_quoted base_compile "$lastarg"
+ done # for arg
+
+ case $arg_mode in
+ arg)
+ func_fatal_error "you must specify an argument for -Xcompile"
+ ;;
+ target)
+ func_fatal_error "you must specify a target with \`-o'"
+ ;;
+ *)
+ # Get the name of the library object.
+ test -z "$libobj" && {
+ func_basename "$srcfile"
+ libobj="$func_basename_result"
+ }
+ ;;
+ esac
+
+ # Recognize several different file suffixes.
+ # If the user specifies -o file.o, it is replaced with file.lo
+ case $libobj in
+ *.[cCFSifmso] | \
+ *.ada | *.adb | *.ads | *.asm | \
+ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
+ *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
+ func_xform "$libobj"
+ libobj=$func_xform_result
+ ;;
+ esac
+
+ case $libobj in
+ *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
+ *)
+ func_fatal_error "cannot determine name of library object from \`$libobj'"
+ ;;
+ esac
+
+ func_infer_tag $base_compile
+
+ for arg in $later; do
+ case $arg in
+ -shared)
+ test "$build_libtool_libs" != yes && \
+ func_fatal_configuration "can not build a shared library"
+ build_old_libs=no
+ continue
+ ;;
+
+ -static)
+ build_libtool_libs=no
+ build_old_libs=yes
+ continue
+ ;;
+
+ -prefer-pic)
+ pic_mode=yes
+ continue
+ ;;
+
+ -prefer-non-pic)
+ pic_mode=no
+ continue
+ ;;
+ esac
+ done
+
+ func_quote_for_eval "$libobj"
+ test "X$libobj" != "X$func_quote_for_eval_result" \
+ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
+ && func_warning "libobj name \`$libobj' may not contain shell special characters."
+ func_dirname_and_basename "$obj" "/" ""
+ objname="$func_basename_result"
+ xdir="$func_dirname_result"
+ lobj=${xdir}$objdir/$objname
+
+ test -z "$base_compile" && \
+ func_fatal_help "you must specify a compilation command"
+
+ # Delete any leftover library objects.
+ if test "$build_old_libs" = yes; then
+ removelist="$obj $lobj $libobj ${libobj}T"
+ else
+ removelist="$lobj $libobj ${libobj}T"
+ fi
+
+ # On Cygwin there's no "real" PIC flag so we must build both object types
+ case $host_os in
+ cygwin* | mingw* | pw32* | os2* | cegcc*)
+ pic_mode=default
+ ;;
+ esac
+ if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
+ # non-PIC code in shared libraries is not supported
+ pic_mode=default
+ fi
+
+ # Calculate the filename of the output object if compiler does
+ # not support -o with -c
+ if test "$compiler_c_o" = no; then
+ output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
+ lockfile="$output_obj.lock"
+ else
+ output_obj=
+ need_locks=no
+ lockfile=
+ fi
+
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test "$need_locks" = yes; then
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ elif test "$need_locks" = warn; then
+ if test -f "$lockfile"; then
+ $ECHO "\
+*** ERROR, $lockfile exists and contains:
+`cat $lockfile 2>/dev/null`
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+ func_append removelist " $output_obj"
+ $ECHO "$srcfile" > "$lockfile"
+ fi
+
+ $opt_dry_run || $RM $removelist
+ func_append removelist " $lockfile"
+ trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
+
+ func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+ srcfile=$func_to_tool_file_result
+ func_quote_for_eval "$srcfile"
+ qsrcfile=$func_quote_for_eval_result
+
+ # Only build a PIC object if we are building libtool libraries.
+ if test "$build_libtool_libs" = yes; then
+ # Without this assignment, base_compile gets emptied.
+ fbsd_hideous_sh_bug=$base_compile
+
+ if test "$pic_mode" != no; then
+ command="$base_compile $qsrcfile $pic_flag"
+ else
+ # Don't build PIC code
+ command="$base_compile $qsrcfile"
+ fi
+
+ func_mkdir_p "$xdir$objdir"
+
+ if test -z "$output_obj"; then
+ # Place PIC objects in $objdir
+ func_append command " -o $lobj"
+ fi
+
+ func_show_eval_locale "$command" \
+ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
+
+ if test "$need_locks" = warn &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed, then go on to compile the next one
+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
+ func_show_eval '$MV "$output_obj" "$lobj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+
+ # Allow error messages only from the first compilation.
+ if test "$suppress_opt" = yes; then
+ suppress_output=' >/dev/null 2>&1'
+ fi
+ fi
+
+ # Only build a position-dependent object if we build old libraries.
+ if test "$build_old_libs" = yes; then
+ if test "$pic_mode" != yes; then
+ # Don't build PIC code
+ command="$base_compile $qsrcfile$pie_flag"
+ else
+ command="$base_compile $qsrcfile $pic_flag"
+ fi
+ if test "$compiler_c_o" = yes; then
+ func_append command " -o $obj"
+ fi
+
+ # Suppress compiler output if we already did a PIC compilation.
+ func_append command "$suppress_output"
+ func_show_eval_locale "$command" \
+ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
+
+ if test "$need_locks" = warn &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed
+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ func_show_eval '$MV "$output_obj" "$obj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+ fi
+
+ $opt_dry_run || {
+ func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
+
+ # Unlock the critical section if it was locked
+ if test "$need_locks" != no; then
+ removelist=$lockfile
+ $RM "$lockfile"
+ fi
+ }
+
+ exit $EXIT_SUCCESS
+}
+
+$opt_help || {
+ test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
+}
+
+func_mode_help ()
+{
+ # We need to display help for each of the modes.
+ case $opt_mode in
+ "")
+ # Generic help is extracted from the usage comments
+ # at the start of this file.
+ func_help
+ ;;
+
+ clean)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
+
+Remove files from the build directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+to RM.
+
+If FILE is a libtool library, object or program, all the files associated
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ compile)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
+
+Compile a source file into a libtool library object.
+
+This mode accepts the following additional options:
+
+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
+ -no-suppress do not suppress compiler output for multiple passes
+ -prefer-pic try to build PIC objects only
+ -prefer-non-pic try to build non-PIC objects only
+ -shared do not build a \`.o' file suitable for static linking
+ -static only build a \`.o' file suitable for static linking
+ -Wc,FLAG pass FLAG directly to the compiler
+
+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+from the given SOURCEFILE.
+
+The output file name is determined by removing the directory component from
+SOURCEFILE, then substituting the C source code suffix \`.c' with the
+library object suffix, \`.lo'."
+ ;;
+
+ execute)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
+
+Automatically set library path, then run a program.
+
+This mode accepts the following additional options:
+
+ -dlopen FILE add the directory containing FILE to the library path
+
+This mode sets the library path environment variable according to \`-dlopen'
+flags.
+
+If any of the ARGS are libtool executable wrappers, then they are translated
+into their corresponding uninstalled binary, and any of their required library
+directories are added to the library path.
+
+Then, COMMAND is executed, with ARGS as arguments."
+ ;;
+
+ finish)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
+
+Complete the installation of libtool libraries.
+
+Each LIBDIR is a directory that contains libtool libraries.
+
+The commands that this mode executes may require superuser privileges. Use
+the \`--dry-run' option if you just want to see what would be executed."
+ ;;
+
+ install)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
+
+Install executables or libraries.
+
+INSTALL-COMMAND is the installation command. The first component should be
+either the \`install' or \`cp' program.
+
+The following components of INSTALL-COMMAND are treated specially:
+
+ -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
+
+The rest of the components are interpreted as arguments to that command (only
+BSD-compatible install options are recognized)."
+ ;;
+
+ link)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
+
+Link object files or libraries together to form another library, or to
+create an executable program.
+
+LINK-COMMAND is a command using the C compiler that you would use to create
+a program from several object files.
+
+The following components of LINK-COMMAND are treated specially:
+
+ -all-static do not do any dynamic linking at all
+ -avoid-version do not add a version suffix if possible
+ -bindir BINDIR specify path to binaries directory (for systems where
+ libraries must be found in the PATH setting at runtime)
+ -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+ -export-symbols SYMFILE
+ try to export only the symbols listed in SYMFILE
+ -export-symbols-regex REGEX
+ try to export only the symbols matching REGEX
+ -LLIBDIR search LIBDIR for required installed libraries
+ -lNAME OUTPUT-FILE requires the installed library libNAME
+ -module build a library that can dlopened
+ -no-fast-install disable the fast-install mode
+ -no-install link a not-installable executable
+ -no-undefined declare that a library does not refer to external symbols
+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+ -objectlist FILE Use a list of object files found in FILE to specify objects
+ -precious-files-regex REGEX
+ don't remove output files matching REGEX
+ -release RELEASE specify package release information
+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+ -shared only do dynamic linking of libtool libraries
+ -shrext SUFFIX override the standard shared library file extension
+ -static do not do any dynamic linking of uninstalled libtool libraries
+ -static-libtool-libs
+ do not do any dynamic linking of libtool libraries
+ -version-info CURRENT[:REVISION[:AGE]]
+ specify library version info [each variable defaults to 0]
+ -weak LIBNAME declare that the target provides the LIBNAME interface
+ -Wc,FLAG
+ -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
+ -Wl,FLAG
+ -Xlinker FLAG pass linker-specific FLAG directly to the linker
+ -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
+
+All other options (arguments beginning with \`-') are ignored.
+
+Every other argument is treated as a filename. Files ending in \`.la' are
+treated as uninstalled libtool libraries, other files are standard or library
+object files.
+
+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
+only library objects (\`.lo' files) may be specified, and \`-rpath' is
+required, except when creating a convenience library.
+
+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
+using \`ar' and \`ranlib', or on Windows using \`lib'.
+
+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
+is created, otherwise an executable program is created."
+ ;;
+
+ uninstall)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+
+Remove libraries from an installation directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+to RM.
+
+If FILE is a libtool library, all the files associated with it are deleted.
+Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ *)
+ func_fatal_help "invalid operation mode \`$opt_mode'"
+ ;;
+ esac
+
+ echo
+ $ECHO "Try \`$progname --help' for more information about other modes."
+}
+
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+ if test "$opt_help" = :; then
+ func_mode_help
+ else
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ func_mode_help
+ done
+ } | sed -n '1p; 2,$s/^Usage:/ or: /p'
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ echo
+ func_mode_help
+ done
+ } |
+ sed '1d
+ /^When reporting/,/^Report/{
+ H
+ d
+ }
+ $x
+ /information about other modes/d
+ /more detailed .*MODE/d
+ s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+ fi
+ exit $?
+fi
+
+
+# func_mode_execute arg...
+func_mode_execute ()
+{
+ $opt_debug
+ # The first argument is the command name.
+ cmd="$nonopt"
+ test -z "$cmd" && \
+ func_fatal_help "you must specify a COMMAND"
+
+ # Handle -dlopen flags immediately.
+ for file in $opt_dlopen; do
+ test -f "$file" \
+ || func_fatal_help "\`$file' is not a file"
+
+ dir=
+ case $file in
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "\`$lib' is not a valid libtool archive"
+
+ # Read the libtool library.
+ dlname=
+ library_names=
+ func_source "$file"
+
+ # Skip this library if it cannot be dlopened.
+ if test -z "$dlname"; then
+ # Warn if it was a shared library.
+ test -n "$library_names" && \
+ func_warning "\`$file' was not linked with \`-export-dynamic'"
+ continue
+ fi
+
+ func_dirname "$file" "" "."
+ dir="$func_dirname_result"
+
+ if test -f "$dir/$objdir/$dlname"; then
+ func_append dir "/$objdir"
+ else
+ if test ! -f "$dir/$dlname"; then
+ func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
+ fi
+ fi
+ ;;
+
+ *.lo)
+ # Just add the directory containing the .lo file.
+ func_dirname "$file" "" "."
+ dir="$func_dirname_result"
+ ;;
+
+ *)
+ func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
+ continue
+ ;;
+ esac
+
+ # Get the absolute pathname.
+ absdir=`cd "$dir" && pwd`
+ test -n "$absdir" && dir="$absdir"
+
+ # Now add the directory to shlibpath_var.
+ if eval "test -z \"\$$shlibpath_var\""; then
+ eval "$shlibpath_var=\"\$dir\""
+ else
+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
+ fi
+ done
+
+ # This variable tells wrapper scripts just to set shlibpath_var
+ # rather than running their programs.
+ libtool_execute_magic="$magic"
+
+ # Check if any of the arguments is a wrapper script.
+ args=
+ for file
+ do
+ case $file in
+ -* | *.la | *.lo ) ;;
+ *)
+ # Do a test to see if this is really a libtool program.
+ if func_ltwrapper_script_p "$file"; then
+ func_source "$file"
+ # Transform arg to wrapped name.
+ file="$progdir/$program"
+ elif func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ func_source "$func_ltwrapper_scriptname_result"
+ # Transform arg to wrapped name.
+ file="$progdir/$program"
+ fi
+ ;;
+ esac
+ # Quote arguments (to preserve shell metacharacters).
+ func_append_quoted args "$file"
+ done
+
+ if test "X$opt_dry_run" = Xfalse; then
+ if test -n "$shlibpath_var"; then
+ # Export the shlibpath_var.
+ eval "export $shlibpath_var"
+ fi
+
+ # Restore saved environment variables
+ for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+ do
+ eval "if test \"\${save_$lt_var+set}\" = set; then
+ $lt_var=\$save_$lt_var; export $lt_var
+ else
+ $lt_unset $lt_var
+ fi"
+ done
+
+ # Now prepare to actually exec the command.
+ exec_cmd="\$cmd$args"
+ else
+ # Display what would be done.
+ if test -n "$shlibpath_var"; then
+ eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
+ echo "export $shlibpath_var"
+ fi
+ $ECHO "$cmd$args"
+ exit $EXIT_SUCCESS
+ fi
+}
+
+test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
+
+
+# func_mode_finish arg...
+func_mode_finish ()
+{
+ $opt_debug
+ libs=
+ libdirs=
+ admincmds=
+
+ for opt in "$nonopt" ${1+"$@"}
+ do
+ if test -d "$opt"; then
+ func_append libdirs " $opt"
+
+ elif test -f "$opt"; then
+ if func_lalib_unsafe_p "$opt"; then
+ func_append libs " $opt"
+ else
+ func_warning "\`$opt' is not a valid libtool archive"
+ fi
+
+ else
+ func_fatal_error "invalid argument \`$opt'"
+ fi
+ done
+
+ if test -n "$libs"; then
+ if test -n "$lt_sysroot"; then
+ sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+ sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+ else
+ sysroot_cmd=
+ fi
+
+ # Remove sysroot references
+ if $opt_dry_run; then
+ for lib in $libs; do
+ echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
+ done
+ else
+ tmpdir=`func_mktempdir`
+ for lib in $libs; do
+ sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+ > $tmpdir/tmp-la
+ mv -f $tmpdir/tmp-la $lib
+ done
+ ${RM}r "$tmpdir"
+ fi
+ fi
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ for libdir in $libdirs; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
+'"$cmd"'"'
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ eval cmds=\"$finish_eval\"
+ $opt_dry_run || eval "$cmds" || func_append admincmds "
+ $cmds"
+ fi
+ done
+ fi
+
+ # Exit here if they wanted silent mode.
+ $opt_silent && exit $EXIT_SUCCESS
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ echo "----------------------------------------------------------------------"
+ echo "Libraries have been installed in:"
+ for libdir in $libdirs; do
+ $ECHO " $libdir"
+ done
+ echo
+ echo "If you ever happen to want to link against installed libraries"
+ echo "in a given directory, LIBDIR, you must either use libtool, and"
+ echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+ echo "flag during linking and do at least one of the following:"
+ if test -n "$shlibpath_var"; then
+ echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
+ echo " during execution"
+ fi
+ if test -n "$runpath_var"; then
+ echo " - add LIBDIR to the \`$runpath_var' environment variable"
+ echo " during linking"
+ fi
+ if test -n "$hardcode_libdir_flag_spec"; then
+ libdir=LIBDIR
+ eval flag=\"$hardcode_libdir_flag_spec\"
+
+ $ECHO " - use the \`$flag' linker flag"
+ fi
+ if test -n "$admincmds"; then
+ $ECHO " - have your system administrator run these commands:$admincmds"
+ fi
+ if test -f /etc/ld.so.conf; then
+ echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+ fi
+ echo
+
+ echo "See any operating system documentation about shared libraries for"
+ case $host in
+ solaris2.[6789]|solaris2.1[0-9])
+ echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+ echo "pages."
+ ;;
+ *)
+ echo "more information, such as the ld(1) and ld.so(8) manual pages."
+ ;;
+ esac
+ echo "----------------------------------------------------------------------"
+ fi
+ exit $EXIT_SUCCESS
+}
+
+test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
+
+
+# func_mode_install arg...
+func_mode_install ()
+{
+ $opt_debug
+ # There may be an optional sh(1) argument at the beginning of
+ # install_prog (especially on Windows NT).
+ if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
+ # Allow the use of GNU shtool's install command.
+ case $nonopt in *shtool*) :;; *) false;; esac; then
+ # Aesthetically quote it.
+ func_quote_for_eval "$nonopt"
+ install_prog="$func_quote_for_eval_result "
+ arg=$1
+ shift
+ else
+ install_prog=
+ arg=$nonopt
+ fi
+
+ # The real first argument should be the name of the installation program.
+ # Aesthetically quote it.
+ func_quote_for_eval "$arg"
+ func_append install_prog "$func_quote_for_eval_result"
+ install_shared_prog=$install_prog
+ case " $install_prog " in
+ *[\\\ /]cp\ *) install_cp=: ;;
+ *) install_cp=false ;;
+ esac
+
+ # We need to accept at least all the BSD install flags.
+ dest=
+ files=
+ opts=
+ prev=
+ install_type=
+ isdir=no
+ stripme=
+ no_mode=:
+ for arg
+ do
+ arg2=
+ if test -n "$dest"; then
+ func_append files " $dest"
+ dest=$arg
+ continue
+ fi
+
+ case $arg in
+ -d) isdir=yes ;;
+ -f)
+ if $install_cp; then :; else
+ prev=$arg
+ fi
+ ;;
+ -g | -m | -o)
+ prev=$arg
+ ;;
+ -s)
+ stripme=" -s"
+ continue
+ ;;
+ -*)
+ ;;
+ *)
+ # If the previous option needed an argument, then skip it.
+ if test -n "$prev"; then
+ if test "x$prev" = x-m && test -n "$install_override_mode"; then
+ arg2=$install_override_mode
+ no_mode=false
+ fi
+ prev=
+ else
+ dest=$arg
+ continue
+ fi
+ ;;
+ esac
+
+ # Aesthetically quote the argument.
+ func_quote_for_eval "$arg"
+ func_append install_prog " $func_quote_for_eval_result"
+ if test -n "$arg2"; then
+ func_quote_for_eval "$arg2"
+ fi
+ func_append install_shared_prog " $func_quote_for_eval_result"
+ done
+
+ test -z "$install_prog" && \
+ func_fatal_help "you must specify an install program"
+
+ test -n "$prev" && \
+ func_fatal_help "the \`$prev' option requires an argument"
+
+ if test -n "$install_override_mode" && $no_mode; then
+ if $install_cp; then :; else
+ func_quote_for_eval "$install_override_mode"
+ func_append install_shared_prog " -m $func_quote_for_eval_result"
+ fi
+ fi
+
+ if test -z "$files"; then
+ if test -z "$dest"; then
+ func_fatal_help "no file or destination specified"
+ else
+ func_fatal_help "you must specify a destination"
+ fi
+ fi
+
+ # Strip any trailing slash from the destination.
+ func_stripname '' '/' "$dest"
+ dest=$func_stripname_result
+
+ # Check to see that the destination is a directory.
+ test -d "$dest" && isdir=yes
+ if test "$isdir" = yes; then
+ destdir="$dest"
+ destname=
+ else
+ func_dirname_and_basename "$dest" "" "."
+ destdir="$func_dirname_result"
+ destname="$func_basename_result"
+
+ # Not a directory, so check to see that there is only one file specified.
+ set dummy $files; shift
+ test "$#" -gt 1 && \
+ func_fatal_help "\`$dest' is not a directory"
+ fi
+ case $destdir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ for file in $files; do
+ case $file in
+ *.lo) ;;
+ *)
+ func_fatal_help "\`$destdir' must be an absolute directory name"
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic="$magic"
+
+ staticlibs=
+ future_libdirs=
+ current_libdirs=
+ for file in $files; do
+
+ # Do each installation.
+ case $file in
+ *.$libext)
+ # Do the static libraries later.
+ func_append staticlibs " $file"
+ ;;
+
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "\`$file' is not a valid libtool archive"
+
+ library_names=
+ old_library=
+ relink_command=
+ func_source "$file"
+
+ # Add the libdir to current_libdirs if it is the destination.
+ if test "X$destdir" = "X$libdir"; then
+ case "$current_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append current_libdirs " $libdir" ;;
+ esac
+ else
+ # Note the libdir as a future libdir.
+ case "$future_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append future_libdirs " $libdir" ;;
+ esac
+ fi
+
+ func_dirname "$file" "/" ""
+ dir="$func_dirname_result"
+ func_append dir "$objdir"
+
+ if test -n "$relink_command"; then
+ # Determine the prefix the user has applied to our future dir.
+ inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
+
+ # Don't allow the user to place us outside of our expected
+ # location b/c this prevents finding dependent libraries that
+ # are installed to the same prefix.
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+ test "$inst_prefix_dir" = "$destdir" && \
+ func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+ else
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
+ fi
+
+ func_warning "relinking \`$file'"
+ func_show_eval "$relink_command" \
+ 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
+ fi
+
+ # See the names of the shared library.
+ set dummy $library_names; shift
+ if test -n "$1"; then
+ realname="$1"
+ shift
+
+ srcname="$realname"
+ test -n "$relink_command" && srcname="$realname"T
+
+ # Install the shared library and build the symlinks.
+ func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
+ 'exit $?'
+ tstripme="$stripme"
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $realname in
+ *.dll.a)
+ tstripme=""
+ ;;
+ esac
+ ;;
+ esac
+ if test -n "$tstripme" && test -n "$striplib"; then
+ func_show_eval "$striplib $destdir/$realname" 'exit $?'
+ fi
+
+ if test "$#" -gt 0; then
+ # Delete the old symlinks, and create new ones.
+ # Try `ln -sf' first, because the `ln' binary might depend on
+ # the symlink we replace! Solaris /bin/ln does not understand -f,
+ # so we also need to try rm && ln -s.
+ for linkname
+ do
+ test "$linkname" != "$realname" \
+ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
+ done
+ fi
+
+ # Do each command in the postinstall commands.
+ lib="$destdir/$realname"
+ func_execute_cmds "$postinstall_cmds" 'exit $?'
+ fi
+
+ # Install the pseudo-library for information purposes.
+ func_basename "$file"
+ name="$func_basename_result"
+ instname="$dir/$name"i
+ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && func_append staticlibs " $dir/$old_library"
+ ;;
+
+ *.lo)
+ # Install (i.e. copy) a libtool object.
+
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile="$destdir/$destname"
+ else
+ func_basename "$file"
+ destfile="$func_basename_result"
+ destfile="$destdir/$destfile"
+ fi
+
+ # Deduce the name of the destination old-style object file.
+ case $destfile in
+ *.lo)
+ func_lo2o "$destfile"
+ staticdest=$func_lo2o_result
+ ;;
+ *.$objext)
+ staticdest="$destfile"
+ destfile=
+ ;;
+ *)
+ func_fatal_help "cannot copy a libtool object to \`$destfile'"
+ ;;
+ esac
+
+ # Install the libtool object if requested.
+ test -n "$destfile" && \
+ func_show_eval "$install_prog $file $destfile" 'exit $?'
+
+ # Install the old object if enabled.
+ if test "$build_old_libs" = yes; then
+ # Deduce the name of the old-style object file.
+ func_lo2o "$file"
+ staticobj=$func_lo2o_result
+ func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
+ fi
+ exit $EXIT_SUCCESS
+ ;;
+
+ *)
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile="$destdir/$destname"
+ else
+ func_basename "$file"
+ destfile="$func_basename_result"
+ destfile="$destdir/$destfile"
+ fi
+
+ # If the file is missing, and there is a .exe on the end, strip it
+ # because it is most likely a libtool script we actually want to
+ # install
+ stripped_ext=""
+ case $file in
+ *.exe)
+ if test ! -f "$file"; then
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ stripped_ext=".exe"
+ fi
+ ;;
+ esac
+
+ # Do a test to see if this is really a libtool program.
+ case $host in
+ *cygwin* | *mingw*)
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ wrapper=$func_ltwrapper_scriptname_result
+ else
+ func_stripname '' '.exe' "$file"
+ wrapper=$func_stripname_result
+ fi
+ ;;
+ *)
+ wrapper=$file
+ ;;
+ esac
+ if func_ltwrapper_script_p "$wrapper"; then
+ notinst_deplibs=
+ relink_command=
+
+ func_source "$wrapper"
+
+ # Check the variables that should have been set.
+ test -z "$generated_by_libtool_version" && \
+ func_fatal_error "invalid libtool wrapper script \`$wrapper'"
+
+ finalize=yes
+ for lib in $notinst_deplibs; do
+ # Check to see that each library is installed.
+ libdir=
+ if test -f "$lib"; then
+ func_source "$lib"
+ fi
+ libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
+ if test -n "$libdir" && test ! -f "$libfile"; then
+ func_warning "\`$lib' has not been installed in \`$libdir'"
+ finalize=no
+ fi
+ done
+
+ relink_command=
+ func_source "$wrapper"
+
+ outputname=
+ if test "$fast_install" = no && test -n "$relink_command"; then
+ $opt_dry_run || {
+ if test "$finalize" = yes; then
+ tmpdir=`func_mktempdir`
+ func_basename "$file$stripped_ext"
+ file="$func_basename_result"
+ outputname="$tmpdir/$file"
+ # Replace the output file specification.
+ relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
+
+ $opt_silent || {
+ func_quote_for_expand "$relink_command"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ if eval "$relink_command"; then :
+ else
+ func_error "error: relink \`$file' with the above command before installing it"
+ $opt_dry_run || ${RM}r "$tmpdir"
+ continue
+ fi
+ file="$outputname"
+ else
+ func_warning "cannot relink \`$file'"
+ fi
+ }
+ else
+ # Install the binary that we compiled earlier.
+ file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
+ fi
+ fi
+
+ # remove .exe since cygwin /usr/bin/install will append another
+ # one anyway
+ case $install_prog,$host in
+ */usr/bin/install*,*cygwin*)
+ case $file:$destfile in
+ *.exe:*.exe)
+ # this is ok
+ ;;
+ *.exe:*)
+ destfile=$destfile.exe
+ ;;
+ *:*.exe)
+ func_stripname '' '.exe' "$destfile"
+ destfile=$func_stripname_result
+ ;;
+ esac
+ ;;
+ esac
+ func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
+ $opt_dry_run || if test -n "$outputname"; then
+ ${RM}r "$tmpdir"
+ fi
+ ;;
+ esac
+ done
+
+ for file in $staticlibs; do
+ func_basename "$file"
+ name="$func_basename_result"
+
+ # Set up the ranlib parameters.
+ oldlib="$destdir/$name"
+
+ func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
+
+ if test -n "$stripme" && test -n "$old_striplib"; then
+ func_show_eval "$old_striplib $oldlib" 'exit $?'
+ fi
+
+ # Do each command in the postinstall commands.
+ func_execute_cmds "$old_postinstall_cmds" 'exit $?'
+ done
+
+ test -n "$future_libdirs" && \
+ func_warning "remember to run \`$progname --finish$future_libdirs'"
+
+ if test -n "$current_libdirs"; then
+ # Maybe just do a dry run.
+ $opt_dry_run && current_libdirs=" -n$current_libdirs"
+ exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
+ else
+ exit $EXIT_SUCCESS
+ fi
+}
+
+test "$opt_mode" = install && func_mode_install ${1+"$@"}
+
+
+# func_generate_dlsyms outputname originator pic_p
+# Extract symbols from dlprefiles and create ${outputname}S.o with
+# a dlpreopen symbol table.
+func_generate_dlsyms ()
+{
+ $opt_debug
+ my_outputname="$1"
+ my_originator="$2"
+ my_pic_p="${3-no}"
+ my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
+ my_dlsyms=
+
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ if test -n "$NM" && test -n "$global_symbol_pipe"; then
+ my_dlsyms="${my_outputname}S.c"
+ else
+ func_error "not configured to extract global symbols from dlpreopened files"
+ fi
+ fi
+
+ if test -n "$my_dlsyms"; then
+ case $my_dlsyms in
+ "") ;;
+ *.c)
+ # Discover the nlist of each of the dlfiles.
+ nlist="$output_objdir/${my_outputname}.nm"
+
+ func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
+
+ # Parse the name list into a source file.
+ func_verbose "creating $output_objdir/$my_dlsyms"
+
+ $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
+/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
+/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
+
+#ifdef __cplusplus
+extern \"C\" {
+#endif
+
+#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+/* External symbol declarations for the compiler. */\
+"
+
+ if test "$dlself" = yes; then
+ func_verbose "generating symbol list for \`$output'"
+
+ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
+
+ # Add our own program objects to the symbol list.
+ progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ for progfile in $progfiles; do
+ func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+ func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
+ $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -n "$exclude_expsyms"; then
+ $opt_dry_run || {
+ eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ if test -n "$export_symbols_regex"; then
+ $opt_dry_run || {
+ eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ export_symbols="$output_objdir/$outputname.exp"
+ $opt_dry_run || {
+ $RM $export_symbols
+ eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ else
+ $opt_dry_run || {
+ eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
+ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ fi
+ fi
+
+ for dlprefile in $dlprefiles; do
+ func_verbose "extracting global C symbols from \`$dlprefile'"
+ func_basename "$dlprefile"
+ name="$func_basename_result"
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ # if an import library, we need to obtain dlname
+ if func_win32_import_lib_p "$dlprefile"; then
+ func_tr_sh "$dlprefile"
+ eval "curr_lafile=\$libfile_$func_tr_sh_result"
+ dlprefile_dlbasename=""
+ if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+ # Use subshell, to avoid clobbering current variable values
+ dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+ if test -n "$dlprefile_dlname" ; then
+ func_basename "$dlprefile_dlname"
+ dlprefile_dlbasename="$func_basename_result"
+ else
+ # no lafile. user explicitly requested -dlpreopen <import library>.
+ $sharedlib_from_linklib_cmd "$dlprefile"
+ dlprefile_dlbasename=$sharedlib_from_linklib_result
+ fi
+ fi
+ $opt_dry_run || {
+ if test -n "$dlprefile_dlbasename" ; then
+ eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+ else
+ func_warning "Could not compute DLL name from $name"
+ eval '$ECHO ": $name " >> "$nlist"'
+ fi
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+ $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+ }
+ else # not an import lib
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ fi
+ ;;
+ *)
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ ;;
+ esac
+ done
+
+ $opt_dry_run || {
+ # Make sure we have at least an empty file.
+ test -f "$nlist" || : > "$nlist"
+
+ if test -n "$exclude_expsyms"; then
+ $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ $MV "$nlist"T "$nlist"
+ fi
+
+ # Try sorting and uniquifying the output.
+ if $GREP -v "^: " < "$nlist" |
+ if sort -k 3 </dev/null >/dev/null 2>&1; then
+ sort -k 3
+ else
+ sort +2
+ fi |
+ uniq > "$nlist"S; then
+ :
+ else
+ $GREP -v "^: " < "$nlist" > "$nlist"S
+ fi
+
+ if test -f "$nlist"S; then
+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
+ else
+ echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
+ fi
+
+ echo >> "$output_objdir/$my_dlsyms" "\
+
+/* The mapping between symbol names and symbols. */
+typedef struct {
+ const char *name;
+ void *address;
+} lt_dlsymlist;
+extern LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[];
+LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[] =
+{\
+ { \"$my_originator\", (void *) 0 },"
+
+ case $need_lib_prefix in
+ no)
+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ *)
+ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ esac
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt_${my_prefix}_LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif\
+"
+ } # !$opt_dry_run
+
+ pic_flag_for_symtable=
+ case "$compile_command " in
+ *" -static "*) ;;
+ *)
+ case $host in
+ # compiling the symbol table file with pic_flag works around
+ # a FreeBSD bug that causes programs to crash when -lm is
+ # linked before any other PIC object. But we must not use
+ # pic_flag when linking with -static. The problem exists in
+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
+ *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
+ *-*-hpux*)
+ pic_flag_for_symtable=" $pic_flag" ;;
+ *)
+ if test "X$my_pic_p" != Xno; then
+ pic_flag_for_symtable=" $pic_flag"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ symtab_cflags=
+ for arg in $LTCFLAGS; do
+ case $arg in
+ -pie | -fpie | -fPIE) ;;
+ *) func_append symtab_cflags " $arg" ;;
+ esac
+ done
+
+ # Now compile the dynamic symbol file.
+ func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
+
+ # Clean up the generated files.
+ func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
+
+ # Transform the symbol file into the correct name.
+ symfileobj="$output_objdir/${my_outputname}S.$objext"
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ if test -f "$output_objdir/$my_outputname.def"; then
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ else
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ fi
+ ;;
+ *)
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ ;;
+ esac
+ ;;
+ *)
+ func_fatal_error "unknown suffix for \`$my_dlsyms'"
+ ;;
+ esac
+ else
+ # We keep going just in case the user didn't refer to
+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
+ # really was required.
+
+ # Nullify the symbol file.
+ compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
+ fi
+}
+
+# func_win32_libid arg
+# return the library type of file 'arg'
+#
+# Need a lot of goo to handle *both* DLLs and import libs
+# Has to be a shell function in order to 'eat' the argument
+# that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
+func_win32_libid ()
+{
+ $opt_debug
+ win32_libid_type="unknown"
+ win32_fileres=`file -L $1 2>/dev/null`
+ case $win32_fileres in
+ *ar\ archive\ import\ library*) # definitely import
+ win32_libid_type="x86 archive import"
+ ;;
+ *ar\ archive*) # could be an import, or static
+ # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
+ $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
+ $SED -n -e '
+ 1,100{
+ / I /{
+ s,.*,import,
+ p
+ q
+ }
+ }'`
+ case $win32_nmres in
+ import*) win32_libid_type="x86 archive import";;
+ *) win32_libid_type="x86 archive static";;
+ esac
+ fi
+ ;;
+ *DLL*)
+ win32_libid_type="x86 DLL"
+ ;;
+ *executable*) # but shell scripts are "executable" too...
+ case $win32_fileres in
+ *MS\ Windows\ PE\ Intel*)
+ win32_libid_type="x86 DLL"
+ ;;
+ esac
+ ;;
+ esac
+ $ECHO "$win32_libid_type"
+}
+
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+ $opt_debug
+ sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+ $opt_debug
+ match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+ $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+ $SED '/^Contents of section '"$match_literal"':/{
+ # Place marker at beginning of archive member dllname section
+ s/.*/====MARK====/
+ p
+ d
+ }
+ # These lines can sometimes be longer than 43 characters, but
+ # are always uninteresting
+ /:[ ]*file format pe[i]\{,1\}-/d
+ /^In archive [^:]*:/d
+ # Ensure marker is printed
+ /^====MARK====/p
+ # Remove all lines with less than 43 characters
+ /^.\{43\}/!d
+ # From remaining lines, remove first 43 characters
+ s/^.\{43\}//' |
+ $SED -n '
+ # Join marker and all lines until next marker into a single line
+ /^====MARK====/ b para
+ H
+ $ b para
+ b
+ :para
+ x
+ s/\n//g
+ # Remove the marker
+ s/^====MARK====//
+ # Remove trailing dots and whitespace
+ s/[\. \t]*$//
+ # Print
+ /./p' |
+ # we now have a list, one entry per line, of the stringified
+ # contents of the appropriate section of all members of the
+ # archive which possess that section. Heuristic: eliminate
+ # all those which have a first or second character that is
+ # a '.' (that is, objdump's representation of an unprintable
+ # character.) This should work for all archives with less than
+ # 0x302f exports -- but will fail for DLLs whose name actually
+ # begins with a literal '.' or a single character followed by
+ # a '.'.
+ #
+ # Of those that remain, print the first one.
+ $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+ $opt_debug
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+ test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+ $opt_debug
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+ test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+ $opt_debug
+ if func_cygming_gnu_implib_p "$1" ; then
+ # binutils import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+ elif func_cygming_ms_implib_p "$1" ; then
+ # ms-generated import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+ else
+ # unknown
+ sharedlib_from_linklib_result=""
+ fi
+}
+
+
+# func_extract_an_archive dir oldlib
+func_extract_an_archive ()
+{
+ $opt_debug
+ f_ex_an_ar_dir="$1"; shift
+ f_ex_an_ar_oldlib="$1"
+ if test "$lock_old_archive_extraction" = yes; then
+ lockfile=$f_ex_an_ar_oldlib.lock
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ fi
+ func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+ 'stat=$?; rm -f "$lockfile"; exit $stat'
+ if test "$lock_old_archive_extraction" = yes; then
+ $opt_dry_run || rm -f "$lockfile"
+ fi
+ if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
+ fi
+}
+
+
+# func_extract_archives gentop oldlib ...
+func_extract_archives ()
+{
+ $opt_debug
+ my_gentop="$1"; shift
+ my_oldlibs=${1+"$@"}
+ my_oldobjs=""
+ my_xlib=""
+ my_xabs=""
+ my_xdir=""
+
+ for my_xlib in $my_oldlibs; do
+ # Extract the objects.
+ case $my_xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
+ *) my_xabs=`pwd`"/$my_xlib" ;;
+ esac
+ func_basename "$my_xlib"
+ my_xlib="$func_basename_result"
+ my_xlib_u=$my_xlib
+ while :; do
+ case " $extracted_archives " in
+ *" $my_xlib_u "*)
+ func_arith $extracted_serial + 1
+ extracted_serial=$func_arith_result
+ my_xlib_u=lt$extracted_serial-$my_xlib ;;
+ *) break ;;
+ esac
+ done
+ extracted_archives="$extracted_archives $my_xlib_u"
+ my_xdir="$my_gentop/$my_xlib_u"
+
+ func_mkdir_p "$my_xdir"
+
+ case $host in
+ *-darwin*)
+ func_verbose "Extracting $my_xabs"
+ # Do not bother doing anything if just a dry run
+ $opt_dry_run || {
+ darwin_orig_dir=`pwd`
+ cd $my_xdir || exit $?
+ darwin_archive=$my_xabs
+ darwin_curdir=`pwd`
+ darwin_base_archive=`basename "$darwin_archive"`
+ darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
+ if test -n "$darwin_arches"; then
+ darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
+ darwin_arch=
+ func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
+ for darwin_arch in $darwin_arches ; do
+ func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
+ $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
+ cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
+ func_extract_an_archive "`pwd`" "${darwin_base_archive}"
+ cd "$darwin_curdir"
+ $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
+ done # $darwin_arches
+ ## Okay now we've a bunch of thin objects, gotta fatten them up :)
+ darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
+ darwin_file=
+ darwin_files=
+ for darwin_file in $darwin_filelist; do
+ darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
+ $LIPO -create -output "$darwin_file" $darwin_files
+ done # $darwin_filelist
+ $RM -rf unfat-$$
+ cd "$darwin_orig_dir"
+ else
+ cd $darwin_orig_dir
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ fi # $darwin_arches
+ } # !$opt_dry_run
+ ;;
+ *)
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ ;;
+ esac
+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
+ done
+
+ func_extract_archives_result="$my_oldobjs"
+}
+
+
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable. Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
+#
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take. If 'yes', then the emitted script
+# will assume that the directory in which it is stored is
+# the $objdir directory. This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
+{
+ func_emit_wrapper_arg1=${1-no}
+
+ $ECHO "\
+#! $SHELL
+
+# $output - temporary wrapper script for $objdir/$outputname
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
+#
+# The $output program cannot be directly executed until all the libtool
+# libraries that it depends on are installed.
+#
+# This wrapper script should never be moved out of the build directory.
+# If it is, it will not operate correctly.
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='$sed_quote_subst'
+
+# Be Bourne compatible
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
+fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+relink_command=\"$relink_command\"
+
+# This environment variable determines our operation mode.
+if test \"\$libtool_install_magic\" = \"$magic\"; then
+ # install mode needs the following variables:
+ generated_by_libtool_version='$macro_version'
+ notinst_deplibs='$notinst_deplibs'
+else
+ # When we are sourced in execute mode, \$file and \$ECHO are already set.
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ file=\"\$0\""
+
+ qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+ $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+ ECHO=\"$qECHO\"
+ fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ which is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options which match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+ lt_script_arg0=\$0
+ shift
+ for lt_opt
+ do
+ case \"\$lt_opt\" in
+ --lt-debug) lt_option_debug=1 ;;
+ --lt-dump-script)
+ lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+ test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+ lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+ cat \"\$lt_dump_D/\$lt_dump_F\"
+ exit 0
+ ;;
+ --lt-*)
+ \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+
+ # Print the debug banner immediately:
+ if test -n \"\$lt_option_debug\"; then
+ echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
+ fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+ lt_dump_args_N=1;
+ for lt_arg
+ do
+ \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
+ lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+ done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
+"
+ case $host in
+ # Backslashes separate directories on plain windows
+ *-*-mingw | *-*-os2* | *-cegcc*)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+ ;;
+
+ *)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+ ;;
+ esac
+ $ECHO "\
+ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+ exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+ for lt_wr_arg
+ do
+ case \$lt_wr_arg in
+ --lt-*) ;;
+ *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+ esac
+ shift
+ done
+ func_exec_program_core \${1+\"\$@\"}
+}
+
+ # Parse options
+ func_parse_lt_options \"\$0\" \${1+\"\$@\"}
+
+ # Find the directory that this script lives in.
+ thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
+ test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+
+ # Follow symbolic links until we get to the real thisdir.
+ file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
+ while test -n \"\$file\"; do
+ destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
+
+ # If there was a directory component, then change thisdir.
+ if test \"x\$destdir\" != \"x\$file\"; then
+ case \"\$destdir\" in
+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
+ *) thisdir=\"\$thisdir/\$destdir\" ;;
+ esac
+ fi
+
+ file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+ file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
+ done
+
+ # Usually 'no', except on cygwin/mingw when embedded into
+ # the cwrapper.
+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
+ if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
+ # special case for '.'
+ if test \"\$thisdir\" = \".\"; then
+ thisdir=\`pwd\`
+ fi
+ # remove .libs from thisdir
+ case \"\$thisdir\" in
+ *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
+ $objdir ) thisdir=. ;;
+ esac
+ fi
+
+ # Try to get the absolute directory name.
+ absdir=\`cd \"\$thisdir\" && pwd\`
+ test -n \"\$absdir\" && thisdir=\"\$absdir\"
+"
+
+ if test "$fast_install" = yes; then
+ $ECHO "\
+ program=lt-'$outputname'$exeext
+ progdir=\"\$thisdir/$objdir\"
+
+ if test ! -f \"\$progdir/\$program\" ||
+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+
+ file=\"\$\$-\$program\"
+
+ if test ! -d \"\$progdir\"; then
+ $MKDIR \"\$progdir\"
+ else
+ $RM \"\$progdir/\$file\"
+ fi"
+
+ $ECHO "\
+
+ # relink executable if necessary
+ if test -n \"\$relink_command\"; then
+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+ else
+ $ECHO \"\$relink_command_output\" >&2
+ $RM \"\$progdir/\$file\"
+ exit 1
+ fi
+ fi
+
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
+ { $RM \"\$progdir/\$program\";
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
+ $RM \"\$progdir/\$file\"
+ fi"
+ else
+ $ECHO "\
+ program='$outputname'
+ progdir=\"\$thisdir/$objdir\"
+"
+ fi
+
+ $ECHO "\
+
+ if test -f \"\$progdir/\$program\"; then"
+
+ # fixup the dll searchpath if we need to.
+ #
+ # Fix the DLL searchpath if we need to. Do this before prepending
+ # to shlibpath, because on Windows, both are PATH and uninstalled
+ # libraries must come first.
+ if test -n "$dllsearchpath"; then
+ $ECHO "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
+ # Export our shlibpath_var if we have one.
+ if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ $ECHO "\
+ # Add our own library path to $shlibpath_var
+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
+
+ # Some systems cannot cope with colon-terminated $shlibpath_var
+ # The second colon is a workaround for a bug in BeOS R4 sed
+ $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
+
+ export $shlibpath_var
+"
+ fi
+
+ $ECHO "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
+ func_exec_program \${1+\"\$@\"}
+ fi
+ else
+ # The program doesn't exist.
+ \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
+ \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
+ \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+ exit 1
+ fi
+fi\
+"
+}
+
+
+# func_emit_cwrapperexe_src
+# emit the source code for a wrapper executable on stdout
+# Must ONLY be called from within func_mode_link because
+# it depends on a number of variable set therein.
+func_emit_cwrapperexe_src ()
+{
+ cat <<EOF
+
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
+ Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
+
+ The $output program cannot be directly executed until all the libtool
+ libraries that it depends on are installed.
+
+ This wrapper executable should never be moved out of the build directory.
+ If it is, it will not operate correctly.
+*/
+EOF
+ cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+#ifdef _MSC_VER
+# include <direct.h>
+# include <process.h>
+# include <io.h>
+#else
+# include <unistd.h>
+# include <stdint.h>
+# ifdef __CYGWIN__
+# include <io.h>
+# endif
+#endif
+#include <malloc.h>
+#include <stdarg.h>
+#include <assert.h>
+#include <string.h>
+#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <sys/stat.h>
+
+/* declarations of non-ANSI functions */
+#if defined(__MINGW32__)
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined(__CYGWIN__)
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined (other platforms) ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined(_MSC_VER)
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+# define S_IXUSR _S_IEXEC
+# ifndef _INTPTR_T_DEFINED
+# define _INTPTR_T_DEFINED
+# define intptr_t int
+# endif
+#elif defined(__MINGW32__)
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+#elif defined(__CYGWIN__)
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined (other platforms) ... */
+#endif
+
+#if defined(PATH_MAX)
+# define LT_PATHMAX PATH_MAX
+#elif defined(MAXPATHLEN)
+# define LT_PATHMAX MAXPATHLEN
+#else
+# define LT_PATHMAX 1024
+#endif
+
+#ifndef S_IXOTH
+# define S_IXOTH 0
+#endif
+#ifndef S_IXGRP
+# define S_IXGRP 0
+#endif
+
+/* path handling portability macros */
+#ifndef DIR_SEPARATOR
+# define DIR_SEPARATOR '/'
+# define PATH_SEPARATOR ':'
+#endif
+
+#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
+ defined (__OS2__)
+# define HAVE_DOS_BASED_FILE_SYSTEM
+# define FOPEN_WB "wb"
+# ifndef DIR_SEPARATOR_2
+# define DIR_SEPARATOR_2 '\\'
+# endif
+# ifndef PATH_SEPARATOR_2
+# define PATH_SEPARATOR_2 ';'
+# endif
+#endif
+
+#ifndef DIR_SEPARATOR_2
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
+#else /* DIR_SEPARATOR_2 */
+# define IS_DIR_SEPARATOR(ch) \
+ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
+#endif /* DIR_SEPARATOR_2 */
+
+#ifndef PATH_SEPARATOR_2
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
+#else /* PATH_SEPARATOR_2 */
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
+#endif /* PATH_SEPARATOR_2 */
+
+#ifndef FOPEN_WB
+# define FOPEN_WB "w"
+#endif
+#ifndef _O_BINARY
+# define _O_BINARY 0
+#endif
+
+#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
+#define XFREE(stale) do { \
+ if (stale) { free ((void *) stale); stale = 0; } \
+} while (0)
+
+#if defined(LT_DEBUGWRAPPER)
+static int lt_debug = 1;
+#else
+static int lt_debug = 0;
+#endif
+
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
+
+void *xmalloc (size_t num);
+char *xstrdup (const char *string);
+const char *base_name (const char *name);
+char *find_executable (const char *wrapper);
+char *chase_symlinks (const char *pathspec);
+int make_executable (const char *path);
+int check_executable (const char *path);
+char *strendzap (char *str, const char *pat);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
+void lt_setenv (const char *name, const char *value);
+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
+void lt_update_exe_path (const char *name, const char *value);
+void lt_update_lib_path (const char *name, const char *value);
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
+EOF
+
+ cat <<EOF
+volatile const char * MAGIC_EXE = "$magic_exe";
+const char * LIB_PATH_VARNAME = "$shlibpath_var";
+EOF
+
+ if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ func_to_host_path "$temp_rpath"
+ cat <<EOF
+const char * LIB_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * LIB_PATH_VALUE = "";
+EOF
+ fi
+
+ if test -n "$dllsearchpath"; then
+ func_to_host_path "$dllsearchpath:"
+ cat <<EOF
+const char * EXE_PATH_VARNAME = "PATH";
+const char * EXE_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * EXE_PATH_VARNAME = "";
+const char * EXE_PATH_VALUE = "";
+EOF
+ fi
+
+ if test "$fast_install" = yes; then
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
+EOF
+ else
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
+EOF
+ fi
+
+
+ cat <<"EOF"
+
+#define LTWRAPPER_OPTION_PREFIX "--lt-"
+
+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
+static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
+static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
+
+int
+main (int argc, char *argv[])
+{
+ char **newargz;
+ int newargc;
+ char *tmp_pathspec;
+ char *actual_cwrapper_path;
+ char *actual_cwrapper_name;
+ char *target_name;
+ char *lt_argv_zero;
+ intptr_t rval = 127;
+
+ int i;
+
+ program_name = (char *) xstrdup (base_name (argv[0]));
+ newargz = XMALLOC (char *, argc + 1);
+
+ /* very simple arg parsing; don't want to rely on getopt
+ * also, copy all non cwrapper options to newargz, except
+ * argz[0], which is handled differently
+ */
+ newargc=0;
+ for (i = 1; i < argc; i++)
+ {
+ if (strcmp (argv[i], dumpscript_opt) == 0)
+ {
+EOF
+ case "$host" in
+ *mingw* | *cygwin* )
+ # make stdout use "unix" line endings
+ echo " setmode(1,_O_BINARY);"
+ ;;
+ esac
+
+ cat <<"EOF"
+ lt_dump_script (stdout);
+ return 0;
+ }
+ if (strcmp (argv[i], debug_opt) == 0)
+ {
+ lt_debug = 1;
+ continue;
+ }
+ if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
+ {
+ /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+ namespace, but it is not one of the ones we know about and
+ have already dealt with, above (inluding dump-script), then
+ report an error. Otherwise, targets might begin to believe
+ they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+ namespace. The first time any user complains about this, we'll
+ need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+ or a configure.ac-settable value.
+ */
+ lt_fatal (__FILE__, __LINE__,
+ "unrecognized %s option: '%s'",
+ ltwrapper_option_prefix, argv[i]);
+ }
+ /* otherwise ... */
+ newargz[++newargc] = xstrdup (argv[i]);
+ }
+ newargz[++newargc] = NULL;
+
+EOF
+ cat <<EOF
+ /* The GNU banner must be the first non-error debug message */
+ lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
+EOF
+ cat <<"EOF"
+ lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
+
+ tmp_pathspec = find_executable (argv[0]);
+ if (tmp_pathspec == NULL)
+ lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (before symlink chase) at: %s\n",
+ tmp_pathspec);
+
+ actual_cwrapper_path = chase_symlinks (tmp_pathspec);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (after symlink chase) at: %s\n",
+ actual_cwrapper_path);
+ XFREE (tmp_pathspec);
+
+ actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
+ strendzap (actual_cwrapper_path, actual_cwrapper_name);
+
+ /* wrapper name transforms */
+ strendzap (actual_cwrapper_name, ".exe");
+ tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
+ XFREE (actual_cwrapper_name);
+ actual_cwrapper_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ /* target_name transforms -- use actual target program name; might have lt- prefix */
+ target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
+ strendzap (target_name, ".exe");
+ tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
+ XFREE (target_name);
+ target_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) libtool target name: %s\n",
+ target_name);
+EOF
+
+ cat <<EOF
+ newargz[0] =
+ XMALLOC (char, (strlen (actual_cwrapper_path) +
+ strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
+ strcpy (newargz[0], actual_cwrapper_path);
+ strcat (newargz[0], "$objdir");
+ strcat (newargz[0], "/");
+EOF
+
+ cat <<"EOF"
+ /* stop here, and copy so we don't have to do this twice */
+ tmp_pathspec = xstrdup (newargz[0]);
+
+ /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
+ strcat (newargz[0], actual_cwrapper_name);
+
+ /* DO want the lt- prefix here if it exists, so use target_name */
+ lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
+ XFREE (tmp_pathspec);
+ tmp_pathspec = NULL;
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ {
+ char* p;
+ while ((p = strchr (newargz[0], '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ while ((p = strchr (lt_argv_zero, '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ }
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+ XFREE (target_name);
+ XFREE (actual_cwrapper_path);
+ XFREE (actual_cwrapper_name);
+
+ lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
+ lt_setenv ("DUALCASE", "1"); /* for MSK sh */
+ /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
+ be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+ because on Windows, both *_VARNAMEs are PATH but uninstalled
+ libraries must come first. */
+ lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+ lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+
+ lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+ nonnull (lt_argv_zero));
+ for (i = 0; i < newargc; i++)
+ {
+ lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+ i, nonnull (newargz[i]));
+ }
+
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ /* execv doesn't actually work on mingw as expected on unix */
+ newargz = prepare_spawn (newargz);
+ rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
+ if (rval == -1)
+ {
+ /* failed to start process */
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) failed to launch target \"%s\": %s\n",
+ lt_argv_zero, nonnull (strerror (errno)));
+ return 127;
+ }
+ return rval;
+EOF
+ ;;
+ *)
+ cat <<"EOF"
+ execv (lt_argv_zero, newargz);
+ return rval; /* =127, but avoids unused variable warning */
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+}
+
+void *
+xmalloc (size_t num)
+{
+ void *p = (void *) malloc (num);
+ if (!p)
+ lt_fatal (__FILE__, __LINE__, "memory exhausted");
+
+ return p;
+}
+
+char *
+xstrdup (const char *string)
+{
+ return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
+ string) : NULL;
+}
+
+const char *
+base_name (const char *name)
+{
+ const char *base;
+
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
+ /* Skip over the disk name in MSDOS pathnames. */
+ if (isalpha ((unsigned char) name[0]) && name[1] == ':')
+ name += 2;
+#endif
+
+ for (base = name; *name; name++)
+ if (IS_DIR_SEPARATOR (*name))
+ base = name + 1;
+ return base;
+}
+
+int
+check_executable (const char *path)
+{
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if ((stat (path, &st) >= 0)
+ && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
+ return 1;
+ else
+ return 0;
+}
+
+int
+make_executable (const char *path)
+{
+ int rval = 0;
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if (stat (path, &st) >= 0)
+ {
+ rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
+ }
+ return rval;
+}
+
+/* Searches for the full path of the wrapper. Returns
+ newly allocated full path name if found, NULL otherwise
+ Does not chase symlinks, even on platforms that support them.
+*/
+char *
+find_executable (const char *wrapper)
+{
+ int has_slash = 0;
+ const char *p;
+ const char *p_next;
+ /* static buffer for getcwd */
+ char tmp[LT_PATHMAX + 1];
+ int tmp_len;
+ char *concat_name;
+
+ lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+ nonempty (wrapper));
+
+ if ((wrapper == NULL) || (*wrapper == '\0'))
+ return NULL;
+
+ /* Absolute path? */
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
+ if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ else
+ {
+#endif
+ if (IS_DIR_SEPARATOR (wrapper[0]))
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
+ }
+#endif
+
+ for (p = wrapper; *p; p++)
+ if (*p == '/')
+ {
+ has_slash = 1;
+ break;
+ }
+ if (!has_slash)
+ {
+ /* no slashes; search PATH */
+ const char *path = getenv ("PATH");
+ if (path != NULL)
+ {
+ for (p = path; *p; p = p_next)
+ {
+ const char *q;
+ size_t p_len;
+ for (q = p; *q; q++)
+ if (IS_PATH_SEPARATOR (*q))
+ break;
+ p_len = q - p;
+ p_next = (*q == '\0' ? q : q + 1);
+ if (p_len == 0)
+ {
+ /* empty path: current directory */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name =
+ XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+ }
+ else
+ {
+ concat_name =
+ XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, p, p_len);
+ concat_name[p_len] = '/';
+ strcpy (concat_name + p_len + 1, wrapper);
+ }
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ }
+ /* not found in PATH; assume curdir */
+ }
+ /* Relative path | not found in path: prepend cwd */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ return NULL;
+}
+
+char *
+chase_symlinks (const char *pathspec)
+{
+#ifndef S_ISLNK
+ return xstrdup (pathspec);
+#else
+ char buf[LT_PATHMAX];
+ struct stat s;
+ char *tmp_pathspec = xstrdup (pathspec);
+ char *p;
+ int has_symlinks = 0;
+ while (strlen (tmp_pathspec) && !has_symlinks)
+ {
+ lt_debugprintf (__FILE__, __LINE__,
+ "checking path component for symlinks: %s\n",
+ tmp_pathspec);
+ if (lstat (tmp_pathspec, &s) == 0)
+ {
+ if (S_ISLNK (s.st_mode) != 0)
+ {
+ has_symlinks = 1;
+ break;
+ }
+
+ /* search backwards for last DIR_SEPARATOR */
+ p = tmp_pathspec + strlen (tmp_pathspec) - 1;
+ while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ p--;
+ if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ {
+ /* no more DIR_SEPARATORS left */
+ break;
+ }
+ *p = '\0';
+ }
+ else
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "error accessing file \"%s\": %s",
+ tmp_pathspec, nonnull (strerror (errno)));
+ }
+ }
+ XFREE (tmp_pathspec);
+
+ if (!has_symlinks)
+ {
+ return xstrdup (pathspec);
+ }
+
+ tmp_pathspec = realpath (pathspec, buf);
+ if (tmp_pathspec == 0)
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "could not follow symlinks for %s", pathspec);
+ }
+ return xstrdup (tmp_pathspec);
+#endif
+}
+
+char *
+strendzap (char *str, const char *pat)
+{
+ size_t len, patlen;
+
+ assert (str != NULL);
+ assert (pat != NULL);
+
+ len = strlen (str);
+ patlen = strlen (pat);
+
+ if (patlen <= len)
+ {
+ str += len - patlen;
+ if (strcmp (str, pat) == 0)
+ *str = '\0';
+ }
+ return str;
+}
+
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+ va_list args;
+ if (lt_debug)
+ {
+ (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+ va_start (args, fmt);
+ (void) vfprintf (stderr, fmt, args);
+ va_end (args);
+ }
+}
+
+static void
+lt_error_core (int exit_status, const char *file,
+ int line, const char *mode,
+ const char *message, va_list ap)
+{
+ fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
+ vfprintf (stderr, message, ap);
+ fprintf (stderr, ".\n");
+
+ if (exit_status >= 0)
+ exit (exit_status);
+}
+
+void
+lt_fatal (const char *file, int line, const char *message, ...)
+{
+ va_list ap;
+ va_start (ap, message);
+ lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
+ va_end (ap);
+}
+
+static const char *
+nonnull (const char *s)
+{
+ return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+ return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
+void
+lt_setenv (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_setenv) setting '%s' to '%s'\n",
+ nonnull (name), nonnull (value));
+ {
+#ifdef HAVE_SETENV
+ /* always make a copy, for consistency with !HAVE_SETENV */
+ char *str = xstrdup (value);
+ setenv (name, str, 1);
+#else
+ int len = strlen (name) + 1 + strlen (value) + 1;
+ char *str = XMALLOC (char, len);
+ sprintf (str, "%s=%s", name, value);
+ if (putenv (str) != EXIT_SUCCESS)
+ {
+ XFREE (str);
+ }
+#endif
+ }
+}
+
+char *
+lt_extend_str (const char *orig_value, const char *add, int to_end)
+{
+ char *new_value;
+ if (orig_value && *orig_value)
+ {
+ int orig_value_len = strlen (orig_value);
+ int add_len = strlen (add);
+ new_value = XMALLOC (char, add_len + orig_value_len + 1);
+ if (to_end)
+ {
+ strcpy (new_value, orig_value);
+ strcpy (new_value + orig_value_len, add);
+ }
+ else
+ {
+ strcpy (new_value, add);
+ strcpy (new_value + add_len, orig_value);
+ }
+ }
+ else
+ {
+ new_value = xstrdup (add);
+ }
+ return new_value;
+}
+
+void
+lt_update_exe_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ /* some systems can't cope with a ':'-terminated path #' */
+ int len = strlen (new_value);
+ while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
+ {
+ new_value[len-1] = '\0';
+ }
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+void
+lt_update_lib_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+EOF
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+ Note that spawn() does not by itself call the command interpreter
+ (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+ ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+ GetVersionEx(&v);
+ v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+ }) ? "cmd.exe" : "command.com").
+ Instead it simply concatenates the arguments, separated by ' ', and calls
+ CreateProcess(). We must quote the arguments since Win32 CreateProcess()
+ interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+ special way:
+ - Space and tab are interpreted as delimiters. They are not treated as
+ delimiters if they are surrounded by double quotes: "...".
+ - Unescaped double quotes are removed from the input. Their only effect is
+ that within double quotes, space and tab are treated like normal
+ characters.
+ - Backslashes not followed by double quotes are not special.
+ - But 2*n+1 backslashes followed by a double quote become
+ n backslashes followed by a double quote (n >= 0):
+ \" -> "
+ \\\" -> \"
+ \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+ size_t argc;
+ char **new_argv;
+ size_t i;
+
+ /* Count number of arguments. */
+ for (argc = 0; argv[argc] != NULL; argc++)
+ ;
+
+ /* Allocate new argument vector. */
+ new_argv = XMALLOC (char *, argc + 1);
+
+ /* Put quoted arguments into the new argument vector. */
+ for (i = 0; i < argc; i++)
+ {
+ const char *string = argv[i];
+
+ if (string[0] == '\0')
+ new_argv[i] = xstrdup ("\"\"");
+ else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+ {
+ int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+ size_t length;
+ unsigned int backslashes;
+ const char *s;
+ char *quoted_string;
+ char *p;
+
+ length = 0;
+ backslashes = 0;
+ if (quote_around)
+ length++;
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ length += backslashes + 1;
+ length++;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ length += backslashes + 1;
+
+ quoted_string = XMALLOC (char, length + 1);
+
+ p = quoted_string;
+ backslashes = 0;
+ if (quote_around)
+ *p++ = '"';
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ {
+ unsigned int j;
+ for (j = backslashes + 1; j > 0; j--)
+ *p++ = '\\';
+ }
+ *p++ = c;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ {
+ unsigned int j;
+ for (j = backslashes; j > 0; j--)
+ *p++ = '\\';
+ *p++ = '"';
+ }
+ *p = '\0';
+
+ new_argv[i] = quoted_string;
+ }
+ else
+ new_argv[i] = (char *) string;
+ }
+ new_argv[argc] = NULL;
+
+ return new_argv;
+}
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+ func_emit_wrapper yes |
+ $SED -e 's/\([\\"]\)/\\\1/g' \
+ -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
+
+ cat <<"EOF"
+}
+EOF
+}
+# end: func_emit_cwrapperexe_src
+
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+ $opt_debug
+ case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+ *import*) : ;;
+ *) false ;;
+ esac
+}
+
+# func_mode_link arg...
+func_mode_link ()
+{
+ $opt_debug
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ # It is impossible to link a dll without this setting, and
+ # we shouldn't force the makefile maintainer to figure out
+ # which system we are compiling for in order to pass an extra
+ # flag for every libtool invocation.
+ # allow_undefined=no
+
+ # FIXME: Unfortunately, there are problems with the above when trying
+ # to make a dll which has undefined symbols, in which case not
+ # even a static library is built. For now, we need to specify
+ # -no-undefined on the libtool link line when we can be certain
+ # that all symbols are satisfied, otherwise we get a static library.
+ allow_undefined=yes
+ ;;
+ *)
+ allow_undefined=yes
+ ;;
+ esac
+ libtool_args=$nonopt
+ base_compile="$nonopt $@"
+ compile_command=$nonopt
+ finalize_command=$nonopt
+
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ lib_search_path=`pwd`
+ inst_prefix_dir=
+ new_inherited_linker_flags=
+
+ avoid_version=no
+ bindir=
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ weak_libs=
+ single_module="${wl}-single_module"
+ func_infer_tag $base_compile
+
+ # We need to know -static, to get the right output filenames.
+ for arg
+ do
+ case $arg in
+ -shared)
+ test "$build_libtool_libs" != yes && \
+ func_fatal_configuration "can not build a shared library"
+ build_old_libs=no
+ break
+ ;;
+ -all-static | -static | -static-libtool-libs)
+ case $arg in
+ -all-static)
+ if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+ func_warning "complete static linking is impossible in this configuration"
+ fi
+ if test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ -static)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=built
+ ;;
+ -static-libtool-libs)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ esac
+ build_libtool_libs=no
+ build_old_libs=yes
+ break
+ ;;
+ esac
+ done
+
+ # See if our shared archives depend on static archives.
+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+
+ # Go through the arguments, transforming them on the way.
+ while test "$#" -gt 0; do
+ arg="$1"
+ shift
+ func_quote_for_eval "$arg"
+ qarg=$func_quote_for_eval_unquoted_result
+ func_append libtool_args " $func_quote_for_eval_result"
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ output)
+ func_append compile_command " @OUTPUT@"
+ func_append finalize_command " @OUTPUT@"
+ ;;
+ esac
+
+ case $prev in
+ bindir)
+ bindir="$arg"
+ prev=
+ continue
+ ;;
+ dlfiles|dlprefiles)
+ if test "$preload" = no; then
+ # Add the symbol object into the linking commands.
+ func_append compile_command " @SYMFILE@"
+ func_append finalize_command " @SYMFILE@"
+ preload=yes
+ fi
+ case $arg in
+ *.la | *.lo) ;; # We handle these cases below.
+ force)
+ if test "$dlself" = no; then
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ self)
+ if test "$prev" = dlprefiles; then
+ dlself=yes
+ elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
+ dlself=yes
+ else
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ *)
+ if test "$prev" = dlfiles; then
+ func_append dlfiles " $arg"
+ else
+ func_append dlprefiles " $arg"
+ fi
+ prev=
+ continue
+ ;;
+ esac
+ ;;
+ expsyms)
+ export_symbols="$arg"
+ test -f "$arg" \
+ || func_fatal_error "symbol file \`$arg' does not exist"
+ prev=
+ continue
+ ;;
+ expsyms_regex)
+ export_symbols_regex="$arg"
+ prev=
+ continue
+ ;;
+ framework)
+ case $host in
+ *-*-darwin*)
+ case "$deplibs " in
+ *" $qarg.ltframework "*) ;;
+ *) func_append deplibs " $qarg.ltframework" # this is fixed later
+ ;;
+ esac
+ ;;
+ esac
+ prev=
+ continue
+ ;;
+ inst_prefix)
+ inst_prefix_dir="$arg"
+ prev=
+ continue
+ ;;
+ objectlist)
+ if test -f "$arg"; then
+ save_arg=$arg
+ moreargs=
+ for fil in `cat "$save_arg"`
+ do
+# func_append moreargs " $fil"
+ arg=$fil
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test "$pic_object" = none &&
+ test "$non_pic_object" = none; then
+ func_fatal_error "cannot find name of object for \`$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir="$func_dirname_result"
+
+ if test "$pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ pic_object="$xdir$pic_object"
+
+ if test "$prev" = dlfiles; then
+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test "$prev" = dlprefiles; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg="$pic_object"
+ fi
+
+ # Non-PIC object.
+ if test "$non_pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object="$xdir$non_pic_object"
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test "$pic_object" = none ; then
+ arg="$non_pic_object"
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object="$pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir="$func_dirname_result"
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "\`$arg' is not a valid libtool object"
+ fi
+ fi
+ done
+ else
+ func_fatal_error "link input file \`$arg' does not exist"
+ fi
+ arg=$save_arg
+ prev=
+ continue
+ ;;
+ precious_regex)
+ precious_files_regex="$arg"
+ prev=
+ continue
+ ;;
+ release)
+ release="-$arg"
+ prev=
+ continue
+ ;;
+ rpath | xrpath)
+ # We need an absolute path.
+ case $arg in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ if test "$prev" = rpath; then
+ case "$rpath " in
+ *" $arg "*) ;;
+ *) func_append rpath " $arg" ;;
+ esac
+ else
+ case "$xrpath " in
+ *" $arg "*) ;;
+ *) func_append xrpath " $arg" ;;
+ esac
+ fi
+ prev=
+ continue
+ ;;
+ shrext)
+ shrext_cmds="$arg"
+ prev=
+ continue
+ ;;
+ weak)
+ func_append weak_libs " $arg"
+ prev=
+ continue
+ ;;
+ xcclinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xcompiler)
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xlinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $wl$qarg"
+ prev=
+ func_append compile_command " $wl$qarg"
+ func_append finalize_command " $wl$qarg"
+ continue
+ ;;
+ *)
+ eval "$prev=\"\$arg\""
+ prev=
+ continue
+ ;;
+ esac
+ fi # test -n "$prev"
+
+ prevarg="$arg"
+
+ case $arg in
+ -all-static)
+ if test -n "$link_static_flag"; then
+ # See comment for -static flag below, for more details.
+ func_append compile_command " $link_static_flag"
+ func_append finalize_command " $link_static_flag"
+ fi
+ continue
+ ;;
+
+ -allow-undefined)
+ # FIXME: remove this flag sometime in the future.
+ func_fatal_error "\`-allow-undefined' must not be used because it is the default"
+ ;;
+
+ -avoid-version)
+ avoid_version=yes
+ continue
+ ;;
+
+ -bindir)
+ prev=bindir
+ continue
+ ;;
+
+ -dlopen)
+ prev=dlfiles
+ continue
+ ;;
+
+ -dlpreopen)
+ prev=dlprefiles
+ continue
+ ;;
+
+ -export-dynamic)
+ export_dynamic=yes
+ continue
+ ;;
+
+ -export-symbols | -export-symbols-regex)
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ func_fatal_error "more than one -exported-symbols argument is not allowed"
+ fi
+ if test "X$arg" = "X-export-symbols"; then
+ prev=expsyms
+ else
+ prev=expsyms_regex
+ fi
+ continue
+ ;;
+
+ -framework)
+ prev=framework
+ continue
+ ;;
+
+ -inst-prefix-dir)
+ prev=inst_prefix
+ continue
+ ;;
+
+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+ # so, if we see these flags be careful not to treat them like -L
+ -L[A-Z][A-Z]*:*)
+ case $with_gcc/$host in
+ no/*-*-irix* | /*-*-irix*)
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ ;;
+ esac
+ continue
+ ;;
+
+ -L*)
+ func_stripname "-L" '' "$arg"
+ if test -z "$func_stripname_result"; then
+ if test "$#" -gt 0; then
+ func_fatal_error "require no space between \`-L' and \`$1'"
+ else
+ func_fatal_error "need path for \`-L' option"
+ fi
+ fi
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ test -z "$absdir" && \
+ func_fatal_error "cannot determine absolute directory name of \`$dir'"
+ dir="$absdir"
+ ;;
+ esac
+ case "$deplibs " in
+ *" -L$dir "* | *" $arg "*)
+ # Will only happen for absolute or sysroot arguments
+ ;;
+ *)
+ # Preserve sysroot, but never include relative directories
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+ *) func_append deplibs " -L$dir" ;;
+ esac
+ func_append lib_search_path " $dir"
+ ;;
+ esac
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$dir:"*) ;;
+ ::) dllsearchpath=$dir;;
+ *) func_append dllsearchpath ":$dir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ continue
+ ;;
+
+ -l*)
+ if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+ *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C and math libraries are in the System framework
+ func_append deplibs " System.ltframework"
+ continue
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ test "X$arg" = "X-lc" && continue
+ ;;
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ func_append deplibs " $arg"
+ continue
+ ;;
+
+ -module)
+ module=yes
+ continue
+ ;;
+
+ # Tru64 UNIX uses -model [arg] to determine the layout of C++
+ # classes, name mangling, and exception handling.
+ # Darwin uses the -arch flag to determine output architecture.
+ -model|-arch|-isysroot|--sysroot)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ prev=xcompiler
+ continue
+ ;;
+
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case "$new_inherited_linker_flags " in
+ *" $arg "*) ;;
+ * ) func_append new_inherited_linker_flags " $arg" ;;
+ esac
+ continue
+ ;;
+
+ -multi_module)
+ single_module="${wl}-multi_module"
+ continue
+ ;;
+
+ -no-fast-install)
+ fast_install=no
+ continue
+ ;;
+
+ -no-install)
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
+ # The PATH hackery in wrapper scripts is required on Windows
+ # and Darwin in order for the loader to find any dlls it needs.
+ func_warning "\`-no-install' is ignored for $host"
+ func_warning "assuming \`-no-fast-install' instead"
+ fast_install=no
+ ;;
+ *) no_install=yes ;;
+ esac
+ continue
+ ;;
+
+ -no-undefined)
+ allow_undefined=no
+ continue
+ ;;
+
+ -objectlist)
+ prev=objectlist
+ continue
+ ;;
+
+ -o) prev=output ;;
+
+ -precious-files-regex)
+ prev=precious_regex
+ continue
+ ;;
+
+ -release)
+ prev=release
+ continue
+ ;;
+
+ -rpath)
+ prev=rpath
+ continue
+ ;;
+
+ -R)
+ prev=xrpath
+ continue
+ ;;
+
+ -R*)
+ func_stripname '-R' '' "$arg"
+ dir=$func_stripname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ =*)
+ func_stripname '=' '' "$dir"
+ dir=$lt_sysroot$func_stripname_result
+ ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ continue
+ ;;
+
+ -shared)
+ # The effects of -shared are defined in a previous loop.
+ continue
+ ;;
+
+ -shrext)
+ prev=shrext
+ continue
+ ;;
+
+ -static | -static-libtool-libs)
+ # The effects of -static are defined in a previous loop.
+ # We used to do the same as -all-static on platforms that
+ # didn't have a PIC flag, but the assumption that the effects
+ # would be equivalent was wrong. It would break on at least
+ # Digital Unix and AIX.
+ continue
+ ;;
+
+ -thread-safe)
+ thread_safe=yes
+ continue
+ ;;
+
+ -version-info)
+ prev=vinfo
+ continue
+ ;;
+
+ -version-number)
+ prev=vinfo
+ vinfo_number=yes
+ continue
+ ;;
+
+ -weak)
+ prev=weak
+ continue
+ ;;
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs="$IFS"; IFS=','
+ for flag in $args; do
+ IFS="$save_ifs"
+ func_quote_for_eval "$flag"
+ func_append arg " $func_quote_for_eval_result"
+ func_append compiler_flags " $func_quote_for_eval_result"
+ done
+ IFS="$save_ifs"
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Wl,*)
+ func_stripname '-Wl,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs="$IFS"; IFS=','
+ for flag in $args; do
+ IFS="$save_ifs"
+ func_quote_for_eval "$flag"
+ func_append arg " $wl$func_quote_for_eval_result"
+ func_append compiler_flags " $wl$func_quote_for_eval_result"
+ func_append linker_flags " $func_quote_for_eval_result"
+ done
+ IFS="$save_ifs"
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Xlinker)
+ prev=xlinker
+ continue
+ ;;
+
+ -XCClinker)
+ prev=xcclinker
+ continue
+ ;;
+
+ # -msg_* for osf cc
+ -msg_*)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ ;;
+
+ # Flags to be passed through unchanged, with rationale:
+ # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
+ # -r[0-9][0-9]* specify processor for the SGI compiler
+ # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+ # +DA*, +DD* enable 64-bit mode for the HP compiler
+ # -q* compiler args for the IBM compiler
+ # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+ # -F/path path to uninstalled frameworks, gcc on darwin
+ # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
+ # @file GCC response files
+ # -tp=* Portland pgcc target processor selection
+ # --sysroot=* for sysroot support
+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+ -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ func_append compiler_flags " $arg"
+ continue
+ ;;
+
+ # Some other compiler flag.
+ -* | +*)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ ;;
+
+ *.$objext)
+ # A standard object.
+ func_append objs " $arg"
+ ;;
+
+ *.lo)
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test "$pic_object" = none &&
+ test "$non_pic_object" = none; then
+ func_fatal_error "cannot find name of object for \`$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir="$func_dirname_result"
+
+ if test "$pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ pic_object="$xdir$pic_object"
+
+ if test "$prev" = dlfiles; then
+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test "$prev" = dlprefiles; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg="$pic_object"
+ fi
+
+ # Non-PIC object.
+ if test "$non_pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object="$xdir$non_pic_object"
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test "$pic_object" = none ; then
+ arg="$non_pic_object"
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object="$pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir="$func_dirname_result"
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "\`$arg' is not a valid libtool object"
+ fi
+ fi
+ ;;
+
+ *.$libext)
+ # An archive.
+ func_append deplibs " $arg"
+ func_append old_deplibs " $arg"
+ continue
+ ;;
+
+ *.la)
+ # A libtool-controlled library.
+
+ func_resolve_sysroot "$arg"
+ if test "$prev" = dlfiles; then
+ # This library was specified with -dlopen.
+ func_append dlfiles " $func_resolve_sysroot_result"
+ prev=
+ elif test "$prev" = dlprefiles; then
+ # The library was specified with -dlpreopen.
+ func_append dlprefiles " $func_resolve_sysroot_result"
+ prev=
+ else
+ func_append deplibs " $func_resolve_sysroot_result"
+ fi
+ continue
+ ;;
+
+ # Some other compiler argument.
+ *)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ ;;
+ esac # arg
+
+ # Now actually substitute the argument into the commands.
+ if test -n "$arg"; then
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+ done # argument parsing loop
+
+ test -n "$prev" && \
+ func_fatal_help "the \`$prevarg' option requires an argument"
+
+ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
+ eval arg=\"$export_dynamic_flag_spec\"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+
+ oldlibs=
+ # calculate the name of the file, without its directory
+ func_basename "$output"
+ outputname="$func_basename_result"
+ libobjs_save="$libobjs"
+
+ if test -n "$shlibpath_var"; then
+ # get the directories listed in $shlibpath_var
+ eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
+ else
+ shlib_search_path=
+ fi
+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
+
+ func_dirname "$output" "/" ""
+ output_objdir="$func_dirname_result$objdir"
+ func_to_tool_file "$output_objdir/"
+ tool_output_objdir=$func_to_tool_file_result
+ # Create the object directory.
+ func_mkdir_p "$output_objdir"
+
+ # Determine the type of output
+ case $output in
+ "")
+ func_fatal_help "you must specify an output file"
+ ;;
+ *.$libext) linkmode=oldlib ;;
+ *.lo | *.$objext) linkmode=obj ;;
+ *.la) linkmode=lib ;;
+ *) linkmode=prog ;; # Anything else should be a program.
+ esac
+
+ specialdeplibs=
+
+ libs=
+ # Find all interdependent deplibs by searching for libraries
+ # that are linked more than once (e.g. -la -lb -la)
+ for deplib in $deplibs; do
+ if $opt_preserve_dup_deps ; then
+ case "$libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append libs " $deplib"
+ done
+
+ if test "$linkmode" = lib; then
+ libs="$predeps $libs $compiler_lib_search_path $postdeps"
+
+ # Compute libraries that are listed more than once in $predeps
+ # $postdeps and mark them as special (i.e., whose duplicates are
+ # not to be eliminated).
+ pre_post_deps=
+ if $opt_duplicate_compiler_generated_deps; then
+ for pre_post_dep in $predeps $postdeps; do
+ case "$pre_post_deps " in
+ *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
+ esac
+ func_append pre_post_deps " $pre_post_dep"
+ done
+ fi
+ pre_post_deps=
+ fi
+
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no # whether we're linking any uninstalled libtool libraries
+ notinst_deplibs= # not-installed libtool libraries
+ notinst_path= # paths that contain not-installed libtool libraries
+
+ case $linkmode in
+ lib)
+ passes="conv dlpreopen link"
+ for file in $dlfiles $dlprefiles; do
+ case $file in
+ *.la) ;;
+ *)
+ func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
+ ;;
+ esac
+ done
+ ;;
+ prog)
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=no
+ newdlfiles=
+ newdlprefiles=
+ passes="conv scan dlopen dlpreopen link"
+ ;;
+ *) passes="conv"
+ ;;
+ esac
+
+ for pass in $passes; do
+ # The preopen pass in lib mode reverses $deplibs; put it back here
+ # so that -L comes before libs that need it for instance...
+ if test "$linkmode,$pass" = "lib,link"; then
+ ## FIXME: Find the place where the list is rebuilt in the wrong
+ ## order, and fix it there properly
+ tmp_deplibs=
+ for deplib in $deplibs; do
+ tmp_deplibs="$deplib $tmp_deplibs"
+ done
+ deplibs="$tmp_deplibs"
+ fi
+
+ if test "$linkmode,$pass" = "lib,link" ||
+ test "$linkmode,$pass" = "prog,scan"; then
+ libs="$deplibs"
+ deplibs=
+ fi
+ if test "$linkmode" = prog; then
+ case $pass in
+ dlopen) libs="$dlfiles" ;;
+ dlpreopen) libs="$dlprefiles" ;;
+ link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ esac
+ fi
+ if test "$linkmode,$pass" = "lib,dlpreopen"; then
+ # Collect and forward deplibs of preopened libtool libs
+ for lib in $dlprefiles; do
+ # Ignore non-libtool-libs
+ dependency_libs=
+ func_resolve_sysroot "$lib"
+ case $lib in
+ *.la) func_source "$func_resolve_sysroot_result" ;;
+ esac
+
+ # Collect preopened libtool deplibs, except any this library
+ # has declared as weak libs
+ for deplib in $dependency_libs; do
+ func_basename "$deplib"
+ deplib_base=$func_basename_result
+ case " $weak_libs " in
+ *" $deplib_base "*) ;;
+ *) func_append deplibs " $deplib" ;;
+ esac
+ done
+ done
+ libs="$dlprefiles"
+ fi
+ if test "$pass" = dlopen; then
+ # Collect dlpreopened libraries
+ save_deplibs="$deplibs"
+ deplibs=
+ fi
+
+ for deplib in $libs; do
+ lib=
+ found=no
+ case $deplib in
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append compiler_flags " $deplib"
+ if test "$linkmode" = lib ; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -l*)
+ if test "$linkmode" != lib && test "$linkmode" != prog; then
+ func_warning "\`-l' is ignored for archives/objects"
+ continue
+ fi
+ func_stripname '-l' '' "$deplib"
+ name=$func_stripname_result
+ if test "$linkmode" = lib; then
+ searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
+ else
+ searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
+ fi
+ for searchdir in $searchdirs; do
+ for search_ext in .la $std_shrext .so .a; do
+ # Search the libtool library
+ lib="$searchdir/lib${name}${search_ext}"
+ if test -f "$lib"; then
+ if test "$search_ext" = ".la"; then
+ found=yes
+ else
+ found=no
+ fi
+ break 2
+ fi
+ done
+ done
+ if test "$found" != yes; then
+ # deplib doesn't seem to be a libtool library
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ else # deplib is a libtool library
+ # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
+ # We need to do some special things here, and not later.
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $deplib "*)
+ if func_lalib_p "$lib"; then
+ library_names=
+ old_library=
+ func_source "$lib"
+ for l in $old_library $library_names; do
+ ll="$l"
+ done
+ if test "X$ll" = "X$old_library" ; then # only static version available
+ found=no
+ func_dirname "$lib" "" "."
+ ladir="$func_dirname_result"
+ lib=$ladir/$old_library
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ fi
+ ;;
+ *) ;;
+ esac
+ fi
+ fi
+ ;; # -l
+ *.ltframework)
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ if test "$linkmode" = lib ; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -L*)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test "$pass" = conv && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ prog)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test "$pass" = scan; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ *)
+ func_warning "\`-L' is ignored for archives/objects"
+ ;;
+ esac # linkmode
+ continue
+ ;; # -L
+ -R*)
+ if test "$pass" = link; then
+ func_stripname '-R' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # Make sure the xrpath contains only unique directories.
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ fi
+ deplibs="$deplib $deplibs"
+ continue
+ ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ lib=$func_resolve_sysroot_result
+ ;;
+ *.$libext)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ case $linkmode in
+ lib)
+ # Linking convenience modules into shared libraries is allowed,
+ # but linking other static libraries is non-portable.
+ case " $dlpreconveniencelibs " in
+ *" $deplib "*) ;;
+ *)
+ valid_a_lib=no
+ case $deplibs_check_method in
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
+ | $EGREP "$match_pattern_regex" > /dev/null; then
+ valid_a_lib=yes
+ fi
+ ;;
+ pass_all)
+ valid_a_lib=yes
+ ;;
+ esac
+ if test "$valid_a_lib" != yes; then
+ echo
+ $ECHO "*** Warning: Trying to link with static lib archive $deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because the file extensions .$libext of this argument makes me believe"
+ echo "*** that it is just a static archive that I should not use here."
+ else
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the"
+ $ECHO "*** static library $deplib is not portable!"
+ deplibs="$deplib $deplibs"
+ fi
+ ;;
+ esac
+ continue
+ ;;
+ prog)
+ if test "$pass" != link; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ continue
+ ;;
+ esac # linkmode
+ ;; # *.$libext
+ *.lo | *.$objext)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ elif test "$linkmode" = prog; then
+ if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ # If there is no dlopen support or we're linking statically,
+ # we need to preload.
+ func_append newdlprefiles " $deplib"
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append newdlfiles " $deplib"
+ fi
+ fi
+ continue
+ ;;
+ %DEPLIBS%)
+ alldeplibs=yes
+ continue
+ ;;
+ esac # case $deplib
+
+ if test "$found" = yes || test -f "$lib"; then :
+ else
+ func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
+ fi
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$lib" \
+ || func_fatal_error "\`$lib' is not a valid libtool archive"
+
+ func_dirname "$lib" "" "."
+ ladir="$func_dirname_result"
+
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ inherited_linker_flags=
+ # If the library was installed with an old release of libtool,
+ # it will not redefine variables installed, or shouldnotlink
+ installed=yes
+ shouldnotlink=no
+ avoidtemprpath=
+
+
+ # Read the .la file
+ func_source "$lib"
+
+ # Convert "-framework foo" to "foo.ltframework"
+ if test -n "$inherited_linker_flags"; then
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
+ for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
+ case " $new_inherited_linker_flags " in
+ *" $tmp_inherited_linker_flag "*) ;;
+ *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
+ esac
+ done
+ fi
+ dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ if test "$linkmode,$pass" = "lib,link" ||
+ test "$linkmode,$pass" = "prog,scan" ||
+ { test "$linkmode" != prog && test "$linkmode" != lib; }; then
+ test -n "$dlopen" && func_append dlfiles " $dlopen"
+ test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
+ fi
+
+ if test "$pass" = conv; then
+ # Only check for convenience libraries
+ deplibs="$lib $deplibs"
+ if test -z "$libdir"; then
+ if test -z "$old_library"; then
+ func_fatal_error "cannot find name of link library for \`$lib'"
+ fi
+ # It is a libtool convenience library, so add in its objects.
+ func_append convenience " $ladir/$objdir/$old_library"
+ func_append old_convenience " $ladir/$objdir/$old_library"
+ elif test "$linkmode" != prog && test "$linkmode" != lib; then
+ func_fatal_error "\`$lib' is not a convenience library"
+ fi
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ deplibs="$deplib $deplibs"
+ if $opt_preserve_dup_deps ; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done
+ continue
+ fi # $pass = conv
+
+
+ # Get the name of the library we link against.
+ linklib=
+ if test -n "$old_library" &&
+ { test "$prefer_static_libs" = yes ||
+ test "$prefer_static_libs,$installed" = "built,no"; }; then
+ linklib=$old_library
+ else
+ for l in $old_library $library_names; do
+ linklib="$l"
+ done
+ fi
+ if test -z "$linklib"; then
+ func_fatal_error "cannot find name of link library for \`$lib'"
+ fi
+
+ # This library was specified with -dlopen.
+ if test "$pass" = dlopen; then
+ if test -z "$libdir"; then
+ func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
+ fi
+ if test -z "$dlname" ||
+ test "$dlopen_support" != yes ||
+ test "$build_libtool_libs" = no; then
+ # If there is no dlname, no dlopen support or we're linking
+ # statically, we need to preload. We also need to preload any
+ # dependent libraries so libltdl's deplib preloader doesn't
+ # bomb out in the load deplibs phase.
+ func_append dlprefiles " $lib $dependency_libs"
+ else
+ func_append newdlfiles " $lib"
+ fi
+ continue
+ fi # $pass = dlopen
+
+ # We need an absolute path.
+ case $ladir in
+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
+ *)
+ abs_ladir=`cd "$ladir" && pwd`
+ if test -z "$abs_ladir"; then
+ func_warning "cannot determine absolute directory name of \`$ladir'"
+ func_warning "passing it literally to the linker, although it might fail"
+ abs_ladir="$ladir"
+ fi
+ ;;
+ esac
+ func_basename "$lib"
+ laname="$func_basename_result"
+
+ # Find the relevant object directory and library name.
+ if test "X$installed" = Xyes; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ func_warning "library \`$lib' was moved."
+ dir="$ladir"
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ else
+ dir="$lt_sysroot$libdir"
+ absdir="$lt_sysroot$libdir"
+ fi
+ test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
+ else
+ if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ dir="$ladir"
+ absdir="$abs_ladir"
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ else
+ dir="$ladir/$objdir"
+ absdir="$abs_ladir/$objdir"
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ fi
+ fi # $installed = yes
+ func_stripname 'lib' '.la' "$laname"
+ name=$func_stripname_result
+
+ # This library was specified with -dlpreopen.
+ if test "$pass" = dlpreopen; then
+ if test -z "$libdir" && test "$linkmode" = prog; then
+ func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
+ fi
+ case "$host" in
+ # special handling for platforms with PE-DLLs.
+ *cygwin* | *mingw* | *cegcc* )
+ # Linker will automatically link against shared library if both
+ # static and shared are present. Therefore, ensure we extract
+ # symbols from the import library if a shared library is present
+ # (otherwise, the dlopen module name will be incorrect). We do
+ # this by putting the import library name into $newdlprefiles.
+ # We recover the dlopen module name by 'saving' the la file
+ # name in a special purpose variable, and (later) extracting the
+ # dlname from the la file.
+ if test -n "$dlname"; then
+ func_tr_sh "$dir/$linklib"
+ eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+ func_append newdlprefiles " $dir/$linklib"
+ else
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ fi
+ ;;
+ * )
+ # Prefer using a static library (so that no silly _DYNAMIC symbols
+ # are required to link).
+ if test -n "$old_library"; then
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ # Otherwise, use the dlname, so that lt_dlopen finds it.
+ elif test -n "$dlname"; then
+ func_append newdlprefiles " $dir/$dlname"
+ else
+ func_append newdlprefiles " $dir/$linklib"
+ fi
+ ;;
+ esac
+ fi # $pass = dlpreopen
+
+ if test -z "$libdir"; then
+ # Link the convenience library
+ if test "$linkmode" = lib; then
+ deplibs="$dir/$old_library $deplibs"
+ elif test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$dir/$old_library $compile_deplibs"
+ finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ else
+ deplibs="$lib $deplibs" # used for prog,scan pass
+ fi
+ continue
+ fi
+
+
+ if test "$linkmode" = prog && test "$pass" != link; then
+ func_append newlib_search_path " $ladir"
+ deplibs="$lib $deplibs"
+
+ linkalldeplibs=no
+ if test "$link_all_deplibs" != no || test -z "$library_names" ||
+ test "$build_libtool_libs" = no; then
+ linkalldeplibs=yes
+ fi
+
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ esac
+ # Need to link against all dependency_libs?
+ if test "$linkalldeplibs" = yes; then
+ deplibs="$deplib $deplibs"
+ else
+ # Need to hardcode shared library paths
+ # or/and link against static libraries
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ if $opt_preserve_dup_deps ; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done # for deplib
+ continue
+ fi # $linkmode = prog...
+
+ if test "$linkmode,$pass" = "prog,link"; then
+ if test -n "$library_names" &&
+ { { test "$prefer_static_libs" = no ||
+ test "$prefer_static_libs,$installed" = "built,yes"; } ||
+ test -z "$old_library"; }; then
+ # We need to hardcode the library path
+ if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
+ # Make sure the rpath contains only unique directories.
+ case "$temp_rpath:" in
+ *"$absdir:"*) ;;
+ *) func_append temp_rpath "$absdir:" ;;
+ esac
+ fi
+
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi # $linkmode,$pass = prog,link...
+
+ if test "$alldeplibs" = yes &&
+ { test "$deplibs_check_method" = pass_all ||
+ { test "$build_libtool_libs" = yes &&
+ test -n "$library_names"; }; }; then
+ # We only need to search for static libraries
+ continue
+ fi
+ fi
+
+ link_static=no # Whether the deplib will be linked statically
+ use_static_libs=$prefer_static_libs
+ if test "$use_static_libs" = built && test "$installed" = yes; then
+ use_static_libs=no
+ fi
+ if test -n "$library_names" &&
+ { test "$use_static_libs" = no || test -z "$old_library"; }; then
+ case $host in
+ *cygwin* | *mingw* | *cegcc*)
+ # No point in relinking DLLs because paths are not encoded
+ func_append notinst_deplibs " $lib"
+ need_relink=no
+ ;;
+ *)
+ if test "$installed" = no; then
+ func_append notinst_deplibs " $lib"
+ need_relink=yes
+ fi
+ ;;
+ esac
+ # This is a shared library
+
+ # Warn about portability, can't link against -module's on some
+ # systems (darwin). Don't bleat about dlopened modules though!
+ dlopenmodule=""
+ for dlpremoduletest in $dlprefiles; do
+ if test "X$dlpremoduletest" = "X$lib"; then
+ dlopenmodule="$dlpremoduletest"
+ break
+ fi
+ done
+ if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
+ echo
+ if test "$linkmode" = prog; then
+ $ECHO "*** Warning: Linking the executable $output against the loadable module"
+ else
+ $ECHO "*** Warning: Linking the shared library $output against the loadable module"
+ fi
+ $ECHO "*** $linklib is not portable!"
+ fi
+ if test "$linkmode" = lib &&
+ test "$hardcode_into_libs" = yes; then
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi
+
+ if test -n "$old_archive_from_expsyms_cmds"; then
+ # figure out the soname
+ set dummy $library_names
+ shift
+ realname="$1"
+ shift
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ # use dlname if we got it. it's perfectly good, no?
+ if test -n "$dlname"; then
+ soname="$dlname"
+ elif test -n "$soname_spec"; then
+ # bleh windows
+ case $host in
+ *cygwin* | mingw* | *cegcc*)
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix="-$major"
+ ;;
+ esac
+ eval soname=\"$soname_spec\"
+ else
+ soname="$realname"
+ fi
+
+ # Make a new name for the extract_expsyms_cmds to use
+ soroot="$soname"
+ func_basename "$soroot"
+ soname="$func_basename_result"
+ func_stripname 'lib' '.dll' "$soname"
+ newlib=libimp-$func_stripname_result.a
+
+ # If the library has no export list, then create one now
+ if test -f "$output_objdir/$soname-def"; then :
+ else
+ func_verbose "extracting exported symbol list from \`$soname'"
+ func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
+ fi
+
+ # Create $newlib
+ if test -f "$output_objdir/$newlib"; then :; else
+ func_verbose "generating import library for \`$soname'"
+ func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
+ fi
+ # make sure the library variables are pointing to the new library
+ dir=$output_objdir
+ linklib=$newlib
+ fi # test -n "$old_archive_from_expsyms_cmds"
+
+ if test "$linkmode" = prog || test "$opt_mode" != relink; then
+ add_shlibpath=
+ add_dir=
+ add=
+ lib_linked=yes
+ case $hardcode_action in
+ immediate | unsupported)
+ if test "$hardcode_direct" = no; then
+ add="$dir/$linklib"
+ case $host in
+ *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
+ *-*-sysv4*uw2*) add_dir="-L$dir" ;;
+ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
+ *-*-unixware7*) add_dir="-L$dir" ;;
+ *-*-darwin* )
+ # if the lib is a (non-dlopened) module then we can not
+ # link against it, someone is ignoring the earlier warnings
+ if /usr/bin/file -L $add 2> /dev/null |
+ $GREP ": [^:]* bundle" >/dev/null ; then
+ if test "X$dlopenmodule" != "X$lib"; then
+ $ECHO "*** Warning: lib $linklib is a module, not a shared library"
+ if test -z "$old_library" ; then
+ echo
+ echo "*** And there doesn't seem to be a static archive available"
+ echo "*** The link will probably fail, sorry"
+ else
+ add="$dir/$old_library"
+ fi
+ elif test -n "$old_library"; then
+ add="$dir/$old_library"
+ fi
+ fi
+ esac
+ elif test "$hardcode_minus_L" = no; then
+ case $host in
+ *-*-sunos*) add_shlibpath="$dir" ;;
+ esac
+ add_dir="-L$dir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = no; then
+ add_shlibpath="$dir"
+ add="-l$name"
+ else
+ lib_linked=no
+ fi
+ ;;
+ relink)
+ if test "$hardcode_direct" = yes &&
+ test "$hardcode_direct_absolute" = no; then
+ add="$dir/$linklib"
+ elif test "$hardcode_minus_L" = yes; then
+ add_dir="-L$dir"
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then
+ add_shlibpath="$dir"
+ add="-l$name"
+ else
+ lib_linked=no
+ fi
+ ;;
+ *) lib_linked=no ;;
+ esac
+
+ if test "$lib_linked" != yes; then
+ func_fatal_configuration "unsupported hardcode properties"
+ fi
+
+ if test -n "$add_shlibpath"; then
+ case :$compile_shlibpath: in
+ *":$add_shlibpath:"*) ;;
+ *) func_append compile_shlibpath "$add_shlibpath:" ;;
+ esac
+ fi
+ if test "$linkmode" = prog; then
+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ if test "$hardcode_direct" != yes &&
+ test "$hardcode_minus_L" != yes &&
+ test "$hardcode_shlibpath_var" = yes; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ fi
+ fi
+ fi
+
+ if test "$linkmode" = prog || test "$opt_mode" = relink; then
+ add_shlibpath=
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+ if test "$hardcode_direct" = yes &&
+ test "$hardcode_direct_absolute" = no; then
+ add="$libdir/$linklib"
+ elif test "$hardcode_minus_L" = yes; then
+ add_dir="-L$libdir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ add="-l$name"
+ elif test "$hardcode_automatic" = yes; then
+ if test -n "$inst_prefix_dir" &&
+ test -f "$inst_prefix_dir$libdir/$linklib" ; then
+ add="$inst_prefix_dir$libdir/$linklib"
+ else
+ add="$libdir/$linklib"
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+ add_dir="-L$libdir"
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add="-l$name"
+ fi
+
+ if test "$linkmode" = prog; then
+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ fi
+ fi
+ elif test "$linkmode" = prog; then
+ # Here we assume that one of hardcode_direct or hardcode_minus_L
+ # is not unsupported. This is valid on all known static and
+ # shared platforms.
+ if test "$hardcode_direct" != unsupported; then
+ test -n "$old_library" && linklib="$old_library"
+ compile_deplibs="$dir/$linklib $compile_deplibs"
+ finalize_deplibs="$dir/$linklib $finalize_deplibs"
+ else
+ compile_deplibs="-l$name -L$dir $compile_deplibs"
+ finalize_deplibs="-l$name -L$dir $finalize_deplibs"
+ fi
+ elif test "$build_libtool_libs" = yes; then
+ # Not a shared library
+ if test "$deplibs_check_method" != pass_all; then
+ # We're trying link a shared library against a static one
+ # but the system doesn't support it.
+
+ # Just print a warning and add the library to dependency_libs so
+ # that the program can be linked against the static library.
+ echo
+ $ECHO "*** Warning: This system can not link to static lib archive $lib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have."
+ if test "$module" = yes; then
+ echo "*** But as you try to build a module library, libtool will still create "
+ echo "*** a static module, that should work as long as the dlopening application"
+ echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test "$build_old_libs" = no; then
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ else
+ deplibs="$dir/$old_library $deplibs"
+ link_static=yes
+ fi
+ fi # link shared/static library?
+
+ if test "$linkmode" = lib; then
+ if test -n "$dependency_libs" &&
+ { test "$hardcode_into_libs" != yes ||
+ test "$build_old_libs" = yes ||
+ test "$link_static" = yes; }; then
+ # Extract -R from dependency_libs
+ temp_deplibs=
+ for libdir in $dependency_libs; do
+ case $libdir in
+ -R*) func_stripname '-R' '' "$libdir"
+ temp_xrpath=$func_stripname_result
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) func_append xrpath " $temp_xrpath";;
+ esac;;
+ *) func_append temp_deplibs " $libdir";;
+ esac
+ done
+ dependency_libs="$temp_deplibs"
+ fi
+
+ func_append newlib_search_path " $absdir"
+ # Link against this library
+ test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
+ # ... and its dependency_libs
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ newdependency_libs="$deplib $newdependency_libs"
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result";;
+ *) func_resolve_sysroot "$deplib" ;;
+ esac
+ if $opt_preserve_dup_deps ; then
+ case "$tmp_libs " in
+ *" $func_resolve_sysroot_result "*)
+ func_append specialdeplibs " $func_resolve_sysroot_result" ;;
+ esac
+ fi
+ func_append tmp_libs " $func_resolve_sysroot_result"
+ done
+
+ if test "$link_all_deplibs" != no; then
+ # Add the search paths of all dependency libraries
+ for deplib in $dependency_libs; do
+ path=
+ case $deplib in
+ -L*) path="$deplib" ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ deplib=$func_resolve_sysroot_result
+ func_dirname "$deplib" "" "."
+ dir=$func_dirname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ func_warning "cannot determine absolute directory name of \`$dir'"
+ absdir="$dir"
+ fi
+ ;;
+ esac
+ if $GREP "^installed=no" $deplib > /dev/null; then
+ case $host in
+ *-*-darwin*)
+ depdepl=
+ eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
+ if test -n "$deplibrary_names" ; then
+ for tmp in $deplibrary_names ; do
+ depdepl=$tmp
+ done
+ if test -f "$absdir/$objdir/$depdepl" ; then
+ depdepl="$absdir/$objdir/$depdepl"
+ darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ if test -z "$darwin_install_name"; then
+ darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ fi
+ func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
+ func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
+ path=
+ fi
+ fi
+ ;;
+ *)
+ path="-L$absdir/$objdir"
+ ;;
+ esac
+ else
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ test -z "$libdir" && \
+ func_fatal_error "\`$deplib' is not a valid libtool archive"
+ test "$absdir" != "$libdir" && \
+ func_warning "\`$deplib' seems to be moved"
+
+ path="-L$absdir"
+ fi
+ ;;
+ esac
+ case " $deplibs " in
+ *" $path "*) ;;
+ *) deplibs="$path $deplibs" ;;
+ esac
+ done
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
+ if test "$pass" = link; then
+ if test "$linkmode" = "prog"; then
+ compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
+ finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
+ else
+ compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ fi
+ fi
+ dependency_libs="$newdependency_libs"
+ if test "$pass" = dlpreopen; then
+ # Link the dlpreopened libraries before other libraries
+ for deplib in $save_deplibs; do
+ deplibs="$deplib $deplibs"
+ done
+ fi
+ if test "$pass" != dlopen; then
+ if test "$pass" != conv; then
+ # Make sure lib_search_path contains only unique directories.
+ lib_search_path=
+ for dir in $newlib_search_path; do
+ case "$lib_search_path " in
+ *" $dir "*) ;;
+ *) func_append lib_search_path " $dir" ;;
+ esac
+ done
+ newlib_search_path=
+ fi
+
+ if test "$linkmode,$pass" != "prog,link"; then
+ vars="deplibs"
+ else
+ vars="compile_deplibs finalize_deplibs"
+ fi
+ for var in $vars dependency_libs; do
+ # Add libraries to $var in reverse order
+ eval tmp_libs=\"\$$var\"
+ new_libs=
+ for deplib in $tmp_libs; do
+ # FIXME: Pedantically, this is the right thing to do, so
+ # that some nasty dependency loop isn't accidentally
+ # broken:
+ #new_libs="$deplib $new_libs"
+ # Pragmatically, this seems to cause very few problems in
+ # practice:
+ case $deplib in
+ -L*) new_libs="$deplib $new_libs" ;;
+ -R*) ;;
+ *)
+ # And here is the reason: when a library appears more
+ # than once as an explicit dependence of a library, or
+ # is implicitly linked in more than once by the
+ # compiler, it is considered special, and multiple
+ # occurrences thereof are not removed. Compare this
+ # with having the same library being listed as a
+ # dependency of multiple other libraries: in this case,
+ # we know (pedantically, we assume) the library does not
+ # need to be listed more than once, so we keep only the
+ # last copy. This is not always right, but it is rare
+ # enough that we require users that really mean to play
+ # such unportable linking tricks to link the library
+ # using -Wl,-lname, so that libtool does not consider it
+ # for duplicate removal.
+ case " $specialdeplibs " in
+ *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ *)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) new_libs="$deplib $new_libs" ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ done
+ tmp_libs=
+ for deplib in $new_libs; do
+ case $deplib in
+ -L*)
+ case " $tmp_libs " in
+ *" $deplib "*) ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ done
+ eval $var=\"$tmp_libs\"
+ done # for var
+ fi
+ # Last step: remove runtime libs from dependency_libs
+ # (they stay in deplibs)
+ tmp_libs=
+ for i in $dependency_libs ; do
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ *" $i "*)
+ i=""
+ ;;
+ esac
+ if test -n "$i" ; then
+ func_append tmp_libs " $i"
+ fi
+ done
+ dependency_libs=$tmp_libs
+ done # for pass
+ if test "$linkmode" = prog; then
+ dlfiles="$newdlfiles"
+ fi
+ if test "$linkmode" = prog || test "$linkmode" = lib; then
+ dlprefiles="$newdlprefiles"
+ fi
+
+ case $linkmode in
+ oldlib)
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ func_warning "\`-dlopen' is ignored for archives"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "\`-l' and \`-L' are ignored for archives" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "\`-rpath' is ignored for archives"
+
+ test -n "$xrpath" && \
+ func_warning "\`-R' is ignored for archives"
+
+ test -n "$vinfo" && \
+ func_warning "\`-version-info/-version-number' is ignored for archives"
+
+ test -n "$release" && \
+ func_warning "\`-release' is ignored for archives"
+
+ test -n "$export_symbols$export_symbols_regex" && \
+ func_warning "\`-export-symbols' is ignored for archives"
+
+ # Now set the variables for building old libraries.
+ build_libtool_libs=no
+ oldlibs="$output"
+ func_append objs "$old_deplibs"
+ ;;
+
+ lib)
+ # Make sure we only generate libraries of the form `libNAME.la'.
+ case $outputname in
+ lib*)
+ func_stripname 'lib' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+ test "$module" = no && \
+ func_fatal_help "libtool library \`$output' must begin with \`lib'"
+
+ if test "$need_lib_prefix" != no; then
+ # Add the "lib" prefix for modules if required
+ func_stripname '' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ else
+ func_stripname '' '.la' "$outputname"
+ libname=$func_stripname_result
+ fi
+ ;;
+ esac
+
+ if test -n "$objs"; then
+ if test "$deplibs_check_method" != pass_all; then
+ func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
+ else
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
+ $ECHO "*** objects $objs is not portable!"
+ func_append libobjs " $objs"
+ fi
+ fi
+
+ test "$dlself" != no && \
+ func_warning "\`-dlopen self' is ignored for libtool libraries"
+
+ set dummy $rpath
+ shift
+ test "$#" -gt 1 && \
+ func_warning "ignoring multiple \`-rpath's for a libtool library"
+
+ install_libdir="$1"
+
+ oldlibs=
+ if test -z "$rpath"; then
+ if test "$build_libtool_libs" = yes; then
+ # Building a libtool convenience library.
+ # Some compilers have problems with a `.al' extension so
+ # convenience libraries should have the same extension an
+ # archive normally would.
+ oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ build_libtool_libs=convenience
+ build_old_libs=yes
+ fi
+
+ test -n "$vinfo" && \
+ func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
+
+ test -n "$release" && \
+ func_warning "\`-release' is ignored for convenience libraries"
+ else
+
+ # Parse the version information argument.
+ save_ifs="$IFS"; IFS=':'
+ set dummy $vinfo 0 0 0
+ shift
+ IFS="$save_ifs"
+
+ test -n "$7" && \
+ func_fatal_help "too many parameters to \`-version-info'"
+
+ # convert absolute version numbers to libtool ages
+ # this retains compatibility with .la files and attempts
+ # to make the code below a bit more comprehensible
+
+ case $vinfo_number in
+ yes)
+ number_major="$1"
+ number_minor="$2"
+ number_revision="$3"
+ #
+ # There are really only two kinds -- those that
+ # use the current revision as the major version
+ # and those that subtract age and use age as
+ # a minor version. But, then there is irix
+ # which has an extra 1 added just for fun
+ #
+ case $version_type in
+ darwin|linux|osf|windows|none)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age="$number_minor"
+ revision="$number_revision"
+ ;;
+ freebsd-aout|freebsd-elf|qnx|sunos)
+ current="$number_major"
+ revision="$number_minor"
+ age="0"
+ ;;
+ irix|nonstopux)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age="$number_minor"
+ revision="$number_minor"
+ lt_irix_increment=no
+ ;;
+ esac
+ ;;
+ no)
+ current="$1"
+ revision="$2"
+ age="$3"
+ ;;
+ esac
+
+ # Check that each of the things are valid numbers.
+ case $current in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "CURRENT \`$current' must be a nonnegative integer"
+ func_fatal_error "\`$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $revision in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "REVISION \`$revision' must be a nonnegative integer"
+ func_fatal_error "\`$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $age in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "AGE \`$age' must be a nonnegative integer"
+ func_fatal_error "\`$vinfo' is not valid version information"
+ ;;
+ esac
+
+ if test "$age" -gt "$current"; then
+ func_error "AGE \`$age' is greater than the current interface number \`$current'"
+ func_fatal_error "\`$vinfo' is not valid version information"
+ fi
+
+ # Calculate the version variables.
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
+ none) ;;
+
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix="$major.$age.$revision"
+ # Darwin ld doesn't like 0 for these options...
+ func_arith $current + 1
+ minor_current=$func_arith_result
+ xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ ;;
+
+ freebsd-aout)
+ major=".$current"
+ versuffix=".$current.$revision";
+ ;;
+
+ freebsd-elf)
+ major=".$current"
+ versuffix=".$current"
+ ;;
+
+ irix | nonstopux)
+ if test "X$lt_irix_increment" = "Xno"; then
+ func_arith $current - $age
+ else
+ func_arith $current - $age + 1
+ fi
+ major=$func_arith_result
+
+ case $version_type in
+ nonstopux) verstring_prefix=nonstopux ;;
+ *) verstring_prefix=sgi ;;
+ esac
+ verstring="$verstring_prefix$major.$revision"
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$revision
+ while test "$loop" -ne 0; do
+ func_arith $revision - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring="$verstring_prefix$major.$iface:$verstring"
+ done
+
+ # Before this point, $major must not contain `.'.
+ major=.$major
+ versuffix="$major.$revision"
+ ;;
+
+ linux)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix="$major.$age.$revision"
+ ;;
+
+ osf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=".$current.$age.$revision"
+ verstring="$current.$age.$revision"
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$age
+ while test "$loop" -ne 0; do
+ func_arith $current - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring="$verstring:${iface}.0"
+ done
+
+ # Make executables depend on our current version.
+ func_append verstring ":${current}.0"
+ ;;
+
+ qnx)
+ major=".$current"
+ versuffix=".$current"
+ ;;
+
+ sunos)
+ major=".$current"
+ versuffix=".$current.$revision"
+ ;;
+
+ windows)
+ # Use '-' rather than '.', since we only want one
+ # extension on DOS 8.3 filesystems.
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix="-$major"
+ ;;
+
+ *)
+ func_fatal_configuration "unknown library version type \`$version_type'"
+ ;;
+ esac
+
+ # Clear the version info if we defaulted, and they specified a release.
+ if test -z "$vinfo" && test -n "$release"; then
+ major=
+ case $version_type in
+ darwin)
+ # we can't check for "0.0" in archive_cmds due to quoting
+ # problems, so we reset it completely
+ verstring=
+ ;;
+ *)
+ verstring="0.0"
+ ;;
+ esac
+ if test "$need_version" = no; then
+ versuffix=
+ else
+ versuffix=".0.0"
+ fi
+ fi
+
+ # Remove version info from name if versioning should be avoided
+ if test "$avoid_version" = yes && test "$need_version" = no; then
+ major=
+ versuffix=
+ verstring=""
+ fi
+
+ # Check to see if the archive will have undefined symbols.
+ if test "$allow_undefined" = yes; then
+ if test "$allow_undefined_flag" = unsupported; then
+ func_warning "undefined symbols not allowed in $host shared libraries"
+ build_libtool_libs=no
+ build_old_libs=yes
+ fi
+ else
+ # Don't allow undefined symbols.
+ allow_undefined_flag="$no_undefined_flag"
+ fi
+
+ fi
+
+ func_generate_dlsyms "$libname" "$libname" "yes"
+ func_append libobjs " $symfileobj"
+ test "X$libobjs" = "X " && libobjs=
+
+ if test "$opt_mode" != relink; then
+ # Remove our outputs, but don't remove object files since they
+ # may have been created when compiling PIC objects.
+ removelist=
+ tempremovelist=`$ECHO "$output_objdir/*"`
+ for p in $tempremovelist; do
+ case $p in
+ *.$objext | *.gcno)
+ ;;
+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
+ if test "X$precious_files_regex" != "X"; then
+ if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
+ then
+ continue
+ fi
+ fi
+ func_append removelist " $p"
+ ;;
+ *) ;;
+ esac
+ done
+ test -n "$removelist" && \
+ func_show_eval "${RM}r \$removelist"
+ fi
+
+ # Now set the variables for building old libraries.
+ if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
+ func_append oldlibs " $output_objdir/$libname.$libext"
+
+ # Transform .lo files to .o files.
+ oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
+ fi
+
+ # Eliminate all temporary directories.
+ #for path in $notinst_path; do
+ # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+ # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+ # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
+ #done
+
+ if test -n "$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ temp_xrpath=
+ for libdir in $xrpath; do
+ func_replace_sysroot "$libdir"
+ func_append temp_xrpath " -R$func_replace_sysroot_result"
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
+ dependency_libs="$temp_xrpath $dependency_libs"
+ fi
+ fi
+
+ # Make sure dlfiles contains only unique files that won't be dlpreopened
+ old_dlfiles="$dlfiles"
+ dlfiles=
+ for lib in $old_dlfiles; do
+ case " $dlprefiles $dlfiles " in
+ *" $lib "*) ;;
+ *) func_append dlfiles " $lib" ;;
+ esac
+ done
+
+ # Make sure dlprefiles contains only unique files
+ old_dlprefiles="$dlprefiles"
+ dlprefiles=
+ for lib in $old_dlprefiles; do
+ case "$dlprefiles " in
+ *" $lib "*) ;;
+ *) func_append dlprefiles " $lib" ;;
+ esac
+ done
+
+ if test "$build_libtool_libs" = yes; then
+ if test -n "$rpath"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # these systems don't actually have a c library (as such)!
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C library is in the System framework
+ func_append deplibs " System.ltframework"
+ ;;
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+ func_append deplibs " -lc"
+ fi
+ ;;
+ esac
+ fi
+
+ # Transform deplibs into only deplibs that can be linked in shared.
+ name_save=$name
+ libname_save=$libname
+ release_save=$release
+ versuffix_save=$versuffix
+ major_save=$major
+ # I'm not sure if I'm treating the release correctly. I think
+ # release should show up in the -l (ie -lgmp5) so we don't want to
+ # add it in twice. Is that correct?
+ release=""
+ versuffix=""
+ major=""
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ pass_all)
+ # Don't check for shared/static. Everything works.
+ # This might be a little naive. We might want to check
+ # whether the library exists or not. But this is on
+ # osf3 & osf4 and I'm not really sure... Just
+ # implementing what was already the behavior.
+ newdeplibs=$deplibs
+ ;;
+ test_compile)
+ # This code stresses the "libraries are programs" paradigm to its
+ # limits. Maybe even breaks it. We compile a program, linking it
+ # against the deplibs as a proxy for the library. Then we can check
+ # whether they linked in statically or dynamically with ldd.
+ $opt_dry_run || $RM conftest.c
+ cat > conftest.c <<EOF
+ int main() { return 0; }
+EOF
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
+ ldd_output=`ldd conftest`
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=""
+ ;;
+ esac
+ fi
+ if test -n "$i" ; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which I believe you do not have"
+ echo "*** because a test_compile did reveal that the linker did not use it for"
+ echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ fi
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ else
+ # Error occurred in the first compile. Let's try to salvage
+ # the situation: Compile a separate program for each library.
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
+ ldd_output=`ldd conftest`
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=""
+ ;;
+ esac
+ fi
+ if test -n "$i" ; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because a test_compile did reveal that the linker did not use this one"
+ echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ fi
+ fi
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
+ echo "*** make it link in! You will probably need to install it or some"
+ echo "*** library that it depends on before this library will be fully"
+ echo "*** functional. Installing it before continuing would be even better."
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ fi
+ ;;
+ file_magic*)
+ set dummy $deplibs_check_method; shift
+ file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=""
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib" ; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ if test -n "$file_magic_glob"; then
+ libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+ else
+ libnameglob=$libname
+ fi
+ test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ if test "$want_nocaseglob" = yes; then
+ shopt -s nocaseglob
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ $nocaseglob
+ else
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ fi
+ for potent_lib in $potential_libs; do
+ # Follow soft links.
+ if ls -lLd "$potent_lib" 2>/dev/null |
+ $GREP " -> " >/dev/null; then
+ continue
+ fi
+ # The statement above tries to avoid entering an
+ # endless loop below, in case of cyclic links.
+ # We might still enter an endless loop, since a link
+ # loop can be closed while we follow links,
+ # but so what?
+ potlib="$potent_lib"
+ while test -h "$potlib" 2>/dev/null; do
+ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
+ case $potliblink in
+ [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
+ esac
+ done
+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
+ $SED -e 10q |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=""
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib" ; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib" ; then
+ $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a file magic. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=""
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib" ; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ potlib="$potent_lib" # see symlink-check above in file_magic test
+ if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
+ $EGREP "$match_pattern_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=""
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib" ; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib" ; then
+ $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a regex pattern. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ none | unknown | *)
+ newdeplibs=""
+ tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ for i in $predeps $postdeps ; do
+ # can't use Xsed below, because $i might contain '/'
+ tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
+ done
+ fi
+ case $tmp_deplibs in
+ *[!\ \ ]*)
+ echo
+ if test "X$deplibs_check_method" = "Xnone"; then
+ echo "*** Warning: inter-library dependencies are not supported in this platform."
+ else
+ echo "*** Warning: inter-library dependencies are not known to be supported."
+ fi
+ echo "*** All declared inter-library dependencies are being dropped."
+ droppeddeps=yes
+ ;;
+ esac
+ ;;
+ esac
+ versuffix=$versuffix_save
+ major=$major_save
+ release=$release_save
+ libname=$libname_save
+ name=$name_save
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library with the System framework
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ if test "$droppeddeps" = yes; then
+ if test "$module" = yes; then
+ echo
+ echo "*** Warning: libtool could not satisfy all declared inter-library"
+ $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
+ echo "*** a static module, that should work as long as the dlopening"
+ echo "*** application is linked with the -dlopen flag."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test "$build_old_libs" = no; then
+ oldlibs="$output_objdir/$libname.$libext"
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ else
+ echo "*** The inter-library dependencies that have been dropped here will be"
+ echo "*** automatically added whenever a program is linked with this library"
+ echo "*** or is declared to -dlopen it."
+
+ if test "$allow_undefined" = no; then
+ echo
+ echo "*** Since this library must not contain undefined symbols,"
+ echo "*** because either the platform does not support them or"
+ echo "*** it was explicitly requested with -no-undefined,"
+ echo "*** libtool will only create a static version of it."
+ if test "$build_old_libs" = no; then
+ oldlibs="$output_objdir/$libname.$libext"
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ fi
+ fi
+ # Done checking deplibs!
+ deplibs=$newdeplibs
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ case $host in
+ *-*-darwin*)
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ deplibs="$new_libs"
+
+ # All the library-specific variables (install_libdir is set above).
+ library_names=
+ old_library=
+ dlname=
+
+ # Test again, we may have decided not to build it any more
+ if test "$build_libtool_libs" = yes; then
+ if test "$hardcode_into_libs" = yes; then
+ # Hardcode the library paths
+ hardcode_libdirs=
+ dep_rpath=
+ rpath="$finalize_rpath"
+ test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
+ for libdir in $rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ func_replace_sysroot "$libdir"
+ libdir=$func_replace_sysroot_result
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append dep_rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_apped perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ if test -n "$hardcode_libdir_flag_spec_ld"; then
+ eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
+ else
+ eval dep_rpath=\"$hardcode_libdir_flag_spec\"
+ fi
+ fi
+ if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
+ fi
+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
+ fi
+
+ shlibpath="$finalize_shlibpath"
+ test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
+ if test -n "$shlibpath"; then
+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
+ fi
+
+ # Get the real and link names of the library.
+ eval shared_ext=\"$shrext_cmds\"
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ shift
+ realname="$1"
+ shift
+
+ if test -n "$soname_spec"; then
+ eval soname=\"$soname_spec\"
+ else
+ soname="$realname"
+ fi
+ if test -z "$dlname"; then
+ dlname=$soname
+ fi
+
+ lib="$output_objdir/$realname"
+ linknames=
+ for link
+ do
+ func_append linknames " $link"
+ done
+
+ # Use standard objects if they are pic
+ test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ test "X$libobjs" = "X " && libobjs=
+
+ delfiles=
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
+ export_symbols="$output_objdir/$libname.uexp"
+ func_append delfiles " $export_symbols"
+ fi
+
+ orig_export_symbols=
+ case $host_os in
+ cygwin* | mingw* | cegcc*)
+ if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
+ # exporting using user supplied symfile
+ if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
+ # and it's NOT already a .def file. Must figure out
+ # which of the given symbols are data symbols and tag
+ # them as such. So, trigger use of export_symbols_cmds.
+ # export_symbols gets reassigned inside the "prepare
+ # the list of exported symbols" if statement, so the
+ # include_expsyms logic still works.
+ orig_export_symbols="$export_symbols"
+ export_symbols=
+ always_export_symbols=yes
+ fi
+ fi
+ ;;
+ esac
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
+ func_verbose "generating symbol list for \`$libname.la'"
+ export_symbols="$output_objdir/$libname.exp"
+ $opt_dry_run || $RM $export_symbols
+ cmds=$export_symbols_cmds
+ save_ifs="$IFS"; IFS='~'
+ for cmd1 in $cmds; do
+ IFS="$save_ifs"
+ # Take the normal branch if the nm_file_list_spec branch
+ # doesn't work or if tool conversion is not needed.
+ case $nm_file_list_spec~$to_tool_file_cmd in
+ *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+ try_normal_branch=yes
+ eval cmd=\"$cmd1\"
+ func_len " $cmd"
+ len=$func_len_result
+ ;;
+ *)
+ try_normal_branch=no
+ ;;
+ esac
+ if test "$try_normal_branch" = yes \
+ && { test "$len" -lt "$max_cmd_len" \
+ || test "$max_cmd_len" -le -1; }
+ then
+ func_show_eval "$cmd" 'exit $?'
+ skipped_export=false
+ elif test -n "$nm_file_list_spec"; then
+ func_basename "$output"
+ output_la=$func_basename_result
+ save_libobjs=$libobjs
+ save_output=$output
+ output=${output_objdir}/${output_la}.nm
+ func_to_tool_file "$output"
+ libobjs=$nm_file_list_spec$func_to_tool_file_result
+ func_append delfiles " $output"
+ func_verbose "creating $NM input file list: $output"
+ for obj in $save_libobjs; do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > "$output"
+ eval cmd=\"$cmd1\"
+ func_show_eval "$cmd" 'exit $?'
+ output=$save_output
+ libobjs=$save_libobjs
+ skipped_export=false
+ else
+ # The command line is too long to execute in one step.
+ func_verbose "using reloadable object file for export list..."
+ skipped_export=:
+ # Break out early, otherwise skipped_export may be
+ # set to false by a later but shorter cmd.
+ break
+ fi
+ done
+ IFS="$save_ifs"
+ if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+ fi
+
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols="$export_symbols"
+ test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+
+ tmp_deplibs=
+ for test_deplib in $deplibs; do
+ case " $convenience " in
+ *" $test_deplib "*) ;;
+ *)
+ func_append tmp_deplibs " $test_deplib"
+ ;;
+ esac
+ done
+ deplibs="$tmp_deplibs"
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec" &&
+ test "$compiler_needs_object" = yes &&
+ test -z "$libobjs"; then
+ # extract the archives, so we have objects to list.
+ # TODO: could optimize this to just extract one archive.
+ whole_archive_flag_spec=
+ fi
+ if test -n "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ else
+ gentop="$output_objdir/${outputname}x"
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ fi
+
+ if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
+ eval flag=\"$thread_safe_flag_spec\"
+ func_append linker_flags " $flag"
+ fi
+
+ # Make a backup of the uninstalled library when relinking
+ if test "$opt_mode" = relink; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
+ fi
+
+ # Do each of the archive commands.
+ if test "$module" = yes && test -n "$module_cmds" ; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ eval test_cmds=\"$module_expsym_cmds\"
+ cmds=$module_expsym_cmds
+ else
+ eval test_cmds=\"$module_cmds\"
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval test_cmds=\"$archive_expsym_cmds\"
+ cmds=$archive_expsym_cmds
+ else
+ eval test_cmds=\"$archive_cmds\"
+ cmds=$archive_cmds
+ fi
+ fi
+
+ if test "X$skipped_export" != "X:" &&
+ func_len " $test_cmds" &&
+ len=$func_len_result &&
+ test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # The command line is too long to link in one step, link piecewise
+ # or, if using GNU ld and skipped_export is not :, use a linker
+ # script.
+
+ # Save the value of $output and $libobjs because we want to
+ # use them later. If we have whole_archive_flag_spec, we
+ # want to use save_libobjs as it was before
+ # whole_archive_flag_spec was expanded, because we can't
+ # assume the linker understands whole_archive_flag_spec.
+ # This may have to be revisited, in case too many
+ # convenience libraries get linked in and end up exceeding
+ # the spec.
+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ fi
+ save_output=$output
+ func_basename "$output"
+ output_la=$func_basename_result
+
+ # Clear the reloadable object creation command queue and
+ # initialize k to one.
+ test_cmds=
+ concat_cmds=
+ objlist=
+ last_robj=
+ k=1
+
+ if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
+ output=${output_objdir}/${output_la}.lnkscript
+ func_verbose "creating GNU ld script: $output"
+ echo 'INPUT (' > $output
+ for obj in $save_libobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ echo ')' >> $output
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$func_to_tool_file_result
+ elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
+ output=${output_objdir}/${output_la}.lnk
+ func_verbose "creating linker input file list: $output"
+ : > $output
+ set x $save_libobjs
+ shift
+ firstobj=
+ if test "$compiler_needs_object" = yes; then
+ firstobj="$1 "
+ shift
+ fi
+ for obj
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
+ else
+ if test -n "$save_libobjs"; then
+ func_verbose "creating reloadable object files..."
+ output=$output_objdir/$output_la-${k}.$objext
+ eval test_cmds=\"$reload_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+
+ # Loop over the list of objects to be linked.
+ for obj in $save_libobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ if test "X$objlist" = X ||
+ test "$len" -lt "$max_cmd_len"; then
+ func_append objlist " $obj"
+ else
+ # The command $test_cmds is almost too long, add a
+ # command to the queue.
+ if test "$k" -eq 1 ; then
+ # The first file doesn't have a previous command to add.
+ reload_objs=$objlist
+ eval concat_cmds=\"$reload_cmds\"
+ else
+ # All subsequent reloadable object files will link in
+ # the last one created.
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
+ fi
+ last_robj=$output_objdir/$output_la-${k}.$objext
+ func_arith $k + 1
+ k=$func_arith_result
+ output=$output_objdir/$output_la-${k}.$objext
+ objlist=" $obj"
+ func_len " $last_robj"
+ func_arith $len0 + $func_len_result
+ len=$func_arith_result
+ fi
+ done
+ # Handle the remaining objects by creating one last
+ # reloadable object file. All subsequent reloadable object
+ # files will link in the last one created.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
+ fi
+ func_append delfiles " $output"
+
+ else
+ output=
+ fi
+
+ if ${skipped_export-false}; then
+ func_verbose "generating symbol list for \`$libname.la'"
+ export_symbols="$output_objdir/$libname.exp"
+ $opt_dry_run || $RM $export_symbols
+ libobjs=$output
+ # Append the command to create the export file.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ fi
+
+ test -n "$save_libobjs" &&
+ func_verbose "creating a temporary reloadable object file: $output"
+
+ # Loop through the commands generated above and execute them.
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $concat_cmds; do
+ IFS="$save_ifs"
+ $opt_silent || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test "$opt_mode" = relink; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS="$save_ifs"
+
+ if test -n "$export_symbols_regex" && ${skipped_export-false}; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+
+ if ${skipped_export-false}; then
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols="$export_symbols"
+ test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+ fi
+
+ libobjs=$output
+ # Restore the value of output.
+ output=$save_output
+
+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ # Expand the library linking commands again to reset the
+ # value of $libobjs for piecewise linking.
+
+ # Do each of the archive commands.
+ if test "$module" = yes && test -n "$module_cmds" ; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ cmds=$module_expsym_cmds
+ else
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ cmds=$archive_expsym_cmds
+ else
+ cmds=$archive_cmds
+ fi
+ fi
+ fi
+
+ if test -n "$delfiles"; then
+ # Append the command to remove temporary files to $cmds.
+ eval cmds=\"\$cmds~\$RM $delfiles\"
+ fi
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop="$output_objdir/${outputname}x"
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ eval cmd=\"$cmd\"
+ $opt_silent || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test "$opt_mode" = relink; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS="$save_ifs"
+
+ # Restore the uninstalled library and exit
+ if test "$opt_mode" = relink; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
+
+ if test -n "$convenience"; then
+ if test -z "$whole_archive_flag_spec"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ # Create links to the real library.
+ for linkname in $linknames; do
+ if test "$realname" != "$linkname"; then
+ func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
+ fi
+ done
+
+ # If -module or -export-dynamic was specified, set the dlname.
+ if test "$module" = yes || test "$export_dynamic" = yes; then
+ # On all known operating systems, these are identical.
+ dlname="$soname"
+ fi
+ fi
+ ;;
+
+ obj)
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ func_warning "\`-dlopen' is ignored for objects"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "\`-l' and \`-L' are ignored for objects" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "\`-rpath' is ignored for objects"
+
+ test -n "$xrpath" && \
+ func_warning "\`-R' is ignored for objects"
+
+ test -n "$vinfo" && \
+ func_warning "\`-version-info' is ignored for objects"
+
+ test -n "$release" && \
+ func_warning "\`-release' is ignored for objects"
+
+ case $output in
+ *.lo)
+ test -n "$objs$old_deplibs" && \
+ func_fatal_error "cannot build library object \`$output' from non-libtool objects"
+
+ libobj=$output
+ func_lo2o "$libobj"
+ obj=$func_lo2o_result
+ ;;
+ *)
+ libobj=
+ obj="$output"
+ ;;
+ esac
+
+ # Delete the old objects.
+ $opt_dry_run || $RM $obj $libobj
+
+ # Objects from convenience libraries. This assumes
+ # single-version convenience libraries. Whenever we create
+ # different ones for PIC/non-PIC, this we'll have to duplicate
+ # the extraction.
+ reload_conv_objs=
+ gentop=
+ # reload_cmds runs $LD directly, so let us get rid of
+ # -Wl from whole_archive_flag_spec and hope we can get by with
+ # turning comma into space..
+ wl=
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
+ reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
+ else
+ gentop="$output_objdir/${obj}x"
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ reload_conv_objs="$reload_objs $func_extract_archives_result"
+ fi
+ fi
+
+ # If we're not building shared, we need to use non_pic_objs
+ test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
+
+ # Create the old-style object.
+ reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+
+ output="$obj"
+ func_execute_cmds "$reload_cmds" 'exit $?'
+
+ # Exit if we aren't doing a library object file.
+ if test -z "$libobj"; then
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ if test "$build_libtool_libs" != yes; then
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ # $show "echo timestamp > $libobj"
+ # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
+ exit $EXIT_SUCCESS
+ fi
+
+ if test -n "$pic_flag" || test "$pic_mode" != default; then
+ # Only do commands if we really have different PIC objects.
+ reload_objs="$libobjs $reload_conv_objs"
+ output="$libobj"
+ func_execute_cmds "$reload_cmds" 'exit $?'
+ fi
+
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ ;;
+
+ prog)
+ case $host in
+ *cygwin*) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result.exe;;
+ esac
+ test -n "$vinfo" && \
+ func_warning "\`-version-info' is ignored for programs"
+
+ test -n "$release" && \
+ func_warning "\`-release' is ignored for programs"
+
+ test "$preload" = yes \
+ && test "$dlopen_support" = unknown \
+ && test "$dlopen_self" = unknown \
+ && test "$dlopen_self_static" = unknown && \
+ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ case $host in
+ *-*-darwin*)
+ # Don't allow lazy linking, it breaks C++ global constructors
+ # But is supposedly fixed on 10.4 or later (yay!).
+ if test "$tagname" = CXX ; then
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
+ 10.[0123])
+ func_append compile_command " ${wl}-bind_at_load"
+ func_append finalize_command " ${wl}-bind_at_load"
+ ;;
+ esac
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $compile_deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $compile_deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ compile_deplibs="$new_libs"
+
+
+ func_append compile_command " $compile_deplibs"
+ func_append finalize_command " $finalize_deplibs"
+
+ if test -n "$rpath$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ for libdir in $rpath $xrpath; do
+ # This is the magic to use -rpath.
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ fi
+
+ # Now hardcode the library paths
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$libdir:"*) ;;
+ ::) dllsearchpath=$libdir;;
+ *) func_append dllsearchpath ":$libdir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ compile_rpath="$rpath"
+
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$finalize_perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ finalize_rpath="$rpath"
+
+ if test -n "$libobjs" && test "$build_old_libs" = yes; then
+ # Transform all the library objects into standard objects.
+ compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ fi
+
+ func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
+
+ # template prelinking step
+ if test -n "$prelink_cmds"; then
+ func_execute_cmds "$prelink_cmds" 'exit $?'
+ fi
+
+ wrappers_required=yes
+ case $host in
+ *cegcc* | *mingw32ce*)
+ # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+ wrappers_required=no
+ ;;
+ *cygwin* | *mingw* )
+ if test "$build_libtool_libs" != yes; then
+ wrappers_required=no
+ fi
+ ;;
+ *)
+ if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
+ wrappers_required=no
+ fi
+ ;;
+ esac
+ if test "$wrappers_required" = no; then
+ # Replace the output file specification.
+ compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ link_command="$compile_command$compile_rpath"
+
+ # We have no uninstalled library dependencies, so finalize right now.
+ exit_status=0
+ func_show_eval "$link_command" 'exit_status=$?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Delete the generated files.
+ if test -f "$output_objdir/${outputname}S.${objext}"; then
+ func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
+ fi
+
+ exit $exit_status
+ fi
+
+ if test -n "$compile_shlibpath$finalize_shlibpath"; then
+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
+ fi
+ if test -n "$finalize_shlibpath"; then
+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+ fi
+
+ compile_var=
+ finalize_var=
+ if test -n "$runpath_var"; then
+ if test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ if test -n "$finalize_perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $finalize_perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ fi
+
+ if test "$no_install" = yes; then
+ # We don't need to create a wrapper script.
+ link_command="$compile_var$compile_command$compile_rpath"
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ # Delete the old output file.
+ $opt_dry_run || $RM $output
+ # Link the executable and exit
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ if test "$hardcode_action" = relink; then
+ # Fast installation is not supported
+ link_command="$compile_var$compile_command$compile_rpath"
+ relink_command="$finalize_var$finalize_command$finalize_rpath"
+
+ func_warning "this platform does not like uninstalled shared libraries"
+ func_warning "\`$output' will be relinked during installation"
+ else
+ if test "$fast_install" != no; then
+ link_command="$finalize_var$compile_command$finalize_rpath"
+ if test "$fast_install" = yes; then
+ relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
+ else
+ # fast_install is set to needless
+ relink_command=
+ fi
+ else
+ link_command="$compile_var$compile_command$compile_rpath"
+ relink_command="$finalize_var$finalize_command$finalize_rpath"
+ fi
+ fi
+
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+
+ # Delete the old output files.
+ $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
+
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output_objdir/$outputname"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Now create the wrapper script.
+ func_verbose "creating $output"
+
+ # Quote the relink command for shipping.
+ if test -n "$relink_command"; then
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ relink_command="(cd `pwd`; $relink_command)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ fi
+
+ # Only actually do things if not in dry run mode.
+ $opt_dry_run || {
+ # win32 will think the script is a binary if it has
+ # a .exe suffix, so we strip it off here.
+ case $output in
+ *.exe) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result ;;
+ esac
+ # test for cygwin because mv fails w/o .exe extensions
+ case $host in
+ *cygwin*)
+ exeext=.exe
+ func_stripname '' '.exe' "$outputname"
+ outputname=$func_stripname_result ;;
+ *) exeext= ;;
+ esac
+ case $host in
+ *cygwin* | *mingw* )
+ func_dirname_and_basename "$output" "" "."
+ output_name=$func_basename_result
+ output_path=$func_dirname_result
+ cwrappersource="$output_path/$objdir/lt-$output_name.c"
+ cwrapper="$output_path/$output_name.exe"
+ $RM $cwrappersource $cwrapper
+ trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_cwrapperexe_src > $cwrappersource
+
+ # The wrapper executable is built using the $host compiler,
+ # because it contains $host paths and files. If cross-
+ # compiling, it, like the target executable, must be
+ # executed on the $host or under an emulation environment.
+ $opt_dry_run || {
+ $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
+ $STRIP $cwrapper
+ }
+
+ # Now, create the wrapper script for func_source use:
+ func_ltwrapper_scriptname $cwrapper
+ $RM $func_ltwrapper_scriptname_result
+ trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
+ $opt_dry_run || {
+ # note: this script will not be executed, so do not chmod.
+ if test "x$build" = "x$host" ; then
+ $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
+ else
+ func_emit_wrapper no > $func_ltwrapper_scriptname_result
+ fi
+ }
+ ;;
+ * )
+ $RM $output
+ trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_wrapper no > $output
+ chmod +x $output
+ ;;
+ esac
+ }
+ exit $EXIT_SUCCESS
+ ;;
+ esac
+
+ # See if we need to build an old-fashioned archive.
+ for oldlib in $oldlibs; do
+
+ if test "$build_libtool_libs" = convenience; then
+ oldobjs="$libobjs_save $symfileobj"
+ addlibs="$convenience"
+ build_libtool_libs=no
+ else
+ if test "$build_libtool_libs" = module; then
+ oldobjs="$libobjs_save"
+ build_libtool_libs=no
+ else
+ oldobjs="$old_deplibs $non_pic_objects"
+ if test "$preload" = yes && test -f "$symfileobj"; then
+ func_append oldobjs " $symfileobj"
+ fi
+ fi
+ addlibs="$old_convenience"
+ fi
+
+ if test -n "$addlibs"; then
+ gentop="$output_objdir/${outputname}x"
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $addlibs
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # Do each command in the archive commands.
+ if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
+ cmds=$old_archive_from_new_cmds
+ else
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop="$output_objdir/${outputname}x"
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # POSIX demands no paths to be encoded in archives. We have
+ # to avoid creating archives with duplicate basenames if we
+ # might have to extract them afterwards, e.g., when creating a
+ # static archive out of a convenience library, or when linking
+ # the entirety of a libtool archive into another (currently
+ # not supported by libtool).
+ if (for obj in $oldobjs
+ do
+ func_basename "$obj"
+ $ECHO "$func_basename_result"
+ done | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ echo "copying selected object files to avoid basename conflicts..."
+ gentop="$output_objdir/${outputname}x"
+ func_append generated " $gentop"
+ func_mkdir_p "$gentop"
+ save_oldobjs=$oldobjs
+ oldobjs=
+ counter=1
+ for obj in $save_oldobjs
+ do
+ func_basename "$obj"
+ objbase="$func_basename_result"
+ case " $oldobjs " in
+ " ") oldobjs=$obj ;;
+ *[\ /]"$objbase "*)
+ while :; do
+ # Make sure we don't pick an alternate name that also
+ # overlaps.
+ newobj=lt$counter-$objbase
+ func_arith $counter + 1
+ counter=$func_arith_result
+ case " $oldobjs " in
+ *[\ /]"$newobj "*) ;;
+ *) if test ! -f "$gentop/$newobj"; then break; fi ;;
+ esac
+ done
+ func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
+ func_append oldobjs " $gentop/$newobj"
+ ;;
+ *) func_append oldobjs " $obj" ;;
+ esac
+ done
+ fi
+ eval cmds=\"$old_archive_cmds\"
+
+ func_len " $cmds"
+ len=$func_len_result
+ if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ cmds=$old_archive_cmds
+ elif test -n "$archiver_list_spec"; then
+ func_verbose "using command file archive linking..."
+ for obj in $oldobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > $output_objdir/$libname.libcmd
+ func_to_tool_file "$output_objdir/$libname.libcmd"
+ oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+ cmds=$old_archive_cmds
+ else
+ # the command line is too long to link in one step, link in parts
+ func_verbose "using piecewise archive linking..."
+ save_RANLIB=$RANLIB
+ RANLIB=:
+ objlist=
+ concat_cmds=
+ save_oldobjs=$oldobjs
+ oldobjs=
+ # Is there a better way of finding the last object in the list?
+ for obj in $save_oldobjs
+ do
+ last_oldobj=$obj
+ done
+ eval test_cmds=\"$old_archive_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+ for obj in $save_oldobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ func_append objlist " $obj"
+ if test "$len" -lt "$max_cmd_len"; then
+ :
+ else
+ # the above command should be used before it gets too long
+ oldobjs=$objlist
+ if test "$obj" = "$last_oldobj" ; then
+ RANLIB=$save_RANLIB
+ fi
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
+ objlist=
+ len=$len0
+ fi
+ done
+ RANLIB=$save_RANLIB
+ oldobjs=$objlist
+ if test "X$oldobjs" = "X" ; then
+ eval cmds=\"\$concat_cmds\"
+ else
+ eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
+ fi
+ fi
+ fi
+ func_execute_cmds "$cmds" 'exit $?'
+ done
+
+ test -n "$generated" && \
+ func_show_eval "${RM}r$generated"
+
+ # Now create the libtool archive.
+ case $output in
+ *.la)
+ old_library=
+ test "$build_old_libs" = yes && old_library="$libname.$libext"
+ func_verbose "creating $output"
+
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ # Quote the link command for shipping.
+ relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ if test "$hardcode_automatic" = yes ; then
+ relink_command=
+ fi
+
+ # Only create the output if not a dry run.
+ $opt_dry_run || {
+ for installed in no yes; do
+ if test "$installed" = yes; then
+ if test -z "$install_libdir"; then
+ break
+ fi
+ output="$output_objdir/$outputname"i
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ *.la)
+ func_basename "$deplib"
+ name="$func_basename_result"
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ test -z "$libdir" && \
+ func_fatal_error "\`$deplib' is not a valid libtool archive"
+ func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ -L*)
+ func_stripname -L '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -L$func_replace_sysroot_result"
+ ;;
+ -R*)
+ func_stripname -R '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -R$func_replace_sysroot_result"
+ ;;
+ *) func_append newdependency_libs " $deplib" ;;
+ esac
+ done
+ dependency_libs="$newdependency_libs"
+ newdlfiles=
+
+ for lib in $dlfiles; do
+ case $lib in
+ *.la)
+ func_basename "$lib"
+ name="$func_basename_result"
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "\`$lib' is not a valid libtool archive"
+ func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ *) func_append newdlfiles " $lib" ;;
+ esac
+ done
+ dlfiles="$newdlfiles"
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ *.la)
+ # Only pass preopened files to the pseudo-archive (for
+ # eventual linking with the app. that links it) if we
+ # didn't already link the preopened objects directly into
+ # the library:
+ func_basename "$lib"
+ name="$func_basename_result"
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "\`$lib' is not a valid libtool archive"
+ func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ esac
+ done
+ dlprefiles="$newdlprefiles"
+ else
+ newdlfiles=
+ for lib in $dlfiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlfiles " $abs"
+ done
+ dlfiles="$newdlfiles"
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlprefiles " $abs"
+ done
+ dlprefiles="$newdlprefiles"
+ fi
+ $RM $output
+ # place dlname in correct position for cygwin
+ # In fact, it would be nice if we could use this code for all target
+ # systems that can't hard-code library paths into their executables
+ # and that have no shared library path variable independent of PATH,
+ # but it turns out we can't easily determine that from inspecting
+ # libtool variables, so we have to hard-code the OSs to which it
+ # applies here; at the moment, that means platforms that use the PE
+ # object format with DLL files. See the long comment at the top of
+ # tests/bindir.at for full details.
+ tdlname=$dlname
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+ # If a -bindir argument was supplied, place the dll there.
+ if test "x$bindir" != x ;
+ then
+ func_relative_path "$install_libdir" "$bindir"
+ tdlname=$func_relative_path_result$dlname
+ else
+ # Otherwise fall back on heuristic.
+ tdlname=../bin/$dlname
+ fi
+ ;;
+ esac
+ $ECHO > $output "\
+# $outputname - a libtool library file
+# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='$tdlname'
+
+# Names of this library.
+library_names='$library_names'
+
+# The name of the static archive.
+old_library='$old_library'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags='$new_inherited_linker_flags'
+
+# Libraries that this one depends upon.
+dependency_libs='$dependency_libs'
+
+# Names of additional weak libraries provided by this library
+weak_library_names='$weak_libs'
+
+# Version information for $libname.
+current=$current
+age=$age
+revision=$revision
+
+# Is this an already installed library?
+installed=$installed
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=$module
+
+# Files to dlopen/dlpreopen
+dlopen='$dlfiles'
+dlpreopen='$dlprefiles'
+
+# Directory that this library needs to be installed in:
+libdir='$install_libdir'"
+ if test "$installed" = no && test "$need_relink" = yes; then
+ $ECHO >> $output "\
+relink_command=\"$relink_command\""
+ fi
+ done
+ }
+
+ # Do a symbolic link so that the libtool archive can be found in
+ # LD_LIBRARY_PATH before the program is installed.
+ func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
+ ;;
+ esac
+ exit $EXIT_SUCCESS
+}
+
+{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
+ func_mode_link ${1+"$@"}
+
+
+# func_mode_uninstall arg...
+func_mode_uninstall ()
+{
+ $opt_debug
+ RM="$nonopt"
+ files=
+ rmforce=
+ exit_status=0
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic="$magic"
+
+ for arg
+ do
+ case $arg in
+ -f) func_append RM " $arg"; rmforce=yes ;;
+ -*) func_append RM " $arg" ;;
+ *) func_append files " $arg" ;;
+ esac
+ done
+
+ test -z "$RM" && \
+ func_fatal_help "you must specify an RM program"
+
+ rmdirs=
+
+ for file in $files; do
+ func_dirname "$file" "" "."
+ dir="$func_dirname_result"
+ if test "X$dir" = X.; then
+ odir="$objdir"
+ else
+ odir="$dir/$objdir"
+ fi
+ func_basename "$file"
+ name="$func_basename_result"
+ test "$opt_mode" = uninstall && odir="$dir"
+
+ # Remember odir for removal later, being careful to avoid duplicates
+ if test "$opt_mode" = clean; then
+ case " $rmdirs " in
+ *" $odir "*) ;;
+ *) func_append rmdirs " $odir" ;;
+ esac
+ fi
+
+ # Don't error if the file doesn't exist and rm -f was used.
+ if { test -L "$file"; } >/dev/null 2>&1 ||
+ { test -h "$file"; } >/dev/null 2>&1 ||
+ test -f "$file"; then
+ :
+ elif test -d "$file"; then
+ exit_status=1
+ continue
+ elif test "$rmforce" = yes; then
+ continue
+ fi
+
+ rmfiles="$file"
+
+ case $name in
+ *.la)
+ # Possibly a libtool archive, so verify it.
+ if func_lalib_p "$file"; then
+ func_source $dir/$name
+
+ # Delete the libtool libraries and symlinks.
+ for n in $library_names; do
+ func_append rmfiles " $odir/$n"
+ done
+ test -n "$old_library" && func_append rmfiles " $odir/$old_library"
+
+ case "$opt_mode" in
+ clean)
+ case " $library_names " in
+ *" $dlname "*) ;;
+ *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
+ esac
+ test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
+ ;;
+ uninstall)
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
+ fi
+ # FIXME: should reinstall the best remaining shared library.
+ ;;
+ esac
+ fi
+ ;;
+
+ *.lo)
+ # Possibly a libtool object, so verify it.
+ if func_lalib_p "$file"; then
+
+ # Read the .lo file
+ func_source $dir/$name
+
+ # Add PIC object to the list of files to remove.
+ if test -n "$pic_object" &&
+ test "$pic_object" != none; then
+ func_append rmfiles " $dir/$pic_object"
+ fi
+
+ # Add non-PIC object to the list of files to remove.
+ if test -n "$non_pic_object" &&
+ test "$non_pic_object" != none; then
+ func_append rmfiles " $dir/$non_pic_object"
+ fi
+ fi
+ ;;
+
+ *)
+ if test "$opt_mode" = clean ; then
+ noexename=$name
+ case $file in
+ *.exe)
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ func_stripname '' '.exe' "$name"
+ noexename=$func_stripname_result
+ # $file with .exe has already been added to rmfiles,
+ # add $file without .exe
+ func_append rmfiles " $file"
+ ;;
+ esac
+ # Do a test to see if this is a libtool program.
+ if func_ltwrapper_p "$file"; then
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ relink_command=
+ func_source $func_ltwrapper_scriptname_result
+ func_append rmfiles " $func_ltwrapper_scriptname_result"
+ else
+ relink_command=
+ func_source $dir/$noexename
+ fi
+
+ # note $name still contains .exe if it was in $file originally
+ # as does the version of $file that was added into $rmfiles
+ func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
+ if test "$fast_install" = yes && test -n "$relink_command"; then
+ func_append rmfiles " $odir/lt-$name"
+ fi
+ if test "X$noexename" != "X$name" ; then
+ func_append rmfiles " $odir/lt-${noexename}.c"
+ fi
+ fi
+ fi
+ ;;
+ esac
+ func_show_eval "$RM $rmfiles" 'exit_status=1'
+ done
+
+ # Try to remove the ${objdir}s in the directories where we deleted files
+ for dir in $rmdirs; do
+ if test -d "$dir"; then
+ func_show_eval "rmdir $dir >/dev/null 2>&1"
+ fi
+ done
+
+ exit $exit_status
+}
+
+{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
+ func_mode_uninstall ${1+"$@"}
+
+test -z "$opt_mode" && {
+ help="$generic_help"
+ func_fatal_help "you must specify a MODE"
+}
+
+test -z "$exec_cmd" && \
+ func_fatal_help "invalid operation mode \`$opt_mode'"
+
+if test -n "$exec_cmd"; then
+ eval exec "$exec_cmd"
+ exit $EXIT_FAILURE
+fi
+
+exit $exit_status
+
+
+# The TAGs below are defined such that we never get into a situation
+# in which we disable both kinds of libraries. Given conflicting
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them. This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration. But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation:2
+# End:
+# vi:sw=2
+
diff --git a/m4/cython.m4 b/m4/cython.m4
new file mode 100644
index 0000000..5353b6d
--- /dev/null
+++ b/m4/cython.m4
@@ -0,0 +1,77 @@
+dnl AM_CHECK_CYTHON([VERSION [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
+dnl Check if a Cython version is installed
+dnl Defines CYTHON_VERSION and CYTHON_FOUND
+AC_DEFUN([AM_CHECK_CYTHON],
+[
+AC_REQUIRE([AM_PATH_PYTHON])
+ifelse([$1], [], [_msg=""], [_msg=" >= $1"])
+AC_MSG_CHECKING(for Cython$_msg)
+AC_CACHE_VAL(py_cv_cython, [
+
+prog="import Cython.Compiler.Version; print(Cython.Compiler.Version.version)"
+CYTHON_VERSION=`$PYTHON -c "$prog" 2>&AC_FD_CC`
+
+py_cv_cython=no
+if test "x$CYTHON_VERSION" != "x"; then
+ py_cv_cython=yes
+fi
+
+if test "x$py_cv_cython" = "xyes"; then
+ ifelse([$1], [], [:],
+ AS_VERSION_COMPARE([$CYTHON_VERSION], [$1], [py_cv_cython=no]))
+fi
+])
+
+AC_MSG_RESULT([$py_cv_cython])
+
+if test "x$py_cv_cython" = "xyes"; then
+ CYTHON_FOUND=yes
+ ifelse([$2], [], [:], [$2])
+else
+ CYTHON_FOUND=no
+ ifelse([$3], [], [AC_MSG_ERROR([Could not find usable Cython$_msg])], [$3])
+fi
+])
+
+dnl AM_CHECK_CYTHON_PRECOMPILED(FILE-LIST [, ACTION-IF-ALL [, ACTION-IF-NOT-ALL]])
+dnl given a list of files ending in .pyx (FILE-LIST), check if their .c
+dnl counterpart exists and is not older than the source.
+dnl ACTION-IF-ALL is called only if no files failed the check and thus
+dnl all pre-generated files are usable.
+dnl ACTION-IF-NOT-ALL is called if some or all failed. If not provided,
+dnl an error will be issued.
+AC_DEFUN([AM_CHECK_CYTHON_PRECOMPILED],
+[
+_to_check_list="$1"
+_failed_list=""
+_exists_list=""
+
+for inf in $_to_check_list; do
+ outf=`echo "$inf" | sed -e 's/^\(.*\)[.]pyx$/\1.c/'`
+ if test "$outf" = "$inf"; then
+ AC_MSG_WARN([File to check must end in .pyx, but got: $inf -- Skip])
+ continue
+ fi
+
+ AC_MSG_CHECKING([for pre-generated $outf for $inf])
+ if ! test -f "$outf"; then
+ _res=no
+ _failed_list="${_failed_list} $outf"
+ elif ! test "$outf" -nt "$inf"; then
+ _res="no (older)"
+ _failed_list="${_failed_list} $outf"
+ else
+ _res=yes
+ _exists_list="${_exists_list} $outf"
+ fi
+ AC_MSG_RESULT($_res)
+done
+
+if test -z "$_failed_list" -a -n "$_exists_list"; then
+ ifelse([$2], [], [:], [$2])
+else
+ ifelse([$3], [],
+ [AC_MSG_ERROR([Missing pre-generated files: $_failed_list])],
+ [$3])
+fi
+])
diff --git a/m4/filter-var.m4 b/m4/filter-var.m4
new file mode 100644
index 0000000..9c970e4
--- /dev/null
+++ b/m4/filter-var.m4
@@ -0,0 +1,10 @@
+dnl FILTER_VAR_REGEXP(VARIABLE, REGEXP-TO-DELETE [, ACTION-IF-REMOVED])
+dnl Applies "sed" regular expression to remove REGEXP-TO-DELETE from $VARIABLE
+AC_DEFUN([FILTER_VAR_REGEXP],
+[
+_tmp_[]$1=`echo "$[]$1" | sed -e 's/$2//g'`
+if test "x$_tmp_[]$1" != "x$[]$1"; then
+ ifelse([$3], [], [AC_MSG_WARN([Removed $2 from \$[]$1])], [$3])
+ $1="$_tmp_[]$1"
+fi
+])
diff --git a/m4/libtool.m4 b/m4/libtool.m4
new file mode 100644
index 0000000..2ed159c
--- /dev/null
+++ b/m4/libtool.m4
@@ -0,0 +1,7844 @@
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
+# Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+m4_define([_LT_COPYING], [dnl
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
+# Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is part of GNU Libtool.
+#
+# GNU Libtool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool; see the file COPYING. If not, a copy
+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
+# obtained by writing to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+])
+
+# serial 57 LT_INIT
+
+
+# LT_PREREQ(VERSION)
+# ------------------
+# Complain and exit if this libtool version is less that VERSION.
+m4_defun([LT_PREREQ],
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
+ [m4_default([$3],
+ [m4_fatal([Libtool version $1 or higher is required],
+ 63)])],
+ [$2])])
+
+
+# _LT_CHECK_BUILDDIR
+# ------------------
+# Complain if the absolute build directory name contains unusual characters
+m4_defun([_LT_CHECK_BUILDDIR],
+[case `pwd` in
+ *\ * | *\ *)
+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
+esac
+])
+
+
+# LT_INIT([OPTIONS])
+# ------------------
+AC_DEFUN([LT_INIT],
+[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ltmain"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+AC_SUBST(LIBTOOL)dnl
+
+_LT_SETUP
+
+# Only expand once:
+m4_define([LT_INIT])
+])# LT_INIT
+
+# Old names:
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
+
+
+# _LT_CC_BASENAME(CC)
+# -------------------
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+m4_defun([_LT_CC_BASENAME],
+[for cc_temp in $1""; do
+ case $cc_temp in
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+])
+
+
+# _LT_FILEUTILS_DEFAULTS
+# ----------------------
+# It is okay to use these file commands and assume they have been set
+# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
+m4_defun([_LT_FILEUTILS_DEFAULTS],
+[: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+])# _LT_FILEUTILS_DEFAULTS
+
+
+# _LT_SETUP
+# ---------
+m4_defun([_LT_SETUP],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
+_LT_DECL([], [host_alias], [0], [The host system])dnl
+_LT_DECL([], [host], [0])dnl
+_LT_DECL([], [host_os], [0])dnl
+dnl
+_LT_DECL([], [build_alias], [0], [The build system])dnl
+_LT_DECL([], [build], [0])dnl
+_LT_DECL([], [build_os], [0])dnl
+dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+dnl
+AC_REQUIRE([AC_PROG_LN_S])dnl
+test -z "$LN_S" && LN_S="ln -s"
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
+dnl
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
+dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
+m4_require([_LT_CMD_RELOAD])dnl
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
+
+_LT_CONFIG_LIBTOOL_INIT([
+# See if we are running on zsh, and set the options which allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+fi
+])
+if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+fi
+
+_LT_CHECK_OBJDIR
+
+m4_require([_LT_TAG_COMPILER])dnl
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+_LT_CC_BASENAME([$compiler])
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ _LT_PATH_MAGIC
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+LT_SUPPORTED_TAG([CC])
+_LT_LANG_C_CONFIG
+_LT_LANG_DEFAULT_CONFIG
+_LT_CONFIG_COMMANDS
+])# _LT_SETUP
+
+
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
+# _LT_PROG_LTMAIN
+# ---------------
+# Note that this code is called both from `configure', and `config.status'
+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
+# `config.status' has no value for ac_aux_dir unless we are using Automake,
+# so we pass a copy along to make sure it has a sensible value anyway.
+m4_defun([_LT_PROG_LTMAIN],
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
+ltmain="$ac_aux_dir/ltmain.sh"
+])# _LT_PROG_LTMAIN
+
+
+## ------------------------------------- ##
+## Accumulate code for creating libtool. ##
+## ------------------------------------- ##
+
+# So that we can recreate a full libtool script including additional
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
+# in macros and then make a single call at the end using the `libtool'
+# label.
+
+
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
+# ----------------------------------------
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
+
+
+# _LT_CONFIG_LIBTOOL([COMMANDS])
+# ------------------------------
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
+
+
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
+# -----------------------------------------------------
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
+[_LT_CONFIG_LIBTOOL([$1])
+_LT_CONFIG_LIBTOOL_INIT([$2])
+])
+
+
+# _LT_FORMAT_COMMENT([COMMENT])
+# -----------------------------
+# Add leading comment marks to the start of each line, and a trailing
+# full-stop to the whole comment if one is not present already.
+m4_define([_LT_FORMAT_COMMENT],
+[m4_ifval([$1], [
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
+)])
+
+
+
+## ------------------------ ##
+## FIXME: Eliminate VARNAME ##
+## ------------------------ ##
+
+
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
+# -------------------------------------------------------------------
+# CONFIGNAME is the name given to the value in the libtool script.
+# VARNAME is the (base) name used in the configure script.
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
+# VARNAME. Any other value will be used directly.
+m4_define([_LT_DECL],
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
+ [m4_ifval([$1], [$1], [$2])])
+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
+ m4_ifval([$4],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
+ lt_dict_add_subkey([lt_decl_dict], [$2],
+ [tagged?], [m4_ifval([$5], [yes], [no])])])
+])
+
+
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
+# --------------------------------------------------------
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
+
+
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_tag_varnames],
+[_lt_decl_filter([tagged?], [yes], $@)])
+
+
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
+# ---------------------------------------------------------
+m4_define([_lt_decl_filter],
+[m4_case([$#],
+ [0], [m4_fatal([$0: too few arguments: $#])],
+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
+])
+
+
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
+# --------------------------------------------------
+m4_define([lt_decl_quote_varnames],
+[_lt_decl_filter([value], [1], $@)])
+
+
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_dquote_varnames],
+[_lt_decl_filter([value], [2], $@)])
+
+
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_varnames_tagged],
+[m4_assert([$# <= 2])dnl
+_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
+m4_define([_lt_decl_varnames_tagged],
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
+
+
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_all_varnames],
+[_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_if([$2], [],
+ m4_quote(lt_decl_varnames),
+ m4_quote(m4_shift($@))))[]dnl
+])
+m4_define([_lt_decl_all_varnames],
+[lt_join($@, lt_decl_varnames_tagged([$1],
+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
+])
+
+
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
+# ------------------------------------
+# Quote a variable value, and forward it to `config.status' so that its
+# declaration there will have the same value as in `configure'. VARNAME
+# must have a single quote delimited value for this to work.
+m4_define([_LT_CONFIG_STATUS_DECLARE],
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
+
+
+# _LT_CONFIG_STATUS_DECLARATIONS
+# ------------------------------
+# We delimit libtool config variables with single quotes, so when
+# we write them to config.status, we have to be sure to quote all
+# embedded single quotes properly. In configure, this macro expands
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
+#
+# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAGS
+# ----------------
+# Output comment and list of tags supported by the script
+m4_defun([_LT_LIBTOOL_TAGS],
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
+available_tags="_LT_TAGS"dnl
+])
+
+
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
+# -----------------------------------
+# Extract the dictionary values for VARNAME (optionally with TAG) and
+# expand to a commented shell variable setting:
+#
+# # Some comment about what VAR is for.
+# visible_name=$lt_internal_name
+m4_define([_LT_LIBTOOL_DECLARE],
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
+ [description])))[]dnl
+m4_pushdef([_libtool_name],
+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
+ [0], [_libtool_name=[$]$1],
+ [1], [_libtool_name=$lt_[]$1],
+ [2], [_libtool_name=$lt_[]$1],
+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
+])
+
+
+# _LT_LIBTOOL_CONFIG_VARS
+# -----------------------
+# Produce commented declarations of non-tagged libtool config variables
+# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
+[m4_foreach([_lt_var],
+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAG_VARS(TAG)
+# -------------------------
+m4_define([_LT_LIBTOOL_TAG_VARS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
+
+
+# _LT_TAGVAR(VARNAME, [TAGNAME])
+# ------------------------------
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
+
+
+# _LT_CONFIG_COMMANDS
+# -------------------
+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
+# variables for single and double quote escaping we saved from calls
+# to _LT_DECL, we can put quote escaped variables declarations
+# into `config.status', and then the shell code to quote escape them in
+# for loops in `config.status'. Finally, any additional code accumulated
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
+m4_defun([_LT_CONFIG_COMMANDS],
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
+ dnl If the libtool generation code has been placed in $CONFIG_LT,
+ dnl instead of duplicating it all over again into config.status,
+ dnl then we will have config.status run $CONFIG_LT later, so it
+ dnl needs to know what name is stored there:
+ [AC_CONFIG_COMMANDS([libtool],
+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
+ dnl If the libtool generation code is destined for config.status,
+ dnl expand the accumulated commands and init code now:
+ [AC_CONFIG_COMMANDS([libtool],
+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
+])#_LT_CONFIG_COMMANDS
+
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
+[
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+_LT_CONFIG_STATUS_DECLARATIONS
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_quote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_dquote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+_LT_OUTPUT_LIBTOOL_INIT
+])
+
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable. If COMMENT is supplied, it is inserted after the
+# `#!' sequence but before initialization text begins. After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script. The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test $lt_write_fail = 0 && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
+
+# LT_OUTPUT
+# ---------
+# This macro allows early generation of the libtool script (before
+# AC_OUTPUT is called), incase it is used in configure for compilation
+# tests.
+AC_DEFUN([LT_OUTPUT],
+[: ${CONFIG_LT=./config.lt}
+AC_MSG_NOTICE([creating $CONFIG_LT])
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+lt_cl_silent=false
+exec AS_MESSAGE_LOG_FD>>config.log
+{
+ echo
+ AS_BOX([Running $as_me.])
+} >&AS_MESSAGE_LOG_FD
+
+lt_cl_help="\
+\`$as_me' creates a local libtool stub from the current configuration,
+for use in further configure time tests before the real libtool is
+generated.
+
+Usage: $[0] [[OPTIONS]]
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+
+Report bugs to <bug-libtool@gnu.org>."
+
+lt_cl_version="\
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
+configured by $[0], generated by m4_PACKAGE_STRING.
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This config.lt script is free software; the Free Software Foundation
+gives unlimited permision to copy, distribute and modify it."
+
+while test $[#] != 0
+do
+ case $[1] in
+ --version | --v* | -V )
+ echo "$lt_cl_version"; exit 0 ;;
+ --help | --h* | -h )
+ echo "$lt_cl_help"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --quiet | --q* | --silent | --s* | -q )
+ lt_cl_silent=: ;;
+
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
+Try \`$[0] --help' for more information.]) ;;
+
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
+Try \`$[0] --help' for more information.]) ;;
+ esac
+ shift
+done
+
+if $lt_cl_silent; then
+ exec AS_MESSAGE_FD>/dev/null
+fi
+_LTEOF
+
+cat >>"$CONFIG_LT" <<_LTEOF
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
+_LTEOF
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+AC_MSG_NOTICE([creating $ofile])
+_LT_OUTPUT_LIBTOOL_COMMANDS
+AS_EXIT(0)
+_LTEOF
+chmod +x "$CONFIG_LT"
+
+# configure is writing to config.log, but config.lt does its own redirection,
+# appending to config.log, which fails on DOS, as config.log is still kept
+# open by configure. Here we exec the FD to /dev/null, effectively closing
+# config.log, so it can be properly (re)opened and appended to by config.lt.
+lt_cl_success=:
+test "$silent" = yes &&
+ lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
+])# LT_OUTPUT
+
+
+# _LT_CONFIG(TAG)
+# ---------------
+# If TAG is the built-in tag, create an initial libtool script with a
+# default configuration from the untagged config vars. Otherwise add code
+# to config.status for appending the configuration named by TAG from the
+# matching tagged config vars.
+m4_defun([_LT_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_CONFIG_SAVE_COMMANDS([
+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
+ m4_if(_LT_TAG, [C], [
+ # See if we are running on zsh, and set the options which allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile="${ofile}T"
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+
+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+_LT_COPYING
+_LT_LIBTOOL_TAGS
+
+# ### BEGIN LIBTOOL CONFIG
+_LT_LIBTOOL_CONFIG_VARS
+_LT_LIBTOOL_TAG_VARS
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+ _LT_PROG_LTMAIN
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ _LT_PROG_REPLACE_SHELLFNS
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+],
+[cat <<_LT_EOF >> "$ofile"
+
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
+dnl in a comment (ie after a #).
+# ### BEGIN LIBTOOL TAG CONFIG: $1
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
+# ### END LIBTOOL TAG CONFIG: $1
+_LT_EOF
+])dnl /m4_if
+],
+[m4_if([$1], [], [
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ TIMESTAMP='$TIMESTAMP'
+ RM='$RM'
+ ofile='$ofile'], [])
+])dnl /_LT_CONFIG_SAVE_COMMANDS
+])# _LT_CONFIG
+
+
+# LT_SUPPORTED_TAG(TAG)
+# ---------------------
+# Trace this macro to discover what tags are supported by the libtool
+# --tag option, using:
+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
+AC_DEFUN([LT_SUPPORTED_TAG], [])
+
+
+# C support is built-in for now
+m4_define([_LT_LANG_C_enabled], [])
+m4_define([_LT_TAGS], [])
+
+
+# LT_LANG(LANG)
+# -------------
+# Enable libtool support for the given language if not already enabled.
+AC_DEFUN([LT_LANG],
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
+m4_case([$1],
+ [C], [_LT_LANG(C)],
+ [C++], [_LT_LANG(CXX)],
+ [Java], [_LT_LANG(GCJ)],
+ [Fortran 77], [_LT_LANG(F77)],
+ [Fortran], [_LT_LANG(FC)],
+ [Windows Resource], [_LT_LANG(RC)],
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
+ [_LT_LANG($1)],
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
+])# LT_LANG
+
+
+# _LT_LANG(LANGNAME)
+# ------------------
+m4_defun([_LT_LANG],
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
+ [LT_SUPPORTED_TAG([$1])dnl
+ m4_append([_LT_TAGS], [$1 ])dnl
+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
+ _LT_LANG_$1_CONFIG($1)])dnl
+])# _LT_LANG
+
+
+# _LT_LANG_DEFAULT_CONFIG
+# -----------------------
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [LT_LANG(CXX)],
+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_F77],
+ [LT_LANG(F77)],
+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_FC],
+ [LT_LANG(FC)],
+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
+
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
+dnl pulling things in needlessly.
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [m4_ifdef([AC_PROG_GCJ],
+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([A][M_PROG_GCJ],
+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([LT_PROG_GCJ],
+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
+
+AC_PROVIDE_IFELSE([LT_PROG_RC],
+ [LT_LANG(RC)],
+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
+])# _LT_LANG_DEFAULT_CONFIG
+
+# Obsolete macros:
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
+
+
+# _LT_TAG_COMPILER
+# ----------------
+m4_defun([_LT_TAG_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+])# _LT_TAG_COMPILER
+
+
+# _LT_COMPILER_BOILERPLATE
+# ------------------------
+# Check for compiler boilerplate output or warnings with
+# the simple compiler test code.
+m4_defun([_LT_COMPILER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+])# _LT_COMPILER_BOILERPLATE
+
+
+# _LT_LINKER_BOILERPLATE
+# ----------------------
+# Check for linker boilerplate output or warnings with
+# the simple link test code.
+m4_defun([_LT_LINKER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+])# _LT_LINKER_BOILERPLATE
+
+# _LT_REQUIRED_DARWIN_CHECKS
+# -------------------------
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
+ case $host_os in
+ rhapsody* | darwin*)
+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
+ AC_CHECK_TOOL([LIPO], [lipo], [:])
+ AC_CHECK_TOOL([OTOOL], [otool], [:])
+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
+ _LT_DECL([], [DSYMUTIL], [1],
+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
+ _LT_DECL([], [NMEDIT], [1],
+ [Tool to change global to local symbols on Mac OS X])
+ _LT_DECL([], [LIPO], [1],
+ [Tool to manipulate fat objects and archives on Mac OS X])
+ _LT_DECL([], [OTOOL], [1],
+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
+ _LT_DECL([], [OTOOL64], [1],
+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
+
+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
+ [lt_cv_apple_cc_single_mod=no
+ if test -z "${LT_MULTI_MODULE}"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi])
+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
+ [lt_cv_ld_exported_symbols_list],
+ [lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [lt_cv_ld_exported_symbols_list=yes],
+ [lt_cv_ld_exported_symbols_list=no])
+ LDFLAGS="$save_LDFLAGS"
+ ])
+ AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
+ [lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
+ echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+ $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+ ])
+ case $host_os in
+ rhapsody* | darwin1.[[012]])
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+ 10.[[012]]*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+])
+
+
+# _LT_DARWIN_LINKER_FEATURES
+# --------------------------
+# Checks for linker and compiler features on darwin
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
+[
+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ if test "$lt_cv_ld_force_load" = "yes"; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
+ case $cc_basename in
+ ifort*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test "$_lt_dar_can_shared" = "yes"; then
+ output_verbose_link_cmd=func_echo_all
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
+ _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
+ m4_if([$1], [CXX],
+[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
+ fi
+],[])
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+])
+
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
+[m4_require([_LT_DECL_SED])dnl
+if test "${lt_cv_aix_libpath+set}" = set; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+ lt_aix_libpath_sed='[
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }]'
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi],[])
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
+ fi
+ ])
+ aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
+])# _LT_SYS_MODULE_PATH_AIX
+
+
+# _LT_SHELL_INIT(ARG)
+# -------------------
+m4_define([_LT_SHELL_INIT],
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
+
+
+# _LT_PROG_ECHO_BACKSLASH
+# -----------------------
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script which will find a shell with a builtin
+# printf (which we can use as an echo command).
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+AC_MSG_CHECKING([how to print strings])
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+case "$ECHO" in
+ printf*) AC_MSG_RESULT([printf]) ;;
+ print*) AC_MSG_RESULT([print -r]) ;;
+ *) AC_MSG_RESULT([cat]) ;;
+esac
+
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test "X`printf %s $ECHO`" = "X$ECHO" \
+ || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
+
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
+])# _LT_PROG_ECHO_BACKSLASH
+
+
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[ --with-sysroot[=DIR] Search for dependent libraries within DIR
+ (or the compiler's sysroot if not specified).],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted. We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case ${with_sysroot} in #(
+ yes)
+ if test "$GCC" = yes; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ AC_MSG_RESULT([${with_sysroot}])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
+ ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and in which our libraries should be installed.])])
+
+# _LT_ENABLE_LOCK
+# ---------------
+m4_defun([_LT_ENABLE_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AS_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ ppc*-*linux*|powerpc*-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+sparc*-*solaris*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks="$enable_libtool_lock"
+])# _LT_ENABLE_LOCK
+
+
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+ [lt_cv_ar_at_file=no
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
+ [echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([lt_ar_try])
+ if test "$ac_status" -eq 0; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ AC_TRY_EVAL([lt_ar_try])
+ if test "$ac_status" -ne 0; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+ ])
+ ])
+
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+ [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
+# _LT_CMD_OLD_ARCHIVE
+# -------------------
+m4_defun([_LT_CMD_OLD_ARCHIVE],
+[_LT_PROG_AR
+
+AC_CHECK_TOOL(STRIP, strip, :)
+test -z "$STRIP" && STRIP=:
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
+
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+test -z "$RANLIB" && RANLIB=:
+_LT_DECL([], [RANLIB], [1],
+ [Commands used to install an old-style archive])
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+_LT_DECL([], [old_postinstall_cmds], [2])
+_LT_DECL([], [old_postuninstall_cmds], [2])
+_LT_TAGDECL([], [old_archive_cmds], [2],
+ [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+ [Whether to use a lock for old archive extraction])
+])# _LT_CMD_OLD_ARCHIVE
+
+
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([_LT_COMPILER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ fi
+ $RM conftest*
+])
+
+if test x"[$]$2" = xyes; then
+ m4_if([$5], , :, [$5])
+else
+ m4_if([$6], , :, [$6])
+fi
+])# _LT_COMPILER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
+
+
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------
+# Check whether the given linker option works
+AC_DEFUN([_LT_LINKER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ else
+ $2=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS="$save_LDFLAGS"
+])
+
+if test x"[$]$2" = xyes; then
+ m4_if([$4], , :, [$4])
+else
+ m4_if([$5], , :, [$5])
+fi
+])# _LT_LINKER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
+
+
+# LT_CMD_MAX_LEN
+#---------------
+AC_DEFUN([LT_CMD_MAX_LEN],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ teststring="ABCD"
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8 ; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+])
+if test -n $lt_cv_sys_max_cmd_len ; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+_LT_DECL([], [max_cmd_len], [0],
+ [What is the maximum length of a command?])
+])# LT_CMD_MAX_LEN
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
+
+
+# _LT_HEADER_DLFCN
+# ----------------
+m4_defun([_LT_HEADER_DLFCN],
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
+])# _LT_HEADER_DLFCN
+
+
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ----------------------------------------------------------------
+m4_defun([_LT_TRY_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test "$cross_compiling" = yes; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}]
+_LT_EOF
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_dlunknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_TRY_DLOPEN_SELF
+
+
+# LT_SYS_DLOPEN_SELF
+# ------------------
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
+ [Whether dlopen is supported])
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
+ [Whether dlopen of programs is supported])
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
+ [Whether dlopen of statically linked programs is supported])
+])# LT_SYS_DLOPEN_SELF
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
+
+
+# _LT_COMPILER_C_O([TAGNAME])
+# ---------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler.
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
+m4_defun([_LT_COMPILER_C_O],
+[m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+])
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
+ [Does compiler simultaneously support -c and -o options?])
+])# _LT_COMPILER_C_O
+
+
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
+# ----------------------------------
+# Check to see if we can do hard links to lock some files if needed
+m4_defun([_LT_COMPILER_FILE_LOCKS],
+[m4_require([_LT_ENABLE_LOCK])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_COMPILER_C_O([$1])
+
+hard_links="nottested"
+if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test "$hard_links" = no; then
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
+])# _LT_COMPILER_FILE_LOCKS
+
+
+# _LT_CHECK_OBJDIR
+# ----------------
+m4_defun([_LT_CHECK_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+_LT_DECL([], [objdir], [0],
+ [The name of the directory that contains temporary libtool files])dnl
+m4_pattern_allow([LT_OBJDIR])dnl
+AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
+ [Define to the sub-directory in which libtool stores uninstalled libraries.])
+])# _LT_CHECK_OBJDIR
+
+
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
+# --------------------------------------
+# Check hardcoding attributes.
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
+ test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
+
+ # We can hardcode non-existent directories.
+ if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
+ test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
+
+if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
+ test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+_LT_TAGDECL([], [hardcode_action], [0],
+ [How to hardcode a shared library path into an executable])
+])# _LT_LINKER_HARDCODE_LIBPATH
+
+
+# _LT_CMD_STRIPLIB
+# ----------------
+m4_defun([_LT_CMD_STRIPLIB],
+[m4_require([_LT_DECL_EGREP])
+striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ fi
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+fi
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
+_LT_DECL([], [striplib], [1])
+])# _LT_CMD_STRIPLIB
+
+
+# _LT_SYS_DYNAMIC_LINKER([TAG])
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_OBJDUMP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+AC_MSG_CHECKING([dynamic linker characteristics])
+m4_if([$1],
+ [], [
+if test "$GCC" = yes; then
+ case $host_os in
+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
+ *) lt_awk_arg="/^libraries:/" ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
+ *) lt_sed_strip_eq="s,=/,/,g" ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary.
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
+ else
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS=" "; FS="/|\n";} {
+ lt_foo="";
+ lt_count=0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo="/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix[[4-9]]*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[[45]]*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ library_names_spec='${libname}.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec="$LIB"
+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[[123]]*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ # Handle Gentoo/FreeBSD as it was Linux
+ case $host_vendor in
+ gentoo)
+ version_type=linux ;;
+ *)
+ version_type=freebsd-$objformat ;;
+ esac
+
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ linux)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ need_lib_prefix=no
+ need_version=no
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+haiku*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[[3-9]]*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
+ [lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
+ [lt_cv_shlibpath_overrides_runpath=yes])])
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+ ])
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec="/usr/lib"
+ need_lib_prefix=no
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
+ case $host_os in
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
+ *) need_version=no ;;
+ esac
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[[89]] | openbsd2.[[89]].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext_cmds=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=freebsd-elf
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test "$with_gnu_ld" = yes; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test "$dynamic_linker" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
+fi
+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
+fi
+
+_LT_DECL([], [variables_saved_for_relink], [1],
+ [Variables whose values should be saved in libtool wrapper scripts and
+ restored at link time])
+_LT_DECL([], [need_lib_prefix], [0],
+ [Do we need the "lib" prefix for modules?])
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
+_LT_DECL([], [version_type], [0], [Library versioning type])
+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
+ [Is shlibpath searched before the hard-coded library search path?])
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
+_LT_DECL([], [library_names_spec], [1],
+ [[List of archive names. First name is the real one, the rest are links.
+ The last name is the one that the linker finds with -lNAME]])
+_LT_DECL([], [soname_spec], [1],
+ [[The coded name of the library, if different from the real name]])
+_LT_DECL([], [install_override_mode], [1],
+ [Permission mode override for installation of shared libraries])
+_LT_DECL([], [postinstall_cmds], [2],
+ [Command to use after installation of a shared archive])
+_LT_DECL([], [postuninstall_cmds], [2],
+ [Command to use after uninstallation of a shared archive])
+_LT_DECL([], [finish_cmds], [2],
+ [Commands used to finish a libtool library installation in a directory])
+_LT_DECL([], [finish_eval], [1],
+ [[As "finish_cmds", except a single script fragment to be evaled but
+ not shown]])
+_LT_DECL([], [hardcode_into_libs], [0],
+ [Whether we should hardcode library paths into libraries])
+_LT_DECL([], [sys_lib_search_path_spec], [2],
+ [Compile-time system search path for libraries])
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
+ [Run-time system search path for libraries])
+])# _LT_SYS_DYNAMIC_LINKER
+
+
+# _LT_PATH_TOOL_PREFIX(TOOL)
+# --------------------------
+# find a file program which can recognize shared library
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
+[m4_require([_LT_DECL_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$1; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac])
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+_LT_DECL([], [MAGIC_CMD], [0],
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
+])# _LT_PATH_TOOL_PREFIX
+
+# Old name:
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
+
+
+# _LT_PATH_MAGIC
+# --------------
+# find a file program which can recognize a shared library
+m4_defun([_LT_PATH_MAGIC],
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# _LT_PATH_MAGIC
+
+
+# LT_PATH_LD
+# ----------
+# find the pathname to the GNU or non-GNU linker
+AC_DEFUN([LT_PATH_LD],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test "$withval" = no || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+_LT_PATH_LD_GNU
+AC_SUBST([LD])
+
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
+])# LT_PATH_LD
+
+# Old names:
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_LD], [])
+dnl AC_DEFUN([AC_PROG_LD], [])
+
+
+# _LT_PATH_LD_GNU
+#- --------------
+m4_defun([_LT_PATH_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# _LT_PATH_LD_GNU
+
+
+# _LT_CMD_RELOAD
+# --------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+m4_defun([_LT_CMD_RELOAD],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test "$GCC" != yes; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
+_LT_TAGDECL([], [reload_cmds], [2])dnl
+])# _LT_CMD_RELOAD
+
+
+# _LT_CHECK_MAGIC_METHOD
+# ----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_MAGIC_METHOD],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+AC_CACHE_CHECK([how to recognize dependent libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given extended regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[[4-9]]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[[45]]*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[[3-9]]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+_LT_DECL([], [deplibs_check_method], [1],
+ [Method to check whether dependent libraries are shared objects])
+_LT_DECL([], [file_magic_cmd], [1],
+ [Command to use when deplibs_check_method = "file_magic"])
+_LT_DECL([], [file_magic_glob], [1],
+ [How to find potential files when deplibs_check_method = "file_magic"])
+_LT_DECL([], [want_nocaseglob], [1],
+ [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
+])# _LT_CHECK_MAGIC_METHOD
+
+
+# LT_PATH_NM
+# ----------
+# find the pathname to a BSD- or MS-compatible name lister
+AC_DEFUN([LT_PATH_NM],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_nm_to_check="${ac_tool_prefix}nm"
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/$lt_tmp_nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+ */dev/null* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+ done
+ : ${lt_cv_path_NM=no}
+fi])
+if test "$lt_cv_path_NM" != "no"; then
+ NM="$lt_cv_path_NM"
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+ AC_SUBST([DUMPBIN])
+ if test "$DUMPBIN" != ":"; then
+ NM="$DUMPBIN"
+ fi
+fi
+test -z "$NM" && NM=nm
+AC_SUBST([NM])
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
+
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
+ [lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
+ cat conftest.out >&AS_MESSAGE_LOG_FD
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*])
+])# LT_PATH_NM
+
+# Old names:
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_NM], [])
+dnl AC_DEFUN([AC_PROG_NM], [])
+
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+# --------------------------------
+# how to determine the name of the shared library
+# associated with a specific link library.
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+m4_require([_LT_DECL_DLLTOOL])
+AC_CACHE_CHECK([how to associate runtime and link libraries],
+lt_cv_sharedlib_from_linklib_cmd,
+[lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh
+ # decide which to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
+ ;;
+esac
+])
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
+ [Command to associate shared and link libraries])
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+
+
+# _LT_PATH_MANIFEST_TOOL
+# ----------------------
+# locate the manifest tool
+m4_defun([_LT_PATH_MANIFEST_TOOL],
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
+ [lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*])
+if test "x$lt_cv_path_mainfest_tool" != xyes; then
+ MANIFEST_TOOL=:
+fi
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
+])# _LT_PATH_MANIFEST_TOOL
+
+
+# LT_LIB_M
+# --------
+# check for math library
+AC_DEFUN([LT_LIB_M],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
+ ;;
+esac
+AC_SUBST([LIBM])
+])# LT_LIB_M
+
+# Old name:
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
+
+
+# _LT_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------
+m4_defun([_LT_COMPILER_NO_RTTI],
+[m4_require([_LT_TAG_COMPILER])dnl
+
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test "$GCC" = yes; then
+ case $cc_basename in
+ nvcc*)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+ esac
+
+ _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions], [],
+ [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
+ [Compiler flag to turn off builtin functions])
+])# _LT_COMPILER_NO_RTTI
+
+
+# _LT_CMD_GLOBAL_SYMBOLS
+# ----------------------
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*)
+ if test "$host_cpu" = ia64; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
+solaris*)
+ symcode='[[BDRT]]'
+ ;;
+sco3.2v5*)
+ symcode='[[DT]]'
+ ;;
+sysv4.2uw2*)
+ symcode='[[DT]]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[[ABDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[[ABCDGIRSTW]]' ;;
+esac
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function
+ # and D for any global variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK ['"\
+" {last_section=section; section=\$ 3};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
+" s[1]~/^[@?]/{print s[1], s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx]"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
+/* DATA imports from DLLs on WIN32 con't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t@_DLSYM_CONST
+#elif defined(__osf__)
+/* This system does not cope well with relocations in const data. */
+# define LT@&t@_DLSYM_CONST
+#else
+# define LT@&t@_DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t@_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
+ [Take the output of nm and produce a listing of raw symbols and C names])
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
+ [Transform the output of nm in a proper C declaration])
+_LT_DECL([global_symbol_to_c_name_address],
+ [lt_cv_sys_global_symbol_to_c_name_address], [1],
+ [Transform the output of nm in a C name address pair])
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
+ [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
+ [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([], [nm_file_list_spec], [1],
+ [Specify filename containing input files for $NM])
+]) # _LT_CMD_GLOBAL_SYMBOLS
+
+
+# _LT_COMPILER_PIC([TAGNAME])
+# ---------------------------
+m4_defun([_LT_COMPILER_PIC],
+[m4_require([_LT_TAG_COMPILER])dnl
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
+
+m4_if([$1], [CXX], [
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[[4-9]]*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ if test "$host_cpu" != ia64; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64 which still supported -KPIC.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ # old Intel for x86_64 which still supported -KPIC.
+ ecc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ ccc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All Alpha code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ F* | *Sun*Fortran*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ rdos*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ unicos*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+case $host_os in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
+ ;;
+esac
+
+AC_CACHE_CHECK([for $compiler option to produce PIC],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
+ [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
+ [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
+ [Additional compiler flags for building library objects])
+
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
+ [How to pass a linker flag through the compiler])
+#
+# Check to make sure the static flag actually works.
+#
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
+ _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
+ $lt_tmp_static_flag,
+ [],
+ [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
+ [Compiler flag to prevent dynamic linking])
+])# _LT_COMPILER_PIC
+
+
+# _LT_LINKER_SHLIBS([TAGNAME])
+# ----------------------------
+# See if the linker supports building shared libraries.
+m4_defun([_LT_LINKER_SHLIBS],
+[AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+m4_if([$1], [CXX], [
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ case $host_os in
+ aix[[4-9]]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ # Also, AIX nm treats weak defined symbols like other global defined
+ # symbols, whereas GNU nm marks them as "W".
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*) ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+ ;;
+ esac
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+], [
+ runpath_var=
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(archive_cmds, $1)=
+ _LT_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_TAGVAR(compiler_needs_object, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(hardcode_automatic, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_TAGVAR(inherit_rpath, $1)=no
+ _LT_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_TAGVAR(module_cmds, $1)=
+ _LT_TAGVAR(module_expsym_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+dnl Note also adjust exclude_expsyms for C++ above.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test "$with_gnu_ld" = yes; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+ *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test "$lt_use_gnu_ld_interface" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[[3-9]]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test "$host_os" = linux-dietlibc; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test "$tmp_diet" = no
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ tmp_sharedflag='--shared' ;;
+ xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+
+ if test "x$supports_anon_versioning" = xyes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
+ runpath_var=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ # Also, AIX nm treats weak defined symbols like other global
+ # defined symbols, whereas GNU nm marks them as "W".
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag="$shared_flag "'${wl}-G'
+ fi
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ if test "$with_gnu_ld" = yes; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds its shared libraries.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[[45]]*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+ else
+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile="$lt_outputfile.exe"
+ lt_tool_outputfile="$lt_tool_outputfile.exe"
+ ;;
+ esac~
+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ dgux*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ freebsd1*)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ m4_if($1, [], [
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ _LT_LINKER_OPTION([if $CC understands -b],
+ _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+ [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+ [lt_cv_irix_exported_symbol],
+ [save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE(
+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+ [C++], [[int foo (void) { return 0; }]],
+ [Fortran 77], [[
+ subroutine foo
+ end]],
+ [Fortran], [[
+ subroutine foo
+ end]])])],
+ [lt_cv_irix_exported_symbol=yes],
+ [lt_cv_irix_exported_symbol=no])
+ LDFLAGS="$save_LDFLAGS"])
+ if test "$lt_cv_irix_exported_symbol" = yes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+ fi
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ else
+ case $host_os in
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='${wl}'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands `-z linker_flag'. GCC discards it without `$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ ;;
+ motorola)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We can NOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test "$GCC" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ if test x$host_vendor = xsni; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+])
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
+
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
+_LT_DECL([], [extract_expsyms_cmds], [2],
+ [The commands to extract the exported symbol list from a shared archive])
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
+x|xyes)
+ # Assume -lc should be added
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $_LT_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_CACHE_CHECK([whether -lc should be explicitly linked in],
+ [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
+ [$RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
+ then
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+ ])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
+ [Whether or not to add -lc for building shared libraries])
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
+ [enable_shared_with_static_runtimes], [0],
+ [Whether or not to disallow shared libs when runtime libs are static])
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
+ [Compiler flag to allow reflexive dlopens])
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
+ [Compiler flag to generate shared objects directly from archives])
+_LT_TAGDECL([], [compiler_needs_object], [1],
+ [Whether the compiler copes with passing no objects directly])
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
+ [Create an old-style archive from a shared archive])
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
+ [Create a temporary old-style archive to link instead of a shared archive])
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
+_LT_TAGDECL([], [module_cmds], [2],
+ [Commands used to build a loadable module if different from building
+ a shared archive.])
+_LT_TAGDECL([], [module_expsym_cmds], [2])
+_LT_TAGDECL([], [with_gnu_ld], [1],
+ [Whether we are building with GNU ld or not])
+_LT_TAGDECL([], [allow_undefined_flag], [1],
+ [Flag that allows shared libraries with undefined symbols to be built])
+_LT_TAGDECL([], [no_undefined_flag], [1],
+ [Flag that enforces no undefined symbols])
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
+ [Flag to hardcode $libdir into a binary during linking.
+ This must work even if $libdir does not exist])
+_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
+ [[If ld is used when linking, flag to hardcode $libdir into a binary
+ during linking. This must work even if $libdir does not exist]])
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
+ [Whether we need a single "-rpath" flag with a separated argument])
+_LT_TAGDECL([], [hardcode_direct], [0],
+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
+ DIR into the resulting binary])
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
+ [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
+ DIR into the resulting binary and the resulting library dependency is
+ "absolute", i.e impossible to change by setting ${shlibpath_var} if the
+ library is relocated])
+_LT_TAGDECL([], [hardcode_minus_L], [0],
+ [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
+ [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_automatic], [0],
+ [Set to "yes" if building a shared library automatically hardcodes DIR
+ into the library and all subsequent libraries and executables linked
+ against it])
+_LT_TAGDECL([], [inherit_rpath], [0],
+ [Set to yes if linker adds runtime paths of dependent libraries
+ to runtime path list])
+_LT_TAGDECL([], [link_all_deplibs], [0],
+ [Whether libtool must link a program against all its dependency libraries])
+_LT_TAGDECL([], [always_export_symbols], [0],
+ [Set to "yes" if exported symbols are required])
+_LT_TAGDECL([], [export_symbols_cmds], [2],
+ [The commands to list exported symbols])
+_LT_TAGDECL([], [exclude_expsyms], [1],
+ [Symbols that should not be listed in the preloaded symbols])
+_LT_TAGDECL([], [include_expsyms], [1],
+ [Symbols that must always be exported])
+_LT_TAGDECL([], [prelink_cmds], [2],
+ [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+ [Commands necessary for finishing linking programs])
+_LT_TAGDECL([], [file_list_spec], [1],
+ [Specify filename containing input files])
+dnl FIXME: Not yet implemented
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
+dnl [Compiler flag to generate thread safe objects])
+])# _LT_LINKER_SHLIBS
+
+
+# _LT_LANG_C_CONFIG([TAG])
+# ------------------------
+# Ensure that the configuration variables for a C compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_C_CONFIG],
+[m4_require([_LT_DECL_EGREP])dnl
+lt_save_CC="$CC"
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+_LT_TAG_COMPILER
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+ LT_SYS_DLOPEN_SELF
+ _LT_CMD_STRIPLIB
+
+ # Report which library types will actually be built
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_CONFIG($1)
+fi
+AC_LANG_POP
+CC="$lt_save_CC"
+])# _LT_LANG_C_CONFIG
+
+
+# _LT_LANG_CXX_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a C++ compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_CXX_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
+ (test "X$CXX" != "Xg++"))) ; then
+ AC_PROG_CXXCPP
+else
+ _lt_caught_CXX_error=yes
+fi
+
+AC_LANG_PUSH(C++)
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(compiler_needs_object, $1)=no
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test "$_lt_caught_CXX_error" != yes; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test "$GXX" = yes; then
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+ else
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+ fi
+
+ if test "$GXX" = yes; then
+ # Set up default GNU C++ configuration
+
+ LT_PATH_LD
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test "$with_gnu_ld" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='${wl}'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix[[4-9]]*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
+
+ if test "$GXX" = yes; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag="$shared_flag "'${wl}-G'
+ fi
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='${wl}-G'
+ else
+ shared_flag='${wl}-bM:SRE'
+ fi
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ if test "$with_gnu_ld" = yes; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds its shared
+ # libraries.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
+ else
+ $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile="$lt_outputfile.exe"
+ lt_tool_outputfile="$lt_tool_outputfile.exe"
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ freebsd[[12]]*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ freebsd-elf*)
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ gnu*)
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ hpux9*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test $with_gnu_ld = no; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test $with_gnu_ld = no; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
+ fi
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ openbsd2*)
+ # C++ shared libraries are fairly broken
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ ;;
+ *)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
+ $RM $lib.exp'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ case $host in
+ osf3*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands `-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
+ # platform.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We can NOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+ '"$_LT_TAGVAR(old_archive_cmds, $1)"
+ _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
+ '"$_LT_TAGVAR(reload_cmds, $1)"
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+ test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+ _LT_TAGVAR(GCC, $1)="$GXX"
+ _LT_TAGVAR(LD, $1)="$LD"
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test "$_lt_caught_CXX_error" != yes
+
+AC_LANG_POP
+])# _LT_LANG_CXX_CONFIG
+
+
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+ case ${2} in
+ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+ esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
+# ---------------------------------
+# Figure out "hidden" library dependencies from verbose
+# compiler output when linking a shared library.
+# Parse the compiler output and extract the necessary
+# objects, libraries and library flags.
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
+# Dependencies to place before and after the object being linked:
+_LT_TAGVAR(predep_objects, $1)=
+_LT_TAGVAR(postdep_objects, $1)=
+_LT_TAGVAR(predeps, $1)=
+_LT_TAGVAR(postdeps, $1)=
+_LT_TAGVAR(compiler_lib_search_path, $1)=
+
+dnl we can't use the lt_simple_compile_test_code here,
+dnl because it contains code intended for an executable,
+dnl not a library. It's possible we should let each
+dnl tag define a new lt_????_link_test_code variable,
+dnl but it's only used here...
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
+int a;
+void foo (void) { a = 0; }
+_LT_EOF
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer*4 a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
+public class foo {
+ private int a;
+ public void bar (void) {
+ a = 0;
+ }
+};
+_LT_EOF
+])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+esac
+
+dnl Parse the compiler output and extract the necessary
+dnl objects, libraries and library flags.
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case ${prev}${p} in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test $p = "-L" ||
+ test $p = "-R"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test "$pre_test_object_deps_done" = no; then
+ case ${prev} in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
+ else
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
+ _LT_TAGVAR(postdeps, $1)="${prev}${p}"
+ else
+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
+ _LT_TAGVAR(predep_objects, $1)="$p"
+ else
+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
+ _LT_TAGVAR(postdep_objects, $1)="$p"
+ else
+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling $1 test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+m4_if([$1], [CXX],
+[case $host_os in
+interix[[3-9]]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ _LT_TAGVAR(predep_objects,$1)=
+ _LT_TAGVAR(postdep_objects,$1)=
+ _LT_TAGVAR(postdeps,$1)=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test "$solaris_use_stlport4" != yes; then
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test "$solaris_use_stlport4" != yes; then
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+])
+
+case " $_LT_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+esac
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
+fi
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
+ [The directories searched by this compiler when creating a shared library])
+_LT_TAGDECL([], [predep_objects], [1],
+ [Dependencies to place before and after the objects being linked to
+ create a shared library])
+_LT_TAGDECL([], [postdep_objects], [1])
+_LT_TAGDECL([], [predeps], [1])
+_LT_TAGDECL([], [postdeps], [1])
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
+ [The library search path used internally by the compiler when linking
+ a shared library])
+])# _LT_SYS_HIDDEN_LIBDEPS
+
+
+# _LT_LANG_F77_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a Fortran 77 compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_F77_CONFIG],
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test "X$F77" = "Xno"; then
+ _lt_disable_F77=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the F77 compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test "$_lt_disable_F77" != yes; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC="$CC"
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${F77-"f77"}
+ CFLAGS=$FFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+ GCC=$G77
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)="$G77"
+ _LT_TAGVAR(LD, $1)="$LD"
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC="$lt_save_CC"
+ CFLAGS="$lt_save_CFLAGS"
+fi # test "$_lt_disable_F77" != yes
+
+AC_LANG_POP
+])# _LT_LANG_F77_CONFIG
+
+
+# _LT_LANG_FC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for a Fortran compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_FC_CONFIG],
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test "X$FC" = "Xno"; then
+ _lt_disable_FC=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for fc test sources.
+ac_ext=${ac_fc_srcext-f}
+
+# Object file extension for compiled fc test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the FC compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test "$_lt_disable_FC" != yes; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC="$CC"
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${FC-"f95"}
+ CFLAGS=$FCFLAGS
+ compiler=$CC
+ GCC=$ac_cv_fc_compiler_gnu
+
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test "$can_build_shared" = "no" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test "$enable_shared" = yes || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
+ _LT_TAGVAR(LD, $1)="$LD"
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+fi # test "$_lt_disable_FC" != yes
+
+AC_LANG_POP
+])# _LT_LANG_FC_CONFIG
+
+
+# _LT_LANG_GCJ_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Java Compiler compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_GCJ_CONFIG],
+[AC_REQUIRE([LT_PROG_GCJ])dnl
+AC_LANG_SAVE
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)="$LD"
+_LT_CC_BASENAME([$compiler])
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GCJ_CONFIG
+
+
+# _LT_LANG_RC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for the Windows resource compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to `libtool'.
+m4_defun([_LT_LANG_RC_CONFIG],
+[AC_REQUIRE([LT_PROG_RC])dnl
+AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code="$lt_simple_compile_test_code"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=
+CC=${RC-"windres"}
+CFLAGS=
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_CC_BASENAME([$compiler])
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+if test -n "$compiler"; then
+ :
+ _LT_CONFIG($1)
+fi
+
+GCC=$lt_save_GCC
+AC_LANG_RESTORE
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_RC_CONFIG
+
+
+# LT_PROG_GCJ
+# -----------
+AC_DEFUN([LT_PROG_GCJ],
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
+ [AC_CHECK_TOOL(GCJ, gcj,)
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)])])[]dnl
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
+
+
+# LT_PROG_RC
+# ----------
+AC_DEFUN([LT_PROG_RC],
+[AC_CHECK_TOOL(RC, windres,)
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
+
+
+# _LT_DECL_EGREP
+# --------------
+# If we don't have a new enough Autoconf to choose the best grep
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_EGREP],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_REQUIRE([AC_PROG_FGREP])dnl
+test -z "$GREP" && GREP=grep
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
+AC_SUBST([GREP])
+])
+
+
+# _LT_DECL_OBJDUMP
+# --------------
+# If we don't have a new enough Autoconf to choose the best objdump
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_OBJDUMP],
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
+AC_SUBST([OBJDUMP])
+])
+
+# _LT_DECL_DLLTOOL
+# ----------------
+# Ensure DLLTOOL variable is set.
+m4_defun([_LT_DECL_DLLTOOL],
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
+AC_SUBST([DLLTOOL])
+])
+
+# _LT_DECL_SED
+# ------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+m4_defun([_LT_DECL_SED],
+[AC_PROG_SED
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
+ [Sed that helps us avoid accidentally triggering echo(1) options like -n])
+])# _LT_DECL_SED
+
+m4_ifndef([AC_PROG_SED], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+
+m4_defun([AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+IFS=$as_save_IFS
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f $lt_ac_sed && continue
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test $lt_ac_count -gt 10 && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test $lt_ac_count -gt $lt_ac_max; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+])
+SED=$lt_cv_path_SED
+AC_SUBST([SED])
+AC_MSG_RESULT([$SED])
+])#AC_PROG_SED
+])#m4_ifndef
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
+
+
+# _LT_CHECK_SHELL_FEATURES
+# ------------------------
+# Find out whether the shell is Bourne or XSI compatible,
+# or has some other useful features.
+m4_defun([_LT_CHECK_SHELL_FEATURES],
+[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
+# Try some XSI features
+xsi_shell=no
+( _lt_dummy="a/b/c"
+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
+ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+AC_MSG_RESULT([$xsi_shell])
+_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
+
+AC_MSG_CHECKING([whether the shell understands "+="])
+lt_shell_append=no
+( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
+ >/dev/null 2>&1 \
+ && lt_shell_append=yes
+AC_MSG_RESULT([$lt_shell_append])
+_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
+])# _LT_CHECK_SHELL_FEATURES
+
+
+# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
+# ------------------------------------------------------
+# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
+# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
+m4_defun([_LT_PROG_FUNCTION_REPLACE],
+[dnl {
+sed -e '/^$1 ()$/,/^} # $1 /c\
+$1 ()\
+{\
+m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
+} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+test 0 -eq $? || _lt_function_replace_fail=:
+])
+
+
+# _LT_PROG_REPLACE_SHELLFNS
+# -------------------------
+# Replace existing portable implementations of several shell functions with
+# equivalent extended shell implementations where those features are available..
+m4_defun([_LT_PROG_REPLACE_SHELLFNS],
+[if test x"$xsi_shell" = xyes; then
+ _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
+ case ${1} in
+ */*) func_dirname_result="${1%/*}${2}" ;;
+ * ) func_dirname_result="${3}" ;;
+ esac])
+
+ _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
+ func_basename_result="${1##*/}"])
+
+ _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
+ case ${1} in
+ */*) func_dirname_result="${1%/*}${2}" ;;
+ * ) func_dirname_result="${3}" ;;
+ esac
+ func_basename_result="${1##*/}"])
+
+ _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+ # positional parameters, so assign one to ordinary parameter first.
+ func_stripname_result=${3}
+ func_stripname_result=${func_stripname_result#"${1}"}
+ func_stripname_result=${func_stripname_result%"${2}"}])
+
+ _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
+ func_split_long_opt_name=${1%%=*}
+ func_split_long_opt_arg=${1#*=}])
+
+ _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
+ func_split_short_opt_arg=${1#??}
+ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
+
+ _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
+ case ${1} in
+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+ *) func_lo2o_result=${1} ;;
+ esac])
+
+ _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
+
+ _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
+
+ _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
+fi
+
+if test x"$lt_shell_append" = xyes; then
+ _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
+
+ _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
+ func_quote_for_eval "${2}"
+dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
+ eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
+
+ # Save a `func_append' function call where possible by direct use of '+='
+ sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+ test 0 -eq $? || _lt_function_replace_fail=:
+else
+ # Save a `func_append' function call even when '+=' is not available
+ sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
+ && mv -f "$cfgfile.tmp" "$cfgfile" \
+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
+ test 0 -eq $? || _lt_function_replace_fail=:
+fi
+
+if test x"$_lt_function_replace_fail" = x":"; then
+ AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
+fi
+])
+
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine which file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+ [0], [convert $build file names to $host format])dnl
+
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+ [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
new file mode 100644
index 0000000..17cfd51
--- /dev/null
+++ b/m4/ltoptions.m4
@@ -0,0 +1,369 @@
+# Helper functions for option handling. -*- Autoconf -*-
+#
+# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 7 ltoptions.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+
+
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
+# ------------------------------------------
+m4_define([_LT_MANGLE_OPTION],
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
+
+
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
+# ---------------------------------------
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
+# matching handler defined, dispatch to it. Other OPTION-NAMEs are
+# saved as a flag.
+m4_define([_LT_SET_OPTION],
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
+ _LT_MANGLE_DEFUN([$1], [$2]),
+ [m4_warning([Unknown $1 option `$2'])])[]dnl
+])
+
+
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
+# ------------------------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+m4_define([_LT_IF_OPTION],
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
+
+
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
+# -------------------------------------------------------
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
+# are set.
+m4_define([_LT_UNLESS_OPTIONS],
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
+ [m4_define([$0_found])])])[]dnl
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
+])[]dnl
+])
+
+
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
+# ----------------------------------------
+# OPTION-LIST is a space-separated list of Libtool options associated
+# with MACRO-NAME. If any OPTION has a matching handler declared with
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
+# the unknown option and exit.
+m4_defun([_LT_SET_OPTIONS],
+[# Set options
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [_LT_SET_OPTION([$1], _LT_Option)])
+
+m4_if([$1],[LT_INIT],[
+ dnl
+ dnl Simply set some default values (i.e off) if boolean options were not
+ dnl specified:
+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
+ ])
+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
+ ])
+ dnl
+ dnl If no reference was made to various pairs of opposing options, then
+ dnl we run the default mode handler for the pair. For example, if neither
+ dnl `shared' nor `disable-shared' was passed, we enable building of shared
+ dnl archives by default:
+ _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
+ _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
+ [_LT_ENABLE_FAST_INSTALL])
+ ])
+])# _LT_SET_OPTIONS
+
+
+## --------------------------------- ##
+## Macros to handle LT_INIT options. ##
+## --------------------------------- ##
+
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
+# -----------------------------------------
+m4_define([_LT_MANGLE_DEFUN],
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
+
+
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
+# -----------------------------------------------
+m4_define([LT_OPTION_DEFINE],
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
+])# LT_OPTION_DEFINE
+
+
+# dlopen
+# ------
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
+])
+
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
+[_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `dlopen' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
+
+
+# win32-dll
+# ---------
+# Declare package support for building win32 dll's.
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
+[enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+ ;;
+esac
+
+test -z "$AS" && AS=as
+_LT_DECL([], [AS], [1], [Assembler program])dnl
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
+])# win32-dll
+
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `win32-dll' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
+
+
+# _LT_ENABLE_SHARED([DEFAULT])
+# ----------------------------
+# implement the --enable-shared flag, and supports the `shared' and
+# `disable-shared' LT_INIT options.
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+m4_define([_LT_ENABLE_SHARED],
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([shared],
+ [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
+
+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
+ [Whether or not to build shared libraries])
+])# _LT_ENABLE_SHARED
+
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
+])
+
+AC_DEFUN([AC_DISABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
+])
+
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
+
+
+
+# _LT_ENABLE_STATIC([DEFAULT])
+# ----------------------------
+# implement the --enable-static flag, and support the `static' and
+# `disable-static' LT_INIT options.
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+m4_define([_LT_ENABLE_STATIC],
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([static],
+ [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
+
+ _LT_DECL([build_old_libs], [enable_static], [0],
+ [Whether or not to build static libraries])
+])# _LT_ENABLE_STATIC
+
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
+])
+
+AC_DEFUN([AC_DISABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], [disable-static])
+])
+
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
+
+
+
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
+# ----------------------------------
+# implement the --enable-fast-install flag, and support the `fast-install'
+# and `disable-fast-install' LT_INIT options.
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+m4_define([_LT_ENABLE_FAST_INSTALL],
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([fast-install],
+ [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
+
+_LT_DECL([fast_install], [enable_fast_install], [0],
+ [Whether or not to optimize for fast installation])dnl
+])# _LT_ENABLE_FAST_INSTALL
+
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
+
+# Old names:
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the `fast-install' option into LT_INIT's first parameter.])
+])
+
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the `disable-fast-install' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
+
+
+# _LT_WITH_PIC([MODE])
+# --------------------
+# implement the --with-pic flag, and support the `pic-only' and `no-pic'
+# LT_INIT options.
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
+m4_define([_LT_WITH_PIC],
+[AC_ARG_WITH([pic],
+ [AS_HELP_STRING([--with-pic],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [pic_mode="$withval"],
+ [pic_mode=default])
+
+test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
+
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
+])# _LT_WITH_PIC
+
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
+
+# Old name:
+AU_DEFUN([AC_LIBTOOL_PICMODE],
+[_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the `pic-only' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
+
+## ----------------- ##
+## LTDL_INIT Options ##
+## ----------------- ##
+
+m4_define([_LTDL_MODE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
+ [m4_define([_LTDL_MODE], [nonrecursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
+ [m4_define([_LTDL_MODE], [recursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
+ [m4_define([_LTDL_MODE], [subproject])])
+
+m4_define([_LTDL_TYPE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
+ [m4_define([_LTDL_TYPE], [installable])])
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
+ [m4_define([_LTDL_TYPE], [convenience])])
diff --git a/m4/ltsugar.m4 b/m4/ltsugar.m4
new file mode 100644
index 0000000..9000a05
--- /dev/null
+++ b/m4/ltsugar.m4
@@ -0,0 +1,123 @@
+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
+#
+# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 6 ltsugar.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
+
+
+# lt_join(SEP, ARG1, [ARG2...])
+# -----------------------------
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
+# associated separator.
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
+# versions in m4sugar had bugs.
+m4_define([lt_join],
+[m4_if([$#], [1], [],
+ [$#], [2], [[$2]],
+ [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
+m4_define([_lt_join],
+[m4_if([$#$2], [2], [],
+ [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
+
+
+# lt_car(LIST)
+# lt_cdr(LIST)
+# ------------
+# Manipulate m4 lists.
+# These macros are necessary as long as will still need to support
+# Autoconf-2.59 which quotes differently.
+m4_define([lt_car], [[$1]])
+m4_define([lt_cdr],
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
+ [$#], 1, [],
+ [m4_dquote(m4_shift($@))])])
+m4_define([lt_unquote], $1)
+
+
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
+# ------------------------------------------
+# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
+# than defined and empty).
+#
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
+m4_define([lt_append],
+[m4_define([$1],
+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
+
+
+
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
+# ----------------------------------------------------------
+# Produce a SEP delimited list of all paired combinations of elements of
+# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
+# has the form PREFIXmINFIXSUFFIXn.
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
+m4_define([lt_combine],
+[m4_if(m4_eval([$# > 3]), [1],
+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
+[[m4_foreach([_Lt_prefix], [$2],
+ [m4_foreach([_Lt_suffix],
+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
+
+
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
+# -----------------------------------------------------------------------
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
+m4_define([lt_if_append_uniq],
+[m4_ifdef([$1],
+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
+ [lt_append([$1], [$2], [$3])$4],
+ [$5])],
+ [lt_append([$1], [$2], [$3])$4])])
+
+
+# lt_dict_add(DICT, KEY, VALUE)
+# -----------------------------
+m4_define([lt_dict_add],
+[m4_define([$1($2)], [$3])])
+
+
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
+# --------------------------------------------
+m4_define([lt_dict_add_subkey],
+[m4_define([$1($2:$3)], [$4])])
+
+
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
+# ----------------------------------
+m4_define([lt_dict_fetch],
+[m4_ifval([$3],
+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
+
+
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
+# -----------------------------------------------------------------
+m4_define([lt_if_dict_fetch],
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
+ [$5],
+ [$6])])
+
+
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
+# --------------------------------------------------------------
+m4_define([lt_dict_filter],
+[m4_if([$5], [], [],
+ [lt_join(m4_quote(m4_default([$4], [[, ]])),
+ lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
+ [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
+])
diff --git a/m4/ltversion.m4 b/m4/ltversion.m4
new file mode 100644
index 0000000..9c7b5d4
--- /dev/null
+++ b/m4/ltversion.m4
@@ -0,0 +1,23 @@
+# ltversion.m4 -- version numbers -*- Autoconf -*-
+#
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# @configure_input@
+
+# serial 3293 ltversion.m4
+# This file is part of GNU Libtool
+
+m4_define([LT_PACKAGE_VERSION], [2.4])
+m4_define([LT_PACKAGE_REVISION], [1.3293])
+
+AC_DEFUN([LTVERSION_VERSION],
+[macro_version='2.4'
+macro_revision='1.3293'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])
diff --git a/m4/lt~obsolete.m4 b/m4/lt~obsolete.m4
new file mode 100644
index 0000000..c573da9
--- /dev/null
+++ b/m4/lt~obsolete.m4
@@ -0,0 +1,98 @@
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
+#
+# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004.
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 5 lt~obsolete.m4
+
+# These exist entirely to fool aclocal when bootstrapping libtool.
+#
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
+# which have later been changed to m4_define as they aren't part of the
+# exported API, or moved to Autoconf or Automake where they belong.
+#
+# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
+# using a macro with the same name in our local m4/libtool.m4 it'll
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
+# and doesn't know about Autoconf macros at all.)
+#
+# So we provide this file, which has a silly filename so it's always
+# included after everything else. This provides aclocal with the
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
+# because those macros already exist, or will be overwritten later.
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
+#
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
+# Yes, that means every name once taken will need to remain here until
+# we give up compatibility with versions before 1.7, at which point
+# we need to keep only those names which we still refer to.
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
+
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
+m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
+m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
+m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
+m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
+m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
+m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
+m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
+m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
+m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
+m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
+m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
+m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
+m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
+m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
+m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
+m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
+m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
+m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
+m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
+m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
+m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
+m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
+m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
+m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
+m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
+m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
+m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
diff --git a/m4/python-efl.m4 b/m4/python-efl.m4
new file mode 100644
index 0000000..c4eeeab
--- /dev/null
+++ b/m4/python-efl.m4
@@ -0,0 +1,46 @@
+dnl PY_EFL_PYTHONPATH(VARIABLE, MODULE, [ACTION-YES [, ACTION-NO]])
+dnl checks if pkg-config MODULE specification provides $pythondir and
+dnl $pyexecdir that are present in $PYTHONPATH.
+dnl
+dnl defines ${MODULE}_PYTHONPATH_CORRECT=yes/no
+AC_DEFUN([PY_EFL_PYTHONPATH],
+[
+
+$1[]_PYTHONPATH_CORRECT=no
+
+PKG_CHECK_EXISTS([$2],
+ [$1[]_PYTHONPATH_CORRECT=yes], [$1[]_PYTHONPATH_CORRECT=no])
+
+if test "x$[]$1[]_PYTHONPATH_CORRECT" != "xyes"; then
+ ifelse([$4], [],
+ [AC_MSG_WARN([$2 is not installed. This may result in runtime problems with python that uses this module.])],
+ [$4])
+else
+ _pythondir=`pkg-config --variable=pythondir "$2"`
+ _pyexecdir=`pkg-config --variable=pyexecdir "$2"`
+ _missing_paths=""
+ AM_CHECK_PYTHONPATH_CONTAINS([$_pythondir], [:],
+ [$1[]_PYTHONPATH_CORRECT=no
+ _missing_paths="$_missing_paths $_pythondir"
+ ])
+
+ if test "$_pythondir" != "$_pyexecdir"; then
+ AM_CHECK_PYTHONPATH_CONTAINS([$_pyexecdir], [:],
+ [$1[]_PYTHONPATH_CORRECT=no
+ _missing_paths="$_missing_paths $_pythondir"
+ ])
+ fi
+
+ if test "$[]$1[]_PYTHONPATH_CORRECT" = "yes"; then
+ ifelse([$3], [], [:], [$3])
+ else
+ ifelse([$4], [],
+ [AC_MSG_WARN([\$PYTHONPATH does not include${_missing_paths} where $2 is installed. This may result in runtime problems with python that uses this module.])],
+ [$4])
+ fi
+fi
+
+unset _missing_paths
+unset _pythondir
+unset _pyexecdir
+])
diff --git a/m4/python.m4 b/m4/python.m4
new file mode 100644
index 0000000..f625251
--- /dev/null
+++ b/m4/python.m4
@@ -0,0 +1,71 @@
+dnl code from pygtk-2.16.0
+## this one is commonly used with AM_PATH_PYTHONDIR ...
+dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
+dnl Check if a module containing a given symbol is visible to python.
+AC_DEFUN([AM_CHECK_PYMOD],
+[AC_REQUIRE([AM_PATH_PYTHON])
+py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
+AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1)
+AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
+ifelse([$2],[], [prog="
+import sys
+try:
+ import $1
+except ImportError:
+ sys.exit(1)
+except:
+ sys.exit(0)
+sys.exit(0)"], [prog="
+import $1
+$1.$2"])
+if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
+ then
+ eval "py_cv_mod_$py_mod_var=yes"
+ else
+ eval "py_cv_mod_$py_mod_var=no"
+ fi
+])
+py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
+if test "x$py_val" != xno; then
+ AC_MSG_RESULT(yes)
+ ifelse([$3], [],, [$3
+])dnl
+else
+ AC_MSG_RESULT(no)
+ ifelse([$4], [],, [$4
+])dnl
+fi
+])
+
+dnl a macro to check for ability to create python extensions
+dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
+dnl function also defines PYTHON_INCLUDES
+AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
+[AC_REQUIRE([AM_PATH_PYTHON])
+AC_MSG_CHECKING(for headers required to compile python extensions)
+if test -x "$PYTHON_INCLUDES"; then
+PYTHON_INCLUDES="-I$PYTHON_INCLUDES"
+else
+dnl deduce PYTHON_INCLUDES
+py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
+py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
+if test -x "$PYTHON-config"; then
+PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
+else
+PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
+if test "$py_prefix" != "$py_exec_prefix"; then
+ PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
+fi
+fi
+fi
+AC_SUBST(PYTHON_INCLUDES)
+dnl check if the headers exist:
+save_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
+AC_TRY_CPP([#include <Python.h>],dnl
+[AC_MSG_RESULT(found)
+$1],dnl
+[AC_MSG_RESULT(not found)
+$2])
+CPPFLAGS="$save_CPPFLAGS"
+])
diff --git a/m4/pythonpath.m4 b/m4/pythonpath.m4
new file mode 100644
index 0000000..7dc5a1a
--- /dev/null
+++ b/m4/pythonpath.m4
@@ -0,0 +1,81 @@
+dnl _CHECK_PYTHONPATH(PATH, ACTION-YES, ACTION-NO)
+AC_DEFUN([_CHECK_PYTHONPATH],
+[
+m4_define([pyprog], [import sys; sys.exit(not ('$1' in sys.path))])
+
+changequote(, )
+_cachevar=`echo "$1" | sed -e "s/[^a-zA-Z0-9_]/_0123_/g" `
+changequote([, ])
+_cachevar="py_cv_path_${_cachevar}"
+
+AC_CACHE_CHECK([for $1 in \$PYTHONPATH], [$_cachevar],
+ [
+ _res=no
+ if AC_RUN_LOG([$PYTHON -c "pyprog"]); then
+ _res=yes
+ fi
+ eval "${_cachevar}=$_res"
+ unset _res
+ ])
+eval "_res=\${${_cachevar}}"
+if test "$_res" = "yes"; then
+ $2
+else
+ $3
+fi
+])
+
+dnl a macro to check if install location is in $PYTHONPATH or builtin locations
+dnl AM_CHECK_PYTHONPATH([ACTION-YES [, ACTION-NO]])
+dnl defines PYTHONPATH_CORRECT=yes/no
+AC_DEFUN([AM_CHECK_PYTHONPATH],
+[AC_REQUIRE([AM_PATH_PYTHON])
+
+_orig_exec_prefix="$exec_prefix"
+if test -z "$exec_prefix" -o "$exec_prefix" = "NONE"; then
+ exec_prefix="$prefix"
+fi
+_pythondir=`eval "echo $pythondir"`
+_pyexecdir=`eval "echo $pyexecdir"`
+exec_prefix="${_orig_exec_prefix}"
+unset _orig_exec_prefix
+
+PYTHONPATH_CORRECT=yes
+
+_CHECK_PYTHONPATH([$_pythondir],
+ [ifelse([$1], [], [:], [$1])],
+ [PYTHONPATH_CORRECT=no
+ ifelse([$2], [],
+ [AC_MSG_WARN([\$PYTHONPATH does not include $_pythondir, this may result in runtime problems with python that uses this module.])],
+ [$2])])
+
+if test "$_pythondir" != "$_pyexecdir"; then
+_CHECK_PYTHONPATH([$_pyexecdir],
+ [ifelse([$1], [], [:], [$1])],
+ [PYTHONPATH_CORRECT=no
+ ifelse([$2], [],
+ [AC_MSG_WARN([\$PYTHONPATH does not include $_pyexecdir, this may result in runtime problems with python that uses this module.])],
+ [$2])])
+fi
+
+unset _pythondir
+unset _pyexecdir
+])
+
+dnl a macro to check if given directory is in $PYTHONPATH or builtin locations
+dnl AM_CHECK_PYTHONPATH_CONTAINS(DIRECTORY [, ACTION-YES [, ACTION-NO]])
+dnl defines PYTHONPATH_CORRECT=yes/no
+AC_DEFUN([AM_CHECK_PYTHONPATH_CONTAINS],
+[AC_REQUIRE([AM_PATH_PYTHON])
+
+_dir="$1"
+_dir=`expr "X$_dir" : 'X\(.*[^/]\)' \| "X$_dir" : 'X\(.*\)'`
+
+_CHECK_PYTHONPATH([$_dir],
+ [ifelse([$2], [], [:], [$2])],
+ [ifelse([$3], [],
+ [AC_MSG_WARN([\$PYTHONPATH does not include $_dir, this may result in runtime problems with python that uses this module.])],
+ [$3])])
+
+unset _dir
+])
diff --git a/missing b/missing
new file mode 100755
index 0000000..86a8fc3
--- /dev/null
+++ b/missing
@@ -0,0 +1,331 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+
+scriptversion=2012-01-06.13; # UTC
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+fi
+
+run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
+
+# In the cases where this matters, `missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+ configure_ac=configure.ac
+else
+ configure_ac=configure.in
+fi
+
+msg="missing on your system"
+
+case $1 in
+--run)
+ # Try to run requested program, and just exit if it succeeds.
+ run=
+ shift
+ "$@" && exit 0
+ # Exit code 63 means version mismatch. This often happens
+ # when the user try to use an ancient version of a tool on
+ # a file that requires a minimum version. In this case we
+ # we should proceed has if the program had been absent, or
+ # if --run hadn't been passed.
+ if test $? = 63; then
+ run=:
+ msg="probably too old"
+ fi
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+ --run try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+ aclocal touch file \`aclocal.m4'
+ autoconf touch file \`configure'
+ autoheader touch file \`config.h.in'
+ autom4te touch the output file, or create a stub one
+ automake touch all \`Makefile.in' files
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
+ flex create \`lex.yy.c', if possible, from existing .c
+ help2man touch the output file
+ lex create \`lex.yy.c', if possible, from existing .c
+ makeinfo touch the output file
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: Unknown \`$1' option"
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+# Now exit if we have it, but it failed. Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+ lex*|yacc*)
+ # Not GNU programs, they don't have --version.
+ ;;
+
+ *)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+ # Could not run --version or --help. This is probably someone
+ # running `$TOOL --version' or `$TOOL --help' to check whether
+ # $TOOL exists and not knowing $TOOL uses missing.
+ exit 1
+ fi
+ ;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case $program in
+ aclocal*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
+ to install the \`Automake' and \`Perl' packages. Grab them from
+ any GNU archive site."
+ touch aclocal.m4
+ ;;
+
+ autoconf*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`${configure_ac}'. You might want to install the
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
+ archive site."
+ touch configure
+ ;;
+
+ autoheader*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
+ from any GNU archive site."
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+ test -z "$files" && files="config.h"
+ touch_files=
+ for f in $files; do
+ case $f in
+ *:*) touch_files="$touch_files "`echo "$f" |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+ *) touch_files="$touch_files $f.in";;
+ esac
+ done
+ touch $touch_files
+ ;;
+
+ automake*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+ You might want to install the \`Automake' and \`Perl' packages.
+ Grab them from any GNU archive site."
+ find . -type f -name Makefile.am -print |
+ sed 's/\.am$/.in/' |
+ while read f; do touch "$f"; done
+ ;;
+
+ autom4te*)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, but is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them.
+ You can get \`$1' as part of \`Autoconf' from any GNU
+ archive site."
+
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo "#! /bin/sh"
+ echo "# Created by GNU Automake missing as a replacement of"
+ echo "# $ $@"
+ echo "exit 0"
+ chmod +x $file
+ exit 1
+ fi
+ ;;
+
+ bison*|yacc*)
+ echo 1>&2 "\
+WARNING: \`$1' $msg. You should only need it if
+ you modified a \`.y' file. You may need the \`Bison' package
+ in order for those modifications to take effect. You can get
+ \`Bison' from any GNU archive site."
+ rm -f y.tab.c y.tab.h
+ if test $# -ne 1; then
+ eval LASTARG=\${$#}
+ case $LASTARG in
+ *.y)
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+ if test -f "$SRCFILE"; then
+ cp "$SRCFILE" y.tab.c
+ fi
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+ if test -f "$SRCFILE"; then
+ cp "$SRCFILE" y.tab.h
+ fi
+ ;;
+ esac
+ fi
+ if test ! -f y.tab.h; then
+ echo >y.tab.h
+ fi
+ if test ! -f y.tab.c; then
+ echo 'main() { return 0; }' >y.tab.c
+ fi
+ ;;
+
+ lex*|flex*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified a \`.l' file. You may need the \`Flex' package
+ in order for those modifications to take effect. You can get
+ \`Flex' from any GNU archive site."
+ rm -f lex.yy.c
+ if test $# -ne 1; then
+ eval LASTARG=\${$#}
+ case $LASTARG in
+ *.l)
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+ if test -f "$SRCFILE"; then
+ cp "$SRCFILE" lex.yy.c
+ fi
+ ;;
+ esac
+ fi
+ if test ! -f lex.yy.c; then
+ echo 'main() { return 0; }' >lex.yy.c
+ fi
+ ;;
+
+ help2man*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified a dependency of a manual page. You may need the
+ \`Help2man' package in order for those modifications to take
+ effect. You can get \`Help2man' from any GNU archive site."
+
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo ".ab help2man is required to generate this page"
+ exit $?
+ fi
+ ;;
+
+ makeinfo*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified a \`.texi' or \`.texinfo' file, or any other file
+ indirectly affecting the aspect of the manual. The spurious
+ call might also be the consequence of using a buggy \`make' (AIX,
+ DU, IRIX). You might want to install the \`Texinfo' package or
+ the \`GNU make' package. Grab either from any GNU archive site."
+ # The file to touch is that specified with -o ...
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -z "$file"; then
+ # ... or it is the one specified with @setfilename ...
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
+ fi
+ # If the file does not exist, the user really needs makeinfo;
+ # let's fail without touching anything.
+ test -f $file || exit 1
+ touch $file
+ ;;
+
+ *)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, and is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them. Check the \`README' file,
+ it often tells you about the needed prerequisites for installing
+ this package. You may also peek at any GNU archive site, in case
+ some other package would contain this missing \`$1' program."
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/py-compile b/py-compile
new file mode 100755
index 0000000..15c834c
--- /dev/null
+++ b/py-compile
@@ -0,0 +1,161 @@
+#!/bin/sh
+# py-compile - Compile a Python program
+
+scriptversion=2011-06-08.12; # UTC
+
+# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009, 2011 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+if [ -z "$PYTHON" ]; then
+ PYTHON=python
+fi
+
+me=py-compile
+
+usage_error ()
+{
+ echo "$me: $*" >&2
+ echo "Try \`$me --help' for more information." >&2
+ exit 1
+}
+
+basedir=
+destdir=
+while test $# -ne 0; do
+ case "$1" in
+ --basedir)
+ if test $# -lt 2; then
+ usage_error "option '--basedir' requires an argument"
+ else
+ basedir=$2
+ fi
+ shift
+ ;;
+ --destdir)
+ if test $# -lt 2; then
+ usage_error "option '--destdir' requires an argument"
+ else
+ destdir=$2
+ fi
+ shift
+ ;;
+ -h|--help)
+ cat <<\EOF
+Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..."
+
+Byte compile some python scripts FILES. Use --destdir to specify any
+leading directory path to the FILES that you don't want to include in the
+byte compiled file. Specify --basedir for any additional path information you
+do want to be shown in the byte compiled file.
+
+Example:
+ py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v|--version)
+ echo "$me $scriptversion"
+ exit $?
+ ;;
+ --)
+ shift
+ break
+ ;;
+ -*)
+ usage_error "unrecognized option '$1'"
+ ;;
+ *)
+ break
+ ;;
+ esac
+ shift
+done
+
+files=$*
+if test -z "$files"; then
+ usage_error "no files given"
+fi
+
+# if basedir was given, then it should be prepended to filenames before
+# byte compilation.
+if [ -z "$basedir" ]; then
+ pathtrans="path = file"
+else
+ pathtrans="path = os.path.join('$basedir', file)"
+fi
+
+# if destdir was given, then it needs to be prepended to the filename to
+# byte compile but not go into the compiled file.
+if [ -z "$destdir" ]; then
+ filetrans="filepath = path"
+else
+ filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
+fi
+
+$PYTHON -c "
+import sys, os, py_compile
+
+files = '''$files'''
+
+sys.stdout.write('Byte-compiling python modules...\n')
+for file in files.split():
+ $pathtrans
+ $filetrans
+ if not os.path.exists(filepath) or not (len(filepath) >= 3
+ and filepath[-3:] == '.py'):
+ continue
+ sys.stdout.write(file)
+ sys.stdout.flush()
+ py_compile.compile(filepath, filepath + 'c', path)
+sys.stdout.write('\n')" || exit $?
+
+# this will fail for python < 1.5, but that doesn't matter ...
+$PYTHON -O -c "
+import sys, os, py_compile
+
+files = '''$files'''
+sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n')
+for file in files.split():
+ $pathtrans
+ $filetrans
+ if not os.path.exists(filepath) or not (len(filepath) >= 3
+ and filepath[-3:] == '.py'):
+ continue
+ sys.stdout.write(file)
+ sys.stdout.flush()
+ py_compile.compile(filepath, filepath + 'o', path)
+sys.stdout.write('\n')" 2>/dev/null || :
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/python-elementary.pc.in b/python-elementary.pc.in
new file mode 100644
index 0000000..d444c7e
--- /dev/null
+++ b/python-elementary.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+datarootdir=@datarootdir@
+datadir=@datarootdir@/@PACKAGE@
+pythondir=@pythondir@
+pyexecdir=@pyexecdir@
+
+Name: @PACKAGE@
+Description: Python bindings for Elementary
+@pkgconfig_requires_private@: @pkgconfig_elementary_requires_libs@
+Version: @VERSION@
diff --git a/tests/cursors.edj b/tests/cursors.edj
new file mode 100644
index 0000000..b7d23eb
--- /dev/null
+++ b/tests/cursors.edj
Binary files differ
diff --git a/tests/external.edj b/tests/external.edj
new file mode 100644
index 0000000..4b29e1c
--- /dev/null
+++ b/tests/external.edj
Binary files differ
diff --git a/tests/images/clo.png b/tests/images/clo.png
new file mode 100644
index 0000000..dedfc51
--- /dev/null
+++ b/tests/images/clo.png
Binary files differ
diff --git a/tests/images/icon_00.png b/tests/images/icon_00.png
new file mode 100644
index 0000000..d026778
--- /dev/null
+++ b/tests/images/icon_00.png
Binary files differ
diff --git a/tests/images/icon_01.png b/tests/images/icon_01.png
new file mode 100644
index 0000000..faf524c
--- /dev/null
+++ b/tests/images/icon_01.png
Binary files differ
diff --git a/tests/images/icon_02.png b/tests/images/icon_02.png
new file mode 100644
index 0000000..592cb5a
--- /dev/null
+++ b/tests/images/icon_02.png
Binary files differ
diff --git a/tests/images/icon_03.png b/tests/images/icon_03.png
new file mode 100644
index 0000000..3d3063b
--- /dev/null
+++ b/tests/images/icon_03.png
Binary files differ
diff --git a/tests/images/icon_04.png b/tests/images/icon_04.png
new file mode 100644
index 0000000..454bd62
--- /dev/null
+++ b/tests/images/icon_04.png
Binary files differ
diff --git a/tests/images/icon_05.png b/tests/images/icon_05.png
new file mode 100644
index 0000000..bb81792
--- /dev/null
+++ b/tests/images/icon_05.png
Binary files differ
diff --git a/tests/images/icon_06.png b/tests/images/icon_06.png
new file mode 100644
index 0000000..7f72520
--- /dev/null
+++ b/tests/images/icon_06.png
Binary files differ
diff --git a/tests/images/icon_07.png b/tests/images/icon_07.png
new file mode 100644
index 0000000..1c76beb
--- /dev/null
+++ b/tests/images/icon_07.png
Binary files differ
diff --git a/tests/images/icon_08.png b/tests/images/icon_08.png
new file mode 100644
index 0000000..c8fc8d2
--- /dev/null
+++ b/tests/images/icon_08.png
Binary files differ
diff --git a/tests/images/icon_09.png b/tests/images/icon_09.png
new file mode 100644
index 0000000..f321617
--- /dev/null
+++ b/tests/images/icon_09.png
Binary files differ
diff --git a/tests/images/icon_10.png b/tests/images/icon_10.png
new file mode 100644
index 0000000..c72918b
--- /dev/null
+++ b/tests/images/icon_10.png
Binary files differ
diff --git a/tests/images/icon_11.png b/tests/images/icon_11.png
new file mode 100644
index 0000000..cdb212e
--- /dev/null
+++ b/tests/images/icon_11.png
Binary files differ
diff --git a/tests/images/icon_12.png b/tests/images/icon_12.png
new file mode 100644
index 0000000..1954b9b
--- /dev/null
+++ b/tests/images/icon_12.png
Binary files differ
diff --git a/tests/images/icon_13.png b/tests/images/icon_13.png
new file mode 100644
index 0000000..27d964e
--- /dev/null
+++ b/tests/images/icon_13.png
Binary files differ
diff --git a/tests/images/icon_14.png b/tests/images/icon_14.png
new file mode 100644
index 0000000..2434b05
--- /dev/null
+++ b/tests/images/icon_14.png
Binary files differ
diff --git a/tests/images/icon_15.png b/tests/images/icon_15.png
new file mode 100644
index 0000000..8ab20ce
--- /dev/null
+++ b/tests/images/icon_15.png
Binary files differ
diff --git a/tests/images/icon_16.png b/tests/images/icon_16.png
new file mode 100644
index 0000000..7f5ad1e
--- /dev/null
+++ b/tests/images/icon_16.png
Binary files differ
diff --git a/tests/images/icon_17.png b/tests/images/icon_17.png
new file mode 100644
index 0000000..6afaf7a
--- /dev/null
+++ b/tests/images/icon_17.png
Binary files differ
diff --git a/tests/images/icon_18.png b/tests/images/icon_18.png
new file mode 100644
index 0000000..74eb0d6
--- /dev/null
+++ b/tests/images/icon_18.png
Binary files differ
diff --git a/tests/images/icon_19.png b/tests/images/icon_19.png
new file mode 100644
index 0000000..d8784e0
--- /dev/null
+++ b/tests/images/icon_19.png
Binary files differ
diff --git a/tests/images/icon_20.png b/tests/images/icon_20.png
new file mode 100644
index 0000000..69a9dca
--- /dev/null
+++ b/tests/images/icon_20.png
Binary files differ
diff --git a/tests/images/icon_21.png b/tests/images/icon_21.png
new file mode 100644
index 0000000..6561e5f
--- /dev/null
+++ b/tests/images/icon_21.png
Binary files differ
diff --git a/tests/images/icon_22.png b/tests/images/icon_22.png
new file mode 100644
index 0000000..d6130e8
--- /dev/null
+++ b/tests/images/icon_22.png
Binary files differ
diff --git a/tests/images/icon_23.png b/tests/images/icon_23.png
new file mode 100644
index 0000000..27f5457
--- /dev/null
+++ b/tests/images/icon_23.png
Binary files differ
diff --git a/tests/images/icon_right_arrow.png b/tests/images/icon_right_arrow.png
new file mode 100644
index 0000000..6bbb2c6
--- /dev/null
+++ b/tests/images/icon_right_arrow.png
Binary files differ
diff --git a/tests/images/insanely_huge_test_image.jpg b/tests/images/insanely_huge_test_image.jpg
new file mode 100644
index 0000000..e5789df
--- /dev/null
+++ b/tests/images/insanely_huge_test_image.jpg
Binary files differ
diff --git a/tests/images/logo.png b/tests/images/logo.png
new file mode 100644
index 0000000..ee0446f
--- /dev/null
+++ b/tests/images/logo.png
Binary files differ
diff --git a/tests/images/logo_small.png b/tests/images/logo_small.png
new file mode 100644
index 0000000..c7dc665
--- /dev/null
+++ b/tests/images/logo_small.png
Binary files differ
diff --git a/tests/images/mystrale.jpg b/tests/images/mystrale.jpg
new file mode 100644
index 0000000..31edf4a
--- /dev/null
+++ b/tests/images/mystrale.jpg
Binary files differ
diff --git a/tests/images/mystrale_2.jpg b/tests/images/mystrale_2.jpg
new file mode 100644
index 0000000..88d86d6
--- /dev/null
+++ b/tests/images/mystrale_2.jpg
Binary files differ
diff --git a/tests/images/panel_01.jpg b/tests/images/panel_01.jpg
new file mode 100644
index 0000000..46fbdb9
--- /dev/null
+++ b/tests/images/panel_01.jpg
Binary files differ
diff --git a/tests/images/plant_01.jpg b/tests/images/plant_01.jpg
new file mode 100644
index 0000000..f1714dd
--- /dev/null
+++ b/tests/images/plant_01.jpg
Binary files differ
diff --git a/tests/images/rock_01.jpg b/tests/images/rock_01.jpg
new file mode 100644
index 0000000..c50ccb3
--- /dev/null
+++ b/tests/images/rock_01.jpg
Binary files differ
diff --git a/tests/images/rock_02.jpg b/tests/images/rock_02.jpg
new file mode 100644
index 0000000..04aea8a
--- /dev/null
+++ b/tests/images/rock_02.jpg
Binary files differ
diff --git a/tests/images/sky.jpg b/tests/images/sky.jpg
new file mode 100644
index 0000000..6132e7c
--- /dev/null
+++ b/tests/images/sky.jpg
Binary files differ
diff --git a/tests/images/sky_01.jpg b/tests/images/sky_01.jpg
new file mode 100644
index 0000000..22f3050
--- /dev/null
+++ b/tests/images/sky_01.jpg
Binary files differ
diff --git a/tests/images/sky_02.jpg b/tests/images/sky_02.jpg
new file mode 100644
index 0000000..d0d7448
--- /dev/null
+++ b/tests/images/sky_02.jpg
Binary files differ
diff --git a/tests/images/sky_03.jpg b/tests/images/sky_03.jpg
new file mode 100644
index 0000000..cbad02a
--- /dev/null
+++ b/tests/images/sky_03.jpg
Binary files differ
diff --git a/tests/images/sky_04.jpg b/tests/images/sky_04.jpg
new file mode 100644
index 0000000..c5cbc18
--- /dev/null
+++ b/tests/images/sky_04.jpg
Binary files differ
diff --git a/tests/images/under.png b/tests/images/under.png
new file mode 100644
index 0000000..91cb3fb
--- /dev/null
+++ b/tests/images/under.png
Binary files differ
diff --git a/tests/images/wood_01.jpg b/tests/images/wood_01.jpg
new file mode 100644
index 0000000..89f1006
--- /dev/null
+++ b/tests/images/wood_01.jpg
Binary files differ
diff --git a/tests/test.edj b/tests/test.edj
new file mode 100644
index 0000000..43b0874
--- /dev/null
+++ b/tests/test.edj
Binary files differ
diff --git a/tests/test.py b/tests/test.py
new file mode 100644
index 0000000..8890834
--- /dev/null
+++ b/tests/test.py
@@ -0,0 +1,316 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+from test_3d import evas3d_clicked
+from test_actionslider import actionslider_clicked
+from test_bg import bg_plain_clicked, bg_image_clicked
+from test_box import box_vert_clicked, box_vert2_clicked, box_horiz_clicked
+from test_box import box_layout_clicked, box_transition_clicked
+from test_bubble import bubble_clicked
+from test_button import buttons_clicked
+from test_calendar import calendar_clicked
+from test_check import check_clicked
+from test_clock import clock_clicked
+from test_colorselector import colorselector_clicked
+from test_cursor import cursor_clicked, cursor2_clicked, cursor3_clicked
+from test_ctxpopup import ctxpopup_clicked
+from test_datetime import datetime_clicked
+from test_dayselector import dayselector_clicked
+from test_diskselector import diskselector_clicked
+from test_entry import entry_clicked, entry_scrolled_clicked
+from test_external import edje_external_clicked
+from test_fileselector import fileselector_clicked, fileselector_button_clicked, fileselector_entry_clicked
+from test_flip import flip_clicked, flip_interactive_clicked
+from test_flipselector import flipselector_clicked
+from test_frame import frame_clicked
+from test_gengrid import gengrid_clicked
+from test_genlist import genlist_clicked, genlist2_clicked, genlist3_clicked
+from test_grid import grid_clicked
+from test_hover import hover_clicked, hover2_clicked
+from test_hoversel import hoversel_clicked
+from test_icon import icon_clicked, icon_transparent_clicked
+from test_index import index_clicked
+from test_inwin import inner_window_clicked
+from test_label import label_clicked
+from test_layout import layout_clicked
+from test_list import list_clicked, list2_clicked, list3_clicked
+from test_mapbuf import mapbuf_clicked
+from test_map import map_clicked
+from test_map2 import map_overlays_clicked
+from test_map3 import map_route_clicked
+from test_menu import menu_clicked
+from test_multibuttonentry import multibuttonentry_clicked
+from test_naviframe import naviframe_clicked
+from test_notify import notify_clicked
+from test_panel import panel_clicked
+from test_panes import panes_clicked
+from test_photo import photo_clicked
+from test_popup import popup_clicked
+from test_progressbar import progressbar_clicked
+from test_radio import radio_clicked
+from test_scroller import scroller_clicked
+from test_segment_control import segment_control_clicked
+from test_separator import separator_clicked
+from test_slideshow import slideshow_clicked
+from test_spinner import spinner_clicked
+from test_table import table_clicked
+from test_thumb import thumb_clicked
+from test_toolbar import toolbar_clicked
+from test_tooltip import tooltip_clicked
+from test_video import video_clicked
+from test_web import web_clicked
+from test_win import window_states_clicked
+
+
+items = [("3D", [
+ ("Evas Map 3D", evas3d_clicked),
+ ]),
+ ("Booleans", [
+ ("Checks", check_clicked),
+ #("Toggles", toggles_clicked),TODO make a toggle with check
+ ]),
+ ("Boundaries", [
+ ("Bubble", bubble_clicked),
+ ("Separator", separator_clicked),
+ ]),
+ ("Buttons", [
+ ("Buttons", buttons_clicked),
+ ]),
+ ("Containers", [
+ ("Box Horiz", box_horiz_clicked),
+ ("Box Vert", box_vert_clicked),
+ ("Box Vert2", box_vert2_clicked),
+ ("Box Layout", box_layout_clicked),
+ ("Box Layout Transition", box_transition_clicked),
+ ("Table", table_clicked),
+ ("Layout", layout_clicked),
+ ("Grid", grid_clicked),
+ ("Frame", frame_clicked),
+ ]),
+ ("Cursors", [
+ ("Cursor", cursor_clicked),
+ ("Cursor2", cursor2_clicked),
+ ("Cursor3", cursor3_clicked),
+ ]),
+ ("Dividers", [
+ ("Panel", panel_clicked),
+ ("Panes", panes_clicked),
+ ]),
+ ("Effects", [
+ ("Flip", flip_clicked),
+ ("Flip Interactive", flip_interactive_clicked),
+ ]),
+ ("Entries", [
+ ("Entry", entry_clicked),
+ ("Entry Scrolled", entry_scrolled_clicked),
+ ("MultiButtonEntry", multibuttonentry_clicked),
+ ]),
+ ("External Widget", [
+ ("Edje External", edje_external_clicked),
+ ]),
+ ("Geographic", [
+ ("Map", map_clicked),
+ ("Map Overlay", map_overlays_clicked),
+ ("Map Route", map_route_clicked),
+ ]),
+ ("Images", [
+ ("Icon", icon_clicked),
+ ("Icon Transparent", icon_transparent_clicked),
+ ("Photo", photo_clicked),
+ ("Slideshow", slideshow_clicked),
+ ("Thumb", thumb_clicked),
+ ("Video", video_clicked),
+ ]),
+ ("Lists", [
+ ("List", list_clicked),
+ ("List 2", list2_clicked),
+ ("List 3", list3_clicked),
+ ("Genlist", genlist_clicked),
+ ("Genlist 2", genlist2_clicked),
+ ("Genlist Group", genlist3_clicked),
+ ("Gengrid", gengrid_clicked),
+ ]),
+ ("Naviframe", [
+ ("Naviframe", naviframe_clicked),
+ ]),
+ ("Popups", [
+ ("Hover", hover_clicked),
+ ("Hover 2", hover2_clicked),
+ ("Notify", notify_clicked),
+ ("Tooltip", tooltip_clicked),
+ ("Ctxpopup", ctxpopup_clicked),
+ ("Popup", popup_clicked),
+ ]),
+ ("Range Values", [
+ ("Spinner", spinner_clicked),
+ ("Progressbar", progressbar_clicked),
+ ]),
+ ("Scroller", [
+ ("Scroller", scroller_clicked),
+ ]),
+ ("Selectors", [
+ ("Action Slider", actionslider_clicked),
+ ("Color Selector", colorselector_clicked),
+ ("Day Selector", dayselector_clicked),
+ ("Disk Selector", diskselector_clicked),
+ ("Flip Selector", flipselector_clicked),
+ ("FS button", fileselector_button_clicked),
+ ("FS entry", fileselector_entry_clicked),
+ ("File Selector", fileselector_clicked),
+ ("Hoversel", hoversel_clicked),
+ ("Index", index_clicked),
+ ("Menu", menu_clicked),
+ ("Radios", radio_clicked),
+ ("Segment Control", segment_control_clicked),
+ ]),
+ ("Stored Surface Buffer", [
+ ("Launcher", mapbuf_clicked),
+ ]),
+ ("Text", [
+ ("Label", label_clicked),
+ ]),
+ ("Times & Dates", [
+ ("Calendar", calendar_clicked),
+ ("Clock", clock_clicked),
+ ("Datetime", datetime_clicked),
+ ]),
+ ("Toolbars", [
+ ("Toolbar", toolbar_clicked),
+ ]),
+ ("Web", [
+ ("Web", web_clicked),
+ ]),
+ ("Window / Background", [
+ ("Bg Plain", bg_plain_clicked),
+ ("Bg Image", bg_image_clicked),
+ ("InnerWindow", inner_window_clicked),
+ ("Window States", window_states_clicked),
+ ])
+ ]
+
+#----- Main -{{{-
+def menu_create(search, win):
+ tbx.clear()
+ for category in items:
+ frame = elementary.Frame(win)
+ frame.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ frame.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ frame.text = category[0]
+ frame.show()
+ tbx.pack_end(frame)
+
+ tbx2 = elementary.Box(win)
+ tbx2.layout_set(elementary.ELM_BOX_LAYOUT_FLOW_HORIZONTAL)
+ tbx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ tbx2.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ frame.content_set(tbx2)
+ tbx2.show()
+
+ cnt = 0
+ for test in category[1]:
+ if (search == None) or (test[0].lower().find(search.lower()) > -1):
+ bt = elementary.Button(win)
+ bt.text = test[0]
+ bt.callback_clicked_add(test[1])
+ bt.show()
+ tbx2.pack_end(bt)
+ cnt += 1
+
+ if cnt < 1:
+ frame.delete()
+
+def destroy(obj, str1, str2, str3, str4):
+ print("DEBUG: window destroy callback called!")
+ print(("DEBUG: str1='%s', str2='%s', str3='%s', str4='%s'" %(str1, str2,
+ str3, str4)))
+ elementary.exit()
+
+def cb_mirroring(toggle):
+ elementary.Configuration().mirrored = toggle.state
+
+def cb_filter(en, win):
+ menu_create(en.text_get(), win)
+
+if __name__ == "__main__":
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy, "test1", "test2", str3="test3", str4="test4")
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ tg = elementary.Check(win)
+ tg.style = "toggle"
+ tg.text = "UI-Mirroring:"
+ tg.callback_changed_add(cb_mirroring)
+ box0.pack_end(tg)
+ tg.show()
+
+ bx1 = elementary.Box(win)
+ bx1.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx1.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ bx1.horizontal_set(True)
+ box0.pack_end(bx1)
+ bx1.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Filter:")
+ bx1.pack_end(lb)
+ lb.show()
+
+ en = elementary.Entry(win)
+ en.single_line_set(True)
+ en.scrollable_set(True)
+ en.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ en.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ en.callback_changed_add(cb_filter, win)
+ bx1.pack_end(en)
+ en.show()
+ en.focus_set(True)
+
+ sc = elementary.Scroller(win)
+ sc.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ sc.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ sc.bounce_set(False, True)
+ sc.show()
+ box0.pack_end(sc)
+
+ tbx = elementary.Box(win)
+ tbx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ tbx.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ sc.content_set(tbx)
+ tbx.show()
+
+ menu_create(None, win)
+
+ win.resize(320, 480)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_3d.py b/tests/test_3d.py
new file mode 100644
index 0000000..0a314f7
--- /dev/null
+++ b/tests/test_3d.py
@@ -0,0 +1,266 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- 3d -{{{-
+class Point(object):
+ def __init__(self, x, y, z, u, v):
+ self.x = x
+ self.y = y
+ self.z = z
+ self.u = u
+ self.v = v
+
+
+class Side(object):
+ def __init__(self, eva):
+ self.obj = None
+ self.points = []
+
+ img = evas.Image(eva)
+ img.file_set("images/rock_02.jpg")
+ img.fill_set(0, 0, 256, 256)
+ img.resize(256, 256)
+ img.smooth_scale_set(False)
+ img.show()
+ self.obj = img
+
+
+class Cube(object):
+ def __init__(self, win, w, h, d):
+ self.win = win
+ self.sides = []
+
+ self.rotx = 0.0
+ self.roty = 0.0
+ self.rotz = 0.0
+ self.cxo = 0.0
+ self.cyo = 0.0
+ self.focv = 256.0
+ self.z0v = 0.0
+
+ for i in range(6):
+ self.sides.append(Side(win.evas))
+
+ w -= (w / 2)
+ h -= (h / 2)
+ d -= (d / 2)
+
+ self.sides[0].points.append(Point(-w, -h, -d, 0, 0))
+ self.sides[0].points.append(Point( w, -h, -d, 256, 0))
+ self.sides[0].points.append(Point( w, h, -d, 256, 256))
+ self.sides[0].points.append(Point(-w, h, -d, 0, 256))
+
+ self.sides[1].points.append(Point( w, -h, -d, 0, 0))
+ self.sides[1].points.append(Point( w, -h, d, 256, 0))
+ self.sides[1].points.append(Point( w, h, d, 256, 256))
+ self.sides[1].points.append(Point( w, h, -d, 0, 256))
+
+ self.sides[2].points.append(Point( w, -h, d, 0, 0))
+ self.sides[2].points.append(Point(-w, -h, d, 256, 0))
+ self.sides[2].points.append(Point(-w, h, d, 256, 256))
+ self.sides[2].points.append(Point( w, h, d, 0, 256))
+
+ self.sides[3].points.append(Point(-w, -h, d, 0, 0))
+ self.sides[3].points.append(Point(-w, -h, -d, 256, 0))
+ self.sides[3].points.append(Point(-w, h, -d, 256, 256))
+ self.sides[3].points.append(Point(-w, h, d, 0, 256))
+
+ self.sides[4].points.append(Point(-w, -h, d, 0, 0))
+ self.sides[4].points.append(Point( w, -h, d, 256, 0))
+ self.sides[4].points.append(Point( w, -h, -d, 256, 256))
+ self.sides[4].points.append(Point(-w, -h, -d, 0, 256))
+
+ self.sides[5].points.append(Point(-w, h, -d, 0, 0))
+ self.sides[5].points.append(Point( w, h, -d, 256, 0))
+ self.sides[5].points.append(Point( w, h, d, 256, 256))
+ self.sides[5].points.append(Point(-w, h, d, 0, 256))
+
+ def update(self):
+ (x, y, w, h) = self.win.geometry
+
+ x = w / 2
+ y = h / 2
+ z = 512
+ dx = self.rotx
+ dy = self.roty
+ dz = self.rotz
+ cx = (w / 2) + self.cxo
+ cy = (h / 2) + self.cyo
+ foc = self.z0v
+ z0 = self.focv
+
+ m = evas.Map(4)
+ m.smooth = True
+
+ for i in range(6):
+ for j in range(4):
+ m.point_coord_set(j, self.sides[i].points[j].x + x,
+ self.sides[i].points[j].y + y,
+ self.sides[i].points[j].z + z)
+ m.point_image_uv_set(j, self.sides[i].points[j].u,
+ self.sides[i].points[j].v)
+ m.point_color_set(j, 255, 255, 255, 255)
+
+ m.util_3d_rotate(dx, dy, dz, x, y, z)
+ m.util_3d_lighting(-1000, -1000, -1000,
+ 255, 255, 255,
+ 20, 20, 20)
+ m.util_3d_perspective(cx, cy, foc, z0)
+
+ if m.util_clockwise:
+ self.sides[i].obj.map_enabled = True
+ self.sides[i].obj.map = m
+ self.sides[i].obj.show()
+ else:
+ self.sides[i].obj.hide()
+
+ m.delete()
+
+def ch_rot_x(sl, cube):
+ cube.rotx = sl.value
+ cube.update()
+
+def ch_rot_y(sl, cube):
+ cube.roty = sl.value
+ cube.update()
+
+def ch_rot_z(sl, cube):
+ cube.rotz = sl.value
+ cube.update()
+
+def ch_cx(sl, cube):
+ cube.cxo = sl.value
+ cube.update()
+
+def ch_cy(sl, cube):
+ cube.cyo = sl.value
+ cube.update()
+
+def ch_foc(sl, cube):
+ cube.focv = sl.value
+ cube.update()
+
+def ch_z0(sl, cube):
+ cube.z0v = sl.value
+ cube.update()
+
+def evas3d_clicked(obj, item=None):
+ win = elementary.Window("evas3d", elementary.ELM_WIN_BASIC)
+ win.title_set("Evas 3d test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ cube = Cube(win, 240, 240, 240)
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Rot X"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (0, 360)
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_rot_x, cube)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Rot Y"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (0, 360)
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_rot_y, cube)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Rot Z"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (0, 360)
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_rot_z, cube)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "CX Off"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (-320, 320)
+ sl.value = cube.cxo
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_cx, cube)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "CY Off"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (-320, 320)
+ sl.value = cube.cyo
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_cy, cube)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Foc"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (1, 2000)
+ sl.value = cube.focv
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_foc, cube)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Z0"
+ sl.unit_format = "%1.0f units"
+ sl.span_size = 360
+ sl.min_max = (-2000, 2000)
+ sl.value = cube.z0v
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.callback_changed_add(ch_z0, cube)
+ sl.show()
+
+ win.resize(480, 480)
+ cube.update()
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ evas3d_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_actionslider.py b/tests/test_actionslider.py
new file mode 100644
index 0000000..59d3f49
--- /dev/null
+++ b/tests/test_actionslider.py
@@ -0,0 +1,178 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+def _pos_selected_cb(obj, event_info):
+ print(("Selection: %s" % (event_info)))
+ print(("Label selected: %s" % (obj.selected_label_get())))
+
+ ipos = obj.indicator_pos_get()
+ print("actionslider indicator pos: ")
+ if ipos == elementary.ELM_ACTIONSLIDER_NONE:
+ print("none!")
+ elif ipos == elementary.ELM_ACTIONSLIDER_ALL:
+ print("all!")
+ else:
+ if (ipos & elementary.ELM_ACTIONSLIDER_LEFT):
+ print("left ")
+ if (ipos & elementary.ELM_ACTIONSLIDER_CENTER):
+ print("center ")
+ if (ipos & elementary.ELM_ACTIONSLIDER_RIGHT):
+ print("right ")
+ print("")
+
+ mpos = obj.magnet_pos_get()
+ print("actionslider magnet pos: ")
+ if mpos == elementary.ELM_ACTIONSLIDER_NONE:
+ print("none!")
+ elif mpos == elementary.ELM_ACTIONSLIDER_ALL:
+ print("all!")
+ else:
+ if (mpos & elementary.ELM_ACTIONSLIDER_LEFT):
+ print("left ")
+ if (mpos & elementary.ELM_ACTIONSLIDER_CENTER):
+ print("center ")
+ if (mpos & elementary.ELM_ACTIONSLIDER_RIGHT):
+ print("right ")
+ print("")
+
+ epos = obj.enabled_pos_get()
+ print("actionslider enabled pos: ")
+ if epos == elementary.ELM_ACTIONSLIDER_NONE:
+ print("none!")
+ elif epos == elementary.ELM_ACTIONSLIDER_ALL:
+ print("all!")
+ else:
+ if (epos & elementary.ELM_ACTIONSLIDER_LEFT):
+ print("left ")
+ if (epos & elementary.ELM_ACTIONSLIDER_CENTER):
+ print("center ")
+ if (epos & elementary.ELM_ACTIONSLIDER_RIGHT):
+ print("right ")
+ print("")
+
+def _position_change_magnetic_cb(obj, event_info):
+ if event_info == "left":
+ obj.magnet_pos_set(elementary.ELM_ACTIONSLIDER_LEFT)
+ elif event_info == "right":
+ obj.magnet_pos_set(elementary.ELM_ACTIONSLIDER_RIGHT)
+
+def _magnet_enable_disable_cb(obj, event_info):
+ if event_info == "left":
+ obj.magnet_pos_set(elementary.ELM_ACTIONSLIDER_CENTER)
+ elif event_info == "right":
+ obj.magnet_pos_set(elementary.ELM_ACTIONSLIDER_NONE)
+
+def actionslider_clicked(obj):
+ win = elementary.Window("actionslider", elementary.ELM_WIN_BASIC)
+ win.title_set("Actionslider")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bg)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ acts = elementary.Actionslider(win)
+ acts.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ acts.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ acts.indicator_pos_set(elementary.ELM_ACTIONSLIDER_RIGHT)
+ acts.magnet_pos_set(elementary.ELM_ACTIONSLIDER_RIGHT)
+ acts.part_text_set("left", "Snooze")
+ acts.part_text_set("center", "")
+ acts.part_text_set("right", "Stop")
+ acts.enabled_pos_set(elementary.ELM_ACTIONSLIDER_LEFT | elementary.ELM_ACTIONSLIDER_RIGHT)
+ acts.callback_pos_changed_add(_position_change_magnetic_cb)
+ acts.callback_selected_add(_pos_selected_cb)
+ bx.pack_end(acts)
+ acts.show()
+
+ acts = elementary.Actionslider(win)
+ acts.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ acts.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ acts.indicator_pos_set(elementary.ELM_ACTIONSLIDER_CENTER)
+ acts.magnet_pos_set(elementary.ELM_ACTIONSLIDER_CENTER)
+ acts.part_text_set("left", "Snooze")
+ acts.part_text_set("center", "")
+ acts.part_text_set("right", "Stop")
+ acts.enabled_pos_set(elementary.ELM_ACTIONSLIDER_LEFT | elementary.ELM_ACTIONSLIDER_RIGHT)
+ acts.callback_selected_add(_pos_selected_cb)
+ bx.pack_end(acts)
+ acts.show()
+
+ acts = elementary.Actionslider(win)
+ acts.style_set("bar")
+ acts.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ acts.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ acts.indicator_pos_set(elementary.ELM_ACTIONSLIDER_LEFT)
+ acts.magnet_pos_set(elementary.ELM_ACTIONSLIDER_CENTER | elementary.ELM_ACTIONSLIDER_RIGHT)
+ acts.enabled_pos_set(elementary.ELM_ACTIONSLIDER_CENTER | elementary.ELM_ACTIONSLIDER_RIGHT)
+ acts.part_text_set("left", "")
+ acts.part_text_set("center", "Accept")
+ acts.part_text_set("right", "Reject")
+ acts.callback_selected_add(_pos_selected_cb)
+ bx.pack_end(acts)
+ acts.show()
+
+ acts = elementary.Actionslider(win)
+ acts.style_set("bar")
+ acts.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ acts.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ acts.indicator_pos_set(elementary.ELM_ACTIONSLIDER_LEFT)
+ acts.magnet_pos_set(elementary.ELM_ACTIONSLIDER_LEFT)
+ acts.part_text_set("left", "")
+ acts.part_text_set("center", "Accept")
+ acts.part_text_set("right", "Reject")
+ acts.text_set("Go")
+ acts.callback_pos_changed_add(_position_change_magnetic_cb)
+ acts.callback_selected_add(_pos_selected_cb)
+ bx.pack_end(acts)
+ acts.show()
+
+ acts = elementary.Actionslider(win)
+ acts.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ acts.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ acts.indicator_pos_set(elementary.ELM_ACTIONSLIDER_LEFT)
+ acts.magnet_pos_set(elementary.ELM_ACTIONSLIDER_ALL)
+ acts.part_text_set("left", "Left")
+ acts.part_text_set("center", "Center")
+ acts.part_text_set("right", "Right")
+ acts.text_set("Go");
+ acts.callback_selected_add(_pos_selected_cb)
+ bx.pack_end(acts)
+ acts.show()
+
+ acts = elementary.Actionslider(win)
+ acts.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ acts.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ acts.indicator_pos_set(elementary.ELM_ACTIONSLIDER_CENTER)
+ acts.magnet_pos_set(elementary.ELM_ACTIONSLIDER_CENTER)
+ acts.part_text_set("left", "Enable")
+ acts.part_text_set("center", "Magnet")
+ acts.part_text_set("right", "Disable")
+ acts.callback_pos_changed_add(_magnet_enable_disable_cb)
+ acts.callback_selected_add(_pos_selected_cb)
+ bx.pack_end(acts)
+ acts.show()
+
+ win.resize(320, 400)
+ win.show()
+
+if __name__ == "__main__":
+ elementary.init()
+
+ actionslider_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_bg.py b/tests/test_bg.py
new file mode 100644
index 0000000..d195acc
--- /dev/null
+++ b/tests/test_bg.py
@@ -0,0 +1,98 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- BG Plain -{{{-
+def bg_plain_clicked(obj, item=None):
+ win = elementary.Window("bg plain", elementary.ELM_WIN_BASIC)
+ win.title_set("Bg Plain")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- BG Image -{{{-
+def bg_image_clicked(obj, item=None):
+ win = elementary.Window("bg-image", elementary.ELM_WIN_BASIC)
+ win.title_set("Bg Image")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.file_set("images/plant_01.jpg")
+ bg.option_set(elementary.ELM_BG_OPTION_SCALE)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ win.size_hint_min_set(160, 160)
+ win.size_hint_max_set(320, 320)
+ win.resize(320, 320)
+ win.show()
+
+ (filename, group) = bg.file_get()
+ print(("Background image: '%s' group: '%s'" % (filename, group)))
+ print(("Option: %d" % (bg.option_get())))
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Bg Plain", bg_plain_clicked),
+ ("Bg Image", bg_image_clicked)]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_box.py b/tests/test_box.py
new file mode 100644
index 0000000..f32a5fb
--- /dev/null
+++ b/tests/test_box.py
@@ -0,0 +1,340 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Box Vert -{{{-
+def box_vert_clicked(obj, item=None):
+ win = elementary.Window("box-vert", elementary.ELM_WIN_BASIC)
+ win.title_set("Box Vert")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.0, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(evas.EVAS_HINT_EXPAND, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ win.show()
+# }}}
+
+#----- Box Vert 2 -{{{-
+def boxvert2_del_cb(bt, bx):
+ bx.unpack(bt)
+ bt.move(0, 0)
+ bt.color_set(128, 64, 0, 128)
+
+def box_vert2_clicked(obj, item=None):
+ win = elementary.Window("box-vert2", elementary.ELM_WIN_BASIC)
+ win.title_set("Box Vert 2")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(0.0, 0.0)
+ bx.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 1")
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.callback_clicked_add(boxvert2_del_cb, bx)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 2")
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.callback_clicked_add(boxvert2_del_cb, bx)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 3")
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.callback_clicked_add(boxvert2_del_cb, bx)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 4")
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.callback_clicked_add(boxvert2_del_cb, bx)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 5")
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.callback_clicked_add(boxvert2_del_cb, bx)
+ bx.pack_end(bt)
+ bt.show()
+
+ win.show()
+# }}}
+
+#----- Box Horiz -{{{-
+def box_horiz_clicked(obj, item=None):
+ win = elementary.Window("box-horiz", elementary.ELM_WIN_BASIC)
+ win.title_set("Box Horiz")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.horizontal_set(True)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.0)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.0, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(ic)
+ ic.show()
+
+ win.show()
+# }}}
+
+#----- Box Layout -{{{-
+layout_list = ["horizontal","vertical","homogeneous_vertical",
+ "homogeneous_horizontal", "homogeneous_max_size_horizontal",
+ "homogeneous_max_size_vertical", "flow_horizontal", "flow_vertical", "stack"]
+current_layout = elementary.ELM_BOX_LAYOUT_HORIZONTAL
+
+def box_layout_button_cb(obj, box):
+ global current_layout
+
+ current_layout += 1
+ if current_layout >= len(layout_list):
+ current_layout = 0
+ obj.text_set("layout: %s" % layout_list[current_layout])
+ box.layout_set(current_layout)
+
+def box_layout_clicked(obj, item=None):
+ win = elementary.Window("box-layout", elementary.ELM_WIN_BASIC)
+ win.title_set("Box Layout")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ win.resize_object_add(vbox)
+ vbox.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.show()
+
+ bx = elementary.Box(win)
+ bx.layout_set(elementary.ELM_BOX_LAYOUT_HORIZONTAL)
+ bx.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(bx)
+ bx.show()
+
+ sep = elementary.Separator(win)
+ sep.horizontal_set(True)
+ vbox.pack_end(sep)
+ sep.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("layout: %s" % layout_list[current_layout])
+ bt.callback_clicked_add(box_layout_button_cb, bx)
+ vbox.pack_end(bt)
+ bt.show()
+
+ for i in range(5):
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(1.0, 1.0)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.0, 0.0)
+ bx.pack_end(ic)
+ ic.show()
+
+ win.show()
+# }}}
+
+#----- Box Layout Transition-{{{-
+def box_transition_button_cb(obj, box):
+ global current_layout
+
+ from_ly = current_layout
+ current_layout += 1
+ if current_layout >= len(layout_list):
+ current_layout = 0
+
+ obj.text_set("layout: %s" % layout_list[current_layout])
+ box.layout_transition(0.4, from_ly, current_layout)
+
+def box_transition_clicked(obj, item=None):
+ win = elementary.Window("box-layout-transition", elementary.ELM_WIN_BASIC)
+ win.title_set("Box Layout Transition")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ win.resize_object_add(vbox)
+ vbox.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.show()
+
+ bx = elementary.Box(win)
+ bx.layout_set(elementary.ELM_BOX_LAYOUT_HORIZONTAL)
+ bx.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(bx)
+ bx.show()
+
+ sep = elementary.Separator(win)
+ sep.horizontal_set(True)
+ vbox.pack_end(sep)
+ sep.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("layout: %s" % layout_list[current_layout])
+ bt.callback_clicked_add(box_transition_button_cb, bx)
+ vbox.pack_end(bt)
+ bt.show()
+
+ for i in range(4):
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Box Vert", box_vert_clicked),
+ ("Box Vert 2", box_vert2_clicked),
+ ("Box Horiz", box_horiz_clicked),
+ ("Box Layout", box_layout_clicked),
+ ("Box Layout Transition", box_transition_clicked)]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_button.py b/tests/test_button.py
new file mode 100644
index 0000000..74adab0
--- /dev/null
+++ b/tests/test_button.py
@@ -0,0 +1,74 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Buttons -{{{-
+def buttons_clicked(obj):
+ win = elementary.Window("buttons", elementary.ELM_WIN_BASIC)
+ win.title_set("Buttons")
+ win.focus_highlight_enabled_set(True)
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ bt = elementary.Button(win)
+ bt.text_set("Icon sized to button")
+ bt.content_set(ic)
+ bx.pack_end(bt)
+ bt.show()
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ bt = elementary.Button(win)
+ bt.text_set("Icon no scale")
+ bt.content_set(ic)
+ bx.pack_end(bt)
+ bt.show()
+ ic.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button only")
+ bx.pack_end(bt)
+ bt.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ bt = elementary.Button(win)
+ bt.content_set(ic)
+ bx.pack_end(bt)
+ bt.show()
+ ic.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ buttons_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_calendar.py b/tests/test_calendar.py
new file mode 100644
index 0000000..f4a403e
--- /dev/null
+++ b/tests/test_calendar.py
@@ -0,0 +1,277 @@
+# encoding: utf-8
+import os
+from elementary import *
+import edje
+import ecore
+import evas
+
+from datetime import datetime
+
+api = {
+ "state" : 0, # What state we are testing
+ "box" : None # box used in set_api_state
+}
+
+STATE_MARK_MONTHLY = 0
+STATE_MARK_WEEKLY = 1
+STATE_SUNDAY_HIGHLIGHT = 2
+STATE_SELECT_DATE_DISABLED_WITH_MARKS = 3
+STATE_SELECT_DATE_DISABLED_NO_MARKS = 4
+API_STATE_LAST = 5
+
+def set_api_state(api):
+ items = api["box"].children
+ if not items:
+ return
+ m = None
+
+ if api["state"] == STATE_MARK_MONTHLY:
+ cal = items[0]
+ cal.min_max_year = (2010, 2011)
+ the_time = datetime(2010, 12, 31)
+ m = cal.mark_add("checked", the_time, ELM_CALENDAR_MONTHLY)
+ cal.selected_time = the_time
+ elif api["state"] == STATE_MARK_WEEKLY:
+ cal = items[0]
+ the_time = datetime(2010, 12, 26)
+ if m is not None:
+ m.delete()
+ m = cal.mark_add("checked", the_time, ELM_CALENDAR_WEEKLY)
+ cal.selected_time = the_time
+ elif api["state"] == STATE_SUNDAY_HIGHLIGHT:
+ cal = items[0]
+ the_time = datetime(2010, 12, 25)
+ # elm_calendar_mark_del(m)
+ m = cal.mark_add("holiday", the_time, ELM_CALENDAR_WEEKLY)
+ cal.selected_time = the_time
+ elif api["state"] == STATE_SELECT_DATE_DISABLED_WITH_MARKS:
+ cal = items[0]
+ the_time = datetime(2011, 01, 01)
+ cal.select_mode = ELM_CALENDAR_SELECT_MODE_NONE
+ cal.selected_time = the_time
+ elif api["state"] == STATE_SELECT_DATE_DISABLED_NO_MARKS:
+ cal = items[0]
+ the_time = datetime(2011, 02, 01)
+ del cal.marks
+ cal.select_mode = ELM_CALENDAR_SELECT_MODE_NONE
+ cal.selected_time = the_time
+ elif api["state"] == API_STATE_LAST:
+ return
+ else:
+ return
+
+def api_bt_clicked(bt, a):
+ print("clicked event on API Button: api_state=<%d>\n" % a["state"])
+ set_api_state(a)
+ a["state"] = a["state"] + 1
+ bt.text = "Next API function (%d)" % a["state"]
+ if a["state"] == API_STATE_LAST:
+ bt.disabled = True
+
+# A simple test, just displaying calendar in it's default state
+def calendar_clicked(obj):
+ win = StandardWindow("calendar", "Calendar")
+ win.autodel = True
+
+ bxx = Box(win)
+ win.resize_object_add(bxx)
+ bxx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bxx.show()
+
+ bx = Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ api["box"] = bx
+ bx.show()
+
+ bt = Button(win)
+ bt.text = "Next API function"
+ bt.callback_clicked_add(api_bt_clicked, api)
+ bxx.pack_end(bt)
+ if api["state"] == API_STATE_LAST:
+ bt.disabled = True
+ bt.show()
+
+ bxx.pack_end(bx)
+
+ cal = Calendar(win)
+ cal.first_day_of_week = ELM_DAY_MONDAY
+ cal.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(cal)
+
+ the_time = datetime(2010, 12, 31)
+ cal.selected_time = the_time
+ cal.min_max_year = (2010, 2012)
+
+ cal.show()
+
+ win.show()
+
+"""
+def print_cal_info(Evas_Object *cal, Evas_Object *en):
+ char info[1024]
+ double interval
+ int year_min, year_max
+ Eina_Bool sel_enabled
+ const char **wds
+ struct tm stm
+
+ if (!elm_calendar_selected_time_get(cal, &stm))
+ return
+
+ interval = elm_calendar_interval_get(cal)
+ elm_calendar_min_max_year_get(cal, &year_min, &year_max)
+ sel_enabled = !!(elm_calendar_select_mode_get(cal) != ELM_CALENDAR_SELECT_MODE_NONE)
+ wds = elm_calendar_weekdays_names_get(cal)
+
+ snprintf(info, sizeof(info),
+ " Day: %i, Mon: %i, Year %i, WeekDay: %i<br/>"
+ " Interval: %0.2f, Year_Min: %i, Year_Max %i, Sel Enabled : %i<br/>"
+ " Weekdays: %s, %s, %s, %s, %s, %s, %s<br/>",
+ stm.tm_mday, stm.tm_mon, stm.tm_year + 1900, stm.tm_wday,
+ interval, year_min, year_max, sel_enabled,
+ wds[0], wds[1], wds[2], wds[3], wds[4], wds[5], wds[6])
+
+ elm_object_text_set(en, info)
+
+def _print_cal_info_cb(void *data, Evas_Object *obj, void *event_info):
+ _print_cal_info(obj, data)
+
+static char *
+_format_month_year(struct tm *stm)
+ char buf[32]
+ if (!strftime(buf, sizeof(buf), "%b %y", stm)) return NULL
+ return strdup(buf)
+
+# A test intended to cover all the calendar api and much use cases as possible
+def test_calendar2(obj):
+ Evas_Object *win, *bx, *bxh, *cal, *cal2, *cal3, *en
+ Elm_Calendar_Mark *mark
+ struct tm selected_time
+ time_t current_time
+ const char *weekdays[] =
+ "Sunday", "Monday", "Tuesday", "Wednesday",
+ "Thursday", "Friday", "Saturday"
+ }
+
+ win = elm_win_util_standard_add("calendar2", "Calendar 2")
+ elm_win_autodel_set(win, EINA_TRUE)
+
+ bx = elm_box_add(win)
+ evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ elm_win_resize_object_add(win, bx)
+ evas_object_show(bx)
+
+ bxh = elm_box_add(win)
+ elm_box_horizontal_set(bxh, EINA_TRUE)
+ evas_object_size_hint_weight_set(bxh, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ evas_object_size_hint_align_set(bxh, EVAS_HINT_FILL, EVAS_HINT_FILL)
+ evas_object_show(bxh)
+ elm_box_pack_end(bx, bxh)
+
+ cal = elm_calendar_add(win)
+ evas_object_size_hint_weight_set(cal, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ evas_object_size_hint_align_set(cal, EVAS_HINT_FILL, EVAS_HINT_FILL)
+ evas_object_show(cal)
+ elm_box_pack_end(bx, cal)
+
+ cal2 = elm_calendar_add(win)
+ evas_object_size_hint_weight_set(cal2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ evas_object_size_hint_align_set(cal2, EVAS_HINT_FILL, EVAS_HINT_FILL)
+ elm_calendar_select_mode_set(cal2, ELM_CALENDAR_SELECT_MODE_NONE)
+ evas_object_show(cal2)
+ elm_box_pack_end(bxh, cal2)
+
+ cal3 = elm_calendar_add(win)
+ evas_object_size_hint_weight_set(cal3, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ evas_object_size_hint_align_set(cal3, EVAS_HINT_FILL, EVAS_HINT_FILL)
+ current_time = time(NULL) + 34 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_selected_time_set(cal3, &selected_time)
+ current_time = time(NULL) + 1 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_mark_add(cal3, "checked", &selected_time, ELM_CALENDAR_UNIQUE)
+ elm_calendar_marks_clear(cal3)
+ current_time = time(NULL)
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_mark_add(cal3, "checked", &selected_time, ELM_CALENDAR_DAILY)
+ elm_calendar_mark_add(cal3, "holiday", &selected_time, ELM_CALENDAR_DAILY)
+ elm_calendar_marks_draw(cal3)
+ evas_object_show(cal3)
+ elm_box_pack_end(bxh, cal3)
+
+ en = elm_entry_add(win)
+ evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL)
+ evas_object_show(en)
+ elm_box_pack_end(bx, en)
+ elm_entry_editable_set(en, EINA_FALSE)
+ evas_object_show(win)
+
+ elm_calendar_min_max_year_set(cal3, -1, -1)
+
+ elm_calendar_weekdays_names_set(cal, weekdays)
+ elm_calendar_first_day_of_week_set(cal, ELM_DAY_SATURDAY)
+ elm_calendar_interval_set(cal, 0.4)
+ elm_calendar_format_function_set(cal, _format_month_year)
+ elm_calendar_min_max_year_set(cal, 2010, 2020)
+
+ current_time = time(NULL) + 4 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_mark_add(cal, "holiday", &selected_time, ELM_CALENDAR_ANNUALLY)
+
+ current_time = time(NULL) + 1 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_mark_add(cal, "checked", &selected_time, ELM_CALENDAR_UNIQUE)
+
+ current_time = time(NULL) - 363 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_mark_add(cal, "checked", &selected_time, ELM_CALENDAR_MONTHLY)
+
+ current_time = time(NULL) - 5 * 84600
+ localtime_r(&current_time, &selected_time)
+ mark = elm_calendar_mark_add(cal, "holiday", &selected_time,
+ ELM_CALENDAR_WEEKLY)
+
+ current_time = time(NULL) + 1 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_mark_add(cal, "holiday", &selected_time, ELM_CALENDAR_WEEKLY)
+
+ elm_calendar_mark_del(mark)
+ elm_calendar_marks_draw(cal)
+
+ _print_cal_info(cal, en)
+ evas_object_smart_callback_add(cal, "changed", _print_cal_info_cb, en)
+
+def test_calendar3(obj):
+ Evas_Object *win, *cal, *bxx
+ struct tm selected_time
+ time_t current_time
+
+ win = elm_win_util_standard_add("calendar", "Calendar")
+ elm_win_autodel_set(win, EINA_TRUE)
+
+ bxx = elm_box_add(win)
+ elm_win_resize_object_add(win, bxx)
+ evas_object_size_hint_weight_set(bxx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ evas_object_show(bxx)
+
+ cal = elm_calendar_add(win)
+ elm_calendar_first_day_of_week_set(cal, ELM_DAY_THURSDAY)
+ elm_calendar_select_mode_set(cal, ELM_CALENDAR_SELECT_MODE_ONDEMAND)
+ current_time = time(NULL) + 34 * 84600
+ localtime_r(&current_time, &selected_time)
+ elm_calendar_selected_time_set(cal, &selected_time)
+ evas_object_size_hint_weight_set(cal, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
+ elm_box_pack_end(bxx, cal)
+
+ evas_object_show(cal)
+
+ evas_object_show(win)
+"""
+if __name__ == "__main__":
+ elementary.init()
+
+ calendar_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_check.py b/tests/test_check.py
new file mode 100644
index 0000000..14a964f
--- /dev/null
+++ b/tests/test_check.py
@@ -0,0 +1,111 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Check -{{{-
+def ck_1(obj):
+ print(("test check 1 state:", obj.state))
+
+def ck_2(obj):
+ print(("test check 2 state:", obj.state))
+
+def ck_never(obj):
+ print("disabled check changed (should never happen unless you enable or set it)")
+
+def ck_3(obj):
+ print(("test check 3 state:", obj.state))
+
+def ck_4(obj):
+ print(("test check 4 state:", obj.state))
+
+def check_clicked(obj):
+ win = elementary.Window("check", elementary.ELM_WIN_BASIC)
+ win.title_set("Check test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ ck = elementary.Check(win)
+ ck.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ck.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ ck.text_set("Icon sized to check")
+ ck.content_set(ic)
+ ck.state_set(True)
+ ck.callback_changed_add(ck_1)
+ bx.pack_end(ck)
+ ck.show()
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ck = elementary.Check(win)
+ ck.text_set("Icon no scale")
+ ck.content_set(ic)
+ ck.callback_changed_add(ck_2)
+ bx.pack_end(ck)
+ ck.show()
+ ic.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("Label Only")
+ ck.callback_changed_add(ck_3)
+ bx.pack_end(ck)
+ ck.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ ck = elementary.Check(win)
+ ck.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ck.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ ck.text_set("Disabled check")
+ ck.content_set(ic)
+ ck.state_set(True)
+ ck.callback_changed_add(ck_never)
+ bx.pack_end(ck)
+ ck.disabled_set(True)
+ ck.show()
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ ic.resizable_set(0, 0)
+ ck = elementary.Check(win)
+ ck.content_set(ic)
+ ck.callback_changed_add(ck_4)
+ bx.pack_end(ck)
+ ck.show()
+ ic.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ check_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_clock.py b/tests/test_clock.py
new file mode 100644
index 0000000..08af956
--- /dev/null
+++ b/tests/test_clock.py
@@ -0,0 +1,78 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Clock -{{{-
+def clock_clicked(obj):
+ win = elementary.Window("clock", elementary.ELM_WIN_BASIC)
+ win.title_set("Clock")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ ck = elementary.Clock(win)
+ bx.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Clock(win)
+ ck.show_am_pm_set(True)
+ bx.pack_end(ck)
+ ck.show()
+
+ print((ck.time_get()))
+
+ ck = elementary.Clock(win)
+ ck.show_seconds_set(True)
+ bx.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Clock(win)
+ ck.show_seconds_set(True)
+ ck.show_am_pm_set(True)
+ bx.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Clock(win)
+ ck.edit_set(True)
+ ck.show_seconds_set(True)
+ ck.show_am_pm_set(True)
+ ck.time_set(10, 11, 12)
+ bx.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Clock(win)
+ ck.edit_set(True)
+ ck.show_seconds_set(True)
+ ck.edit_mode = elementary.ELM_CLOCK_EDIT_HOUR_DECIMAL | \
+ elementary.ELM_CLOCK_EDIT_MIN_DECIMAL | \
+ elementary.ELM_CLOCK_EDIT_SEC_DECIMAL
+ bx.pack_end(ck)
+ ck.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ clock_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_colorselector.py b/tests/test_colorselector.py
new file mode 100644
index 0000000..9774752
--- /dev/null
+++ b/tests/test_colorselector.py
@@ -0,0 +1,138 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Color Selector -{{{-
+def cb_cs_changed(cs, rect):
+ print("changed")
+ (r, g, b, a) = cs.color
+ r = (r * a) / 255
+ g = (g * a) / 255
+ b = (b * a) / 255
+ rect.color = (r, g, b, a)
+
+def cb_cs_item_sel(cs, item, rect):
+ print("selected")
+ (r, g, b, a) = item.color
+ r = (r * a) / 255
+ g = (g * a) / 255
+ b = (b * a) / 255
+ rect.color = (r, g, b, a)
+
+def cb_cs_item_lp(cs, item, rect):
+ print("longpressed")
+ (r, g, b, a) = item.color
+ r = (r * a) / 255
+ g = (g * a) / 255
+ b = (b * a) / 255
+ rect.color = (r, g, b, a)
+
+def colorselector_clicked(obj):
+ win = elementary.Window("colorselector", elementary.ELM_WIN_BASIC)
+ win.title = "ColorSelector test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ fr = elementary.Frame(win)
+ fr.text = "Color View"
+ fr.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ fr.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.pack_end(fr)
+ fr.show()
+
+ re = evas.Rectangle(win.evas)
+ re.size_hint_min = (1, 100)
+ fr.content = re
+ re.show()
+
+ fr = elementary.Frame(win)
+ fr.text = "Color Selector"
+ fr.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fr.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.pack_end(fr)
+ fr.show()
+
+ cs = elementary.Colorselector(win)
+ cs.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ cs.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ cs.callback_changed_add(cb_cs_changed, re)
+ cs.callback_color_item_selected_add(cb_cs_item_sel, re)
+ cs.callback_color_item_longpressed_add(cb_cs_item_lp, re)
+ cs.color = (255, 160, 132, 255)
+ fr.content = cs
+ cs.show()
+
+ re.color = cs.color
+ cs.palette_color_add(255, 90, 18, 255)
+ cs.palette_color_add(255, 213, 0, 255)
+ cs.palette_color_add(146, 255, 11, 255)
+ cs.palette_color_add(9, 186, 10, 255)
+ cs.palette_color_add(86, 201, 242, 255)
+ cs.palette_color_add(18, 83, 128, 255)
+ cs.palette_color_add(140, 53, 238, 255)
+ cs.palette_color_add(255, 145, 145, 255)
+ cs.palette_color_add(255, 59, 119, 255)
+ cs.palette_color_add(133, 100, 69, 255)
+ cs.palette_color_add(255, 255, 119, 255)
+ cs.palette_color_add(133, 100, 255, 255)
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Palette"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(lambda btn: cs.mode_set(elementary.ELM_COLORSELECTOR_PALETTE))
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Components"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(lambda btn: cs.mode_set(elementary.ELM_COLORSELECTOR_COMPONENTS))
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Both"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(lambda btn: cs.mode_set(elementary.ELM_COLORSELECTOR_BOTH))
+ hbox.pack_end(bt)
+ bt.show()
+
+ win.resize(320, 550)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ colorselector_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_config.py b/tests/test_config.py
new file mode 100644
index 0000000..ce9f990
--- /dev/null
+++ b/tests/test_config.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import elementary
+
+def config_clicked(obj):
+ # TODO: Write a better test!
+ c = elementary.Configuration()
+ for i in (c.engine, c.finger_size, c.mirrored, c.profile_list, c.font_overlay_list, c.text_classes_list):
+ print(i)
+ print((elementary.config_finger_size_get()))
+
+if __name__ == "__main__":
+ elementary.init()
+
+ config_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_ctxpopup.py b/tests/test_ctxpopup.py
new file mode 100644
index 0000000..8078b09
--- /dev/null
+++ b/tests/test_ctxpopup.py
@@ -0,0 +1,188 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Ctxpopup -{{{-
+
+def cb_items(li, item):
+ print(("ctxpopup item selected: %s" % (item.text)))
+
+def item_new(cp, label, icon = None):
+ if icon:
+ ic = elementary.Icon(cp)
+ ic.standard_set(icon)
+ ic.resizable_set(False, False)
+ return cp.item_append(label, ic, cb_items)
+ else:
+ return cp.item_append(label, None, cb_items)
+
+def cb_btn(btn):
+ cp = btn.data["ctxpopup"]
+ if "img" in cp.data:
+ return
+ img = evas.FilledImage(btn.evas)
+ img.file_set("images/sky_04.jpg")
+ img.move(40, 40)
+ img.resize(320, 320)
+ img.show()
+
+ cp = btn.data["ctxpopup"]
+ cp.data["img"] = img
+ cp.raise_()
+ # NOTE: the '_' is wanted as 'raise' is a reserved word in py
+
+def cb_dismissed(cp):
+ if "img" in cp.data:
+ cp.data["img"].delete()
+
+def cb_item1(li, item):
+ cp = elementary.Ctxpopup(li)
+ it = item_new(cp, "Go to home folder", "home")
+ it = item_new(cp, "Save file", "file")
+ it = item_new(cp, "Delete file", "delete")
+ it = item_new(cp, "Navigate to folder", "folder")
+ it.disabled = True
+ it = item_new(cp, "Edit entry", "edit")
+ it = item_new(cp, "Sate date and time", "clock")
+ it.disabled = True
+
+ (x, y) = li.evas.pointer_canvas_xy_get()
+ cp.move(x, y)
+ cp.show()
+
+def cb_item2(li, item):
+ cp = elementary.Ctxpopup(li)
+ it = item_new(cp, "", "home")
+ it = item_new(cp, "", "file")
+ it = item_new(cp, "", "delete")
+ it = item_new(cp, "", "folder")
+ it = item_new(cp, "", "edit")
+ it.disabled = True
+ it = item_new(cp, "", "clock")
+
+ (x, y) = li.evas.pointer_canvas_xy_get()
+ cp.move(x, y)
+ cp.show()
+
+def cb_item3(li, item):
+ cp = elementary.Ctxpopup(li)
+ it = item_new(cp, "Eina")
+ it = item_new(cp, "Eet")
+ it = item_new(cp, "Evas")
+ it = item_new(cp, "Ecore")
+ it.disabled = True
+ it = item_new(cp, "Embryo")
+ it = item_new(cp, "Edje")
+
+ (x, y) = li.evas.pointer_canvas_xy_get()
+ cp.move(x, y)
+ cp.show()
+
+def cb_item4(li, item):
+ cp = elementary.Ctxpopup(li)
+ cp.horizontal = True
+ it = item_new(cp, "", "home")
+ it = item_new(cp, "", "file")
+ it = item_new(cp, "", "delete")
+ it = item_new(cp, "", "folder")
+ it = item_new(cp, "", "edit")
+ it = item_new(cp, "", "clock")
+
+ (x, y) = li.evas.pointer_canvas_xy_get()
+ cp.move(x, y)
+ cp.show()
+
+def cb_item5(li, item):
+ box = elementary.Box(li)
+ box.size_hint_min = (150, 150)
+
+ sc = elementary.Scroller(li)
+ sc.bounce = (False, True)
+ sc.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ sc.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ sc.show()
+
+ bt = elementary.Button(li)
+ bt.text = "Enlightenment"
+ bt.size_hint_min = (140, 140)
+
+ sc.content = bt
+ box.pack_end(sc)
+
+ cp = elementary.Ctxpopup(li)
+ cp.content = box
+ (x, y) = li.evas.pointer_canvas_xy_get()
+ cp.move(x, y)
+ cp.show()
+
+def cb_item6(li, item):
+ box = elementary.Box(li)
+ box.size_hint_min = (200, 150)
+
+ sc = elementary.Scroller(li)
+ sc.bounce = (False, True)
+ sc.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ sc.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ sc.show()
+
+ bt = elementary.Button(li)
+ bt.text = "Ctxpop will be on the top of layer"
+ bt.callback_clicked_add(cb_btn)
+ bt.size_hint_min = (190, 140)
+
+ sc.content = bt
+ box.pack_end(sc)
+
+ cp = elementary.Ctxpopup(li)
+ cp.callback_dismissed_add(cb_dismissed)
+ cp.content = box
+ (x, y) = li.evas.pointer_canvas_xy_get()
+ cp.move(x, y)
+ cp.show()
+ bt.data["ctxpopup"] = cp
+
+def ctxpopup_clicked(obj):
+ win = elementary.Window("ctxpopup", elementary.ELM_WIN_BASIC)
+ win.title = "Context popup test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ li = elementary.List(win)
+ win.resize_object_add(li)
+ li.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.mode = elementary.ELM_LIST_COMPRESS
+ li.show()
+
+ li.item_append("Ctxpopup with icons and labels", callback=cb_item1)
+ li.item_append("Ctxpopup with icons only", callback=cb_item2)
+ li.item_append("Ctxpopup with labels only", callback=cb_item3)
+ li.item_append("Ctxpopup at horizontal mode", callback=cb_item4)
+ li.item_append("Ctxpopup with user content", callback=cb_item5)
+ li.item_append("Ctxpopup with restacking", callback=cb_item6)
+ li.go()
+
+ win.resize(400, 400)
+ win.show()
+# }}}
+
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ ctxpopup_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_datetime.py b/tests/test_datetime.py
new file mode 100644
index 0000000..b0ec5be
--- /dev/null
+++ b/tests/test_datetime.py
@@ -0,0 +1,68 @@
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+from datetime import datetime
+
+def changed_cb(obj):
+ printf("Datetime value is changed\n")
+
+def datetime_clicked(obj):
+ win = elementary.StandardWindow("dt", "DateTime")
+ win.autodel = True
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.horizontal = False
+ bx.show()
+ bx.size_hint_min_set(360, 240)
+
+ dt = elementary.Datetime(bx)
+ dt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ dt.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ dt.field_visible_set(elementary.ELM_DATETIME_HOUR, False)
+ dt.field_visible_set(elementary.ELM_DATETIME_MINUTE, False)
+ dt.field_visible_set(elementary.ELM_DATETIME_AMPM, False)
+ bx.pack_end(dt)
+ dt.show()
+
+ dt = elementary.Datetime(bx)
+ dt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ dt.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ dt.field_visible_set(elementary.ELM_DATETIME_YEAR, False)
+ dt.field_visible_set(elementary.ELM_DATETIME_MONTH, False)
+ dt.field_visible_set(elementary.ELM_DATETIME_DATE, False)
+ bx.pack_end(dt)
+ dt.show()
+
+ dt = elementary.Datetime(bx)
+ dt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ dt.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+
+ # get the current local time
+ time1 = datetime.now()
+ # set the max year as 2030 and the remaining fields are equal to current time values
+ time1.replace(year = 130)
+ dt.value_max = time1
+ # set the min time limit as "1980 January 10th 02:30 PM"
+ time1.replace(year = 80, month = 4, day = 10, hour = 14, minute = 30)
+ dt.value_min = time1
+ # minutes can be input only in between 15 and 45
+ dt.field_limit = (elementary.ELM_DATETIME_MINUTE, 15, 45)
+ dt.callback_changed_add(changed_cb)
+ bx.pack_end(dt)
+ dt.show()
+
+ win.show()
+
+if __name__ == "__main__":
+ elementary.init()
+
+ datetime_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_dayselector.py b/tests/test_dayselector.py
new file mode 100644
index 0000000..3debd2d
--- /dev/null
+++ b/tests/test_dayselector.py
@@ -0,0 +1,88 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Dayselector -{{{-
+def cb_changed(ds):
+ print("\nSelected Days:")
+ print(("Sun:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_SUN)))
+ print(("Mon:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_MON)))
+ print(("Tue:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_TUE)))
+ print(("Wed:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_WED)))
+ print(("Thu:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_THU)))
+ print(("Fri:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_FRI)))
+ print(("Sat:", ds.day_selected_get(elementary.ELM_DAYSELECTOR_SAT)))
+
+def dayselector_clicked(obj):
+ win = elementary.Window("dayselector", elementary.ELM_WIN_BASIC)
+ win.title = "Dayselector test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box = elementary.Box(win)
+ box.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ box.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(box)
+ box.show()
+
+ # default
+ ds = elementary.Dayselector(win)
+ ds.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ds.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ box.pack_end(ds)
+ ds.show()
+ ds.callback_dayselector_changed_add(cb_changed)
+
+ # Sunday first
+ ds = elementary.Dayselector(win)
+ ds.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ds.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ box.pack_end(ds)
+ ds.show()
+ ds.callback_dayselector_changed_add(cb_changed)
+ try:
+ sunday = ds.part_content_get("day0")
+ sunday.signal_emit("elm,type,weekend,style1", "")
+ except:
+ print("BUG HERE !!!")
+
+ # Monday first
+ ds = elementary.Dayselector(win)
+ ds.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ds.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ ds.callback_dayselector_changed_add(cb_changed)
+ box.pack_end(ds)
+ ds.show()
+ ds.week_start = elementary.ELM_DAY_MONDAY
+ try:
+ sunday = ds.part_content_get("day0")
+ sunday.signal_emit("elm,type,weekend,style1", "")
+ except:
+ print("BUG HERE !!!")
+
+
+ win.resize(350, 120)
+ win.show()
+# }}}
+
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ dayselector_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_diskselector.py b/tests/test_diskselector.py
new file mode 100644
index 0000000..6dd9c89
--- /dev/null
+++ b/tests/test_diskselector.py
@@ -0,0 +1,136 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Diskselector -{{{-
+
+months=["January", "February", "March", "April", "May", "June", "August", "September", "October", "November", "December"]
+weekdays=["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
+months_short=["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
+
+def disk_create(win, rnd):
+ di = elementary.Diskselector(win)
+ for m in months:
+ if m == "August":
+ it = di.item_append(m)
+ else:
+ di.item_append(m)
+
+ it.selected = True
+ di.round_enabled = rnd
+
+ return di
+
+def cb_sel(ds, item):
+ print(("Selected item: %s" % (item.text)))
+
+def diskselector_clicked(obj):
+ win = elementary.Window("diskselector", elementary.ELM_WIN_BASIC)
+ win.title = "Diskselector test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ di = disk_create(win, True)
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+ di.first_item.selected = True
+
+ di = disk_create(win, False)
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+ di.first_item.next.selected = True
+
+ di = disk_create(win, False)
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+ di.side_text_max_length = 4
+
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ di = elementary.Diskselector(win)
+ di.item_append("Sunday", ic)
+ for day in weekdays:
+ di.item_append(day)
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ di = elementary.Diskselector(win)
+ di.item_append("머리스타일", ic)
+ for lan in ["プロが伝授する", "生上访要求政府", "English", "والشريعة", "עִבְרִית", "Grüßen"]:
+ di.item_append(lan)
+ di.round_enabled = True
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+
+ di = elementary.Diskselector(win)
+ di.display_item_num = 5
+ for m in months_short:
+ di.item_append(m)
+ di.round_enabled = True
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+ di.last_item.selected = True
+
+ di = elementary.Diskselector(win)
+ di.display_item_num = 7
+ for i in range(31):
+ di.item_append(str(i))
+ di.round_enabled = True
+ di.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ di.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ di.callback_selected_add(cb_sel)
+ vbox.pack_end(di)
+ di.show()
+ di.last_item.selected = True
+
+
+ win.resize(320, 480)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ diskselector_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_entry.py b/tests/test_entry.py
new file mode 100644
index 0000000..efa84e2
--- /dev/null
+++ b/tests/test_entry.py
@@ -0,0 +1,186 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- common -{{{-
+def my_entry_bt_1(bt, en):
+ en.entry_set("")
+
+def my_entry_bt_2(bt, en):
+ str = en.entry_get()
+ print(("ENTRY: %s" % str))
+
+def my_entry_bt_3(bt, en):
+ str = en.selection_get()
+ print(("SELECTION: %s" % str))
+
+def my_entry_bt_4(bt, en):
+ en.entry_insert("Insert some <b>BOLD</> text")
+
+def my_entry_anchor_test(obj, anchor, en, *args, **kwargs):
+ en.entry_insert("ANCHOR CLICKED")
+# -}}}-
+
+#----- Entry -{{{-
+def entry_clicked(obj, item=None):
+ win = elementary.Window("entry", elementary.ELM_WIN_BASIC)
+ win.title_set("Entry")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ en = elementary.Entry(win)
+ en.line_wrap_set(False)
+ en.entry_set("This is an entry widget in this window that<br>"
+ "uses markup <b>like this</> for styling and<br>"
+ "formatting <em>like this</>, as well as<br>"
+ "<a href=X><link>links in the text</></a>, so enter text<br>"
+ "in here to edit it. By the way, links are<br>"
+ "called <a href=anc-02>Anchors</a> so you will need<br>"
+ "to refer to them this way.")
+ en.callback_anchor_clicked_add(my_entry_anchor_test, en)
+ en.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ en.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bx.pack_end(en)
+ en.show()
+
+ bx2 = elementary.Box(win)
+ bx2.horizontal_set(True)
+ bx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+ bt = elementary.Button(win)
+ bt.text_set("Clear")
+ bt.callback_clicked_add(my_entry_bt_1, en)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Print")
+ bt.callback_clicked_add(my_entry_bt_2, en)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Selection")
+ bt.callback_clicked_add(my_entry_bt_3, en)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Insert")
+ bt.callback_clicked_add(my_entry_bt_4, en)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bx.pack_end(bx2)
+ bx2.show()
+
+ en.focus_set(True)
+ win.show()
+# }}}
+
+#----- Scrolled Entry -{{{-
+def entry_scrolled_clicked(obj, item=None):
+ win = elementary.Window("entry", elementary.ELM_WIN_BASIC)
+ win.title_set("Scrolled Entry")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ en = elementary.Entry(win)
+ win.resize_object_add(en)
+ en.scrollable_set(True)
+ en.line_wrap_set(False)
+ en.entry_set("This is an entry widget in this window that<br>"
+ "uses markup <b>like this</> for styling and<br>"
+ "formatting <em>like this</>, as well as<br>"
+ "<a href=X><link>links in the text</></a>, so enter text<br>"
+ "in here to edit it. By the way, links are<br>"
+ "called <a href=anc-02>Anchors</a> so you will need<br>"
+ "to refer to them this way.<br><br>" * 10)
+ en.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ en.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ en.size_hint_min_set(200, 200)
+ en.show()
+
+ en.focus_set(True)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Entry", entry_clicked),
+ ("Entry Scrolled", entry_scrolled_clicked)
+ ]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_external.py b/tests/test_external.py
new file mode 100644
index 0000000..c6d6716
--- /dev/null
+++ b/tests/test_external.py
@@ -0,0 +1,37 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Edje External -{{{-
+def edje_external_clicked(obj):
+ win = elementary.Window("edje-external", elementary.ELM_WIN_BASIC)
+ win.title_set("Edje External test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ ly = elementary.Layout(win)
+ ly.file_set("external.edj", "external_test")
+ ly.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(ly)
+ ly.show()
+
+ win.resize(480, 600)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ edje_external_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_fileselector.py b/tests/test_fileselector.py
new file mode 100644
index 0000000..170558b
--- /dev/null
+++ b/tests/test_fileselector.py
@@ -0,0 +1,342 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- FileSelector -{{{-
+def fs_cb_done(fs, selected, win):
+ win.delete()
+
+def fs_cb_selected(fs, selected, win):
+ print(("Selected file:", selected))
+ print((" or:", fs.selected_get()))
+
+def fs_cb_directory_open(fs, folder, win):
+ print(("Folder open:", folder))
+
+def ck_cb_is_save(bt, fs):
+ print("Toggle is save")
+ fs.is_save = not fs.is_save
+
+def ck_cb_folder_only(bt, fs):
+ print("Toggle folder_only")
+ fs.folder_only = not fs.folder_only
+
+def ck_cb_expandable(bt, fs):
+ print("Toggle expandable")
+ fs.expandable = not fs.expandable
+
+def ck_cb_buttons(bt, fs):
+ print("Toggle buttons_ok_cancel")
+ fs.buttons_ok_cancel = not fs.buttons_ok_cancel
+
+def bt_cb_sel_get(bt, fs):
+ print(("Get Selected:", fs.selected_get()))
+
+def bt_cb_path_get(bt, fs):
+ print(("Get Path:", fs.path_get()))
+
+def bt_cb_mode_cycle(bt, fs):
+ mode = fs.mode + 1
+ fs.mode_set(mode if mode < 2 else 0)
+
+def fileselector_clicked(obj, item=None):
+ win = elementary.Window("fileselector", elementary.ELM_WIN_BASIC)
+ win.title_set("File selector test")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ win.resize_object_add(vbox)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.show()
+
+ fs = elementary.Fileselector(win)
+ fs.is_save_set(True)
+ fs.expandable_set(False)
+ fs.folder_only_set(False)
+ fs.path_set(os.getenv("HOME"))
+ fs.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fs.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fs.callback_done_add(fs_cb_done, win)
+ fs.callback_selected_add(fs_cb_selected, win)
+ fs.callback_directory_open_add(fs_cb_directory_open, win)
+ vbox.pack_end(fs)
+ fs.show()
+
+ sep = elementary.Separator(win)
+ sep.horizontal_set(True)
+ vbox.pack_end(sep)
+ sep.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal_set(True)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("is_save")
+ ck.state_set(fs.is_save)
+ ck.callback_changed_add(ck_cb_is_save, fs)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("folder_only")
+ ck.state_set(fs.folder_only)
+ ck.callback_changed_add(ck_cb_folder_only, fs)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("expandable")
+ ck.state_set(fs.expandable)
+ ck.callback_changed_add(ck_cb_expandable, fs)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("buttons")
+ ck.state_set(fs.buttons_ok_cancel)
+ ck.callback_changed_add(ck_cb_buttons, fs)
+ hbox.pack_end(ck)
+ ck.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal_set(True)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("selected_get")
+ bt.callback_clicked_add(bt_cb_sel_get, fs)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("path_get")
+ bt.callback_clicked_add(bt_cb_path_get, fs)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("mode cycle")
+ bt.callback_clicked_add(bt_cb_mode_cycle, fs)
+ hbox.pack_end(bt)
+ bt.show()
+
+ win.resize(240, 350)
+ win.show()
+# }}}
+
+#----- FileSelector Button-{{{-
+def fileselector_button_clicked(obj, item=None):
+ win = elementary.Window("fileselector", elementary.ELM_WIN_BASIC)
+ win.title_set("File selector test")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ win.resize_object_add(vbox)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.show()
+
+ fse = elementary.FileselectorButton(win)
+ fse.text_set("Select a file")
+ fse.inwin_mode_set(False)
+ fse.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fse.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(fse)
+ fse.show()
+
+ sep = elementary.Separator(win)
+ sep.horizontal_set(True)
+ vbox.pack_end(sep)
+ sep.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal_set(True)
+ hbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("inwin")
+ ck.state_set(fse.inwin_mode)
+ ck.callback_changed_add(ck_entry_cb_inwin, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("folder_only")
+ ck.state_set(fse.folder_only)
+ ck.callback_changed_add(ck_entry_cb_folder_only, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("is_save")
+ ck.state_set(fse.is_save)
+ ck.callback_changed_add(ck_entry_cb_is_save, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("expandable")
+ ck.state_set(fse.expandable)
+ ck.callback_changed_add(ck_entry_cb_expandable, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ win.resize(240, 350)
+ win.show()
+# }}}
+
+#----- FileSelector Entry-{{{-
+def ck_entry_cb_is_save(bt, fse):
+ print("Toggle is save")
+ fse.is_save = not fse.is_save
+
+def ck_entry_cb_inwin(bt, fse):
+ print("Toggle inwin mode")
+ fse.inwin_mode = not fse.inwin_mode
+
+def ck_entry_cb_folder_only(bt, fse):
+ print("Toggle folder_only")
+ fse.folder_only = not fse.folder_only
+
+def ck_entry_cb_expandable(bt, fse):
+ print("Toggle expandable")
+ fse.expandable = not fse.expandable
+
+def fileselector_entry_clicked(obj, item=None):
+ win = elementary.Window("fileselector", elementary.ELM_WIN_BASIC)
+ win.title_set("File selector test")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ win.resize_object_add(vbox)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.show()
+
+ fse = elementary.FileselectorEntry(win)
+ fse.text_set("Select a file")
+ fse.inwin_mode_set(False)
+ fse.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fse.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(fse)
+ fse.show()
+
+ sep = elementary.Separator(win)
+ sep.horizontal_set(True)
+ vbox.pack_end(sep)
+ sep.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal_set(True)
+ hbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("inwin")
+ ck.state_set(fse.inwin_mode)
+ ck.callback_changed_add(ck_entry_cb_inwin, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("folder_only")
+ ck.state_set(fse.folder_only)
+ ck.callback_changed_add(ck_entry_cb_folder_only, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("is_save")
+ ck.state_set(fse.is_save)
+ ck.callback_changed_add(ck_entry_cb_is_save, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text_set("expandable")
+ ck.state_set(fse.expandable)
+ ck.callback_changed_add(ck_entry_cb_expandable, fse)
+ hbox.pack_end(ck)
+ ck.show()
+
+ win.resize(240, 150)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Fileselector", fileselector_clicked),
+ ("Fileselector Button", fileselector_button_clicked),
+ ("Fileselector Entry", fileselector_entry_clicked),
+ ]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_flip.py b/tests/test_flip.py
new file mode 100644
index 0000000..3a6c291
--- /dev/null
+++ b/tests/test_flip.py
@@ -0,0 +1,308 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Flip -{{{-
+def my_flip_go(bt, fl, mode):
+ fl.go(mode)
+
+def my_flip_animate_begin(fl):
+ print("Animation Begin")
+
+def my_flip_animate_done(fl):
+ print("Animation Done")
+
+def flip_clicked(obj, item=None):
+ # window
+ win = elementary.Window("flip", elementary.ELM_WIN_BASIC)
+ win.autodel_set(True)
+ win.title_set("Flip")
+
+ # background
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ # main vertical box
+ box = elementary.Box(win)
+ box.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box)
+ box.show()
+
+ # flip object
+ fl = elementary.Flip(win)
+ fl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fl.callback_animate_begin_add(my_flip_animate_begin)
+ fl.callback_animate_done_add(my_flip_animate_done)
+ box.pack_end(fl)
+ fl.show()
+
+
+ # front content (image)
+ o = elementary.Background(win)
+ o.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ o.file_set("images/sky_01.jpg")
+ fl.part_content_set("front", o)
+ o.show()
+
+ # back content (layout)
+ ly = elementary.Layout(win)
+ ly.file_set("test.edj", "layout")
+ ly.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fl.part_content_set("back", ly)
+ ly.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 1")
+ ly.part_content_set("element1", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 2")
+ ly.part_content_set("element2", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 3")
+ ly.part_content_set("element3", bt)
+ bt.show()
+
+ # flip buttons (first row)
+ hbox = elementary.Box(win)
+ hbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ hbox.horizontal_set(True)
+ hbox.show()
+ box.pack_end(hbox)
+ count = 1
+
+ for mode in [elementary.ELM_FLIP_ROTATE_X_CENTER_AXIS,
+ elementary.ELM_FLIP_ROTATE_Y_CENTER_AXIS,
+ elementary.ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
+ elementary.ELM_FLIP_ROTATE_YZ_CENTER_AXIS]:
+ bt = elementary.Button(win)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.text_set(str(count))
+ bt.callback_clicked_add(my_flip_go, fl, mode)
+ hbox.pack_end(bt)
+ bt.show()
+ count += 1
+
+ # flip buttons (second row)
+ hbox = elementary.Box(win)
+ hbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ hbox.horizontal_set(True)
+ hbox.show()
+ box.pack_end(hbox)
+
+ for mode in [elementary.ELM_FLIP_CUBE_LEFT,
+ elementary.ELM_FLIP_CUBE_RIGHT,
+ elementary.ELM_FLIP_CUBE_UP,
+ elementary.ELM_FLIP_CUBE_DOWN]:
+ bt = elementary.Button(win)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.text_set(str(count))
+ bt.callback_clicked_add(my_flip_go, fl, mode)
+ hbox.pack_end(bt)
+ bt.show()
+ count += 1
+
+ # flip buttons (third row)
+ hbox = elementary.Box(win)
+ hbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ hbox.horizontal_set(True)
+ hbox.show()
+ box.pack_end(hbox)
+
+ for mode in [elementary.ELM_FLIP_PAGE_LEFT,
+ elementary.ELM_FLIP_PAGE_RIGHT,
+ elementary.ELM_FLIP_PAGE_UP,
+ elementary.ELM_FLIP_PAGE_DOWN]:
+ bt = elementary.Button(win)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.text_set(str(count))
+ bt.callback_clicked_add(my_flip_go, fl, mode)
+ hbox.pack_end(bt)
+ bt.show()
+ count += 1
+
+ # window show
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+
+#----- Flip Interactive -{{{-
+def my_cb_radios (rd, fl):
+ print((rd.value_get()))
+ fl.interaction_set(rd.value_get())
+
+def flip_interactive_clicked(obj, item=None):
+ # window
+ win = elementary.Window("flip", elementary.ELM_WIN_BASIC)
+ win.autodel_set(True)
+ win.title_set("Flip")
+
+ # background
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ # main vertical box
+ box = elementary.Box(win)
+ box.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box)
+ box.show()
+
+ # flip object
+ fl = elementary.Flip(win)
+ fl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fl.interaction_set(elementary.ELM_FLIP_INTERACTION_NONE);
+ fl.interaction_direction_enabled_set(elementary.ELM_FLIP_DIRECTION_UP, True);
+ fl.interaction_direction_enabled_set(elementary.ELM_FLIP_DIRECTION_DOWN, True);
+ fl.interaction_direction_enabled_set(elementary.ELM_FLIP_DIRECTION_LEFT, True);
+ fl.interaction_direction_enabled_set(elementary.ELM_FLIP_DIRECTION_RIGHT, True);
+ fl.interaction_direction_hitsize_set(elementary.ELM_FLIP_DIRECTION_UP, 0.25);
+ fl.interaction_direction_hitsize_set(elementary.ELM_FLIP_DIRECTION_DOWN, 0.25);
+ fl.interaction_direction_hitsize_set(elementary.ELM_FLIP_DIRECTION_LEFT, 0.25);
+ fl.interaction_direction_hitsize_set(elementary.ELM_FLIP_DIRECTION_RIGHT, 0.25);
+ fl.callback_animate_begin_add(my_flip_animate_begin)
+ fl.callback_animate_done_add(my_flip_animate_done)
+ box.pack_end(fl)
+ fl.show()
+
+ # front content (image)
+ o = elementary.Background(win)
+ o.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ o.file_set("images/sky_01.jpg")
+ fl.part_content_set("front", o)
+ o.show()
+
+ # back content (layout)
+ ly = elementary.Layout(win)
+ ly.file_set("test.edj", "layout")
+ ly.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fl.part_content_set("back", ly)
+ ly.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 1")
+ ly.part_content_set("element1", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 2")
+ ly.part_content_set("element2", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 3")
+ ly.part_content_set("element3", bt)
+ bt.show()
+
+
+ # radio buttons
+ rd = elementary.Radio(win)
+ rd.state_value_set(elementary.ELM_FLIP_INTERACTION_NONE)
+ rd.text_set("None")
+ rd.callback_changed_add(my_cb_radios, fl)
+ box.pack_end(rd)
+ rd.show()
+ rdg = rd
+
+ rd = elementary.Radio(win)
+ rd.state_value_set(elementary.ELM_FLIP_INTERACTION_ROTATE)
+ rd.text_set("Rotate")
+ rd.callback_changed_add(my_cb_radios, fl)
+ rd.group_add(rdg)
+ box.pack_end(rd)
+ rd.show()
+
+ rd = elementary.Radio(win)
+ rd.state_value_set(elementary.ELM_FLIP_INTERACTION_CUBE)
+ rd.text_set("Cube")
+ rd.callback_changed_add(my_cb_radios, fl)
+ rd.group_add(rdg)
+ box.pack_end(rd)
+ rd.show()
+
+ rd = elementary.Radio(win)
+ rd.state_value_set(elementary.ELM_FLIP_INTERACTION_PAGE)
+ rd.text_set("Page")
+ rd.callback_changed_add(my_cb_radios, fl)
+ rd.group_add(rdg)
+ box.pack_end(rd)
+ rd.show()
+
+ # window show
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Flip", flip_clicked),
+ ("Flip Interactive", flip_interactive_clicked),
+ ]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_flipselector.py b/tests/test_flipselector.py
new file mode 100644
index 0000000..0a6541d
--- /dev/null
+++ b/tests/test_flipselector.py
@@ -0,0 +1,137 @@
+ #!/usr/bin/env python
+# encoding: utf-8
+import os
+from elementary import *
+import edje
+import ecore
+import evas
+
+
+def sel_cb(fp, *args):
+ if args:
+ print("label of selected item is: %s\n" % args[0].text)
+
+def unsel_cb(bt, fp):
+ fp.selected_item.selected = False
+
+def last_cb(bt, fp):
+ fp.last_item.selected = True
+
+def third_from_end_cb(bt, fp):
+ fp.last_item.prev.prev.selected = True
+
+def underflow_cb(fp):
+ print("underflow!\n")
+
+def overflow_cb(fp):
+ print("overflow!\n")
+
+def slider_change_cb(sl, fp):
+ fp.first_interval = sl.value
+
+def flip_next_cb(bt, fp):
+ fp.next()
+
+def flip_prev_cb(bt, fp):
+ fp.prev()
+
+def flipselector_clicked(obj):
+ lbl = (
+ "Elementary",
+ "Evas",
+ "Eina",
+ "Edje",
+ "Eet",
+ "Ecore",
+ "Efreet",
+ "Edbus"
+ )
+
+ win = StandardWindow("flipselector", "Flip Selector")
+ win.autodel = True
+
+ bx = Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ fp = FlipSelector(win)
+ fp.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fp.callback_selected_add(sel_cb)
+ fp.callback_underflowed_add(overflow_cb)
+ fp.callback_overflowed_add(underflow_cb)
+ for i in range(0, len(lbl)):
+ it = fp.item_append(lbl[i])
+ if (i == 3):
+ edje_it = it
+ edje_it.selected = True
+ bx.pack_end(fp)
+ fp.show()
+
+ bx2 = Box(win)
+ bx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx2.horizontal = True
+ bx.pack_end(bx2)
+ bx2.show()
+
+ fp = FlipSelector(win)
+ fp.callback_underflowed_add(overflow_cb)
+ fp.callback_overflowed_add(underflow_cb)
+ fp.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ for i in range(1990, 2100):
+ fp.item_append(str(i), sel_cb)
+
+ bt = Button(win)
+ bt.text = "Flip Prev"
+ bt.callback_clicked_add(flip_prev_cb, fp)
+
+ bx2.pack_end(bt)
+ bt.show()
+
+ bx2.pack_end(fp)
+ fp.show()
+
+ bt = Button(win)
+ bt.text = "Flip Next"
+ bt.callback_clicked_add(flip_next_cb, fp)
+ bx2.pack_end(bt)
+ bt.show()
+
+ sl = Slider(win)
+ sl.text = "Flip Iterval:"
+ sl.unit_format = "%1.2f"
+ sl.min_max = (0.0, 3.0)
+ sl.value = (0.85)
+ sl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ sl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(sl)
+ sl.show()
+ sl.callback_changed_add(slider_change_cb, fp)
+
+ bt = Button(win)
+ bt.text = "Select Last"
+ bt.callback_clicked_add(last_cb, fp)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = Button(win)
+ bt.text = "Select 2097"
+ bt.callback_clicked_add(third_from_end_cb, fp)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = Button(win)
+ bt.text = "Unselect year"
+ bt.callback_clicked_add(unsel_cb, fp)
+ bx.pack_end(bt)
+ bt.show()
+
+ win.show()
+
+if __name__ == "__main__":
+ elementary.init()
+
+ flipselector_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_frame.py b/tests/test_frame.py
new file mode 100644
index 0000000..7af2160
--- /dev/null
+++ b/tests/test_frame.py
@@ -0,0 +1,66 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Frame -{{{-
+def frame_clicked(obj):
+ win = elementary.Window("frame", elementary.ELM_WIN_BASIC)
+ win.title_set("Frame test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ # frame 1
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+
+ fr = elementary.Frame(win)
+ fr.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fr.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fr.text_set("Frame title")
+ fr.content_set(ic)
+ vbox.pack_end(fr)
+ fr.show()
+
+ # frame 2 (collapsable)
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+
+ fr = elementary.Frame(win)
+ fr.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ fr.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ fr.autocollapse_set(True)
+ fr.text_set("Frame collapsable (BROKEN)")
+ fr.content_set(ic)
+ vbox.pack_end(fr)
+ fr.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ frame_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_gengrid.py b/tests/test_gengrid.py
new file mode 100644
index 0000000..12dfd22
--- /dev/null
+++ b/tests/test_gengrid.py
@@ -0,0 +1,399 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import random
+
+import elementary
+import edje
+import ecore
+import evas
+
+images = ["panel_01.jpg", "plant_01.jpg", "rock_01.jpg", "rock_02.jpg",
+ "sky_01.jpg", "sky_02.jpg", "sky_03.jpg", "sky_04.jpg", "wood_01.jpg"]
+
+#----- common -{{{-
+def gg_text_get(obj, part, item_data):
+ return "Item # %s" % (item_data)
+
+def gg_content_get(obj, part, data):
+ if part == "elm.swallow.icon":
+ im = elementary.Image(obj)
+ im.file_set("images/" + random.choice(images))
+ im.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_BOTH, 1, 1)
+ return im
+ return None
+
+def gg_state_get(obj, part, item_data):
+ return False
+
+def gg_del(obj, item_data):
+ # commented out because this make clear() slow with many items
+ # print "[item del] # %d - %s" % (item_data, obj)
+ pass
+
+def gg_sel(gg, ggi, *args, **kwargs):
+ (x, y) = ggi.pos_get()
+ print(("[item selected] # %d at pos %d %d" % (ggi.data, x, y)))
+
+def gg_unsel(gg, ggi, *args, **kwargs):
+ print(("[item unselected] # %d" % (ggi.data)))
+
+def gg_clicked_double(gg, ggi, *args, **kwargs):
+ print(("[item double clicked] # %d" % (ggi.data)))
+# -}}}-
+
+#----- Gengrid -{{{-
+def gengrid_clicked(obj):
+
+ global item_count
+ item_count = 25
+
+ # window
+ win = elementary.Window("gengrid", elementary.ELM_WIN_BASIC)
+ win.title_set("Gengrid")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ # background
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ # main table
+ tb = elementary.Table(win)
+ win.resize_object_add(tb)
+ tb.homogeneous_set(0)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ tb.show()
+
+ # gengrid
+ itc = elementary.GengridItemClass(item_style="default",
+ text_get_func=gg_text_get,
+ content_get_func=gg_content_get,
+ state_get_func=gg_state_get,
+ del_func=gg_del)
+ gg = elementary.Gengrid(win)
+ gg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ gg.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ gg.horizontal_set(False)
+ gg.bounce_set(False, True)
+ gg.item_size_set(80, 80)
+ gg.align_set(0.5, 0.0)
+ tb.pack(gg, 0, 0, 6, 1)
+ gg.callback_selected_add(gg_sel)
+ gg.callback_unselected_add(gg_unsel)
+ gg.callback_clicked_double_add(gg_clicked_double)
+ gg.show()
+
+ # add the first items
+ for i in range(item_count):
+ gg.item_append(itc, i, None)
+
+
+ # multi select
+ def multi_select_changed(bt, gg):
+ gg.multi_select_set(bt.state)
+ print((gg.multi_select_get()))
+
+ bt = elementary.Check(win)
+ bt.text = "MultiSelect"
+ bt.state = gg.multi_select_get()
+ bt.callback_changed_add(multi_select_changed, gg)
+ tb.pack(bt, 0, 1, 1, 1)
+ bt.show()
+
+ # horizontal
+ def horizontal_changed(bt, gg):
+ gg.horizontal_set(bt.state)
+
+ bt = elementary.Check(win)
+ bt.text_set("Horizontal")
+ bt.callback_changed_add(horizontal_changed, gg)
+ tb.pack(bt, 1, 1, 1, 1)
+ bt.show()
+
+ # bounce h
+ def bounce_h_changed(bt, gg):
+ (h_bounce, v_bounce) = gg.bounce_get()
+ gg.bounce_set(bt.state, v_bounce)
+ print((gg.bounce_get()))
+
+ bt = elementary.Check(win)
+ bt.text_set("BounceH")
+ (h_bounce, v_bounce) = gg.bounce_get()
+ bt.state = h_bounce
+ bt.callback_changed_add(bounce_h_changed, gg)
+ tb.pack(bt, 4, 1, 1, 1)
+ bt.show()
+
+ # bounce v
+ def bounce_v_changed(bt, gg):
+ (h_bounce, v_bounce) = gg.bounce_get()
+ gg.bounce_set(h_bounce, bt.state)
+ print((gg.bounce_get()))
+
+ bt = elementary.Check(win)
+ bt.text_set("BounceV")
+ (h_bounce, v_bounce) = gg.bounce_get()
+ bt.state = v_bounce
+ bt.callback_changed_add(bounce_v_changed, gg)
+ tb.pack(bt, 5, 1, 1, 1)
+ bt.show()
+
+ # item size
+ def item_size_w_changed(sl, gg):
+ (w, h) = gg.item_size_get()
+ gg.item_size_set(sl.value, h)
+ print((gg.item_size_get()))
+
+ def item_size_h_changed(sl, gg):
+ (w, h) = gg.item_size_get()
+ gg.item_size_set(w, sl.value)
+ print((gg.item_size_get()))
+
+ sl = elementary.Slider(win)
+ sl.text_set("ItemSizeW")
+ sl.min_max_set(0, 500)
+ sl.indicator_format_set("%.0f")
+ sl.unit_format_set("%.0f")
+ sl.span_size_set(100)
+ (w, h) = gg.item_size_get()
+ sl.value = w
+ sl.callback_changed_add(item_size_w_changed, gg)
+ tb.pack(sl, 0, 2, 2, 1)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text_set("ItemSizeH")
+ sl.min_max_set(0, 500)
+ sl.indicator_format_set("%.0f")
+ sl.unit_format_set("%.0f")
+ sl.span_size_set(100)
+ (w, h) = gg.item_size_get()
+ sl.value = h
+ sl.callback_changed_add(item_size_h_changed, gg)
+ tb.pack(sl, 0, 3, 2, 1)
+ sl.show()
+
+ # align
+ def alignx_changed(sl, gg):
+ (ax, ay) = gg.align_get()
+ gg.align_set(sl.value, ay)
+ print((gg.align_get()))
+
+ def aligny_changed(sl, gg):
+ (ax, ay) = gg.align_get()
+ gg.align_set(ax, sl.value)
+ print((gg.align_get()))
+
+ sl = elementary.Slider(win)
+ sl.text_set("AlignX")
+ sl.min_max_set(0.0, 1.0)
+ sl.indicator_format_set("%.2f")
+ sl.unit_format_set("%.2f")
+ sl.span_size_set(100)
+ (ax, ay) = gg.align_get()
+ sl.value = ax
+ sl.callback_changed_add(alignx_changed, gg)
+ tb.pack(sl, 0, 4, 2, 1)
+ sl.show()
+
+ sl = elementary.Slider(win)
+ sl.text_set("AlignY")
+ sl.min_max_set(0.0, 1.0)
+ sl.indicator_format_set("%.2f")
+ sl.unit_format_set("%.2f")
+ sl.span_size_set(100)
+ (ax, ay) = gg.align_get()
+ sl.value = ax
+ sl.callback_changed_add(aligny_changed, gg)
+ tb.pack(sl, 0, 5, 2, 1)
+ sl.show()
+
+ # select first
+ def select_first_clicked(bt, gg):
+ ggi = gg.first_item
+ ggi.selected = not ggi.selected
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Select first")
+ bt.callback_clicked_add(select_first_clicked, gg)
+ tb.pack(bt, 2, 2, 1, 1)
+ bt.show()
+
+ # select last
+ def select_last_clicked(bt, gg):
+ ggi = gg.last_item
+ ggi.selected = not ggi.selected
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Select last")
+ bt.callback_clicked_add(select_last_clicked, gg)
+ tb.pack(bt, 3, 2, 1, 1)
+ bt.show()
+
+ # selection del
+ def seldel_clicked(bt, gg):
+ for ggi in gg.selected_items_get():
+ ggi.delete()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Sel del")
+ bt.callback_clicked_add(seldel_clicked, gg)
+ tb.pack(bt, 4, 2, 1, 1)
+ bt.show()
+
+ # clear
+ def clear_clicked(bt, gg):
+ global item_count
+ item_count = 0
+ gg.clear()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Clear")
+ bt.callback_clicked_add(clear_clicked, gg)
+ tb.pack(bt, 5, 2, 1, 1)
+ bt.show()
+
+ # show first/last
+ def show_clicked(bt, gg, first):
+ ggi = gg.first_item if first else gg.last_item
+ ggi.show()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Show first")
+ bt.callback_clicked_add(show_clicked, gg, True)
+ tb.pack(bt, 2, 3, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Show last")
+ bt.callback_clicked_add(show_clicked, gg, False)
+ tb.pack(bt, 3, 3, 1, 1)
+ bt.show()
+
+ # bring-in first/last
+ def bring_in_clicked(bt, gg, first):
+ ggi = gg.first_item if first else gg.last_item
+ ggi.bring_in()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("BringIn first")
+ bt.callback_clicked_add(bring_in_clicked, gg, True)
+ tb.pack(bt, 4, 3, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("BringIn last")
+ bt.callback_clicked_add(bring_in_clicked, gg, False)
+ tb.pack(bt, 5, 3, 1, 1)
+ bt.show()
+
+ # append
+ def append_clicked(bt, gg, n):
+ global item_count
+ while n:
+ item_count += 1
+ gg.item_append(itc, item_count, None)
+ n -= 1
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Append 1")
+ bt.callback_clicked_add(append_clicked, gg, 1)
+ tb.pack(bt, 2, 4, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Append 100")
+ bt.callback_clicked_add(append_clicked, gg, 100)
+ tb.pack(bt, 3, 4, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Append 1000")
+ bt.callback_clicked_add(append_clicked, gg, 1000)
+ tb.pack(bt, 4, 4, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Append 10000 :)")
+ bt.callback_clicked_add(append_clicked, gg, 10000)
+ tb.pack(bt, 5, 4, 1, 1)
+ bt.show()
+
+ # prepend
+ def prepend_clicked(bt, gg):
+ global item_count
+ item_count += 1
+ gg.item_prepend(itc, item_count)
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Prepend")
+ bt.callback_clicked_add(prepend_clicked, gg)
+ tb.pack(bt, 2, 5, 1, 1)
+ bt.show()
+
+ # insert_before
+ def ins_before_clicked(bt, gg):
+ global item_count
+ item_count += 1
+ before = gg.selected_item_get()
+ if before:
+ gg.item_insert_before(itc, item_count, before)
+ else:
+ print("nothing selected")
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Ins before")
+ bt.callback_clicked_add(ins_before_clicked, gg)
+ tb.pack(bt, 3, 5, 1, 1)
+ bt.show()
+
+ # insert_after
+ def ins_after_clicked(bt, gg):
+ global item_count
+ item_count += 1
+ after = gg.selected_item_get()
+ if after:
+ gg.item_insert_after(itc, item_count, after)
+ else:
+ print("nothing selected")
+
+ bt = elementary.Button(win)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, 0)
+ bt.text_set("Ins after")
+ bt.callback_clicked_add(ins_after_clicked, gg)
+ tb.pack(bt, 4, 5, 1, 1)
+ bt.show()
+
+
+ win.resize(480, 800)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ gengrid_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_genlist.py b/tests/test_genlist.py
new file mode 100644
index 0000000..44c80cf
--- /dev/null
+++ b/tests/test_genlist.py
@@ -0,0 +1,454 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- common -{{{-
+def gl_text_get(obj, part, item_data):
+ return "Item # %i" % (item_data,)
+
+def gl_content_get(obj, part, data):
+ ic = elementary.Icon(obj)
+ ic.file_set("images/logo_small.png")
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ return ic
+
+def gl_state_get(obj, part, item_data):
+ return False
+
+def gl_item_sel(gli, gl, *args, **kwargs):
+ print("\n---GenlistItem selected---")
+ print(gli)
+ print(gl)
+ print(args)
+ print(kwargs)
+ print(("item_data: %s" % gli.data_get()))
+
+def glg_text_get(obj, part, item_data):
+ return "Group # %i" % (item_data,)
+
+def glg_content_get(obj, part, data):
+ ic = elementary.Icon(obj)
+ ic.file_set("images/logo.png")
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ return ic
+
+def _gl_selected(gl, gli, *args, **kwargs):
+ print("\n---Genlist selected---")
+ print(gl)
+ print(gli)
+ print(args)
+ print(kwargs)
+
+def _gl_clicked_double(gl, gli, *args, **kwargs):
+ print("\n---Genlist double clcked---")
+ print(gl)
+ print(gli)
+ print(args)
+ print(kwargs)
+
+def _gl_longpressed(gl, gli, *args, **kwargs):
+ print("\n---Genlist longpressed---")
+ print(gl)
+ print(gli)
+ print(args)
+ print(kwargs)
+
+def _gl_over_click(evas, evt, gl):
+ print("\n---OverRect click---")
+ gli = gl.at_xy_item_get(evt.position.canvas.x, evt.position.canvas.y)
+ if gli:
+ print(gli)
+ else:
+ print("over none")
+# -}}}-
+
+#----- Genlist -{{{-
+def genlist_clicked(obj, item=None):
+ win = elementary.Window("Genlist", elementary.ELM_WIN_BASIC)
+ win.title_set("Genlist test")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ gl = elementary.Genlist(win)
+ gl.callback_selected_add(_gl_selected, "arg1", "arg2", kwarg1="kwarg1", kwarg2="kwarg2")
+ gl.callback_clicked_double_add(_gl_clicked_double, "arg1", "arg2", kwarg1="kwarg1", kwarg2="kwarg2")
+ gl.callback_longpressed_add(_gl_longpressed, "arg1", "arg2", kwarg1="kwarg1", kwarg2="kwarg2")
+ gl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ gl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bx.pack_end(gl)
+ gl.show()
+
+ over = evas.Rectangle(win.evas_get())
+ over.color_set(0, 0, 0, 0)
+ over.event_callback_add(evas.EVAS_CALLBACK_MOUSE_DOWN, _gl_over_click, gl)
+ over.repeat_events_set(True)
+ over.show()
+ over.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(over)
+
+ vbx = elementary.Box(win)
+ vbx.horizontal_set(True)
+ bx.pack_end(vbx)
+ vbx.show()
+
+ itc1 = elementary.GenlistItemClass(item_style="default",
+ text_get_func=gl_text_get,
+ content_get_func=gl_content_get,
+ state_get_func=gl_state_get)
+
+ bt_50 = elementary.Button(win)
+ bt_50.text_set("Go to 50")
+ vbx.pack_end(bt_50)
+ bt_50.show()
+
+ bt_1500 = elementary.Button(win)
+ bt_1500.text_set("Go to 1500")
+ vbx.pack_end(bt_1500)
+ bt_1500.show()
+
+ for i in range(0, 2000):
+ gli = gl.item_append(itc1, i, func=gl_item_sel)
+ if i == 50:
+ bt_50._callback_add("clicked", lambda bt, it: it.bring_in(), gli)
+ elif i == 1500:
+ bt_1500._callback_add("clicked", lambda bt, it: it.bring_in(), gli)
+
+ win.resize(480, 800)
+ win.show()
+
+# }}}
+
+#----- Genlist 2 -{{{-
+def genlist2_clicked(obj, item=None):
+ win = elementary.Window("Genlist", elementary.ELM_WIN_BASIC)
+ win.title_set("Genlist test 2")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.file_set("images/plant_01.jpg")
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ gl = elementary.Genlist(win)
+ gl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ gl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ gl.show()
+
+ itc1 = elementary.GenlistItemClass(item_style="default",
+ text_get_func=gl_text_get,
+ content_get_func=gl_content_get,
+ state_get_func=gl_state_get)
+
+ gl.item_append(itc1, 1001, func=gl_item_sel)
+ gl.item_append(itc1, 1002, func=gl_item_sel)
+ gl.item_append(itc1, 1003, func=gl_item_sel)
+ gl.item_append(itc1, 1004, func=gl_item_sel)
+ gl.item_append(itc1, 1005, func=gl_item_sel)
+ gl.item_append(itc1, 1006, func=gl_item_sel)
+ gl.item_append(itc1, 1007, func=gl_item_sel)
+
+ bx.pack_end(gl)
+
+ bx2 = elementary.Box(win)
+ bx2.horizontal_set(True)
+ bx2.homogeneous_set(True)
+ bx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+
+ def my_gl_first(bt, gl):
+ gli = gl.first_item_get()
+ if gli:
+ gli.show()
+ gli.selected = True
+
+ bt = elementary.Button(win)
+ bt.text_set("/\\")
+ bt.callback_clicked_add(my_gl_first, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ def my_gl_last(bt, gl):
+ gli = gl.last_item_get()
+ if gli:
+ gli.show()
+ gli.selected = True
+
+ bt = elementary.Button(win)
+ bt.text_set("\\/")
+ bt.callback_clicked_add(my_gl_last, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ def my_gl_disable(bt, gl):
+ gli = gl.selected_item_get()
+ if gli:
+ gli.disabled = True
+ gli.selected = False
+ gli.update()
+ else:
+ print("no item selected")
+
+ bt = elementary.Button(win)
+ bt.text_set("#")
+ bt.callback_clicked_add(my_gl_disable, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ def my_gl_update_all(bt, gl):
+ gli = gl.first_item_get()
+ i = 0
+ while gli:
+ gli.update()
+ print(i)
+ i = i + 1
+ gli = gli.next_get()
+
+ bt = elementary.Button(win)
+ bt.text_set("U")
+ bt.callback_clicked_add(my_gl_update_all, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bx.pack_end(bx2)
+ bx2.show()
+
+
+ bx2 = elementary.Box(win)
+ bx2.horizontal_set(True)
+ bx2.homogeneous_set(True)
+ bx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+
+ def my_gl_clear(bt, gl):
+ gl.clear()
+
+ bt = elementary.Button(win)
+ bt.text_set("X")
+ bt.callback_clicked_add(my_gl_clear, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ class MyGlAdd:
+ i = 0
+ def my_gl_add(bt, gl, itc1):
+ gl.item_append(itc1, MyGlAdd.i, func=gl_item_sel)
+ MyGlAdd.i = MyGlAdd.i + 1
+
+ bt = elementary.Button(win)
+ bt.text_set("+")
+ bt.callback_clicked_add(my_gl_add, gl, itc1)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ def my_gl_del(bt, gl):
+ gli = gl.selected_item_get()
+ if gli:
+ gli.delete()
+ else:
+ print("no item selected")
+
+ bt = elementary.Button(win)
+ bt.text_set("-")
+ bt.callback_clicked_add(my_gl_del, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bx.pack_end(bx2)
+ bx2.show()
+
+ bx2 = elementary.Box(win)
+ bx2.horizontal_set(True)
+ bx2.homogeneous_set(True)
+ bx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+
+ class MyGlInsertBefore:
+ i = 0
+ def my_gl_insert_before(bt, gl, itc1):
+ gli = gl.selected_item_get()
+ if gli:
+ gl.item_insert_before(itc1, MyGlInsertBefore.i, gli, func=gl_item_sel)
+ MyGlInsertBefore.i = MyGlInsertBefore.i + 1
+ else:
+ print("no item selected")
+
+ bt = elementary.Button(win)
+ bt.text_set("+ before")
+ bt.callback_clicked_add(my_gl_insert_before, gl, itc1)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ class MyGlInsertAfter:
+ i = 0
+ def my_gl_insert_after(bt, gl, itc1):
+ gli = gl.selected_item_get()
+ if gli:
+ gl.item_insert_after(itc1, MyGlInsertAfter.i, gli, func=gl_item_sel)
+ MyGlInsertAfter.i = MyGlInsertAfter.i + 1
+ else:
+ print("no item selected")
+
+ bt = elementary.Button(win)
+ bt.text_set("+ after")
+ bt.callback_clicked_add(my_gl_insert_after, gl, itc1)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+
+ def my_gl_flush(bt, gl):
+ def my_gl_flush_delay():
+ elm_cache_all_flush()
+ ecore.timer_add(1.2, my_gl_flush_delay)
+ bt = elementary.Button(win)
+ bt.text_set("Flush")
+ bt.callback_clicked_add(my_gl_flush, gl)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bx.pack_end(bx2)
+ bx2.show()
+
+ win.resize(320, 320)
+ win.show()
+
+# }}}
+
+#----- Genlist 3 -{{{-
+def genlist3_clicked(obj, item=None):
+ win = elementary.Window("Genlist", elementary.ELM_WIN_BASIC)
+ win.title_set("Genlist Group test")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ gl = elementary.Genlist(win)
+ win.resize_object_add(gl)
+ gl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ gl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ gl.show()
+
+ itc_i = elementary.GenlistItemClass(item_style="default",
+ text_get_func=gl_text_get,
+ content_get_func=gl_content_get,
+ state_get_func=gl_state_get)
+
+ itc_g = elementary.GenlistItemClass(item_style="group_index",
+ text_get_func=glg_text_get,
+ content_get_func=glg_content_get)
+
+ for i in range(300):
+ if i % 10 == 0:
+ git = gl.item_append(itc_g, i/10,
+ flags=elementary.ELM_GENLIST_ITEM_GROUP)
+ git.select_mode_set(elementary.ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY)
+ gl.item_append(itc_i, i, git)
+
+ win.resize(320, 320)
+ win.show()
+
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Genlist", genlist_clicked),
+ ("Genlist 2", genlist2_clicked),
+ ("Genlist Group", genlist3_clicked)]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_grid.py b/tests/test_grid.py
new file mode 100644
index 0000000..55591e2
--- /dev/null
+++ b/tests/test_grid.py
@@ -0,0 +1,109 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Grid -{{{-
+def cb_change(bt, grid):
+ (x, y, w, h) = grid.pack_get(bt)
+ grid.pack_set(bt, x - 2, y - 2, w + 4, h + 4)
+
+def grid_clicked(obj):
+ win = elementary.Window("grid", elementary.ELM_WIN_BASIC)
+ win.title = "Grid test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ gd = elementary.Grid(win)
+ gd.size = (100, 100)
+ win.resize_object_add(gd)
+ gd.show()
+
+ en = elementary.Entry(win)
+ en.scrollable = True
+ en.text = "Entry text 2"
+ en.single_line = True
+ gd.pack(en, 60, 20, 30, 10)
+ en.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Next API function"
+ gd.pack(bt, 30, 0, 40, 10)
+ bt.disabled = True
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Button"
+ gd.pack(bt, 0, 0, 20, 20)
+ bt.show()
+
+ bt = elementary.Button(win);
+ bt.text = "Button"
+ gd.pack(bt, 10, 10, 40, 20)
+ bt.show()
+
+ bt = elementary.Button(win);
+ bt.text = "Button"
+ gd.pack(bt, 10, 30, 20, 50)
+ bt.show()
+
+ bt = elementary.Button(win);
+ bt.text = "Button"
+ gd.pack(bt, 80, 80, 20, 20)
+ bt.show()
+
+ bt = elementary.Button(win);
+ bt.text = "Change"
+ bt.callback_clicked_add(cb_change, gd)
+ gd.pack(bt, 40, 40, 20, 20)
+ bt.show()
+
+ re = evas.Rectangle(win.evas)
+ re.color = (128, 0, 0, 128)
+ gd.pack(re, 40, 70, 20, 10)
+ re.show()
+
+ re = evas.Rectangle(win.evas)
+ re.color = (0, 128, 0, 128)
+ gd.pack(re, 60, 70, 10, 10)
+ re.show()
+
+ re = evas.Rectangle(win.evas)
+ re.color = (0, 0, 128, 128)
+ gd.pack(re, 40, 80, 10, 10)
+ re.show()
+
+ re = evas.Rectangle(win.evas)
+ re.color = (128, 0, 128, 128)
+ gd.pack(re, 50, 80, 10, 10)
+ re.show()
+
+ re = evas.Rectangle(win.evas)
+ re.color = (128, 64, 0, 128)
+ gd.pack(re, 60, 80, 10, 10)
+ re.show()
+
+ win.resize(480, 480)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ grid_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_hover.py b/tests/test_hover.py
new file mode 100644
index 0000000..b75b72d
--- /dev/null
+++ b/tests/test_hover.py
@@ -0,0 +1,222 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Hover -{{{-
+def hover_bt1_clicked(bt, hv):
+ hv.show()
+
+def hover_clicked(obj, item=None):
+ win = elementary.Window("hover", elementary.ELM_WIN_BASIC)
+ win.title_set("Hover")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ hv = elementary.Hover(win)
+
+ bt = elementary.Button(win)
+ bt.text_set("Button")
+ bt.callback_clicked_add(hover_bt1_clicked, hv)
+ bx.pack_end(bt)
+ bt.show()
+ hv.parent_set(win)
+ hv.target_set(bt)
+
+ bt = elementary.Button(win)
+ bt.text_set("Popup")
+ hv.part_content_set("middle", bt)
+ bt.show()
+
+ bx = elementary.Box(win)
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ bx.pack_end(ic)
+ ic.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top 1")
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top 2")
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top 3")
+ bx.pack_end(bt)
+ bt.show()
+
+ bx.show()
+
+ hv.part_content_set("top", bx)
+
+ bt = elementary.Button(win)
+ bt.text_set("Bottom")
+ hv.part_content_set("bottom", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Left")
+ hv.part_content_set("left", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Right")
+ hv.part_content_set("right", bt)
+ bt.show()
+
+ bg.size_hint_min_set(160, 160)
+ bg.size_hint_max_set(640, 640)
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Hover2 -{{{-
+def hover2_clicked(obj, item=None):
+ win = elementary.Window("hover2", elementary.ELM_WIN_BASIC)
+ win.title_set("Hover 2")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ hv = elementary.Hover(win)
+ hv.style_set("popout")
+
+ bt = elementary.Button(win)
+ bt.text_set("Button")
+ bt.callback_clicked_add(hover_bt1_clicked, hv)
+ bx.pack_end(bt)
+ bt.show()
+ hv.parent_set(win)
+ hv.target_set(bt)
+
+ bt = elementary.Button(win)
+ bt.text_set("Popup")
+ hv.part_content_set("middle", bt)
+ bt.show()
+
+ bx = elementary.Box(win)
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ bx.pack_end(ic)
+ ic.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top 1")
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top 2")
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top 3")
+ bx.pack_end(bt)
+ bt.show()
+
+ bx.show()
+ hv.part_content_set("top", bx)
+
+ bt = elementary.Button(win)
+ bt.text_set("Bot")
+ hv.part_content_set("bottom", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Left")
+ hv.part_content_set("left", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Right")
+ hv.part_content_set("right", bt)
+ bt.show()
+
+ bg.size_hint_min_set(160, 160)
+ bg.size_hint_max_set(640, 640)
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("Hover", hover_clicked),
+ ("Hover 2", hover2_clicked)]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_hoversel.py b/tests/test_hoversel.py
new file mode 100644
index 0000000..65befeb
--- /dev/null
+++ b/tests/test_hoversel.py
@@ -0,0 +1,117 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Hoversel -{{{-
+def hoversel_clicked(obj):
+ win = elementary.Window("hoversel", elementary.ELM_WIN_BASIC)
+ win.title_set("Hoversel")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ bt = elementary.Hoversel(win)
+ bt.hover_parent_set(win)
+ bt.text_set("Labels")
+ bt.item_add("Item 1")
+ bt.item_add("Item 2")
+ bt.item_add("Item 3")
+ bt.item_add("Item 4 - Long Label Here")
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Hoversel(win)
+ bt.hover_parent_set(win)
+ bt.text_set("Some Icons")
+ bt.item_add("Item 1")
+ bt.item_add("Item 2")
+ bt.item_add("Item 3", "home", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 4", "close", elementary.ELM_ICON_STANDARD)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Hoversel(win)
+ bt.hover_parent_set(win)
+ bt.text_set("All Icons")
+ bt.item_add("Item 1", "apps", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 2", "arrow_down", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 3", "home", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 4", "close", elementary.ELM_ICON_STANDARD)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Hoversel(win)
+ bt.hover_parent_set(win)
+ bt.text_set("All Icons")
+ bt.item_add("Item 1", "apps", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 2", "images/logo_small.png", elementary.ELM_ICON_FILE)
+ bt.item_add("Item 3", "home", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 4", "close", elementary.ELM_ICON_STANDARD)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Hoversel(win)
+ bt.hover_parent_set(win)
+ bt.text_set("Disabled Hoversel")
+ bt.item_add("Item 1", "apps", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 2", "close", elementary.ELM_ICON_STANDARD)
+ bt.disabled_set(True)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Hoversel(win)
+ bt.hover_parent_set(win)
+ bt.text_set("Icon + Label")
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/sky_03.jpg")
+ bt.content_set(ic)
+ ic.show()
+
+ bt.item_add("Item 1", "apps", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 2", "arrow_down", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 3", "home", elementary.ELM_ICON_STANDARD)
+ bt.item_add("Item 4", "close", elementary.ELM_ICON_STANDARD)
+ bt.size_hint_weight_set(0.0, 0.0)
+ bt.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(bt)
+ bt.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ hoversel_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_icon.py b/tests/test_icon.py
new file mode 100644
index 0000000..495e406
--- /dev/null
+++ b/tests/test_icon.py
@@ -0,0 +1,142 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+def aspect_fixed_cb(obj, ic):
+ ic.aspect_fixed_set(obj.state_get())
+
+def fill_outside_cb(obj, ic):
+ ic.fill_outside_set(obj.state_get())
+
+def smooth_cb(obj, ic):
+ ic.smooth_set(obj.state_get())
+
+def bt_clicked(obj):
+ win = elementary.Window("preload-prescale", elementary.ELM_WIN_BASIC)
+ win.title_set("Preload & Prescale")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bg)
+ bg.show()
+
+ ic = elementary.Icon(win)
+ win.resize_object_add(ic)
+ ic.file_set("images/insanely_huge_test_image.jpg")
+
+ ic.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ic.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ ic.resizable_set(True, True)
+ ic.aspect_fixed_set(True)
+ ic.preload_disabled_set(True)
+ ic.prescale_set(True)
+ ic.show()
+
+ win.resize(350, 350)
+ win.show()
+
+#----- Icon -{{{-
+def icon_clicked(obj):
+ win = elementary.Window("icon test", elementary.ELM_WIN_BASIC)
+ win.title_set("Icon Test")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bg)
+ bg.show()
+
+ box = elementary.Box(win)
+ win.resize_object_add(box)
+ box.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ box.show()
+
+ content_box = elementary.Box(win)
+ win.resize_object_add(content_box)
+ content_box.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ content_box.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box.pack_end(content_box)
+ content_box.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set("images/logo.png")
+ ic.resizable_set(True, True)
+ ic.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ic.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+ content_box.pack_end(ic)
+ ic.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal_set(True)
+ content_box.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ box.pack_end(hbox)
+ hbox.show()
+
+ # Test Aspect Fixed
+ tg = elementary.Check(win)
+ tg.text_set("Aspect Fixed")
+ tg.state_set(True)
+ tg.callback_changed_add(aspect_fixed_cb, ic)
+ hbox.pack_end(tg)
+ tg.show()
+
+ # Test Fill Outside
+ tg = elementary.Check(win)
+ tg.text_set("Fill Outside")
+ tg.callback_changed_add(fill_outside_cb, ic)
+ hbox.pack_end(tg)
+ tg.show()
+
+ # Test Smooth
+ tg = elementary.Check(win)
+ tg.text_set("Smooth")
+ tg.state_set(True)
+ tg.callback_changed_add(smooth_cb, ic)
+ hbox.pack_end(tg)
+ tg.show()
+
+ # Test Preload, Prescale
+ bt = elementary.Button(win)
+ bt.text_set("Preload & Prescale")
+ bt.callback_clicked_add(bt_clicked)
+ hbox.pack_end(bt)
+ bt.show()
+
+ win.resize(400, 400)
+ win.show()
+# }}}
+
+#----- Icon Transparent -{{{-
+def icon_transparent_clicked(obj):
+ win = elementary.Window("icon-transparent", elementary.ELM_WIN_BASIC)
+ win.title_set("Icon Transparent")
+ win.autodel_set(True)
+ win.alpha_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ icon = elementary.Icon(win)
+ icon.file_set("images/logo.png")
+ icon.resizable_set(0, 0)
+ win.resize_object_add(icon)
+ icon.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ icon_transparent_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_index.py b/tests/test_index.py
new file mode 100644
index 0000000..f877b98
--- /dev/null
+++ b/tests/test_index.py
@@ -0,0 +1,125 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Index -{{{-
+def gl_text_get(gl, part, data):
+ return str(data)
+
+def cb_idx_item(idx, item, gl_item):
+ print(("Current Index: %s" % (item.letter)))
+ gl_item.bring_in()
+
+def cb_idx_changed(idx, item):
+ print(("changed event on: %s" % (item.letter)))
+
+def cb_idx_delay_changed(idx, item):
+ print(("delay_changed event on: %s" % (item.letter)))
+ # BROKEN (see below)
+ # gl_item = item.data["gl_item"]
+ # gl_item.bring_in()
+
+def cb_idx_selected(idx, item):
+ print(("selected event on: %s" % (item.letter)))
+
+
+def index_clicked(obj):
+ win = elementary.Window("index", elementary.ELM_WIN_BASIC)
+ win.title_set("Index test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ # index
+ idx = elementary.Index(win)
+ idx.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ idx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ idx.callback_delay_changed_add(cb_idx_delay_changed)
+ idx.callback_changed_add(cb_idx_changed)
+ idx.callback_selected_add(cb_idx_selected)
+ win.resize_object_add(idx)
+ idx.show()
+
+ # genlist
+ itc = elementary.GenlistItemClass(item_style="default",
+ text_get_func=gl_text_get)
+ # content_get_func=gl_content_get,
+ # state_get_func=gl_state_get)
+ gl = elementary.Genlist(win)
+ gl.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ gl.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(gl)
+ gl.show()
+
+
+ for i in 'ABCDEFGHILMNOPQRSTUVZ':
+ for j in 'acegikmo':
+ gl_item = gl.item_append(itc, i + j)
+ if j == 'a':
+ idx_item = idx.item_append(i, cb_idx_item, gl_item)
+
+ # TODO This is broken (data assignment to ItemObject)
+ # ...for now just bringin on select
+ # idx_item.data["gl_item"] = gl_item
+
+
+ idx.level_go(0)
+
+ sep = elementary.Separator(win)
+ sep.horizontal = True
+ vbox.pack_end(sep)
+ sep.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ ck = elementary.Check(win)
+ ck.text = "autohide_disabled"
+ ck.callback_changed_add(lambda ck: idx.autohide_disabled_set(ck.state))
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text = "indicator_disabled"
+ ck.callback_changed_add(lambda ck: idx.indicator_disabled_set(ck.state))
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text = "horizontal"
+ ck.callback_changed_add(lambda ck: idx.horizontal_set(ck.state))
+ hbox.pack_end(ck)
+ ck.show()
+
+ win.resize(320, 480)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ index_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_inwin.py b/tests/test_inwin.py
new file mode 100644
index 0000000..2d50fd4
--- /dev/null
+++ b/tests/test_inwin.py
@@ -0,0 +1,46 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Inner Window -{{{-
+def inner_window_clicked(obj):
+ win = elementary.Window("inner-window", elementary.ELM_WIN_BASIC)
+ win.title_set("InnerWindow test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("This is an \"inwin\" - a window in a<br/>"
+ "window. This is handy for quick popups<br/>"
+ "you want centered, taking over the window<br/>"
+ "until dismissed somehow. Unlike hovers they<br/>"
+ "don't hover over their target.")
+
+ iw = elementary.InnerWindow(win)
+ iw.content_set(lb)
+ iw.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ inner_window_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_label.py b/tests/test_label.py
new file mode 100644
index 0000000..38b6516
--- /dev/null
+++ b/tests/test_label.py
@@ -0,0 +1,175 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Label -{{{-
+
+def cb_slide_radio(radio, lb):
+ lb.style = radio.text
+
+def cb_slider_duration(slider, lb):
+ lb.slide = False
+ lb.slide_duration = slider.value
+ lb.slide = True
+
+def label_clicked(obj):
+ win = elementary.Window("label", elementary.ELM_WIN_BASIC)
+ win.title = "Label test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ lb = elementary.Label(win)
+ lb.text = "<b>This is a small label</b>"
+ lb.size_hint_align = (0.0, 0.5)
+ vbox.pack_end(lb)
+ lb.show()
+
+ lb = elementary.Label(win)
+ lb.text = "This is a larger label with newlines<br/>" \
+ "to make it bigger, bit it won't expand or wrap<br/>" \
+ "just be a block of text that can't change its<br/>" \
+ "formatting as it's fixed based on text<br/>"
+ lb.size_hint_align = (0.0, 0.5)
+ vbox.pack_end(lb)
+ lb.show()
+
+ lb = elementary.Label(win)
+ lb.line_wrap_set(elementary.ELM_WRAP_CHAR)
+ lb.text = "<b>This is more text designed to line-wrap here as " \
+ "This object is resized horizontally. As it is " \
+ "resized vertically though, nothing should change. " \
+ "The amount of space allocated vertically should " \
+ "change as horizontal size changes.</b>"
+ lb.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ lb.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.pack_end(lb)
+ lb.show()
+
+ lb = elementary.Label(win)
+ lb.text = "This small label set to wrap"
+ lb.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ lb.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.pack_end(lb)
+ lb.show()
+
+ sp = elementary.Separator(win)
+ sp.horizontal = True
+ vbox.pack_end(sp)
+ sp.show()
+
+ gd = elementary.Grid(win)
+ gd.size = (100, 100)
+ gd.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ gd.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ vbox.pack_end(gd)
+ gd.show()
+
+ lb = elementary.Label(win)
+ lb.text = "Test Label Ellipsis:"
+ lb.size_hint_align = (0.0, 0.5)
+ gd.pack(lb, 5, 5, 90, 15)
+ lb.show()
+
+ rect = evas.Rectangle(win.evas)
+ rect.color = (255, 125, 125, 255)
+ gd.pack(rect, 5, 15, 90, 15)
+ rect.show()
+
+ lb = elementary.Label(win)
+ lb.text = "This is a label set to ellipsis. " \
+ "If set ellipsis to true and the text doesn't fit " \
+ "in the label an ellipsis(\"...\") will be shown " \
+ "at the end of the widget."
+ lb.ellipsis = True
+ lb.size_hint_align = (0.0, 0.5)
+ gd.pack(lb, 5, 15, 90, 15)
+ lb.show()
+
+ lb = elementary.Label(win)
+ lb.text = "Test Label Slide:"
+ lb.size_hint_align = (0.0, 0.5)
+ gd.pack(lb, 5, 40, 90, 15)
+ lb.show()
+
+ rect = evas.Rectangle(win.evas)
+ rect.color = (255, 125, 125, 255)
+ gd.pack(rect, 5, 50, 90, 15)
+ rect.show()
+
+ lb = elementary.Label(win)
+ lb.text = "This is a label set to slide. " \
+ "If set slide to true the text of the label " \
+ "will slide/scroll through the length of label." \
+ "This only works with the themes \"slide_short\", " \
+ "\"slide_long\" and \"slide_bounce\"."
+ lb.slide = True
+ lb.style = ("slide_short")
+ lb.size_hint_align = (0.0, 0.5)
+ gd.pack(lb, 5, 50, 90, 15)
+ lb.show()
+
+ rd = elementary.Radio(win)
+ rd.state_value = 1
+ rd.text = "slide_short"
+ gd.pack(rd, 5, 65, 30, 15)
+ rd.callback_changed_add(cb_slide_radio, lb)
+ rd.show()
+ rdg = rd
+
+ rd = elementary.Radio(win)
+ rd.group_add(rdg)
+ rd.state_value = 2
+ rd.text = "slide_long"
+ gd.pack(rd, 35, 65, 30, 15)
+ rd.callback_changed_add(cb_slide_radio, lb)
+ rd.show()
+
+ rd = elementary.Radio(win)
+ rd.group_add(rdg)
+ rd.state_value = 3
+ rd.text = "slide_bounce"
+ gd.pack(rd, 65, 65, 30, 15)
+ rd.callback_changed_add(cb_slide_radio, lb)
+ rd.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Slide Duration"
+ sl.unit_format = "%1.1f units"
+ sl.min_max = (1, 20)
+ sl.value = 10
+ sl.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ sl.callback_changed_add(cb_slider_duration, lb)
+ gd.pack(sl, 5, 80, 90, 15)
+ sl.show()
+
+ win.resize(280, 400)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ label_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_layout.py b/tests/test_layout.py
new file mode 100644
index 0000000..d3fe078
--- /dev/null
+++ b/tests/test_layout.py
@@ -0,0 +1,61 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Layout -{{{-
+def _event(*args, **kargs):
+ print((args, kargs))
+
+def layout_clicked(obj):
+ win = elementary.Window("layout", elementary.ELM_WIN_BASIC)
+ win.title_set("Layout")
+ win.elm_event_callback_add(_event)
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ ly = elementary.Layout(win)
+ ly.file_set("test.edj", "layout")
+ ly.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(ly)
+ ly.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 1")
+ ly.part_content_set("element1", bt)
+ bt.elm_event_callback_add(_event)
+ bt.elm_event_callback_del(_event)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 2")
+ ly.part_content_set("element2", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 3")
+ ly.part_content_set("element3", bt)
+ bt.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ layout_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_list.py b/tests/test_list.py
new file mode 100644
index 0000000..b58ad9f
--- /dev/null
+++ b/tests/test_list.py
@@ -0,0 +1,388 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- List -{{{-
+def my_list_show_it(obj, it):
+ it.show()
+
+def list_clicked(obj, item=None):
+ win = elementary.Window("list", elementary.ELM_WIN_BASIC)
+ win.title_set("List")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ li = elementary.List(win)
+ win.resize_object_add(li)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(1, 1)
+ it1 = li.item_append("Hello", ic)
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ li.item_append("Hello", ic)
+ ic = elementary.Icon(win)
+ ic.standard_set("edit")
+ ic.resizable_set(0, 0)
+ ic2 = elementary.Icon(win)
+ ic2.standard_set("clock")
+ ic2.resizable_set(0, 0)
+ li.item_append(".", ic, ic2)
+
+ ic = elementary.Icon(win)
+ ic.standard_set("delete")
+ ic.resizable_set(0, 0)
+ ic2 = elementary.Icon(win)
+ ic2.standard_set("clock")
+ ic2.resizable_set(0, 0)
+ it2 = li.item_append("How", ic, ic2)
+
+ bx = elementary.Box(win)
+ bx.horizontal_set(True)
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.0)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.0, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(ic)
+ ic.show()
+ li.item_append("are")
+
+ li.item_append("you")
+ it3 = li.item_append("doing")
+ li.item_append("out")
+ li.item_append("there")
+ li.item_append("today")
+ li.item_append("?")
+ it4 = li.item_append("Here")
+ li.item_append("are")
+ li.item_append("some")
+ li.item_append("more")
+ li.item_append("items")
+ li.item_append("Is this label long enough?")
+ it5 = li.item_append("Maybe this one is even longer so we can test long long items.")
+
+ li.go()
+
+ li.show()
+
+ tb2 = elementary.Table(win)
+ tb2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(tb2)
+
+ bt = elementary.Button(win)
+ bt.text_set("Hello")
+ bt.callback_clicked_add(my_list_show_it, it1)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.5)
+ tb2.pack(bt, 0, 0, 1, 1);
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("How")
+ bt.callback_clicked_add(my_list_show_it, it2)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.5)
+ tb2.pack(bt, 0, 1, 1, 1);
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("doing")
+ bt.callback_clicked_add(my_list_show_it, it3)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.5)
+ tb2.pack(bt, 0, 2, 1, 1);
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Here")
+ bt.callback_clicked_add(my_list_show_it, it4)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.5)
+ tb2.pack(bt, 0, 3, 1, 1);
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Maybe this...")
+ bt.callback_clicked_add(my_list_show_it, it5)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.5)
+ tb2.pack(bt, 0, 4, 1, 1);
+ bt.show()
+
+ tb2.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- List2 -{{{-
+def my_list2_clear(bt, li):
+ li.clear()
+
+def my_list2_sel(obj, it):
+ it = obj.selected_item_get()
+ if it is not None:
+ it.selected_set(False)
+
+def list2_clicked(obj, item=None):
+ win = elementary.Window("list-2", elementary.ELM_WIN_BASIC)
+ win.title_set("List 2")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ bg.file_set('images/plant_01.jpg')
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ li = elementary.List(win)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.mode_set(elementary.ELM_LIST_LIMIT)
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ it = li.item_append("Hello", ic, callback=my_list2_sel)
+ it.selected_set(True)
+ ic = elementary.Icon(win)
+ ic.resizable_set(0, 0)
+ ic.file_set('images/logo_small.png')
+ li.item_append("world", ic)
+ ic = elementary.Icon(win)
+ ic.standard_set("edit")
+ ic.resizable_set(0, 0)
+ li.item_append(".", ic)
+
+ ic = elementary.Icon(win)
+ ic.standard_set("delete")
+ ic.resizable_set(0, 0)
+ ic2 = elementary.Icon(win)
+ ic2.standard_set("clock")
+ ic2.resizable_set(0, 0)
+ it2 = li.item_append("How", ic, ic2)
+
+ bx2 = elementary.Box(win)
+ bx2.horizontal_set(True)
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx2.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.0)
+ bx2.pack_end(ic)
+ ic.show()
+
+ li.item_append("are", bx2)
+
+ li.item_append("you")
+ li.item_append("doing")
+ li.item_append("out")
+ li.item_append("there")
+ li.item_append("today")
+ li.item_append("?")
+ li.item_append("Here")
+ li.item_append("are")
+ li.item_append("some")
+ li.item_append("more")
+ li.item_append("items")
+ li.item_append("Longer label.")
+
+ li.go()
+
+ bx.pack_end(li)
+ li.show()
+
+ bx2 = elementary.Box(win)
+ bx2.horizontal_set(True)
+ bx2.homogeneous_set(True)
+ bx2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+ bt = elementary.Button(win)
+ bt.text_set("Clear")
+ bt.callback_clicked_add(my_list2_clear, li)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ bx2.pack_end(bt)
+ bt.show()
+
+ bx.pack_end(bx2)
+ bx2.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- List3 -{{{-
+def list3_clicked(obj, item=None):
+ win = elementary.Window("list-3", elementary.ELM_WIN_BASIC)
+ win.title_set("List 3")
+ win.autodel_set(True)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ li = elementary.List(win)
+ win.resize_object_add(li)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.mode_set(elementary.ELM_LIST_COMPRESS)
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ li.item_append("Hello", ic)
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ li.item_append("world", ic)
+ ic = elementary.Icon(win)
+ ic.standard_set("edit")
+ ic.resizable_set(0, 0)
+ li.item_append(".", ic)
+
+ ic = elementary.Icon(win)
+ ic.standard_set("delete")
+ ic.resizable_set(0, 0)
+ ic2 = elementary.Icon(win)
+ ic2.standard_set("clock")
+ ic2.resizable_set(0, 0)
+ it2 = li.item_append("How", ic, ic2)
+
+ bx = elementary.Box(win)
+ bx.horizontal_set(True)
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.5)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.5, 0.0)
+ bx.pack_end(ic)
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ ic.size_hint_align_set(0.0, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(ic)
+ ic.show()
+
+ li.item_append("are", bx)
+ li.item_append("you")
+ li.item_append("doing")
+ li.item_append("out")
+ li.item_append("there")
+ li.item_append("today")
+ li.item_append("?")
+ li.item_append("Here")
+ li.item_append("are")
+ li.item_append("some")
+ li.item_append("more")
+ li.item_append("items")
+ li.item_append("Is this label long enough?")
+ it5 = li.item_append("Maybe this one is even longer so we can test long long items.")
+
+ li.go()
+
+ li.show()
+
+ win.resize(320, 300)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ def destroy(obj):
+ elementary.exit()
+
+ elementary.init()
+ win = elementary.Window("test", elementary.ELM_WIN_BASIC)
+ win.title_set("python-elementary test application")
+ win.callback_delete_request_add(destroy)
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ box0 = elementary.Box(win)
+ box0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(box0)
+ box0.show()
+
+ fr = elementary.Frame(win)
+ fr.text_set("Information")
+ box0.pack_end(fr)
+ fr.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Please select a test from the list below<br>"
+ "by clicking the test button to show the<br>"
+ "test window.")
+ fr.content_set(lb)
+ lb.show()
+
+ items = [("List", list_clicked),
+ ("List 2", list2_clicked),
+ ("List 3", list3_clicked)]
+
+ li = elementary.List(win)
+ li.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ box0.pack_end(li)
+ li.show()
+
+ for item in items:
+ li.item_append(item[0], callback=item[1])
+
+ li.go()
+
+ win.resize(320,520)
+ win.show()
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_map.py b/tests/test_map.py
new file mode 100644
index 0000000..8e7533e
--- /dev/null
+++ b/tests/test_map.py
@@ -0,0 +1,179 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import random
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Map -{{{-
+def print_map_info(Map):
+ print("---Map info---")
+ # print("user_agent: %s" % (Map.user_agent))
+ print("zoom:%d (min:%d max:%d mode:%d)" %
+ (Map.zoom, Map.zoom_min, Map.zoom_max, Map.zoom_mode))
+ print("region:%f %f" % Map.region)
+
+ (x, y) = Map.center
+ print("map_center:%d %d" % (x, y))
+ (lon, lat) = Map.canvas_to_region_convert(x, y)
+ print("canvas_to_region:%f %f" % (lon, lat))
+ (x2, y2) = Map.region_to_canvas_convert(lon, lat)
+ print("region_to_canvas:%d %d (should be equal to %d %d)" % (x2, y2, x, y))
+
+def cb_btn_zoom(bt, Map, zoom):
+ Map.zoom += zoom
+ print_map_info(Map)
+
+def cb_btn_show(bt, Map, lon, lat):
+ Map.region_show(lon, lat)
+ print_map_info(Map)
+
+def cb_btn_bringin(bt, Map, lon, lat):
+ Map.region_bring_in(lon, lat)
+ print_map_info(Map)
+
+def cb_slider_rot(sl, Map):
+ (cx, cy) = Map.center
+ Map.rotate_set(sl.value, cx, cy)
+ print("New rotate: %f %d %d" % Map.rotate)
+
+def cb_hovsel_selected(hov, item, Map, type):
+ Map.source_set(type, item.text)
+ hov.text = "Tiles: %s" % (item.text)
+
+def map_clicked(obj):
+ win = elementary.Window("map", elementary.ELM_WIN_BASIC)
+ win.title = "Map test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ Map = elementary.Map(win)
+ Map.zoom = 2
+ Map.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ Map.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ # Map.callback_clicked_add(cb_map_clicked)
+ vbox.pack_end(Map)
+ Map.show()
+
+ # view
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Zoom +"
+ bt.callback_clicked_add(cb_btn_zoom, Map, 1)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Zoom -"
+ bt.callback_clicked_add(cb_btn_zoom, Map, -1)
+ hbox.pack_end(bt)
+ bt.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Rotation:"
+ sl.min_max = (0, 360)
+ sl.value = 0
+ sl.indicator_format = "%3.0f"
+ sl.callback_changed_add(cb_slider_rot, Map)
+ hbox.pack_end(sl)
+ sl.show()
+
+ ho = elementary.Hoversel(win)
+ ho.hover_parent_set(win)
+ type = elementary.ELM_MAP_SOURCE_TYPE_TILE
+ ho.text_set("Tiles: %s" % (Map.source_get(type)))
+ for src in Map.sources_get(type):
+ ho.item_add(src)
+ ho.callback_selected_add(cb_hovsel_selected, Map, type)
+ hbox.pack_end(ho)
+ ho.show()
+
+ # show / bring in
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Show Sydney"
+ bt.callback_clicked_add(cb_btn_show, Map, 151.175274, -33.859126)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Show Paris"
+ bt.callback_clicked_add(cb_btn_show, Map, 2.342913, 48.853701)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "BringIn Sydney"
+ bt.callback_clicked_add(cb_btn_bringin, Map, 151.175274, -33.859126)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "BringIn Paris"
+ bt.callback_clicked_add(cb_btn_bringin, Map, 2.342913, 48.853701)
+ hbox.pack_end(bt)
+ bt.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ # options
+ ck = elementary.Check(win)
+ ck.text = "wheel_disabled"
+ ck.callback_changed_add(lambda bt: Map.wheel_disabled_set(bt.state))
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text = "paused"
+ ck.callback_changed_add(lambda bt: Map.paused_set(bt.state))
+ hbox.pack_end(ck)
+ ck.show()
+
+ print_map_info(Map)
+
+ win.resize(600, 600)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ map_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_map2.py b/tests/test_map2.py
new file mode 100644
index 0000000..54d7d9d
--- /dev/null
+++ b/tests/test_map2.py
@@ -0,0 +1,223 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import random
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Map Overlays -{{{-
+def cb_btn_clear_overlays(bt, Map):
+ for ov in Map.overlays:
+ print ov, ov.type
+ if (ov.type != elementary.ELM_MAP_OVERLAY_TYPE_CLASS):
+ ov.delete()
+
+def cb_btn_ungroup_overlays(bt, Map):
+ for ov in Map.overlays:
+ if isinstance(ov, elementary.MapOverlayClass):
+ print ov
+ # TODO ungroup instead
+ for ov2 in ov.members:
+ ov.delete()
+
+def cb_btn_show_overlays(bt, Map):
+ Map.overlays_show(Map.overlays)
+
+def cb_chk_overlays_hidden(ck, Map):
+ for ov in Map.overlays:
+ ov.hide = ck.state
+
+def cb_chk_overlays_paused(ck, Map):
+ for ov in Map.overlays:
+ ov.paused = ck.state
+
+def cb_overlay_clicked(Map, ov):
+ ov.delete()
+
+def cb_ctx_overlay_add(li, item, Map, lon, lat, min_zoom = 0, icon = None):
+ item.widget_get().dismiss()
+ ov = Map.overlay_add(lon, lat)
+ if min_zoom > 0:
+ ov.displayed_zoom_min = min_zoom
+ if icon:
+ ov.icon = icon
+
+ ov.callback_clicked_set(cb_overlay_clicked)
+
+def cb_ctx_overlay_add_custom(li, item, Map, lon, lat):
+ item.widget_get().dismiss()
+ cont = elementary.Icon(Map)
+ cont.file_set("images/sky_01.jpg")
+ cont.size_hint_min = (50, 50)
+ cont.show()
+ ov = Map.overlay_add(lon, lat)
+ ov.content = cont
+
+def cb_ctx_overlay_add_random_color(li, item, Map, lon, lat):
+ item.widget_get().dismiss()
+ ov = Map.overlay_add(lon, lat)
+ ov.color = (random.randint(0, 255), random.randint(0, 255),
+ random.randint(0, 255), 200)
+
+def cb_ctx_overlay_grouped(li, item, Map, lon, lat, sx, sy):
+ item.widget_get().dismiss()
+ cls = Map.overlay_class_add()
+ for x in range(4):
+ for y in range(4):
+ (lon, lat) = Map.canvas_to_region_convert(sx + x * 10, sy + y * 10)
+ ov = Map.overlay_add(lon, lat)
+ cls.append(ov)
+
+def cb_ctx_overlay_bubble(li, item, Map, lon, lat):
+ item.widget_get().dismiss()
+
+ ov = Map.overlay_add(lon, lat)
+ bub = Map.overlay_bubble_add()
+ bub.follow(ov)
+
+ lb = elementary.Label(Map)
+ lb.text = "You can push contents here"
+ bub.content_append(lb)
+ lb.show()
+
+ ic = elementary.Icon(Map)
+ ic.file_set("images/sky_01.jpg")
+ ic.size_hint_min = (50, 50)
+ bub.content_append(ic)
+ ic.show()
+
+ bt = elementary.Button(Map)
+ bt.text = "clear me"
+ bt.callback_clicked_add(lambda bt:bub.content_clear())
+ bub.content_append(bt)
+ bt.show()
+
+def cb_ctx_overlay_line(li, item, Map, lon, lat):
+ item.widget_get().dismiss()
+ line = Map.overlay_line_add(lon, lat, lon + 1, lat + 1)
+
+def cb_ctx_overlay_polygon(li, item, Map, lon, lat):
+ item.widget_get().dismiss()
+ poly = Map.overlay_polygon_add()
+ poly.region_add(lon, lat)
+ poly.region_add(lon + 1, lat + 1)
+ poly.region_add(lon + 1, lat - 1)
+ poly.region_add(lon - 1, lat)
+
+def cb_ctx_overlay_circle(li, item, Map, lon, lat, radius):
+ item.widget_get().dismiss()
+ Map.overlay_circle_add(lon, lat, radius)
+
+def cb_ctx_overlay_scale(li, item, Map, x, y):
+ item.widget_get().dismiss()
+ Map.overlay_scale_add(x, y)
+
+def test(li, item, Map, lon, lat):
+ print li
+ print item
+ print Map
+ # ctx.dismiss()
+ ov = Map.overlay_add(lon, lat)
+
+def cb_map_clicked(Map):
+ (x, y) = Map.evas.pointer_canvas_xy_get()
+ (lon, lat) = Map.canvas_to_region_convert(x, y)
+ cp = elementary.Ctxpopup(Map)
+ cp.item_append("%f %f" % (lon, lat), None, None).disabled = True
+ cp.item_append("Add Overlay here", None, cb_ctx_overlay_add, Map, lon, lat)
+ ic = elementary.Icon(Map)
+ ic.file_set("images/logo.png")
+ cp.item_append("Add Overlay with icon", None, cb_ctx_overlay_add, Map, lon, lat, 0, ic)
+ cp.item_append("Add Overlay custom content", None, cb_ctx_overlay_add_custom, Map, lon, lat)
+ cp.item_append("Add Overlay random color", None, cb_ctx_overlay_add_random_color, Map, lon, lat)
+ cp.item_append("Add Overlay (min zoom 4)", None, cb_ctx_overlay_add, Map, lon, lat, 4)
+ cp.item_append("Add 16 Grouped Overlays", None, cb_ctx_overlay_grouped, Map, lon, lat, x, y)
+ cp.item_append("Add one with a bubble attached", None, cb_ctx_overlay_bubble, Map, lon, lat)
+ cp.item_append("Add an Overlay Line", None, cb_ctx_overlay_line, Map, lon, lat)
+ cp.item_append("Add an Overlay Polygon", None, cb_ctx_overlay_polygon, Map, lon, lat)
+ cp.item_append("Add an Overlay Circle", None, cb_ctx_overlay_circle, Map, lon, lat, 10)
+ cp.item_append("Add an Overlay Scale", None, cb_ctx_overlay_scale, Map, x, y)
+ cp.move(x, y)
+ cp.show()
+
+def map_overlays_clicked(obj):
+ win = elementary.Window("map2", elementary.ELM_WIN_BASIC)
+ win.title = "Map Overlay test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ Map = elementary.Map(win)
+ Map.zoom = 2
+ Map.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ Map.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ Map.callback_clicked_add(cb_map_clicked)
+ vbox.pack_end(Map)
+ Map.show()
+
+ # overlays
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ ck = elementary.Check(win)
+ ck.text = "overlays hidden"
+ ck.callback_changed_add(cb_chk_overlays_hidden, Map)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.text = "overlays paused"
+ ck.callback_changed_add(cb_chk_overlays_paused, Map)
+ hbox.pack_end(ck)
+ ck.show()
+
+ bt = elementary.Button(win)
+ bt.text = "clear overlays"
+ bt.callback_clicked_add(cb_btn_clear_overlays, Map)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "ungroup (BROKEN)"
+ bt.callback_clicked_add(cb_btn_ungroup_overlays, Map)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "overlays_show()"
+ bt.callback_clicked_add(cb_btn_show_overlays, Map)
+ hbox.pack_end(bt)
+ bt.show()
+
+ win.resize(600, 600)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ map_overlays_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_map3.py b/tests/test_map3.py
new file mode 100644
index 0000000..e6f0935
--- /dev/null
+++ b/tests/test_map3.py
@@ -0,0 +1,268 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import random
+import elementary
+import edje
+import ecore
+import evas
+
+
+_from = None
+_to = None
+
+#----- Map Route -{{{-
+
+def cb_btn_goto(bt, Map):
+ Map.zoom = 12
+ Map.region_show(9.204, 45.446)
+
+def cb_ctx_set_from(ctx, item, Map, lon, lat):
+ global _from
+
+ ctx.dismiss()
+ if _from is None:
+ _from = Map.overlay_add(lon, lat)
+ _from.color = (150, 0, 0, 150)
+ else:
+ _from.region = (lon, lat)
+
+def cb_ctx_set_to(ctx, item, Map, lon, lat):
+ global _to
+
+ ctx.dismiss()
+ if _to is None:
+ _to = Map.overlay_add(lon, lat)
+ _to.color = (0, 0, 150, 150)
+ else:
+ _to.region = (lon, lat)
+
+def cb_btn_calc_route(bt, Map):
+ if not (_from and _to):
+ return
+
+ (flon, flat) = _from.region
+ (tlon, tlat) = _to.region
+ Map.route_add(elementary.ELM_MAP_ROUTE_TYPE_MOTOCAR,
+ elementary.ELM_MAP_ROUTE_METHOD_FASTEST,
+ flon, flat, tlon, tlat, cb_route)
+
+ lb = Map.data["lb_distance"]
+ lb.text = "requesting route..."
+
+def cb_btn_search_name(bt, Map, en):
+ Map.name_add(en.text, 0, 0, cb_search_name, en)
+ en.text = "searching..."
+
+def cb_search_name(Map, name, en):
+ global _name
+
+ en.text = name.address
+ (lon, lat) = name.region
+ Map.zoom = 12
+ Map.region_show(lon, lat)
+
+ if _from is None:
+ _from = Map.overlay_add(lon, lat)
+ _from.color = (150, 0, 0, 150)
+ else:
+ _from.region = (lon, lat)
+
+def cb_btn_search_region(bt, Map, en):
+ if _from is None:
+ return
+ (lon, lat) = _from.region
+ Map.name_add(None, lon, lat, cb_search_region, en)
+ en.text = "searching..."
+
+def cb_search_region(Map, name, en):
+ global _name
+
+ en.text = name.address
+
+def cb_route(Map, route):
+ nodes = route.node.count('\n')
+ lb = Map.data["lb_distance"]
+ lb.text = "distance: %.2f Km nodes:%d" % (route.distance, nodes)
+
+ ov = Map.overlay_route_add(route)
+
+ print("Node: %s" % (route.node))
+ print("Waypoint %s" % (route.waypoint))
+
+def cb_btn_clear_overlays(btn, Map):
+ for ov in Map.overlays:
+ if ov != _from and ov != _to:
+ ov.delete()
+
+def cb_map_clicked(Map):
+ (x, y) = Map.evas.pointer_canvas_xy_get()
+ (lon, lat) = Map.canvas_to_region_convert(x, y)
+ cp = elementary.Ctxpopup(Map)
+ cp.item_append("%f %f" % (lon, lat)).disabled = True
+ cp.item_append("Set start point", None, cb_ctx_set_from, Map, lon, lat)
+ cp.item_append("Set end point", None, cb_ctx_set_to, Map, lon, lat)
+ cp.move(x, y)
+ cp.show()
+
+def cb_map_load(Map):
+ lb = Map.data["lb_load_status"]
+ lb.text = "tile_load_status: %d / %d" % Map.tile_load_status_get()
+
+def cb_hovsel_selected(hov, item, Map, type, name):
+ Map.source_set(type, item.text)
+ hov.text = "%s: %s" % (name, item.text)
+
+def map_route_clicked(obj):
+ win = elementary.Window("maproute", elementary.ELM_WIN_BASIC)
+ win.title = "Map Route test"
+ win.autodel = True
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ Map = elementary.Map(win)
+ Map.zoom = 2
+ Map.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ Map.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ Map.callback_clicked_add(cb_map_clicked)
+ Map.callback_tile_load_add(cb_map_load)
+ Map.callback_tile_loaded_add(cb_map_load)
+ vbox.pack_end(Map)
+ Map.show()
+
+ lb = elementary.Label(win)
+ lb.text = "load_status: 0 / 0"
+ vbox.pack_end(lb)
+ lb.show()
+ Map.data["lb_load_status"] = lb
+
+ lb = elementary.Label(win)
+ lb.text = "First set Start and End point and then click 'Calc Route !'"
+ vbox.pack_end(lb)
+ lb.show()
+ Map.data["lb_distance"] = lb
+
+ # info
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ # route
+ ho = elementary.Hoversel(win)
+ ho.hover_parent_set(win)
+ type = elementary.ELM_MAP_SOURCE_TYPE_ROUTE
+ ho.text_set("Routes: %s" % (Map.source_get(type)))
+ for src in Map.sources_get(type):
+ ho.item_add(src)
+ ho.callback_selected_add(cb_hovsel_selected, Map, type, "Routes")
+ hbox.pack_end(ho)
+ ho.show()
+
+ sep = elementary.Separator(win)
+ sep.show()
+ hbox.pack_end(sep)
+
+ bt = elementary.Button(win)
+ bt.text = "GOTO"
+ bt.callback_clicked_add(cb_btn_goto, Map)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Calc Route !"
+ bt.callback_clicked_add(cb_btn_calc_route, Map)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "clear route overlays"
+ bt.callback_clicked_add(cb_btn_clear_overlays, Map)
+ hbox.pack_end(bt)
+ bt.show()
+
+ # names
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ ho = elementary.Hoversel(win)
+ ho.hover_parent_set(win)
+ type = elementary.ELM_MAP_SOURCE_TYPE_NAME
+ ho.text_set("Names: %s" % (Map.source_get(type)))
+ for src in Map.sources_get(type):
+ ho.item_add(src)
+ ho.callback_selected_add(cb_hovsel_selected, Map, type, "Names")
+ hbox.pack_end(ho)
+ ho.show()
+
+ en = elementary.Entry(win)
+ en.scrollable = True
+ en.single_line = True
+ en.text = "type an address here"
+ en.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ en.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ hbox.pack_end(en)
+ en.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Search Address !"
+ bt.callback_clicked_add(cb_btn_search_name, Map, en)
+ hbox.pack_end(bt)
+ bt.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ en = elementary.Entry(win)
+ en.scrollable = True
+ en.single_line = True
+ en.disabled = True
+ en.text = "place the start point and press the button"
+ en.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ en.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ hbox.pack_end(en)
+ en.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Search start point Region"
+ bt.callback_clicked_add(cb_btn_search_region, Map, en)
+ hbox.pack_start(bt)
+ bt.show()
+
+
+
+ win.resize(600, 600)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ map_route_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_mapbuf.py b/tests/test_mapbuf.py
new file mode 100644
index 0000000..30e0fd2
--- /dev/null
+++ b/tests/test_mapbuf.py
@@ -0,0 +1,196 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- mapbuf -{{{-
+
+names = [ "Hello", "World", "Spam", "Egg", "Ham", "Good", "Bad", "Milk",
+ "Smell", "Of", "Sky", "Gold", "Hole", "Pig", "And", "Calm"]
+
+mb_list = []
+
+def cb_btn_close(btn, win):
+ win.delete()
+
+def cb_ck_map(ck):
+ for mb in mb_list:
+ mb.enabled = ck.state
+
+def cb_ck_alpha(ck):
+ for mb in mb_list:
+ mb.alpha = ck.state
+
+def cb_ck_smooth(ck):
+ for mb in mb_list:
+ mb.smooth = ck.state
+
+def cb_ck_fs(ck, win):
+ win.fullscreen = ck.state
+
+def mapbuf_clicked(obj, item=None):
+ global mb_list
+
+ win = elementary.Window("mapbuf", elementary.ELM_WIN_BASIC)
+ win.title_set("Mapbuf test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ bg.file = "images/sky_04.jpg"
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ # launcher
+ sc = elementary.Scroller(win);
+ sc.bounce = (True, False)
+ sc.policy = (elementary.ELM_SCROLLER_POLICY_OFF, elementary.ELM_SCROLLER_POLICY_OFF)
+ sc.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ sc.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sc)
+
+ bx = elementary.Box(win)
+ bx.horizontal = True
+ bx.homogeneous = True
+ bx.show()
+
+ for k in range(8):
+ tb = elementary.Table(win)
+ tb.size_hint_align = (0.5, 0.5)
+ tb.size_hint_weight = (0.0, 0.0)
+ tb.show()
+
+ pad = evas.Rectangle(win.evas)
+ pad.color = (255, 255, 0, 255)
+ pad.size_hint_min = (464, 4)
+ pad.size_hint_weight = (0.0, 0.0)
+ pad.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ pad.show()
+ tb.pack(pad, 1, 0, 5, 1)
+
+ pad = evas.Rectangle(win.evas)
+ pad.color = (255, 255, 0, 255)
+ pad.size_hint_min = (464, 4)
+ pad.size_hint_weight = (0.0, 0.0)
+ pad.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ pad.show()
+ tb.pack(pad, 1, 11, 5, 1)
+
+ pad = evas.Rectangle(win.evas)
+ pad.color = (255, 255, 0, 255)
+ pad.size_hint_min = (4, 4)
+ pad.size_hint_weight = (0.0, 0.0)
+ pad.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ pad.show()
+ tb.pack(pad, 0, 1, 1, 10)
+
+ pad = evas.Rectangle(win.evas)
+ pad.color = (255, 255, 0, 255)
+ pad.size_hint_min = (4, 4)
+ pad.size_hint_weight = (0.0, 0.0)
+ pad.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ pad.show()
+ tb.pack(pad, 6, 1, 1, 10)
+
+ mb = elementary.Mapbuf(win)
+ mb_list.append(mb)
+ mb.content = tb
+ bx.pack_end(mb)
+ mb.show()
+
+ n = m = 0
+ for j in range(5):
+ for i in range(5):
+ ic = elementary.Icon(win)
+ ic.scale_set(0.5)
+ ic.file_set("images/icon_%02d.png" % (n));
+ ic.resizable_set(0, 0)
+ ic.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ic.size_hint_align_set(0.5, 0.5)
+ tb.pack(ic, 1 + i, 1 + (j * 2), 1, 1)
+ ic.show()
+
+ lb = elementary.Label(win)
+ lb.style = "marker"
+ lb.text = names[m]
+ tb.pack(lb, 1 + i, 1 + (j * 2) + 1, 1, 1)
+ lb.show()
+
+ n = n + 1 if n < 23 else 0
+ m = m + 1 if m < 15 else 0
+
+ sc.content = bx
+ sc.page_relative_set(1.0, 1.0)
+ sc.show()
+
+ # controls
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.homogeneous = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ vbox.pack_start(hbox)
+ hbox.show()
+
+ ck = elementary.Check(win)
+ ck.text = "Map"
+ ck.state = False
+ ck.callback_changed_add(cb_ck_map)
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.callback_changed_add(cb_ck_alpha)
+ ck.text = "Alpha"
+ ck.state = True
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.callback_changed_add(cb_ck_smooth)
+ ck.text = "Smooth"
+ ck.state = True
+ hbox.pack_end(ck)
+ ck.show()
+
+ ck = elementary.Check(win)
+ ck.callback_changed_add(cb_ck_fs, win)
+ ck.text = "FS"
+ ck.state = False
+ hbox.pack_end(ck)
+ ck.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_btn_close, win)
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ hbox.pack_end(bt)
+ bt.show()
+
+ win.resize(480, 800)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ mapbuf_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_menu.py b/tests/test_menu.py
new file mode 100644
index 0000000..5b1d670
--- /dev/null
+++ b/tests/test_menu.py
@@ -0,0 +1,105 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Menu -{{{-
+def menu_show(rect, evtinfo, menu):
+ (x,y) = evtinfo.position.canvas
+ menu.move(x, y)
+ menu.show()
+
+def menu_populate_4(menu, item):
+ menu.item_add(item, "menu 2", "clock")
+
+ item2 = menu.item_add(item, "menu 3", "folder-new")
+
+ menu.item_separator_add(item)
+
+ item3 = menu.item_add(item, "Disabled item", "document-print");
+ item3.disabled = True
+
+ item3 = menu.item_add(item, "Disabled item", "mail-send");
+ item3.disabled = True
+
+ item3 = menu.item_add(item, "Disabled item", "refresh");
+ item3.disabled = True
+
+def menu_populate_3(menu, item):
+ menu.item_add(item, "menu 2", "refresh")
+
+ item2 = menu.item_add(item, "menu 3", "mail-send")
+
+ menu.item_separator_add(item)
+
+ item3 = menu.item_add(item, "Disabled item", "clock");
+ item3.disabled = True
+
+def menu_populate_2(menu, item):
+ menu.item_add(item, "menu 2", "document-print")
+
+ item2 = menu.item_add(item, "menu 3", "folder-new")
+
+ menu_populate_3(menu, item2)
+
+ menu.item_separator_add(item)
+
+ item2 = menu.item_add(item, "menu 2", "refresh");
+
+ menu.item_separator_add(item)
+
+ item3 = menu.item_add(item, "Disabled item", "mail-send");
+ item3.disabled = True
+
+ menu_populate_4(menu, item2)
+
+def menu_populate_1(menu, item):
+ item2 = menu.item_add(item, "menu 1", "refresh")
+
+ menu_populate_2(menu, item2)
+
+def menu_clicked(obj):
+ win = elementary.Window("menu", elementary.ELM_WIN_BASIC)
+ win.title_set("Menu test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ rect = evas.Rectangle(win.evas_get())
+ win.resize_object_add(rect)
+ rect.color_set(0, 0, 0, 0)
+ rect.show()
+
+ menu = elementary.Menu(win)
+ item = menu.item_add(None, "first item", "clock")
+
+ item = menu.item_add(None, "second item", "mail-send")
+ menu_populate_1(menu, item)
+
+ menu.item_add(item, "sub menu", "refresh")
+
+ rect.event_callback_add(evas.EVAS_CALLBACK_MOUSE_DOWN, menu_show, menu)
+
+ win.resize(350, 200)
+ win.show()
+
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ menu_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_multibuttonentry.py b/tests/test_multibuttonentry.py
new file mode 100644
index 0000000..78306f8
--- /dev/null
+++ b/tests/test_multibuttonentry.py
@@ -0,0 +1,177 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- MultiButtonEntry -{{{-
+counter = 0
+
+def cb_item_selected(mbe, item):
+ print "cb!!!!!!!!!!!" # TODO this is never called
+ print mbe
+ print item
+
+def cb_btn_item_prepend(btn, mbe):
+ global counter
+
+ counter += 1
+ item = mbe.item_prepend("item #%d" % (counter), cb_item_selected, "PippO")
+
+def cb_btn_item_append(btn, mbe):
+ global counter
+
+ counter += 1
+ item = mbe.item_append("item #%d" % (counter), cb_item_selected, "PippO")
+
+def cb_btn_item_insert_after(btn, mbe):
+ global counter
+
+ counter += 1
+ after = mbe.selected_item
+ item = mbe.item_insert_after(after, "item #%d" % (counter), cb_item_selected)
+
+def cb_btn_item_insert_before(btn, mbe):
+ global counter
+
+ counter += 1
+ before = mbe.selected_item
+ item = mbe.item_insert_before(before, "item #%d" % (counter), cb_item_selected)
+
+def cb_btn_clear2(btn, mbe):
+ for item in mbe.items:
+ item.delete()
+
+def cb_filter1(mbe, text):
+ return True
+
+def multibuttonentry_clicked(obj, item=None):
+ win = elementary.Window("multibuttonentry", elementary.ELM_WIN_BASIC)
+ win.title_set("MultiButtonEntry test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ sc = elementary.Scroller(win)
+ sc.bounce = (False, True)
+ sc.policy = (elementary.ELM_SCROLLER_POLICY_OFF, elementary.ELM_SCROLLER_POLICY_AUTO)
+ sc.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ sc.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sc)
+ sc.show()
+
+ mbe = elementary.MultiButtonEntry(win)
+ mbe.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ mbe.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ mbe.text = "To: "
+ mbe.part_text_set("guide", "Tap to add recipient")
+ mbe.filter_append(cb_filter1)
+ sc.content = mbe
+ mbe.show()
+
+ print mbe.entry
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ bt = elementary.Button(win)
+ bt.text = "item_append"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_btn_item_append, mbe)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "item_prepend"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_btn_item_prepend, mbe)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "item_insert_after"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_btn_item_insert_after, mbe)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "item_insert_before"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_btn_item_insert_before, mbe)
+ hbox.pack_end(bt)
+ bt.show()
+
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ bt = elementary.Button(win)
+ bt.text = "delete selected item"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(lambda btn: mbe.selected_item.delete())
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "clear"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(lambda bt: mbe.clear())
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "clear2"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_btn_clear2, mbe)
+ hbox.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "toggle expand"
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(lambda btn: mbe.expanded_set(not mbe.expanded_get()))
+ hbox.pack_end(bt)
+ bt.show()
+
+ mbe.focus = True
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ multibuttonentry_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_naviframe.py b/tests/test_naviframe.py
new file mode 100644
index 0000000..5bd1695
--- /dev/null
+++ b/tests/test_naviframe.py
@@ -0,0 +1,144 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Naviframe -{{{-
+def content_new(parent, img):
+ photo = elementary.Photo(parent)
+ photo.file_set(img)
+ photo.fill_inside_set(True)
+ photo.style_set("shadow")
+ return photo
+
+def navi_pop(bt, nf):
+ nf.item_pop()
+
+def navi_promote(bt, nf, item):
+ item.item_promote()
+
+def title_visible(obj, item):
+ item.title_visible = not item.title_visible
+
+def page2(bt, nf):
+ ic = elementary.Icon(nf)
+ ic.file_set("images/icon_right_arrow.png")
+ bt = elementary.Button(nf)
+ bt.callback_clicked_add(page3, nf)
+ bt.content_set(ic)
+
+ content = content_new(nf, "images/plant_01.jpg");
+ item = nf.item_push("Page 2", None, bt, content, "basic")
+ item.part_text_set("subtitle", "Here is sub-title part!")
+
+def page3(bt, nf):
+ bt = elementary.Button(nf)
+ bt.callback_clicked_add(navi_pop, nf)
+ bt.text_set("Prev")
+
+ bt2 = elementary.Button(nf)
+ bt2.callback_clicked_add(page4, nf)
+ bt2.text_set("Next")
+
+ content = content_new(nf, "images/rock_01.jpg");
+ item = nf.item_push("Page 3", bt, bt2, content, "basic")
+ ic = elementary.Icon(nf)
+ ic.file_set("images/logo_small.png")
+ item.part_content_set("icon", ic)
+
+def page4(bt, nf):
+ ic = elementary.Icon(nf)
+ ic.file_set("images/icon_right_arrow.png")
+ bt = elementary.Button(nf)
+ bt.callback_clicked_add(page5, nf)
+ bt.content_set(ic)
+
+ content = content_new(nf, "images/rock_02.jpg");
+ item = nf.item_push("Page 4", None, bt, content, "basic")
+ ic = elementary.Icon(nf)
+ ic.file_set("images/logo_small.png")
+ item.part_content_set("icon", ic)
+ item.part_text_set("subtitle", "Title area visibility test")
+ item.title_visible_set(False)
+ content.callback_clicked_add(title_visible, item)
+
+def page5(bt, nf):
+ bt = elementary.Button(nf)
+ bt.callback_clicked_add(navi_pop, nf)
+ bt.text_set("Page 4")
+
+ bt2 = elementary.Button(nf)
+ bt2.callback_clicked_add(page6, nf)
+ bt2.text_set("Page 6")
+
+ content = content_new(nf, "images/sky_01.jpg");
+ item = nf.item_insert_after(nf.top_item_get(), "Page 5", bt, bt2, content, "basic")
+ item.part_text_set("subtitle", "This page is inserted without transition (TODO)")
+
+def page6(bt, nf):
+ bt = elementary.Button(nf)
+ bt.callback_clicked_add(navi_pop, nf)
+ bt.text_set("Page 5")
+
+ bt2 = elementary.Button(nf)
+ bt2.callback_clicked_add(page7, nf)
+ bt2.text_set("Page 7")
+
+ content = content_new(nf, "images/sky_03.jpg");
+ item = nf.item_push("Page 6", bt, bt2, content, "overlap")
+ item.part_text_set("subtitle", "Overlap style!")
+
+def page7(bt, nf):
+ bt = elementary.Button(nf)
+ bt.callback_clicked_add(navi_pop, nf)
+ bt.text_set("Page 6")
+
+ bt2 = elementary.Button(nf)
+ bt2.callback_clicked_add(navi_promote, nf, nf.data["page1"])
+ bt2.text_set("Page 1")
+
+ content = content_new(nf, "images/sky_02.jpg");
+ item = nf.item_push("Page 7", bt, bt2, content, "overlap")
+ item.part_text_set("subtitle", "Overlap style!")
+
+
+def naviframe_clicked(obj):
+ win = elementary.Window("naviframe", elementary.ELM_WIN_BASIC)
+ win.title_set("Naviframe test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.show()
+
+ nf = elementary.Naviframe(win)
+ win.resize_object_add(nf)
+ nf.show()
+
+ bt = elementary.Button(win)
+ bt.callback_clicked_add(page2, nf)
+ bt.text_set("Next")
+
+ content = content_new(nf, "images/logo.png")
+ item = nf.item_push("Page 1", None, bt, content, "basic")
+ nf.data["page1"] = item
+
+ win.resize(400, 600)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ naviframe_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_notify.py b/tests/test_notify.py
new file mode 100644
index 0000000..e36024f
--- /dev/null
+++ b/tests/test_notify.py
@@ -0,0 +1,124 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Notify -{{{-
+def notify_close(bt, notify):
+ notify.hide()
+
+def notify_show(bt, win, orient):
+ notify = elementary.Notify(win)
+ notify.repeat_events_set(False)
+ notify.timeout_set(5)
+ notify.orient_set(orient)
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.horizontal_set(True)
+ notify.content_set(bx)
+ bx.show()
+
+ lb = elementary.Label(win)
+ lb.text_set("Text notification")
+ bx.pack_end(lb)
+ lb.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Close")
+ bt.callback_clicked_add(notify_close, notify)
+ bx.pack_end(bt)
+ bt.show()
+ notify.show()
+
+def notify_clicked(obj):
+ win = elementary.Window("notify", elementary.ELM_WIN_BASIC)
+ win.title_set("Notify test")
+ win.autodel_set(True)
+ win.size_hint_min_set(160, 160)
+ win.size_hint_max_set(320, 320)
+ win.resize(320, 320)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ tb = elementary.Table(win)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(tb)
+ tb.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_TOP)
+ tb.pack(bt, 1, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Center")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_CENTER)
+ tb.pack(bt, 1, 1, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Bottom")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_BOTTOM)
+ tb.pack(bt, 1, 2, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Left")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_LEFT)
+ tb.pack(bt, 0, 1, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top Left")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_TOP_LEFT)
+ tb.pack(bt, 0, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Bottom Left")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_BOTTOM_LEFT)
+ tb.pack(bt, 0, 2, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Right")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_RIGHT)
+ tb.pack(bt, 2, 1, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Top Right")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_TOP_RIGHT)
+ tb.pack(bt, 2, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Bottom Right")
+ bt.callback_clicked_add(notify_show, win, elementary.ELM_NOTIFY_ORIENT_BOTTOM_RIGHT)
+ tb.pack(bt, 2, 2, 1, 1)
+ bt.show()
+
+ win.show()
+
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ notify_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_panel.py b/tests/test_panel.py
new file mode 100644
index 0000000..fcc359a
--- /dev/null
+++ b/tests/test_panel.py
@@ -0,0 +1,56 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Panel -{{{-
+def panel_clicked(obj):
+ win = elementary.Window("panel", elementary.ELM_WIN_BASIC)
+ win.title_set("Panel test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ panel = elementary.Panel(win)
+ panel.orient = elementary.ELM_PANEL_ORIENT_LEFT
+ panel.size_hint_weight_set(0.0, evas.EVAS_HINT_EXPAND);
+ panel.size_hint_align_set(0.0, evas.EVAS_HINT_FILL);
+
+ bt = elementary.Button(win)
+ bt.text_set("HIDE ME :)")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND);
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL);
+ bt.show()
+
+ panel.content_set(bt)
+
+ bx.pack_end(panel)
+ panel.show()
+
+ win.resize(300, 300)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ panel_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_panes.py b/tests/test_panes.py
new file mode 100644
index 0000000..a912ec4
--- /dev/null
+++ b/tests/test_panes.py
@@ -0,0 +1,72 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Panes -{{{-
+def cb_panes(panes, event):
+ print(("Event: %s" % (event)))
+
+def panes_clicked(obj):
+ win = elementary.Window("panes", elementary.ELM_WIN_BASIC)
+ win.title_set("Panes test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ panes = elementary.Panes(win)
+ win.resize_object_add(panes)
+ panes.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ panes.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ panes.callback_clicked_add(cb_panes, "clicked")
+ panes.callback_clicked_double_add(cb_panes, "clicked,double")
+ panes.callback_press_add(cb_panes, "press")
+ panes.callback_unpress_add(cb_panes, "unpress")
+ panes.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Left"
+ panes.part_content_set("left", bt)
+ bt.show()
+
+ panes_h = elementary.Panes(win)
+ panes_h.horizontal = True
+ panes_h.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ panes_h.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ panes.part_content_set("right", panes_h)
+ panes_h.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Up"
+ panes_h.part_content_set("left", bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Down"
+ panes_h.part_content_set("right", bt)
+ bt.show()
+
+
+ win.resize(320, 480)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ panes_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_photo.py b/tests/test_photo.py
new file mode 100644
index 0000000..092f82c
--- /dev/null
+++ b/tests/test_photo.py
@@ -0,0 +1,81 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Photo -{{{-
+images = ["panel_01.jpg",
+ "mystrale.jpg",
+ "mystrale_2.jpg",
+ "rock_02.jpg",
+ "sky_01.jpg",
+ "sky_02.jpg",
+ "sky_03.jpg",
+ "sky_04.jpg",
+ "wood_01.jpg"]
+
+def photo_clicked(obj):
+ win = elementary.Window("photo", elementary.ELM_WIN_BASIC)
+ win.title_set("Photo test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ sc = elementary.Scroller(win)
+ sc.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(sc)
+ sc.show()
+
+ elementary.need_ethumb()
+
+ tb = elementary.Table(win)
+ tb.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ sc.content = tb
+ tb.show()
+
+ n = 0
+ for j in range(12):
+ for i in range(12):
+ ph = elementary.Photo(win)
+ name = "images/%s" % (images[n])
+ n += 1
+ if n >= 9: n = 0
+ ph.aspect_fixed = False
+ ph.size = 80
+ if n == 8:
+ ph.thumb = name
+ else:
+ ph.file = name
+ ph.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ph.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ ph.editable = True
+ if n in [2, 3]:
+ ph.fill_inside = True
+ ph.style = "shadow"
+
+ tb.pack(ph, i, j, 1, 1)
+ ph.show()
+
+ win.resize(300, 300)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ photo_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_popup.py b/tests/test_popup.py
new file mode 100644
index 0000000..29acdb3
--- /dev/null
+++ b/tests/test_popup.py
@@ -0,0 +1,245 @@
+ #!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Pupup -{{{-
+def cb_bnt_close(btn, popup):
+ if "im" in popup.data:
+ popup.data["im"].delete()
+ popup.delete()
+
+def cb_btn_restack(btn, popup):
+ im = evas.FilledImage(popup.evas);
+ im.file = "images/mystrale_2.jpg"
+ im.move(40, 40)
+ im.resize(500, 320)
+ im.show()
+
+ popup.data["im"] = im
+ popup.raise_()
+
+def cb_popup_center_text(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.text = "This Popup has content area and timeout value is 3 seconds"
+ popup.timeout = 3.0
+ popup.show()
+
+def cb_popup_center_title_text_1button(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.text = "This Popup has content area and " \
+ "action area set, action area has one button Close"
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_bnt_close, popup)
+ popup.part_content_set("button1", bt)
+ popup.show()
+
+def cb_popup_center_title_text_1button(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.text = "This Popup has title area, content area and " \
+ "action area set, action area has one button Close"
+ popup.part_text_set("title,text", "Title")
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_bnt_close, popup)
+ popup.part_content_set("button1", bt)
+ popup.show()
+
+def cb_popup_center_title_text_block_clicked_event(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.text = "This Popup has title area and content area. " \
+ "When clicked on blocked event region, popup gets deleted"
+ popup.part_text_set("title,text", "Title")
+ popup.callback_block_clicked_add(cb_bnt_close, popup)
+ popup.show()
+
+def cb_popup_bottom_title_text_3button(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.text = "This Popup has title area, content area and " \
+ "action area set with content being character wrapped. " \
+ "action area has three buttons OK, Cancel and Close"
+ popup.content_text_wrap_type = elementary.ELM_WRAP_CHAR
+ popup.part_text_set("title,text", "Title")
+
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ popup.part_content_set("title,icon", ic)
+
+ bt = elementary.Button(win)
+ bt.text = "OK"
+ popup.part_content_set("button1", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Cancel"
+ popup.part_content_set("button2", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_bnt_close, popup)
+ popup.part_content_set("button3", bt)
+
+ popup.show()
+
+def cb_popup_center_title_content_3button(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.part_text_set("title,text", "Title")
+
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ bt = elementary.Button(win)
+ bt.text = "Content"
+ bt.content = ic
+ popup.content = bt
+
+ bt = elementary.Button(win)
+ bt.text = "OK"
+ popup.part_content_set("button1", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Cancel"
+ popup.part_content_set("button2", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_bnt_close, popup)
+ popup.part_content_set("button3", bt)
+
+ popup.show()
+
+def cb_popup_center_title_item_3button(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.part_text_set("title,text", "Title")
+
+ for i in range(1, 11):
+ if i in [3, 5, 6]:
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ popup.item_append("item"+str(i), ic)
+ else:
+ popup.item_append("item"+str(i))
+
+ bt = elementary.Button(win)
+ bt.text = "OK"
+ popup.part_content_set("button1", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Cancel"
+ popup.part_content_set("button2", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_bnt_close, popup)
+ popup.part_content_set("button3", bt)
+
+ popup.show()
+
+def cb_popup_center_title_text_2button_restack(li, item, win):
+ popup = elementary.Popup(win)
+ popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ popup.text = "When you click the 'Restack' button, " \
+ "an image will be located under this popup"
+ popup.part_text_set("title,text", "Title")
+
+ bt = elementary.Button(win)
+ bt.text = "Restack"
+ bt.callback_clicked_add(cb_btn_restack, popup)
+ popup.part_content_set("button1", bt)
+
+ bt = elementary.Button(win)
+ bt.text = "Close"
+ bt.callback_clicked_add(cb_bnt_close, popup)
+ popup.part_content_set("button3", bt)
+
+ popup.show()
+
+times = 0
+g_popup = None
+def cb_popup_center_text_1button_hide_show(li, item, win):
+ global times
+ global g_popup
+
+ times += 1
+
+ if g_popup is not None:
+ g_popup.text = "You have checked this popup %d times." % times
+ g_popup.show()
+ return
+
+ g_popup = elementary.Popup(win)
+ g_popup.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ g_popup.text = "Hide this popup by using the button." \
+ "When you click list item again, you will see this popup again."
+
+ bt = elementary.Button(win)
+ bt.text = "Hide"
+ bt.callback_clicked_add(lambda b: g_popup.hide())
+ g_popup.part_content_set("button1", bt)
+
+ g_popup.show()
+
+
+def popup_clicked(obj):
+ win = elementary.Window("popup", elementary.ELM_WIN_BASIC)
+ win.title_set("Popup test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ li = elementary.List(win)
+ li.mode = elementary.ELM_LIST_LIMIT
+ li.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ li.callback_selected_add(lambda li, it: it.selected_set(False))
+ win.resize_object_add(li)
+ li.show()
+
+ li.item_append("popup-center-text", None, None,
+ cb_popup_center_text, win)
+ li.item_append("popup-center-text + 1 button", None, None,
+ cb_popup_center_title_text_1button, win)
+ li.item_append("popup-center-title + text + 1 button", None, None,
+ cb_popup_center_title_text_1button, win)
+ li.item_append("popup-center-title + text (block,clicked handling)", None, None,
+ cb_popup_center_title_text_block_clicked_event, win)
+ li.item_append("popup-bottom-title + text + 3 buttons", None, None,
+ cb_popup_bottom_title_text_3button, win)
+ li.item_append("popup-center-title + content + 3 buttons", None, None,
+ cb_popup_center_title_content_3button, win)
+ li.item_append("popup-center-title + items + 3 buttons", None, None,
+ cb_popup_center_title_item_3button, win)
+ li.item_append("popup-center-title + text + 2 buttons (check restacking)", None, None,
+ cb_popup_center_title_text_2button_restack, win)
+ li.item_append("popup-center-text + 1 button (check hide, show)", None, None,
+ cb_popup_center_text_1button_hide_show, win)
+
+ li.go()
+ win.resize(480, 800)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ popup_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_progressbar.py b/tests/test_progressbar.py
new file mode 100644
index 0000000..cb087f6
--- /dev/null
+++ b/tests/test_progressbar.py
@@ -0,0 +1,186 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+# ----- Progressbar {{{
+my_progressbar_run = False
+my_progressbar_timer = None
+
+def my_progressbar_value_set(pb1, pb2, pb3, pb4, pb5, pb6, pb7):
+ progress = pb1.value_get()
+ if progress < 1.0:
+ progress += 0.0123
+ else:
+ progress = 0.0
+ pb1.value_set(progress)
+ pb4.value_set(progress)
+ pb3.value_set(progress)
+ pb6.value_set(progress)
+ if progress < 1.0:
+ return ecore.ECORE_CALLBACK_RENEW
+ global my_progressbar_run
+ my_progressbar_run = False
+ return ecore.ECORE_CALLBACK_CANCEL
+
+def my_progressbar_test_start(obj, *args, **kwargs):
+ (pb1, pb2, pb3, pb4, pb5, pb6, pb7) = args
+ pb2.pulse(True)
+ pb5.pulse(True)
+ pb7.pulse(True)
+ global my_progressbar_run
+ global my_progressbar_timer
+ if not my_progressbar_run:
+ my_progressbar_timer = ecore.timer_add(0.1, my_progressbar_value_set,
+ *args)
+ my_progressbar_run = True
+
+def my_progressbar_test_stop(obj, pb1, pb2, pb3, pb4, pb5, pb6, pb7):
+ pb2.pulse(False)
+ pb5.pulse(False)
+ pb7.pulse(False)
+ global my_progressbar_run
+ global my_progressbar_timer
+ if my_progressbar_run:
+ my_progressbar_timer.delete()
+ my_progressbar_run = False
+
+def my_progressbar_destroy(obj, *args):
+ my_progressbar_test_stop(None, *args)
+ obj.delete()
+
+def progressbar_clicked(obj):
+ win = elementary.Window("progressbar", elementary.ELM_WIN_BASIC)
+ win.title_set("Progressbar test")
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ pb1 = elementary.Progressbar(win)
+ pb1.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ pb1.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ bx.pack_end(pb1)
+ pb1.show()
+
+ pb2 = elementary.Progressbar(win)
+ pb2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ pb2.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ pb2.text_set("Infinite bounce")
+ pb2.pulse_set(True)
+ bx.pack_end(pb2)
+ pb2.show()
+
+ ic1 = elementary.Icon(win)
+ ic1.file_set('images/logo_small.png')
+ ic1.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+
+ pb3 = elementary.Progressbar(win)
+ pb3.text_set("Label")
+ pb3.content_set(ic1)
+ pb3.inverted_set(True)
+ pb3.unit_format_set("%1.1f units")
+ pb3.span_size_set(200)
+ pb3.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ pb3.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(pb3)
+ ic1.show()
+ pb3.show()
+
+ hbx = elementary.Box(win)
+ hbx.horizontal_set(True)
+ hbx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ hbx.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bx.pack_end(hbx)
+ hbx.show()
+
+ pb4 = elementary.Progressbar(win)
+ pb4.horizontal_set(False)
+ pb4.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ pb4.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ hbx.pack_end(pb4)
+ pb4.span_size_set(60)
+ pb4.text_set("percent")
+ pb4.show()
+
+ pb5 = elementary.Progressbar(win)
+ pb5.horizontal_set(False)
+ pb5.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ pb5.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ pb5.span_size_set(80)
+ pb5.pulse_set(True)
+ pb5.unit_format_set(None)
+ pb5.text_set("Infinite bounce")
+ hbx.pack_end(pb5)
+ pb5.show()
+
+ ic2 = elementary.Icon(win)
+ ic2.file_set('images/logo_small.png')
+ ic2.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1)
+
+ pb6 = elementary.Progressbar(win)
+ pb6.horizontal_set(False)
+ pb6.text_set("Label")
+ pb6.content_set(ic2)
+ pb6.inverted_set(True)
+ pb6.unit_format_set("%1.2f%%")
+ pb6.span_size_set(200)
+ pb6.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ pb6.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ hbx.pack_end(pb6)
+ ic2.show()
+ pb6.show()
+
+ pb7 = elementary.Progressbar(win)
+ pb7.style_set("wheel")
+ pb7.text_set("Style: wheel")
+ pb7.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ pb7.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(pb7)
+ pb7.show()
+
+ bt_bx = elementary.Box(win)
+ bt_bx.horizontal_set(True)
+ bt_bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(bt_bx)
+ bt_bx.show()
+
+ pbt = (pb1, pb2, pb3, pb4, pb5, pb6, pb7)
+
+ bt = elementary.Button(win)
+ bt.text_set("Start")
+ bt.callback_clicked_add(my_progressbar_test_start, *pbt)
+ bt_bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Stop")
+ bt.callback_clicked_add(my_progressbar_test_stop, *pbt)
+ bt_bx.pack_end(bt)
+ bt.show()
+
+ win.callback_delete_request_add(my_progressbar_destroy, *pbt)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ progressbar_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_radio.py b/tests/test_radio.py
new file mode 100644
index 0000000..0ae793a
--- /dev/null
+++ b/tests/test_radio.py
@@ -0,0 +1,105 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Radio -{{{-
+def radio_clicked(obj):
+ win = elementary.Window("radio", elementary.ELM_WIN_BASIC)
+ win.title_set("Radio test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.size_hint_aspect_set(evas.EVAS_ASPECT_CONTROL_VERTICAL, 1, 1)
+ rd = elementary.Radio(win)
+ rd.state_value_set(0)
+ rd.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ rd.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ rd.text_set("Icon sized to radio")
+ rd.content_set(ic)
+ bx.pack_end(rd)
+ rd.show()
+ ic.show()
+ rdg = rd
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ rd = elementary.Radio(win)
+ rd.state_value_set(1)
+ rd.group_add(rdg)
+ rd.text_set("Icon no scale")
+ rd.content_set(ic)
+ bx.pack_end(rd)
+ rd.show()
+ ic.show()
+
+ rd = elementary.Radio(win)
+ rd.state_value_set(2)
+ rd.group_add(rdg)
+ rd.text_set("Label Only")
+ bx.pack_end(rd)
+ rd.show()
+
+ rd = elementary.Radio(win)
+ rd.state_value_set(3)
+ rd.group_add(rdg)
+ rd.text_set("Disabled")
+ rd.disabled_set(True)
+ bx.pack_end(rd)
+ rd.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ rd = elementary.Radio(win)
+ rd.state_value_set(4)
+ rd.group_add(rdg)
+ rd.content_set(ic)
+ bx.pack_end(rd)
+ rd.show()
+ ic.show()
+
+ ic = elementary.Icon(win)
+ ic.file_set('images/logo_small.png')
+ ic.resizable_set(0, 0)
+ rd = elementary.Radio(win)
+ rd.state_value_set(5)
+ rd.group_add(rdg)
+ rd.content_set(ic)
+ rd.disabled_set(True)
+ bx.pack_end(rd)
+ rd.show()
+ ic.show()
+
+ rdg.value_set(2)
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ radio_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_scroller.py b/tests/test_scroller.py
new file mode 100644
index 0000000..44f4cd8
--- /dev/null
+++ b/tests/test_scroller.py
@@ -0,0 +1,140 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Scroller -{{{-
+def my_scroller_go_300_300(bt, sc):
+ sc.region_bring_in(300, 300, 318, 318)
+
+def my_scroller_go_900_300(bt, sc):
+ sc.region_bring_in(900, 300, 318, 318)
+
+def my_scroller_go_300_900(bt, sc):
+ sc.region_bring_in(300, 900, 318, 318)
+
+def my_scroller_go_900_900(obj, sc):
+ sc.region_bring_in(900, 900, 318, 318)
+
+def cb_edges(obj, border):
+ print(("Border callback:", border))
+
+def cb_drags(obj, action):
+ print(("Drag callback:", action))
+
+def cb_anims(obj, action):
+ print(("Anim callback:", action))
+
+def scroller_clicked(obj):
+ win = elementary.Window("scroller", elementary.ELM_WIN_BASIC)
+ win.title_set("Scroller")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ tb = elementary.Table(win)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+
+ img = ["images/panel_01.jpg",
+ "images/plant_01.jpg",
+ "images/rock_01.jpg",
+ "images/rock_02.jpg",
+ "images/sky_01.jpg",
+ "images/sky_02.jpg",
+ "images/sky_03.jpg",
+ "images/sky_04.jpg",
+ "images/wood_01.jpg"]
+
+ n = 0
+ for j in range(12):
+ for i in range(12):
+ bg2 = elementary.Background(win)
+ bg2.file_set(img[n])
+
+ n = n + 1
+ if n >= 9:
+ n = 0
+ bg2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg2.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ bg2.size_hint_min_set(318, 318)
+ tb.pack(bg2, i, j, 1, 1)
+ bg2.show()
+
+ sc = elementary.Scroller(win)
+ sc.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ sc.callback_edge_top_add(cb_edges, "top")
+ sc.callback_edge_bottom_add(cb_edges, "bottom")
+ sc.callback_edge_left_add(cb_edges, "left")
+ sc.callback_edge_right_add(cb_edges, "right")
+ sc.callback_scroll_drag_start_add(cb_drags, "start")
+ sc.callback_scroll_drag_stop_add(cb_drags, "stop")
+ sc.callback_scroll_anim_start_add(cb_anims, "start")
+ sc.callback_scroll_anim_stop_add(cb_anims, "stop")
+ win.resize_object_add(sc)
+
+ sc.content_set(tb)
+ tb.show()
+
+ sc.page_relative_set(1.0, 1.0)
+ sc.show()
+
+ tb2 = elementary.Table(win)
+ tb2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(tb2)
+
+ bt = elementary.Button(win)
+ bt.text_set("to 300 300")
+ bt.callback_clicked_add(my_scroller_go_300_300, sc)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.1, 0.1)
+ tb2.pack(bt, 0, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("to 900 300")
+ bt.callback_clicked_add(my_scroller_go_900_300, sc)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.1)
+ tb2.pack(bt, 1, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("to 300 900")
+ bt.callback_clicked_add(my_scroller_go_300_900, sc)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.1, 0.9)
+ tb2.pack(bt, 0, 1, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("to 900 900")
+ bt.callback_clicked_add(my_scroller_go_900_900, sc)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.9, 0.9)
+ tb2.pack(bt, 1, 1, 1, 1)
+ bt.show()
+
+ tb2.show()
+
+ win.resize(320, 320)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ scroller_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_segment_control.py b/tests/test_segment_control.py
new file mode 100644
index 0000000..f99c703
--- /dev/null
+++ b/tests/test_segment_control.py
@@ -0,0 +1,118 @@
+ #!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+
+#----- Segment Control -{{{-
+def cb_seg_changed(seg, item):
+ print seg
+ print item
+
+def segment_control_clicked(obj):
+ win = elementary.Window("segment-control", elementary.ELM_WIN_BASIC)
+ win.title_set("Segment Control test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.size_hint_align = (evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ # segment 1
+ seg = elementary.SegmentControl(win)
+ seg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ seg.size_hint_align = (evas.EVAS_HINT_FILL,0.5)
+ seg.item_add(None, "Only Text")
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ it = seg.item_add(ic)
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ seg.item_add(ic, "Text + Icon")
+ seg.item_add(None, "Seg4")
+ seg.item_add(None, "Seg5")
+
+ seg.callback_changed_add(cb_seg_changed)
+ # it.selected_set(True)
+ vbox.pack_end(seg)
+ seg.show()
+
+ # segment 2
+ seg = elementary.SegmentControl(win)
+ seg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ seg.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+ seg.item_add(None, "SegmentItem")
+ it = seg.item_add(None, "SegmentItem")
+ seg.item_add(None, "SegmentItem")
+ seg.item_add(None, "SegmentItem")
+
+ print it
+ # it.selected_set(True)
+ vbox.pack_end(seg)
+ seg.show()
+
+ # segment 3
+ seg = elementary.SegmentControl(win)
+ seg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ seg.size_hint_align = (0.5, 0.5)
+
+ for i in range(3):
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ if i == 1:
+ it = seg.item_add(ic)
+ else:
+ seg.item_add(ic)
+
+ # it.selected_set(True)
+ vbox.pack_end(seg)
+ seg.show()
+
+ # segment 4
+ seg = elementary.SegmentControl(win)
+
+ seg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ seg.size_hint_align = (evas.EVAS_HINT_FILL, 0.5)
+
+ seg.item_add(None, "Disabled")
+
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ seg.item_add(ic, "Disabled")
+
+ ic = elementary.Icon(win)
+ ic.file = "images/logo_small.png"
+ seg.item_add(ic)
+
+ seg.disabled = True
+ # it.selected_set(True)
+ vbox.pack_end(seg)
+ seg.show()
+
+
+ win.resize(320, 280)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ segment_control_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_separator.py b/tests/test_separator.py
new file mode 100644
index 0000000..f453da6
--- /dev/null
+++ b/tests/test_separator.py
@@ -0,0 +1,86 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Separator -{{{-
+def separator_clicked(obj):
+ win = elementary.Window("separators", elementary.ELM_WIN_BASIC)
+ win.title_set("Separators")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx0 = elementary.Box(win)
+ bx0.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx0.horizontal_set(True)
+ win.resize_object_add(bx0)
+ bx0.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx0.pack_end(bx)
+ bx.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Left upper corner")
+ bx.pack_end(bt)
+ bt.show()
+
+ sp = elementary.Separator(win)
+ sp.horizontal_set(True)
+ bx.pack_end(sp)
+ sp.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Left lower corner")
+ bt.disabled_set(True)
+ bx.pack_end(bt)
+ bt.show()
+
+ sp = elementary.Separator(win)
+ bx0.pack_end(sp)
+ sp.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx0.pack_end(bx)
+ bx.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Right upper corner")
+ bt.disabled_set(True)
+ bx.pack_end(bt)
+ bt.show()
+
+ sp = elementary.Separator(win)
+ sp.horizontal_set(True)
+ bx.pack_end(sp)
+ sp.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Right lower corner")
+ bx.pack_end(bt)
+ bt.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ separator_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_slideshow.py b/tests/test_slideshow.py
new file mode 100644
index 0000000..bcc7479
--- /dev/null
+++ b/tests/test_slideshow.py
@@ -0,0 +1,175 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+img1 = "images/logo.png"
+img2 = "images/plant_01.jpg"
+img3 = "images/rock_01.jpg"
+img4 = "images/rock_02.jpg"
+img5 = "images/sky_01.jpg"
+img6 = "images/sky_04.jpg"
+img7 = "images/wood_01.jpg"
+img8 = "images/mystrale.jpg"
+img9 = "images/mystrale_2.jpg"
+
+def notify_show(no, event, *args, **kwargs):
+ no = args[0]
+ no.show()
+
+def next(bt, ss):
+ ss.next()
+
+def previous(bt, ss):
+ ss.previous()
+
+def mouse_in(bx, event, *args, **kwargs):
+ no = args[0]
+ no.timeout = 0.0
+ no.show()
+
+def mouse_out(bx, event, *args, **kwargs):
+ no = args[0]
+ no.timeout = 3.0
+
+def hv_select(hv, hvit, ss, transition):
+ ss.transition = transition
+ hv.text = transition
+
+def layout_select(hv, hvit, ss, layout):
+ ss.layout = layout
+ hv.text = layout
+
+def start(bt, ss, sp, bt_start, bt_stop):
+ ss.timeout = sp.value
+ bt_start.disabled = True
+ bt_stop.disabled = False
+
+def stop(bt, ss, sp, bt_start, bt_stop):
+ ss.timeout = 0.0
+ bt_start.disabled = False
+ bt_stop.disabled = True
+
+def spin(sp, ss):
+ if (ss.timeout > 0):
+ ss.timeout = sp.value
+
+def slide_transition(ss, slide_it, slide_last_it):
+ if (slide_last_it == slide_it):
+ print("Reaches to End of slides\n")
+
+class ssClass(elementary.SlideshowItemClass):
+ def get(self, obj, *args, **kwargs):
+ photo = elementary.Photo(obj)
+ photo.file = args[0]
+ photo.fill_inside = True
+ photo.style = "shadow"
+
+ return photo
+
+def slideshow_clicked(obj):
+ win = elementary.StandardWindow("slideshow", "Slideshow")
+ win.autodel = True
+
+ ss = elementary.Slideshow(win)
+ ss.loop = True
+ win.resize_object_add(ss)
+ ss.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ss.show()
+
+ ssc = ssClass()
+ ss.item_add(ssc, img1)
+ ss.item_add(ssc, img2)
+ ss.item_add(ssc, img3)
+ ss.item_add(ssc, img4)
+ ss.item_add(ssc, img9)
+ ss.item_add(ssc, img5)
+ ss.item_add(ssc, img6)
+ ss.item_add(ssc, img7)
+ slide_last_it = ss.item_add(ssc, img8)
+ ss.callback_transition_end_add(slide_transition, slide_last_it)
+
+ no = elementary.Notify(win)
+ no.orient = elementary.ELM_NOTIFY_ORIENT_BOTTOM
+ no.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(no)
+ no.timeout = 3.0
+
+ bx = elementary.Box(win)
+ bx.horizontal = True
+ no.content = bx
+ bx.show()
+
+ bx.event_callback_add(evas.EVAS_CALLBACK_MOUSE_IN, mouse_in, no)
+ bx.event_callback_add(evas.EVAS_CALLBACK_MOUSE_OUT, mouse_out, no)
+
+ bt = elementary.Button(win)
+ bt.text = "Previous"
+ bt.callback_clicked_add(previous, ss)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text = "Next"
+ bt.callback_clicked_add(next, ss)
+ bx.pack_end(bt)
+ bt.show()
+
+ hv = elementary.Hoversel(win)
+ bx.pack_end(hv)
+ hv.hover_parent = win
+ for transition in ss.transitions:
+ hv.item_add(transition, None, 0, hv_select, ss, transition)
+ hv.item_add("None", None, 0, hv_select, ss, None)
+ hv.text_set(ss.transitions[0])
+ hv.show()
+
+ hv = elementary.Hoversel(win)
+ bx.pack_end(hv)
+ hv.hover_parent = win
+ for layout in ss.layouts:
+ hv.item_add(layout, None, 0, layout_select, ss, layout)
+ hv.text = ss.layout
+ hv.show()
+
+ sp = elementary.Spinner(win)
+ sp.label_format = "%2.0f secs."
+ sp.callback_changed_add(spin, ss)
+ sp.step = 1
+ sp.min_max = (1, 30)
+ sp.value = 3
+ bx.pack_end(sp)
+ sp.show()
+
+ bt_start = elementary.Button(win)
+ bt_stop = elementary.Button(win)
+
+ bt = bt_start
+ bt.text = "Start"
+ bt.callback_clicked_add(start, ss, sp, bt_start, bt_stop)
+ bx.pack_end(bt)
+ bt.show()
+
+ bt = bt_stop
+ bt.text = "Stop"
+ bt.callback_clicked_add(stop, ss, sp, bt_start, bt_stop)
+ bx.pack_end(bt)
+ bt.disabled = True
+ bt.show()
+
+ ss.event_callback_add(evas.EVAS_CALLBACK_MOUSE_UP, notify_show, no)
+ ss.event_callback_add(evas.EVAS_CALLBACK_MOUSE_MOVE, notify_show, no)
+
+ win.resize(500, 400)
+ win.show()
+
+if __name__ == "__main__":
+ elementary.init()
+
+ slideshow_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_spinner.py b/tests/test_spinner.py
new file mode 100644
index 0000000..876de3f
--- /dev/null
+++ b/tests/test_spinner.py
@@ -0,0 +1,69 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Spinner -{{{-
+def spinner_clicked(obj):
+ win = elementary.Window("spinner", elementary.ELM_WIN_BASIC)
+ win.title_set("Spinner test")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bx)
+ bx.show()
+
+ sp = elementary.Spinner(win)
+ sp.label_format_set("%1.1f units")
+ sp.step_set(1.3)
+ sp.wrap_set(1)
+ sp.min_max_set(-50.0, 250.0)
+ sp.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ sp.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(sp)
+ sp.show()
+
+ sp = elementary.Spinner(win)
+ sp.label_format_set("%1.1f units")
+ sp.step_set(1.3)
+ sp.wrap_set(1)
+ sp.style_set("vertical");
+ sp.min_max_set(-50.0, 250.0)
+ sp.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ sp.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(sp)
+ sp.show()
+
+ sp = elementary.Spinner(win)
+ sp.label_format_set("Disabled %.0f")
+ sp.disabled_set(1)
+ sp.min_max_set(-50.0, 250.0)
+ sp.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ sp.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.pack_end(sp)
+ sp.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ spinner_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_table.py b/tests/test_table.py
new file mode 100644
index 0000000..6da4cba
--- /dev/null
+++ b/tests/test_table.py
@@ -0,0 +1,81 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Table -{{{-
+def table_clicked(obj):
+ win = elementary.Window("table", elementary.ELM_WIN_BASIC)
+ win.title_set("Table")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ tb = elementary.Table(win)
+ win.resize_object_add(tb)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ tb.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 1")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(bt, 0, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 2")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(bt, 1, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 3")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(bt, 2, 0, 1, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 4")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(bt, 0, 1, 2, 1)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 5")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(bt, 2, 1, 1, 3)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Button 6")
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(bt, 0, 2, 2, 2)
+ bt.show()
+
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ table_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_thumb.py b/tests/test_thumb.py
new file mode 100644
index 0000000..1b96072
--- /dev/null
+++ b/tests/test_thumb.py
@@ -0,0 +1,62 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import elementary
+import evas
+
+def thumb_clicked(obj):
+ if not elementary.need_ethumb():
+ print("Ethumb not available!")
+ return
+
+ images = (
+ "panel_01.jpg",
+ "plant_01.jpg",
+ "rock_01.jpg",
+ "rock_02.jpg",
+ "sky_01.jpg",
+ "sky_02.jpg",
+ "sky_03.jpg",
+ "sky_04.jpg",
+ "wood_01.jpg",
+ "mystrale.jpg",
+ "mystrale_2.jpg"
+ )
+
+ win = elementary.StandardWindow("thumb", "Thumb")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ tb = elementary.Table(win)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+
+ n = 0
+ for j in range(12):
+ for i in range(12):
+ th = elementary.Thumb(win)
+ n = (n + 1) % 11
+ th.file = "images/%s" % (images[n])
+ th.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ th.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ tb.pack(th, i, j, 1, 1)
+ th.editable = True
+ th.show()
+
+ sc = elementary.Scroller(win)
+ sc.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(sc)
+
+ sc.content_set(tb)
+ tb.show()
+ sc.show()
+
+ win.resize(600, 600)
+ win.show()
+
+if __name__ == "__main__":
+ elementary.init()
+
+ thumb_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_toolbar.py b/tests/test_toolbar.py
new file mode 100644
index 0000000..689b017
--- /dev/null
+++ b/tests/test_toolbar.py
@@ -0,0 +1,127 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Toolbar -{{{-
+def tb_1(obj, it, ph):
+ ph.file_set("images/panel_01.jpg")
+
+def tb_2(obj, it, ph):
+ ph.file_set("images/rock_01.jpg")
+
+def tb_3(obj, it, ph):
+ ph.file_set("images/wood_01.jpg")
+
+def tb_4(obj, it, ph):
+ ph.file_set("images/sky_03.jpg")
+
+def tb_5(obj, it, ph):
+ ph.file_set(None)
+
+def toolbar_clicked(obj):
+ win = elementary.Window("toolbar", elementary.ELM_WIN_BASIC)
+ win.title_set("Toolbar")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ tb = elementary.Toolbar(win)
+ tb.homogeneous = False
+ tb.size_hint_weight_set(0.0, 0.0)
+ tb.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+
+ ph1 = elementary.Photo(win)
+ ph2 = elementary.Photo(win)
+ ph3 = elementary.Photo(win)
+ ph4 = elementary.Photo(win)
+
+ item = tb.item_append("document-print", "Hello", tb_1)
+ item.disabled = True
+
+ item = tb.item_append("clock", "World,", tb_2, ph2)
+ item.selected_set(True)
+
+ tb.item_append("folder-new", "here", tb_3, ph4)
+
+ tb.item_append("clock", "comes", tb_4, ph4)
+
+ tb.item_append("folder-new", "python-elementary!", tb_5, ph4)
+
+ item = tb.item_append("clock", "Menu", tb_5, ph4)
+ item.menu_set(True)
+ tb.menu_parent_set(win)
+ menu = item.menu_get()
+
+ menu.item_add(None, "Here", "clock", tb_3, ph4)
+
+ menu_item = menu.item_add(None, "Comes", "refresh", tb_4, ph4)
+
+ menu.item_add(menu_item, "hey ho", "folder-new", tb_4, ph4)
+
+ menu.item_add(None, "python-elementary", "document-print", tb_5, ph4)
+
+ bx.pack_end(tb)
+ tb.show()
+
+ tb = elementary.Table(win)
+ tb.size_hint_weight_set(0.0, evas.EVAS_HINT_EXPAND)
+ tb.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+
+ ph1.size_set(40)
+ ph1.file_set("images/plant_01.jpg")
+ ph1.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ph1.size_hint_align_set(0.5, 0.5)
+ tb.pack(ph1, 0, 0, 1, 1)
+ ph1.show()
+
+ ph2.size_set(80)
+ ph2.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ph2.size_hint_align_set(0.5, 0.5)
+ tb.pack(ph2, 1, 0, 1, 1)
+ ph2.show()
+
+ ph3.size_set(40)
+ ph3.file_set("images/sky_01.jpg")
+ ph3.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ph3.size_hint_align_set(0.5, 0.5)
+ tb.pack(ph3, 0, 1, 1, 1)
+ ph3.show()
+
+ ph4.size_set(60)
+ ph4.file_set("images/sky_02.jpg")
+ ph4.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ ph4.size_hint_align_set(0.5, 0.5)
+ tb.pack(ph4, 1, 1, 1, 1)
+ ph4.show()
+
+ bx.pack_end(tb)
+ tb.show()
+
+ win.resize(320, 300)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ toolbar_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_tooltip.py b/tests/test_tooltip.py
new file mode 100644
index 0000000..28baf34
--- /dev/null
+++ b/tests/test_tooltip.py
@@ -0,0 +1,234 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+def _tt_icon(obj, *args, **kargs):
+ ic = elementary.Icon(obj)
+ ic.file_set("images/logo_small.png")
+ ic.resizable_set(0, 0)
+ ic.resize(64, 64)
+ return ic
+
+def _tt_item_icon(obj, item, *args, **kargs):
+ return _tt_icon(obj,item, *args, **kargs)
+
+def _tt_icon2(obj, *args, **kargs):
+ ic = elementary.Icon(obj)
+ ic.file_set("images/icon_00.png")
+ ic.resizable_set(0, 0)
+ ic.resize(64, 64)
+ return ic
+
+def _tt_timer_del(obj, data, *args):
+ timer = data.get("timer")
+ if timer:
+ timer.delete()
+ del data["timer"]
+
+#----- Tooltips -{{{-
+def tooltip_clicked(obj):
+ win = elementary.Window("tooltips", elementary.ELM_WIN_BASIC)
+ win.title_set("Tooltips")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ bx = elementary.Box(win)
+ win.resize_object_add(bx)
+ bx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bx.show()
+
+ tb = elementary.Toolbar(win)
+ tb.homogeneous_set(False)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ tb.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ bx.pack_end(tb)
+ tb.show()
+
+ ti = tb.item_append("folder-new", "Open", None, None)
+ ti.tooltip_text_set("Opens a file")
+
+ ti = tb.item_append("clock", "Icon", None, None)
+ ti.tooltip_content_cb_set(_tt_item_icon, None)
+ ti.tooltip_style_set("transparent")
+
+ bt = elementary.Button(win)
+ bt.text_set("Simple text tooltip");
+ bt.tooltip_text_set("Simple text tooltip")
+ bx.pack_end(bt)
+ bt.show()
+
+ def _tt_text_replace(obj, data):
+ value = data.get("value")
+ if not value:
+ value = 1
+ obj.tooltip_text_set("count=%d" % value)
+ value += 1
+ data["value"] = value
+
+ bt = elementary.Button(win)
+ bt.text_set("Simple text tooltip, click to change");
+ bt.tooltip_text_set("Initial")
+ data = dict()
+ bt.callback_clicked_add(_tt_text_replace, data)
+ bx.pack_end(bt)
+ bt.show()
+
+ def _tt_text_replace_timer_cb(obj, data):
+ _tt_text_replace(obj, data)
+ return True
+
+ def _tt_text_replace_timed(obj, data, *args, **kargs):
+ timer = data.get("timer")
+ if timer:
+ timer.delete()
+ del data["timer"]
+ obj.text_set("Simple text tooltip, click to start changed timed")
+ return
+ data["timer"] = ecore.timer_add(1.5, _tt_text_replace_timer_cb, obj,
+ data)
+ obj.text_set("Simple text tooltip, click to stop changed timed")
+
+ bt = elementary.Button(win)
+ bt.text_set("Simple text tooltip, click to start changed timed");
+ bt.tooltip_text_set("Initial")
+ data = dict()
+ bt.callback_clicked_add(_tt_text_replace_timed, data)
+ bx.pack_end(bt)
+ bt.show()
+ bt.on_del_add(_tt_timer_del, data)
+
+ bt = elementary.Button(win)
+ bt.text_set("Icon tooltip");
+ bt.tooltip_content_cb_set(_tt_icon, None)
+ bx.pack_end(bt)
+ bt.show()
+
+ def _tt_icon_replace_timer_cb(obj, data):
+ value = data.get("value")
+ data["value"] = not value
+ if value:
+ obj.tooltip_content_cb_set(_tt_icon)
+ else:
+ obj.tooltip_content_cb_set(_tt_icon2)
+ return True
+
+ def _tt_icon_replace_timed(obj, data, *args, **kargs):
+ timer = data.get("timer")
+ if timer:
+ timer.delete()
+ del data["timer"]
+ obj.text_set("Icon tooltip, click to start changed timed")
+ return
+ data["timer"] = ecore.timer_add(1.5, _tt_icon_replace_timer_cb, obj,
+ data)
+ obj.text_set("Icon tooltip, click to stop changed timed")
+
+ bt = elementary.Button(win)
+ bt.text_set("Icon tooltip, click to start changed timed");
+ bt.tooltip_content_cb_set(_tt_icon)
+ data = dict()
+ bt.callback_clicked_add(_tt_icon_replace_timed, data)
+ bx.pack_end(bt)
+ bt.show()
+ bt.on_del_add(_tt_timer_del, data)
+
+ bt = elementary.Button(win)
+ bt.text_set("Transparent Icon tooltip");
+ bt.tooltip_content_cb_set(_tt_icon, None)
+ bt.tooltip_style_set("transparent")
+ bx.pack_end(bt)
+ bt.show()
+
+ def _tt_style_replace_timer_cb(obj, data):
+ value = data.get("value")
+ data["value"] = not value
+ if value:
+ obj.tooltip_style_set()
+ else:
+ obj.tooltip_style_set("transparent")
+ return True
+
+ def _tt_style_replace_timed(obj, data, *args, **kargs):
+ timer = data.get("timer")
+ if timer:
+ timer.delete()
+ del data["timer"]
+ obj.text_set("Icon tooltip style, click to start changed timed")
+ return
+ data["timer"] = ecore.timer_add(1.5, _tt_style_replace_timer_cb, obj,
+ data)
+ obj.text_set("Icon tooltip, click to stop changed timed")
+
+ bt = elementary.Button(win)
+ bt.text_set("Icon tooltip style, click to start changed timed");
+ bt.tooltip_content_cb_set(_tt_icon, None)
+ data = dict()
+ bt.callback_clicked_add(_tt_style_replace_timed, data)
+ bx.pack_end(bt)
+ bt.show()
+ bt.on_del_add(_tt_timer_del, data)
+
+ def _tt_visible_lock_toggle(obj, data, *args, **kargs):
+ value = data.get("value")
+ data["value"] = not value
+ if value:
+ obj.text_set("Unlocked tooltip visibility");
+ obj.tooltip_hide()
+ else:
+ obj.text_set("Locked tooltip visibility");
+ obj.tooltip_show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Unlocked tooltip visibility");
+ bt.tooltip_text_set("This tooltip is unlocked visible,<br> clock the button to lock!")
+ data = dict()
+ bt.callback_clicked_add(_tt_visible_lock_toggle, data)
+ bx.pack_end(bt)
+ bt.show()
+
+ en = elementary.Entry(win)
+ en.scrollable_set(True)
+ en.single_line_set(True)
+ en.entry_set("Hello, some scrolled entry here!")
+ en.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ en.size_hint_align_set(evas.EVAS_HINT_FILL, 0.5)
+ en.tooltip_text_set("Type something here!")
+ bx.pack_end(en)
+ en.show()
+
+ lst = elementary.List(win)
+ li = lst.item_append("Hello")
+ li.tooltip_text_set("Something useful here?")
+ li = lst.item_append("Icon Tooltip")
+ li.tooltip_content_cb_set(_tt_item_icon, None)
+ lst.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ lst.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ lst.size_hint_min_set(100, 100)
+ bx.pack_end(lst)
+ lst.go()
+ lst.show()
+
+ win.show()
+ win.resize(400, 500)
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ tooltip_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_video.py b/tests/test_video.py
new file mode 100644
index 0000000..ae56658
--- /dev/null
+++ b/tests/test_video.py
@@ -0,0 +1,79 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+def my_bt_open(bt, file, *args, **kwargs):
+ video = args[0]
+
+ if (file):
+ video.file = file
+ video.play()
+
+def notify_show(video, event, no):
+ no.show()
+
+def notify_block(video, event, no):
+ no.timeout = 0.0
+ no.show()
+
+def notify_unblock(video, event, no):
+ no.timeout = 3.0
+ no.show()
+
+def video_clicked(obj):
+ win = elementary.Window("video", elementary.ELM_WIN_BASIC)
+ win.title = "video"
+ win.autodel = True
+ win.alpha = True # Needed to turn video fast path on
+
+ bg = elementary.Background(win)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(bg)
+ bg.show()
+
+ video = elementary.Video(win)
+ video.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(video)
+ video.show()
+
+ notify = elementary.Notify(win)
+ notify.orient = elementary.ELM_NOTIFY_ORIENT_BOTTOM
+ notify.timeout = 3.0
+
+ player = elementary.Player(win)
+ player.content = video
+ notify.content = player
+ player.show()
+
+ tb = elementary.Table(win)
+ tb.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(tb)
+
+ bt = elementary.FileselectorButton(win)
+ bt.text = "Select Video"
+ bt.callback_file_chosen_add(my_bt_open, video)
+ bt.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bt.size_hint_align_set(0.5, 0.1)
+ tb.pack(bt, 0, 0, 1, 1)
+ bt.show()
+
+ tb.show()
+
+ video.event_callback_add(evas.EVAS_CALLBACK_MOUSE_MOVE, notify_show, notify)
+ video.event_callback_add(evas.EVAS_CALLBACK_MOUSE_IN, notify_block, notify)
+ video.event_callback_add(evas.EVAS_CALLBACK_MOUSE_OUT, notify_unblock, notify)
+
+ win.resize(800, 600)
+ win.show()
+
+if __name__ == "__main__":
+ elementary.init()
+
+ video_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
diff --git a/tests/test_web.py b/tests/test_web.py
new file mode 100644
index 0000000..38763f9
--- /dev/null
+++ b/tests/test_web.py
@@ -0,0 +1,129 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Web -{{{-
+def web_clicked(obj):
+ if not elementary.need_web():
+ print("EFL-webkit not available!")
+ return
+
+ win = elementary.Window("web", elementary.ELM_WIN_BASIC)
+ win.title_set("Web")
+ win.autodel_set(True)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbx = elementary.Box(win)
+ win.resize_object_add(vbx)
+ vbx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbx.show()
+
+ web = elementary.Web(win)
+ web.uri_set("http://enlightenment.org/")
+ web.size_hint_weight_set(evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ web.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ web.size_hint_min_set(100, 100)
+ vbx.pack_end(web)
+ web.show()
+
+ # Debug:
+ def dbg(*args):
+ print(("DEBUG: %s" % args[-1], " ".join(repr(x) for x in args[1:-1])))
+ web.callback_link_hover_in_add(dbg, "link in")
+ web.callback_link_hover_out_add(dbg, "link out")
+
+ web.callback_uri_changed_add(dbg, "uri")
+ web.callback_title_changed_add(dbg, "title")
+ web.callback_load_finished_add(dbg, "load finished")
+ web.callback_load_finished_add(dbg, "load error")
+ web.callback_load_progress_add(dbg, "load progress")
+ web.callback_load_provisional_add(dbg, "load provisional")
+ web.callback_load_started_add(dbg, "load started")
+
+ # JS debug to console:
+ def console_msg(obj, msg, line, src):
+ print(("CONSOLE: %s:%d %r" % (src, line, msg)))
+ web.console_message_hook_set(console_msg)
+
+ # navigation bar:
+ hbx = elementary.Box(win)
+ hbx.horizontal_set(True)
+ hbx.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ hbx.size_hint_align_set(evas.EVAS_HINT_FILL, 0.0)
+ vbx.pack_start(hbx)
+ hbx.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Back")
+ bt.callback_clicked_add(lambda x: web.back())
+ hbx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Forward")
+ bt.callback_clicked_add(lambda x: web.forward())
+ hbx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Reload")
+ bt.callback_clicked_add(lambda x: web.reload())
+ hbx.pack_end(bt)
+ bt.show()
+
+ bt = elementary.Button(win)
+ bt.text_set("Stop")
+ bt.callback_clicked_add(lambda x: web.stop())
+ hbx.pack_end(bt)
+ bt.show()
+
+ en = elementary.Entry(win)
+ en.scrollable_set(True)
+ en.editable_set(True)
+ en.single_line_set(True)
+ en.size_hint_weight_set(evas.EVAS_HINT_EXPAND, 0.0)
+ en.size_hint_align_set(evas.EVAS_HINT_FILL, evas.EVAS_HINT_FILL)
+ hbx.pack_end(en)
+ en.show()
+
+ # Sync navigation entry and current URI
+ def do_change_uri(en):
+ web.uri = en.entry
+
+ def did_change_uri(web, uri, en):
+ en.entry = uri
+
+ en.callback_activated_add(do_change_uri)
+ web.callback_uri_changed_add(did_change_uri, en)
+
+ # Sync title
+ def did_change_title(web, title, win):
+ win.title_set("Web - %s" % title)
+ web.callback_title_changed_add(did_change_title, win)
+
+ win.resize(800, 600)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+ elementary.policy_set(elementary.ELM_POLICY_QUIT,
+ elementary.ELM_POLICY_QUIT_LAST_WINDOW_CLOSED)
+
+ web_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker
diff --git a/tests/test_win.py b/tests/test_win.py
new file mode 100644
index 0000000..15d4e99
--- /dev/null
+++ b/tests/test_win.py
@@ -0,0 +1,106 @@
+#!/usr/bin/env python
+# encoding: utf-8
+import os
+import elementary
+import edje
+import ecore
+import evas
+
+#----- Window -{{{-
+def cb_alpha(bt, win, bg, on):
+ win.alpha = on
+ if on:
+ bg.hide()
+ else:
+ bg.show()
+
+def cb_rot(bt, win, ck, rot):
+ if ck.state:
+ win.rotation_with_resize_set(rot)
+ else:
+ win.rotation = rot
+
+def cb_win_moved(win):
+ print(("MOVE - win geom:", win.geometry))
+
+def window_states_clicked(obj):
+ win = elementary.Window("window-states", elementary.ELM_WIN_BASIC)
+ win.title = "Window States test"
+ win.autodel = True
+ win.callback_moved_add(cb_win_moved)
+ if obj is None:
+ win.callback_delete_request_add(lambda o: elementary.exit())
+
+ bg = elementary.Background(win)
+ win.resize_object_add(bg)
+ bg.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ bg.show()
+
+ vbox = elementary.Box(win)
+ vbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ win.resize_object_add(vbox)
+ vbox.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ for state in [True, False]:
+ bt = elementary.Button(win)
+ bt.text = "Alpha " + ("On" if state else "Off")
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_alpha, win, bg, state)
+ hbox.pack_end(bt)
+ bt.show()
+
+ sl = elementary.Slider(win)
+ sl.text = "Visual test"
+ sl.indicator_format = "%3.0f"
+ sl.min_max = (50, 150)
+ sl.value = 50
+ sl.inverted = True
+ sl.size_hint_align = (0.5, evas.EVAS_HINT_FILL)
+ sl.size_hint_weight = (evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND)
+ vbox.pack_end(sl)
+ sl.show()
+
+ ck = elementary.Check(win)
+ ck.text = "Resize on rotate"
+ ck.size_hint_align = (0.0, 0.0)
+ vbox.pack_end(ck)
+ ck.show()
+
+ hbox = elementary.Box(win)
+ hbox.horizontal = True
+ hbox.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ hbox.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ vbox.pack_end(hbox)
+ hbox.show()
+
+ for rot in [0, 90, 180, 270]:
+ bt = elementary.Button(win)
+ bt.text = "Rot " + str(rot)
+ bt.size_hint_align = (evas.EVAS_HINT_FILL, 0.0)
+ bt.size_hint_weight = (evas.EVAS_HINT_EXPAND, 0.0)
+ bt.callback_clicked_add(cb_rot, win, ck, rot)
+ hbox.pack_end(bt)
+ bt.show()
+
+ win.resize(280, 400)
+ win.show()
+# }}}
+
+#----- Main -{{{-
+if __name__ == "__main__":
+ elementary.init()
+
+ window_states_clicked(None)
+
+ elementary.run()
+ elementary.shutdown()
+# }}}
+# vim:foldmethod=marker